commit df976c03dbd71c912cbe332fab22cbd03abbe15e Author: Ernad Husremovic Date: Fri Aug 29 15:43:05 2025 +0200 Initial commit: OCA Edi packages (42 packages) diff --git a/README.md b/README.md new file mode 100644 index 0000000..de57a20 --- /dev/null +++ b/README.md @@ -0,0 +1,88 @@ +# OCA Edi + +This repository contains **42** OCA packages for edi. + +## Packages Included (42 packages) + +- **odoo-bringout-oca-edi-account_einvoice_generate** - From edi: account_einvoice_generate +- **odoo-bringout-oca-edi-account_invoice_edifact** - From edi: account_invoice_edifact +- **odoo-bringout-oca-edi-account_invoice_export** - From edi: account_invoice_export +- **odoo-bringout-oca-edi-account_invoice_export_job** - From edi: account_invoice_export_job +- **odoo-bringout-oca-edi-account_invoice_facturx** - From edi: account_invoice_facturx +- **odoo-bringout-oca-edi-account_invoice_facturx_py3o** - From edi: account_invoice_facturx_py3o +- **odoo-bringout-oca-edi-account_invoice_ubl** - From edi: account_invoice_ubl +- **odoo-bringout-oca-edi-base_business_document_import** - From edi: base_business_document_import +- **odoo-bringout-oca-edi-base_business_document_import_phone** - From edi: base_business_document_import_phone +- **odoo-bringout-oca-edi-base_ebill_payment_contract** - From edi: base_ebill_payment_contract +- **odoo-bringout-oca-edi-base_edi** - From edi: base_edi +- **odoo-bringout-oca-edi-base_edifact** - From edi: base_edifact +- **odoo-bringout-oca-edi-base_facturx** - From edi: base_facturx +- **odoo-bringout-oca-edi-base_ubl** - From edi: base_ubl +- **odoo-bringout-oca-edi-base_ubl_payment** - From edi: base_ubl_payment +- **odoo-bringout-oca-edi-base_wamas_ubl** - From edi: base_wamas_ubl +- **odoo-bringout-oca-edi-despatch_advice_import** - From edi: despatch_advice_import +- **odoo-bringout-oca-edi-despatch_advice_import_ubl** - From edi: despatch_advice_import_ubl +- **odoo-bringout-oca-edi-framework-account_einvoice_generate** - From edi: framework_account_einvoice_generate +- **odoo-bringout-oca-edi-framework-account_invoice_edifact** - From edi: framework_account_invoice_edifact +- **odoo-bringout-oca-edi-framework-account_invoice_export** - From edi: framework_account_invoice_export +- **odoo-bringout-oca-edi-framework-account_invoice_export_job** - From edi: framework_account_invoice_export_job +- **odoo-bringout-oca-edi-framework-account_invoice_facturx** - From edi: framework_account_invoice_facturx +- **odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o** - From edi: framework_account_invoice_facturx_py3o +- **odoo-bringout-oca-edi-framework-account_invoice_ubl** - From edi: framework_account_invoice_ubl +- **odoo-bringout-oca-edi-framework-base_business_document_import** - From edi: framework_base_business_document_import +- **odoo-bringout-oca-edi-framework-base_business_document_import_phone** - From edi: framework_base_business_document_import_phone +- **odoo-bringout-oca-edi-framework-base_ebill_payment_contract** - From edi: framework_base_ebill_payment_contract +- **odoo-bringout-oca-edi-framework-base_edi** - From edi: framework_base_edi +- **odoo-bringout-oca-edi-framework-base_edifact** - From edi: framework_base_edifact +- **odoo-bringout-oca-edi-framework-base_facturx** - From edi: framework_base_facturx +- **odoo-bringout-oca-edi-framework-base_ubl** - From edi: framework_base_ubl +- **odoo-bringout-oca-edi-framework-base_ubl_payment** - From edi: framework_base_ubl_payment +- **odoo-bringout-oca-edi-framework-base_wamas_ubl** - From edi: framework_base_wamas_ubl +- **odoo-bringout-oca-edi-framework-despatch_advice_import** - From edi: framework_despatch_advice_import +- **odoo-bringout-oca-edi-framework-despatch_advice_import_ubl** - From edi: framework_despatch_advice_import_ubl +- **odoo-bringout-oca-edi-framework-pdf_helper** - From edi: framework_pdf_helper +- **odoo-bringout-oca-edi-framework-sale_order_import** - From edi: framework_sale_order_import +- **odoo-bringout-oca-edi-framework-sale_order_import_edifact** - From edi: framework_sale_order_import_edifact +- **odoo-bringout-oca-edi-pdf_helper** - From edi: pdf_helper +- **odoo-bringout-oca-edi-sale_order_import** - From edi: sale_order_import +- **odoo-bringout-oca-edi-sale_order_import_edifact** - From edi: sale_order_import_edifact + + +## Installation + +Install any package from this category: + +```bash +# Install from local directory +pip install packages/oca-edi/PACKAGE_NAME/ + +# Install in development mode +pip install -e packages/oca-edi/PACKAGE_NAME/ + +# Using uv (recommended for speed) +uv add packages/oca-edi/PACKAGE_NAME/ +``` + +## Repository Structure + +Each package in this repository follows the standard Odoo addon structure: + +``` +oca-edi/ +├── odoo-bringout-oca-PROJECT-ADDON/ +│ ├── ADDON_NAME/ # Complete addon code +│ │ ├── __init__.py +│ │ ├── __manifest__.py +│ │ └── ... (models, views, etc.) +│ ├── pyproject.toml # Python package configuration +│ └── README.md # Package documentation +└── ... +``` + +## Contributing + +These packages are maintained as part of the [OCA (Odoo Community Association)](https://github.com/OCA) ecosystem. + +## License + +Each package maintains its original license as specified in the OCA repositories. diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/README.md b/odoo-bringout-oca-edi-account_einvoice_generate/README.md new file mode 100644 index 0000000..175dbb6 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/README.md @@ -0,0 +1,44 @@ +# Account e-invoice Generate + +Odoo addon: account_einvoice_generate + +## Installation + +```bash +pip install odoo-bringout-oca-edi-account_einvoice_generate +``` + +## Dependencies + +This addon depends on: +- account + +## Manifest Information + +- **Name**: Account e-invoice Generate +- **Version**: 16.0.1.1.0 +- **Category**: Accounting & Finance +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `account_einvoice_generate`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/README.rst b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/README.rst new file mode 100644 index 0000000..cc17f9b --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/README.rst @@ -0,0 +1,108 @@ +========================== +Account e-invoice Generate +========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:7d46d7a31c358dee3280b20b510f7eff3b7bbda3ca7629a5c3fa0ac20ba4fd22 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/account_einvoice_generate + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_einvoice_generate + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This is a technical module that ensure compatibility between the e-invoice generation modules of the `OCA/edi project `_. It doesn't bring any feature by itself. You must also install one of the 2 OCA modules that generate electronic invoices: + +* **account_invoice_ubl**: add support for the UBL format (Universal Business Language), +* **account_invoice_facturx**: add support for the `Factur-X `_ format. + +See the README of each module for more information. + +These 2 modules are able to embed an XML file in the PDF invoice and +this module ensure that these 2 modules are compatible. + +**Table of contents** + +.. contents:: + :local: + +Installation +============ + +Before installing the module, you must **uninstall** the module **account_edi** from the official addons. As the account_edi module is auto-installable, it is certainly already installed on your Odoo database. + +For that, go to the *Apps* menu, remove the *Apps* filter, search for the module *account_edi* (the title of the module is *Import/Export Invoices From XML/PDF*). Then click on the button *Module info* and then on the button *Uninstall*. + +Configuration +============= + +The new configuration parameter *XML Format embedded in PDF invoice* +is available in the menu *Invoicing > Configuration > Settings*. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion +* Onestein + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre +* Andrea Stirpe +* Shine IT + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/__init__.py b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/__init__.py new file mode 100644 index 0000000..adc6207 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/__init__.py @@ -0,0 +1,4 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import models +from . import wizards diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/__manifest__.py b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/__manifest__.py new file mode 100644 index 0000000..48e2206 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2018-2022 Akretion France (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Account e-invoice Generate", + "version": "16.0.1.1.0", + "category": "Accounting & Finance", + "license": "AGPL-3", + "summary": "Technical module to generate PDF invoices with " "embedded XML file", + "author": "Akretion,Onestein,Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/edi", + "depends": ["account"], + "data": ["views/res_config_settings.xml"], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/account_e-invoice_generate.pot b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/account_e-invoice_generate.pot new file mode 100644 index 0000000..b5781de --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/account_e-invoice_generate.pot @@ -0,0 +1,57 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_e-invoice_generate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_e-invoice_generate +#: model_terms:ir.ui.view,arch_db:account_e-invoice_generate.view_account_config_settings +msgid "" +"Select Format\n" +" " +msgstr "" + +#. module: account_e-invoice_generate +#: model:ir.model,name:account_e-invoice_generate.model_res_company +msgid "Companies" +msgstr "" + +#. module: account_e-invoice_generate +#: model:ir.model,name:account_e-invoice_generate.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: account_e-invoice_generate +#: model_terms:ir.ui.view,arch_db:account_e-invoice_generate.view_account_config_settings +msgid "Electronic Invoices" +msgstr "" + +#. module: account_e-invoice_generate +#: model:ir.model,name:account_e-invoice_generate.model_account_move +msgid "Journal Entries" +msgstr "" + +#. module: account_e-invoice_generate +#: model:ir.model.fields.selection,name:account_e-invoice_generate.selection__res_company__xml_format_in_pdf_invoice__none +msgid "None" +msgstr "" + +#. module: account_e-invoice_generate +#: model_terms:ir.ui.view,arch_db:account_e-invoice_generate.view_account_config_settings +msgid "Select the format of your e-invoices." +msgstr "" + +#. module: account_e-invoice_generate +#: model:ir.model.fields,field_description:account_e-invoice_generate.field_res_company__xml_format_in_pdf_invoice +#: model:ir.model.fields,field_description:account_e-invoice_generate.field_res_config_settings__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "" diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/account_einvoice_generate.pot b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/account_einvoice_generate.pot new file mode 100644 index 0000000..e313e2c --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/account_einvoice_generate.pot @@ -0,0 +1,57 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_einvoice_generate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "" +"Select Format\n" +" " +msgstr "" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_company +msgid "Companies" +msgstr "" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "Electronic Invoices" +msgstr "" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_einvoice_generate +#: model:ir.model.fields.selection,name:account_einvoice_generate.selection__res_company__xml_format_in_pdf_invoice__none +msgid "None" +msgstr "" + +#. module: account_einvoice_generate +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_company__xml_format_in_pdf_invoice +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_config_settings__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "XML format attached to your PDF customer invoices" +msgstr "" diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/bs.po b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/bs.po new file mode 100644 index 0000000..d18e568 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/bs.po @@ -0,0 +1,57 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_e-invoice_generate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_e-invoice_generate +#: model_terms:ir.ui.view,arch_db:account_e-invoice_generate.view_account_config_settings +msgid "" +"Select Format\n" +" " +msgstr "" + +#. module: account_e-invoice_generate +#: model:ir.model,name:account_e-invoice_generate.model_res_company +msgid "Companies" +msgstr "Tvrtke" + +#. module: account_e-invoice_generate +#: model:ir.model,name:account_e-invoice_generate.model_res_config_settings +msgid "Config Settings" +msgstr "Postavke" + +#. module: account_e-invoice_generate +#: model_terms:ir.ui.view,arch_db:account_e-invoice_generate.view_account_config_settings +msgid "Electronic Invoices" +msgstr "Elektronički računi" + +#. module: account_e-invoice_generate +#: model:ir.model,name:account_e-invoice_generate.model_account_move +msgid "Journal Entries" +msgstr "" + +#. module: account_e-invoice_generate +#: model:ir.model.fields.selection,name:account_e-invoice_generate.selection__res_company__xml_format_in_pdf_invoice__none +msgid "None" +msgstr "Ništa" + +#. module: account_e-invoice_generate +#: model_terms:ir.ui.view,arch_db:account_e-invoice_generate.view_account_config_settings +msgid "Select the format of your e-invoices." +msgstr "" + +#. module: account_e-invoice_generate +#: model:ir.model.fields,field_description:account_e-invoice_generate.field_res_company__xml_format_in_pdf_invoice +#: model:ir.model.fields,field_description:account_e-invoice_generate.field_res_config_settings__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "XML format ugnježđen u PDF račun" diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/es.po b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/es.po new file mode 100644 index 0000000..0ccfa44 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/es.po @@ -0,0 +1,66 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_einvoice_generate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-08-07 08:11+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "" +"Select Format\n" +" " +msgstr "" +"Seleccionar Formato\n" +" " + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_config_settings +msgid "Config Settings" +msgstr "Ajustes de Configuración" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "Electronic Invoices" +msgstr "Facturas electrónicas" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_account_move +msgid "Journal Entry" +msgstr "Entrada Diaria" + +#. module: account_einvoice_generate +#: model:ir.model.fields.selection,name:account_einvoice_generate.selection__res_company__xml_format_in_pdf_invoice__none +msgid "None" +msgstr "Ninguno/a" + +#. module: account_einvoice_generate +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_company__xml_format_in_pdf_invoice +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_config_settings__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "Formato XML integrado en factura PDF" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "XML format attached to your PDF customer invoices" +msgstr "Formato XML adjunto a sus facturas de clientes en PDF" diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/fr.po b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/fr.po new file mode 100644 index 0000000..8601aa6 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/fr.po @@ -0,0 +1,66 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_einvoice_generate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-06-27 19:08+0000\n" +"Last-Translator: Alexis de Lattre \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "" +"Select Format\n" +" " +msgstr "" +"Sélectionner le format\n" +" " + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_company +msgid "Companies" +msgstr "Sociétés" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_config_settings +msgid "Config Settings" +msgstr "Configuration" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "Electronic Invoices" +msgstr "Factures électroniques" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_account_move +msgid "Journal Entry" +msgstr "Pièce comptable" + +#. module: account_einvoice_generate +#: model:ir.model.fields.selection,name:account_einvoice_generate.selection__res_company__xml_format_in_pdf_invoice__none +msgid "None" +msgstr "Aucun" + +#. module: account_einvoice_generate +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_company__xml_format_in_pdf_invoice +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_config_settings__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "Format XML embarqué dans la facture PDF" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "XML format attached to your PDF customer invoices" +msgstr "Format XML embarqué à l'intérieur de vos factures clients PDF" diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/hr.po b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/hr.po new file mode 100644 index 0000000..461302b --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/hr.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_e-invoice_generate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-11-14 16:34+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 3.8\n" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +#, fuzzy +msgid "" +"Select Format\n" +" " +msgstr "" +"" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_company +msgid "Companies" +msgstr "Tvrtke" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_config_settings +msgid "Config Settings" +msgstr "Postavke" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "Electronic Invoices" +msgstr "Elektronički računi" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_einvoice_generate +#: model:ir.model.fields.selection,name:account_einvoice_generate.selection__res_company__xml_format_in_pdf_invoice__none +msgid "None" +msgstr "Ništa" + +#. module: account_einvoice_generate +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_company__xml_format_in_pdf_invoice +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_config_settings__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "XML format ugnježđen u PDF račun" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "XML format attached to your PDF customer invoices" +msgstr "" + +#~ msgid "Select the format of your e-invoices." +#~ msgstr "Odaberite format za vaše elektroničke račune." + +#~ msgid "Format" +#~ msgstr "Format" + +#~ msgid "Invoice" +#~ msgstr "Račun" + +#~ msgid "Select Format" +#~ msgstr "Odabir formata" + +#~ msgid "Universal Business Language (UBL)" +#~ msgstr "Universal Business Language (UBL)" diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/it.po b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/it.po new file mode 100644 index 0000000..92c6c18 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/i18n/it.po @@ -0,0 +1,64 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_einvoice_generate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-29 12:37+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "" +"Select Format\n" +" " +msgstr "" +"Seleziona formato\n" +" " + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_company +msgid "Companies" +msgstr "Aziende" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_config_settings +msgid "Config Settings" +msgstr "Impostazioni configurazione" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "Electronic Invoices" +msgstr "Fatture elettroniche" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_account_move +msgid "Journal Entry" +msgstr "Registrazione contabile" + +#. module: account_einvoice_generate +#: model:ir.model.fields.selection,name:account_einvoice_generate.selection__res_company__xml_format_in_pdf_invoice__none +msgid "None" +msgstr "Nessuna" + +#. module: account_einvoice_generate +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_company__xml_format_in_pdf_invoice +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_config_settings__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "Formato XML incorporato nella fattura PDF" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "XML format attached to your PDF customer invoices" +msgstr "Formato XML allegato alla tua fattura PDF" diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/models/__init__.py b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/models/__init__.py new file mode 100644 index 0000000..500c05e --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/models/__init__.py @@ -0,0 +1,4 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import res_company +from . import account_move diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/models/account_move.py b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/models/account_move.py new file mode 100644 index 0000000..6d2658b --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/models/account_move.py @@ -0,0 +1,49 @@ +# Copyright 2018-2022 Akretion France +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, models + + +class AccountMove(models.Model): + _inherit = "account.move" + + def get_payment_identifier(self): + """This method is designed to be inherited in localization modules""" + self.ensure_one() + return self.payment_reference + + @api.model + def _get_invoice_report_names(self): + return ["account.report_invoice", "account.report_invoice_with_payments"] + + def _xml_format_in_pdf_invoice(self): + """Returns the format if it is possible to generate the XML + Otherwize return False""" + self.ensure_one() + xml_format = self.company_id.xml_format_in_pdf_invoice + # I want to allow embedded XML even on draft invoice + # So I write here the conditions to be able to generate a valid XML + if ( + xml_format + and xml_format != "none" + and self.move_type in ("out_invoice", "out_refund") + and self.partner_id + and self.state != "cancel" + and self.invoice_line_ids.filtered(lambda x: x.display_type == "product") + ): + return xml_format + else: + return False + + def _get_unece_due_date_type_code(self): + """account.tax has a selection field 'tax_exigibility' with 2 possible values: + 'on_invoice' or 'on_payment'. + As a consequence, tax exigibility is a property of the invoice line. + But, in real life (at least in France), tax exigibility is a property of the invoice, + not the invoice line! + This method is a hook to get the UNECE due date type code from the invoice instead + of the tax. If it returns None, Odoo will get it from the tax. + """ + self.ensure_one() + return None diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/models/res_company.py b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/models/res_company.py new file mode 100644 index 0000000..e8d1054 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/models/res_company.py @@ -0,0 +1,13 @@ +# Copyright 2018-2022 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ResCompany(models.Model): + _inherit = "res.company" + + xml_format_in_pdf_invoice = fields.Selection( + [("none", "None")], string="XML Format embedded in PDF invoice" + ) diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/readme/CONFIGURE.rst b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/readme/CONFIGURE.rst new file mode 100644 index 0000000..f3b8ba3 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/readme/CONFIGURE.rst @@ -0,0 +1,2 @@ +The new configuration parameter *XML Format embedded in PDF invoice* +is available in the menu *Invoicing > Configuration > Settings*. diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..568930b --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Alexis de Lattre +* Andrea Stirpe +* Shine IT diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/readme/DESCRIPTION.rst new file mode 100644 index 0000000..8340156 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/readme/DESCRIPTION.rst @@ -0,0 +1,9 @@ +This is a technical module that ensure compatibility between the e-invoice generation modules of the `OCA/edi project `_. It doesn't bring any feature by itself. You must also install one of the 2 OCA modules that generate electronic invoices: + +* **account_invoice_ubl**: add support for the UBL format (Universal Business Language), +* **account_invoice_facturx**: add support for the `Factur-X `_ format. + +See the README of each module for more information. + +These 2 modules are able to embed an XML file in the PDF invoice and +this module ensure that these 2 modules are compatible. diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/readme/INSTALL.rst b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/readme/INSTALL.rst new file mode 100644 index 0000000..3440031 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/readme/INSTALL.rst @@ -0,0 +1,3 @@ +Before installing the module, you must **uninstall** the module **account_edi** from the official addons. As the account_edi module is auto-installable, it is certainly already installed on your Odoo database. + +For that, go to the *Apps* menu, remove the *Apps* filter, search for the module *account_edi* (the title of the module is *Import/Export Invoices From XML/PDF*). Then click on the button *Module info* and then on the button *Uninstall*. diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/static/description/icon.png b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/static/description/index.html b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/static/description/index.html new file mode 100644 index 0000000..e440bcb --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/static/description/index.html @@ -0,0 +1,447 @@ + + + + + +Account e-invoice Generate + + + +
+

Account e-invoice Generate

+ + +

Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

+

This is a technical module that ensure compatibility between the e-invoice generation modules of the OCA/edi project. It doesn’t bring any feature by itself. You must also install one of the 2 OCA modules that generate electronic invoices:

+
    +
  • account_invoice_ubl: add support for the UBL format (Universal Business Language),
  • +
  • account_invoice_facturx: add support for the Factur-X format.
  • +
+

See the README of each module for more information.

+

These 2 modules are able to embed an XML file in the PDF invoice and +this module ensure that these 2 modules are compatible.

+

Table of contents

+ +
+

Installation

+

Before installing the module, you must uninstall the module account_edi from the official addons. As the account_edi module is auto-installable, it is certainly already installed on your Odoo database.

+

For that, go to the Apps menu, remove the Apps filter, search for the module account_edi (the title of the module is Import/Export Invoices From XML/PDF). Then click on the button Module info and then on the button Uninstall.

+
+
+

Configuration

+

The new configuration parameter XML Format embedded in PDF invoice +is available in the menu Invoicing > Configuration > Settings.

+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
  • Onestein
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

alexis-via

+

This module is part of the OCA/edi project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/tests/__init__.py b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/tests/__init__.py new file mode 100644 index 0000000..a242996 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_einvoice_generate diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/tests/test_einvoice_generate.py b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/tests/test_einvoice_generate.py new file mode 100644 index 0000000..42e21a6 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/tests/test_einvoice_generate.py @@ -0,0 +1,17 @@ +# Copyright 2019-2022 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo.tests.common import TransactionCase + + +class TestEInvoiceGenerate(TransactionCase): + def test_config(self): + """Test configuration of Electronic Invoices.""" + conf = self.env["res.config.settings"].create( + {"xml_format_in_pdf_invoice": "none"} + ) + conf.execute() + self.assertTrue(self.env.company.xml_format_in_pdf_invoice) + conf.xml_format_in_pdf_invoice = False + conf.execute() + self.assertFalse(self.env.company.xml_format_in_pdf_invoice) diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/views/res_config_settings.xml b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/views/res_config_settings.xml new file mode 100644 index 0000000..ffe43f2 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/views/res_config_settings.xml @@ -0,0 +1,38 @@ + + + + + res.config.settings + + + +

Electronic Invoices

+
+
+
+
+ Select Format + +
+ XML format attached to your PDF customer invoices +
+
+ +
+
+
+
+ + + + diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/wizards/__init__.py b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/wizards/__init__.py new file mode 100644 index 0000000..0deb68c --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/wizards/__init__.py @@ -0,0 +1 @@ +from . import res_config_settings diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/wizards/res_config_settings.py b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/wizards/res_config_settings.py new file mode 100644 index 0000000..bd9f17c --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/account_einvoice_generate/wizards/res_config_settings.py @@ -0,0 +1,13 @@ +# Copyright 2018-2022 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + _inherit = "res.config.settings" + + xml_format_in_pdf_invoice = fields.Selection( + related="company_id.xml_format_in_pdf_invoice", readonly=False + ) diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-account_einvoice_generate/doc/ARCHITECTURE.md new file mode 100644 index 0000000..fd750a8 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Account_einvoice_generate Module - account_einvoice_generate + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-account_einvoice_generate/doc/CONFIGURATION.md new file mode 100644 index 0000000..f4351ef --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for account_einvoice_generate. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-account_einvoice_generate/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-account_einvoice_generate/doc/DEPENDENCIES.md new file mode 100644 index 0000000..99c6b28 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/doc/DEPENDENCIES.md @@ -0,0 +1,5 @@ +# Dependencies + +This addon depends on: + +- [account](../../odoo-bringout-oca-ocb-account) diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/doc/FAQ.md b/odoo-bringout-oca-edi-account_einvoice_generate/doc/FAQ.md new file mode 100644 index 0000000..0e63d16 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon account_einvoice_generate or install in UI. diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/doc/INSTALL.md b/odoo-bringout-oca-edi-account_einvoice_generate/doc/INSTALL.md new file mode 100644 index 0000000..929a939 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-account_einvoice_generate" +# or +uv pip install odoo-bringout-oca-edi-account_einvoice_generate" +``` diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/doc/MODELS.md b/odoo-bringout-oca-edi-account_einvoice_generate/doc/MODELS.md new file mode 100644 index 0000000..5bc239e --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/doc/MODELS.md @@ -0,0 +1,13 @@ +# Models + +Detected core models and extensions in account_einvoice_generate. + +```mermaid +classDiagram + class account_move + class res_company +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/doc/OVERVIEW.md b/odoo-bringout-oca-edi-account_einvoice_generate/doc/OVERVIEW.md new file mode 100644 index 0000000..fe49c04 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: account_einvoice_generate. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon account_einvoice_generate +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/doc/REPORTS.md b/odoo-bringout-oca-edi-account_einvoice_generate/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/doc/SECURITY.md b/odoo-bringout-oca-edi-account_einvoice_generate/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-account_einvoice_generate/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/doc/USAGE.md b/odoo-bringout-oca-edi-account_einvoice_generate/doc/USAGE.md new file mode 100644 index 0000000..3d49a99 --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_einvoice_generate +``` diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/doc/WIZARDS.md b/odoo-bringout-oca-edi-account_einvoice_generate/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-account_einvoice_generate/pyproject.toml b/odoo-bringout-oca-edi-account_einvoice_generate/pyproject.toml new file mode 100644 index 0000000..bb7976e --- /dev/null +++ b/odoo-bringout-oca-edi-account_einvoice_generate/pyproject.toml @@ -0,0 +1,42 @@ +[project] +name = "odoo-bringout-oca-edi-account_einvoice_generate" +version = "16.0.0" +description = "Account e-invoice Generate - Technical module to generate PDF invoices with embedded XML file" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-ocb-account>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["account_einvoice_generate"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/README.md b/odoo-bringout-oca-edi-account_invoice_edifact/README.md new file mode 100644 index 0000000..829266f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/README.md @@ -0,0 +1,46 @@ +# Account Invoice EDIFACT + +Odoo addon: account_invoice_edifact + +## Installation + +```bash +pip install odoo-bringout-oca-edi-account_invoice_edifact +``` + +## Dependencies + +This addon depends on: +- sale_management +- account +- base_edifact + +## Manifest Information + +- **Name**: Account Invoice EDIFACT +- **Version**: 16.0.1.0.0 +- **Category**: Invoicing Management +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `account_invoice_edifact`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/README.rst b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/README.rst new file mode 100644 index 0000000..3dff183 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/README.rst @@ -0,0 +1,93 @@ +======================= +Account Invoice EDIFACT +======================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:70d9ca517fbd902f6eb1d5b7a7e6b51be92f174ec45f39548e2972b519876286 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png + :target: https://odoo-community.org/page/development-status + :alt: Alpha +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/account_invoice_edifact + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_edifact + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +UN/EDIFACT + United Nations rules for Elec­tronic Data Interchange for Administration, Commerce and Transport + +This module will support exporting invoice in EDIFACT format. + +https://www.stedi.com/edi/edifact/D96A/messages/INVOIC + +.. IMPORTANT:: + This is an alpha version, the data model and design can change at any time without warning. + Only for development or testing purpose, do not use in production. + `More details on development status `_ + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Camptocamp + +Contributors +~~~~~~~~~~~~ + +* Thien (Vo Hong) + +Other credits +~~~~~~~~~~~~~ + +The development of this module has been financially supported by: + +* Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/__init__.py b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/__manifest__.py b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/__manifest__.py new file mode 100644 index 0000000..e1c7ec1 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2023 Camptocamp +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) +{ + "name": "Account Invoice EDIFACT", + "summary": "Generate customer invoices with EDIFACT/D96A format", + "version": "16.0.1.0.0", + "development_status": "Alpha", + "category": "Invoicing Management", + "website": "https://github.com/OCA/edi", + "author": "Camptocamp, Odoo Community Association (OCA)", + "license": "AGPL-3", + "installable": True, + "depends": [ + "sale_management", + "account", + "base_edifact", + ], + "data": [], + "demo": [ + "demo/data_demo.xml", + ], +} diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/demo/data_demo.xml b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/demo/data_demo.xml new file mode 100644 index 0000000..c351362 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/demo/data_demo.xml @@ -0,0 +1,69 @@ + + + + Partner Name 1 + + + Street 1 + 1234 + City 1 + + + + Partner Name 2 + + Street 2 + 4321 + City 2 + + + delivery + + + Partner Name 3 + + Street 3 + 3214 + City 3 + + Accountant + + invoice + + + + + Edifact User + edifact_username + edifact_password + + + + + + 9780201379624 + + + + + 9780201379686 + + + + + 9780201379174 + + diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/i18n/account_invoice_edifact.pot b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/i18n/account_invoice_edifact.pot new file mode 100644 index 0000000..f4727f4 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/i18n/account_invoice_edifact.pot @@ -0,0 +1,26 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_edifact +#: model:ir.model,name:account_invoice_edifact.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_edifact +#. odoo-python +#: code:addons/account_invoice_edifact/models/account_move.py:0 +#, python-format +msgid "Partner is not allowed to use the feature." +msgstr "" diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/i18n/bs.po b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/i18n/bs.po new file mode 100644 index 0000000..519d2ce --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/i18n/bs.po @@ -0,0 +1,26 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_edifact +#: model:ir.model,name:account_invoice_edifact.model_account_move +msgid "Journal Entry" +msgstr "Žurnal" + +#. module: account_invoice_edifact +#. odoo-python +#: code:addons/account_invoice_edifact/models/account_move.py:0 +#, python-format +msgid "Partner is not allowed to use the feature." +msgstr "Partneru nije dozvoljeno da koristi ovu funkciju." diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/i18n/es.po b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/i18n/es.po new file mode 100644 index 0000000..9352a8e --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/i18n/es.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-02-15 21:35+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_invoice_edifact +#: model:ir.model,name:account_invoice_edifact.model_account_move +msgid "Journal Entry" +msgstr "Entrada en Diario" + +#. module: account_invoice_edifact +#. odoo-python +#: code:addons/account_invoice_edifact/models/account_move.py:0 +#, python-format +msgid "Partner is not allowed to use the feature." +msgstr "El socio no puede utilizar esta función." diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/i18n/it.po b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/i18n/it.po new file mode 100644 index 0000000..a88341b --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/i18n/it.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_invoice_edifact +#: model:ir.model,name:account_invoice_edifact.model_account_move +msgid "Journal Entry" +msgstr "Registrazione contabile" + +#. module: account_invoice_edifact +#. odoo-python +#: code:addons/account_invoice_edifact/models/account_move.py:0 +#, python-format +msgid "Partner is not allowed to use the feature." +msgstr "Il partner non è autorizzato ad utilizzare questa funzionalità." diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/models/__init__.py b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/models/__init__.py new file mode 100644 index 0000000..9c0a421 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/models/__init__.py @@ -0,0 +1 @@ +from . import account_move diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/models/account_move.py b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/models/account_move.py new file mode 100644 index 0000000..4cf820e --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/models/account_move.py @@ -0,0 +1,328 @@ +# Copyright 2023 Camtocamp +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from datetime import datetime + +from odoo import _, models +from odoo.exceptions import UserError + + +class AccountMove(models.Model): + _inherit = "account.move" + + def edifact_invoice_generate_data(self): + self.ensure_one() + edifact_model = self.env["base.edifact"] + lines = [] + interchange = self._edifact_invoice_get_interchange() + + header = self._edifact_invoice_get_header() + product, vals = self._edifact_invoice_get_product() + summary = self._edifact_invoice_get_summary(vals) + lines += header + product + summary + for segment in lines: + interchange.add_segment(edifact_model.create_segment(*segment)) + return interchange.serialize() + + def _edifact_invoice_get_interchange(self): + id_number = self.env["res.partner.id_number"] + sender = id_number.search( + [("partner_id", "=", self.invoice_user_id.partner_id.id)], limit=1 + ) + recipient = id_number.search([("partner_id", "=", self.partner_id.id)], limit=1) + if not sender or not recipient: + raise UserError(_("Partner is not allowed to use the feature.")) + sender_edifact = [sender.name, "14"] + recipient_edifact = [recipient.name, "14"] + syntax_identifier = ["UNOC", "3"] + + return self.env["base.edifact"].create_interchange( + sender_edifact, recipient_edifact, self.id, syntax_identifier + ) + + def _edifact_invoice_get_address(self, partner): + # We apply the same logic as: + # https://github.com/OCA/edi/blob/ + # c41829a8d986c6751c07299807c808d15adbf4db/base_ubl/models/ubl.py#L39 + + # oca/partner-contact/partner_address_street3 is installed + if hasattr(partner, "street3"): + return partner.street3 or partner.street2 or partner.street + else: + return partner.street2 or partner.street + + def _edifact_invoice_get_buyer(self): + buyer = self.partner_id + street = self._edifact_invoice_get_address(buyer) + return [ + # Invoice information + ( + "NAD", + "IV", + [buyer.id, "", "92"], + "", + buyer.commercial_company_name, + [street, ""], + buyer.city, + "", + buyer.zip, + buyer.country_id.code, + ), + # Internal customer number + ("RFF", ["IT", buyer.id]), + # Buyer information + ( + "NAD", + "BY", + [buyer.id, "", "92"], + "", + buyer.commercial_company_name, + [buyer.street, ""], + buyer.city, + "", + buyer.zip, + buyer.country_id.code, + ), + ("RFF", ["API", ""]), + ] + + def _edifact_invoice_get_seller(self): + id_number = self.env["res.partner.id_number"] + seller = self.invoice_user_id.partner_id + seller_id_number = id_number.search([("partner_id", "=", seller.id)], limit=1) + street = self._edifact_invoice_get_address(seller) + return [ + # Seller information + ( + "NAD", + "SE", + [seller_id_number.name, "", "92"], + "", + seller.commercial_company_name, + [street, ""], + seller.city, + "", + seller.zip, + seller.country_id.code, + ), + # VAT registration number + ("RFF", ["VA", seller.vat]), + # Government reference number + ("RFF", ["GN", seller.vat]), # TODO: Fix it + ] + + def _edifact_invoice_get_shipper(self): + id_number = self.env["res.partner.id_number"] + shipper = self.partner_shipping_id + shipper_id_number = id_number.search([("partner_id", "=", shipper.id)], limit=1) + return [ + # Delivery party Information + ( + "NAD", + "DP", + [shipper_id_number.name, "", "92"], + "", + shipper.commercial_company_name, + [shipper.street, ""], + shipper.city, + "", + shipper.zip, + shipper.country_id.code, + ), + ("RFF", ["API", ""]), + ] + + def _edifact_invoice_get_header(self): + source_orders = self.line_ids.sale_line_ids.order_id + today = datetime.now().date().strftime("%Y%m%d") + buyer = self.partner_id + + term_lines = self.invoice_payment_term_id.line_ids + discount_percentage, discount_days = ( + term_lines.discount_percentage, + term_lines.discount_days if len(term_lines) == 1 else 0, + ) + + header = [ + ("UNH", "1", ["INVOIC", "D", "96A", "UN", "EAN008"]), + # Commercial invoice + ("BGM", ["380", "", "", "Invoice"], self.payment_reference, "9"), + # 35: Delivery date/time, actual + ( + "DTM", + [ + "35", + max( + ( + picking.date_done.date().strftime("%Y%m%d") + for order in source_orders + for picking in order.picking_ids + if picking.date_done + ), + default="", + ), + "102", + ], + ), + # 11: Despatch date and/or time + ( + "DTM", + [ + "11", + min( + ( + order.commitment_date.date().strftime("%Y%m%d") + for order in source_orders + if order.commitment_date + ), + default="", + ), + "102", + ], + ), + # Document/message date/time + ("DTM", ["137", today, "102"]), + ("PAI", ["", "", "42"]), + # Regulatory information + ("FTX", "REG", "", "", ""), + # Payment detail/remittance information + ("FTX", "PMD", "", "", ""), + # Terms of payments + ("FTX", "AAB", "", "", "30 jours net"), + # Delivery note number + ("RFF", ["DQ", self.id]), + # Reference date/time + # TODO: fixed value for now, to be clarified + ("DTM", ["171", "99991231", "102"]), + # Reference currency + ("CUX", ["2", buyer.currency_id.name, "4"]), + # Rate of exchange + ("DTM", ["134", today, "102"]), + ("PAT", "3"), + # Terms net due date + ("DTM", ["13", self.invoice_date_due, "102"]), + # Discount terms + ( + "PAT", + "22", + "", + ["5", "3", "D", discount_days], + ), + # Discount percentage + ( + "PCD", + "12", + discount_percentage, + "13", + ), + # Penalty terms + # ("PAT", "20"), # TODO: check value this again later + # Penalty percentage + # ("PCD", "15", "0"), # TODO: check value this again later + # Allowance percentage + # ("PCD", "1", "0", "13"), # TODO: check value this again later + # Allowance or charge amount + # ("MOA", "8", "0"), # TODO: check value this again later + ] + header = ( + header[:11] + + self._edifact_invoice_get_buyer() + + self._edifact_invoice_get_seller() + + self._edifact_invoice_get_shipper() + + header[11:] + ) + return header + + def _edifact_invoice_get_product(self): + number = 0 + segments = [] + vals = {} + tax = {} + for line in self.line_ids: + if line.display_type != "product": + continue + order = line.sale_line_ids.order_id + number += 1 + product_tax = 0 + product = line.product_id + product_per_pack = line.product_uom_id._compute_quantity( + line.quantity, product.uom_id + ) + if line.tax_ids and line.tax_ids.amount_type == "percent": + product_tax = line.tax_ids.amount + if product_tax not in tax: + tax[product_tax] = line.price_total + else: + tax[product_tax] += line.price_total + product_seg = [ + # Line item number + ("LIN", number, "", ["", "EN"]), + # Product identification of supplier's article number + ("PIA", "5", [product.id, "SA", "", "91"]), + # Item description of product + ( + "IMD", + "ANM", + ["", "", "", product.product_tmpl_id.description_sale], + ), + # Invoiced quantity + ("QTY", "47", line.quantity, line.product_uom_id.name), + # Quantity per pack + ( + "QTY", + "52", + product_per_pack if product_per_pack else 1, + "PCE", + ), # TODO:check it again + # Pieces delivered + ("QTY", "46", line.sale_line_ids.qty_delivered), + # Line item amount + ("MOA", "203", line.price_total), + # Calculation net + ("PRI", ["AAA", round(line.price_total / line.quantity, 2)]), + ("PRI", ["AAB", round(line.price_total / line.quantity, 2)]), + # Order number of line item + ("RFF", ["ON", order.id]), + # Tax information + ( + "PRI", + "7", + "VAT", + "", + "", + ["", "", "", product_tax], + ), # TODO: check value this again later + # Allowance or charge amount of line item + ("MOA", ["8", "0"]), + ] + segments.extend(product_seg) + vals["tax"] = tax + vals["total_line_item"] = number + return segments, vals + + def _edifact_invoice_get_summary(self, vals): + tax_list = [] + total_line_item = vals["total_line_item"] + if "tax" in vals: + for product_tax, price_total in vals["tax"].items(): + # Tax Information + tax_list.append( + ("TAX", "7", "VAT", "", price_total, ["", "", "", product_tax]) + ) + # Tax amount + tax_list.append(("MOA", ["124", price_total * product_tax / 100])) + summary = [ + ("UNS", "S"), + # Number of line items in message + ("CNT", ["2", total_line_item]), + # Taxable amount + ("MOA", ["125", self.amount_untaxed]), + # Total amount + ("MOA", ["128", self.amount_total]), + # Tax amount + ("MOA", ["124", self.amount_tax]), + ("MOA", ["8", "0"]), + ("UNT", 33 + 11 * total_line_item + 2 * len(vals["tax"]), "1"), + ] + summary = summary[:-2] + tax_list + summary[-2:] + return summary diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..f30b46f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Thien (Vo Hong) \ No newline at end of file diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/readme/CREDITS.rst b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/readme/CREDITS.rst new file mode 100644 index 0000000..f5cc070 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/readme/CREDITS.rst @@ -0,0 +1,3 @@ +The development of this module has been financially supported by: + +* Camptocamp diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/readme/DESCRIPTION.rst new file mode 100644 index 0000000..d7b231b --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/readme/DESCRIPTION.rst @@ -0,0 +1,6 @@ +UN/EDIFACT + United Nations rules for Elec­tronic Data Interchange for Administration, Commerce and Transport + +This module will support exporting invoice in EDIFACT format. + +https://www.stedi.com/edi/edifact/D96A/messages/INVOIC \ No newline at end of file diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/static/description/icon.png b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/static/description/index.html b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/static/description/index.html new file mode 100644 index 0000000..6f421f4 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/static/description/index.html @@ -0,0 +1,440 @@ + + + + + + +Account Invoice EDIFACT + + + +
+

Account Invoice EDIFACT

+ + +

Alpha License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

+
+
UN/EDIFACT
+
United Nations rules for Elec­tronic Data Interchange for Administration, Commerce and Transport
+
+

This module will support exporting invoice in EDIFACT format.

+

https://www.stedi.com/edi/edifact/D96A/messages/INVOIC

+
+

Important

+

This is an alpha version, the data model and design can change at any time without warning. +Only for development or testing purpose, do not use in production. +More details on development status

+
+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Camptocamp
  • +
+
+
+

Contributors

+ +
+
+

Other credits

+

The development of this module has been financially supported by:

+
    +
  • Camptocamp
  • +
+
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/edi project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/tests/__init__.py b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/tests/__init__.py new file mode 100644 index 0000000..f15da20 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/tests/__init__.py @@ -0,0 +1 @@ +from . import test_account_move diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/tests/test_account_move.py b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/tests/test_account_move.py new file mode 100644 index 0000000..4603649 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/account_invoice_edifact/tests/test_account_move.py @@ -0,0 +1,93 @@ +# Copyright 2023 Camptocamp +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.tests.common import TransactionCase + + +class TestEdifactInvoice(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + cls.base_edifact_model = cls.env["base.edifact"] + cls.company = cls.env.ref("base.main_company") + cls.product1 = cls.env.ref("product.product_product_4") + cls.product2 = cls.env.ref("product.product_product_1") + cls.invoice = cls.env["account.move"].create( + { + "company_id": cls.company.id, + "move_type": "out_invoice", + "partner_id": cls.env.ref( + "account_invoice_edifact.partner_edifact_invoiceto_dm" + ).id, + "partner_shipping_id": cls.env.ref( + "account_invoice_edifact.partner_edifact_shipto_dm" + ).id, + "invoice_user_id": cls.env.ref( + "account_invoice_edifact.user_edifact_sender_dm" + ).id, + "currency_id": cls.company.currency_id.id, + "invoice_line_ids": [ + ( + 0, + 0, + { + "product_id": cls.product1.id, + "product_uom_id": cls.product1.uom_id.id, + "quantity": 12, + "price_unit": 42.42, + }, + ), + ( + 0, + 0, + { + "product_id": cls.product2.id, + "product_uom_id": cls.product2.uom_id.id, + "quantity": 2, + "price_unit": 12.34, + }, + ), + ], + } + ) + cls.invoice.action_post() + + def test_edifact_invoice_generate_data(self): + edifact_data = self.invoice.edifact_invoice_generate_data() + self.assertTrue(edifact_data) + self.assertEqual(isinstance(edifact_data, str), True) + + def test_edifact_invoice_get_interchange(self): + interchange = self.invoice._edifact_invoice_get_interchange() + self.assertEqual(interchange.sender, ["9780201379624", "14"]) + self.assertEqual(interchange.recipient, ["9780201379174", "14"]) + self.assertEqual(interchange.syntax_identifier, ["UNOC", "3"]) + + def test_edifact_invoice_get_header(self): + segments = self.invoice._edifact_invoice_get_header() + seg = ("UNH", "1", ["INVOIC", "D", "96A", "UN", "EAN008"]) + self.assertEqual(segments[0], seg) + self.assertEqual(len(segments), 26) + + def test_edifact_invoice_get_product(self): + segments, vals = self.invoice._edifact_invoice_get_product() + self.assertEqual(len(segments), 24) + self.assertEqual(len(vals), 2) + + def test_edifact_invoice_get_summary(self): + vals = {"tax": {0: 533.72}, "total_line_item": 2} + segments = self.invoice._edifact_invoice_get_summary(vals) + self.assertEqual(len(segments), 9) + + def test_edifact_invoice_get_address(self): + partner = self.invoice.partner_id + if hasattr(partner, "street3"): + partner.street3 = "Address" + self.assertEqual( + self.invoice._edifact_invoice_get_address(partner), partner.street3 + ) + else: + self.assertEqual( + self.invoice._edifact_invoice_get_address(partner), partner.street + ) diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-account_invoice_edifact/doc/ARCHITECTURE.md new file mode 100644 index 0000000..516fa2d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Account_invoice_edifact Module - account_invoice_edifact + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-account_invoice_edifact/doc/CONFIGURATION.md new file mode 100644 index 0000000..6b832b6 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for account_invoice_edifact. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-account_invoice_edifact/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-account_invoice_edifact/doc/DEPENDENCIES.md new file mode 100644 index 0000000..ae45eab --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/doc/DEPENDENCIES.md @@ -0,0 +1,7 @@ +# Dependencies + +This addon depends on: + +- [sale_management](../../odoo-bringout-oca-ocb-sale_management) +- [account](../../odoo-bringout-oca-ocb-account) +- [base_edifact](../../odoo-bringout-oca-edi-base_edifact) diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/doc/FAQ.md b/odoo-bringout-oca-edi-account_invoice_edifact/doc/FAQ.md new file mode 100644 index 0000000..d87a782 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon account_invoice_edifact or install in UI. diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/doc/INSTALL.md b/odoo-bringout-oca-edi-account_invoice_edifact/doc/INSTALL.md new file mode 100644 index 0000000..50c3b4f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-account_invoice_edifact" +# or +uv pip install odoo-bringout-oca-edi-account_invoice_edifact" +``` diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/doc/MODELS.md b/odoo-bringout-oca-edi-account_invoice_edifact/doc/MODELS.md new file mode 100644 index 0000000..08ece9e --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in account_invoice_edifact. + +```mermaid +classDiagram + class account_move +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/doc/OVERVIEW.md b/odoo-bringout-oca-edi-account_invoice_edifact/doc/OVERVIEW.md new file mode 100644 index 0000000..0ff4561 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: account_invoice_edifact. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon account_invoice_edifact +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/doc/REPORTS.md b/odoo-bringout-oca-edi-account_invoice_edifact/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/doc/SECURITY.md b/odoo-bringout-oca-edi-account_invoice_edifact/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-account_invoice_edifact/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/doc/USAGE.md b/odoo-bringout-oca-edi-account_invoice_edifact/doc/USAGE.md new file mode 100644 index 0000000..9f7f599 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_invoice_edifact +``` diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/doc/WIZARDS.md b/odoo-bringout-oca-edi-account_invoice_edifact/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-account_invoice_edifact/pyproject.toml b/odoo-bringout-oca-edi-account_invoice_edifact/pyproject.toml new file mode 100644 index 0000000..74f774b --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_edifact/pyproject.toml @@ -0,0 +1,44 @@ +[project] +name = "odoo-bringout-oca-edi-account_invoice_edifact" +version = "16.0.0" +description = "Account Invoice EDIFACT - Generate customer invoices with EDIFACT/D96A format" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-sale_management>=16.0.0", + "odoo-bringout-oca-ocb-account>=16.0.0", + "odoo-bringout-oca-edi-base_edifact>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["account_invoice_edifact"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-account_invoice_export/README.md b/odoo-bringout-oca-edi-account_invoice_export/README.md new file mode 100644 index 0000000..37382ba --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/README.md @@ -0,0 +1,45 @@ +# Account Invoice Export + +Odoo addon: account_invoice_export + +## Installation + +```bash +pip install odoo-bringout-oca-edi-account_invoice_export +``` + +## Dependencies + +This addon depends on: +- account +- account_invoice_transmit_method + +## Manifest Information + +- **Name**: Account Invoice Export +- **Version**: 16.0.1.0.0 +- **Category**: Invoicing Management +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `account_invoice_export`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/README.rst b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/README.rst new file mode 100644 index 0000000..b2695ba --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/README.rst @@ -0,0 +1,97 @@ +====================== +Account Invoice Export +====================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:ded419ed17e642aaf14f71f78778c50e6480162d6931a6431f2574ffafa15adf + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/account_invoice_export + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_export + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +The goal of this module is to allow sending invoices in different format to external systems. + +It extends the module `account_invoice_transmit_method`, adding options to configure an url and credentials (Basic Authentication). +In the UI a new button `Send ebill` send the invoice pdf to the configure url. + +The actual sending of the invoice is manage by queue.job and the standard Odoo chatter on the invoice is used to inform the user on success/failure of the dispatch. + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Camptocamp SA + +Contributors +~~~~~~~~~~~~ + +* Thierry Ducrest +* Tam (Nguyen Duc) + +Other credits +~~~~~~~~~~~~~ + +The development of this module has been financially supported by: + +* Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-TDu| image:: https://github.com/TDu.png?size=40px + :target: https://github.com/TDu + :alt: TDu + +Current `maintainer `__: + +|maintainer-TDu| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/__init__.py b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/__manifest__.py b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/__manifest__.py new file mode 100644 index 0000000..e02c302 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2020 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +{ + "name": "Account Invoice Export", + "version": "16.0.1.0.0", + "category": "Invoicing Management", + "license": "AGPL-3", + "development_status": "Beta", + "summary": "", + "author": "Camptocamp SA, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/edi", + "depends": ["account", "account_invoice_transmit_method"], + "maintainers": ["TDu"], + "data": [ + "data/mail_activity_type.xml", + "views/transmit_method.xml", + "views/account_move.xml", + "views/message_template.xml", + ], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/data/mail_activity_type.xml b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/data/mail_activity_type.xml new file mode 100644 index 0000000..2497e57 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/data/mail_activity_type.xml @@ -0,0 +1,10 @@ + + + + Transmission Error + fa-warning + 0 + 99 + warning + + diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/i18n/account_invoice_export.pot b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/i18n/account_invoice_export.pot new file mode 100644 index 0000000..fc58939 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/i18n/account_invoice_export.pot @@ -0,0 +1,149 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_export +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_export +#: model:ir.model.fields,help:account_invoice_export.field_account_bank_statement_line__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_account_move__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_account_payment__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_transmit_method__send_through_http +msgid "Adds a Send eBill button on the invoice" +msgstr "" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "An error of type {} occured." +msgstr "" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.transmit_method_form +msgid "" +"By default the PDF of the invoice will be sent using the connection " +"parameters below (basic authenticaiton)." +msgstr "" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Ebill has already been sent. Are you sure you want to send it again ?" +msgstr "" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__send_through_http +msgid "Enable send eBill" +msgstr "" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.exception_sending_invoice +msgid "Error sending invoice to" +msgstr "" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "HTTP error {status_code} sending invoice to {method_name}" +msgstr "" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.transmit_method_form +msgid "" +"Handling specific connection needs and/or exporting other files can be done " +"through code." +msgstr "" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__invoice_export_confirmed +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__invoice_export_confirmed +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__invoice_export_confirmed +msgid "Invoice Export Confirmed" +msgstr "" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__invoice_exported +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__invoice_exported +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__invoice_exported +msgid "Invoice Exported" +msgstr "" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Invoice successfuly sent to {}" +msgstr "" + +#. module: account_invoice_export +#: model:ir.model,name:account_invoice_export.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Nothing done, invoice has already been exported before." +msgstr "" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_pwd +msgid "Password" +msgstr "" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Resend eBill" +msgstr "" + +#. module: account_invoice_export +#: model:ir.actions.server,name:account_invoice_export.action_send_ebill +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Send eBill" +msgstr "" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.exception_sending_invoice +msgid "The failed job has the uuid" +msgstr "" + +#. module: account_invoice_export +#: model:mail.activity.type,name:account_invoice_export.mail_activity_transmit_warning +msgid "Transmission Error" +msgstr "" + +#. module: account_invoice_export +#: model:ir.model,name:account_invoice_export.model_transmit_method +msgid "Transmit Method of a document" +msgstr "" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Transmit method is not configured to send through HTTP" +msgstr "" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_url +msgid "Url" +msgstr "" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_user +msgid "User" +msgstr "" diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/i18n/bs.po b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/i18n/bs.po new file mode 100644 index 0000000..e1ca7f3 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/i18n/bs.po @@ -0,0 +1,149 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_export +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_export +#: model:ir.model.fields,help:account_invoice_export.field_account_bank_statement_line__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_account_move__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_account_payment__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_transmit_method__send_through_http +msgid "Adds a Send eBill button on the invoice" +msgstr "Dodaje dugme Pošalji elektronski račun na fakturu" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "An error of type {} occured." +msgstr "Desila se greška tipa {}." + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.transmit_method_form +msgid "" +"By default the PDF of the invoice will be sent using the connection " +"parameters below (basic authenticaiton)." +msgstr "" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Ebill has already been sent. Are you sure you want to send it again ?" +msgstr "Elektronski račun je već poslat. Da li ste sigurni da želite da ga pošaljete ponovo?" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__send_through_http +msgid "Enable send eBill" +msgstr "Omogući slanje elektronskog računa" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.exception_sending_invoice +msgid "Error sending invoice to" +msgstr "Greška prilikom slanja fakture na" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "HTTP error {status_code} sending invoice to {method_name}" +msgstr "HTTP greška {status_code} prilikom slanja fakture na {method_name}" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.transmit_method_form +msgid "" +"Handling specific connection needs and/or exporting other files can be done " +"through code." +msgstr "" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__invoice_export_confirmed +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__invoice_export_confirmed +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__invoice_export_confirmed +msgid "Invoice Export Confirmed" +msgstr "Izvoz fakture potvrđen" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__invoice_exported +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__invoice_exported +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__invoice_exported +msgid "Invoice Exported" +msgstr "Faktura izvezena" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Invoice successfuly sent to {}" +msgstr "Faktura uspešno poslata na {}" + +#. module: account_invoice_export +#: model:ir.model,name:account_invoice_export.model_account_move +msgid "Journal Entry" +msgstr "Žurnal" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Nothing done, invoice has already been exported before." +msgstr "Ništa nije urađeno, faktura je već ranije izvezena." + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_pwd +msgid "Password" +msgstr "Zaporka" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Resend eBill" +msgstr "Pošalji ponovo elektronski račun" + +#. module: account_invoice_export +#: model:ir.actions.server,name:account_invoice_export.action_send_ebill +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Send eBill" +msgstr "Pošalji elektronski račun" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.exception_sending_invoice +msgid "The failed job has the uuid" +msgstr "Neuspešan posao ima uuid" + +#. module: account_invoice_export +#: model:mail.activity.type,name:account_invoice_export.mail_activity_transmit_warning +msgid "Transmission Error" +msgstr "Greška prenosa" + +#. module: account_invoice_export +#: model:ir.model,name:account_invoice_export.model_transmit_method +msgid "Transmit Method of a document" +msgstr "Metoda prijenosa dokumenta" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Transmit method is not configured to send through HTTP" +msgstr "Metod prenosa nije konfigurisan da šalje preko HTTP" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_url +msgid "Url" +msgstr "Url" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_user +msgid "User" +msgstr "Korisnik" diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/i18n/it.po b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/i18n/it.po new file mode 100644 index 0000000..60e3789 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/i18n/it.po @@ -0,0 +1,156 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_export +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-23 12:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: account_invoice_export +#: model:ir.model.fields,help:account_invoice_export.field_account_bank_statement_line__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_account_move__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_account_payment__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_transmit_method__send_through_http +msgid "Adds a Send eBill button on the invoice" +msgstr "Aggiunge un pulsante Invia e-fattura nella fattura" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "An error of type {} occured." +msgstr "Si è verificato un errore di tipo []." + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.transmit_method_form +msgid "" +"By default the PDF of the invoice will be sent using the connection " +"parameters below (basic authenticaiton)." +msgstr "" +"In modo predefinito il PDF della fattura verrà inviato utilizzando i " +"parametri di connessione sottostanti (autorizzazione base)." + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Ebill has already been sent. Are you sure you want to send it again ?" +msgstr "L'e-fattura è già stata inviata. Si è sicuri di rispedirla?" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__send_through_http +msgid "Enable send eBill" +msgstr "Abilita invio e-fattura" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.exception_sending_invoice +msgid "Error sending invoice to" +msgstr "Errore nell'invio della fattura a" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "HTTP error {status_code} sending invoice to {method_name}" +msgstr "Errore HTTP {status_code} nell'invio della fattura a {method_name}" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.transmit_method_form +msgid "" +"Handling specific connection needs and/or exporting other files can be done " +"through code." +msgstr "" +"La gestione di esigenze specifiche di connessione e/o l'esportazione di " +"altri file può essere fatta attraverso il codice." + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__invoice_export_confirmed +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__invoice_export_confirmed +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__invoice_export_confirmed +msgid "Invoice Export Confirmed" +msgstr "Esportazione fattura confermata" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__invoice_exported +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__invoice_exported +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__invoice_exported +msgid "Invoice Exported" +msgstr "Fattura esportata" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Invoice successfuly sent to {}" +msgstr "Fattura inviata con successo a {}" + +#. module: account_invoice_export +#: model:ir.model,name:account_invoice_export.model_account_move +msgid "Journal Entry" +msgstr "Registrazione contabile" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Nothing done, invoice has already been exported before." +msgstr "Nessuna attività, la fattura è già stata esportata in precedenza." + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_pwd +msgid "Password" +msgstr "Password" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Resend eBill" +msgstr "Reinvia e-fattura" + +#. module: account_invoice_export +#: model:ir.actions.server,name:account_invoice_export.action_send_ebill +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Send eBill" +msgstr "Invia e-fattura" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.exception_sending_invoice +msgid "The failed job has the uuid" +msgstr "Il lavoro in errore ha uuid" + +#. module: account_invoice_export +#: model:mail.activity.type,name:account_invoice_export.mail_activity_transmit_warning +msgid "Transmission Error" +msgstr "Errore di trasmissione" + +#. module: account_invoice_export +#: model:ir.model,name:account_invoice_export.model_transmit_method +msgid "Transmit Method of a document" +msgstr "Metodo trasmissione di un documento" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Transmit method is not configured to send through HTTP" +msgstr "Il metodo di trasmissione non è configurato per inviare attraverso HTTP" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_url +msgid "Url" +msgstr "URL" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_user +msgid "User" +msgstr "Utente" diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/models/__init__.py b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/models/__init__.py new file mode 100644 index 0000000..57a4a77 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/models/__init__.py @@ -0,0 +1,2 @@ +from . import account_move +from . import transmit_method diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/models/account_move.py b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/models/account_move.py new file mode 100644 index 0000000..da76f65 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/models/account_move.py @@ -0,0 +1,121 @@ +# Copyright 2020 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +import requests + +import odoo +from odoo import _, fields, models +from odoo.exceptions import UserError, except_orm + + +class AccountMove(models.Model): + _inherit = "account.move" + + invoice_exported = fields.Boolean(copy=False) + # Usefull when the distant system does not validate the export synchronously + invoice_export_confirmed = fields.Boolean(copy=False) + send_through_http = fields.Boolean(related="transmit_method_id.send_through_http") + + def export_invoice(self): + resend_invoice = self.env.context.get("resend_ebill", False) + for invoice in self: + invoice._job_export_invoice(resend_invoice) + + def _job_export_invoice(self, resend_invoice=False): + """Export ebill to external server and update the chatter.""" + self.ensure_one() + if ( + not resend_invoice + and self.invoice_exported + and self.invoice_export_confirmed + ): + return _("Nothing done, invoice has already been exported before.") + try: + res = self._export_invoice() + except Exception as e: + values = { + "job_id": self.env.context.get("job_uuid"), + "error_detail": "", + "error_type": type(e).__name__, + "transmit_method_name": self.transmit_method_id.name, + } + if isinstance(e, except_orm): + values["error_detail"] = e.name + with odoo.api.Environment.manage(): + with odoo.registry(self.env.cr.dbname).cursor() as new_cr: + # Create a new environment with new cursor database + new_env = odoo.api.Environment( + new_cr, self.env.uid, self.env.context + ) + # The chatter of the invoice need to be updated, when the job fails + self.with_env(new_env).log_error_sending_invoice(values) + raise + self.log_success_sending_invoice() + return res + + def _export_invoice(self): + """Export electronic invoice to external service.""" + if not self.transmit_method_id.send_through_http: + raise UserError(_("Transmit method is not configured to send through HTTP")) + file_data = self._get_file_for_transmission_method() + headers = self.transmit_method_id.get_transmission_http_header() + url = self.transmit_method_id.get_transmission_url() + # TODO: Should be configurable as a parameter + res = requests.post(url, headers=headers, files=file_data, timeout=10) + if res.status_code != 200: + raise UserError( + _( + "HTTP error {status_code} sending invoice to {method_name}".format( + status_code=res.status_code, + method_name=self.transmit_method_id.name, + ) + ) + ) + self.invoice_exported = self.invoice_export_confirmed = True + return res.text + + def _get_file_for_transmission_method(self): + """Return the file description to send. + + Use the format expected by the request library + By default returns the PDF report. + """ + report = "account.report_invoice" + pdf, _ = self.env["ir.actions.report"]._render(report, [self.id]) + filename = self._get_report_base_filename().replace("/", "_") + ".pdf" + return {"file": (filename, pdf, "application/pdf")} + + def log_error_sending_invoice(self, values): + """Log an exception in invoice's chatter when sending fails. + + If an exception already exists it is update otherwise a new one + is created. + """ + activity_type = "account_invoice_export.mail_activity_transmit_warning" + activity = self.activity_reschedule( + [activity_type], date_deadline=fields.Date.today() + ) + if not activity: + template = "account_invoice_export.exception_sending_invoice" + message = self.env["ir.ui.view"]._render_template(template, values=values) + activity = self.activity_schedule( + activity_type, summary="Job error sending invoice", note=message + ) + error_log = values.get("error_detail") + if not error_log: + error_log = _("An error of type {} occured.").format( + values.get("error_type") + ) + activity.note += "

{}

".format(error_log) + + def log_success_sending_invoice(self): + """Log success sending invoice and clear existing exception, if any.""" + self.activity_feedback( + ["account_invoice_export.mail_activity_transmit_warning"], + feedback="It worked on a later try", + ) + self.message_post( + body=_("Invoice successfuly sent to {}").format( + self.transmit_method_id.name + ) + ) diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/models/transmit_method.py b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/models/transmit_method.py new file mode 100644 index 0000000..17bf568 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/models/transmit_method.py @@ -0,0 +1,36 @@ +# Copyright 2020 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +import base64 + +from odoo import fields, models + + +class TransmitMethod(models.Model): + _inherit = "transmit.method" + + send_through_http = fields.Boolean( + string="Enable send eBill", help="Adds a Send eBill button on the invoice" + ) + destination_url = fields.Char(string="Url") + destination_user = fields.Char(string="User", copy=False) + destination_pwd = fields.Char(string="Password", copy=False) + + def get_transmission_http_header(self): + """Generate the HTTP header needed by the transmission method. + + For now only basic authentication is implemented. + + """ + self.ensure_one() + auth = "{}:{}".format(self.destination_user or "", self.destination_pwd or "") + auth64 = base64.encodebytes(auth.encode("ascii"))[:-1] + return {"Authorization": "Basic " + auth64.decode("utf-8")} + + def get_transmission_url(self): + """Returns the base url used to export. + + Override it to add variable parameters. + """ + self.ensure_one() + return self.destination_url or "" diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..f9d2e89 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Thierry Ducrest +* Tam (Nguyen Duc) diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/readme/CREDITS.rst b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/readme/CREDITS.rst new file mode 100644 index 0000000..f5cc070 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/readme/CREDITS.rst @@ -0,0 +1,3 @@ +The development of this module has been financially supported by: + +* Camptocamp diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/readme/DESCRIPTION.rst new file mode 100644 index 0000000..d018b7c --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/readme/DESCRIPTION.rst @@ -0,0 +1,6 @@ +The goal of this module is to allow sending invoices in different format to external systems. + +It extends the module `account_invoice_transmit_method`, adding options to configure an url and credentials (Basic Authentication). +In the UI a new button `Send ebill` send the invoice pdf to the configure url. + +The actual sending of the invoice is manage by queue.job and the standard Odoo chatter on the invoice is used to inform the user on success/failure of the dispatch. diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/static/description/icon.png b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/static/description/index.html b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/static/description/index.html new file mode 100644 index 0000000..0e54fe1 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/static/description/index.html @@ -0,0 +1,435 @@ + + + + + + +Account Invoice Export + + + +
+

Account Invoice Export

+ + +

Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

+

The goal of this module is to allow sending invoices in different format to external systems.

+

It extends the module account_invoice_transmit_method, adding options to configure an url and credentials (Basic Authentication). +In the UI a new button Send ebill send the invoice pdf to the configure url.

+

The actual sending of the invoice is manage by queue.job and the standard Odoo chatter on the invoice is used to inform the user on success/failure of the dispatch.

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Camptocamp SA
  • +
+
+
+

Contributors

+ +
+
+

Other credits

+

The development of this module has been financially supported by:

+
    +
  • Camptocamp
  • +
+
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

TDu

+

This module is part of the OCA/edi project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/tests/__init__.py b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/tests/__init__.py new file mode 100644 index 0000000..7d64b89 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/tests/__init__.py @@ -0,0 +1 @@ +from . import test_export_invoice diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/tests/common.py b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/tests/common.py new file mode 100644 index 0000000..b5cd614 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/tests/common.py @@ -0,0 +1,52 @@ +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) +from odoo.tests.common import TransactionCase + + +class CommonCase(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + cls.send_exception = cls.env.ref( + "account_invoice_export.mail_activity_transmit_warning" + ) + cls.transmit_method = cls.env["transmit.method"].create( + { + "name": "HttpPost", + "code": "httppost", + "customer_ok": True, + "send_through_http": True, + "destination_url": "https://example.com/post", + "destination_user": "user", + "destination_pwd": "pwd", + } + ) + cls.country = cls.env.ref("base.ch") + cls.customer = cls.env.ref("base.res_partner_1") + cls.account = cls.env["account.account"].search( + [("account_type", "=", "income"), ("company_id", "=", cls.env.company.id)], + limit=1, + ) + cls.product = cls.env.ref("product.product_product_1") + cls.invoice_1 = cls.env["account.move"].create( + { + "partner_id": cls.customer.id, + "move_type": "out_invoice", + "transmit_method_id": cls.transmit_method.id, + "invoice_line_ids": [ + ( + 0, + 0, + { + "account_id": cls.account.id, + "product_id": cls.product.product_variant_ids[:1].id, + "name": "Product 1", + "quantity": 4.0, + "price_unit": 123.00, + }, + ) + ], + } + ) + cls.invoice_1.action_post() diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/tests/test_export_invoice.py b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/tests/test_export_invoice.py new file mode 100644 index 0000000..b11e6e7 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/tests/test_export_invoice.py @@ -0,0 +1,32 @@ +# Copyright 2020 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +from .common import CommonCase + + +class TestExportAcountInvoice(CommonCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + + def test_log_error_in_chatter(self): + values = { + "job_id": "13:123:123", + "send_error": 500, + "transmit_method_name": "SendMethod", + } + self.invoice_1.log_error_sending_invoice(values) + self.assertEqual(len(self.invoice_1.activity_ids), 1) + self.assertEqual( + self.invoice_1.activity_ids[0].activity_type_id, self.send_exception + ) + # Multiple error only one exception message + self.invoice_1.log_error_sending_invoice(values) + self.assertEqual(len(self.invoice_1.activity_ids), 1) + # At success exception messages are cleared + self.invoice_1.log_success_sending_invoice() + self.assertEqual(len(self.invoice_1.activity_ids), 0) + + def test_get_file_description(self): + res = self.invoice_1._get_file_for_transmission_method() + self.assertTrue(res["file"]) diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/views/account_move.xml b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/views/account_move.xml new file mode 100644 index 0000000..587210c --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/views/account_move.xml @@ -0,0 +1,56 @@ + + + + Account Invoice Export on Invoice form view + account.move + + + + + + + + + + + + account.move + + + + + + + + + Send eBill + + + code + + records.export_invoice() + + + diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/views/message_template.xml b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/views/message_template.xml new file mode 100644 index 0000000..b0d5bfd --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/views/message_template.xml @@ -0,0 +1,9 @@ + + + + diff --git a/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/views/transmit_method.xml b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/views/transmit_method.xml new file mode 100644 index 0000000..d4cb8c1 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/account_invoice_export/views/transmit_method.xml @@ -0,0 +1,44 @@ + + + + Transmit Method Form view Export + transmit.method + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-account_invoice_export/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-account_invoice_export/doc/ARCHITECTURE.md new file mode 100644 index 0000000..44d82dd --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Account_invoice_export Module - account_invoice_export + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-account_invoice_export/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-account_invoice_export/doc/CONFIGURATION.md new file mode 100644 index 0000000..608cb6d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for account_invoice_export. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-account_invoice_export/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-account_invoice_export/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-account_invoice_export/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-account_invoice_export/doc/DEPENDENCIES.md new file mode 100644 index 0000000..24ac1f2 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/doc/DEPENDENCIES.md @@ -0,0 +1,6 @@ +# Dependencies + +This addon depends on: + +- [account](../../odoo-bringout-oca-ocb-account) +- [account_invoice_transmit_method](../../odoo-bringout-oca-account-invoicing-account_invoice_transmit_method) diff --git a/odoo-bringout-oca-edi-account_invoice_export/doc/FAQ.md b/odoo-bringout-oca-edi-account_invoice_export/doc/FAQ.md new file mode 100644 index 0000000..2eb18dc --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon account_invoice_export or install in UI. diff --git a/odoo-bringout-oca-edi-account_invoice_export/doc/INSTALL.md b/odoo-bringout-oca-edi-account_invoice_export/doc/INSTALL.md new file mode 100644 index 0000000..6f9670f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-account_invoice_export" +# or +uv pip install odoo-bringout-oca-edi-account_invoice_export" +``` diff --git a/odoo-bringout-oca-edi-account_invoice_export/doc/MODELS.md b/odoo-bringout-oca-edi-account_invoice_export/doc/MODELS.md new file mode 100644 index 0000000..4b6cd83 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/doc/MODELS.md @@ -0,0 +1,13 @@ +# Models + +Detected core models and extensions in account_invoice_export. + +```mermaid +classDiagram + class account_move + class transmit_method +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-account_invoice_export/doc/OVERVIEW.md b/odoo-bringout-oca-edi-account_invoice_export/doc/OVERVIEW.md new file mode 100644 index 0000000..a08029a --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: account_invoice_export. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon account_invoice_export +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-account_invoice_export/doc/REPORTS.md b/odoo-bringout-oca-edi-account_invoice_export/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-account_invoice_export/doc/SECURITY.md b/odoo-bringout-oca-edi-account_invoice_export/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-account_invoice_export/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-account_invoice_export/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-account_invoice_export/doc/USAGE.md b/odoo-bringout-oca-edi-account_invoice_export/doc/USAGE.md new file mode 100644 index 0000000..e16abad --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_invoice_export +``` diff --git a/odoo-bringout-oca-edi-account_invoice_export/doc/WIZARDS.md b/odoo-bringout-oca-edi-account_invoice_export/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-account_invoice_export/pyproject.toml b/odoo-bringout-oca-edi-account_invoice_export/pyproject.toml new file mode 100644 index 0000000..ff429c7 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export/pyproject.toml @@ -0,0 +1,43 @@ +[project] +name = "odoo-bringout-oca-edi-account_invoice_export" +version = "16.0.0" +description = "Account Invoice Export - " +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-ocb-account>=16.0.0", + "odoo-bringout-oca-edi-account_invoice_transmit_method>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["account_invoice_export"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/README.md b/odoo-bringout-oca-edi-account_invoice_export_job/README.md new file mode 100644 index 0000000..dc9d795 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/README.md @@ -0,0 +1,45 @@ +# Account Invoice Export Job + +Odoo addon: account_invoice_export_job + +## Installation + +```bash +pip install odoo-bringout-oca-edi-account_invoice_export_job +``` + +## Dependencies + +This addon depends on: +- account_invoice_export +- queue_job + +## Manifest Information + +- **Name**: Account Invoice Export Job +- **Version**: 16.0.1.0.0 +- **Category**: Invoicing Management +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `account_invoice_export_job`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/README.rst b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/README.rst new file mode 100644 index 0000000..9c97c43 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/README.rst @@ -0,0 +1,91 @@ +========================== +Account Invoice Export Job +========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:a2dc034f08dcc0eca1ef8cbf439bfb557516bfe334faad09b73be3b3bd5d3bb4 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/account_invoice_export_job + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_export_job + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module enables the use of the `queue_job` module with `account_invoice_export` + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Camptocamp SA + +Contributors +~~~~~~~~~~~~ + +* Thierry Ducrest + +Other credits +~~~~~~~~~~~~~ + +The development of this module has been financially supported by: + +* Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-TDu| image:: https://github.com/TDu.png?size=40px + :target: https://github.com/TDu + :alt: TDu + +Current `maintainer `__: + +|maintainer-TDu| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/__init__.py b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/__manifest__.py b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/__manifest__.py new file mode 100644 index 0000000..cfbbb74 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/__manifest__.py @@ -0,0 +1,19 @@ +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +{ + "name": "Account Invoice Export Job", + "version": "16.0.1.0.0", + "category": "Invoicing Management", + "license": "AGPL-3", + "summary": "", + "author": "Camptocamp SA, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/edi", + "depends": ["account_invoice_export", "queue_job"], + "maintainers": ["TDu"], + "data": [ + "data/queue_job_data.xml", + ], + "installable": True, + "auto_install": True, +} diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/data/queue_job_data.xml b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/data/queue_job_data.xml new file mode 100644 index 0000000..dd10a5b --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/data/queue_job_data.xml @@ -0,0 +1,16 @@ + + + + invoice_export + + + + + _job_export_invoice + + + + diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/i18n/account_invoice_export_job.pot b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/i18n/account_invoice_export_job.pot new file mode 100644 index 0000000..7fed518 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/i18n/account_invoice_export_job.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_export_job +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_export_job +#: model:ir.model,name:account_invoice_export_job.model_account_move +msgid "Journal Entry" +msgstr "" diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/i18n/bs.po b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/i18n/bs.po new file mode 100644 index 0000000..8f6ba7a --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/i18n/bs.po @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_export_job +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_export_job +#: model:ir.model,name:account_invoice_export_job.model_account_move +msgid "Journal Entry" +msgstr "Žurnal" diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/i18n/it.po b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/i18n/it.po new file mode 100644 index 0000000..e0a0b45 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/i18n/it.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_export_job +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-07-15 09:58+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: account_invoice_export_job +#: model:ir.model,name:account_invoice_export_job.model_account_move +msgid "Journal Entry" +msgstr "Registrazione contabile" diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/models/__init__.py b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/models/__init__.py new file mode 100644 index 0000000..9c0a421 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/models/__init__.py @@ -0,0 +1 @@ +from . import account_move diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/models/account_move.py b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/models/account_move.py new file mode 100644 index 0000000..9548ea5 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/models/account_move.py @@ -0,0 +1,32 @@ +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + + +from odoo import models + +from odoo.addons.queue_job.job import identity_exact + + +class AccountMove(models.Model): + _inherit = "account.move" + + def _job_export_invoice_job_options(self, resend_invoice=False): + description = "Export eBill to {}".format(self.transmit_method_id.name) + return { + "description": description, + "identity_key": identity_exact, + } + + def export_invoice(self): + with_context = self.with_context(auto_delay_export_invoice=True) + return super(AccountMove, with_context).export_invoice() + + def _register_hook(self): + """Patch export invoice to be automatically delayed as job.""" + mapping = {"_job_export_invoice": "auto_delay_export_invoice"} + for method_name, context_key in mapping.items(): + self._patch_method( + method_name, + self._patch_job_auto_delay(method_name, context_key=context_key), + ) + return super()._register_hook() diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..0dd376f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Thierry Ducrest diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/readme/CREDITS.rst b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/readme/CREDITS.rst new file mode 100644 index 0000000..f5cc070 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/readme/CREDITS.rst @@ -0,0 +1,3 @@ +The development of this module has been financially supported by: + +* Camptocamp diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/readme/DESCRIPTION.rst new file mode 100644 index 0000000..86b99c7 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module enables the use of the `queue_job` module with `account_invoice_export` diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/static/description/icon.png b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/static/description/index.html b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/static/description/index.html new file mode 100644 index 0000000..feb8d98 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/static/description/index.html @@ -0,0 +1,431 @@ + + + + + + +Account Invoice Export Job + + + +
+

Account Invoice Export Job

+ + +

Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

+

This module enables the use of the queue_job module with account_invoice_export

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Camptocamp SA
  • +
+
+
+

Contributors

+ +
+
+

Other credits

+

The development of this module has been financially supported by:

+
    +
  • Camptocamp
  • +
+
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

TDu

+

This module is part of the OCA/edi project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/tests/__init__.py b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/tests/__init__.py new file mode 100644 index 0000000..2670ad7 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/tests/__init__.py @@ -0,0 +1 @@ +from . import test_account_invoice_export_job diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/tests/test_account_invoice_export_job.py b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/tests/test_account_invoice_export_job.py new file mode 100644 index 0000000..e303c08 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/tests/test_account_invoice_export_job.py @@ -0,0 +1,33 @@ +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +from unittest.mock import MagicMock, patch + +from odoo.tests import tagged + +from odoo.addons.account_invoice_export.tests.common import CommonCase +from odoo.addons.queue_job.tests.common import mock_with_delay + + +@tagged("post_install", "-at_install") +class TestExportAcountInvoiceJob(CommonCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + + @patch("odoo.addons.account_invoice_export.models.account_move.requests") + def test_invoice_export_job_is_delayed(self, mock_requests): + """Check export invoice is run as a job.""" + method_name = "_job_export_invoice" + mock_response = MagicMock() + mock_response.status_code = 200 + mock_requests.post.return_value = mock_response + invoice = self.invoice_1.with_context(resend_ebill=True) + with mock_with_delay() as (delayable_cls, delayable): + invoice.export_invoice() + self.assertEqual(delayable_cls.call_count, 1) + delay_args, delay_kwargs = delayable_cls.call_args + self.assertEqual(delay_args, (self.invoice_1,)) + method = getattr(delayable, method_name) + self.assertEqual(method.call_count, 1) + self.assertEqual(delay_kwargs["description"], "Export eBill to HttpPost") diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/views/message_template.xml b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/views/message_template.xml new file mode 100644 index 0000000..b0d5bfd --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/account_invoice_export_job/views/message_template.xml @@ -0,0 +1,9 @@ + + + + diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-account_invoice_export_job/doc/ARCHITECTURE.md new file mode 100644 index 0000000..3c944ea --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Account_invoice_export_job Module - account_invoice_export_job + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-account_invoice_export_job/doc/CONFIGURATION.md new file mode 100644 index 0000000..2c5ba27 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for account_invoice_export_job. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-account_invoice_export_job/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-account_invoice_export_job/doc/DEPENDENCIES.md new file mode 100644 index 0000000..40fffd9 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/doc/DEPENDENCIES.md @@ -0,0 +1,6 @@ +# Dependencies + +This addon depends on: + +- [account_invoice_export](../../odoo-bringout-oca-edi-account_invoice_export) +- [queue_job](../../odoo-bringout-oca-queue-queue_job) diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/doc/FAQ.md b/odoo-bringout-oca-edi-account_invoice_export_job/doc/FAQ.md new file mode 100644 index 0000000..fb3b898 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon account_invoice_export_job or install in UI. diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/doc/INSTALL.md b/odoo-bringout-oca-edi-account_invoice_export_job/doc/INSTALL.md new file mode 100644 index 0000000..2003d8a --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-account_invoice_export_job" +# or +uv pip install odoo-bringout-oca-edi-account_invoice_export_job" +``` diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/doc/MODELS.md b/odoo-bringout-oca-edi-account_invoice_export_job/doc/MODELS.md new file mode 100644 index 0000000..b4aaa2a --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in account_invoice_export_job. + +```mermaid +classDiagram + class account_move +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/doc/OVERVIEW.md b/odoo-bringout-oca-edi-account_invoice_export_job/doc/OVERVIEW.md new file mode 100644 index 0000000..3557178 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: account_invoice_export_job. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon account_invoice_export_job +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/doc/REPORTS.md b/odoo-bringout-oca-edi-account_invoice_export_job/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/doc/SECURITY.md b/odoo-bringout-oca-edi-account_invoice_export_job/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-account_invoice_export_job/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/doc/USAGE.md b/odoo-bringout-oca-edi-account_invoice_export_job/doc/USAGE.md new file mode 100644 index 0000000..9edeb1b --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_invoice_export_job +``` diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/doc/WIZARDS.md b/odoo-bringout-oca-edi-account_invoice_export_job/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-account_invoice_export_job/pyproject.toml b/odoo-bringout-oca-edi-account_invoice_export_job/pyproject.toml new file mode 100644 index 0000000..f1f4e0d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_export_job/pyproject.toml @@ -0,0 +1,43 @@ +[project] +name = "odoo-bringout-oca-edi-account_invoice_export_job" +version = "16.0.0" +description = "Account Invoice Export Job - " +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-account_invoice_export>=16.0.0", + "odoo-bringout-oca-edi-queue_job>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["account_invoice_export_job"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/README.md b/odoo-bringout-oca-edi-account_invoice_facturx/README.md new file mode 100644 index 0000000..d700596 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/README.md @@ -0,0 +1,47 @@ +# Account Invoice Factur-X + +Odoo addon: account_invoice_facturx + +## Installation + +```bash +pip install odoo-bringout-oca-edi-account_invoice_facturx +``` + +## Dependencies + +This addon depends on: +- account_einvoice_generate +- account_payment_partner +- base_facturx +- base_vat + +## Manifest Information + +- **Name**: Account Invoice Factur-X +- **Version**: 16.0.2.0.0 +- **Category**: Invoicing Management +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `account_invoice_facturx`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/README.rst b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/README.rst new file mode 100644 index 0000000..1b5b25e --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/README.rst @@ -0,0 +1,108 @@ +======================== +Account Invoice Factur-X +======================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:3668b0b6e968fc509056743e8ed14c23e904d1a614837772256e73fe0684a434 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/account_invoice_facturx + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_facturx + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +With this module, the PDF customer invoices and refunds generated by the Qweb reporting engine of Odoo will comply with the `Factur-X `__ standard. The Factur-X standard is an e-invoicing standard for France and Germany released on December 31st 2017. In Germany, it is also known as the `ZUGFeRD 2.0 `_ standard. This standard is based on `CII `_ (Cross-Industry Invoice) for electronic invoicing. The great idea of the ZUGFeRD/Factur-X standard is to embed an XML file inside the PDF invoice to carry structured information about the invoice. So, with a ZUGFeRD/Factur-X PDF invoice: + +* no need to change your habbits and those of your customers: you can still send your PDF invoices by email as usual. +* customers equiped with a modern accouting software will be able to import the invoice automatically as supplier invoice by taking advantage of the embedded XML file, +* customers with an ancient accounting software will just open the PDF file with their PDF reader and manually encode the document as supplier invoice in their accounting software. + +**Table of contents** + +.. contents:: + :local: + +Installation +============ + +**WARNING**: there is an alternative implementation of Factur-X in the module **account_edi_ubl_cii** of the official addons. If both modules are installed, the XML embedded in the PDF is the XML generated by the module **account_edi_ubl_cii**. To avoid that, you need to uninstall the module **account_edi_ubl_cii**. + +This module requires a recent version of the Python library `factur-x `__ developped by Akretion. Note that the factur-x library depends on PyPDF2 for the low-level PDF manipulation. To install it, run: + +.. code:: + + pip3 install --upgrade factur-x + +Configuration +============= + +In the menu *Invoicing > Configuration > Settings*, check these options: + +* *XML Format embedded in PDF invoice*: if you want to generate Factur-X invoices, this option must be set to *Factur-X (CII)* +* the *Factur-X Level*: unless you have a good reason, you should keep the default value *EN 16931 (Comfort)* +* *Factur-X Refund Type*: choose the type of the XML invoice for customer refunds (keep the default value if you are not familiar with this setting). + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/__init__.py b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/__init__.py new file mode 100644 index 0000000..05ffd28 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/__init__.py @@ -0,0 +1,3 @@ +from . import models +from . import wizards +from .hooks import set_xml_format_in_pdf_invoice_to_facturx diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/__manifest__.py b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/__manifest__.py new file mode 100644 index 0000000..54a9d71 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/__manifest__.py @@ -0,0 +1,28 @@ +# Copyright 2016-2022 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Account Invoice Factur-X", + "version": "16.0.2.0.0", + "category": "Invoicing Management", + "license": "AGPL-3", + "summary": "Generate Factur-X/ZUGFeRD customer invoices", + "author": "Akretion,Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/edi", + "depends": [ + "account_einvoice_generate", + "account_payment_partner", + "base_facturx", + "base_vat", + ], + "external_dependencies": {"python": ["factur-x"]}, + "data": [ + "views/res_partner.xml", + "views/account_move.xml", + "views/res_config_settings.xml", + ], + "post_init_hook": "set_xml_format_in_pdf_invoice_to_facturx", + "installable": True, +} diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/hooks.py b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/hooks.py new file mode 100644 index 0000000..be71fda --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/hooks.py @@ -0,0 +1,13 @@ +# Copyright 2018-2022 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import SUPERUSER_ID, api + + +def set_xml_format_in_pdf_invoice_to_facturx(cr, registry): + env = api.Environment(cr, SUPERUSER_ID, {}) + companies = env["res.company"].search( + [("xml_format_in_pdf_invoice", "in", (False, "none"))] + ) + companies.write({"xml_format_in_pdf_invoice": "factur-x"}) diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/account_invoice_factur-x.pot b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/account_invoice_factur-x.pot new file mode 100644 index 0000000..ba31ed5 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/account_invoice_factur-x.pot @@ -0,0 +1,162 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:751 +#, python-format +msgid "%s: %s %s dated %s" +msgstr "" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_level:0 +msgid "Basic" +msgstr "" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_level:0 +msgid "Basic without lines" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model,name:account_invoice_factur-x.model_res_company +msgid "Companies" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:50 +#, python-format +msgid "Country is not set on partner '%s'. In the Factur-X standard, the country is required for buyer and seller." +msgstr "" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_level:0 +msgid "EN 16931 (Comfort)" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:750 +#, python-format +msgid "Factur-X" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.ui.view,arch_db:account_invoice_factur-x.view_account_config_settings +msgid "Factur-X Invoices" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_account_config_settings_facturx_level +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_res_company_facturx_level +msgid "Factur-X Level" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_res_company_facturx_logo +msgid "Factur-X Logo" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_account_config_settings_facturx_refund_type +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_res_company_facturx_refund_type +msgid "Factur-X Refund Type" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:747 +#: model:ir.model,name:account_invoice_factur-x.model_account_invoice +#, python-format +msgid "Invoice" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,help:account_invoice_factur-x.field_res_company_facturx_logo +msgid "Logo to include in the visible part of Factur-X invoices" +msgstr "" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_level:0 +msgid "Minimum" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:374 +#: code:addons/account_invoice_factur-x/models/account_invoice.py:645 +#, python-format +msgid "Missing UNECE Tax Category on tax '%s'" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:371 +#: code:addons/account_invoice_factur-x/models/account_invoice.py:638 +#, python-format +msgid "Missing UNECE Tax Type on tax '%s'" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:444 +#, python-format +msgid "Missing UNECE code on payment export type '%s'" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:346 +#, python-format +msgid "No specific payment term selected" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:747 +#, python-format +msgid "Refund" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model,name:account_invoice_factur-x.model_report +msgid "Report" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:555 +#, python-format +msgid "The Factur-X standard specify that unit prices can't be negative. The unit price of line '%s' is negative. You should generate a customer refund for that line." +msgstr "" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_refund_type:0 +msgid "Type 380 with negative amounts" +msgstr "" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_refund_type:0 +msgid "Type 381 with positive amounts" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,help:account_invoice_factur-x.field_account_config_settings_facturx_level +#: model:ir.model.fields,help:account_invoice_factur-x.field_res_company_facturx_level +msgid "Unless if you have a good reason, you should always select 'EN 16931 (Comfort)', which is the default value." +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:290 +#, python-format +msgid "Wire transfer" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model,name:account_invoice_factur-x.model_account_config_settings +msgid "account.config.settings" +msgstr "" + diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/account_invoice_facturx.pot b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/account_invoice_facturx.pot new file mode 100644 index 0000000..1ab3b4f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/account_invoice_facturx.pot @@ -0,0 +1,211 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_facturx +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "(no date)" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basic +msgid "Basic" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basicwl +msgid "Basic without lines" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_company +msgid "Companies" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Country is not set on partner '%s'. In the Factur-X standard, the country is" +" required for buyer and seller." +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Discount" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__en16931 +msgid "EN 16931 (Comfort)" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__extended +msgid "Extended" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Factur-X" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__xml_format_in_pdf_invoice__factur-x +msgid "Factur-X (CII)" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "Factur-X Level" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_logo +msgid "Factur-X Logo" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_refund_type +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_refund_type +msgid "Factur-X Refund Type" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Factur-X {invoice_type} {invoice_number} dated {invoice_date} issued by " +"{company_name}" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Invoice" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_logo +msgid "Logo to include in the visible part of Factur-X invoices" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__minimum +msgid "Minimum" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%s'" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%s'" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE code on payment method '%s'" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No invoice line label" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No specific payment term selected" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Refund" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_ir_actions_report +msgid "Report Action" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__380 +msgid "Type 380 with negative amounts" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__381 +msgid "Type 381 with positive amounts" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,help:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "" +"Unless if you have a good reason, you should always select 'EN 16931 " +"(Comfort)', which is the default value." +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Wire transfer" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "{company_name}: {invoice_type} {invoice_number} dated {invoice_date}" +msgstr "" diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/bs.po b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/bs.po new file mode 100644 index 0000000..ca3ab37 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/bs.po @@ -0,0 +1,162 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:751 +#, python-format +msgid "%s: %s %s dated %s" +msgstr "%s: %s %s od datuma %s" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_level:0 +msgid "Basic" +msgstr "Osnovno" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_level:0 +msgid "Basic without lines" +msgstr "Osnovno bez linija" + +#. module: account_invoice_factur-x +#: model:ir.model,name:account_invoice_factur-x.model_res_company +msgid "Companies" +msgstr "Kompanije" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:50 +#, python-format +msgid "Country is not set on partner '%s'. In the Factur-X standard, the country is required for buyer and seller." +msgstr "Zemlja nije postavljena na partneru '%s'. U Factur-X standardu, zemlja je obavezna za kupca i prodavca." + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_level:0 +msgid "EN 16931 (Comfort)" +msgstr "EN 16931 (Komfort)" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:750 +#, python-format +msgid "Factur-X" +msgstr "Factur-X" + +#. module: account_invoice_factur-x +#: model:ir.ui.view,arch_db:account_invoice_factur-x.view_account_config_settings +msgid "Factur-X Invoices" +msgstr "Factur-X fakture" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_account_config_settings_facturx_level +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_res_company_facturx_level +msgid "Factur-X Level" +msgstr "Factur-X nivo" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_res_company_facturx_logo +msgid "Factur-X Logo" +msgstr "Factur-X logo" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_account_config_settings_facturx_refund_type +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_res_company_facturx_refund_type +msgid "Factur-X Refund Type" +msgstr "Factur-X tip povraćaja" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:747 +#: model:ir.model,name:account_invoice_factur-x.model_account_invoice +#, python-format +msgid "Invoice" +msgstr "Faktura" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,help:account_invoice_factur-x.field_res_company_facturx_logo +msgid "Logo to include in the visible part of Factur-X invoices" +msgstr "Logo za uključivanje u vidljivi deo Factur-X faktura" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_level:0 +msgid "Minimum" +msgstr "Minimum" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:374 +#: code:addons/account_invoice_factur-x/models/account_invoice.py:645 +#, python-format +msgid "Missing UNECE Tax Category on tax '%s'" +msgstr "Nedostaje UNECE kategorija poreza na porezu '%s'" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:371 +#: code:addons/account_invoice_factur-x/models/account_invoice.py:638 +#, python-format +msgid "Missing UNECE Tax Type on tax '%s'" +msgstr "Nedostaje UNECE tip poreza na porezu '%s'" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:444 +#, python-format +msgid "Missing UNECE code on payment export type '%s'" +msgstr "Nedostaje UNECE kod na tipu izvoza plaćanja '%s'" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:346 +#, python-format +msgid "No specific payment term selected" +msgstr "Nije odabran specifičan uslov plaćanja" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:747 +#, python-format +msgid "Refund" +msgstr "Povrat" + +#. module: account_invoice_factur-x +#: model:ir.model,name:account_invoice_factur-x.model_report +msgid "Report" +msgstr "Izvještaj" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:555 +#, python-format +msgid "The Factur-X standard specify that unit prices can't be negative. The unit price of line '%s' is negative. You should generate a customer refund for that line." +msgstr "Factur-X standard specificira da jedinične cene ne mogu biti negativne. Jedinična cena linije '%s' je negativna. Trebali biste generisati povraćaj kupcu za tu liniju." + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_refund_type:0 +msgid "Type 380 with negative amounts" +msgstr "Tip 380 sa negativnim iznosima" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_refund_type:0 +msgid "Type 381 with positive amounts" +msgstr "Tip 381 sa pozitivnim iznosima" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,help:account_invoice_factur-x.field_account_config_settings_facturx_level +#: model:ir.model.fields,help:account_invoice_factur-x.field_res_company_facturx_level +msgid "Unless if you have a good reason, you should always select 'EN 16931 (Comfort)', which is the default value." +msgstr "Osim ako nemate dobar razlog, uvek trebate odabrati 'EN 16931 (Komfort)', što je zadana vrednost." + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:290 +#, python-format +msgid "Wire transfer" +msgstr "Bankovni prenos" + +#. module: account_invoice_factur-x +#: model:ir.model,name:account_invoice_factur-x.model_account_config_settings +msgid "account.config.settings" +msgstr "account.config.settings" + diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/de.po b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/de.po new file mode 100644 index 0000000..8a5f5e2 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/de.po @@ -0,0 +1,237 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-02-19 18:06+0000\n" +"Last-Translator: davidbeckercbl \n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "(no date)" +msgstr "(kein Datum)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basic +msgid "Basic" +msgstr "Standard" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basicwl +msgid "Basic without lines" +msgstr "Standard ohne Zeilen" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_company +msgid "Companies" +msgstr "Firmen" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_config_settings +msgid "Config Settings" +msgstr "Konfigurationseinstellungen" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Country is not set on partner '%s'. In the Factur-X standard, the country is " +"required for buyer and seller." +msgstr "" +"Das Land wurde für den Partner '%s' nicht gesetzt. Im Factur-X standard, ist " +"das Setzen des Landes für Käufer und Verkäufer zwingend erforderlich." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Discount" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__en16931 +msgid "EN 16931 (Comfort)" +msgstr "EN 16931 (Komfort)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__extended +msgid "Extended" +msgstr "Erweitert" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Factur-X" +msgstr "Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__xml_format_in_pdf_invoice__factur-x +msgid "Factur-X (CII)" +msgstr "Factur-X (CII)" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "Factur-X Level" +msgstr "Factur-X Ebene" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_logo +msgid "Factur-X Logo" +msgstr "Factur-X Logo" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_refund_type +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_refund_type +msgid "Factur-X Refund Type" +msgstr "Factur-X Erstattungstyp" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Factur-X {invoice_type} {invoice_number} dated {invoice_date} issued by " +"{company_name}" +msgstr "" +"Factur-X {invoice_type} {invoice_number} vom {invoice_date} ausgestellt von " +"{company_name}" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Invoice" +msgstr "Rechnung" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_account_move +msgid "Journal Entry" +msgstr "Journaleintrag" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_logo +msgid "Logo to include in the visible part of Factur-X invoices" +msgstr "Logo für den sichtbaren Teil der Factur-X Rechnungen" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__minimum +msgid "Minimum" +msgstr "Minimum" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%s'" +msgstr "Fehlende UNECE Steuerkategorie für Steuer '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%s'" +msgstr "Fehlende UNECE Steuerkategorie für Steuer '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE code on payment method '%s'" +msgstr "Fehlender UNECE-Code für Zahlungsmethode '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No invoice line label" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No specific payment term selected" +msgstr "Keine spezifische Zahlungsbedingung ausgewählt" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Refund" +msgstr "Erstattung" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_ir_actions_report +msgid "Report Action" +msgstr "Berichtsaktion" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__380 +msgid "Type 380 with negative amounts" +msgstr "Typ 380 mit negativer Anzahl" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__381 +msgid "Type 381 with positive amounts" +msgstr "Typ 381 mit negativer Anzahl" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,help:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "" +"Unless if you have a good reason, you should always select 'EN 16931 " +"(Comfort)', which is the default value." +msgstr "" +"Sofern Sie keinen triftigen Grund haben, sollten Sie immer 'EN 16931 " +"(Comfort)' auswählen, was der Standardwert ist." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Wire transfer" +msgstr "Bargeldlose Bezahlung" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "XML-Format in PDF-Rechnung eingebettet" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "{company_name}: {invoice_type} {invoice_number} dated {invoice_date}" +msgstr "{company_name}: {invoice_type} {invoice_number} vom {invoice_date}" + +#, python-format +#~ msgid "" +#~ "The Factur-X standard specify that unit prices can't be negative. The " +#~ "unit price of line '%s' is negative. You should generate a customer " +#~ "refund for that line." +#~ msgstr "" +#~ "Der Factur-X Standard legt fest die Preise einer Einheit nicht negativ " +#~ "sein dürfen. Der Preis der Einheit '%s' ist jedoch negativ. Sie sollten " +#~ "eine Kundengutschrift für diese Verkaufsposition erstellen." + +#, python-format +#~ msgid "%s: %s %s dated %s" +#~ msgstr "%s: %s %s datiert %s" + +#~ msgid "Factur-X Invoices" +#~ msgstr "Factur-X Rechnungen" diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/es.po b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/es.po new file mode 100644 index 0000000..9d818f3 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/es.po @@ -0,0 +1,241 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x +# +# Translators: +# enjolras , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-05-15 07:39+0000\n" +"PO-Revision-Date: 2024-02-14 15:36+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "(no date)" +msgstr "(sin fecha)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basic +msgid "Basic" +msgstr "Básico" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basicwl +msgid "Basic without lines" +msgstr "Básico sin líneas" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_config_settings +msgid "Config Settings" +msgstr "Ajustes de Configuración" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Country is not set on partner '%s'. In the Factur-X standard, the country is " +"required for buyer and seller." +msgstr "" +"El país no está establecido en el socio '%s'. En el estándar Factur-X se " +"requiere el país para comprador y vendedor." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Discount" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__en16931 +msgid "EN 16931 (Comfort)" +msgstr "EN 16931 (Comfort)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__extended +msgid "Extended" +msgstr "Extendido" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Factur-X" +msgstr "Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__xml_format_in_pdf_invoice__factur-x +msgid "Factur-X (CII)" +msgstr "Factur-X (CII)" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "Factur-X Level" +msgstr "Nivel Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_logo +msgid "Factur-X Logo" +msgstr "Logotipo Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_refund_type +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_refund_type +msgid "Factur-X Refund Type" +msgstr "Tipo de reembolso Factur-X" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Factur-X {invoice_type} {invoice_number} dated {invoice_date} issued by " +"{company_name}" +msgstr "" +"Factur-X {invoice_type} {invoice_number} con fecha {invoice_date} emitida " +"por {company_name}" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_account_move +msgid "Journal Entry" +msgstr "Entrada diaria" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_logo +msgid "Logo to include in the visible part of Factur-X invoices" +msgstr "Logotipo para incluir en la parte visible de las facturas Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__minimum +msgid "Minimum" +msgstr "Mínimo" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%s'" +msgstr "Falta la categoría fiscal de la UNECE (CEPE) en el impuesto \"%s\"" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%s'" +msgstr "Falta el tipo de impuesto de la UNECE (CEPE) en el impuesto '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE code on payment method '%s'" +msgstr "Falta el código UNECE (CEPE) en el método de pago \"%s\"" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No invoice line label" +msgstr "Sin etiqueta de línea de factura" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No specific payment term selected" +msgstr "No se ha seleccionado ningún plazo de pago específico" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Refund" +msgstr "Reembolso" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_ir_actions_report +msgid "Report Action" +msgstr "Informar Acción" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__380 +msgid "Type 380 with negative amounts" +msgstr "Tipo 380 con cantidades negativas" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__381 +msgid "Type 381 with positive amounts" +msgstr "Tipo 381 con cantidades positivas" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,help:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "" +"Unless if you have a good reason, you should always select 'EN 16931 " +"(Comfort)', which is the default value." +msgstr "" +"A menos que tenga una buena razón, debería seleccionar siempre \"EN 16931 " +"(Confort)\", que es el valor por defecto." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Wire transfer" +msgstr "Transferencia bancaria" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "Formato XML integrado en factura PDF" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "{company_name}: {invoice_type} {invoice_number} dated {invoice_date}" +msgstr "" +"{company_name}: {invoice_type} {invoice_number} con fecha {invoice_date}" + +#, python-format +#~ msgid "" +#~ "The Factur-X standard specify that unit prices can't be negative. The " +#~ "unit price of line '%s' is negative. You should generate a customer " +#~ "refund for that line." +#~ msgstr "" +#~ "La norma Factur-X especifica que los precios unitarios no pueden ser " +#~ "negativos. El precio unitario de la línea '%s' es negativo. Debe generar " +#~ "un reembolso al cliente para esa línea." + +#, python-format +#~ msgid "%s: %s %s dated %s" +#~ msgstr "%s: %s %s fechado %s" + +#~ msgid "Factur-X Invoices" +#~ msgstr "Facturas Factur-X" diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/fr.po b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/fr.po new file mode 100644 index 0000000..27ad29a --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/fr.po @@ -0,0 +1,240 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x +# +# Translators: +# Quentin THEURET , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-29 11:54+0000\n" +"PO-Revision-Date: 2024-05-01 15:34+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "(no date)" +msgstr "(pas de date)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basic +msgid "Basic" +msgstr "Basique" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basicwl +msgid "Basic without lines" +msgstr "Basique sans ligne" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_company +msgid "Companies" +msgstr "Sociétés" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_config_settings +msgid "Config Settings" +msgstr "Configuration" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Country is not set on partner '%s'. In the Factur-X standard, the country is " +"required for buyer and seller." +msgstr "" +"Le pays n'est pas configuré sur le partenaire '%s'. Dans la norme Factur-X, " +"l'information du pays est obligatoire pour le vendeur et l'acheteur." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Discount" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__en16931 +msgid "EN 16931 (Comfort)" +msgstr "EN 16931 (Confort)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__extended +msgid "Extended" +msgstr "Étendu" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Factur-X" +msgstr "Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__xml_format_in_pdf_invoice__factur-x +msgid "Factur-X (CII)" +msgstr "Factur-X (CII)" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "Factur-X Level" +msgstr "Niveau Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_logo +msgid "Factur-X Logo" +msgstr "Logo Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_refund_type +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_refund_type +msgid "Factur-X Refund Type" +msgstr "Type d'avoir Factur-X" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Factur-X {invoice_type} {invoice_number} dated {invoice_date} issued by " +"{company_name}" +msgstr "" +"Factur-X {invoice_type} {invoice_number} daté du {invoice_date} émis par " +"{company_name}" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Invoice" +msgstr "Facture" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_account_move +msgid "Journal Entry" +msgstr "Pièce comptable" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_logo +msgid "Logo to include in the visible part of Factur-X invoices" +msgstr "Logo à inclure dans la partie visible des factures Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__minimum +msgid "Minimum" +msgstr "Minimum" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%s'" +msgstr "Catégorie de taxe UNECE manquante sur la taxe '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%s'" +msgstr "Type de taxe UNECE manquante sur la taxe '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE code on payment method '%s'" +msgstr "Code UNECE manquant sur la méthode de paiement '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No invoice line label" +msgstr "Pas d'étiquette de ligne de facturation" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No specific payment term selected" +msgstr "Aucune condition de paiement sélectionnée" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Refund" +msgstr "Avoir" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_ir_actions_report +msgid "Report Action" +msgstr "Rapport Action" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__380 +msgid "Type 380 with negative amounts" +msgstr "Type 380 avec montants négatifs" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__381 +msgid "Type 381 with positive amounts" +msgstr "Type 381 avec montants positifs" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,help:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "" +"Unless if you have a good reason, you should always select 'EN 16931 " +"(Comfort)', which is the default value." +msgstr "" +"Sauf cas particulier, vous devriez toujours choisir 'EN 16931 (Confort)', " +"qui est la valeur par défaut." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Wire transfer" +msgstr "Virement bancaire" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "Format XML embarqué dans la facture PDF" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "{company_name}: {invoice_type} {invoice_number} dated {invoice_date}" +msgstr "{company_name}: {invoice_type} {invoice_number} daté du {invoice_date}" + +#, python-format +#~ msgid "" +#~ "The Factur-X standard specify that unit prices can't be negative. The " +#~ "unit price of line '%s' is negative. You should generate a customer " +#~ "refund for that line." +#~ msgstr "" +#~ "La norme Factur-X spécifie que le prix unitaire ne peut être négatif. Le " +#~ "prix unitaire de la ligne '%s' est négatif. Vous devriez générer un avoir " +#~ "client pour cette ligne." + +#, python-format +#~ msgid "%s: %s %s dated %s" +#~ msgstr "%s : %s %s daté le %s" + +#~ msgid "Factur-X Invoices" +#~ msgstr "Factures Factur-X" diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/it.po b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/it.po new file mode 100644 index 0000000..1677421 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/i18n/it.po @@ -0,0 +1,230 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_facturx +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-04-28 09:23+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.10.4\n" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "(no date)" +msgstr "(nessuna data)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basic +msgid "Basic" +msgstr "Base" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basicwl +msgid "Basic without lines" +msgstr "Base senza righe" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_company +msgid "Companies" +msgstr "Aziende" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_config_settings +msgid "Config Settings" +msgstr "Impostazioni configurazione" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Country is not set on partner '%s'. In the Factur-X standard, the country is " +"required for buyer and seller." +msgstr "" +"La nazione non è impostata nel partner '%s'. Nello standard Fatture-X, la " +"nazione è richiesta per gli acquisitori e i venditori." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Discount" +msgstr "Sconto" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__en16931 +msgid "EN 16931 (Comfort)" +msgstr "EN 16931 (Comfort)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__extended +msgid "Extended" +msgstr "Esteso" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Factur-X" +msgstr "Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__xml_format_in_pdf_invoice__factur-x +msgid "Factur-X (CII)" +msgstr "Factur-X (CII)" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "Factur-X Level" +msgstr "Livello Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_logo +msgid "Factur-X Logo" +msgstr "Logo Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_refund_type +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_refund_type +msgid "Factur-X Refund Type" +msgstr "Tipo rimborso Factur-X" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Factur-X {invoice_type} {invoice_number} dated {invoice_date} issued by " +"{company_name}" +msgstr "" +"Factur-X {invoice_type} {invoice_number} datato {invoice_date} emesso da " +"{company_name}" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Invoice" +msgstr "Fattura" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_account_move +msgid "Journal Entry" +msgstr "Registrazione contabile" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_logo +msgid "Logo to include in the visible part of Factur-X invoices" +msgstr "Logo da includere nella parte visibile delle fatture Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__minimum +msgid "Minimum" +msgstr "Minimo" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%s'" +msgstr "Categoria imposta UNECE non presente nell'imposta '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%s'" +msgstr "Tipo imposta UNECE non presente nell'imposta '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE code on payment method '%s'" +msgstr "Codice UNECE non presente nel metodo di pagamento '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No invoice line label" +msgstr "Nessuna etichetta riga fattura" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No specific payment term selected" +msgstr "Nessun termine di pagamento specifico selezionato" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Refund" +msgstr "Rimborso" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_ir_actions_report +msgid "Report Action" +msgstr "Azione resoconto" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__380 +msgid "Type 380 with negative amounts" +msgstr "Tipo 380 con valori negativi" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__381 +msgid "Type 381 with positive amounts" +msgstr "Tipo 381 con valori positivi" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,help:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "" +"Unless if you have a good reason, you should always select 'EN 16931 " +"(Comfort)', which is the default value." +msgstr "" +"Se non si ha un buon motivo, si dovrebbe sempre selezionare 'EN 16931 " +"(Comfort)', che è il valore predefinito." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Wire transfer" +msgstr "Bonifico bancario" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "Formato XML incorporato nella fattura PDF" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "{company_name}: {invoice_type} {invoice_number} dated {invoice_date}" +msgstr "{company_name}: {invoice_type} {invoice_number} datata {invoice_date}" + +#, python-format +#~ msgid "" +#~ "The Factur-X standard specify that unit prices can't be negative. The " +#~ "unit price of line '%s' is negative. You should generate a customer " +#~ "refund for that line." +#~ msgstr "" +#~ "Lo standard Factur-X indica che il prezzo unitario non può essere " +#~ "negativo. Il prezzo unitario della riga '%s' è negativo. Bisogna generare " +#~ "un rimborso cliente per la riga." diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/models/__init__.py b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/models/__init__.py new file mode 100644 index 0000000..20e06b0 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/models/__init__.py @@ -0,0 +1,3 @@ +from . import res_company +from . import account_move +from . import ir_actions_report diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/models/account_move.py b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/models/account_move.py new file mode 100644 index 0000000..38151a2 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/models/account_move.py @@ -0,0 +1,1009 @@ +# Copyright 2016-2022 Akretion France (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import logging + +from lxml import etree + +from odoo import _, api, fields, models +from odoo.exceptions import UserError +from odoo.tools import ( + float_compare, + float_is_zero, + float_round, + html2plaintext, + is_html_empty, +) +from odoo.tools.misc import format_date + +logger = logging.getLogger(__name__) + +try: + from facturx import generate_from_file, xml_check_xsd +except ImportError: + logger.debug("Cannot import facturx") + + +FACTURX_FILENAME = "factur-x.xml" +DIRECT_DEBIT_CODES = ("49", "59") +CREDIT_TRF_CODES = ("30", "31", "42") +PROFILES_EN_UP = ["en16931", "extended"] + + +class AccountMove(models.Model): + _name = "account.move" + _inherit = ["account.move", "base.facturx"] + + @api.model + def _cii_add_address_block(self, partner, parent_node, ns): + address = etree.SubElement(parent_node, ns["ram"] + "PostalTradeAddress") + if ns["level"] != "minimum": + if partner.zip: + address_zip = etree.SubElement(address, ns["ram"] + "PostcodeCode") + address_zip.text = partner.zip + if partner.street: + address_street = etree.SubElement(address, ns["ram"] + "LineOne") + address_street.text = partner.street + if partner.street2: + address_street2 = etree.SubElement(address, ns["ram"] + "LineTwo") + address_street2.text = partner.street2 + if hasattr(partner, "street3") and partner.street3: + address_street3 = etree.SubElement(address, ns["ram"] + "LineThree") + address_street3.text = partner.street3 + if partner.city: + address_city = etree.SubElement(address, ns["ram"] + "CityName") + address_city.text = partner.city + if not partner.country_id: + raise UserError( + _( + "Country is not set on partner '%s'. In the Factur-X " + "standard, the country is required for buyer and seller." + ) + % partner.display_name + ) + address_country = etree.SubElement(address, ns["ram"] + "CountryID") + address_country.text = partner.country_id.code + if ns["level"] != "minimum" and partner.state_id: + address_state = etree.SubElement( + address, ns["ram"] + "CountrySubDivisionName" + ) + address_state.text = partner.state_id.name + + def _cii_trade_contact_department_name(self, partner): + return False + + @api.model + def _cii_add_trade_contact_block(self, partner, parent_node, ns): + trade_contact = etree.SubElement(parent_node, ns["ram"] + "DefinedTradeContact") + contact_name = etree.SubElement(trade_contact, ns["ram"] + "PersonName") + contact_name.text = partner.name + department = self._cii_trade_contact_department_name(partner) + if department: + department_name = etree.SubElement( + trade_contact, ns["ram"] + "DepartmentName" + ) + department_name.text = department + phone = partner.phone or partner.mobile + if phone: + phone_node = etree.SubElement( + trade_contact, ns["ram"] + "TelephoneUniversalCommunication" + ) + phone_number = etree.SubElement(phone_node, ns["ram"] + "CompleteNumber") + phone_number.text = phone + if partner.email: + email_node = etree.SubElement( + trade_contact, ns["ram"] + "EmailURIUniversalCommunication" + ) + email_uriid = etree.SubElement( + email_node, ns["ram"] + "URIID", schemeID="SMTP" + ) + email_uriid.text = partner.email + + @api.model + def _cii_add_date( + self, node_name, date_datetime, parent_node, ns, date_ns_type="udt" + ): + date_node = etree.SubElement(parent_node, ns["ram"] + node_name) + date_node_str = etree.SubElement( + date_node, ns[date_ns_type] + "DateTimeString", format="102" + ) + # 102 = format YYYYMMDD + date_node_str.text = date_datetime.strftime("%Y%m%d") + + def _cii_add_document_context_block(self, root, ns): + self.ensure_one() + doc_ctx = etree.SubElement(root, ns["rsm"] + "ExchangedDocumentContext") + ctx_param = etree.SubElement( + doc_ctx, ns["ram"] + "GuidelineSpecifiedDocumentContextParameter" + ) + ctx_param_id = etree.SubElement(ctx_param, ns["ram"] + "ID") + if ns["level"] == "en16931": + urn = "urn:cen.eu:en16931:2017" + elif ns["level"] == "basic": + urn = "urn:cen.eu:en16931:2017#compliant#urn:factur-x.eu:1p0:basic" + elif ns["level"] == "extended": + urn = "urn:cen.eu:en16931:2017#conformant#" "urn:factur-x.eu:1p0:extended" + else: + urn = "urn:factur-x.eu:1p0:%s" % ns["level"] + ctx_param_id.text = urn + + def _cii_add_header_block(self, root, ns): + self.ensure_one() + header_doc = etree.SubElement(root, ns["rsm"] + "ExchangedDocument") + header_doc_id = etree.SubElement(header_doc, ns["ram"] + "ID") + if self.state == "posted": + header_doc_id.text = self.name + else: + header_doc_id.text = self._fields["state"].convert_to_export( + self.state, self + ) + header_doc_typecode = etree.SubElement(header_doc, ns["ram"] + "TypeCode") + if self.move_type == "out_invoice": + header_doc_typecode.text = "380" + elif self.move_type == "out_refund": + header_doc_typecode.text = ns["refund_type"] + # 2 options allowed in Factur-X : + # a) invoice and refunds -> 380 ; negative amounts if refunds + # b) invoice -> 380 refunds -> 381, with positive amounts + # In ZUGFeRD samples, they use option a) + # For Chorus, they impose option b) + # Until August 2017, I was using option a), now I use option b) + # Starting from November 2017, it's a config option ! + invoice_date_dt = self.invoice_date or fields.Date.context_today(self) + self._cii_add_date("IssueDateTime", invoice_date_dt, header_doc, ns) + if not is_html_empty(self.narration) and ns["level"] != "minimum": + note = etree.SubElement(header_doc, ns["ram"] + "IncludedNote") + content_note = etree.SubElement(note, ns["ram"] + "Content") + content_note.text = html2plaintext(self.narration) + + @api.model + def _cii_get_party_identification(self, commercial_partner): + """This method is designed to be inherited in localisation modules + Should return a dict with key=SchemeName, value=Identifier""" + return {} + + @api.model + def _cii_add_party_identification(self, commercial_partner, parent_node, ns): + id_dict = self._cii_get_party_identification(commercial_partner) + if id_dict: + party_identification = etree.SubElement( + parent_node, ns["ram"] + "SpecifiedLegalOrganization" + ) + for scheme_name, party_id_text in id_dict.items(): + party_identification_id = etree.SubElement( + party_identification, ns["ram"] + "ID", schemeID=scheme_name + ) + party_identification_id.text = party_id_text + return + + def _cii_trade_agreement_buyer_ref(self, partner): + return False + + def _cii_add_trade_agreement_block(self, trade_transaction, ns): + self.ensure_one() + company = self.company_id + trade_agreement = etree.SubElement( + trade_transaction, ns["ram"] + "ApplicableHeaderTradeAgreement" + ) + buyer_ref = self._cii_trade_agreement_buyer_ref(self.partner_id) + if buyer_ref: + buyer_reference = etree.SubElement( + trade_agreement, ns["ram"] + "BuyerReference" + ) + buyer_reference.text = buyer_ref + seller = etree.SubElement(trade_agreement, ns["ram"] + "SellerTradeParty") + seller_name = etree.SubElement(seller, ns["ram"] + "Name") + seller_name.text = company.name + self._cii_add_party_identification(company.partner_id, seller, ns) + if ns["level"] in PROFILES_EN_UP: + self._cii_add_trade_contact_block( + self.invoice_user_id.partner_id or company.partner_id, seller, ns + ) + self._cii_add_address_block(company.partner_id, seller, ns) + if company.vat: + seller_tax_reg = etree.SubElement( + seller, ns["ram"] + "SpecifiedTaxRegistration" + ) + seller_tax_reg_id = etree.SubElement( + seller_tax_reg, ns["ram"] + "ID", schemeID="VA" + ) + seller_tax_reg_id.text = company.vat + buyer = etree.SubElement(trade_agreement, ns["ram"] + "BuyerTradeParty") + if ns["level"] != "minimum" and self.commercial_partner_id.ref: + buyer_id = etree.SubElement(buyer, ns["ram"] + "ID") + buyer_id.text = self.commercial_partner_id.ref + buyer_name = etree.SubElement(buyer, ns["ram"] + "Name") + buyer_name.text = self.commercial_partner_id.name + self._cii_add_party_identification(self.commercial_partner_id, buyer, ns) + if ( + ns["level"] in PROFILES_EN_UP + and self.commercial_partner_id != self.partner_id + and self.partner_id.name + ): + self._cii_add_trade_contact_block(self.partner_id, buyer, ns) + self._cii_add_address_block(self.partner_id, buyer, ns) + if self.commercial_partner_id.vat: + buyer_tax_reg = etree.SubElement( + buyer, ns["ram"] + "SpecifiedTaxRegistration" + ) + buyer_tax_reg_id = etree.SubElement( + buyer_tax_reg, ns["ram"] + "ID", schemeID="VA" + ) + buyer_tax_reg_id.text = self.commercial_partner_id.vat + if ns["level"] == "extended" and self.invoice_incoterm_id: + delivery_terms = etree.SubElement( + trade_agreement, ns["ram"] + "ApplicableTradeDeliveryTerms" + ) + delivery_code = etree.SubElement( + delivery_terms, ns["ram"] + "DeliveryTypeCode" + ) + delivery_code.text = self.invoice_incoterm_id.code + self._cii_add_buyer_order_reference(trade_agreement, ns) + self._cii_add_contract_reference(trade_agreement, ns) + + def _cii_add_buyer_order_reference(self, trade_agreement, ns): + self.ensure_one() + if self.ref: + buyer_order_ref = etree.SubElement( + trade_agreement, ns["ram"] + "BuyerOrderReferencedDocument" + ) + buyer_order_id = etree.SubElement( + buyer_order_ref, ns["ram"] + "IssuerAssignedID" + ) + buyer_order_id.text = self.ref + + def _cii_add_contract_reference(self, trade_agreement, ns): + self.ensure_one() + contract_code = self._get_contract_code() + if ns["level"] != "minimum" and contract_code: + contract_ref = etree.SubElement( + trade_agreement, ns["ram"] + "ContractReferencedDocument" + ) + contract_id = etree.SubElement(contract_ref, ns["ram"] + "IssuerAssignedID") + contract_id.text = contract_code + + def _get_contract_code(self): + """This method is designed to be inherited + There are so many different ways to handle a contract in Odoo! + So it's difficult to have a common datamodel for it""" + return False + + def _cii_add_trade_delivery_block(self, trade_transaction, ns): + self.ensure_one() + trade_agreement = etree.SubElement( + trade_transaction, ns["ram"] + "ApplicableHeaderTradeDelivery" + ) + # partner_shipping_id is provided by the sale module + if ( + ns["level"] in PROFILES_EN_UP + and hasattr(self, "partner_shipping_id") + and self.partner_shipping_id + ): + shipto_trade_party = etree.SubElement( + trade_agreement, ns["ram"] + "ShipToTradeParty" + ) + self._cii_add_address_block( + self.partner_shipping_id, shipto_trade_party, ns + ) + return trade_agreement + + def _cii_add_trade_settlement_payment_means_block(self, trade_settlement, ns): + payment_means = etree.SubElement( + trade_settlement, ns["ram"] + "SpecifiedTradeSettlementPaymentMeans" + ) + payment_means_code = etree.SubElement(payment_means, ns["ram"] + "TypeCode") + if ns["level"] in PROFILES_EN_UP: + payment_means_info = etree.SubElement( + payment_means, ns["ram"] + "Information" + ) + if self.payment_mode_id: + payment_means_code.text = self.payment_mode_id.payment_method_id.unece_code + if ns["level"] in PROFILES_EN_UP: + payment_means_info.text = ( + self.payment_mode_id.note or self.payment_mode_id.name + ) + else: + payment_means_code.text = "30" # use 30 and not 31, + # for wire transfer, according to Factur-X CIUS + if ns["level"] in PROFILES_EN_UP: + payment_means_info.text = _("Wire transfer") + logger.warning( + "Missing payment mode on invoice ID %d. " + "Using 30 (wire transfer) as UNECE code as fallback " + "for payment mean", + self.id, + ) + if payment_means_code.text in CREDIT_TRF_CODES: + partner_bank = self.partner_bank_id + if ( + not partner_bank + and self.payment_mode_id + and self.payment_mode_id.bank_account_link == "fixed" + and self.payment_mode_id.fixed_journal_id + ): + partner_bank = self.payment_mode_id.fixed_journal_id.bank_account_id + if partner_bank and partner_bank.acc_type == "iban": + payment_means_bank_account = etree.SubElement( + payment_means, ns["ram"] + "PayeePartyCreditorFinancialAccount" + ) + iban = etree.SubElement( + payment_means_bank_account, ns["ram"] + "IBANID" + ) + iban.text = partner_bank.sanitized_acc_number + if ns["level"] in PROFILES_EN_UP and partner_bank.bank_bic: + payment_means_bank = etree.SubElement( + payment_means, + ns["ram"] + "PayeeSpecifiedCreditorFinancialInstitution", + ) + payment_means_bic = etree.SubElement( + payment_means_bank, ns["ram"] + "BICID" + ) + payment_means_bic.text = partner_bank.bank_bic + # Field mandate_id provided by the OCA module account_banking_mandate + elif ( + payment_means_code.text in DIRECT_DEBIT_CODES + and hasattr(self, "mandate_id") + and self.mandate_id.partner_bank_id + and self.mandate_id.partner_bank_id.acc_type == "iban" + and self.mandate_id.partner_bank_id.sanitized_acc_number + ): + debtor_acc = etree.SubElement( + payment_means, ns["ram"] + "PayerPartyDebtorFinancialAccount" + ) + debtor_acc_iban = etree.SubElement(debtor_acc, ns["ram"] + "IBANID") + debtor_acc_iban.text = self.mandate_id.partner_bank_id.sanitized_acc_number + + def _cii_trade_payment_terms_block(self, trade_settlement, ns): + trade_payment_term = etree.SubElement( + trade_settlement, ns["ram"] + "SpecifiedTradePaymentTerms" + ) + if ns["level"] in PROFILES_EN_UP: + trade_payment_term_desc = etree.SubElement( + trade_payment_term, ns["ram"] + "Description" + ) + # The 'Description' field of SpecifiedTradePaymentTerms + # is a required field, so we must always give a value + if self.invoice_payment_term_id: + trade_payment_term_desc.text = self.invoice_payment_term_id.name + else: + trade_payment_term_desc.text = _("No specific payment term selected") + + if self.invoice_date_due: + self._cii_add_date( + "DueDateDateTime", self.invoice_date_due, trade_payment_term, ns + ) + + # Direct debit Mandate + if ( + self.payment_mode_id.payment_method_id.unece_code in DIRECT_DEBIT_CODES + and hasattr(self, "mandate_id") + and self.mandate_id.unique_mandate_reference + ): + mandate = etree.SubElement( + trade_payment_term, ns["ram"] + "DirectDebitMandateID" + ) + mandate.text = self.mandate_id.unique_mandate_reference + + def _cii_check_tax_required_info(self, tax_dict): + if not tax_dict: + # Hack when there is NO tax at all + # ApplicableTradeTax is a required field, both on line and total + tax_dict.update( + { + "unece_type_code": "VAT", + "unece_categ_code": "E", + "amount": 0, + "amount_type": "percent", + "display_name": "Empty virtual tax", + } + ) + if not tax_dict["unece_type_code"]: + raise UserError( + _("Missing UNECE Tax Type on tax '%s'") % tax_dict["display_name"] + ) + if not tax_dict["unece_categ_code"]: + raise UserError( + _("Missing UNECE Tax Category on tax '%s'") % tax_dict["display_name"] + ) + + def _cii_line_applicable_trade_tax_block( + self, tax_recordset, parent_node, ns, allowance=False + ): + tax = {} + if tax_recordset: + tax = ns["tax_speeddict"][tax_recordset.id] + self._cii_check_tax_required_info(tax) + if allowance: + node_name = "CategoryTradeTax" + else: + node_name = "ApplicableTradeTax" + trade_tax = etree.SubElement(parent_node, ns["ram"] + node_name) + trade_tax_typecode = etree.SubElement(trade_tax, ns["ram"] + "TypeCode") + trade_tax_typecode.text = tax["unece_type_code"] + trade_tax_categcode = etree.SubElement(trade_tax, ns["ram"] + "CategoryCode") + trade_tax_categcode.text = tax["unece_categ_code"] + # No 'DueDateTypeCode' on lines + if tax.get("amount_type") == "percent": + trade_tax_percent = etree.SubElement( + trade_tax, ns["ram"] + "RateApplicablePercent" + ) + trade_tax_percent.text = "%0.*f" % (2, tax["amount"]) + + def _cii_total_applicable_trade_tax_block( + self, tax_recordset, tax_amount, base_amount, parent_node, ns + ): + if ns["level"] == "minimum": + return + tax = {} + if tax_recordset: + tax = ns["tax_speeddict"][tax_recordset.id] + self._cii_check_tax_required_info(tax) + trade_tax = etree.SubElement(parent_node, ns["ram"] + "ApplicableTradeTax") + amount = etree.SubElement(trade_tax, ns["ram"] + "CalculatedAmount") + amount.text = "%0.*f" % (ns["cur_prec"], tax_amount * ns["sign"]) + tax_type = etree.SubElement(trade_tax, ns["ram"] + "TypeCode") + tax_type.text = tax["unece_type_code"] + + if ( + tax["unece_categ_code"] != "S" + and float_is_zero(tax_amount, precision_digits=ns["cur_prec"]) + and self.fiscal_position_id + and ns["fp_speeddict"][self.fiscal_position_id.id]["note"] + ): + exemption_reason = etree.SubElement( + trade_tax, ns["ram"] + "ExemptionReason" + ) + exemption_reason.text = ns["fp_speeddict"][self.fiscal_position_id.id][ + "note" + ] + + base = etree.SubElement(trade_tax, ns["ram"] + "BasisAmount") + base.text = "%0.*f" % (ns["cur_prec"], base_amount * ns["sign"]) + tax_categ_code = etree.SubElement(trade_tax, ns["ram"] + "CategoryCode") + tax_categ_code.text = tax["unece_categ_code"] + due_date_type_code = self._get_unece_due_date_type_code() or tax.get( + "unece_due_date_code" + ) + if due_date_type_code: + trade_tax_due_date = etree.SubElement( + trade_tax, ns["ram"] + "DueDateTypeCode" + ) + trade_tax_due_date.text = due_date_type_code + # Field tax_exigibility is not required, so no error if missing + if tax.get("amount_type") == "percent": + percent = etree.SubElement(trade_tax, ns["ram"] + "RateApplicablePercent") + percent.text = "%0.*f" % (2, tax["amount"]) + + def _cii_add_trade_settlement_block(self, trade_transaction, allowance_ilines, ns): + self.ensure_one() + trade_settlement = etree.SubElement( + trade_transaction, ns["ram"] + "ApplicableHeaderTradeSettlement" + ) + # ICS, provided by the OCA module account_banking_sepa_direct_debit + if ( + ns["level"] != "minimum" + and self.payment_mode_id.payment_method_id.unece_code in DIRECT_DEBIT_CODES + and hasattr(self.company_id, "sepa_creditor_identifier") + and self.company_id.sepa_creditor_identifier + ): + ics = etree.SubElement(trade_settlement, ns["ram"] + "CreditorReferenceID") + ics.text = self.company_id.sepa_creditor_identifier + + if ns["level"] != "minimum": + payment_ref = etree.SubElement( + trade_settlement, ns["ram"] + "PaymentReference" + ) + payment_ref.text = self.name or self.state + invoice_currency = etree.SubElement( + trade_settlement, ns["ram"] + "InvoiceCurrencyCode" + ) + invoice_currency.text = ns["currency"] + if ( + self.payment_mode_id + and not self.payment_mode_id.payment_method_id.unece_code + ): + raise UserError( + _("Missing UNECE code on payment method '%s'") + % self.payment_mode_id.payment_method_id.display_name + ) + if ns["level"] != "minimum" and not ( + self.move_type == "out_refund" + and self.payment_mode_id + and self.payment_mode_id.payment_method_id.unece_code in CREDIT_TRF_CODES + ): + self._cii_add_trade_settlement_payment_means_block(trade_settlement, ns) + + at_least_one_tax = False + # move_type == 'out_invoice': tline.amount_currency < 0 + # move_type == 'out_refund': tline.amount_currency > 0 + tax_amount_sign = self.move_type == "out_invoice" and -1 or 1 + for tline in self.line_ids.filtered(lambda x: x.tax_line_id): + tax_base_amount = tline.tax_base_amount + tax_amount = tline.amount_currency * tax_amount_sign + self._cii_total_applicable_trade_tax_block( + tline.tax_line_id, + tax_amount, + tax_base_amount, + trade_settlement, + ns, + ) + at_least_one_tax = True + tax_zero_amount = {} # key = tax recordset, value = base + for line in self.line_ids: + for tax in line.tax_ids.filtered( + lambda t: float_is_zero(t.amount, precision_digits=ns["cur_prec"]) + ): + tax_zero_amount.setdefault(tax, 0.0) + tax_zero_amount[tax] += line.price_subtotal + for tax, tax_base_amount in tax_zero_amount.items(): + self._cii_total_applicable_trade_tax_block( + tax, 0, tax_base_amount, trade_settlement, ns + ) + at_least_one_tax = True + + if not at_least_one_tax: + self._cii_total_applicable_trade_tax_block(None, 0, 0, trade_settlement, ns) + + # Global Allowance lines = invoice lines with negative price + for allowance_iline in allowance_ilines: + self._cii_allowance_line(allowance_iline, trade_settlement, ns) + + if ns["level"] != "minimum": + self._cii_trade_payment_terms_block(trade_settlement, ns) + + self._cii_monetary_summation_block(trade_settlement, ns) + # When you create a full refund from an invoice, Odoo will + # set the field reversed_entry_id + if self.reversed_entry_id and self.reversed_entry_id.state == "posted": + inv_ref_doc = etree.SubElement( + trade_settlement, ns["ram"] + "InvoiceReferencedDocument" + ) + inv_ref_doc_num = etree.SubElement( + inv_ref_doc, ns["ram"] + "IssuerAssignedID" + ) + inv_ref_doc_num.text = self.reversed_entry_id.name + self._cii_add_date( + "FormattedIssueDateTime", + self.reversed_entry_id.invoice_date, + inv_ref_doc, + ns, + date_ns_type="qdt", + ) + + def _cii_allowance_line(self, iline, trade_settlement, ns): + allowance_line = etree.SubElement( + trade_settlement, ns["ram"] + "SpecifiedTradeAllowanceCharge" + ) + charge_indic = etree.SubElement(allowance_line, ns["ram"] + "ChargeIndicator") + indicator = etree.SubElement(charge_indic, ns["udt"] + "Indicator") + indicator.text = "false" + if not float_is_zero(iline.discount, ns["disc_prec"]): + calculation_percent = etree.SubElement( + allowance_line, ns["ram"] + "CalculationPercent" + ) + calculation_percent.text = "%0.*f" % (ns["disc_prec"], iline.discount) + basis_amount = etree.SubElement(allowance_line, ns["ram"] + "BasisAmount") + basis_amount.text = "%0.*f" % ( + ns["price_prec"], + iline.price_unit * iline.quantity * -1, + ) + + actual_amount = iline.price_subtotal * -1 + ns["allowance_total_amount"] += actual_amount + actual_amount_node = etree.SubElement( + allowance_line, ns["ram"] + "ActualAmount" + ) + actual_amount_node.text = "%0.*f" % (ns["cur_prec"], actual_amount) + + reason = etree.SubElement(allowance_line, ns["ram"] + "Reason") + reason.text = ( + iline.name + or (iline.product_id and iline.product_id.display_name) + or _("Discount") + ) + self._cii_invoice_line_taxes(iline, allowance_line, ns, allowance=True) + + def _cii_monetary_summation_block(self, trade_settlement, ns): + sums = etree.SubElement( + trade_settlement, + ns["ram"] + "SpecifiedTradeSettlementHeaderMonetarySummation", + ) + if ns["level"] != "minimum": + line_total = etree.SubElement(sums, ns["ram"] + "LineTotalAmount") + line_total.text = "%0.*f" % ( + ns["cur_prec"], + (self.amount_untaxed - ns["allowance_total_amount"]) * ns["sign"], + ) + # We don't want to generate charge total, because we don't have the + # notion of charge in Odoo. We only support allowance: + # an allowance is an invoice line with a negative price + # Warning: the allowance amount is positive (but has negative meaning) + if not self.currency_id.is_zero(ns["allowance_total_amount"]): + allowance_total = etree.SubElement( + sums, ns["ram"] + "AllowanceTotalAmount" + ) + allowance_total.text = "%0.*f" % ( + ns["cur_prec"], + ns["allowance_total_amount"], + ) + tax_basis_total_amt = etree.SubElement(sums, ns["ram"] + "TaxBasisTotalAmount") + tax_basis_total_amt.text = "%0.*f" % ( + ns["cur_prec"], + self.amount_untaxed * ns["sign"], + ) + tax_total = etree.SubElement( + sums, ns["ram"] + "TaxTotalAmount", currencyID=ns["currency"] + ) + tax_total.text = "%0.*f" % (ns["cur_prec"], self.amount_tax * ns["sign"]) + total = etree.SubElement(sums, ns["ram"] + "GrandTotalAmount") + total.text = "%0.*f" % (ns["cur_prec"], self.amount_total * ns["sign"]) + if ns["level"] != "minimum": + prepaid = etree.SubElement(sums, ns["ram"] + "TotalPrepaidAmount") + prepaid.text = "%0.*f" % ( + ns["cur_prec"], + (self.amount_total - self.amount_residual) * ns["sign"], + ) + residual = etree.SubElement(sums, ns["ram"] + "DuePayableAmount") + residual.text = "%0.*f" % (ns["cur_prec"], self.amount_residual * ns["sign"]) + + def _set_iline_product_information(self, iline, trade_product, ns): + if iline.product_id: + if iline.product_id.barcode: + barcode = etree.SubElement( + trade_product, ns["ram"] + "GlobalID", schemeID="0160" + ) + # 0160 = GS1 Global Trade Item Number (GTIN, EAN) + barcode.text = iline.product_id.barcode + if ns["level"] in PROFILES_EN_UP and iline.product_id.default_code: + product_code = etree.SubElement( + trade_product, ns["ram"] + "SellerAssignedID" + ) + product_code.text = iline.product_id.default_code + product_name = etree.SubElement(trade_product, ns["ram"] + "Name") + product_name.text = iline.name or _("No invoice line label") + if ( + ns["level"] in PROFILES_EN_UP + and iline.product_id + and iline.product_id.description_sale + ): + product_desc = etree.SubElement(trade_product, ns["ram"] + "Description") + product_desc.text = iline.product_id.description_sale + + def _set_iline_product_attributes(self, iline, trade_product, ns): + if iline.product_id and ns["level"] in PROFILES_EN_UP: + product = iline.product_id + for attrib_val in product.product_template_attribute_value_ids: + attrib_value_rec = attrib_val.product_attribute_value_id + attrib_value = attrib_value_rec.name + attribute_name = attrib_value_rec.attribute_id.name + product_charact = etree.SubElement( + trade_product, ns["ram"] + "ApplicableProductCharacteristic" + ) + product_charact_desc = etree.SubElement( + product_charact, ns["ram"] + "Description" + ) + product_charact_desc.text = attribute_name + product_charact_value = etree.SubElement( + product_charact, ns["ram"] + "Value" + ) + product_charact_value.text = attrib_value + if hasattr(product, "hs_code_id") and product.type in ("product", "consu"): + hs_code = product.get_hs_code_recursively() + if hs_code: + product_classification = etree.SubElement( + trade_product, ns["ram"] + "DesignatedProductClassification" + ) + product_classification_code = etree.SubElement( + product_classification, ns["ram"] + "ClassCode", listID="HS" + ) + product_classification_code.text = hs_code.local_code + # origin_country_id and hs_code_id are provided + # by the OCA module product_harmonized_system + if ( + hasattr(product, "origin_country_id") + and product.type in ("product", "consu") + and product.origin_country_id + ): + origin_trade_country = etree.SubElement( + trade_product, ns["ram"] + "OriginTradeCountry" + ) + origin_trade_country_code = etree.SubElement( + origin_trade_country, ns["ram"] + "ID" + ) + origin_trade_country_code.text = product.origin_country_id.code + + def _cii_add_invoice_line_block(self, trade_transaction, iline, line_number, ns): + self.ensure_one() + line_item = etree.SubElement( + trade_transaction, ns["ram"] + "IncludedSupplyChainTradeLineItem" + ) + line_doc = etree.SubElement( + line_item, ns["ram"] + "AssociatedDocumentLineDocument" + ) + etree.SubElement(line_doc, ns["ram"] + "LineID").text = str(line_number) + + trade_product = etree.SubElement(line_item, ns["ram"] + "SpecifiedTradeProduct") + self._set_iline_product_information(iline, trade_product, ns) + self._set_iline_product_attributes(iline, trade_product, ns) + line_trade_agreement = etree.SubElement( + line_item, ns["ram"] + "SpecifiedLineTradeAgreement" + ) + # convert gross price_unit to tax_excluded value + taxres = iline.tax_ids.compute_all(iline.price_unit) + gross_price_val = float_round( + taxres["total_excluded"], precision_digits=ns["price_prec"] + ) + # Use oline.price_subtotal/qty to compute net unit price to be sure + # to get a *tax_excluded* net unit price + if float_is_zero(iline.quantity, precision_digits=ns["qty_prec"]): + net_price_val = 0.0 + else: + net_price_val = float_round( + iline.price_subtotal / float(iline.quantity), + precision_digits=ns["price_prec"], + ) + if ns["level"] in PROFILES_EN_UP: + gross_price = etree.SubElement( + line_trade_agreement, ns["ram"] + "GrossPriceProductTradePrice" + ) + gross_price_amount = etree.SubElement( + gross_price, ns["ram"] + "ChargeAmount" + ) + gross_price_amount.text = "%0.*f" % (ns["price_prec"], gross_price_val) + fc_discount = float_compare( + iline.discount, 0.0, precision_digits=ns["disc_prec"] + ) + if fc_discount in [-1, 1]: + trade_allowance = etree.SubElement( + gross_price, ns["ram"] + "AppliedTradeAllowanceCharge" + ) + charge_indic = etree.SubElement( + trade_allowance, ns["ram"] + "ChargeIndicator" + ) + indicator = etree.SubElement(charge_indic, ns["udt"] + "Indicator") + if fc_discount == 1: + indicator.text = "false" + ac_sign = 1 + else: + indicator.text = "true" + ac_sign = -1 + calculation_percent = etree.SubElement( + trade_allowance, ns["ram"] + "CalculationPercent" + ) + calculation_percent.text = "%0.*f" % ( + ns["disc_prec"], + iline.discount * ac_sign, + ) + basis_amount = etree.SubElement( + trade_allowance, ns["ram"] + "BasisAmount" + ) + basis_amount.text = "%0.*f" % ( + ns["price_prec"], + iline.price_unit * iline.quantity, + ) + actual_amount = etree.SubElement( + trade_allowance, ns["ram"] + "ActualAmount" + ) + actual_amount_val = float_round( + ac_sign + * ((iline.price_unit * iline.quantity) - iline.price_subtotal), + precision_digits=ns["price_prec"], + ) + actual_amount.text = "%0.*f" % ( + ns["price_prec"], + actual_amount_val * ns["sign"], + ) + + net_price = etree.SubElement( + line_trade_agreement, ns["ram"] + "NetPriceProductTradePrice" + ) + net_price_amount = etree.SubElement(net_price, ns["ram"] + "ChargeAmount") + net_price_amount.text = "%0.*f" % (ns["price_prec"], net_price_val) + line_trade_delivery = etree.SubElement( + line_item, ns["ram"] + "SpecifiedLineTradeDelivery" + ) + if iline.product_uom_id and iline.product_uom_id.unece_code: + unitCode = iline.product_uom_id.unece_code + else: + unitCode = "C62" + if not iline.product_uom_id: + logger.warning( + "No unit of measure on invoice line '%s', " + "using C62 (piece) as fallback", + iline.name, + ) + else: + logger.warning( + "Missing UNECE Code on unit of measure %s, " + "using C62 (piece) as fallback", + iline.product_uom_id.name, + ) + billed_qty = etree.SubElement( + line_trade_delivery, ns["ram"] + "BilledQuantity", unitCode=unitCode + ) + billed_qty.text = "%0.*f" % (ns["qty_prec"], iline.quantity * ns["sign"]) + line_trade_settlement = etree.SubElement( + line_item, ns["ram"] + "SpecifiedLineTradeSettlement" + ) + self._cii_invoice_line_taxes(iline, line_trade_settlement, ns) + # Fields start_date and end_date are provided by the OCA + # module account_invoice_start_end_dates + if ( + ns["level"] in PROFILES_EN_UP + and hasattr(iline, "start_date") + and hasattr(iline, "end_date") + and iline.start_date + and iline.end_date + ): + bill_period = etree.SubElement( + line_trade_settlement, ns["ram"] + "BillingSpecifiedPeriod" + ) + self._cii_add_date("StartDateTime", iline.start_date, bill_period, ns) + self._cii_add_date("EndDateTime", iline.end_date, bill_period, ns) + + subtotal = etree.SubElement( + line_trade_settlement, + ns["ram"] + "SpecifiedTradeSettlementLineMonetarySummation", + ) + subtotal_amount = etree.SubElement(subtotal, ns["ram"] + "LineTotalAmount") + subtotal_amount.text = "%0.*f" % ( + ns["cur_prec"], + iline.price_subtotal * ns["sign"], + ) + + def _cii_invoice_line_taxes(self, iline, parent_node, ns, allowance=False): + if iline.tax_ids: + for tax in iline.tax_ids: + self._cii_line_applicable_trade_tax_block( + tax, parent_node, ns, allowance=allowance + ) + else: + self._cii_line_applicable_trade_tax_block( + None, parent_node, ns, allowance=allowance + ) + + def generate_facturx_xml(self): + self.ensure_one() + assert self.move_type in ( + "out_invoice", + "out_refund", + ), "only works for customer invoice and refunds" + dpo = self.env["decimal.precision"] + level = self.company_id.facturx_level or "en16931" + refund_type = self.company_id.facturx_refund_type or "381" + sign = 1 + if self.move_type == "out_refund" and refund_type == "380": + sign = -1 + lang = self.partner_id.lang or self.env.user.lang or "en_US" + tax_speeddict = self.company_id._get_tax_unece_speeddict() + fp_speeddict = self.company_id._get_fiscal_position_speeddict(lang=lang) + self = self.with_context(lang=lang) + nsmap = { + "xsi": "http://www.w3.org/2001/XMLSchema-instance", + "rsm": "urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100", + "ram": "urn:un:unece:uncefact:data:standard:" + "ReusableAggregateBusinessInformationEntity:100", + "qdt": "urn:un:unece:uncefact:data:standard:QualifiedDataType:100", + "udt": "urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100", + } + ns = { + "rsm": "{urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100}", + "ram": "{urn:un:unece:uncefact:data:standard:" + "ReusableAggregateBusinessInformationEntity:100}", + "qdt": "{urn:un:unece:uncefact:data:standard:QualifiedDataType:100}", + "udt": "{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}", + "level": level, + "refund_type": refund_type, + "sign": sign, + "currency": self.currency_id.name, + "cur_prec": self.currency_id.decimal_places, + "price_prec": dpo.precision_get("Product Price"), + "disc_prec": dpo.precision_get("Discount"), + "qty_prec": dpo.precision_get("Product Unit of Measure"), + "lang": lang, + "tax_speeddict": tax_speeddict, + "fp_speeddict": fp_speeddict, + "allowance_total_amount": 0.0, + } + + root = etree.Element(ns["rsm"] + "CrossIndustryInvoice", nsmap=nsmap) + self._cii_add_document_context_block(root, ns) + self._cii_add_header_block(root, ns) + + trade_transaction = etree.SubElement( + root, ns["rsm"] + "SupplyChainTradeTransaction" + ) + + allowance_ilines = self.env["account.move.line"] + if ns["level"] in ("extended", "en16931", "basic"): + line_number = 0 + for iline in self.invoice_line_ids.filtered( + lambda x: x.display_type == "product" + ): + price_compare = float_compare( + iline.price_unit, 0, precision_digits=ns["price_prec"] + ) + if price_compare >= 0: + line_number += 1 + self._cii_add_invoice_line_block( + trade_transaction, iline, line_number, ns + ) + else: + # global allowance + allowance_ilines |= iline + + self._cii_add_trade_agreement_block(trade_transaction, ns) + self._cii_add_trade_delivery_block(trade_transaction, ns) + self._cii_add_trade_settlement_block(trade_transaction, allowance_ilines, ns) + + xml_byte = etree.tostring( + root, pretty_print=True, encoding="UTF-8", xml_declaration=True + ) + logger.debug("Factur-X XML file generated for invoice ID %d", self.id) + logger.debug(xml_byte.decode("utf-8")) + try: + xml_check_xsd(xml_byte, flavor="factur-x", level=ns["level"]) + except Exception as e: + raise UserError(str(e)) from e + return (xml_byte, level) + + def _prepare_pdf_metadata(self): + self.ensure_one() + inv_type = self.move_type == "out_refund" and _("Refund") or _("Invoice") + if self.invoice_date: + invoice_date = format_date( + self.env, self.invoice_date, lang_code=self.partner_id.lang + ) + else: + invoice_date = _("(no date)") + if self.state == "posted": + invoice_number = self.name + else: + invoice_number = self._fields["state"].convert_to_export(self.state, self) + format_vals = { + "company_name": self.company_id.name, + "invoice_type": inv_type, + "invoice_number": invoice_number, + "invoice_date": invoice_date, + } + pdf_metadata = { + "author": format_vals["company_name"], + "keywords": ", ".join([inv_type, _("Factur-X")]), + "title": _( + "{company_name}: {invoice_type} {invoice_number} dated {invoice_date}" + ).format(**format_vals), + "subject": _( + "Factur-X {invoice_type} {invoice_number} dated {invoice_date} " + "issued by {company_name}" + ).format(**format_vals), + } + return pdf_metadata + + def _prepare_facturx_attachments(self): + # This method is designed to be inherited in other modules + self.ensure_one() + return {} + + def regular_pdf_invoice_to_facturx_invoice(self, pdf_bytesio): + self.ensure_one() + assert pdf_bytesio, "Missing pdf_bytesio" + if self.move_type in ("out_invoice", "out_refund"): + facturx_xml_bytes, level = self.generate_facturx_xml() + pdf_metadata = self._prepare_pdf_metadata() + lang = ( + self.partner_id.lang and self.partner_id.lang.replace("_", "-") or None + ) + # Generate a new PDF with XML file as attachment + attachments = self._prepare_facturx_attachments() + generate_from_file( + pdf_bytesio, + facturx_xml_bytes, + flavor="factur-x", + level=level, + check_xsd=False, + pdf_metadata=pdf_metadata, + lang=lang, + attachments=attachments, + ) + logger.info("%s file added to PDF invoice", FACTURX_FILENAME) diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/models/ir_actions_report.py b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/models/ir_actions_report.py new file mode 100644 index 0000000..4eab964 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/models/ir_actions_report.py @@ -0,0 +1,32 @@ +# Copyright 2016-2022 Akretion France (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import models + + +class IrActionsReport(models.Model): + _inherit = "ir.actions.report" + + def _render_qweb_pdf_prepare_streams(self, report_ref, data, res_ids=None): + # It works, but: + # - when you click on the "Print" button or use the "Print" menu, + # the XML file is regenerated even when the invoice is read from the attachment. + # - when you open the invoice from the attachment, you get the "original" XML + # file + collected_streams = super()._render_qweb_pdf_prepare_streams( + report_ref, data, res_ids=res_ids + ) + amo = self.env["account.move"] + if ( + collected_streams + and res_ids + and len(res_ids) == 1 + and self._is_invoice_report(report_ref) + and not self.env.context.get("no_embedded_factur-x_xml") + ): + move = amo.browse(res_ids) + if move._xml_format_in_pdf_invoice() == "factur-x": + pdf_bytesio = collected_streams[move.id]["stream"] + move.regular_pdf_invoice_to_facturx_invoice(pdf_bytesio) + return collected_streams diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/models/res_company.py b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/models/res_company.py new file mode 100644 index 0000000..aa2fa8f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/models/res_company.py @@ -0,0 +1,71 @@ +# Copyright 2017-2022 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import base64 + +from odoo import fields, models, tools + + +class ResCompany(models.Model): + _inherit = "res.company" + + xml_format_in_pdf_invoice = fields.Selection( + selection_add=[("factur-x", "Factur-X (CII)")], + default="factur-x", + ondelete={"factur-x": "set null"}, + ) + facturx_level = fields.Selection( + [ + ("minimum", "Minimum"), + ("basicwl", "Basic without lines"), + ("basic", "Basic"), + ("en16931", "EN 16931 (Comfort)"), + ("extended", "Extended"), + ], + string="Factur-X Level", + default="en16931", + help="Unless if you have a good reason, you should always " + "select 'EN 16931 (Comfort)', which is the default value.", + ) + facturx_refund_type = fields.Selection( + [ + ("380", "Type 380 with negative amounts"), + ("381", "Type 381 with positive amounts"), + ], + string="Factur-X Refund Type", + default="381", + ) + facturx_logo = fields.Binary( + compute="_compute_facturx_logo", + string="Factur-X Logo", + help="Logo to include in the visible part of Factur-X invoices", + ) + # up to v15, this module inherited the invoice report to add the + # facturx logo. In v16, I decided to stop inheriting the invoice report + # because I think many users may not want to have the facturx logo, + # but I continue to provide the field 'facturx_logo' + + def _compute_facturx_logo(self): + level2logo = { + "minimum": "factur-x-minimum.png", + "basicwl": "factur-x-basicwl.png", + "basic": "factur-x-basic.png", + "en16931": "factur-x-en16931.png", + "extended": "factur-x-extended.png", + } + for company in self: + facturx_logo = False + if ( + company.xml_format_in_pdf_invoice == "factur-x" + and company.facturx_level + and company.facturx_level in level2logo + ): + fname = level2logo[company.facturx_level] + fname_path = "account_invoice_facturx/static/logos/%s" % fname + f = tools.file_open(fname_path, "rb") + f_binary = f.read() + if f_binary: + facturx_logo = base64.b64encode(f_binary) + + company.facturx_logo = facturx_logo diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/readme/CONFIGURE.rst b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/readme/CONFIGURE.rst new file mode 100644 index 0000000..0f68001 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/readme/CONFIGURE.rst @@ -0,0 +1,5 @@ +In the menu *Invoicing > Configuration > Settings*, check these options: + +* *XML Format embedded in PDF invoice*: if you want to generate Factur-X invoices, this option must be set to *Factur-X (CII)* +* the *Factur-X Level*: unless you have a good reason, you should keep the default value *EN 16931 (Comfort)* +* *Factur-X Refund Type*: choose the type of the XML invoice for customer refunds (keep the default value if you are not familiar with this setting). diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..ff65d68 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Alexis de Lattre diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/readme/DESCRIPTION.rst new file mode 100644 index 0000000..9e17fcf --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/readme/DESCRIPTION.rst @@ -0,0 +1,5 @@ +With this module, the PDF customer invoices and refunds generated by the Qweb reporting engine of Odoo will comply with the `Factur-X `__ standard. The Factur-X standard is an e-invoicing standard for France and Germany released on December 31st 2017. In Germany, it is also known as the `ZUGFeRD 2.0 `_ standard. This standard is based on `CII `_ (Cross-Industry Invoice) for electronic invoicing. The great idea of the ZUGFeRD/Factur-X standard is to embed an XML file inside the PDF invoice to carry structured information about the invoice. So, with a ZUGFeRD/Factur-X PDF invoice: + +* no need to change your habbits and those of your customers: you can still send your PDF invoices by email as usual. +* customers equiped with a modern accouting software will be able to import the invoice automatically as supplier invoice by taking advantage of the embedded XML file, +* customers with an ancient accounting software will just open the PDF file with their PDF reader and manually encode the document as supplier invoice in their accounting software. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/readme/INSTALL.rst b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/readme/INSTALL.rst new file mode 100644 index 0000000..1b4dcc4 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/readme/INSTALL.rst @@ -0,0 +1,7 @@ +**WARNING**: there is an alternative implementation of Factur-X in the module **account_edi_ubl_cii** of the official addons. If both modules are installed, the XML embedded in the PDF is the XML generated by the module **account_edi_ubl_cii**. To avoid that, you need to uninstall the module **account_edi_ubl_cii**. + +This module requires a recent version of the Python library `factur-x `__ developped by Akretion. Note that the factur-x library depends on PyPDF2 for the low-level PDF manipulation. To install it, run: + +.. code:: + + pip3 install --upgrade factur-x diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/description/icon.png b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/description/index.html b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/description/index.html new file mode 100644 index 0000000..675d5ad --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/description/index.html @@ -0,0 +1,449 @@ + + + + + +Account Invoice Factur-X + + + +
+

Account Invoice Factur-X

+ + +

Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

+

With this module, the PDF customer invoices and refunds generated by the Qweb reporting engine of Odoo will comply with the Factur-X standard. The Factur-X standard is an e-invoicing standard for France and Germany released on December 31st 2017. In Germany, it is also known as the ZUGFeRD 2.0 standard. This standard is based on CII (Cross-Industry Invoice) for electronic invoicing. The great idea of the ZUGFeRD/Factur-X standard is to embed an XML file inside the PDF invoice to carry structured information about the invoice. So, with a ZUGFeRD/Factur-X PDF invoice:

+
    +
  • no need to change your habbits and those of your customers: you can still send your PDF invoices by email as usual.
  • +
  • customers equiped with a modern accouting software will be able to import the invoice automatically as supplier invoice by taking advantage of the embedded XML file,
  • +
  • customers with an ancient accounting software will just open the PDF file with their PDF reader and manually encode the document as supplier invoice in their accounting software.
  • +
+

Table of contents

+ +
+

Installation

+

WARNING: there is an alternative implementation of Factur-X in the module account_edi_ubl_cii of the official addons. If both modules are installed, the XML embedded in the PDF is the XML generated by the module account_edi_ubl_cii. To avoid that, you need to uninstall the module account_edi_ubl_cii.

+

This module requires a recent version of the Python library factur-x developped by Akretion. Note that the factur-x library depends on PyPDF2 for the low-level PDF manipulation. To install it, run:

+
+pip3 install --upgrade factur-x
+
+
+
+

Configuration

+

In the menu Invoicing > Configuration > Settings, check these options:

+
    +
  • XML Format embedded in PDF invoice: if you want to generate Factur-X invoices, this option must be set to Factur-X (CII)
  • +
  • the Factur-X Level: unless you have a good reason, you should keep the default value EN 16931 (Comfort)
  • +
  • Factur-X Refund Type: choose the type of the XML invoice for customer refunds (keep the default value if you are not familiar with this setting).
  • +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

alexis-via

+

This module is part of the OCA/edi project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-basic.png b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-basic.png new file mode 100644 index 0000000..4d830c8 Binary files /dev/null and b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-basic.png differ diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-basicwl.png b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-basicwl.png new file mode 100644 index 0000000..e931f61 Binary files /dev/null and b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-basicwl.png differ diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-en16931.png b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-en16931.png new file mode 100644 index 0000000..58e8ac5 Binary files /dev/null and b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-en16931.png differ diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-extended.png b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-extended.png new file mode 100644 index 0000000..7a87293 Binary files /dev/null and b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-extended.png differ diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-minimum.png b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-minimum.png new file mode 100644 index 0000000..fe520b4 Binary files /dev/null and b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-minimum.png differ diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/tests/__init__.py b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/tests/__init__.py new file mode 100644 index 0000000..b5b14b8 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/tests/__init__.py @@ -0,0 +1 @@ +from . import test_facturx_invoice diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/tests/test_facturx_invoice.py b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/tests/test_facturx_invoice.py new file mode 100644 index 0000000..fb2ed63 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/tests/test_facturx_invoice.py @@ -0,0 +1,97 @@ +# Copyright 2015-2020 Akretion France +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import logging + +from facturx import get_facturx_level +from lxml import etree + +from odoo.tests.common import TransactionCase + +logger = logging.getLogger(__name__) + + +class TestFacturXInvoice(TransactionCase): + def setUp(self): + super().setUp() + self.company = self.env.ref("base.main_company") + self.product1 = self.env.ref("product.product_product_4") + self.product2 = self.env.ref("product.product_product_1") + sale_taxes = self.env["account.tax"].search( + [ + ("company_id", "=", self.company.id), + ("type_tax_use", "=", "sale"), + "|", + ("unece_type_id", "=", False), + ("unece_categ_id", "=", False), + ] + ) + sale_taxes.write( + { + "unece_type_id": self.env.ref("account_tax_unece.tax_type_vat").id, + "unece_categ_id": self.env.ref("account_tax_unece.tax_categ_s").id, + } + ) + self.invoice = self.env["account.move"].create( + { + "company_id": self.company.id, + "move_type": "out_invoice", + "partner_id": self.env.ref("base.res_partner_2").id, + "currency_id": self.company.currency_id.id, + "invoice_line_ids": [ + ( + 0, + 0, + { + "product_id": self.product1.id, + "product_uom_id": self.product1.uom_id.id, + "quantity": 12, + "price_unit": 42.42, + }, + ), + ( + 0, + 0, + { + "product_id": self.product2.id, + "product_uom_id": self.product2.uom_id.id, + "quantity": 2, + "price_unit": 12.34, + }, + ), + ], + } + ) + self.invoice.action_post() + + def test_deep_customer_invoice(self): + # Bug in Basic XSD: missing CountrySubDivisionName + # I reported it to FNFE-MPE on 24/10/2021 + # In the meantime, we want to avoid the bug: + self.company.partner_id.state_id = False + self.invoice.partner_id.state_id = False + if self.company.xml_format_in_pdf_invoice != "factur-x": + self.company.write({"xml_format_in_pdf_invoice": "factur-x"}) + # inv_report = self.env.ref("account.account_invoices").with_context( + # force_report_rendering=True + # ) + for level in ["minimum", "basicwl", "basic", "en16931", "extended"]: + self.company.write({"facturx_level": level}) + # Travis tests get stalled on this line + # Maybe it's not possible to render a PDF on Travis... I don't know + # pdf_content, pdf_ext = inv_report._render_qweb_pdf( + # res_ids=[self.invoice.id] + # ) + # xml_filename, xml_string = get_facturx_xml_from_pdf( + # pdf_content, check_xsd=True + # ) + # self.assertTrue(xml_filename, "factur-x.xml") + # xml_root = etree.fromstring(xml_string) + # facturx_level = get_facturx_level(xml_root) + # self.assertEqual(facturx_level, level) + xml_bytes, fx_level = self.invoice.generate_facturx_xml() + self.assertEqual(fx_level, level) + xml_root = etree.fromstring(xml_bytes) + facturx_level = get_facturx_level(xml_root) + self.assertEqual(facturx_level, level) diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/views/account_move.xml b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/views/account_move.xml new file mode 100644 index 0000000..9d1002b --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/views/account_move.xml @@ -0,0 +1,24 @@ + + + + + + + account.move + + + + 1 + + + + + + diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/views/res_config_settings.xml b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/views/res_config_settings.xml new file mode 100644 index 0000000..af0a452 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/views/res_config_settings.xml @@ -0,0 +1,51 @@ + + + + + account_invoice_facturx.res.config.settings + res.config.settings + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/views/res_partner.xml b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/views/res_partner.xml new file mode 100644 index 0000000..06cc712 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/views/res_partner.xml @@ -0,0 +1,32 @@ + + + + + + factur-x.country.required.on.res.partner + res.partner + + + + 1 + + + 1 + + + + diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/wizards/__init__.py b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/wizards/__init__.py new file mode 100644 index 0000000..0deb68c --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/wizards/__init__.py @@ -0,0 +1 @@ +from . import res_config_settings diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/wizards/res_config_settings.py b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/wizards/res_config_settings.py new file mode 100644 index 0000000..e34e460 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/account_invoice_facturx/wizards/res_config_settings.py @@ -0,0 +1,14 @@ +# Copyright 2017-2022 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + _inherit = "res.config.settings" + + facturx_level = fields.Selection(related="company_id.facturx_level", readonly=False) + facturx_refund_type = fields.Selection( + related="company_id.facturx_refund_type", readonly=False + ) diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-account_invoice_facturx/doc/ARCHITECTURE.md new file mode 100644 index 0000000..59b5ebd --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Account_invoice_facturx Module - account_invoice_facturx + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-account_invoice_facturx/doc/CONFIGURATION.md new file mode 100644 index 0000000..1c2c637 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for account_invoice_facturx. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-account_invoice_facturx/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-account_invoice_facturx/doc/DEPENDENCIES.md new file mode 100644 index 0000000..c15a615 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/doc/DEPENDENCIES.md @@ -0,0 +1,8 @@ +# Dependencies + +This addon depends on: + +- [account_einvoice_generate](../../odoo-bringout-oca-edi-framework-account_einvoice_generate) +- account_payment_partner +- [base_facturx](../../odoo-bringout-oca-edi-base_facturx) +- [base_vat](../../odoo-bringout-oca-ocb-base_vat) diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/doc/FAQ.md b/odoo-bringout-oca-edi-account_invoice_facturx/doc/FAQ.md new file mode 100644 index 0000000..e01a7cb --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon account_invoice_facturx or install in UI. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/doc/INSTALL.md b/odoo-bringout-oca-edi-account_invoice_facturx/doc/INSTALL.md new file mode 100644 index 0000000..ee3a2bd --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-account_invoice_facturx" +# or +uv pip install odoo-bringout-oca-edi-account_invoice_facturx" +``` diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/doc/MODELS.md b/odoo-bringout-oca-edi-account_invoice_facturx/doc/MODELS.md new file mode 100644 index 0000000..9eee686 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/doc/MODELS.md @@ -0,0 +1,14 @@ +# Models + +Detected core models and extensions in account_invoice_facturx. + +```mermaid +classDiagram + class account_move + class ir_actions_report + class res_company +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/doc/OVERVIEW.md b/odoo-bringout-oca-edi-account_invoice_facturx/doc/OVERVIEW.md new file mode 100644 index 0000000..cf8b173 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: account_invoice_facturx. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon account_invoice_facturx +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/doc/REPORTS.md b/odoo-bringout-oca-edi-account_invoice_facturx/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/doc/SECURITY.md b/odoo-bringout-oca-edi-account_invoice_facturx/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-account_invoice_facturx/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/doc/USAGE.md b/odoo-bringout-oca-edi-account_invoice_facturx/doc/USAGE.md new file mode 100644 index 0000000..fb362ce --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_invoice_facturx +``` diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/doc/WIZARDS.md b/odoo-bringout-oca-edi-account_invoice_facturx/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx/pyproject.toml b/odoo-bringout-oca-edi-account_invoice_facturx/pyproject.toml new file mode 100644 index 0000000..719c195 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx/pyproject.toml @@ -0,0 +1,45 @@ +[project] +name = "odoo-bringout-oca-edi-account_invoice_facturx" +version = "16.0.0" +description = "Account Invoice Factur-X - Generate Factur-X/ZUGFeRD customer invoices" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-account_einvoice_generate>=16.0.0", + "odoo-bringout-oca-edi-account_payment_partner>=16.0.0", + "odoo-bringout-oca-edi-base_facturx>=16.0.0", + "odoo-bringout-oca-edi-base_vat>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["account_invoice_facturx"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/README.md b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/README.md new file mode 100644 index 0000000..466ae28 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/README.md @@ -0,0 +1,45 @@ +# Py3o Factur-x Invoice + +Odoo addon: account_invoice_facturx_py3o + +## Installation + +```bash +pip install odoo-bringout-oca-edi-account_invoice_facturx_py3o +``` + +## Dependencies + +This addon depends on: +- account_invoice_facturx +- report_py3o + +## Manifest Information + +- **Name**: Py3o Factur-x Invoice +- **Version**: 16.0.1.0.0 +- **Category**: Invoicing Management +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `account_invoice_facturx_py3o`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/README.rst b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/README.rst new file mode 100644 index 0000000..0c35870 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/README.rst @@ -0,0 +1,84 @@ +===================== +Py3o Factur-x Invoice +===================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:cd45249d769b0daa35d24a349dcfa34417286fffe85b13c82ef2a835091a48e8 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/account_invoice_facturx_py3o + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_facturx_py3o + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +If you use the py3o reporting engine (module *report_py3o* from the `reporting-engine `_ OCA project) to generate your PDF invoices and you want these PDF invoices to be Factur-X invoices (i.e. a PDF invoice with an embedded XML file in CII format), this module is for you ! Factur-X is the e-invoicing standard for France and Germany (in Germany, it is also called ZUGFeRD 2.1). + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/__init__.py b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/__manifest__.py b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/__manifest__.py new file mode 100644 index 0000000..f39fce0 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2017-2022 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Py3o Factur-x Invoice", + "version": "16.0.1.0.0", + "category": "Invoicing Management", + "license": "AGPL-3", + "summary": "Generate Factur-X invoices with Py3o reporting engine", + "author": "Akretion,Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/edi", + "depends": ["account_invoice_facturx", "report_py3o"], + "installable": True, + "auto_install": True, +} diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/account_invoice_factur-x_py3o.pot b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/account_invoice_factur-x_py3o.pot new file mode 100644 index 0000000..3248329 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/account_invoice_factur-x_py3o.pot @@ -0,0 +1,20 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x_py3o +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_factur-x_py3o +#: model:ir.model,name:account_invoice_factur-x_py3o.model_py3o_report +msgid "Report Py30" +msgstr "" + diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/account_invoice_facturx_py3o.pot b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/account_invoice_facturx_py3o.pot new file mode 100644 index 0000000..4b146ae --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/account_invoice_facturx_py3o.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_facturx_py3o +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_facturx_py3o +#: model:ir.model,name:account_invoice_facturx_py3o.model_py3o_report +msgid "Report Py30" +msgstr "" diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/de.po b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/de.po new file mode 100644 index 0000000..660f501 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/de.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x_py3o +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-05-24 15:19+0000\n" +"Last-Translator: Frederik Kramer \n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.6.1\n" + +#. module: account_invoice_facturx_py3o +#: model:ir.model,name:account_invoice_facturx_py3o.model_py3o_report +msgid "Report Py30" +msgstr "Bericht Py30" diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/es.po b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/es.po new file mode 100644 index 0000000..af0171e --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/es.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x_py3o +# +# Translators: +# enjolras , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-12 01:43+0000\n" +"PO-Revision-Date: 2018-03-12 01:43+0000\n" +"Last-Translator: enjolras , 2018\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_facturx_py3o +#: model:ir.model,name:account_invoice_facturx_py3o.model_py3o_report +msgid "Report Py30" +msgstr "Informe Py30" diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/it.po b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/it.po new file mode 100644 index 0000000..0963186 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/it.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_facturx_py3o +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_invoice_facturx_py3o +#: model:ir.model,name:account_invoice_facturx_py3o.model_py3o_report +msgid "Report Py30" +msgstr "Resoconto Py3o" diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/models/__init__.py b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/models/__init__.py new file mode 100644 index 0000000..f5828d0 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/models/__init__.py @@ -0,0 +1 @@ +from . import py3o_report diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/models/py3o_report.py b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/models/py3o_report.py new file mode 100644 index 0000000..c7f3a05 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/models/py3o_report.py @@ -0,0 +1,26 @@ +# Copyright 2017-2022 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import models + + +class Py3oReport(models.TransientModel): + _inherit = "py3o.report" + + def _postprocess_report(self, model_instance, result_path): + amo = self.env["account.move"] + invoice_reports = amo._get_invoice_report_names() + if ( + self.ir_actions_report_id.report_name in invoice_reports + and model_instance + and len(model_instance) == 1 + and self.ir_actions_report_id.report_type == "py3o" + and self.ir_actions_report_id.py3o_filetype == "pdf" + and result_path + ): + move = model_instance + # re-write PDF on result_path + if move._xml_format_in_pdf_invoice() == "factur-x": + move.regular_pdf_invoice_to_facturx_invoice(result_path) + return super()._postprocess_report(model_instance, result_path) diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..ff65d68 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Alexis de Lattre diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/readme/DESCRIPTION.rst new file mode 100644 index 0000000..9dd8d1f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +If you use the py3o reporting engine (module *report_py3o* from the `reporting-engine `_ OCA project) to generate your PDF invoices and you want these PDF invoices to be Factur-X invoices (i.e. a PDF invoice with an embedded XML file in CII format), this module is for you ! Factur-X is the e-invoicing standard for France and Germany (in Germany, it is also called ZUGFeRD 2.1). diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/static/description/icon.png b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/static/description/index.html b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/static/description/index.html new file mode 100644 index 0000000..2cae084 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/account_invoice_facturx_py3o/static/description/index.html @@ -0,0 +1,423 @@ + + + + + + +Py3o Factur-x Invoice + + + +
+

Py3o Factur-x Invoice

+ + +

Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

+

If you use the py3o reporting engine (module report_py3o from the reporting-engine OCA project) to generate your PDF invoices and you want these PDF invoices to be Factur-X invoices (i.e. a PDF invoice with an embedded XML file in CII format), this module is for you ! Factur-X is the e-invoicing standard for France and Germany (in Germany, it is also called ZUGFeRD 2.1).

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

alexis-via

+

This module is part of the OCA/edi project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/ARCHITECTURE.md new file mode 100644 index 0000000..14d6115 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Account_invoice_facturx_py3o Module - account_invoice_facturx_py3o + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/CONFIGURATION.md new file mode 100644 index 0000000..1a51d6b --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for account_invoice_facturx_py3o. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/DEPENDENCIES.md new file mode 100644 index 0000000..88f4c2d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/DEPENDENCIES.md @@ -0,0 +1,6 @@ +# Dependencies + +This addon depends on: + +- [account_invoice_facturx](../../odoo-bringout-oca-edi-account_invoice_facturx) +- [report_py3o](../../odoo-bringout-oca-reporting-engine-report_py3o) diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/FAQ.md b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/FAQ.md new file mode 100644 index 0000000..923b660 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon account_invoice_facturx_py3o or install in UI. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/INSTALL.md b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/INSTALL.md new file mode 100644 index 0000000..1a8e8e0 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-account_invoice_facturx_py3o" +# or +uv pip install odoo-bringout-oca-edi-account_invoice_facturx_py3o" +``` diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/MODELS.md b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/MODELS.md new file mode 100644 index 0000000..93f0574 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in account_invoice_facturx_py3o. + +```mermaid +classDiagram + class py3o_report +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/OVERVIEW.md b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/OVERVIEW.md new file mode 100644 index 0000000..590e965 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: account_invoice_facturx_py3o. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon account_invoice_facturx_py3o +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/REPORTS.md b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/SECURITY.md b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/USAGE.md b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/USAGE.md new file mode 100644 index 0000000..d4bdf10 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_invoice_facturx_py3o +``` diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/WIZARDS.md b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-account_invoice_facturx_py3o/pyproject.toml b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/pyproject.toml new file mode 100644 index 0000000..1eb86b0 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_facturx_py3o/pyproject.toml @@ -0,0 +1,43 @@ +[project] +name = "odoo-bringout-oca-edi-account_invoice_facturx_py3o" +version = "16.0.0" +description = "Py3o Factur-x Invoice - Generate Factur-X invoices with Py3o reporting engine" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-account_invoice_facturx>=16.0.0", + "odoo-bringout-oca-edi-report_py3o>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["account_invoice_facturx_py3o"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/README.md b/odoo-bringout-oca-edi-account_invoice_ubl/README.md new file mode 100644 index 0000000..c3e603c --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/README.md @@ -0,0 +1,48 @@ +# Account Invoice UBL + +Odoo addon: account_invoice_ubl + +## Installation + +```bash +pip install odoo-bringout-oca-edi-account_invoice_ubl +``` + +## Dependencies + +This addon depends on: +- account_einvoice_generate +- account_payment_partner +- base_ubl_payment +- account_tax_unece +- pdf_helper + +## Manifest Information + +- **Name**: Account Invoice UBL +- **Version**: 16.0.1.0.0 +- **Category**: Accounting & Finance +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `account_invoice_ubl`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/README.rst b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/README.rst new file mode 100644 index 0000000..d590ba6 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/README.rst @@ -0,0 +1,116 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +=================== +Account Invoice UBL +=================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:9f1b0e852851f3ea85dba1780820cf44cc6e13acda198d7323763c4c115fbcc4 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/account_invoice_ubl + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_ubl + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds support for UBL, the `Universal Business Language (UBL) +`_ standard, on invoices. The UBL 2.1 standard became the +`ISO/IEC 19845 `_ +standard in December 2015 (cf the `official announce +`_). + +With this module, you can generate customer invoices/refunds: + +* in PDF format with an embedded UBL XML file +* as an XML file with an optional embedded PDF file + +This module supports UBL version 2.1 (used by default) and 2.0. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +In the menu *Invoicing > Configuration > Settings > Invoicing*, under +*Electronic Invoices*, check the value of 2 options: + +* *XML Format embedded in PDF invoice* : if you want to have an UBL XML file + embedded inside the PDF invoice, set it to + *Universal Business Language (UBL)* +* if you work directly with XML invoices and you want to have the PDF invoice + in base64 inside the XML file, enable the *Embed PDF in UBL XML Invoice*. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion +* Onestein +* BCIM + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre +* Andrea Stirpe +* Foram Shah +* Jacques-Etienne Baudoux (BCIM) + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-jbaudoux| image:: https://github.com/jbaudoux.png?size=40px + :target: https://github.com/jbaudoux + :alt: jbaudoux + +Current `maintainer `__: + +|maintainer-jbaudoux| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/__init__.py b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/__init__.py new file mode 100644 index 0000000..67f8a17 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/__init__.py @@ -0,0 +1,5 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import models +from .hooks import set_xml_format_in_pdf_invoice_to_ubl +from .hooks import remove_ubl_xml_format_in_pdf_invoice diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/__manifest__.py b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/__manifest__.py new file mode 100644 index 0000000..a502f2c --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/__manifest__.py @@ -0,0 +1,25 @@ +# Copyright 2016-2018 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Account Invoice UBL", + "version": "16.0.1.0.0", + "category": "Accounting & Finance", + "license": "AGPL-3", + "summary": "Generate UBL XML file for customer invoices/refunds", + "author": "Akretion,Onestein,BCIM,Odoo Community Association (OCA)", + "maintainers": ["jbaudoux"], + "website": "https://github.com/OCA/edi", + "depends": [ + "account_einvoice_generate", + "account_payment_partner", + "base_ubl_payment", + "account_tax_unece", + "pdf_helper", + ], + "data": ["views/account_move.xml", "views/res_config_settings.xml"], + "post_init_hook": "set_xml_format_in_pdf_invoice_to_ubl", + "uninstall_hook": "remove_ubl_xml_format_in_pdf_invoice", + "installable": True, +} diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/hooks.py b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/hooks.py new file mode 100644 index 0000000..514bfc2 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/hooks.py @@ -0,0 +1,18 @@ +# Copyright 2018 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# Copyright 2019 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import SUPERUSER_ID, api + + +def set_xml_format_in_pdf_invoice_to_ubl(cr, registry): + env = api.Environment(cr, SUPERUSER_ID, {}) + companies = env["res.company"].search([]) + companies.write({"xml_format_in_pdf_invoice": "ubl"}) + + +def remove_ubl_xml_format_in_pdf_invoice(cr, registry): + env = api.Environment(cr, SUPERUSER_ID, {}) + companies = env["res.company"].search([("xml_format_in_pdf_invoice", "=", "ubl")]) + companies.write({"xml_format_in_pdf_invoice": "none"}) diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/account_invoice_ubl.pot b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/account_invoice_ubl.pot new file mode 100644 index 0000000..dae40c5 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/account_invoice_ubl.pot @@ -0,0 +1,70 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_company +msgid "Companies" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "Embed PDF in UBL XML Invoice" +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_move_form +msgid "Generate UBL XML File" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,help:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,help:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "" +"If active, the standalone UBL Invoice XML file will include the PDF of the " +"invoice in base64 under the node 'AdditionalDocumentReference'. For example," +" to be compliant with the e-fff standard used in Belgium, you should " +"activate this option." +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_account_config_settings +msgid "Include the PDF of the invoice in the standalone UBL Invoice XML file." +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_ir_actions_report +msgid "Report Action" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields.selection,name:account_invoice_ubl.selection__res_company__xml_format_in_pdf_invoice__ubl +msgid "Universal Business Language (UBL)" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "" diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/bs.po b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/bs.po new file mode 100644 index 0000000..f7cf7af --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/bs.po @@ -0,0 +1,70 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_company +msgid "Companies" +msgstr "Tvrtke" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_config_settings +msgid "Config Settings" +msgstr "Postavke" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "Embed PDF in UBL XML Invoice" +msgstr "Pridruži PDF u UBL XML datuteku" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_move_form +msgid "Generate UBL XML File" +msgstr "Generiraj UBL XML datoteku" + +#. module: account_invoice_ubl +#: model:ir.model.fields,help:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,help:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "" +"If active, the standalone UBL Invoice XML file will include the PDF of the " +"invoice in base64 under the node 'AdditionalDocumentReference'. For example," +" to be compliant with the e-fff standard used in Belgium, you should " +"activate this option." +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_account_config_settings +msgid "Include the PDF of the invoice in the standalone UBL Invoice XML file." +msgstr "Uključi PDF računa u samostalnu UBL XML datoteku." + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_account_move +msgid "Journal Entry" +msgstr "Žurnal" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_ir_actions_report +msgid "Report Action" +msgstr "Akcija izvještaja" + +#. module: account_invoice_ubl +#: model:ir.model.fields.selection,name:account_invoice_ubl.selection__res_company__xml_format_in_pdf_invoice__ubl +msgid "Universal Business Language (UBL)" +msgstr "Universal Business Language (UBL)" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "XML format ugnježđen u PDF datoteku" diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/es.po b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/es.po new file mode 100644 index 0000000..76d6650 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/es.po @@ -0,0 +1,108 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_ubl +# +# Translators: +# enjolras , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-12 01:43+0000\n" +"PO-Revision-Date: 2023-11-25 11:34+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_config_settings +msgid "Config Settings" +msgstr "Ajustes de Configuración" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "Embed PDF in UBL XML Invoice" +msgstr "Incrustar PDF en Factura XML UBL" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_move_form +msgid "Generate UBL XML File" +msgstr "Incrustar PDF en Factura XML UBL" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__id +msgid "ID" +msgstr "ID" + +#. module: account_invoice_ubl +#: model:ir.model.fields,help:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,help:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "" +"If active, the standalone UBL Invoice XML file will include the PDF of the " +"invoice in base64 under the node 'AdditionalDocumentReference'. For example, " +"to be compliant with the e-fff standard used in Belgium, you should activate " +"this option." +msgstr "" +"Si está activada, el archivo XML de factura UBL independiente incluirá el " +"PDF de la factura en base64 en el nodo 'AdditionalDocumentReference'. Por " +"ejemplo, para cumplir con la norma e-fff utilizada en Bélgica, debe activar " +"esta opción." + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_account_config_settings +msgid "Include the PDF of the invoice in the standalone UBL Invoice XML file." +msgstr "" +"Incluir el PDF de la factura en el archivo XML de factura UBL independiente." + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_account_move +msgid "Journal Entry" +msgstr "Entrada Diaria" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings____last_update +msgid "Last Modified on" +msgstr "Última Modificación el" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_ir_actions_report +msgid "Report Action" +msgstr "Informar Acción" + +#. module: account_invoice_ubl +#: model:ir.model.fields.selection,name:account_invoice_ubl.selection__res_company__xml_format_in_pdf_invoice__ubl +msgid "Universal Business Language (UBL)" +msgstr "Lenguaje Comercial Universal (LCU)" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "Formato XML integrado en factura PDF" + +#~ msgid "Invoice" +#~ msgstr "Factura" diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/fr.po b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/fr.po new file mode 100644 index 0000000..5fc2b6f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/fr.po @@ -0,0 +1,100 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_ubl +# +# Translators: +# Quentin THEURET , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-29 11:53+0000\n" +"PO-Revision-Date: 2018-01-29 11:53+0000\n" +"Last-Translator: Quentin THEURET , 2018\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_company +msgid "Companies" +msgstr "Sociétés" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_config_settings +#, fuzzy +msgid "Config Settings" +msgstr "account.config.settings" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__display_name +msgid "Display Name" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "Embed PDF in UBL XML Invoice" +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_move_form +msgid "Generate UBL XML File" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__id +msgid "ID" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,help:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,help:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "" +"If active, the standalone UBL Invoice XML file will include the PDF of the " +"invoice in base64 under the node 'AdditionalDocumentReference'. For example, " +"to be compliant with the e-fff standard used in Belgium, you should activate " +"this option." +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_account_config_settings +msgid "Include the PDF of the invoice in the standalone UBL Invoice XML file." +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings____last_update +msgid "Last Modified on" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_ir_actions_report +msgid "Report Action" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields.selection,name:account_invoice_ubl.selection__res_company__xml_format_in_pdf_invoice__ubl +msgid "Universal Business Language (UBL)" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "" diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/hr.po b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/hr.po new file mode 100644 index 0000000..9fab9a0 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/hr.po @@ -0,0 +1,104 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-11-14 16:34+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 3.8\n" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_company +msgid "Companies" +msgstr "Tvrtke" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_config_settings +msgid "Config Settings" +msgstr "Postavke" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__display_name +msgid "Display Name" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "Embed PDF in UBL XML Invoice" +msgstr "Pridruži PDF u UBL XML datuteku" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_move_form +msgid "Generate UBL XML File" +msgstr "Generiraj UBL XML datoteku" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__id +msgid "ID" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,help:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,help:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "" +"If active, the standalone UBL Invoice XML file will include the PDF of the " +"invoice in base64 under the node 'AdditionalDocumentReference'. For example, " +"to be compliant with the e-fff standard used in Belgium, you should activate " +"this option." +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_account_config_settings +msgid "Include the PDF of the invoice in the standalone UBL Invoice XML file." +msgstr "Uključi PDF računa u samostalnu UBL XML datoteku." + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings____last_update +msgid "Last Modified on" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_ir_actions_report +msgid "Report Action" +msgstr "Akcija izvještaja" + +#. module: account_invoice_ubl +#: model:ir.model.fields.selection,name:account_invoice_ubl.selection__res_company__xml_format_in_pdf_invoice__ubl +msgid "Universal Business Language (UBL)" +msgstr "Universal Business Language (UBL)" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "XML format ugnježđen u PDF datoteku" + +#~ msgid "Invoice" +#~ msgstr "Račun" + +#~ msgid "None" +#~ msgstr "Ništa" diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/it.po b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/it.po new file mode 100644 index 0000000..81b7d00 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/it.po @@ -0,0 +1,71 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_company +msgid "Companies" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "Embed PDF in UBL XML Invoice" +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_move_form +msgid "Generate UBL XML File" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,help:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,help:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "" +"If active, the standalone UBL Invoice XML file will include the PDF of the " +"invoice in base64 under the node 'AdditionalDocumentReference'. For example," +" to be compliant with the e-fff standard used in Belgium, you should " +"activate this option." +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_account_config_settings +msgid "Include the PDF of the invoice in the standalone UBL Invoice XML file." +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_ir_actions_report +msgid "Report Action" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields.selection,name:account_invoice_ubl.selection__res_company__xml_format_in_pdf_invoice__ubl +msgid "Universal Business Language (UBL)" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "" diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/nl.po b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/nl.po new file mode 100644 index 0000000..f48d05e --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/i18n/nl.po @@ -0,0 +1,97 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-12-14 00:28+0000\n" +"Last-Translator: Bosd \n" +"Language-Team: none\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_company +msgid "Companies" +msgstr "Bedrijven" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_config_settings +msgid "Config Settings" +msgstr "Configuratie instellingen" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__display_name +msgid "Display Name" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "Embed PDF in UBL XML Invoice" +msgstr "Geintegreerde PDF in UBL XML Factuur" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_move_form +msgid "Generate UBL XML File" +msgstr "Genereer UBL XML bestand" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__id +msgid "ID" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,help:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,help:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "" +"If active, the standalone UBL Invoice XML file will include the PDF of the " +"invoice in base64 under the node 'AdditionalDocumentReference'. For example, " +"to be compliant with the e-fff standard used in Belgium, you should activate " +"this option." +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_account_config_settings +msgid "Include the PDF of the invoice in the standalone UBL Invoice XML file." +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings____last_update +msgid "Last Modified on" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_ir_actions_report +msgid "Report Action" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields.selection,name:account_invoice_ubl.selection__res_company__xml_format_in_pdf_invoice__ubl +msgid "Universal Business Language (UBL)" +msgstr "Universal Business Language (UBL)" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "XML Formaat gebruikt in de PDF factuur" diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/__init__.py b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/__init__.py new file mode 100644 index 0000000..2b752aa --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/__init__.py @@ -0,0 +1,6 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import res_company +from . import res_config_settings +from . import account_move +from . import ir_actions_report diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/account_move.py b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/account_move.py new file mode 100644 index 0000000..44ba88e --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/account_move.py @@ -0,0 +1,574 @@ +# Copyright 2016-2017 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# Copyright 2019 Onestein () +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +import base64 +import io +import logging + +from lxml import etree + +from odoo import fields, models +from odoo.tools import float_is_zero, float_round + +logger = logging.getLogger(__name__) + + +class AccountMove(models.Model): + _name = "account.move" + _inherit = ["account.move", "base.ubl"] + + def _ubl_add_header(self, parent_node, ns, version="2.1"): + self.ensure_one() + ubl_version = etree.SubElement(parent_node, ns["cbc"] + "UBLVersionID") + ubl_version.text = version + doc_id = etree.SubElement(parent_node, ns["cbc"] + "ID") + doc_id.text = self.name + issue_date = etree.SubElement(parent_node, ns["cbc"] + "IssueDate") + issue_date.text = self.invoice_date.strftime("%Y-%m-%d") + if ( + self.invoice_date_due + and version >= "2.1" + and self.move_type == "out_invoice" + ): + due_date = etree.SubElement(parent_node, ns["cbc"] + "DueDate") + due_date.text = fields.Date.to_string(self.invoice_date_due) + if self.move_type == "out_invoice": + type_code = etree.SubElement(parent_node, ns["cbc"] + "InvoiceTypeCode") + elif self.move_type == "out_refund": + type_code = etree.SubElement(parent_node, ns["cbc"] + "CreditNoteTypeCode") + type_code.text = self._ubl_get_invoice_type_code() + if self.narration: + note = etree.SubElement(parent_node, ns["cbc"] + "Note") + note.text = self.narration + doc_currency = etree.SubElement(parent_node, ns["cbc"] + "DocumentCurrencyCode") + doc_currency.text = self.currency_id.name + # TODO: enable when below commit of 15.0 is back ported to 14.0 + # [IMP] account_edi(_*): Standalone UBL format + edi.format inheritance + # https://github.com/odoo/odoo/commit/b58810a77bb4c432a6aef18413659b1ea7b25c71 + # or when migrating to 15.0 + # buyer_reference = etree.SubElement(parent_node, ns["cbc"] + "BuyerReference") + # buyer_reference.text = self.ref or "" + + def _ubl_get_invoice_type_code(self): + if self.move_type == "out_invoice": + return "380" + elif self.move_type == "out_refund": + return "381" + + def _ubl_get_order_reference(self): + """An identifier of a referenced purchase order, issued by the Buyer""" + return self.ref or "/" + + def _ubl_get_salesorder_reference(self): + """An identifier of a referenced sales order, issued by the Seller""" + return self.invoice_origin + + def _ubl_add_order_reference(self, parent_node, ns, version="2.1"): + self.ensure_one() + buyer_ref = self._ubl_get_order_reference() + seller_ref = self._ubl_get_salesorder_reference() + if buyer_ref or seller_ref: + node = etree.SubElement(parent_node, ns["cac"] + "OrderReference") + if buyer_ref: + node_id = etree.SubElement(node, ns["cbc"] + "ID") + node_id.text = buyer_ref + if seller_ref: + node_salesorderid = etree.SubElement(node, ns["cbc"] + "SalesOrderID") + node_salesorderid.text = seller_ref + + def _ubl_get_buyer_reference(self): + return self.partner_id.name + + def _ubl_add_buyer_reference(self, parent_node, ns, version="2.1"): + self.ensure_one() + buyer_ref = self._ubl_get_buyer_reference() + if buyer_ref: + buyer_order_ref = etree.SubElement( + parent_node, ns["cbc"] + "BuyerReference" + ) + buyer_order_ref.text = buyer_ref + + def _ubl_get_contract_document_reference_dict(self): + """Result: dict with key = Doc Type Code, value = ID""" + self.ensure_one() + return {} + + def _ubl_add_contract_document_reference(self, parent_node, ns, version="2.1"): + self.ensure_one() + cdr_dict = self._ubl_get_contract_document_reference_dict() + for doc_type_code, doc_id in cdr_dict.items(): + cdr = etree.SubElement(parent_node, ns["cac"] + "ContractDocumentReference") + cdr_id = etree.SubElement(cdr, ns["cbc"] + "ID") + cdr_id.text = doc_id + cdr_type_code = etree.SubElement(cdr, ns["cbc"] + "DocumentTypeCode") + cdr_type_code.text = doc_type_code + + def _ubl_add_attachments(self, parent_node, ns, version="2.1"): + self.ensure_one() + if self.company_id.embed_pdf_in_ubl_xml_invoice and not self.env.context.get( + "no_embedded_pdf" + ): + filename = "Invoice-" + self.name + ".pdf" + docu_reference = etree.SubElement( + parent_node, ns["cac"] + "AdditionalDocumentReference" + ) + docu_reference_id = etree.SubElement(docu_reference, ns["cbc"] + "ID") + docu_reference_id.text = filename + attach_node = etree.SubElement(docu_reference, ns["cac"] + "Attachment") + binary_node = etree.SubElement( + attach_node, + ns["cbc"] + "EmbeddedDocumentBinaryObject", + mimeCode="application/pdf", + filename=filename, + ) + ctx = dict() + ctx["no_embedded_ubl_xml"] = True + ctx["force_report_rendering"] = True + pdf_inv = ( + self.env["ir.actions.report"] + .with_context(**ctx) + ._render_qweb_pdf("account.account_invoices", [self.id])[0] + ) + binary_node.text = base64.b64encode(pdf_inv) + + def _ubl_get_invoice_vat_exclusive_amount(self): + amount = self.amount_untaxed + # Add also non-VAT taxes that are not subjected to VAT + for tline in self.line_ids: + if not tline.tax_line_id: + continue + if tline.tax_line_id.unece_type_id.code != "VAT": + sign = 1 if tline.is_refund else -1 + amount += sign * tline.balance + return amount + + def _ubl_get_invoice_vat_amount(self): + amount = self.amount_tax + # Remove non-VAT taxes that are not subjected to VAT + for tline in self.line_ids: + if not tline.tax_line_id: + continue + if tline.tax_line_id.unece_type_id.code != "VAT": + sign = 1 if tline.is_refund else -1 + amount -= sign * tline.balance + return amount + + def _ubl_get_charge_total_amount(self): + amount = 0.0 + for tline in self.line_ids: + if not tline.tax_line_id: + continue + if tline.tax_line_id.unece_type_id.code != "VAT": + if not tline.tax_line_id.include_base_amount: + # For non-VAT taxes, not subject to VAT, they are declared + # as AllowanceCharge + sign = 1 if tline.is_refund else -1 + amount += sign * tline.balance + return amount + + def _ubl_add_legal_monetary_total(self, parent_node, ns, version="2.1"): + self.ensure_one() + monetary_total = etree.SubElement(parent_node, ns["cac"] + "LegalMonetaryTotal") + cur_name = self.currency_id.name + prec = self.currency_id.decimal_places + line_total = etree.SubElement( + monetary_total, ns["cbc"] + "LineExtensionAmount", currencyID=cur_name + ) + line_total.text = "%0.*f" % (prec, self.amount_untaxed) + tax_excl_total = etree.SubElement( + monetary_total, ns["cbc"] + "TaxExclusiveAmount", currencyID=cur_name + ) + tax_excl_total.text = "%0.*f" % ( + prec, + self._ubl_get_invoice_vat_exclusive_amount(), + ) + tax_incl_total = etree.SubElement( + monetary_total, ns["cbc"] + "TaxInclusiveAmount", currencyID=cur_name + ) + tax_incl_total.text = "%0.*f" % (prec, self.amount_total) + charge_total_amount = self._ubl_get_charge_total_amount() + if charge_total_amount: + el_charge_total_amount = etree.SubElement( + monetary_total, ns["cbc"] + "ChargeTotalAmount", currencyID=cur_name + ) + el_charge_total_amount.text = "%0.*f" % (prec, charge_total_amount) + prepaid_amount = etree.SubElement( + monetary_total, ns["cbc"] + "PrepaidAmount", currencyID=cur_name + ) + prepaid_value = self.amount_total - self.amount_residual + prepaid_amount.text = "%0.*f" % (prec, prepaid_value) + payable_amount = etree.SubElement( + monetary_total, ns["cbc"] + "PayableAmount", currencyID=cur_name + ) + payable_amount.text = "%0.*f" % (prec, self.amount_residual) + + def _ubl_get_invoice_line_price_unit(self, iline): + """Compute the base unit price without taxes""" + price = iline.price_unit + qty = 1.0 + if iline.tax_ids: + tax_incl = any(t.price_include for t in iline.tax_ids) + if tax_incl: + # To prevent rounding issue, we must declare tax excluded price + # for the total quantity + qty = iline.quantity + taxes = iline.tax_ids.compute_all( + price, + self.currency_id, + qty, + product=iline.product_id, + partner=self.partner_id, + ) + if taxes: + price = taxes["total_excluded"] + dpo = self.env["decimal.precision"] + price_precision = dpo.precision_get("Product Price") + return price, price_precision, qty + + def _ubl_get_invoice_line_discount(self, iline, base_price, base_qty): + # Formula: Net amount = Invoiced quantity * (Item net price/item price + # base quantity) + Sum of invoice line charge amount - sum of invoice + # line allowance amount + discount = iline.quantity / base_qty * base_price - iline.price_subtotal + dpo = self.env["decimal.precision"] + price_precision = dpo.precision_get("Product Price") + discount = float_round(discount, precision_digits=price_precision) + return discount, price_precision + + def _ubl_add_invoice_line_discount( + self, xml_root, iline, base_price, base_qty, ns, version="2.1" + ): + discount, prec = self._ubl_get_invoice_line_discount( + iline, base_price, base_qty + ) + if float_is_zero(discount, precision_digits=prec): + return + charge_node = etree.SubElement(xml_root, ns["cac"] + "AllowanceCharge") + charge_indicator_node = etree.SubElement( + charge_node, ns["cbc"] + "ChargeIndicator" + ) + charge_indicator_node.text = "false" + charge_reason_code_node = etree.SubElement( + charge_node, ns["cbc"] + "AllowanceChargeReasonCode" + ) + charge_reason_code_node.text = "95" + charge_reason_node = etree.SubElement( + charge_node, ns["cbc"] + "AllowanceChargeReason" + ) + charge_reason_node.text = "Discount" + charge_amount_node = etree.SubElement( + charge_node, ns["cbc"] + "Amount", currencyID=self.currency_id.name + ) + charge_amount_node.text = "%0.*f" % (prec, discount) + + def _ubl_add_invoice_line(self, parent_node, iline, line_number, ns, version="2.1"): + self.ensure_one() + cur_name = self.currency_id.name + if self.move_type == "out_invoice": + line_root = etree.SubElement(parent_node, ns["cac"] + "InvoiceLine") + elif self.move_type == "out_refund": + line_root = etree.SubElement(parent_node, ns["cac"] + "CreditNoteLine") + dpo = self.env["decimal.precision"] + qty_precision = dpo.precision_get("Product Unit of Measure") + account_precision = self.currency_id.decimal_places + line_id = etree.SubElement(line_root, ns["cbc"] + "ID") + line_id.text = str(line_number) + uom_unece_code = False + # product_uom_id is not a required field on account.move.line + if self.move_type == "out_invoice": + qty_element_name = "InvoicedQuantity" + elif self.move_type == "out_refund": + qty_element_name = "CreditedQuantity" + if iline.product_uom_id.unece_code: + uom_unece_code = iline.product_uom_id.unece_code + quantity = etree.SubElement( + line_root, ns["cbc"] + qty_element_name, unitCode=uom_unece_code + ) + else: + quantity = etree.SubElement(line_root, ns["cbc"] + qty_element_name) + qty = iline.quantity + quantity.text = "%0.*f" % (qty_precision, qty) + base_price, price_precision, base_qty = self._ubl_get_invoice_line_price_unit( + iline + ) + line_amount = etree.SubElement( + line_root, ns["cbc"] + "LineExtensionAmount", currencyID=cur_name + ) + line_amount.text = "%0.*f" % (account_precision, iline.price_subtotal) + self._ubl_add_invoice_line_discount( + line_root, iline, base_price, base_qty, ns, version=version + ) + self._ubl_add_item( + iline.name, + iline.product_id, + line_root, + ns, + type_="sale", + version=version, + ) + price_node = etree.SubElement(line_root, ns["cac"] + "Price") + price_amount = etree.SubElement( + price_node, ns["cbc"] + "PriceAmount", currencyID=cur_name + ) + price_amount.text = "%0.*f" % (price_precision, base_price) + if uom_unece_code: + base_qty_node = etree.SubElement( + price_node, ns["cbc"] + "BaseQuantity", unitCode=uom_unece_code + ) + else: + base_qty_node = etree.SubElement(price_node, ns["cbc"] + "BaseQuantity") + base_qty_node.text = "%0.*f" % (qty_precision, base_qty) + + def _ubl_add_tax_total(self, xml_root, ns, version="2.1"): + self.ensure_one() + cur_name = self.currency_id.name + prec = self.currency_id.decimal_places + + tax_lines = {} + for tline in self.line_ids: + sign = 1 if tline.is_refund else -1 + if tline.tax_line_id: + # There are as many tax line as there are repartition lines + tax_lines.setdefault( + tline.tax_line_id, + {"base": 0.0, "amount": 0.0}, + ) + tax_lines[tline.tax_line_id]["base"] += tline.tax_base_amount + tax_lines[tline.tax_line_id]["amount"] += sign * tline.balance + elif tline.tax_ids: + # In case there are no repartition lines + for tax in tline.tax_ids: + if not tline.is_refund and tax.invoice_repartition_line_ids: + continue + if tline.is_refund and tax.refund_repartition_line_ids: + continue + tax_lines.setdefault( + tax, + {"base": 0.0, "amount": 0.0}, + ) + tax_lines[tax]["base"] += sign * tline.balance + + exempt = 0.0 + exempt_taxes = self.line_ids.tax_line_id.browse() + for tax, amounts in tax_lines.items(): + if tax.unece_type_id.code != "VAT": + if tax.include_base_amount: + continue + exempt += amounts["amount"] + exempt_taxes |= tax + # For non-VAT taxes, not subject to VAT, declare as AllowanceCharge + charge_node = etree.SubElement(xml_root, ns["cac"] + "AllowanceCharge") + charge_indicator_node = etree.SubElement( + charge_node, ns["cbc"] + "ChargeIndicator" + ) + charge_indicator_node.text = "true" + charge_reason_code_node = etree.SubElement( + charge_node, ns["cbc"] + "AllowanceChargeReasonCode" + ) + charge_reason_code_node.text = "ABK" + charge_reason_node = etree.SubElement( + charge_node, ns["cbc"] + "AllowanceChargeReason" + ) + charge_reason_node.text = "Miscellaneous" + charge_amount_node = etree.SubElement( + charge_node, ns["cbc"] + "Amount", currencyID=cur_name + ) + charge_amount_node.text = "%0.*f" % (prec, amounts["amount"]) + self._ubl_add_tax_category(tax, charge_node, ns, version=version) + + tax_total_node = etree.SubElement(xml_root, ns["cac"] + "TaxTotal") + tax_amount_node = etree.SubElement( + tax_total_node, ns["cbc"] + "TaxAmount", currencyID=cur_name + ) + tax_amount_node.text = "%0.*f" % (prec, self._ubl_get_invoice_vat_amount()) + for tax, amounts in tax_lines.items(): + if tax.unece_type_id.code == "VAT": + self._ubl_add_tax_subtotal( + amounts["base"], + amounts["amount"], + tax, + cur_name, + tax_total_node, + ns, + version=version, + ) + + if not float_is_zero(exempt, precision_digits=prec): + self._ubl_add_tax_subtotal( + exempt, + 0, + exempt_taxes[0], + cur_name, + tax_total_node, + ns, + version=version, + ) + if len(exempt_taxes) > 1: + # xpath cac:TaxCategory/cbc:Name + exempt_node = tax_total_node[-1] + exempt_node = [ + e for e in list(exempt_node) if e.tag == ns["cac"] + "TaxCategory" + ][0] + exempt_node = [ + e for e in list(exempt_node) if e.tag == ns["cbc"] + "Name" + ][0] + exempt_node.text = " + ".join([e.name for e in exempt_taxes]) + + def generate_invoice_ubl_xml_etree(self, version="2.1"): + self.ensure_one() + if self.move_type == "out_invoice": + nsmap, ns = self._ubl_get_nsmap_namespace("Invoice-2", version=version) + xml_root = etree.Element("Invoice", nsmap=nsmap) + elif self.move_type == "out_refund": + nsmap, ns = self._ubl_get_nsmap_namespace("CreditNote-2", version=version) + xml_root = etree.Element("CreditNote", nsmap=nsmap) + self._ubl_add_header(xml_root, ns, version=version) + if version == "2.1": + self._ubl_add_buyer_reference(xml_root, ns, version=version) + self._ubl_add_order_reference(xml_root, ns, version=version) + self._ubl_add_contract_document_reference(xml_root, ns, version=version) + self._ubl_add_attachments(xml_root, ns, version=version) + self._ubl_add_supplier_party( + False, + self.company_id, + "AccountingSupplierParty", + xml_root, + ns, + version=version, + ) + self._ubl_add_customer_party( + self.partner_id, + False, + "AccountingCustomerParty", + xml_root, + ns, + version=version, + ) + # the field 'partner_shipping_id' is defined in the 'sale' module + if hasattr(self, "partner_shipping_id") and self.partner_shipping_id: + self._ubl_add_delivery(self.partner_shipping_id, xml_root, ns) + if self.move_type == "out_invoice": + # Put paymentmeans block even when invoice is paid ? + payment_identifier = self.get_payment_identifier() + self._ubl_add_payment_means( + self.partner_bank_id, + self.payment_mode_id, + self.invoice_date_due, + xml_root, + ns, + payment_identifier=payment_identifier, + version=version, + ) + if self.invoice_payment_term_id: + self._ubl_add_payment_terms( + self.invoice_payment_term_id, xml_root, ns, version=version + ) + self._ubl_add_tax_total(xml_root, ns, version=version) + self._ubl_add_legal_monetary_total(xml_root, ns, version=version) + + line_number = 0 + invoice_lines = self.invoice_line_ids.filtered( + lambda line: line.display_type not in ("line_note", "line_section") + ) + for iline in invoice_lines: + line_number += 1 + self._ubl_add_invoice_line( + xml_root, iline, line_number, ns, version=version + ) + return xml_root + + def generate_ubl_xml_string(self, version="2.1"): + self.ensure_one() + assert self.state == "posted" + assert self.move_type in ("out_invoice", "out_refund") + logger.debug("Starting to generate UBL XML Invoice file") + lang = self.get_ubl_lang() + # The aim of injecting lang in context + # is to have the content of the XML in the partner's lang + # but the problem is that the error messages will also be in + # that lang. But the error messages should almost never + # happen except the first days of use, so it's probably + # not worth the additional code to handle the 2 langs + xml_root = self.with_context(lang=lang).generate_invoice_ubl_xml_etree( + version=version + ) + xml_string = etree.tostring( + xml_root, pretty_print=True, encoding="UTF-8", xml_declaration=True + ) + if self.move_type == "out_invoice": + self._ubl_check_xml_schema(xml_string, "Invoice", version=version) + elif self.move_type == "out_refund": + self._ubl_check_xml_schema(xml_string, "CreditNote", version=version) + logger.debug( + "Invoice UBL XML file generated for account invoice ID %d " "(state %s)", + self.id, + self.state, + ) + logger.debug(xml_string.decode("utf-8")) + return xml_string + + def get_ubl_filename(self, version="2.1"): + """This method is designed to be inherited""" + if self.move_type == "out_invoice": + return "UBL-Invoice-%s.xml" % version + elif self.move_type == "out_refund": + return "UBL-CreditNote-%s.xml" % version + + def get_ubl_version(self): + return self.env.context.get("ubl_version") or "2.1" + + def get_ubl_lang(self): + self.ensure_one() + return self.partner_id.lang or "en_US" + + def _embed_ubl_xml_in_pdf(self, pdf_stream): + self.ensure_one() + if self.is_ubl_sale_invoice_posted(): + version = self.get_ubl_version() + xml_filename = self.get_ubl_filename(version=version) + xml_string = self.generate_ubl_xml_string(version=version) + pdf_content = pdf_stream["stream"].getvalue() + new_content = self.env["pdf.helper"].pdf_embed_xml( + pdf_content, + xml_filename, + xml_string, + ) + # Replace the current content. + pdf_stream["stream"].close() + pdf_stream["stream"] = io.BytesIO(new_content) + + def attach_ubl_xml_file_button(self): + self.ensure_one() + assert self.move_type in ("out_invoice", "out_refund") + assert self.state == "posted" + version = self.get_ubl_version() + xml_string = self.generate_ubl_xml_string(version=version) + filename = self.get_ubl_filename(version=version) + attach = ( + self.env["ir.attachment"] + .with_context(**{}) + .create( + { + "name": filename, + "res_id": self.id, + "res_model": self._name, + "datas": base64.b64encode(xml_string), + # If default_type = 'out_invoice' in context, 'type' + # would take 'out_invoice' value by default ! + "type": "binary", + } + ) + ) + action = self.env["ir.attachment"].action_get() + action.update({"res_id": attach.id, "views": False, "view_mode": "form,tree"}) + return action + + def is_ubl_sale_invoice_posted(self): + self.ensure_one() + is_ubl = self.company_id.xml_format_in_pdf_invoice == "ubl" + if is_ubl and self.is_sale_document() and self.state == "posted": + return True + return False diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/ir_actions_report.py b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/ir_actions_report.py new file mode 100644 index 0000000..ab17be1 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/ir_actions_report.py @@ -0,0 +1,35 @@ +# Copyright 2016-2017 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# Copyright 2019 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import models + + +class IrActionsReport(models.Model): + _inherit = "ir.actions.report" + + def _render_qweb_pdf_prepare_streams(self, report_ref, data, res_ids=None): + # It works, but: + # - when you click on the "Print" button or use the "Print" menu, + # the XML file is regenerated even when the invoice is read from the attachment. + # - when you open the invoice from the attachment, you get the "original" XML + # file + collected_streams = super()._render_qweb_pdf_prepare_streams( + report_ref, data, res_ids=res_ids + ) + amo = self.env["account.move"] + invoice_reports = amo._get_invoice_report_names() + report_name = self._get_report(report_ref).report_name + if ( + collected_streams + and res_ids + and len(res_ids) == 1 + and report_name in invoice_reports + and not self.env.context.get("no_embedded_ubl_xml") + ): + move = amo.browse(res_ids) + if move._xml_format_in_pdf_invoice() == "ubl": + pdf_stream = collected_streams[move.id] + move._embed_ubl_xml_in_pdf(pdf_stream) + return collected_streams diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/res_company.py b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/res_company.py new file mode 100644 index 0000000..fa7345c --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/res_company.py @@ -0,0 +1,20 @@ +# Copyright 2016-2018 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ResCompany(models.Model): + _inherit = "res.company" + + xml_format_in_pdf_invoice = fields.Selection( + selection_add=[("ubl", "Universal Business Language (UBL)")], default="ubl" + ) + embed_pdf_in_ubl_xml_invoice = fields.Boolean( + string="Embed PDF in UBL XML Invoice", + help="If active, the standalone UBL Invoice XML file will include the " + "PDF of the invoice in base64 under the node " + "'AdditionalDocumentReference'. For example, to be compliant with the " + "e-fff standard used in Belgium, you should activate this option.", + ) diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/res_config_settings.py b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/res_config_settings.py new file mode 100644 index 0000000..08a71e0 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/models/res_config_settings.py @@ -0,0 +1,14 @@ +# Copyright 2017 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + _inherit = "res.config.settings" + + embed_pdf_in_ubl_xml_invoice = fields.Boolean( + related="company_id.embed_pdf_in_ubl_xml_invoice", + readonly=False, + ) diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/readme/CONFIGURE.rst b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/readme/CONFIGURE.rst new file mode 100644 index 0000000..5778a28 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/readme/CONFIGURE.rst @@ -0,0 +1,8 @@ +In the menu *Invoicing > Configuration > Settings > Invoicing*, under +*Electronic Invoices*, check the value of 2 options: + +* *XML Format embedded in PDF invoice* : if you want to have an UBL XML file + embedded inside the PDF invoice, set it to + *Universal Business Language (UBL)* +* if you work directly with XML invoices and you want to have the PDF invoice + in base64 inside the XML file, enable the *Embed PDF in UBL XML Invoice*. diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..a2532da --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Alexis de Lattre +* Andrea Stirpe +* Foram Shah +* Jacques-Etienne Baudoux (BCIM) diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/readme/DESCRIPTION.rst new file mode 100644 index 0000000..d69070e --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/readme/DESCRIPTION.rst @@ -0,0 +1,12 @@ +This module adds support for UBL, the `Universal Business Language (UBL) +`_ standard, on invoices. The UBL 2.1 standard became the +`ISO/IEC 19845 `_ +standard in December 2015 (cf the `official announce +`_). + +With this module, you can generate customer invoices/refunds: + +* in PDF format with an embedded UBL XML file +* as an XML file with an optional embedded PDF file + +This module supports UBL version 2.1 (used by default) and 2.0. diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/static/description/icon.png b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/static/description/index.html b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/static/description/index.html new file mode 100644 index 0000000..43a63c0 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/static/description/index.html @@ -0,0 +1,460 @@ + + + + + +README.rst + + + +
+ + + +Odoo Community Association + +
+

Account Invoice UBL

+ +

Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

+

This module adds support for UBL, the Universal Business Language (UBL) standard, on invoices. The UBL 2.1 standard became the +ISO/IEC 19845 +standard in December 2015 (cf the official announce).

+

With this module, you can generate customer invoices/refunds:

+
    +
  • in PDF format with an embedded UBL XML file
  • +
  • as an XML file with an optional embedded PDF file
  • +
+

This module supports UBL version 2.1 (used by default) and 2.0.

+

Table of contents

+ +
+

Configuration

+

In the menu Invoicing > Configuration > Settings > Invoicing, under +Electronic Invoices, check the value of 2 options:

+
    +
  • +
    XML Format embedded in PDF invoice : if you want to have an UBL XML file
    +
    embedded inside the PDF invoice, set it to +Universal Business Language (UBL)
    +
    +
  • +
  • if you work directly with XML invoices and you want to have the PDF invoice +in base64 inside the XML file, enable the Embed PDF in UBL XML Invoice.
  • +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
  • Onestein
  • +
  • BCIM
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

jbaudoux

+

This module is part of the OCA/edi project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+
+ + diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/tests/__init__.py b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/tests/__init__.py new file mode 100644 index 0000000..8951637 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_ubl_generate diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/tests/common.py b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/tests/common.py new file mode 100644 index 0000000..60a1f6f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/tests/common.py @@ -0,0 +1,70 @@ +# Copyright 2016-2017 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# Copyright 2019 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + + +class TestUblInvoiceMixin: + def _create_invoice( + self, product=False, qty=1, price=12.42, discount=0, validate=True + ): + aio = self.env["account.move"] + ato = self.env["account.tax"] + company = self.env.ref("base.main_company") + taxes = ato.search( + [ + ("company_id", "=", company.id), + ("type_tax_use", "=", "sale"), + ("unece_type_id", "!=", False), + ("unece_categ_id", "!=", False), + ("amount_type", "=", "percent"), + ] + ) + if taxes: + tax = taxes[0] + else: + unece_type_id = self.env.ref("account_tax_unece.tax_type_vat").id + unece_categ_id = self.env.ref("account_tax_unece.tax_categ_s").id + tax = ato.create( + { + "name": "German VAT purchase 18.0%", + "description": "DE-VAT-sale-18.0", + "company_id": company.id, + "type_tax_use": "sale", + "price_include": False, + "amount": 18, + "amount_type": "percent", + "unece_type_id": unece_type_id, + "unece_categ_id": unece_categ_id, + } + ) + # validate invoice + if not product: + product = self.env.ref("product.product_product_4") + invoice = aio.create( + { + "partner_id": self.env.ref("base.res_partner_2").id, + "currency_id": self.env.ref("base.EUR").id, + "move_type": "out_invoice", + "company_id": company.id, + "name": "SO1242", + "invoice_line_ids": [ + ( + 0, + 0, + { + "product_id": product.id, + "product_uom_id": product.uom_id.id, + "quantity": qty, + "price_unit": price, + "discount": discount, + "name": product.name, + "tax_ids": [(6, 0, [tax.id])], + }, + ) + ], + } + ) + if validate: + invoice.action_post() + return invoice diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/tests/test_ubl_generate.py b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/tests/test_ubl_generate.py new file mode 100644 index 0000000..b246664 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/tests/test_ubl_generate.py @@ -0,0 +1,75 @@ +# Copyright 2016-2017 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# Copyright 2019 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo.tests.common import HttpCase, tagged +from odoo.tools import mute_logger + +from ..hooks import ( + remove_ubl_xml_format_in_pdf_invoice, + set_xml_format_in_pdf_invoice_to_ubl, +) +from .common import TestUblInvoiceMixin + +MUTE_LOGGER = "odoo.addons.account_invoice_ubl.models.account_move" + +# Use http case to make PDF rendering work + + +@tagged("-at_install", "post_install") +class TestUblInvoice(HttpCase, TestUblInvoiceMixin): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + + # Reduce log noise on CI while rendering GET assets + @mute_logger("werkzeug") + def test_ubl_generate(self): + invoice = self._create_invoice() + if invoice.company_id.xml_format_in_pdf_invoice != "ubl": + invoice.company_id.xml_format_in_pdf_invoice = "ubl" + for version in ["2.0", "2.1"]: + pdf_file = ( + self.env["ir.actions.report"] + .with_context(ubl_version=version, force_report_rendering=True) + ._render_qweb_pdf("account.report_invoice_with_payments", invoice.ids)[ + 0 + ] + ) + res = self.env["pdf.helper"].pdf_get_xml_files(pdf_file) + invoice_filename = invoice.get_ubl_filename(version=version) + self.assertTrue(invoice_filename in res) + + @mute_logger("werkzeug") + def test_attach_ubl_xml_file_button(self): + invoice = self._create_invoice() + if invoice.company_id.xml_format_in_pdf_invoice != "ubl": + invoice.company_id.xml_format_in_pdf_invoice = "ubl" + self.assertFalse(invoice.company_id.embed_pdf_in_ubl_xml_invoice) + with mute_logger(MUTE_LOGGER): + action = invoice.attach_ubl_xml_file_button() + self.assertEqual(action["res_model"], "ir.attachment") + self.assertEqual(action["view_mode"], "form,tree") + self.assertFalse(action["views"]) + invoice.company_id.embed_pdf_in_ubl_xml_invoice = True + with mute_logger(MUTE_LOGGER): + action = invoice.attach_ubl_xml_file_button() + self.assertEqual(action["res_model"], "ir.attachment") + self.assertEqual(action["view_mode"], "form,tree") + self.assertFalse(action["views"]) + + def test_install_uninstall_hooks(self): + set_xml_format_in_pdf_invoice_to_ubl(self.env.cr, None) + self.assertTrue( + self.env["res.company"].search([("xml_format_in_pdf_invoice", "=", "ubl")]) + ) + remove_ubl_xml_format_in_pdf_invoice(self.env.cr, None) + self.assertFalse( + self.env["res.company"].search([("xml_format_in_pdf_invoice", "=", "ubl")]) + ) + set_xml_format_in_pdf_invoice_to_ubl(self.env.cr, None) + self.assertTrue( + self.env["res.company"].search([("xml_format_in_pdf_invoice", "=", "ubl")]) + ) diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/views/account_move.xml b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/views/account_move.xml new file mode 100644 index 0000000..ae9520e --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/views/account_move.xml @@ -0,0 +1,21 @@ + + + + + account.move + + + + + + diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/views/res_config_settings.xml b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/views/res_config_settings.xml new file mode 100644 index 0000000..70438a0 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/account_invoice_ubl/views/res_config_settings.xml @@ -0,0 +1,29 @@ + + + + + res.config.settings + + + +
+
+ +
+
+
+
+
+
+
+
diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-account_invoice_ubl/doc/ARCHITECTURE.md new file mode 100644 index 0000000..52cf897 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Account_invoice_ubl Module - account_invoice_ubl + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-account_invoice_ubl/doc/CONFIGURATION.md new file mode 100644 index 0000000..6248a2d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for account_invoice_ubl. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-account_invoice_ubl/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-account_invoice_ubl/doc/DEPENDENCIES.md new file mode 100644 index 0000000..a0d7f79 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/doc/DEPENDENCIES.md @@ -0,0 +1,9 @@ +# Dependencies + +This addon depends on: + +- [account_einvoice_generate](../../odoo-bringout-oca-edi-framework-account_einvoice_generate) +- account_payment_partner +- [base_ubl_payment](../../odoo-bringout-oca-edi-base_ubl_payment) +- account_tax_unece +- [pdf_helper](../../odoo-bringout-oca-edi-framework-pdf_helper) diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/doc/FAQ.md b/odoo-bringout-oca-edi-account_invoice_ubl/doc/FAQ.md new file mode 100644 index 0000000..29a8dcb --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon account_invoice_ubl or install in UI. diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/doc/INSTALL.md b/odoo-bringout-oca-edi-account_invoice_ubl/doc/INSTALL.md new file mode 100644 index 0000000..ec4ee78 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-account_invoice_ubl" +# or +uv pip install odoo-bringout-oca-edi-account_invoice_ubl" +``` diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/doc/MODELS.md b/odoo-bringout-oca-edi-account_invoice_ubl/doc/MODELS.md new file mode 100644 index 0000000..b0d948d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/doc/MODELS.md @@ -0,0 +1,15 @@ +# Models + +Detected core models and extensions in account_invoice_ubl. + +```mermaid +classDiagram + class account_move + class ir_actions_report + class res_company + class res_config_settings +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/doc/OVERVIEW.md b/odoo-bringout-oca-edi-account_invoice_ubl/doc/OVERVIEW.md new file mode 100644 index 0000000..2f6239c --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: account_invoice_ubl. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon account_invoice_ubl +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/doc/REPORTS.md b/odoo-bringout-oca-edi-account_invoice_ubl/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/doc/SECURITY.md b/odoo-bringout-oca-edi-account_invoice_ubl/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-account_invoice_ubl/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/doc/USAGE.md b/odoo-bringout-oca-edi-account_invoice_ubl/doc/USAGE.md new file mode 100644 index 0000000..e167294 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_invoice_ubl +``` diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/doc/WIZARDS.md b/odoo-bringout-oca-edi-account_invoice_ubl/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-account_invoice_ubl/pyproject.toml b/odoo-bringout-oca-edi-account_invoice_ubl/pyproject.toml new file mode 100644 index 0000000..23e4e36 --- /dev/null +++ b/odoo-bringout-oca-edi-account_invoice_ubl/pyproject.toml @@ -0,0 +1,46 @@ +[project] +name = "odoo-bringout-oca-edi-account_invoice_ubl" +version = "16.0.0" +description = "Account Invoice UBL - Generate UBL XML file for customer invoices/refunds" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-account_einvoice_generate>=16.0.0", + "odoo-bringout-oca-edi-account_payment_partner>=16.0.0", + "odoo-bringout-oca-edi-base_ubl_payment>=16.0.0", + "odoo-bringout-oca-edi-account_tax_unece>=16.0.0", + "odoo-bringout-oca-edi-pdf_helper>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["account_invoice_ubl"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-base_business_document_import/README.md b/odoo-bringout-oca-edi-base_business_document_import/README.md new file mode 100644 index 0000000..356ccf0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/README.md @@ -0,0 +1,46 @@ +# Base Business Document Import + +Odoo addon: base_business_document_import + +## Installation + +```bash +pip install odoo-bringout-oca-edi-base_business_document_import +``` + +## Dependencies + +This addon depends on: +- account_tax_unece +- uom_unece +- pdf_helper + +## Manifest Information + +- **Name**: Base Business Document Import +- **Version**: 16.0.1.1.0 +- **Category**: Tools +- **License**: AGPL-3 +- **Installable**: False + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `base_business_document_import`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/README.rst b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/README.rst new file mode 100644 index 0000000..4d516c6 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/README.rst @@ -0,0 +1,93 @@ +============================= +Base Business Document Import +============================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:4e4f7faf9bc268c730ec499517e45e2b4f10e78f7b99256b2c3ed313f53df047 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_business_document_import + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_business_document_import + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This is a technical module ; it doesn't bring any useful feature by itself. This module is the base modules for 2 other modules : + +* *account_invoice_import* which imports supplier invoices as PDF or XML files (this module also requires some additional modules such as *account_invoice_import_invoice2data*, *account_invoice_import_ubl*, etc... to support specific invoice formats), + +* *sale_invoice_import* which imports sale orders as CSV, XML or PDF files (this module also requires some additional modules such as *sale_invoice_import_csv* or *sale_invoice_import_ubl* to support specific order formats) + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion +* Nicolas JEUDY + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre +* Nicolas JEUDY +* Jacques-Etienne Baudoux +* Phuc (Tran Thanh) +* Simone Orsi + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/__init__.py b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/__manifest__.py b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/__manifest__.py new file mode 100644 index 0000000..b717ec8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright 2016-2021 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Base Business Document Import", + "version": "16.0.1.1.0", + "category": "Tools", + "license": "AGPL-3", + "summary": "Provides technical tools to import sale orders or supplier invoices", + "author": "Akretion, Nicolas JEUDY, Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/edi", + "depends": [ + # OCA/community-data-files + "account_tax_unece", + "uom_unece", + "pdf_helper", + ], +} diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/base_business_document_import.pot b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/base_business_document_import.pot new file mode 100644 index 0000000..7faebfe --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/base_business_document_import.pot @@ -0,0 +1,372 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "(fixed)" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

  • UNECE code: " +"%(code)s
  • Name of the unit of measure: %(name)s

So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been " +"updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information extracted from the business document:\n" +"Account code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information extracted from the business document:\n" +"Journal code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax Included in Price' = '%(price)s' which correspond to the following information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company '%(company)s' " +"(%(vat)s) in which you are trying to import this document." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the " +"symbol/ISO code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is " +"disabled." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier %(partner)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "" diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/bs.po b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/bs.po new file mode 100644 index 0000000..44b0323 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/bs.po @@ -0,0 +1,372 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "(fixed)" +msgstr "(fiksno)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "Bilješke u datoteci %s:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "Bilješke u uvezenom dokumentu:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

  • UNECE code: " +"%(code)s
  • Name of the unit of measure: %(name)s

So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Zajedničke metode za uvoz poslovnih dokumenata" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "Ne mogu pronaći nijedan Incoterm u Odoo-u koji odgovara '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been " +"updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "IBAN %s nije važeći, tako da je ignoriran." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "ID {id} od '{model}' ne postoji u Odoo-u." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "Nedostaje PDV broj na kompaniji '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "Valuta nije specificirana, tako da je Odoo koristio valutu kompanije (%s)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information extracted from the business document:\n" +"Account code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information extracted from the business document:\n" +"Journal code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax Included in Price' = '%(price)s' which correspond to the following information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company '%(company)s' " +"(%(vat)s) in which you are trying to import this document." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "XMLID '%s' ne postoji u Odoo-u." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the " +"symbol/ISO code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is " +"disabled." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier %(partner)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "kupac" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "partner" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "dobavljač" diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/cs_CZ.po b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/cs_CZ.po new file mode 100644 index 0000000..a7795f8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/cs_CZ.po @@ -0,0 +1,445 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +# Translators: +# Lukáš Spurný , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-22 03:40+0000\n" +"PO-Revision-Date: 2018-02-22 03:40+0000\n" +"Last-Translator: Lukáš Spurný , 2018\n" +"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/" +"teams/23907/cs_CZ/)\n" +"Language: cs_CZ\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "(fixed)" +msgstr "(Úprávy)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "Poznámky v souboru %s:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "Poznámky v importovaném dokumentu:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

  • UNECE code: " +"%(code)s
  • Name of the unit of measure: %(name)s

So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Společné metody importu obchodních dokumentů" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "IBAN %s není platný, takže byl ignorován." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "Není uvedena žádná měna, takže Odoo použil měnu společnosti (%s)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information " +"extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information " +"extracted from the business document:\n" +"Account code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following " +"information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information " +"extracted from the business document:\n" +"Journal code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information " +"extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following " +"information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax " +"Included in Price' = '%(price)s' which correspond to the following " +"information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company " +"'%(company)s' (%(vat)s) in which you are trying to import this document." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the symbol/" +"ISO code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" +"Analýza obchodního dokladu vrátila jako symbol měny symbol '%s'. Ale v Odoo " +"neexistuje žádný nebo několik měn s tímto symbolem." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is disabled." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier " +"%(partner)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"Existující řádek '%s' nemá žádný produkt, takže 1 řádky nebyly aktualizovány." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" +"Produkt '%s' se používá na několika existujících linkách, takže řádky nebyly " +"aktualizovány." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" +"Produkt '%s' se používá na několika importovaných řádcích, takže 1 řádky " +"nebyly aktualizovány." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "zákazník" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "partner" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "dodavatele" + +#, python-format +#~ msgid "" +#~ "

Odoo couldn't find any unit of measure corresponding to the following " +#~ "information extracted from the business document:

  • UNECE code: " +#~ "%s
  • Name of the unit of measure: %s

So the unit of " +#~ "measure 'Unit(s)' has been used. You may have to change it manually.

" +#~ msgstr "" +#~ "Společnost Odoo nemohla najít žádnou měrnou jednotku, která by odpovídala " +#~ "těmto informacím získaným z obchodního dokladu: Kód UNECE %s Náměrová " +#~ "jednotka: %s Je použita měrná jednotka 'Jednotky)' Musíte ji ručně změnit." + +#, python-format +#~ msgid "Approximate match: account %s has been matched with account %s" +#~ msgstr "Přibližná shoda: účet %s byl přiřazen účtu %s" + +#~ msgid "Display Name" +#~ msgstr "Zobrazovaný název" + +#, python-format +#~ msgid "" +#~ "For product '%s', the unit of measure is %s on the existing line, but it " +#~ "is %s on the imported line. We don't support this scenario for the " +#~ "moment, so the lines haven't been updated." +#~ msgstr "" +#~ "U produktu '%s' je měrnou jednotkou %s na existujícím řádku, ale na " +#~ "importované řádce je %s. Momentálně nepodporujeme tento scénář, takže 1 " +#~ "řádky nebyly aktualizovány." + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Poslední změna dne" + +#, fuzzy, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the currency " +#~ "symbol or ISO code. But there are none or several currencies with the " +#~ "symbol/ISO code in Odoo." +#~ msgstr "" +#~ "Analýza obchodního dokladu vrátila hodnotu \"%s\" jako symbol měny nebo " +#~ "kód ISO. Neexistuje však žádná měna se symbolem ani kódem ISO v Odoo." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the unit of " +#~ "measure UNECE code, but there is no unit of measure with that UNECE code " +#~ "in Odoo. Please check the configuration of the units of measures in Odoo." +#~ msgstr "" +#~ "Analýza obchodního dokladu vrátila \"%s\" jako měrnou jednotku UNECE, " +#~ "avšak s tímto kódem UNECE v Odoo neexistuje žádná měrná jednotka. " +#~ "Zkontrolujte prosím konfiguraci jednotek opatření v Odoo." diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/es.po b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/es.po new file mode 100644 index 0000000..121da66 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/es.po @@ -0,0 +1,498 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-11-03 20:37+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "(fixed)" +msgstr "(fijado)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "Notas en el archivo %s:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "Notas en el documento importado:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

  • UNECE code: " +"%(code)s
  • Name of the unit of measure: %(name)s

So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

" +msgstr "" +"

Odoo no pudo encontrar ninguna unidad de medida correspondiente a la " +"siguiente información extraída del documento comercial:

  • Código " +"UNECE: %(code)s
  • Nombre de la unidad de medida: %(name)s
  • Entonces se ha utilizado la unidad de medida 'Unidad(es)'. Puede " +"que tenga que cambiarlo manualmente.

    " + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" +"Coincidencia aproximada: la cuenta %(account)s ha coincidido con la cuenta " +"%(matched_account)s" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Métodos habituales para importar documentos comerciales" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "No se pudo encontrar ningún Incotérmino en Odoo que corresponda a '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been updated." +msgstr "" +"Para el producto '%(product)s', la unidad de medida es %(uom_product)s en la " +"línea existente, pero es %(uom_imported)s en la línea importada. No " +"admitimos este escenario por el momento, por lo que las líneas no se han " +"actualizado." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "El IBAN %s no es válido, por lo que se ha ignorado." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "La ID {id} de '{model}' no existe en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "Falta el número de IVA de la compañía \"%s\"" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "" +"No se especificó la moneda, por lo que Odoo utilizó la moneda de la compañía " +"(%s)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information " +"extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" +"Odoo no pudo encontrar ningún %(label)s correspondiente a la siguiente " +"información extraída del documento comercial:\n" +"Nombre: %(name)s\n" +"Número de IVA: %(vat)s\n" +"Referencia: %(ref)s\n" +"Correo electrónico: %(email)s\n" +"Sitio web: %(website)s\n" +"Código de estado: %(state)s\n" +"Código de país: %(country)s \n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information " +"extracted from the business document:\n" +"Account code: %s" +msgstr "" +"Odoo no pudo encontrar ninguna cuenta correspondiente a la siguiente " +"información extraída del documento comercial:\n" +"Código de cuenta: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following " +"information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" +"Odoo no pudo encontrar ninguna cuenta analítica correspondiente a la " +"siguiente información extraída del documento comercial:\n" +"Código de cuenta analítica: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information " +"extracted from the business document:\n" +"Journal code: %s" +msgstr "" +"Odoo no pudo encontrar ningún diario correspondiente a la siguiente " +"información extraída del documento comercial:\n" +"Código de diario: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information " +"extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" +"Odoo no pudo encontrar ningún producto correspondiente a la siguiente " +"información extraída del documento comercial:\n" +"Código de barras: %(barcode)s\n" +"Código de producto: %(product_code)s\n" +"Proveedor: %(supplier)s\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following " +"information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" +"Odoo no pudo encontrar ningún socio de envío correspondiente a la siguiente " +"información extraída del documento comercial:\n" +"Nombre: %(name)s\n" +"Número de IVA: %(vat)s\n" +"Referencia: %(ref)s\n" +"Correo electrónico: %(email)s\n" +"Sitio web: %(website)s\n" +"Calle: %(street)s\n" +"Calle2: %(street2)s\n" +"Ciudad: %(city)s\n" +"Código postal: %(zip)s\n" +"Código de estado: %(state)s\n" +"Código de país: %(country)s\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax " +"Included in Price' = '%(price)s' which correspond to the following " +"information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" +"Odoo no pudo encontrar ningún impuesto con 'Aplicación de impuestos' = " +"'%(tax)s' e 'Impuesto incluido en el precio' = '%(price)s' que corresponden " +"a la siguiente información extraída del documento comercial:\n" +"Código de tipo de impuesto CEPE: %(tax_type)s\n" +"Código de categoría fiscal de la CEPE: %(tax_cat)s\n" +"Código de fecha de vencimiento de la CEPE: %(tax_due_date)s\n" +"Monto del impuesto: %(amount)s %(amount_type)s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"Una de las líneas importadas no tiene ningún producto, por lo que las " +"líneas no se han actualizado." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" +"El %(label)s ha sido identificado por el nombre de dominio '%(domain)s' así " +"que por favor compruebe cuidadosamente que el %(label)s es correcto." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company " +"'%(company)s' (%(vat)s) in which you are trying to import this document." +msgstr "" +"El número de IVA del cliente escrito en el documento comercial " +"(%(parsed_vat)s) no coincide con el número de IVA de la empresa " +"'%(company)s' (%(vat)s) en la que intenta importar esto documento." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "El XMLID '%s' no existe en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" +"El análisis del documento comercial arrojó '%(code)s' como el código de país " +"para encontrar la moneda relacionada. Pero el país '%(name)s' no tiene " +"ninguna moneda relacionada configurada en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the symbol/" +"ISO code in Odoo." +msgstr "" +"El análisis del documento comercial arrojó '%(code)s' como símbolo de moneda " +"o código ISO. Pero no hay ninguna o varias monedas con el símbolo/código ISO " +"en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" +"El análisis del documento comercial arrojó '%(code)s' como la unidad de " +"medida del código UNECE, pero no hay ninguna unidad de medida con ese código " +"UNECE en Odoo. Por favor revise la configuración de las unidades de medidas " +"en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" +"El análisis del documento de negocio devolvió '%s' como código de país. Pero " +"no hay ningún país con ese código en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" +"El análisis del documento comercial arrojó '%s' como código de país para " +"encontrar la moneda relacionada. Pero no hay ningún país con ese código en " +"Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" +"El análisis del documento comercial devolvió '%s' como el código ISO de " +"divisa. Pero no hay divisa con ese código en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" +"El análisis del documento comercial arrojó '%s' como símbolo de divisa. Pero " +"no hay ninguna o varias divisas con ese símbolo en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is disabled." +msgstr "" +"El análisis del documento comercial deolvió IBAN %(iban)s como cuenta " +"bancaria, pero no existe tal cuenta bancaria en Odoo vinculada al socio %(partner)s y " +"la opción de crear automáticamente cuentas bancarias al importar está " +"deshabilitada." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier " +"%(partner)s" +msgstr "" +"La cuenta bancaria IBAN %(iban)s se ha añadido automáticamente al " +"proveedor " +"%(partner)s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"La línea existente '%s' no tiene ningún producto, por lo que las líneas " +"no se han actualizado." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" +"El producto '%s' se utiliza en varias líneas existentes, por lo que las " +"líneas no se han actualizado." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" +"El producto '%s' se utiliza en varias líneas importadas, por lo que las " +"líneas no se han actualizado." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" +"El registro '{record}' es una instancia de '{record_model}', no de " +"'{target_model}'." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "Cliente" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "socio" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "proveedor" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax " +#~ "Included in Price' = '%(price)s' which correspond to the following " +#~ "information extracted from the business document:\n" +#~ "UNECE Tax Type code: %(tax_type)s\n" +#~ "UNECE Tax Category code: %(tax_cat)s\n" +#~ "UNECE Due Date code: %s(tax_due_date)\n" +#~ "Tax amount: %(amount)s %(amount_type)s" +#~ msgstr "" +#~ "Odoo no pudo encontrar ningún impuesto con 'Aplicación de impuestos' = " +#~ "'%(tax)s' e 'Impuestos incluidos en el precio' = '%(price)s' que " +#~ "corresponden a la siguiente información extraída del documento " +#~ "comercial:\n" +#~ "Código de tipo de impuesto de la UNECE (CEPE): %(tax_type)s\n" +#~ "Código de categoría fiscal de la UNECE (CEPE): %(tax_cat)s\n" +#~ "Código de fecha de vencimiento de la UNECE (CEPE): %s(tax_due_date)\n" +#~ "Monto del impuesto: %(amount)s %(amount_type)s" diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/fr.po b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/fr.po new file mode 100644 index 0000000..b0e5f8d --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/fr.po @@ -0,0 +1,554 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-22 03:40+0000\n" +"PO-Revision-Date: 2022-08-07 07:06+0000\n" +"Last-Translator: Claude R Perrin \n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "(fixed)" +msgstr "(fixe)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "Notes dans le fichier %s:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "Notes dans le document importé :" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

    Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

    • UNECE code: " +"%(code)s
    • Name of the unit of measure: %(name)s

    So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

    " +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Méthodes courantes d'importation de documents commerciaux" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "Impossible de trouver un Incoterm dans Odoo correspondant à '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "IBAN %s n’est pas valide, il a donc été ignoré." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "Numéro de TVA manquant pour la société \"%s\"" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "" +"Aucune devise n'a été spécifiée, Odoo a donc utilisé la devise de la société " +"(%s)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information " +"extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information " +"extracted from the business document:\n" +"Account code: %s" +msgstr "" +"Odoo n'a pas trouvé de compte correspondant aux informations suivantes " +"extraites du document commercial :\n" +"Code du compte : %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following " +"information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" +"Odoo n'a pas trouvé de compte analytique correspondant aux informations " +"suivantes extraites du document commercial :\n" +"Code du compte analytique : %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information " +"extracted from the business document:\n" +"Journal code: %s" +msgstr "" +"Odoo n'a pas trouvé de journal correspondant aux informations suivantes " +"extraites du document commercial :\n" +"Code journal : %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information " +"extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following " +"information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax " +"Included in Price' = '%(price)s' which correspond to the following " +"information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"Une des lignes importées n'a pas de produit, donc les lignes n'ont pas " +"été mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company " +"'%(company)s' (%(vat)s) in which you are trying to import this document." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the symbol/" +"ISO code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" +"L'analyse du document commercial a retourné '%s' comme code de pays. Mais il " +"n'y a pas de pays avec ce code dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" +"L'analyse du document commercial a renvoyé '%s' comme code de pays pour " +"trouver la devise correspondante. Mais il n'y a pas de pays avec ce code " +"dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" +"L'analyse du document commercial a renvoyé '%s' comme code de pays pour " +"trouver la devise correspondante. Mais il n'y a pas de pays avec ce code " +"dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" +"L'analyse du document commercial a donné '%s' comme symbole de devise. Mais " +"il n'y a pas ou plusieurs devises avec ce symbole dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is disabled." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier " +"%(partner)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"La ligne existante '%s' n'a pas de produit, donc les lignes n'ont pas été " +"mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" +"Le produit '%s' est utilisé sur plusieurs lignes existantes, donc les " +"lignes n'ont pas été mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" +"Le produit '%s' est utilisé sur plusieurs lignes importées, donc les " +"lignes n'ont pas été mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "client" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "partenaire" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "sournisseur" + +#, python-format +#~ msgid "" +#~ "

    Odoo couldn't find any unit of measure corresponding to the following " +#~ "information extracted from the business document:

    • UNECE code: " +#~ "%s
    • Name of the unit of measure: %s

    So the unit of " +#~ "measure 'Unit(s)' has been used. You may have to change it manually.

    " +#~ msgstr "" +#~ "

    Odoo n'a pas trouvé d'unité de mesure correspondant aux informations " +#~ "suivantes extraites du document métier :

    • Code UNECE : %s
    • Nom de l'unité de mesure : %s

    L'unité de mesure " +#~ "'Unité(s)' a donc été utilisée. Vous devrez peut-être la modifier " +#~ "manuellement.

    " + +#, python-format +#~ msgid "Approximate match: account %s has been matched with account %s" +#~ msgstr "" +#~ "Correspondance approximative : le compte %s a été mis en correspondance " +#~ "avec le compte %s" + +#~ msgid "Display Name" +#~ msgstr "Afficher Nom" + +#, python-format +#~ msgid "" +#~ "For product '%s', the unit of measure is %s on the existing line, but it " +#~ "is %s on the imported line. We don't support this scenario for the " +#~ "moment, so the lines haven't been updated." +#~ msgstr "" +#~ "Pour le produit ' %s ', l’unité de mesure est %s sur la ligne existante, " +#~ "mais elle est sur %s la ligne importée. Nous ne prenons pas en charge ce " +#~ "scénario pour le moment, donc les lignes n’ont pas été mises à jour." + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Dernière modification le" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any product corresponding to the following information " +#~ "extracted from the business document:\n" +#~ "Barcode: %s\n" +#~ "Product code: %s\n" +#~ "Supplier: %s\n" +#~ msgstr "" +#~ "Odoo n'a pas pu trouver de produit correspondant aux informations " +#~ "suivantes extraites du document commercial :\n" +#~ "Barcode : %s\n" +#~ "Code produit : %s\n" +#~ "Fournisseur : %s\n" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any tax with 'Tax Application' = '%s' and 'Tax " +#~ "Included in Price' = '%s' which correspond to the following information " +#~ "extracted from the business document:\n" +#~ "UNECE Tax Type code: %s\n" +#~ "UNECE Tax Category code: %s\n" +#~ "UNECE Due Date code: %s\n" +#~ "Tax amount: %s %s" +#~ msgstr "" +#~ "Odoo n'a pas trouvé de taxe avec 'Tax Application' = '%s' et 'Tax " +#~ "Included in Price' = '%s' qui correspondent aux informations suivantes " +#~ "extraites du document commercial :\n" +#~ "Code de type de taxe CEE-ONU : %s\n" +#~ "Code de catégorie de taxe CEE-ONU : %s\n" +#~ "Code de la date d'échéance CEE-ONU : %s\n" +#~ "Montant de la taxe : %s %s" + +#, python-format +#~ msgid "" +#~ "The %s has been identified by the domain name '%s' so please check " +#~ "carefully that the %s is correct." +#~ msgstr "" +#~ "Le %s a été identifié par le nom de domaine '%s'. Veuillez vérifier " +#~ "soigneusement que le %s est correct." + +#, python-format +#~ msgid "" +#~ "The VAT number of the customer written in the business document (%s) " +#~ "doesn't match the VAT number of the company '%s' (%s) in which you are " +#~ "trying to import this document." +#~ msgstr "" +#~ "Le numéro de TVA du client indiqué dans le document commercial (%s) ne " +#~ "correspond pas au numéro de TVA de la société '%s' (%s) dans laquelle " +#~ "vous essayez d'importer ce document." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the country code " +#~ "to find the related currency. But the country '%s' doesn't have any " +#~ "related currency configured in Odoo." +#~ msgstr "" +#~ "L'analyse du document commercial a retourné '%s' comme code de pays pour " +#~ "trouver la devise associée. Mais le pays '%s' n'a pas de devise associée " +#~ "configurée dans Odoo." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the currency " +#~ "symbol or ISO code. But there are none or several currencies with the " +#~ "symbol/ISO code in Odoo." +#~ msgstr "" +#~ "L'analyse du document commercial a donné '%s' comme symbole monétaire ou " +#~ "code ISO. Mais il n'y a pas ou plusieurs devises avec ce symbole/code ISO " +#~ "dans Odoo." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the unit of " +#~ "measure UNECE code, but there is no unit of measure with that UNECE code " +#~ "in Odoo. Please check the configuration of the units of measures in Odoo." +#~ msgstr "" +#~ "L'analyse du document commercial a donné '%s' comme code d'unité de " +#~ "mesure UNECE, mais il n'y a pas d'unité de mesure avec ce code UNECE dans " +#~ "Odoo. Veuillez vérifier la configuration des unités de mesure dans Odoo." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned IBAN %s as bank " +#~ "account, but there is no such bank account in Odoo linked to partner %s and the option to " +#~ "automatically create bank accounts upon import is disabled." +#~ msgstr "" +#~ "L'analyse du document commercial a renvoyé IBAN %s comme compte " +#~ "bancaire, mais il n'y a pas de tel compte bancaire dans Odoo lié au " +#~ "partenaire %s et " +#~ "l'option de création automatique de comptes bancaires à l'importation est " +#~ "désactivée." + +#, python-format +#~ msgid "" +#~ "The bank account IBAN %s has been automatically added on the " +#~ "supplier %s" +#~ msgstr "" +#~ "Le compte bancaire IBAN %s a été automatiquement ajouté sur le " +#~ "fournisseur %s" diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/fr_FR.po b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/fr_FR.po new file mode 100644 index 0000000..9f10c2c --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/fr_FR.po @@ -0,0 +1,598 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-04-15 17:46+0000\n" +"Last-Translator: Yves Le Doeuff \n" +"Language-Team: none\n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "(fixed)" +msgstr "(fixe)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "Notes dans le fichier %s:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "Notes dans le document importé:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

    Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

    • UNECE code: " +"%(code)s
    • Name of the unit of measure: %(name)s

    So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

    " +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Méthodes courantes d'importation de documents commerciaux" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "Impossible de trouver un Incoterm dans Odoo correspondant à '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "L'IBAN %s n'est pas valide, il a donc été ignoré." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "Numéro de TVA manquant pour la société '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "" +"Pas de devise précisée, donc Odoo a utilisé la devise (%s) de la société" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information " +"extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information " +"extracted from the business document:\n" +"Account code: %s" +msgstr "" +"Odoo n'a pas trouvé de compte correspondant aux informations suivantes " +"extraites du document commercial :\n" +"Code du compte : %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following " +"information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" +"Odoo n'a pas trouvé de compte analytique correspondant aux informations " +"suivantes extraites du document commercial :\n" +"Code du compte analytique : %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information " +"extracted from the business document:\n" +"Journal code: %s" +msgstr "" +"Odoo n'a pas trouvé de journal correspondant aux informations suivantes " +"extraites du document commercial :\n" +"Code journal : %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information " +"extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following " +"information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax " +"Included in Price' = '%(price)s' which correspond to the following " +"information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"Une des lignes importées n'a pas de produit, donc les lignes n'ont pas " +"été mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company " +"'%(company)s' (%(vat)s) in which you are trying to import this document." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the symbol/" +"ISO code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" +"L'analyse du document commercial a retourné '%s' comme code de pays. Mais il " +"n'y a pas de pays avec ce code dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" +"L'analyse du document commercial a renvoyé '%s' comme code de pays pour " +"trouver la devise correspondante. Mais il n'y a pas de pays avec ce code " +"dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" +"L'analyse du document commercial a donné '%s' comme code ISO de la devise. " +"Mais il n'y a pas de devise avec ce code dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" +"L'analyse du document commercial a donné '%s' comme symbole de devise. Mais " +"il n'y a pas ou plusieurs devises avec ce symbole dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is disabled." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier " +"%(partner)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"La ligne existante '%s' n'a pas de produit, donc les lignes n'ont pas été " +"mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" +"Le produit '%s' est utilisé sur plusieurs lignes existantes, donc les " +"lignes n'ont pas été mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" +"Le produit '%s' est utilisé sur plusieurs lignes importées, donc les " +"lignes n'ont pas été mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "client" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "partenaire" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "fournisseur" + +#, python-format +#~ msgid "" +#~ "

    Odoo couldn't find any unit of measure corresponding to the following " +#~ "information extracted from the business document:

    • UNECE code: " +#~ "%s
    • Name of the unit of measure: %s

    So the unit of " +#~ "measure 'Unit(s)' has been used. You may have to change it manually.

    " +#~ msgstr "" +#~ "

    Odoo n'a pas trouvé d'unité de mesure correspondant aux informations " +#~ "suivantes extraites du document métier :

    • Code UNECE : %s
    • Nom de l'unité de mesure : %s

    L'unité de mesure " +#~ "'Unité(s)' a donc été utilisée. Vous devrez peut-être la modifier " +#~ "manuellement.

    " + +#, python-format +#~ msgid "Approximate match: account %s has been matched with account %s" +#~ msgstr "" +#~ "Correspondance approximative : le compte %s a été mis en correspondance " +#~ "avec le compte %s" + +#~ msgid "Display Name" +#~ msgstr "Nom affiché" + +#, python-format +#~ msgid "" +#~ "For product '%s', the unit of measure is %s on the existing line, but it " +#~ "is %s on the imported line. We don't support this scenario for the " +#~ "moment, so the lines haven't been updated." +#~ msgstr "" +#~ "Pour le produit '%s', l'unité de mesure est %s sur la ligne existante, " +#~ "mais elle est %s sur la ligne importée. Nous ne supportons pas ce " +#~ "scénario pour le moment, donc les lignes n'ont pas été mises à jour." + +#~ msgid "Last Modified on" +#~ msgstr "Dernière modification" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any %s corresponding to the following information " +#~ "extracted from the business document:\n" +#~ "Name: %s\n" +#~ "VAT number: %s\n" +#~ "Reference: %s\n" +#~ "E-mail: %s\n" +#~ "Website: %s\n" +#~ "State code: %s\n" +#~ "Country code: %s\n" +#~ msgstr "" +#~ "Odoo n'a pas trouvé de %s correspondant aux informations suivantes " +#~ "extraites du document commercial :\n" +#~ "Nom : %s\n" +#~ "Numéro de TVA : %s\n" +#~ "Référence : %s\n" +#~ "E-mail : %s\n" +#~ "Site web : %s\n" +#~ "Code de l'État : %s\n" +#~ "Code du pays : %s\n" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any product corresponding to the following information " +#~ "extracted from the business document:\n" +#~ "Barcode: %s\n" +#~ "Product code: %s\n" +#~ "Supplier: %s\n" +#~ msgstr "" +#~ "Odoo n'a pas pu trouver de produit correspondant aux informations " +#~ "suivantes extraites du document commercial :\n" +#~ "Code barres : %s\n" +#~ "Code produit : %s\n" +#~ "Fournisseur : %s\n" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any shipping partner corresponding to the following " +#~ "information extracted from the business document:\n" +#~ "Name: %s\n" +#~ "VAT number: %s\n" +#~ "Reference: %s\n" +#~ "E-mail: %s\n" +#~ "Website: %s\n" +#~ "Street: %s\n" +#~ "Street2: %s\n" +#~ "City: %s\n" +#~ "ZIP: %s\n" +#~ "State code: %s\n" +#~ "Country code: %s\n" +#~ msgstr "" +#~ "Odoo n'a pas pu trouver de partenaire d'expédition correspondant aux " +#~ "informations suivantes extraites du document commercial :\n" +#~ "Nom : %s\n" +#~ "Numéro de TVA : %s\n" +#~ "Référence : %s\n" +#~ "E-mail : %s\n" +#~ "Site web : %s\n" +#~ "Rue : %s\n" +#~ "Rue2 : %s\n" +#~ "Ville : %s\n" +#~ "Code postal : %s\n" +#~ "Code d'état : %s\n" +#~ "Code du pays : %s\n" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any tax with 'Tax Application' = '%s' and 'Tax " +#~ "Included in Price' = '%s' which correspond to the following information " +#~ "extracted from the business document:\n" +#~ "UNECE Tax Type code: %s\n" +#~ "UNECE Tax Category code: %s\n" +#~ "UNECE Due Date code: %s\n" +#~ "Tax amount: %s %s" +#~ msgstr "" +#~ "Odoo n'a pas trouvé de taxe avec 'Application de taxe' = '%s' et 'Taxe " +#~ "Incluse dans le prix' = '%s' qui correspondent aux informations suivantes " +#~ "extraites du document commercial :\n" +#~ "Code de type de taxe CEE-ONU : %s\n" +#~ "Code de catégorie de taxe CEE-ONU : %s\n" +#~ "Code de la date d'échéance CEE-ONU : %s\n" +#~ "Montant de la taxe : %s %s" + +#, python-format +#~ msgid "" +#~ "The %s has been identified by the domain name '%s' so please check " +#~ "carefully that the %s is correct." +#~ msgstr "" +#~ "Le %s a été identifié par le nom de domaine '%s'. Veuillez vérifier " +#~ "soigneusement que le %s est correct." + +#, python-format +#~ msgid "" +#~ "The VAT number of the customer written in the business document (%s) " +#~ "doesn't match the VAT number of the company '%s' (%s) in which you are " +#~ "trying to import this document." +#~ msgstr "" +#~ "Le numéro de TVA du client indiqué dans le document commercial (%s) ne " +#~ "correspond pas au numéro de TVA de la société '%s' (%s) dans laquelle " +#~ "vous essayez d'importer ce document." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the country code " +#~ "to find the related currency. But the country '%s' doesn't have any " +#~ "related currency configured in Odoo." +#~ msgstr "" +#~ "L'analyse du document commercial a retourné '%s' comme code de pays pour " +#~ "trouver la devise associée. Mais le pays '%s' n'a pas de devise associée " +#~ "configurée dans Odoo." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the currency " +#~ "symbol or ISO code. But there are none or several currencies with the " +#~ "symbol/ISO code in Odoo." +#~ msgstr "" +#~ "L'analyse du document commercial a donné '%s' comme symbole monétaire ou " +#~ "code ISO. Mais il n'y a pas ou plusieurs devises avec ce symbole/code ISO " +#~ "dans Odoo." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the unit of " +#~ "measure UNECE code, but there is no unit of measure with that UNECE code " +#~ "in Odoo. Please check the configuration of the units of measures in Odoo." +#~ msgstr "" +#~ "L'analyse du document commercial a donné '%s' comme code d'unité de " +#~ "mesure UNECE, mais il n'y a pas d'unité de mesure avec ce code UNECE dans " +#~ "Odoo. Veuillez vérifier la configuration des unités de mesure dans Odoo." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned IBAN %s as bank " +#~ "account, but there is no such bank account in Odoo linked to partner %s and the option to " +#~ "automatically create bank accounts upon import is disabled." +#~ msgstr "" +#~ "L'analyse du document commercial a retourné IBAN %s comme compte " +#~ "bancaire, mais il n'y a pas de tel compte bancaire dans Odoo lié au " +#~ "partenaire %s et " +#~ "l'option de création automatique de comptes bancaires lors de " +#~ "l'importation est désactivée." + +#, python-format +#~ msgid "" +#~ "The bank account IBAN %s has been automatically added on the " +#~ "supplier %s" +#~ msgstr "" +#~ "Le compte bancaire IBAN %s a été automatiquement ajouté sur le " +#~ "fournisseur %s" diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/it.po b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/it.po new file mode 100644 index 0000000..ce8c4b1 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/it.po @@ -0,0 +1,468 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-23 15:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "(fixed)" +msgstr "(fisso)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "Note nel file %s:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "Note nel documento importato:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

    Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

    • UNECE code: " +"%(code)s
    • Name of the unit of measure: %(name)s

    So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

    " +msgstr "" +"

    Odoo non trova nessuna unità di misura corrispondente alle seguenti " +"informazioni estratte dal documento:

    • codice UNECE: %(code)s
    • Nome dell'unità di misura: %(name)s

    Quindi è stata usata " +"l'unità di misura 'Unità'. La si può cambiare manualmente.

    " + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" +"Corrispondenza approssimata: il conto %(account)s ha una corrispondenza con " +"il conto %(matched_account)s" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Metodi comuni per l'importazione di documenti di lavoro" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "In Odoo non è presente nessun Incoterm corrispondente a '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been " +"updated." +msgstr "" +"Per il prodotto '%(product)s', sulla riga esistente l'unità di misura è " +"%(uom_product)s, ma è %(uom_imported)s nella riga importata. Al momento " +"questo scenario non è supportato, quindi le righe non sono state " +"aggiornate." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "L'IBAN %s non è valido, quindi è stato ignorato." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "ID {id} di '{model}' non esiste in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "Partita IVA mancante per l'azienda '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "Valuta non indicata, quindi Odoo utilizza la valuta dell'azienda (%s)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" +"Odoo non trova nessun %(label)s corrispondente alle seguenti informazioni " +"estratte dal documento di lavoro:\n" +"Nome: %(name)s \n" +"Partita IVA: %(vat)s \n" +"Riferimento: %(ref)s \n" +"E-mail: %(email)s \n" +"Sito web: %(website)s \n" +"Codice stato: %(state)s \n" +"Codice nazione: %(country)s \n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information extracted from the business document:\n" +"Account code: %s" +msgstr "" +"Odoo non trova nessun conto corrispondente alla seguente informazione " +"estratta dal documento di lavoro:\n" +"Codice conto: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" +"Odoo non trova nessun conto analitico corrispondente alla seguente " +"informazione estratta dal documento di lavoro:\n" +"Codice conto analitico: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information extracted from the business document:\n" +"Journal code: %s" +msgstr "" +"Odoo non trova nessun registro corrispondente alla seguente informazione " +"estratta dal documento di lavoro:\n" +"Codice registro: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" +"Odoo non trova alcun prodotto corrispondente alla seguente informazione " +"estratrta dal documento di lavoro:\n" +"Codice a barre: %(barcode)s\n" +"Codice prodotto: %(product_code)s\n" +"Fornitore: %(supplier)s\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" +"Odoo non trova nessun partner spedizione corrispondente alla seguente " +"informazione estratta dal documento di lavoro:\n" +"Nome: %(name)s\n" +"Partita IVA: %(vat)s\n" +"Riferimento: %(ref)s\n" +"E-mail: %(email)s\n" +"Sito web: %(website)s\n" +"Indirizzo: %(street)s\n" +"Indirizzo 2: %(street2)s\n" +"Città: %(city)s\n" +"CAP: %(zip)s\n" +"Codice stato: %(state)s\n" +"Codice nazione: %(country)s\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax Included in Price' = '%(price)s' which correspond to the following information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" +"Odoo non trova nessuna imposta con 'Applicazione imposta' = '%(tax)s' e " +"'Imposta inclusa nel prezzo' = '%(price)s' che corrispondono alla seguente " +"informazione estratta dal documento di lavoro:\n" +"Codice tipo imposta UNECE: %(tax_type)s\n" +"Codice categoria imposta UNECE: %(tax_cat)s\n" +"Codice data scadenza UNECE: %(tax_due_date)s\n" +"Valore imposta: %(amount)s %(amount_type)s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"Una delle righe importate non ha nessun prodotto, quindi le righe non " +"sono state aggiornate." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" +"%(label)s è stato identificato dal nome dominio '%(domain)s' qundi " +"controllare con attenzione che %(label)s sia corretto." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company '%(company)s' " +"(%(vat)s) in which you are trying to import this document." +msgstr "" +"La partita IVA del cliente scritta nel documento di lavoro(%(parsed_vat)s) " +"non corrisponde alla prtita IVA dell'azienda '%(company)s' (%(vat)s) dove si " +"sta cercando di importare il documento." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "L'ID XML '%s' non esiste in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" +"L'analisi del documento di lavoro ha restituito '%(code)s' come codice " +"nazione per trovare la relativa valuta. Ma la nazione '%(name)s' non ha una " +"valuta configurata in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the " +"symbol/ISO code in Odoo." +msgstr "" +"L'analisi del documento di lavoro ha restituito '%(code)s' come simbolo " +"valuta o codice ISO. Ma non ci sono o ce ne sono diverse valute con il " +"simbolo/codice ISO in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" +"La'nalisi del documento di lavoro ha restituito '%(code)s' come docie unità " +"di misura UNECE, ma non c'è una unità di misura con questo codice UNECE in " +"Odoo. Controllare la confiugrazione delle unità di misura in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" +"L'analisi del documento di lavoro ha restituito '%s' come codice nazione. Ma " +"non ci sono nazioni con questo codice in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" +"L'analisi del documento di lavoro ha restituito '%s' come codice nazione per " +"trovare la valuta relativa. Ma non ci sono nazioni con questo codice in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" +"L'analisi del documento di lavoro ha restituito '%s' come codice valuta ISO. " +"Ma non ci sono valute questo codice in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" +"L'analisi del documento di lavoro ha restituito '%s' come simbolo valuta. Ma " +"non ci sono o ce ne sono diverse valute con questo simbolo in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is " +"disabled." +msgstr "" +"L'analisi del documento di lavoro ha restituito IBAN %(iban)s come " +"conto bancario, ma non esiste tale conto bancario in Odoo collegato ad un " +"partner %(partner)s e l'opzione di creare automaticamente i " +"conti bancari all'importazione è disabilitata." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier %(partner)s" +msgstr "" +"il conto bancario IBAN %(iban)s è stato aggiunto automaticamente al " +"fornitore %(partner)s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"La riga '%s' non ha alcun prodotto, quindi le righe non sono state " +"aggiornate." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" +"il prodotto '%s' è utilizzato in diverse righe esistenti, qundi le righe " +"non sono state aggiornate." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" +"Il prodotto '%s' è utilizzato in diverse righe importate, quindi le righe " +"non sono state aggiornate." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" +"Il record '{record}' è una istanza di '{record_model}', non di " +"'{target_model}'." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "cliente" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "partner" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "fornitore" diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/nl.po b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/nl.po new file mode 100644 index 0000000..15d0d8a --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/i18n/nl.po @@ -0,0 +1,598 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-02-07 12:22+0000\n" +"Last-Translator: Bosd \n" +"Language-Team: none\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.14.1\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, fuzzy, python-format +msgid "(fixed)" +msgstr "(fixed)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "Notities in bestand %s:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "Notities in geimporteerd document:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

    Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

    • UNECE code: " +"%(code)s
    • Name of the unit of measure: %(name)s

    So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

    " +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Algemene procedures voor het importeren van bedrijfsdocumenten" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "Er kong geen Incoterm gevonden worden overeenkomstig met '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "IBAN %s is ongeldig, dus genegeerd." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "ID {id} van '{model}' bestaat niet." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "Ontbrekent BTW nummer voor bedrijf '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "" +"Er is geen valuta gespicificeerd, dus de bedrijfsvaluta wordt gebruikt (%s)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information " +"extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information " +"extracted from the business document:\n" +"Account code: %s" +msgstr "" +"kon geen rekening vinden welke overeenkomt met de verkregen informatie uit " +"dit bedrijfsdocument:\n" +"Rekening code: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following " +"information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" +"kon geen analytisch account vinden welke overeenkomt met de verkregen " +"informatie uit dit bedrijfsdocument:\n" +"Analytisch account code: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information " +"extracted from the business document:\n" +"Journal code: %s" +msgstr "" +"kon geen dagboek vinden welke overeenkomt met de verkregen informatie uit " +"dit bedrijfsdocument:\n" +"Dagboek code: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information " +"extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following " +"information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax " +"Included in Price' = '%(price)s' which correspond to the following " +"information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"Een van de geimporteede regels bevat geen product, dus de regels zijn " +"niet bijgewerkt." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company " +"'%(company)s' (%(vat)s) in which you are trying to import this document." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the symbol/" +"ISO code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" +"De analyse van het bedrijfsdocument leverde landcode '%s' op. Deze landcode " +"is niet bekend in het systeem." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" +"De analyse van het bedrijfsdocument leverde '%s' op als de landcode om de " +"bijbehorende valuta te vinden. Maar deze landcode is niet bekend in het " +"systeem." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" +"De analyse van het bedrijfsdocument leverde '%s' op als de valuta ISO code. " +"Er is geen valuta met deze code bekend in het systeem." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" +"De analyse van het bedrijfsdocument leverde '%s' op als de valutateken. Er " +"zijn geen of meerdre valutas met dat valutateken in het systeem." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is disabled." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier " +"%(partner)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"De bestaande regel '%s' heeft geen product, dus de regel is niet " +"bijgewerkt." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" +"Het product '%s' is gebruikt op meerdere bestaande regels, dus de regels " +"zijn niet bijgewerkt." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" +"Het product '%s' is gebruikt op meerdere geimporteerde regels, dus de " +"regels zijn niet bijgewerkt." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "klant" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "relatie" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "leverancier" + +#, python-format +#~ msgid "" +#~ "

    Odoo couldn't find any unit of measure corresponding to the following " +#~ "information extracted from the business document:

    • UNECE code: " +#~ "%s
    • Name of the unit of measure: %s

    So the unit of " +#~ "measure 'Unit(s)' has been used. You may have to change it manually.

    " +#~ msgstr "" +#~ "

    Er kon geen eenheid gevonden worden welke overeenkomt met de volgende " +#~ "informatie verkregen uit het bedrijfsdocument:

    • UNECE code: %s
    • Eenheidsnaam: %s

    dus de 'Unit(s)' eenheid is gebruikt. " +#~ "Wellicht wilt u dit handmatig wijzigen.

    " + +#, python-format +#~ msgid "Approximate match: account %s has been matched with account %s" +#~ msgstr "Geschatte overeenkomst: rekening %s is gematched met rekening %s" + +#~ msgid "Display Name" +#~ msgstr "Weergavenaam" + +#, python-format +#~ msgid "" +#~ "For product '%s', the unit of measure is %s on the existing line, but it " +#~ "is %s on the imported line. We don't support this scenario for the " +#~ "moment, so the lines haven't been updated." +#~ msgstr "" +#~ "voor product '%s', is de eenheid %s op de bestaande regel, maar is %s op " +#~ "de geimporteerde regel. Dit wordt op dit moment niet ondersteund, de " +#~ "regels zijnnietbijgewerkt." + +#, fuzzy +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Laatst bijgewerkt op" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any %s corresponding to the following information " +#~ "extracted from the business document:\n" +#~ "Name: %s\n" +#~ "VAT number: %s\n" +#~ "Reference: %s\n" +#~ "E-mail: %s\n" +#~ "Website: %s\n" +#~ "State code: %s\n" +#~ "Country code: %s\n" +#~ msgstr "" +#~ "Er kon geen %s gevonden worden welke overeenkomt met de informatie " +#~ "verkregen uit het document:\n" +#~ "Naam: %s\n" +#~ "BTW nummer: %s\n" +#~ "Referentie: %s\n" +#~ "E-mail: %s\n" +#~ "Website: %s\n" +#~ "State code: %s\n" +#~ "Land code: %s\n" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any product corresponding to the following information " +#~ "extracted from the business document:\n" +#~ "Barcode: %s\n" +#~ "Product code: %s\n" +#~ "Supplier: %s\n" +#~ msgstr "" +#~ "Er kon geen product gevonden worden welke overeenkomt met de verkregen " +#~ "informatie uit het document:\n" +#~ "Barcode: %s\n" +#~ "Product code: %s\n" +#~ "Leverancier: %s\n" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any shipping partner corresponding to the following " +#~ "information extracted from the business document:\n" +#~ "Name: %s\n" +#~ "VAT number: %s\n" +#~ "Reference: %s\n" +#~ "E-mail: %s\n" +#~ "Website: %s\n" +#~ "Street: %s\n" +#~ "Street2: %s\n" +#~ "City: %s\n" +#~ "ZIP: %s\n" +#~ "State code: %s\n" +#~ "Country code: %s\n" +#~ msgstr "" +#~ "Er kon geen geadresseerde relatie gevonden worden welke overeenkomt met " +#~ "de verkregen informatie uit dit bedrijfsdocument:\n" +#~ "Naam: %s\n" +#~ "BTW nummer: %s\n" +#~ "Referentie: %s\n" +#~ "E-mail: %s\n" +#~ "Website: %s\n" +#~ "Straat: %s\n" +#~ "Straat2: %s\n" +#~ "Woonplaats: %s\n" +#~ "Postcode: %s\n" +#~ "State code: %s\n" +#~ "Land code: %s\n" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any tax with 'Tax Application' = '%s' and 'Tax " +#~ "Included in Price' = '%s' which correspond to the following information " +#~ "extracted from the business document:\n" +#~ "UNECE Tax Type code: %s\n" +#~ "UNECE Tax Category code: %s\n" +#~ "UNECE Due Date code: %s\n" +#~ "Tax amount: %s %s" +#~ msgstr "" +#~ "Er kon geen belastingsregel gevonden worden 'Tax Application' = '%s' en " +#~ "'prijs inclusief btw' = '%s' welke overeenkomt met de volgende informatie " +#~ "verkregen uit dit bedrijfsdocument:\n" +#~ "UNECE Tax Type code: %s\n" +#~ "UNECE Tax Category code: %s\n" +#~ "UNECE Due Date code: %s\n" +#~ "Belast bedrag: %s %s" + +#, python-format +#~ msgid "" +#~ "The %s has been identified by the domain name '%s' so please check " +#~ "carefully that the %s is correct." +#~ msgstr "" +#~ "Het %s is geidentificeerd op de domeinnaam '%s' controleer zorgvuldig " +#~ "daat de %s juist is." + +#, python-format +#~ msgid "" +#~ "The VAT number of the customer written in the business document (%s) " +#~ "doesn't match the VAT number of the company '%s' (%s) in which you are " +#~ "trying to import this document." +#~ msgstr "" +#~ "Het BTW nummer van de klant in het bedrijfsdocument (%s) komt niet " +#~ "overeen met het BTW nummer van het bedrijf '%s' (%s) waarvoor je een " +#~ "document probeert te importeren." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the country code " +#~ "to find the related currency. But the country '%s' doesn't have any " +#~ "related currency configured in Odoo." +#~ msgstr "" +#~ "De analyse van het bedrijfsdocument leverde '%s' op als de landcode om de " +#~ "bijbehorende valuta te vinden. Maar voor het land '%s' zijn geen " +#~ "bijbehorende valuta's geconfigureerd." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the currency " +#~ "symbol or ISO code. But there are none or several currencies with the " +#~ "symbol/ISO code in Odoo." +#~ msgstr "" +#~ "De analyse van het bedrijfsdocument leverde '%s' op als het valuta " +#~ "symbool of ISO code. Er zijn geen of meerdere valuta met dit symbool/code " +#~ "bekend in het systeem." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the unit of " +#~ "measure UNECE code, but there is no unit of measure with that UNECE code " +#~ "in Odoo. Please check the configuration of the units of measures in Odoo." +#~ msgstr "" +#~ "De analyse van het bedrijfsdocument leverde '%s' als eenheids UNECE code, " +#~ "maar er is geen eenheid met die UNECE code in het systeem. Controleer de " +#~ "eenheidsinstellingen." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned IBAN %s as bank " +#~ "account, but there is no such bank account in Odoo linked to partner %s and the option to " +#~ "automatically create bank accounts upon import is disabled." +#~ msgstr "" +#~ "De analyse van het bedrijfsdocument leverde IBAN %s op als " +#~ "bankrekening, maar het bankrekeningnummer is niet toegewezen aan relatie " +#~ "%s en de " +#~ "mogelijkheid om automatisch bankrekeningen aan te maken tijdens de import " +#~ "van bedrijfsdocumenten is uitgeschakeld." + +#, python-format +#~ msgid "" +#~ "The bank account IBAN %s has been automatically added on the " +#~ "supplier %s" +#~ msgstr "" +#~ "Het bankrekeningnummerIBAN %s is automatisch toegevoegd aan de " +#~ "leverancier %s" diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/models/__init__.py b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/models/__init__.py new file mode 100644 index 0000000..d695bc5 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/models/__init__.py @@ -0,0 +1 @@ +from . import business_document_import diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/models/business_document_import.py b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/models/business_document_import.py new file mode 100644 index 0000000..a2157c1 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/models/business_document_import.py @@ -0,0 +1,1398 @@ +# Copyright 2015-2021 Akretion France +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import logging +from urllib.parse import urlparse + +from odoo import _, api, models +from odoo.exceptions import UserError +from odoo.osv import expression +from odoo.tools import float_compare + +from odoo.addons.base_iban.models.res_partner_bank import validate_iban + +logger = logging.getLogger(__name__) + + +class BusinessDocumentImport(models.AbstractModel): + _name = "business.document.import" + _description = "Common methods to import business documents" + + @api.model + def user_error_wrap(self, method, data_dict, error_msg): + """The method and data_dict arguments are useful when you want to + inherit this method to update the error messag_match_currencye""" + assert error_msg + raise UserError(error_msg) + + def _direct_match(self, data_dict, model, raise_exception=True): + if data_dict.get("recordset"): + record = data_dict["recordset"] + if isinstance(record, type(model)): + return record + elif raise_exception: + raise UserError( + _( + "The record '{record}' is an instance of '{record_model}', " + "not of '{target_model}'." + ).format( + record=record.display_name, + record_model=record._name, + target_model=model._name, + ) + ) + if data_dict.get("id"): + record = model.browse(data_dict["id"]).exists() + if not record and raise_exception: + raise UserError( + _("ID {id} of '{model}' doesn't exist in Odoo.").format( + id=data_dict["id"], model=model._name + ) + ) + if record: + return record + if data_dict.get("xmlid"): + xmlid = data_dict["xmlid"] + record = False + try: + record = self.env.ref(xmlid, raise_if_not_found=True) + except Exception as e: + if raise_exception: + raise UserError( + _("The XMLID '%s' doesn't exist in Odoo.") % xmlid + ) from e + if record: + if isinstance(record, type(model)): + return record + elif raise_exception: + raise UserError( + _( + "The record '{record}' is an instance of '{record_model}', " + "not of '{target_model}'." + ).format( + record=record.display_name, + record_model=record._name, + target_model=model._name, + ) + ) + return None + + @api.model + def _strip_cleanup_dict(self, match_dict): + if not match_dict: + return + + for key, value in match_dict.items(): + if value and isinstance(value, str): + match_dict[key] = value.strip() + if match_dict.get("country_code"): + match_dict["country_code"] = match_dict["country_code"].upper() + if match_dict.get("state_code"): + match_dict["state_code"] = match_dict["state_code"].upper() + + @api.model + def _get_match_partner_order(self, partner_type): + if partner_type == "supplier": + return "supplier_rank desc" + if partner_type == "customer": + return "customer_rank desc" + return "" + + @api.model + def _get_match_partner_type_label(self, partner_type): + if partner_type == "supplier": + return _("supplier") + if partner_type == "customer": + return _("customer") + return _("partner") + + @api.model + def _get_country_filter(self, partner_dict, chatter_msg): + """Generate filter by country""" + if partner_dict.get("country_code"): + country = self.env["res.country"].search( + [("code", "=", partner_dict["country_code"])], limit=1 + ) + if country: + return [ + "|", + ("country_id", "=", False), + ("country_id", "=", country.id), + ] + chatter_msg.append( + _( + "The analysis of the business document returned '%s' as " + "country code. But there are no country with that code " + "in Odoo." + ) + % partner_dict["country_code"] + ) + return False + + @api.model + def _get_country_state_filter(self, partner_dict, chatter_msg): + if partner_dict.get("state_code"): + country = self.env["res.country"].search( + [("code", "=", partner_dict["country_code"])], limit=1 + ) + if state := self.env["res.country.state"].search( + [ + ("code", "=", partner_dict["state_code"]), + ("country_id", "=", country.id), + ], + limit=1, + ): + return ["|", ("state_id", "=", False), ("state_id", "=", state.id)] + return False + + @api.model + def _match_partner_ref(self, partner_dict, chatter_msg, domain, order): + """If a ref is explicitly given, we just want to match that partner""" + if partner_dict.get("ref"): + domain = expression.AND( + [ + domain, + [("ref", "=", partner_dict["ref"])], + ] + ) + return self.env["res.partner"].search(domain, limit=1, order=order) + return False + + @api.model + def _match_partner_contact(self, partner_dict, chatter_msg, domain, order): + rpo = self.env["res.partner"] + if partner_dict.get("email") and "@" in partner_dict["email"]: + if partner := rpo.search( + expression.AND( + [ + domain, + [("email", "=ilike", partner_dict["email"])], + ] + ), + limit=1, + order=order, + ): + return partner + if partner_dict.get("contact"): + if partner := rpo.search( + expression.AND( + [ + domain, + [("name", "=ilike", partner_dict["contact"])], + ] + ), + limit=1, + order=order, + ): + return partner + if partner_dict.get("phone"): + if partner := rpo.search( + expression.AND( + [ + domain, + [ + "|", + ("mobile", "=", partner_dict["phone"]), + ("phone", "=", partner_dict["phone"]), + ], + ] + ), + limit=1, + order=order, + ): + return partner + return False + + @api.model + def _match_partner_name(self, partner_dict, chatter_msg, domain, order): + if partner_dict.get("name"): + domain = expression.AND( + [ + domain, + [ + ("name", "=ilike", partner_dict["name"]), + ], + ] + ) + return self.env["res.partner"].search(domain, limit=1, order=order) + return False + + @api.model + def _get_partner_website_domain(self, partner_dict): + if not partner_dict.get("website"): + return False + + urlp = urlparse(partner_dict["website"]) + netloc = urlp.netloc + if not urlp.scheme and not netloc: + netloc = urlp.path + if netloc and len(netloc.split(".")) >= 2: + return ".".join(netloc.split(".")[-2:]) + + @api.model + def _match_partner_website(self, partner_dict, chatter_msg, domain, order): + if website_domain := self._get_partner_website_domain(partner_dict): + domain = expression.AND( + [ + domain, + [ + ("website", "=ilike", "%" + website_domain + "%"), + ], + ] + ) + return self.env["res.partner"].search(domain, limit=1, order=order) + return False + + @api.model + def _get_partner_email_domain(self, partner_dict): + return ( + partner_dict.get("email") + and "@" in partner_dict["email"] + and partner_dict["email"].split("@")[1] + ) + + @api.model + def _match_partner_email(self, partner_dict, chatter_msg, domain, order): + email_domain = self._get_partner_email_domain(partner_dict) + # I can't search on email addresses with + # email_domain because of the emails such as + # @gmail.com, @yahoo.com that may match random partners + if email_domain: + partner = self.env["res.partner"].search( + expression.AND( + [domain, [("website", "=ilike", "%" + email_domain + "%")]] + ), + limit=1, + order=order, + ) + if not partner: + partner = self.env["res.partner"].search( + expression.AND( + [domain, [("email", "=ilike", "%@" + email_domain)]] + ), + limit=1, + order=order, + ) + if partner: + partner_type_label = partner_dict["type_label"] + chatter_msg.append( + _( + "The %(label)s has been identified by the domain name " + "'%(domain)s' so please check carefully that the " + "%(label)s is correct.", + label=partner_type_label, + domain=domain, + ) + ) + return partner + + @api.model + def _match_partner( # noqa: C901 + self, + partner_dict, + chatter_msg, + partner_type="supplier", + domain=None, + raise_exception=True, + ): + """Example: + partner_dict = { + 'country_code': 'FR', + 'state_code': False, + 'vat': 'FR12448890432', + 'email': 'roger.lemaire@akretion.com', + 'website': 'www.akretion.com', + 'name': 'Akretion France', + 'ref': 'C1242', + 'phone': '01.41.98.12.42', + } + """ + rpo = self.env["res.partner"] + partner_dict = partner_dict.copy() + self._strip_cleanup_dict(partner_dict) + partner = self._direct_match(partner_dict, rpo, raise_exception=raise_exception) + if partner: + return partner + company_id = self._context.get("force_company") or self.env.company.id + domain = domain or [] + domain = expression.AND( + [ + domain, + [ + "|", + ("company_id", "=", False), + ("company_id", "=", company_id), + ], + ] + ) + order = self._get_match_partner_order(partner_type) + partner_type_label = self._get_match_partner_type_label(partner_type) + partner_dict["type"] = partner_type + partner_dict["type_label"] = partner_type_label + + partner = self._match_partner_ref(partner_dict, chatter_msg, domain, order) + if partner: + return partner + + if country_domain := self._get_country_filter(partner_dict, chatter_msg): + domain = expression.AND([domain, country_domain]) + + if state_domain := self._get_country_state_filter( + partner_dict, chatter_msg + ): + domain = expression.AND([domain, state_domain]) + + # Search on VAT + if partner_dict.get("vat"): + vat = partner_dict["vat"].replace(" ", "").upper() + partner = rpo.search( + expression.AND([domain, [("vat", "=", vat)]]), + limit=1, + order=order, + ) + if partner: + return partner + + # Hook to plug alternative matching methods + partner = self._hook_match_partner(partner_dict, chatter_msg, domain, order) + if partner: + return partner + + # Search for partner contact + partner = self._match_partner_contact(partner_dict, chatter_msg, domain, order) + if partner: + return partner + + # Search for partner name + partner = self._match_partner_name(partner_dict, chatter_msg, domain, order) + if partner: + return partner + + # Search for partner website + partner = self._match_partner_website(partner_dict, chatter_msg, domain, order) + if partner: + return partner + + # Search for partner website + partner = self._match_partner_email(partner_dict, chatter_msg, domain, order) + if partner: + return partner + + if not raise_exception: + return None + raise self.user_error_wrap( + "_match_partner", + partner_dict, + _( + "Odoo couldn't find any %(label)s corresponding to the following " + "information extracted from the business document:\n" + "Name: %(name)s \n" + "VAT number: %(vat)s \n" + "Reference: %(ref)s \n" + "E-mail: %(email)s \n" + "Website: %(website)s \n" + "State code: %(state)s \n" + "Country code: %(country)s \n", + label=partner_type_label, + name=partner_dict.get("name") or "", + vat=partner_dict.get("vat") or "", + ref=partner_dict.get("ref") or "", + email=partner_dict.get("email") or "", + website=partner_dict.get("website") or "", + state=partner_dict.get("state_code") or "", + country=partner_dict.get("country_code") or "", + ), + ) + + @api.model + def _hook_match_partner(self, partner_dict, chatter_msg, domain, order): + return False + + @api.model + def _match_shipping_partner( + self, partner_dict, partner, chatter_msg, domain=None, raise_exception=True + ): + """Example: + shipping_dict = { + 'email': 'contact@akretion.com', + 'name': 'Akretion France', + 'street': 'Long Avenue', + 'street2': 'Building 2A', + 'city': 'Paris', + 'zip': '69100', + 'country_code': 'FR', + } + The shipping partner can be any partner, not especially related to the + customer/supplier (partner argument) + """ + domain = domain or [] + if partner_dict.get("street"): + if partner_dict.get("street_number"): + domain = expression.AND( + [ + domain, + [ + ( + "street", + "in", + [ + "{} {}".format( + partner_dict.get("street"), + partner_dict.get("street_number"), + ), + "{} {}".format( + partner_dict.get("street_number"), + partner_dict.get("street"), + ), + "{}, {}".format( + partner_dict.get("street"), + partner_dict.get("street_number"), + ), + "{}, {}".format( + partner_dict.get("street_number"), + partner_dict.get("street"), + ), + ], + ) + ], + ] + ) + else: + domain = expression.AND( + [ + domain, + [ + ("street", "=", partner_dict.get("street")), + ], + ] + ) + + if partner_dict.get("street2"): + domain = expression.AND( + [ + domain, + [ + ("street2", "=", partner_dict.get("street2")), + ], + ] + ) + if partner_dict.get("city"): + domain = expression.AND( + [ + domain, + [ + ("city", "=", partner_dict.get("city")), + ], + ] + ) + if partner_dict.get("zip"): + domain = expression.AND( + [ + domain, + [ + ("zip", "=", partner_dict.get("zip")), + ], + ] + ) + + domain_delivery = expression.AND([domain, [("type", "=", "delivery")]]) + partner = self._match_partner( + partner_dict, + chatter_msg, + partner_type=False, + domain=domain_delivery, + raise_exception=False, + ) + if partner: + return partner + if not partner_dict.get("vat") and not partner_dict.get("email"): + partner = self.env["res.partner"].search(domain_delivery, limit=1) + if partner: + return partner + partner = self._match_partner( + partner_dict, + chatter_msg, + partner_type=False, + domain=domain, + raise_exception=False, + ) + if partner: + return partner + if not partner_dict.get("vat"): + partner = self.env["res.partner"].search(domain, limit=1) + if partner: + return partner + + if not raise_exception: + return + raise self.user_error_wrap( + "_match_shipping_partner", + partner_dict, + _( + "Odoo couldn't find any shipping partner corresponding to the " + "following information extracted from the business document:\n" + "Name: %(name)s\n" + "VAT number: %(vat)s\n" + "Reference: %(ref)s\n" + "E-mail: %(email)s\n" + "Website: %(website)s\n" + "Street: %(street)s\n" + "Street2: %(street2)s\n" + "City: %(city)s\n" + "ZIP: %(zip)s\n" + "State code: %(state)s\n" + "Country code: %(country)s\n", + name=partner_dict.get("name") or "", + vat=partner_dict.get("vat") or "", + ref=partner_dict.get("ref") or "", + email=partner_dict.get("email") or "", + website=partner_dict.get("website") or "", + street=partner_dict.get("street") or "", + street2=partner_dict.get("street2") or "", + city=partner_dict.get("city") or "", + zip=partner_dict.get("zip") or "", + state=partner_dict.get("state_code") or "", + country=partner_dict.get("country_code") or "", + ), + ) + + @api.model + def _match_partner_bank( + self, partner, iban, bic, chatter_msg, create_if_not_found=False + ): + assert iban, "iban is a required arg" + assert partner, "partner is a required arg" + partner = partner.commercial_partner_id + iban = iban.replace(" ", "").upper() + rpbo = self.env["res.partner.bank"] + rbo = self.env["res.bank"] + try: + validate_iban(iban) + except Exception: + chatter_msg.append( + _("IBAN %s is not valid, so it has been ignored.") % iban + ) + return False + company_id = self._context.get("force_company") or self.env.company.id + bankaccount = rpbo.search( + [ + "|", + ("company_id", "=", False), + ("company_id", "=", company_id), + ("sanitized_acc_number", "=", iban), + ("partner_id", "=", partner.id), + ], + limit=1, + ) + if bankaccount: + return bankaccount + elif create_if_not_found: + bank_id = False + if bic: + bic = bic.replace(" ", "").upper() + bank = rbo.search([("bic", "=", bic)], limit=1) + if bank: + bank_id = bank.id + else: + bank = rbo.create( + {"bic": bic, "name": bic} # TODO: see if we could do better + ) + bank_id = bank.id + partner_bank = rpbo.create( + {"partner_id": partner.id, "acc_number": iban, "bank_id": bank_id} + ) + chatter_msg.append( + _( + "The bank account IBAN %(iban)s has been automatically " + "added on the supplier " + "%(partner)s", + iban=iban, + partner_id=partner.id, + partner=partner.display_name, + ) + ) + return partner_bank + else: + chatter_msg.append( + _( + "The analysis of the business document returned " + "IBAN %(iban)s as bank account, but there is no such " + "bank account in Odoo linked to partner " + "%(partner)s and " + "the option to automatically create bank " + "accounts upon import is disabled.", + iban=iban, + partner_id=partner.id, + partner=partner.display_name, + ) + ) + + @api.model + def _match_product(self, product_dict, chatter_msg, seller=False): + """Retrieve product. + + Matching sequence: + + 1. ID + 2. barcode + 3. packaging barcode + 4. default_code + 5. seller code + + :param product_dict: dictionary w/ product info. + + Example: {'barcode': '5449000054227', 'code': 'COCA1L'} + + :param chatter_msg: list of msgs to append to chatter (if any) + :param seller: optional product.supplierinfo record + """ + ppo = self.env["product.product"] + self._strip_cleanup_dict(product_dict) + product = self._direct_match(product_dict, ppo) + if product: + return product + product = self._match_product_search(product_dict) + if product: + return product + elif seller: + # WARNING: Won't work for multi-variant products + # because product.supplierinfo is attached to product template + sinfo = self.env["product.supplierinfo"].search( + self._match_company_domain() + + [ + ("partner_id", "=", seller.id), + ("product_code", "=", product_dict["code"]), + ], + limit=1, + ) + if ( + sinfo + and sinfo.product_tmpl_id.product_variant_ids + and len(sinfo.product_tmpl_id.product_variant_ids) == 1 + ): + return sinfo.product_tmpl_id.product_variant_ids[0] + raise self.user_error_wrap( + "_match_product", + product_dict, + _( + "Odoo couldn't find any product corresponding to the " + "following information extracted from the business document:\n" + "Barcode: %(barcode)s\n" + "Product code: %(product_code)s\n" + "Supplier: %(supplier)s\n", + barcode=product_dict.get("barcode") or "", + product_code=product_dict.get("code") or "", + supplier=seller and seller.name or "", + ), + ) + + @api.model + def _match_product_search(self, product_dict): + product = self.env["product.product"].browse() + cdomain = self._match_company_domain() + if product_dict.get("barcode"): + domain = expression.AND( + [ + cdomain, + [ + "|", + ("barcode", "=", product_dict["barcode"]), + ("packaging_ids.barcode", "=", product_dict["barcode"]), + ], + ] + ) + product = product.search(domain, limit=1) + if not product and product_dict.get("code"): + # TODO: this domain could be probably included in the former one + domain = expression.AND( + [ + cdomain, + [ + "|", + ("barcode", "=", product_dict["code"]), + ("default_code", "=", product_dict["code"]), + ], + ] + ) + product = product.search(domain, limit=1) + return product + + @api.model + def _match_company_domain(self): + company_id = self._context.get("force_company") or self.env.user.company_id.id + return ["|", ("company_id", "=", False), ("company_id", "=", company_id)] + + @api.model + def _match_currency(self, currency_dict, chatter_msg): + """Example: + currency_dict = { + 'iso': 'USD', # If we have ISO, no need to have more keys + 'symbol': '$', + 'country_code': 'US', + 'iso_or_symbol': '$', + } + """ + if not currency_dict: + currency_dict = {} + rco = self.env["res.currency"] + self._strip_cleanup_dict(currency_dict) + currency = self._direct_match(currency_dict, rco) + if currency: + return currency + if currency_dict.get("iso"): + currency_iso = currency_dict["iso"].upper() + currency = rco.search([("name", "=", currency_iso)], limit=1) + if currency: + return currency + else: + raise self.user_error_wrap( + "_match_currency", + currency_dict, + _( + "The analysis of the business document returned '%s' as " + "the currency ISO code. But there are no currency " + "with that code in Odoo." + ) + % currency_iso, + ) + if currency_dict.get("symbol"): + currencies = rco.search([("symbol", "=", currency_dict["symbol"])]) + if len(currencies) == 1: + return currencies + else: + chatter_msg.append( + _( + "The analysis of the business document returned '%s' as " + "the currency symbol. But there are none or several " + "currencies with that symbol in Odoo." + ) + % currency_dict["symbol"] + ) + if currency_dict.get("iso_or_symbol"): + currencies = rco.search( + [ + "|", + ("name", "=", currency_dict["iso_or_symbol"].upper()), + ("symbol", "=", currency_dict["iso_or_symbol"]), + ] + ) + if len(currencies) == 1: + return currencies[0] + else: + raise self.user_error_wrap( + "_match_currency", + currency_dict, + _( + "The analysis of the business document returned '%(code)s' as " + "the currency symbol or ISO code. But there are none or " + "several currencies with the symbol/ISO code in Odoo.", + code=currency_dict["iso_or_symbol"], + ), + ) + if currency_dict.get("country_code"): + country_code = currency_dict["country_code"] + country = self.env["res.country"].search( + [("code", "=", country_code)], limit=1 + ) + if country: + if country.currency_id: + return country.currency_id + else: + raise self.user_error_wrap( + "_match_currency", + currency_dict, + _( + "The analysis of the business document returned '%(code)s' " + "as the country code to find the related currency. " + "But the country '%(name)s' doesn't have any related " + "currency configured in Odoo.", + code=country_code, + name=country.name, + ), + ) + else: + raise self.user_error_wrap( + "_match_currency", + currency_dict, + _( + "The analysis of the business document returned '%s' " + "as the country code to find the related currency. " + "But there is no country with that code in Odoo." + ) + % country_code, + ) + if self._context.get("force_company"): + company = self.env["res.company"].browse(self._context["force_company"]) + else: + company = self.env.company + company_cur = company.currency_id + chatter_msg.append( + _("No currency specified, so Odoo used the company currency (%s)") + % company_cur.name + ) + return company_cur + + @api.model + def _match_uom(self, uom_dict, chatter_msg, product=False): + """Example: + uom_dict = { + 'unece_code': 'LTR', + 'name': 'Liter', + } + """ + uuo = self.env["uom.uom"] + if not uom_dict: + uom_dict = {} + self._strip_cleanup_dict(uom_dict) + uom = self._direct_match(uom_dict, uuo) + if uom: + return uom + if uom_dict.get("unece_code"): + # Map NIU to Unit + if uom_dict["unece_code"] == "NIU": + uom_dict["unece_code"] = "C62" + uom = uuo.search([("unece_code", "=", uom_dict["unece_code"])], limit=1) + if uom: + return uom + else: + chatter_msg.append( + _( + "The analysis of the business document returned '%(code)s' " + "as the unit of measure UNECE code, but there is no " + "unit of measure with that UNECE code in Odoo. Please " + "check the configuration of the units of measures in " + "Odoo.", + code=uom_dict["unece_code"], + ) + ) + if uom_dict.get("name"): + uom = uuo.search([("name", "=ilike", uom_dict["name"] + "%")], limit=1) + if uom: + return uom + if product: + return product.uom_id + chatter_msg.append( + _( + "

    Odoo couldn't find any unit of measure corresponding to the " + "following information extracted from the business document:

    " + "
    • UNECE code: %(code)s
    • " + "
    • Name of the unit of measure: %(name)s
    " + "

    So the unit of measure 'Unit(s)' has been used. You may " + "have to change it manually.

    ", + code=uom_dict.get("unece_code"), + name=uom_dict.get("name"), + ) + ) + return self.env.ref("uom.product_uom_unit") + + @api.model + def _match_taxes( + self, taxes_list, chatter_msg, type_tax_use="purchase", price_include=False + ): + """taxes_list must be a list of tax_dict""" + taxes_recordset = self.env["account.tax"].browse(False) + for tax_dict in taxes_list: + taxes_recordset += self._match_tax( + tax_dict, + chatter_msg, + type_tax_use=type_tax_use, + price_include=tax_dict.get("price_include", price_include), + ) + return taxes_recordset + + @api.model + def _prepare_match_tax_domain( + self, tax_dict, type_tax_use="purchase", price_include=False + ): + ato = self.env["account.tax"] + company_id = self._context.get("force_company") or self.env.company.id + domain = [("company_id", "=", company_id)] + if type_tax_use == "purchase": + domain.append(("type_tax_use", "=", "purchase")) + elif type_tax_use == "sale": + domain.append(("type_tax_use", "=", "sale")) + if price_include is False: + domain.append(("price_include", "=", False)) + elif price_include is True: + domain.append(("price_include", "=", True)) + # with the code above, if you set price_include=None, it will + # won't depend on the value of the price_include parameter + assert tax_dict.get("amount_type") in [ + "fixed", + "percent", + ], "bad tax type, has to be fixed or percent" + assert "amount" in tax_dict, "Missing amount key in tax_dict" + domain.append(("amount_type", "=", tax_dict["amount_type"])) + if tax_dict.get("unece_type_code"): + domain.append(("unece_type_code", "=", tax_dict["unece_type_code"])) + if tax_dict.get("unece_categ_code"): + domain.append(("unece_categ_code", "=", tax_dict["unece_categ_code"])) + if tax_dict.get("unece_due_date_code"): + tax_exigibility = ato._get_tax_exigibility_from_unece_code( + tax_dict["unece_due_date_code"] + ) + if tax_exigibility: + domain = expression.AND( + [domain, [("tax_exigibility", "=", tax_exigibility)]] + ) + return domain + + @api.model + def _match_tax( + self, + tax_dict, + chatter_msg, + type_tax_use="purchase", + price_include=False, + ): + """Example: + tax_dict = { + 'amount_type': 'percent', # required param, 'fixed' or 'percent' + 'amount': 20.0, # required + 'unece_type_code': 'VAT', + 'unece_categ_code': 'S', + 'unece_due_date_code': '72', + } + """ + ato = self.env["account.tax"] + self._strip_cleanup_dict(tax_dict) + tax = self._direct_match(tax_dict, ato) + if tax: + return tax + domain = self._prepare_match_tax_domain( + tax_dict, type_tax_use=type_tax_use, price_include=price_include + ) + taxes = ato.search(domain) + for tax in taxes: + tax_amount = tax.amount # 'amount' field : digits=(16, 4) + if not float_compare(tax_dict["amount"], tax_amount, precision_digits=4): + return tax + raise self.user_error_wrap( + "_match_tax", + tax_dict, + _( + "Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' " + "and 'Tax Included in Price' = '%(price)s' which correspond to the " + "following information extracted from the business document:\n" + "UNECE Tax Type code: %(tax_type)s\n" + "UNECE Tax Category code: %(tax_cat)s\n" + "UNECE Due Date code: %(tax_due_date)s\n" + "Tax amount: %(amount)s %(amount_type)s", + tax=type_tax_use, + price=price_include, + tax_type=tax_dict.get("unece_type_code") or "", + tax_cat=tax_dict.get("unece_categ_code") or "", + tax_due_date=tax_dict.get("unece_due_date_code") or "", + amount=tax_dict["amount"], + amount_type=tax_dict["amount_type"] == "percent" + and "%" + or _("(fixed)"), + ), + ) + + def compare_lines( + self, + existing_lines, + import_lines, + chatter_msg, + qty_precision=None, + price_precision=None, + seller=False, + ): + """Example: + existing_lines = [{ + 'product': odoo_recordset, + 'name': 'USB Adapter', + 'qty': 1.5, + 'price_unit': 23.43, # without taxes + 'uom': uom, + 'line': recordset, + # Add taxes + }] + import_lines = [{ + 'product': { + 'barcode': '2100002000003', + 'code': 'EAZY1', + }, + 'quantity': 2, + 'price_unit': 12.42, # without taxes + 'uom': {'unece_code': 'C62'}, + }] + + Result of the method: + { + 'to_remove': line_multirecordset, + 'to_add': [ + { + 'product': recordset1, + 'uom', recordset, + 'import_line': {import dict}, + # We provide product and uom as recordset to avoid the + # need to compute a second match + ] + 'to_update': { + 'line1_recordset': {'qty': [1, 2], 'price_unit': [4.5, 4.6]}, + # qty must be updated from 1 to 2 + # price must be updated from 4.5 to 4.6 + 'line2_recordset': {'qty': [12, 13]}, + # only qty must be updated + } + } + + The check existing_currency == import_currency must be done before + the call to compare_lines() + """ + dpo = self.env["decimal.precision"] + if qty_precision is None: + qty_precision = dpo.precision_get("Product Unit of Measure") + if price_precision is None: + price_precision = dpo.precision_get("Product Price") + existing_lines_dict = {} + for eline in existing_lines: + if not eline.get("product"): + chatter_msg.append( + _( + "The existing line '%s' doesn't have any product, " + "so the lines haven't been updated." + ) + % eline.get("name") + ) + return False + if eline["product"] in existing_lines_dict: + chatter_msg.append( + _( + "The product '%s' is used on several existing " + "lines, so the lines haven't been updated." + ) + % eline["product"].display_name + ) + return False + existing_lines_dict[eline["product"]] = eline + unique_import_products = [] + res = { + "to_remove": False, + "to_add": [], + "to_update": {}, + } + for iline in import_lines: + if not iline.get("product"): + chatter_msg.append( + _( + "One of the imported lines doesn't have any product, " + "so the lines haven't been updated." + ) + ) + return False + product = self._match_product(iline["product"], chatter_msg, seller=seller) + uom = self._match_uom(iline.get("uom"), chatter_msg, product) + if product in unique_import_products: + chatter_msg.append( + _( + "The product '%s' is used on several imported lines, " + "so the lines haven't been updated." + ) + % product.display_name + ) + return False + unique_import_products.append(product) + if product in existing_lines_dict: + if uom != existing_lines_dict[product]["uom"]: + chatter_msg.append( + _( + "For product '%(product)s', the unit of measure is " + "%(uom_product)s on the existing line, but it is " + "%(uom_imported)s on the imported line." + "We don't support this scenario for the moment, so " + "the lines haven't been updated.", + product=product.display_name, + uom_product=existing_lines_dict[product]["uom"].name, + uom_imported=uom.name, + ) + ) + return False + # used for to_remove + existing_lines_dict[product]["import"] = True + oline = existing_lines_dict[product]["line"] + res["to_update"][oline] = self._prepare_order_line_update_values( + existing_lines_dict[product], iline, qty_precision, price_precision + ) + else: + res["to_add"].append( + {"product": product, "uom": uom, "import_line": iline} + ) + for exiting_dict in existing_lines_dict.values(): + if not exiting_dict.get("import"): + if res["to_remove"]: + res["to_remove"] += exiting_dict["line"] + else: + res["to_remove"] = exiting_dict["line"] + return res + + def _prepare_order_line_update_values( + self, existing_line, iline, qty_precision, price_precision + ): + values = {} + if float_compare( + iline["qty"], + existing_line["qty"], + precision_digits=qty_precision, + ): + values["qty"] = [existing_line["qty"], iline["qty"]] + if "price_unit" in iline and float_compare( + iline["price_unit"], + existing_line["price_unit"], + precision_digits=price_precision, + ): + values["price_unit"] = [ + existing_line["price_unit"], + iline["price_unit"], + ] + return values + + def _prepare_account_speed_dict(self): + company_id = self._context.get("force_company") or self.env.company.id + res = self.env["account.account"].search_read( + [("company_id", "=", company_id), ("deprecated", "=", False)], ["code"] + ) + speed_dict = {} + for line in res: + speed_dict[line["code"].upper()] = line["id"] + return speed_dict + + @api.model + def _match_account(self, account_dict, chatter_msg, speed_dict=None): + """Example: + account_dict = { + 'code': '411100', + } + speed_dict is usefull to gain performance when you have a lot of + accounts to match + """ + if not account_dict: + account_dict = {} + aao = self.env["account.account"] + if speed_dict is None: + speed_dict = self._prepare_account_speed_dict() + self._strip_cleanup_dict(account_dict) + account = self._direct_match(account_dict, aao) + if account: + return account + if account_dict.get("code"): + acc_code = account_dict["code"].upper() + if acc_code in speed_dict: + return aao.browse(speed_dict[acc_code]) + # Match when account_dict['code'] is longer than Odoo's account + # codes because of trailing '0' + # I don't think we need a warning for this kind of match + acc_code_tmp = acc_code + while acc_code_tmp and acc_code_tmp[-1] == "0": + acc_code_tmp = acc_code_tmp[:-1] + if acc_code_tmp and acc_code_tmp in speed_dict: + return aao.browse(speed_dict[acc_code_tmp]) + # Match when account_dict['code'] is shorter than Odoo's accounts + # -> warns the user about this + for code, account_id in speed_dict.items(): + if code.startswith(acc_code): + chatter_msg.append( + _( + "Approximate match: account %(account)s has been matched " + "with account %(matched_account)s", + account=account_dict["code"], + matched_account=code, + ) + ) + return aao.browse(account_id) + raise self.user_error_wrap( + "_match_account", + account_dict, + _( + "Odoo couldn't find any account corresponding to the " + "following information extracted from the business document:\n" + "Account code: %s" + ) + % (account_dict.get("code") or ""), + ) + + def _prepare_analytic_account_speed_dict(self): + company_id = self._context.get("force_company") or self.env.company.id + res = self.env["account.analytic.account"].search_read( + [("company_id", "=", company_id)], ["code"] + ) + speed_dict = {} + for line in res: + if line["code"]: + speed_dict[line["code"].upper()] = line["id"] + return speed_dict + + @api.model + def _match_analytic_account(self, aaccount_dict, chatter_msg, speed_dict=None): + """Example: + aaccount_dict = { + 'code': '627', + } + speed_dict is usefull to gain performance when you have a lot of + analytic accounts to match + """ + if not aaccount_dict: + aaccount_dict = {} + aaao = self.env["account.analytic.account"] + if speed_dict is None: + speed_dict = self._prepare_analytic_account_speed_dict() + self._strip_cleanup_dict(aaccount_dict) + aaccount = self._direct_match(aaccount_dict, aaao) + if aaccount: + return aaccount + if aaccount_dict.get("code"): + aacode = aaccount_dict["code"].upper() + if aacode in speed_dict: + return aaao.browse(speed_dict[aacode]) + raise self.user_error_wrap( + "_match_analytic_account", + aaccount_dict, + _( + "Odoo couldn't find any analytic account corresponding to the " + "following information extracted from the business document:\n" + "Analytic account code: %s" + ) + % (aaccount_dict.get("code") or ""), + ) + + def _prepare_journal_speed_dict(self): + company_id = self._context.get("force_company") or self.env.company.id + res = self.env["account.journal"].search_read( + [("company_id", "=", company_id)], ["code"] + ) + speed_dict = {} + for line in res: + speed_dict[line["code"].upper()] = line["id"] + return speed_dict + + @api.model + def _match_journal(self, journal_dict, chatter_msg, speed_dict=None): + """Example: + journal_dict = { + 'code': 'MISC', + } + speed_dict is usefull to gain performance when you have a lot of + journals to match + """ + if not journal_dict: + journal_dict = {} + ajo = self.env["account.journal"] + if speed_dict is None: + speed_dict = self._prepare_journal_speed_dict() + self._strip_cleanup_dict(journal_dict) + journal = self._direct_match(journal_dict, ajo) + if journal: + return journal + if journal_dict.get("code"): + jcode = journal_dict["code"].upper() + if jcode in speed_dict: + return ajo.browse(speed_dict[jcode]) + # case insensitive + raise self.user_error_wrap( + "_match_journal", + journal_dict, + _( + "Odoo couldn't find any journal corresponding to the " + "following information extracted from the business document:\n" + "Journal code: %s" + ) + % (journal_dict.get("code") or ""), + ) + + # Code moved from base_business_document_import_stock + # Now that the incoterm obj (account.incoterms) is defined in + # the 'account' module (since Odoo v12) instead of 'stock' + @api.model + def _match_incoterm(self, incoterm_dict, chatter_msg): + aio = self.env["account.incoterms"] + if not incoterm_dict: + incoterm_dict = {} + self._strip_cleanup_dict(incoterm_dict) + incoterm = self._direct_match(incoterm_dict, aio) + if incoterm: + return incoterm + if incoterm_dict.get("code"): + incoterm = aio.search( + [ + "|", + ("name", "=ilike", incoterm_dict["code"]), + ("code", "=ilike", incoterm_dict["code"]), + ], + limit=1, + ) + if incoterm: + return incoterm + else: + self.user_error_wrap( + "_match_incoterm", + incoterm_dict, + _("Could not find any Incoterm in Odoo corresponding " "to '%s'") + % incoterm_dict["code"], + ) + return False + + @api.model + def _check_company(self, company_dict, chatter_msg): + if not company_dict: + company_dict = {} + rco = self.env["res.company"] + if self._context.get("force_company"): + company = rco.browse(self._context["force_company"]) + else: + company = self.env.company + if company_dict.get("vat"): + parsed_company_vat = company_dict["vat"].replace(" ", "").upper() + if company.partner_id.vat: + if company.partner_id.vat != parsed_company_vat: + raise self.user_error_wrap( + "_check_company", + company_dict, + _( + "The VAT number of the customer written in the " + "business document (%(parsed_vat)s) doesn't match " + "the VAT number of the company '%(company)s' (%(vat)s) " + "in which you are trying to import this document.", + parsed_vat=parsed_company_vat, + company=company.display_name, + vat=company.partner_id.vat, + ), + ) + else: + chatter_msg.append( + _("Missing VAT number on company '%s'") % company.display_name + ) + + def get_xml_files_from_pdf(self, pdf_file): + """Returns a dict with key = filename, value = XML file obj""" + logger.warning( + "`get_xml_files_from_pdf` deprecated: use `pdf.helper.pdf_get_xml_files`" + ) + return self.env["pdf.helper"].pdf_get_xml_files(pdf_file) + + @api.model + def post_create_or_update(self, parsed_dict, record, doc_filename=None): + if parsed_dict.get("attachments"): + for filename, data_base64 in parsed_dict["attachments"].items(): + self.env["ir.attachment"].create( + { + "name": filename, + "res_id": record.id, + "res_model": str(record._name), + "datas": data_base64, + } + ) + for msg in parsed_dict["chatter_msg"]: + record.message_post(body=msg) + if parsed_dict.get("note"): + if doc_filename: + msg = _("Notes in file %s:") % doc_filename + else: + msg = _("Notes in imported document:") + record.message_post( # pylint: disable=translation-required + body="{} {}".format(msg, parsed_dict["note"]) + ) diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..2aa685f --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ +* Alexis de Lattre +* Nicolas JEUDY +* Jacques-Etienne Baudoux +* Phuc (Tran Thanh) +* Simone Orsi diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/readme/DESCRIPTION.rst new file mode 100644 index 0000000..a5b1f2c --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/readme/DESCRIPTION.rst @@ -0,0 +1,5 @@ +This is a technical module ; it doesn't bring any useful feature by itself. This module is the base modules for 2 other modules : + +* *account_invoice_import* which imports supplier invoices as PDF or XML files (this module also requires some additional modules such as *account_invoice_import_invoice2data*, *account_invoice_import_ubl*, etc... to support specific invoice formats), + +* *sale_invoice_import* which imports sale orders as CSV, XML or PDF files (this module also requires some additional modules such as *sale_invoice_import_csv* or *sale_invoice_import_ubl* to support specific order formats) diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/static/description/icon.png b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/static/description/index.html b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/static/description/index.html new file mode 100644 index 0000000..26a8ed2 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/static/description/index.html @@ -0,0 +1,431 @@ + + + + + +Base Business Document Import + + + +
    +

    Base Business Document Import

    + + +

    Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    This is a technical module ; it doesn’t bring any useful feature by itself. This module is the base modules for 2 other modules :

    +
      +
    • account_invoice_import which imports supplier invoices as PDF or XML files (this module also requires some additional modules such as account_invoice_import_invoice2data, account_invoice_import_ubl, etc… to support specific invoice formats),
    • +
    • sale_invoice_import which imports sale orders as CSV, XML or PDF files (this module also requires some additional modules such as sale_invoice_import_csv or sale_invoice_import_ubl to support specific order formats)
    • +
    +

    Table of contents

    + +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Akretion
    • +
    • Nicolas JEUDY
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    +Odoo Community Association +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    alexis-via

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/tests/__init__.py b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/tests/__init__.py new file mode 100644 index 0000000..12d2821 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/tests/__init__.py @@ -0,0 +1 @@ +from . import test_business_document_import diff --git a/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/tests/test_business_document_import.py b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/tests/test_business_document_import.py new file mode 100644 index 0000000..db21d0d --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/base_business_document_import/tests/test_business_document_import.py @@ -0,0 +1,482 @@ +# Copyright 2016-2021 Akretion France (http://www.akretion.com/) +# Copyright 2020-2021 Jacques-Etienne Baudoux (BCIM) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import logging + +from odoo.exceptions import UserError +from odoo.tests import tagged +from odoo.tests.common import TransactionCase + +logger = logging.getLogger(__name__) + + +@tagged("post_install", "-at_install") +class TestBaseBusinessDocumentImport(TransactionCase): + def test_match_partner(self): + partner1 = self.env["res.partner"].create( + {"name": "COGIP", "ref": "COGIP", "website": "http://example.com/"} + ) + bdio = self.env["business.document.import"] + # match on domain extracted from email with warning + partner_dict = {"email": "alexis.delattre@example.com"} + warn = [] + res = bdio._match_partner(partner_dict, warn, partner_type=False) + self.assertEqual(res, partner1) + self.assertTrue(warn) + partner_dict = {"name": "ready mat "} + partner_ready_mat = self.env.ref("base.res_partner_4") + partner_ready_mat.supplier_rank = 1 # to be considered as a supplier + res = bdio._match_partner(partner_dict, [], partner_type="supplier") + self.assertEqual(res, partner_ready_mat) + partner_dict = {"ref": "COGIP"} + res = bdio._match_partner(partner_dict, [], partner_type=False) + self.assertEqual(res, partner1) + + def test_direct_match_recordset(self): + partner = self.env["res.partner"].create( + { + "name": "Alexis Delattre", + "email": "alexis.delattre@example.com", + "ref": "C1242", + } + ) + partner_dict = { + "recordset": partner, + } + bdio = self.env["business.document.import"] + partner_match = bdio._direct_match(partner_dict, self.env["res.partner"], True) + self.assertEqual(partner, partner_match) + + with self.assertRaises(UserError): + bdio._direct_match(partner_dict, self.env["res.partner.bank"], True) + + partner_match = bdio._direct_match( + partner_dict, self.env["res.partner.bank"], False + ) + self.assertEqual(None, partner_match) + + def test_direct_match_id(self): + partner = self.env["res.partner"].create( + { + "name": "Alexis Delattre", + "email": "alexis.delattre@example.com", + "ref": "C1242", + } + ) + partner_dict = { + "id": partner.id, + } + bdio = self.env["business.document.import"] + partner_match = bdio._direct_match(partner_dict, self.env["res.partner"], True) + self.assertEqual(partner, partner_match) + + partner_dict = { + "id": 234234234234231, + } + with self.assertRaises(UserError): + bdio._direct_match(partner_dict, self.env["res.partner"], True) + + def test_direct_match_xmlid(self): + partner_dict = { + "xmlid": "i.dont.exist.odoo", + } + bdio = self.env["business.document.import"] + with self.assertRaises(UserError): + bdio._direct_match(partner_dict, self.env["res.partner"], True) + + partner_dict = { + "xmlid": "base.fr", + } + with self.assertRaises(UserError): + bdio._direct_match(partner_dict, self.env["res.partner"], True) + + partner_dict = { + "xmlid": "base.main_partner", + } + partner = bdio._direct_match(partner_dict, self.env["res.partner"], True) + self.assertEqual(partner.id, self.env.ref("base.main_partner").id) + + def test_match_partner_ref(self): + partner1 = self.env["res.partner"].create( + { + "name": "Alexis Delattre", + "email": "alexis.delattre@example.com", + "ref": "C1242", + } + ) + bdio = self.env["business.document.import"] + partner_dict = { + "name": "Alexis Delattre", + "email": "alexis.delattre@example.com", + "ref": "C1242", + } + chatter_msg = [] + domain = [] + order = "" + partner = bdio._match_partner_ref(partner_dict, chatter_msg, domain, order) + self.assertEqual(partner, partner1) + + def test_match_partner_contact(self): + partner_email = self.env["res.partner"].create( + { + "email": "alexis.email@example.com", + "name": "Alexis email", + } + ) + partner_contact = self.env["res.partner"].create( + { + "email": "alexis.name@example.com", + "name": "Alexis name", + } + ) + partner_phone = self.env["res.partner"].create( + { + "email": "alexis.phone@example.com", + "phone": "01.41.98.12.42", + "name": "Alexis phone", + } + ) + bdio = self.env["business.document.import"] + chatter_msg = [] + domain = [] + order = "" + + partner_dict = { + "name": "Alexis email", + "email": "alexis.email@example.com", + } + partner = bdio._match_partner_contact(partner_dict, chatter_msg, domain, order) + self.assertEqual(partner, partner_email) + + partner_dict = { + "contact": "Alexis name", + "email": "alexis.name@example.com", + } + partner = bdio._match_partner_contact(partner_dict, chatter_msg, domain, order) + self.assertEqual(partner, partner_contact) + + partner_dict = { + "name": "Alexis phone", + "email": "alexis.phone@example.com", + "phone": "01.41.98.12.42", + } + partner = bdio._match_partner_contact(partner_dict, chatter_msg, domain, order) + self.assertEqual(partner, partner_phone) + + def test_match_partner_name(self): + partner_name = self.env["res.partner"].create( + { + "email": "alexis.name@example.com", + "name": "Alexis name", + } + ) + bdio = self.env["business.document.import"] + chatter_msg = [] + domain = [] + order = "" + + partner_dict = { + "name": "Alexis name", + "email": "alexis.name@example.com", + } + partner = bdio._match_partner_name(partner_dict, chatter_msg, domain, order) + self.assertEqual(partner, partner_name) + + def test_get_partner_website_domain(self): + bdio = self.env["business.document.import"] + + www_website = {"website": "www.example.com"} + website_domain = bdio._get_partner_website_domain(www_website) + self.assertEqual(website_domain, "example.com") + + no_website = bdio._get_partner_website_domain({}) + self.assertEqual(False, no_website) + + https_www_website = {"website": "https://www.example.com"} + website_domain = bdio._get_partner_website_domain(https_www_website) + self.assertEqual(website_domain, "example.com") + + https_website = {"website": "https://example.com"} + website_domain = bdio._get_partner_website_domain(https_website) + self.assertEqual(website_domain, "example.com") + + https_path_website = {"website": "https://subdomain.example.com/bla/bla"} + website_domain = bdio._get_partner_website_domain(https_path_website) + self.assertEqual(website_domain, "example.com") + + https_big_subdomain_website = { + "website": "https://just.a.big.subdomain.example.com" + } + website_domain = bdio._get_partner_website_domain(https_big_subdomain_website) + self.assertEqual(website_domain, "example.com") + + def test_match_shipping_partner(self): + rpo = self.env["res.partner"] + bdio = self.env["business.document.import"] + partner1 = rpo.create( + { + "name": "Akretion France", + "street": "27 rue Henri Rolland", + "zip": "69100", + "country_id": self.env.ref("base.fr").id, + "email": "contact@akretion.com", + } + ) + rpo.create( + { + "parent_id": partner1.id, + "name": "Sébastien BEAU", + "email": "sebastien.beau@akretion.com", + "type": "contact", + } + ) + cpartner3 = rpo.create( + { + "parent_id": partner1.id, + "name": "Flo", + "email": "flo@akretion.com", + "street": "42 rue des lilas d'Espagne", + "zip": "92400", + "city": "Courbevoie", + "country_id": self.env.ref("base.fr").id, + "type": "invoice", + } + ) + shipping_dict = { + "email": "contact@akretion.com", + } + res = bdio._match_shipping_partner(shipping_dict, None, []) + self.assertEqual(res, partner1) + shipping_dict = { + "street": "42 rue des lilas d'Espagne", + "zip": "92400", + "country_code": "fr", + } + res = bdio._match_shipping_partner(shipping_dict, None, []) + self.assertEqual(res, cpartner3) + shipping_dict["zip"] = "92500" + with self.assertRaises(UserError): + bdio._match_shipping_partner(shipping_dict, None, []) + + no_error = bdio._match_shipping_partner( + shipping_dict, None, [], raise_exception=False + ) + self.assertEqual(no_error, None) + + partner2 = rpo.create( + { + "name": "Alex Corp", + "zip": "69009", + "country_id": self.env.ref("base.fr").id, + "email": "contact@alex.com", + } + ) + shipping_dict = { + "email": "contact@alex.com", + "zip": "69009", + "country_code": "FR", + } + res = bdio._match_shipping_partner(shipping_dict, None, []) + self.assertEqual(res, partner2) + + def test_match_currency(self): + bdio = self.env["business.document.import"] + currency_dict = {"xmlid": "base.USD"} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, self.env.ref("base.USD")) + first_cur = self.env["res.currency"].search([], limit=1) + currency_dict = {"id": first_cur.id} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, first_cur) + currency_dict = {"recordset": first_cur} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, first_cur) + currency_dict = {"iso": "EUR"} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, self.env.ref("base.EUR")) + currency_dict = {"symbol": "€"} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, self.env.ref("base.EUR")) + currency_dict = {"country_code": "fr "} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, self.env.ref("base.EUR")) + currency_dict = {"iso_or_symbol": "€"} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, self.env.ref("base.EUR")) + currency_id = self.env.ref("base.KRW").id + self.cr.execute( + "UPDATE res_company SET currency_id = %s WHERE id = 1", (currency_id,) + ) + currency_dict = {} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, self.env.ref("base.KRW")) + + def test_match_product(self): + bdio = self.env["business.document.import"] + ppo = self.env["product.product"] + product1 = ppo.create( + { + "name": "Test Product", + "barcode": "9782203121102", + "seller_ids": [ + ( + 0, + 0, + { + "partner_id": self.env.ref("base.res_partner_2").id, + "product_code": "TEST1242", + }, + ), + ], + "packaging_ids": [(0, 0, {"name": "Big Pack", "barcode": "BIG-PACK"})], + } + ) + # Match by code + product_dict = {"code": "FURN_7777 "} + res = bdio._match_product(product_dict, []) + self.assertEqual(res, self.env.ref("product.product_delivery_01")) + # Match by barcode + product_dict = {"barcode": "9782203121102"} + res = bdio._match_product(product_dict, []) + self.assertEqual(res, product1) + # Match by packaging barcode + product_dict = {"barcode": "BIG-PACK"} + res = bdio._match_product(product_dict, []) + self.assertEqual(res, product1) + # Match by seller + product_dict = {"code": "TEST1242"} + res = bdio._match_product( + product_dict, [], seller=self.env.ref("base.res_partner_2") + ) + self.assertEqual(res, product1) + raise_test = True + try: + bdio._match_product(product_dict, [], seller=False) + raise_test = False + except Exception: + logger.info("Exception catched.") + + self.assertTrue(raise_test) + + def test_match_uom(self): + bdio = self.env["business.document.import"] + uom_dict = {"unece_code": "KGM"} + res = bdio._match_uom(uom_dict, []) + self.assertEqual(res, self.env.ref("uom.product_uom_kgm")) + uom_dict = {"unece_code": "NIU"} + res = bdio._match_uom(uom_dict, []) + self.assertEqual(res, self.env.ref("uom.product_uom_unit")) + uom_dict = {"name": "day"} + res = bdio._match_uom(uom_dict, []) + self.assertEqual(res, self.env.ref("uom.product_uom_day")) + uom_dict = {"name": "lb"} + res = bdio._match_uom(uom_dict, []) + self.assertEqual(res, self.env.ref("uom.product_uom_lb")) + uom_dict = {} + product = self.env.ref("product.product_product_1") + res = bdio._match_uom(uom_dict, [], product=product) + self.assertEqual(res, product.uom_id) + + def test_match_tax(self): + # on purpose, I use a rate that doesn't exist + # so that this test works even if the l10n_de is installed + de_tax_21 = self.env["account.tax"].create( + { + "name": "German VAT purchase 18.0%", + "description": "DE-VAT-buy-18.0", + "type_tax_use": "purchase", + "price_include": False, + "amount": 18, + "amount_type": "percent", + "tax_exigibility": "on_invoice", + "unece_type_id": self.env.ref("account_tax_unece.tax_type_vat").id, + "unece_categ_id": self.env.ref("account_tax_unece.tax_categ_s").id, + } + ) + de_tax_21_onpayment = self.env["account.tax"].create( + { + "name": "German VAT purchase 18.0%", + "description": "DE-VAT-buy-18.0", + "type_tax_use": "purchase", + "price_include": False, + "amount": 18, + "amount_type": "percent", + "tax_exigibility": "on_payment", + "unece_type_id": self.env.ref("account_tax_unece.tax_type_vat").id, + "unece_categ_id": self.env.ref("account_tax_unece.tax_categ_s").id, + } + ) + de_tax_21_ttc = self.env["account.tax"].create( + { + "name": "German VAT purchase 18.0% TTC", + "description": "DE-VAT-buy-18.0-TTC", + "type_tax_use": "purchase", + "price_include": True, + "amount": 18, + "amount_type": "percent", + "tax_exigibility": "on_invoice", + "unece_type_id": self.env.ref("account_tax_unece.tax_type_vat").id, + "unece_categ_id": self.env.ref("account_tax_unece.tax_categ_s").id, + } + ) + bdio = self.env["business.document.import"] + tax_dict = { + "amount_type": "percent", + "amount": 18, + "unece_type_code": "VAT", + "unece_categ_code": "S", + "unece_due_date_code": "5", + } + res = bdio._match_tax(tax_dict, [], type_tax_use="purchase") + self.assertEqual(res, de_tax_21) + tax_dict.pop("unece_categ_code") + res = bdio._match_tax(tax_dict, [], type_tax_use="purchase") + self.assertEqual(res, de_tax_21) + res = bdio._match_tax(tax_dict, [], type_tax_use="purchase", price_include=True) + self.assertEqual(res, de_tax_21_ttc) + res = bdio._match_taxes([tax_dict], [], type_tax_use="purchase") + self.assertEqual(res, de_tax_21) + res = bdio._match_taxes( + [dict(tax_dict, unece_due_date_code=72)], [], type_tax_use="purchase" + ) + self.assertEqual(res, de_tax_21_onpayment) + + def test_match_account_exact(self): + bdio = self.env["business.document.import"] + acc = self.env["account.account"].create( + { + "name": "Test 898999", + "code": "898999", + "account_type": "expense", + } + ) + res = bdio._match_account({"code": "898999"}, []) + self.assertEqual(acc, res) + + def test_match_account_bigger_in(self): + bdio = self.env["business.document.import"] + acc = self.env["account.account"].create( + { + "name": "Test 898999", + "code": "898999", + "account_type": "expense", + } + ) + res = bdio._match_account({"code": "89899900"}, []) + self.assertEqual(acc, res) + + def test_match_account_smaller_in(self): + bdio = self.env["business.document.import"] + acc = self.env["account.account"].create( + { + "name": "Test 89899910", + "code": "89899910", + "account_type": "expense", + } + ) + chatter = [] + res = bdio._match_account({"code": "898999"}, chatter) + self.assertEqual(acc, res) + self.assertEqual(len(chatter), 1) diff --git a/odoo-bringout-oca-edi-base_business_document_import/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-base_business_document_import/doc/ARCHITECTURE.md new file mode 100644 index 0000000..5910864 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_business_document_import Module - base_business_document_import + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-base_business_document_import/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-base_business_document_import/doc/CONFIGURATION.md new file mode 100644 index 0000000..2224f65 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_business_document_import. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-base_business_document_import/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-base_business_document_import/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-base_business_document_import/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-base_business_document_import/doc/DEPENDENCIES.md new file mode 100644 index 0000000..e44723b --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/doc/DEPENDENCIES.md @@ -0,0 +1,7 @@ +# Dependencies + +This addon depends on: + +- account_tax_unece +- uom_unece +- [pdf_helper](../../odoo-bringout-oca-edi-framework-pdf_helper) diff --git a/odoo-bringout-oca-edi-base_business_document_import/doc/FAQ.md b/odoo-bringout-oca-edi-base_business_document_import/doc/FAQ.md new file mode 100644 index 0000000..687ae98 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_business_document_import or install in UI. diff --git a/odoo-bringout-oca-edi-base_business_document_import/doc/INSTALL.md b/odoo-bringout-oca-edi-base_business_document_import/doc/INSTALL.md new file mode 100644 index 0000000..a31a4d5 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-base_business_document_import" +# or +uv pip install odoo-bringout-oca-edi-base_business_document_import" +``` diff --git a/odoo-bringout-oca-edi-base_business_document_import/doc/MODELS.md b/odoo-bringout-oca-edi-base_business_document_import/doc/MODELS.md new file mode 100644 index 0000000..e34c7e6 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in base_business_document_import. + +```mermaid +classDiagram + class business_document_import +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-base_business_document_import/doc/OVERVIEW.md b/odoo-bringout-oca-edi-base_business_document_import/doc/OVERVIEW.md new file mode 100644 index 0000000..ca37daf --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_business_document_import. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_business_document_import +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-base_business_document_import/doc/REPORTS.md b/odoo-bringout-oca-edi-base_business_document_import/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-base_business_document_import/doc/SECURITY.md b/odoo-bringout-oca-edi-base_business_document_import/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-base_business_document_import/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-base_business_document_import/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-base_business_document_import/doc/USAGE.md b/odoo-bringout-oca-edi-base_business_document_import/doc/USAGE.md new file mode 100644 index 0000000..f743700 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_business_document_import +``` diff --git a/odoo-bringout-oca-edi-base_business_document_import/doc/WIZARDS.md b/odoo-bringout-oca-edi-base_business_document_import/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-base_business_document_import/pyproject.toml b/odoo-bringout-oca-edi-base_business_document_import/pyproject.toml new file mode 100644 index 0000000..6d5f7e8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import/pyproject.toml @@ -0,0 +1,44 @@ +[project] +name = "odoo-bringout-oca-edi-base_business_document_import" +version = "16.0.0" +description = "Base Business Document Import - Provides technical tools to import sale orders or supplier invoices" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-account_tax_unece>=16.0.0", + "odoo-bringout-oca-edi-uom_unece>=16.0.0", + "odoo-bringout-oca-edi-pdf_helper>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_business_document_import"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/README.md b/odoo-bringout-oca-edi-base_business_document_import_phone/README.md new file mode 100644 index 0000000..4dccdfd --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/README.md @@ -0,0 +1,45 @@ +# Base Business Document Import Phone + +Odoo addon: base_business_document_import_phone + +## Installation + +```bash +pip install odoo-bringout-oca-edi-base_business_document_import_phone +``` + +## Dependencies + +This addon depends on: +- phone_validation +- base_business_document_import + +## Manifest Information + +- **Name**: Base Business Document Import Phone +- **Version**: 16.0.1.0.0 +- **Category**: Hidden +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `base_business_document_import_phone`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/README.rst b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/README.rst new file mode 100644 index 0000000..bb904bb --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/README.rst @@ -0,0 +1,89 @@ +=================================== +Base Business Document Import Phone +=================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:9a0a7cc41eed1c051ee76ea121778592229ec8d26e5fb419580c22288615d5cb + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_business_document_import_phone + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_business_document_import_phone + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +With this module, Odoo will be able to use phone or mobile numbers to find the appropriate partner when importing business documents. When the *phone_validation* module from the official addons is installed, the phone numbers are stored in E.164 format (for example: +33 1 41 98 12 42) in Odoo. This allows reliable search on phone or mobile numbers when importing business documents. + +**Table of contents** + +.. contents:: + :local: + +Installation +============ + +This module will be installed automatically if the modules *phone_validation* and *base_business_document_import* are installed. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/__init__.py b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/__manifest__.py b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/__manifest__.py new file mode 100644 index 0000000..cad9e14 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2016-2021 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Base Business Document Import Phone", + "version": "16.0.1.0.0", + "category": "Hidden", + "license": "AGPL-3", + "summary": "Use phone numbers to match partners upon import of " + "business documents", + "author": "Akretion,Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/edi", + "depends": [ + "phone_validation", + "base_business_document_import", + ], + "external_dependencies": {"python": ["phonenumbers"]}, + "installable": True, + "auto_install": True, +} diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/base_business_document_import_phone.pot b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/base_business_document_import_phone.pot new file mode 100644 index 0000000..e23ea45 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/base_business_document_import_phone.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import_phone +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_business_document_import_phone +#: model:ir.model,name:base_business_document_import_phone.model_business_document_import +msgid "Common methods to import business documents" +msgstr "" diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/bs.po b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/bs.po new file mode 100644 index 0000000..850a36e --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/bs.po @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import_phone +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_business_document_import_phone +#: model:ir.model,name:base_business_document_import_phone.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Zajedničke metode za uvoz poslovnih dokumenata" diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/de.po b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/de.po new file mode 100644 index 0000000..233560b --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/de.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import_phone +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-05-27 09:19+0000\n" +"Last-Translator: Maria Sparenberg \n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: base_business_document_import_phone +#: model:ir.model,name:base_business_document_import_phone.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Allgemeine Methoden für den Import von Unternehmensdokumenten" diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/hr.po b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/hr.po new file mode 100644 index 0000000..eba7629 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/hr.po @@ -0,0 +1,23 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import_phone +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-07-02 14:19+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 3.10\n" + +#. module: base_business_document_import_phone +#: model:ir.model,name:base_business_document_import_phone.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Zajedničke metode za uvoz poslovnih dokumenata" diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/it.po b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/it.po new file mode 100644 index 0000000..48d1537 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/i18n/it.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import_phone +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_business_document_import_phone +#: model:ir.model,name:base_business_document_import_phone.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Metodi comuni per l'importazione di documenti di lavoro" diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/models/__init__.py b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/models/__init__.py new file mode 100644 index 0000000..d695bc5 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/models/__init__.py @@ -0,0 +1 @@ +from . import business_document_import diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/models/business_document_import.py b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/models/business_document_import.py new file mode 100644 index 0000000..2303667 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/models/business_document_import.py @@ -0,0 +1,53 @@ +# Copyright 2015-2021 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import logging + +from odoo import api, models + +logger = logging.getLogger(__name__) +try: + import phonenumbers +except ImportError: + logger.debug("Cannot import phonenumbers") + + +class BusinessDocumentImport(models.AbstractModel): + _inherit = "business.document.import" + + @api.model + def _hook_match_partner(self, partner_dict, chatter_msg, domain, order): + rpo = self.env["res.partner"] + # 'domain' already contains the company_id criteria + if partner_dict.get("country_code") and partner_dict.get("phone"): + phone_num_e164 = False + country_code = partner_dict["country_code"].upper() + try: + phone_num = phonenumbers.parse(partner_dict["phone"], country_code) + phone_num_e164 = phonenumbers.format_number( + phone_num, phonenumbers.PhoneNumberFormat.E164 + ) + logger.debug("_hook_match_partner phone_num_e164: %s", phone_num_e164) + except Exception as e: + logger.debug( + "Could not reformat phone number '%s' with country code '%s'. " + "Error: %s'", + partner_dict["phone"], + country_code, + e, + ) + if phone_num_e164: + partner = rpo.search( + domain + + [ + "|", + ("phone", "=", phone_num_e164), + ("mobile", "=", phone_num_e164), + ], + limit=1, + order=order, + ) + if partner: + return partner + return super()._hook_match_partner(partner_dict, chatter_msg, domain, order) diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..ff65d68 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Alexis de Lattre diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/readme/DESCRIPTION.rst new file mode 100644 index 0000000..9d94bd0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +With this module, Odoo will be able to use phone or mobile numbers to find the appropriate partner when importing business documents. When the *phone_validation* module from the official addons is installed, the phone numbers are stored in E.164 format (for example: +33 1 41 98 12 42) in Odoo. This allows reliable search on phone or mobile numbers when importing business documents. diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/readme/INSTALL.rst b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/readme/INSTALL.rst new file mode 100644 index 0000000..f625d30 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/readme/INSTALL.rst @@ -0,0 +1 @@ +This module will be installed automatically if the modules *phone_validation* and *base_business_document_import* are installed. diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/static/description/icon.png b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/static/description/index.html b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/static/description/index.html new file mode 100644 index 0000000..2af8e0f --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/static/description/index.html @@ -0,0 +1,428 @@ + + + + + + +Base Business Document Import Phone + + + +
    +

    Base Business Document Import Phone

    + + +

    Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    With this module, Odoo will be able to use phone or mobile numbers to find the appropriate partner when importing business documents. When the phone_validation module from the official addons is installed, the phone numbers are stored in E.164 format (for example: +33 1 41 98 12 42) in Odoo. This allows reliable search on phone or mobile numbers when importing business documents.

    +

    Table of contents

    + +
    +

    Installation

    +

    This module will be installed automatically if the modules phone_validation and base_business_document_import are installed.

    +
    +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Akretion
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    +Odoo Community Association +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    alexis-via

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/tests/__init__.py b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/tests/__init__.py new file mode 100644 index 0000000..b73b947 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/tests/__init__.py @@ -0,0 +1 @@ +from . import test_phone_partner_match diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/tests/test_phone_partner_match.py b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/tests/test_phone_partner_match.py new file mode 100644 index 0000000..e92de3d --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/base_business_document_import_phone/tests/test_phone_partner_match.py @@ -0,0 +1,32 @@ +# Copyright 2016-2021 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.tests.common import TransactionCase + + +class TestPhonePartnerMatch(TransactionCase): + def test_phone_partner_match(self): + rpo = self.env["res.partner"] + bdoo = self.env["business.document.import"] + partner = rpo.create( + { + "name": "Alexis de Lattre", + "country_id": self.env.ref("base.fr").id, + "phone": "+33141981242", + "mobile": "+33699887766", + "supplier_rank": 10, + } + ) + partner_dict = { + "country_code": "FR", + "phone": "01.41.98.12.42", + } + res = bdoo._match_partner(partner_dict, []) + self.assertEqual(res, partner) + partner_dict = { + "country_code": "FR", + "phone": "(0)6-99-88-77-66", + } + res = bdoo._match_partner(partner_dict, []) + self.assertEqual(res, partner) diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/ARCHITECTURE.md new file mode 100644 index 0000000..cfc8ea5 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_business_document_import_phone Module - base_business_document_import_phone + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/CONFIGURATION.md new file mode 100644 index 0000000..851df7f --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_business_document_import_phone. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/DEPENDENCIES.md new file mode 100644 index 0000000..2071192 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/DEPENDENCIES.md @@ -0,0 +1,6 @@ +# Dependencies + +This addon depends on: + +- [phone_validation](../../odoo-bringout-oca-ocb-phone_validation) +- [base_business_document_import](../../odoo-bringout-oca-edi-base_business_document_import) diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/doc/FAQ.md b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/FAQ.md new file mode 100644 index 0000000..cdef628 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_business_document_import_phone or install in UI. diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/doc/INSTALL.md b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/INSTALL.md new file mode 100644 index 0000000..3b65a0a --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-base_business_document_import_phone" +# or +uv pip install odoo-bringout-oca-edi-base_business_document_import_phone" +``` diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/doc/MODELS.md b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/MODELS.md new file mode 100644 index 0000000..b935f9a --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in base_business_document_import_phone. + +```mermaid +classDiagram + class business_document_import +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/doc/OVERVIEW.md b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/OVERVIEW.md new file mode 100644 index 0000000..c8f659e --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_business_document_import_phone. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_business_document_import_phone +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/doc/REPORTS.md b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/doc/SECURITY.md b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/doc/USAGE.md b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/USAGE.md new file mode 100644 index 0000000..85f83bf --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_business_document_import_phone +``` diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/doc/WIZARDS.md b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-base_business_document_import_phone/pyproject.toml b/odoo-bringout-oca-edi-base_business_document_import_phone/pyproject.toml new file mode 100644 index 0000000..5e38051 --- /dev/null +++ b/odoo-bringout-oca-edi-base_business_document_import_phone/pyproject.toml @@ -0,0 +1,43 @@ +[project] +name = "odoo-bringout-oca-edi-base_business_document_import_phone" +version = "16.0.0" +description = "Base Business Document Import Phone - Use phone numbers to match partners upon import of business documents" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-ocb-phone_validation>=16.0.0", + "odoo-bringout-oca-edi-base_business_document_import>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_business_document_import_phone"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/README.md b/odoo-bringout-oca-edi-base_ebill_payment_contract/README.md new file mode 100644 index 0000000..bdcea78 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/README.md @@ -0,0 +1,44 @@ +# Base eBill Payment Contract + +Odoo addon: base_ebill_payment_contract + +## Installation + +```bash +pip install odoo-bringout-oca-edi-base_ebill_payment_contract +``` + +## Dependencies + +This addon depends on: +- account_invoice_transmit_method + +## Manifest Information + +- **Name**: Base eBill Payment Contract +- **Version**: 16.0.1.0.2 +- **Category**: N/A +- **License**: AGPL-3 +- **Installable**: False + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `base_ebill_payment_contract`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/README.rst b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/README.rst new file mode 100644 index 0000000..55157d4 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/README.rst @@ -0,0 +1,103 @@ +=========================== +Base eBill Payment Contract +=========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:305c1c00d3de8d5ef06c54ff8bad41c5051a5ad6725e4095da4399e76b8f3881 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_ebill_payment_contract + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_ebill_payment_contract + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +The goal of this module is to be a common ground for ebilling addons. +It adds an ebill.payment.contract attached to a partner. +Alone this module has no purpose. It needs to be installed with a module that implements a specific ebilling system. +This depending module has to implement his own 'transmit.method'. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +#. Install a specific e-billing module + (None are ready, yet) + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Camptocamp + +Contributors +~~~~~~~~~~~~ + +* Thierry Ducrest +* Phuc Tran Thanh + +Other credits +~~~~~~~~~~~~~ + +The development of this module has been financially supported by: + +* Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-TDu| image:: https://github.com/TDu.png?size=40px + :target: https://github.com/TDu + :alt: TDu + +Current `maintainer `__: + +|maintainer-TDu| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/__init__.py b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/__manifest__.py b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/__manifest__.py new file mode 100644 index 0000000..bee90bb --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2020 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Base eBill Payment Contract", + "summary": """ + Base for managing e-billing contracts""", + "version": "16.0.1.0.2", + "development_status": "Beta", + "license": "AGPL-3", + "author": "Camptocamp,Odoo Community Association (OCA)", + "maintainers": ["TDu"], + "website": "https://github.com/OCA/edi", + "depends": ["account_invoice_transmit_method"], + "data": ["security/ir.model.access.csv", "views/ebill_payment_contract.xml"], + "demo": ["demo/ebill_payment_contract.xml"], +} diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/demo/ebill_payment_contract.xml b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/demo/ebill_payment_contract.xml new file mode 100644 index 0000000..359a61c --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/demo/ebill_payment_contract.xml @@ -0,0 +1,13 @@ + + + + + draft + + + + + open + + + diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/i18n/base_ebill_payment_contract.pot b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/i18n/base_ebill_payment_contract.pot new file mode 100644 index 0000000..8abe434 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/i18n/base_ebill_payment_contract.pot @@ -0,0 +1,116 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ebill_payment_contract +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__cancel +msgid "Cancel" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model,name:base_ebill_payment_contract.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_uid +msgid "Created by" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_date +msgid "Created on" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__partner_id +msgid "Customer" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__display_name +msgid "Display Name" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__draft +msgid "Draft" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_end +msgid "End date" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__id +msgid "ID" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__is_valid +msgid "Is Valid" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__name +msgid "Name" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__open +msgid "Open" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__transmit_method_id +msgid "Service Name" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_start +msgid "Start date" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__state +msgid "State" +msgstr "" + +#. module: base_ebill_payment_contract +#: model_terms:ir.ui.view,arch_db:base_ebill_payment_contract.ebill_payment_contract_search_view +msgid "Valid" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.actions.act_window,name:base_ebill_payment_contract.ebill_payment_contract_act_window +#: model:ir.model,name:base_ebill_payment_contract.model_ebill_payment_contract +#: model:ir.ui.menu,name:base_ebill_payment_contract.ebill_payment_contract_menu +msgid "eBill Payment Contract" +msgstr "" diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/i18n/es.po b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/i18n/es.po new file mode 100644 index 0000000..c849c05 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/i18n/es.po @@ -0,0 +1,122 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ebill_payment_contract +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-11-20 22:34+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__cancel +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_ebill_payment_contract +#: model:ir.model,name:base_ebill_payment_contract.model_res_partner +msgid "Contact" +msgstr "Contacto" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__partner_id +msgid "Customer" +msgstr "Cliente" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__display_name +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_res_partner__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__draft +msgid "Draft" +msgstr "Borrador" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_end +msgid "End date" +msgstr "Fecha Final" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__id +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_res_partner__id +msgid "ID" +msgstr "ID" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__is_valid +msgid "Is Valid" +msgstr "Es Válido" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract____last_update +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_res_partner____last_update +msgid "Last Modified on" +msgstr "Última modificación el" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_uid +msgid "Last Updated by" +msgstr "Última Actualización por" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_date +msgid "Last Updated on" +msgstr "Última Actualización el" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__name +msgid "Name" +msgstr "Nombre" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__open +msgid "Open" +msgstr "Abrir" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__transmit_method_id +msgid "Service Name" +msgstr "Nombre del Servicio" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_start +msgid "Start date" +msgstr "Fecha Inicio" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__state +msgid "State" +msgstr "Estado" + +#. module: base_ebill_payment_contract +#: model_terms:ir.ui.view,arch_db:base_ebill_payment_contract.ebill_payment_contract_search_view +msgid "Valid" +msgstr "Válido" + +#. module: base_ebill_payment_contract +#: model:ir.actions.act_window,name:base_ebill_payment_contract.ebill_payment_contract_act_window +#: model:ir.model,name:base_ebill_payment_contract.model_ebill_payment_contract +#: model:ir.ui.menu,name:base_ebill_payment_contract.ebill_payment_contract_menu +msgid "eBill Payment Contract" +msgstr "Contrato de pago de facturas electrónicas" diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/i18n/it.po b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/i18n/it.po new file mode 100644 index 0000000..8eaed6e --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/i18n/it.po @@ -0,0 +1,119 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ebill_payment_contract +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-23 12:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__cancel +msgid "Cancel" +msgstr "Annulla" + +#. module: base_ebill_payment_contract +#: model:ir.model,name:base_ebill_payment_contract.model_res_partner +msgid "Contact" +msgstr "Contatto" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__partner_id +msgid "Customer" +msgstr "Cliente" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__draft +msgid "Draft" +msgstr "Bozza" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_end +msgid "End date" +msgstr "Data fine" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__id +msgid "ID" +msgstr "ID" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__is_valid +msgid "Is Valid" +msgstr "È valido" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__name +msgid "Name" +msgstr "Nome" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__open +msgid "Open" +msgstr "Aperto" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__transmit_method_id +msgid "Service Name" +msgstr "Nome servizio" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_start +msgid "Start date" +msgstr "Data inizio" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__state +msgid "State" +msgstr "Stato" + +#. module: base_ebill_payment_contract +#: model_terms:ir.ui.view,arch_db:base_ebill_payment_contract.ebill_payment_contract_search_view +msgid "Valid" +msgstr "Valido" + +#. module: base_ebill_payment_contract +#: model:ir.actions.act_window,name:base_ebill_payment_contract.ebill_payment_contract_act_window +#: model:ir.model,name:base_ebill_payment_contract.model_ebill_payment_contract +#: model:ir.ui.menu,name:base_ebill_payment_contract.ebill_payment_contract_menu +msgid "eBill Payment Contract" +msgstr "Contratto pagamento e-fattura" diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/models/__init__.py b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/models/__init__.py new file mode 100644 index 0000000..bd9c1f9 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/models/__init__.py @@ -0,0 +1,2 @@ +from . import res_partner +from . import ebill_payment_contract diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/models/ebill_payment_contract.py b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/models/ebill_payment_contract.py new file mode 100644 index 0000000..c18ab94 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/models/ebill_payment_contract.py @@ -0,0 +1,70 @@ +# Copyright 2020 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models + + +class EbillPaymentContract(models.Model): + + _name = "ebill.payment.contract" + _description = "eBill Payment Contract" + + transmit_method_id = fields.Many2one( + comodel_name="transmit.method", + string="Service Name", + ondelete="restrict", + ) + partner_id = fields.Many2one( + comodel_name="res.partner", required=True, string="Customer" + ) + name = fields.Char(related="partner_id.name") + date_start = fields.Date( + string="Start date", + required=True, + default=fields.Date.today, + ) + date_end = fields.Date(string="End date") + state = fields.Selection( + selection=[("draft", "Draft"), ("open", "Open"), ("cancel", "Cancel")], + required=True, + default="draft", + ) + is_valid = fields.Boolean(compute="_compute_is_valid", search="_search_is_valid") + + @api.onchange("state") + def _onchange_state(self): + """Change the end date if contract is canceled.""" + if self.state == "cancel" and self.date_end > fields.Date.today(): + self.date_end = fields.Date.today() + + @api.depends("state", "date_start", "date_end") + def _compute_is_valid(self): + """Check that the contract is valid + + It is valid if the contract is opened and its start date is in the past + And his end date is in the future or not set. + """ + today = fields.Date.today() + for contract in self: + contract.is_valid = ( + contract.state == "open" + and contract.date_start + and contract.date_start <= today + and (not contract.date_end or contract.date_end >= today) + ) + + def _search_is_valid(self, operator, value): + now = fields.Date.today() + domain = [ + ("state", "=", "open"), + ("date_start", "<=", now), + "|", + ("date_end", "=", False), + ("date_end", ">=", now), + ] + valid_contract = self.search(domain) + if (operator == "=" and value) or (operator == "!=" and not value): + new_operator = "in" + else: + new_operator = "not in" + return [("id", new_operator, valid_contract.ids)] diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/models/res_partner.py b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/models/res_partner.py new file mode 100644 index 0000000..76bf457 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/models/res_partner.py @@ -0,0 +1,33 @@ +# Copyright 2019 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import logging + +from odoo import models +from odoo.osv.expression import AND + +_logger = logging.getLogger(__name__) + + +class ResPartner(models.Model): + + _inherit = "res.partner" + + def get_active_contract(self, transmit_method, domain=None): + """Return the active contract for a specific transmit method.""" + self.ensure_one() + base_domain = [ + ("is_valid", "=", True), + ("partner_id", "=", self.id), + ("transmit_method_id", "=", transmit_method.id), + ] + contract = self.env["ebill.payment.contract"].search( + AND([domain or [], base_domain]), limit=1 + ) + if not contract: + _logger.error( + "eBill contract for {} on {} not found".format( + self.name, transmit_method.name + ) + ) + return contract diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..088bd4b --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Thierry Ducrest +* Phuc Tran Thanh diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/readme/CREDITS.rst b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/readme/CREDITS.rst new file mode 100644 index 0000000..f5cc070 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/readme/CREDITS.rst @@ -0,0 +1,3 @@ +The development of this module has been financially supported by: + +* Camptocamp diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/readme/DESCRIPTION.rst new file mode 100644 index 0000000..9e01b8a --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/readme/DESCRIPTION.rst @@ -0,0 +1,4 @@ +The goal of this module is to be a common ground for ebilling addons. +It adds an ebill.payment.contract attached to a partner. +Alone this module has no purpose. It needs to be installed with a module that implements a specific ebilling system. +This depending module has to implement his own 'transmit.method'. diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/readme/USAGE.rst b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/readme/USAGE.rst new file mode 100644 index 0000000..d798e79 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/readme/USAGE.rst @@ -0,0 +1,4 @@ +To use this module, you need to: + +#. Install a specific e-billing module + (None are ready, yet) diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/security/ir.model.access.csv b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/security/ir.model.access.csv new file mode 100644 index 0000000..899ad63 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_ebill_payment_contract_read,Read access on ebill.payment.contract to everybody,model_ebill_payment_contract,,1,0,0,0 +access_ebill_payment_contract_full,Full access on ebill.payment.contract to Financial Manager,model_ebill_payment_contract,account.group_account_manager,1,1,1,1 diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/static/description/icon.png b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/static/description/index.html b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/static/description/index.html new file mode 100644 index 0000000..d56808d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/static/description/index.html @@ -0,0 +1,446 @@ + + + + + +Base eBill Payment Contract + + + +
    +

    Base eBill Payment Contract

    + + +

    Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    The goal of this module is to be a common ground for ebilling addons. +It adds an ebill.payment.contract attached to a partner. +Alone this module has no purpose. It needs to be installed with a module that implements a specific ebilling system. +This depending module has to implement his own ‘transmit.method’.

    +

    Table of contents

    + +
    +

    Usage

    +

    To use this module, you need to:

    +
      +
    1. Install a specific e-billing module +(None are ready, yet)
    2. +
    +
    +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Camptocamp
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Other credits

    +

    The development of this module has been financially supported by:

    +
      +
    • Camptocamp
    • +
    +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    + +Odoo Community Association + +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    TDu

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/tests/__init__.py b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/tests/__init__.py new file mode 100644 index 0000000..2133449 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/tests/__init__.py @@ -0,0 +1 @@ +from . import test_base_ebill_payment_contract diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/tests/test_base_ebill_payment_contract.py b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/tests/test_base_ebill_payment_contract.py new file mode 100644 index 0000000..b5fbd7a --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/tests/test_base_ebill_payment_contract.py @@ -0,0 +1,70 @@ +# Copyright 2020 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +from datetime import date, timedelta + +from odoo.tests.common import Form, SingleTransactionCase + + +class TestBaseEbillPaymentContract(SingleTransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.contract1 = cls.env.ref( + "base_ebill_payment_contract.ebill_payment_contract_demo_1" + ) + cls.partner = cls.contract1.partner_id + cls.method_post = cls.env.ref("account_invoice_transmit_method.post") + + def test_contract_validity(self): + self.contract1.state = "open" + # Contract starting today + self.contract1.date_start = date.today() + self.contract1.date_end = date.today() + timedelta(days=10) + self.assertTrue(self.contract1.is_valid) + # Contract finishing tomorrow + self.contract1.date_start = date.today() - timedelta(days=100) + self.contract1.date_end = date.today() + self.assertTrue(self.contract1.is_valid) + # Contract with no end date + self.contract1.date_start = date.today() - timedelta(days=100) + self.contract1.date_end = None + self.assertTrue(self.contract1.is_valid) + + def test_contract_is_not_valid(self): + self.contract1.state = "draft" + self.assertFalse(self.contract1.is_valid) + self.contract1.state = "cancel" + self.assertFalse(self.contract1.is_valid) + self.contract1.state = "open" + # Contract in the past + self.contract1.date_start = date.today() - timedelta(days=5) + self.contract1.date_end = date.today() - timedelta(days=1) + self.assertFalse(self.contract1.is_valid) + # Contract in the future + self.contract1.date_start = date.today() + timedelta(days=1) + self.contract1.date_end = date.today() + timedelta(days=5) + self.assertFalse(self.contract1.is_valid) + # Contract in the future with no end date + self.contract1.date_start = date.today() + timedelta(days=1) + self.contract1.date_end = None + self.assertFalse(self.contract1.is_valid) + + def test_contract_canceled(self): + """Check end date when contract is canceled.""" + self.contract1.date_start = date.today() - timedelta(days=6) + self.contract1.date_end = date.today() + timedelta(days=6) + self.contract1.state = "open" + with Form(self.contract1) as uiform: + uiform.state = "cancel" + self.assertEqual(date.today(), self.contract1.date_end) + + def test_contract_valid_different_transmition_method(self): + self.contract1.state = "open" + self.contract1.date_start = date.today() + self.contract1.date_end = date.today() + timedelta(days=10) + self.assertTrue(self.contract1.is_valid) + self.assertTrue( + self.partner.get_active_contract(self.contract1.transmit_method_id) + ) + self.assertFalse(self.partner.get_active_contract(self.method_post)) diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/views/ebill_payment_contract.xml b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/views/ebill_payment_contract.xml new file mode 100644 index 0000000..d3f4378 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/base_ebill_payment_contract/views/ebill_payment_contract.xml @@ -0,0 +1,64 @@ + + + + + ebill.payment.contract.form + ebill.payment.contract + +
    + + + + + + + + + +
    +
    +
    + + ebill.payment.contract.search + ebill.payment.contract + + + + + + + + + + ebill.payment.contract.tree + ebill.payment.contract + + + + + + + + + + + + + eBill Payment Contract + ebill.payment.contract + tree,form + [] + {} + + + eBill Payment Contract + + + + +
    diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/ARCHITECTURE.md new file mode 100644 index 0000000..41a4d57 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_ebill_payment_contract Module - base_ebill_payment_contract + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/CONFIGURATION.md new file mode 100644 index 0000000..3bbc5f7 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_ebill_payment_contract. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/DEPENDENCIES.md new file mode 100644 index 0000000..9cb43a9 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/DEPENDENCIES.md @@ -0,0 +1,5 @@ +# Dependencies + +This addon depends on: + +- [account_invoice_transmit_method](../../odoo-bringout-oca-account-invoicing-account_invoice_transmit_method) diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/FAQ.md b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/FAQ.md new file mode 100644 index 0000000..0c038a7 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_ebill_payment_contract or install in UI. diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/INSTALL.md b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/INSTALL.md new file mode 100644 index 0000000..dff98ee --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-base_ebill_payment_contract" +# or +uv pip install odoo-bringout-oca-edi-base_ebill_payment_contract" +``` diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/MODELS.md b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/MODELS.md new file mode 100644 index 0000000..26140c3 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/MODELS.md @@ -0,0 +1,13 @@ +# Models + +Detected core models and extensions in base_ebill_payment_contract. + +```mermaid +classDiagram + class ebill_payment_contract + class res_partner +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/OVERVIEW.md b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/OVERVIEW.md new file mode 100644 index 0000000..9b96417 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_ebill_payment_contract. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_ebill_payment_contract +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/REPORTS.md b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/SECURITY.md b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/SECURITY.md new file mode 100644 index 0000000..12fd38f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/SECURITY.md @@ -0,0 +1,34 @@ +# Security + +Access control and security definitions in base_ebill_payment_contract. + +## Access Control Lists (ACLs) + +Model access permissions defined in: +- **[ir.model.access.csv](../base_ebill_payment_contract/security/ir.model.access.csv)** + - 2 model access rules + +## Record Rules + +Row-level security rules defined in: + +```mermaid +graph TB + subgraph "Security Layers" + A[Users] --> B[Groups] + B --> C[Access Control Lists] + C --> D[Models] + B --> E[Record Rules] + E --> F[Individual Records] + end +``` + +Security files overview: +- **[ir.model.access.csv](../base_ebill_payment_contract/security/ir.model.access.csv)** + - Model access permissions (CRUD rights) + +Notes +- Access Control Lists define which groups can access which models +- Record Rules provide row-level security (filter records by user/group) +- Security groups organize users and define permission sets +- All security is enforced at the ORM level by Odoo diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/USAGE.md b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/USAGE.md new file mode 100644 index 0000000..28bf02b --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_ebill_payment_contract +``` diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/WIZARDS.md b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-base_ebill_payment_contract/pyproject.toml b/odoo-bringout-oca-edi-base_ebill_payment_contract/pyproject.toml new file mode 100644 index 0000000..dc33464 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ebill_payment_contract/pyproject.toml @@ -0,0 +1,43 @@ +[project] +name = "odoo-bringout-oca-edi-base_ebill_payment_contract" +version = "16.0.0" +description = "Base eBill Payment Contract - + Base for managing e-billing contracts" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-account_invoice_transmit_method>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_ebill_payment_contract"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-base_edi/README.md b/odoo-bringout-oca-edi-base_edi/README.md new file mode 100644 index 0000000..46514a9 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/README.md @@ -0,0 +1,44 @@ +# Base EDI + +Odoo addon: base_edi + +## Installation + +```bash +pip install odoo-bringout-oca-edi-base_edi +``` + +## Dependencies + +This addon depends on: +- base + +## Manifest Information + +- **Name**: Base EDI +- **Version**: 16.0.1.1.0 +- **Category**: N/A +- **License**: LGPL-3 +- **Installable**: False + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `base_edi`. + +## License + +This package maintains the original LGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/README.rst b/odoo-bringout-oca-edi-base_edi/base_edi/README.rst new file mode 100644 index 0000000..0dc95a0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/README.rst @@ -0,0 +1,97 @@ +======== +Base EDI +======== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:1c469068e0daba83d1827df6b21ccc1ea4855f21ffa99c18828f4b4aea6d72d3 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_edi + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_edi + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Base EDI module to aggregate EDI features. + +Currently it provides: + +1. home menu item +2. general security group +3. module category + +**Table of contents** + +.. contents:: + :local: + +Known issues / Roadmap +====================== + +* implement new generic features around this +* integrate existing modules with this + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* ACSONE + +Contributors +~~~~~~~~~~~~ + +* Simone Orsi +* John Herholz + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-simahawk| image:: https://github.com/simahawk.png?size=40px + :target: https://github.com/simahawk + :alt: simahawk + +Current `maintainer `__: + +|maintainer-simahawk| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/__init__.py b/odoo-bringout-oca-edi-base_edi/base_edi/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/__manifest__.py b/odoo-bringout-oca-edi-base_edi/base_edi/__manifest__.py new file mode 100644 index 0000000..21aa2c8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright 2020 ACSONE +# @author: Simone Orsi +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +{ + "name": "Base EDI", + "summary": """Base module to aggregate EDI features.""", + "version": "16.0.1.1.0", + "development_status": "Beta", + "website": "https://github.com/OCA/edi", + "license": "LGPL-3", + "author": "ACSONE,Odoo Community Association (OCA)", + "maintainers": ["simahawk"], + "depends": ["base"], + "data": [ + "data/module_category.xml", + "security/edi_groups.xml", + "views/edi_menu.xml", + ], +} diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/data/module_category.xml b/odoo-bringout-oca-edi-base_edi/base_edi/data/module_category.xml new file mode 100644 index 0000000..83a0816 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/data/module_category.xml @@ -0,0 +1,7 @@ + + + + EDI + 50 + + diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/i18n/base_edi.pot b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/base_edi.pot new file mode 100644 index 0000000..23939b7 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/base_edi.pot @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "" diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/i18n/bs.po b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/bs.po new file mode 100644 index 0000000..3c4d05b --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/bs.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "EDI upravljanje" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "" diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/i18n/ca.po b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/ca.po new file mode 100644 index 0000000..3d2bf06 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/ca.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-07-24 18:58+0000\n" +"Last-Translator: QuiJoQuim \n" +"Language-Team: none\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "Administrador de EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "Usuari EDI" diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/i18n/de.po b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/de.po new file mode 100644 index 0000000..4a9fd37 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/de.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-02-19 18:06+0000\n" +"Last-Translator: davidbeckercbl \n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "EDI Manager" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "EDI Benutzer" diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/i18n/es.po b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/es.po new file mode 100644 index 0000000..e235dcb --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/es.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-08-07 11:09+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "Administrador de EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "" diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/i18n/fr.po b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/fr.po new file mode 100644 index 0000000..11a2025 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/fr.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-11-06 16:06+0000\n" +"Last-Translator: samibc2c \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "Gestionnaire EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "Utilisateur EDI" diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/i18n/hr.po b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/hr.po new file mode 100644 index 0000000..9458952 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/hr.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-06-02 12:09+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "EDI upravljanje" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "" diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/i18n/it.po b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/it.po new file mode 100644 index 0000000..38e6f84 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/it.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-07-15 09:58+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "Gestore EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "Utente EDI" diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/i18n/nl.po b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/nl.po new file mode 100644 index 0000000..dbf582b --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/i18n/nl.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-12-13 02:36+0000\n" +"Last-Translator: Bosd \n" +"Language-Team: none\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "EDI Manager" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "" diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-base_edi/base_edi/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..bf31b55 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Simone Orsi +* John Herholz diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-base_edi/base_edi/readme/DESCRIPTION.rst new file mode 100644 index 0000000..4433870 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/readme/DESCRIPTION.rst @@ -0,0 +1,7 @@ +Base EDI module to aggregate EDI features. + +Currently it provides: + +1. home menu item +2. general security group +3. module category diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/readme/ROADMAP.rst b/odoo-bringout-oca-edi-base_edi/base_edi/readme/ROADMAP.rst new file mode 100644 index 0000000..4050eed --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/readme/ROADMAP.rst @@ -0,0 +1,2 @@ +* implement new generic features around this +* integrate existing modules with this diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/security/edi_groups.xml b/odoo-bringout-oca-edi-base_edi/base_edi/security/edi_groups.xml new file mode 100644 index 0000000..9eb5d05 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/security/edi_groups.xml @@ -0,0 +1,22 @@ + + + + EDI User + + + + + + + EDI Manager + + + + + diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/static/description/icon.png b/odoo-bringout-oca-edi-base_edi/base_edi/static/description/icon.png new file mode 100644 index 0000000..a797526 Binary files /dev/null and b/odoo-bringout-oca-edi-base_edi/base_edi/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/static/description/icon.svg b/odoo-bringout-oca-edi-base_edi/base_edi/static/description/icon.svg new file mode 100644 index 0000000..68768dc --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/static/description/icon.svg @@ -0,0 +1,141 @@ + + + + + + image/svg+xml + + icon + + + + + + + + + + + + + + + icon + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/static/description/index.html b/odoo-bringout-oca-edi-base_edi/base_edi/static/description/index.html new file mode 100644 index 0000000..8ba14c7 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/static/description/index.html @@ -0,0 +1,440 @@ + + + + + +Base EDI + + + +
    +

    Base EDI

    + + +

    Beta License: LGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    Base EDI module to aggregate EDI features.

    +

    Currently it provides:

    +
      +
    1. home menu item
    2. +
    3. general security group
    4. +
    5. module category
    6. +
    +

    Table of contents

    + +
    +

    Known issues / Roadmap

    +
      +
    • implement new generic features around this
    • +
    • integrate existing modules with this
    • +
    +
    +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • ACSONE
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    + +Odoo Community Association + +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    simahawk

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-base_edi/base_edi/views/edi_menu.xml b/odoo-bringout-oca-edi-base_edi/base_edi/views/edi_menu.xml new file mode 100644 index 0000000..6ed19fc --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/base_edi/views/edi_menu.xml @@ -0,0 +1,10 @@ + + + + diff --git a/odoo-bringout-oca-edi-base_edi/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-base_edi/doc/ARCHITECTURE.md new file mode 100644 index 0000000..3452b4d --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_edi Module - base_edi + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-base_edi/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-base_edi/doc/CONFIGURATION.md new file mode 100644 index 0000000..4d2d044 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_edi. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-base_edi/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-base_edi/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-base_edi/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-base_edi/doc/DEPENDENCIES.md new file mode 100644 index 0000000..e3a0a5c --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/doc/DEPENDENCIES.md @@ -0,0 +1,5 @@ +# Dependencies + +This addon depends on: + +- base diff --git a/odoo-bringout-oca-edi-base_edi/doc/FAQ.md b/odoo-bringout-oca-edi-base_edi/doc/FAQ.md new file mode 100644 index 0000000..7df8926 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_edi or install in UI. diff --git a/odoo-bringout-oca-edi-base_edi/doc/INSTALL.md b/odoo-bringout-oca-edi-base_edi/doc/INSTALL.md new file mode 100644 index 0000000..a2a59e3 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-base_edi" +# or +uv pip install odoo-bringout-oca-edi-base_edi" +``` diff --git a/odoo-bringout-oca-edi-base_edi/doc/MODELS.md b/odoo-bringout-oca-edi-base_edi/doc/MODELS.md new file mode 100644 index 0000000..7b72435 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/doc/MODELS.md @@ -0,0 +1,11 @@ +# Models + +Detected core models and extensions in base_edi. + +```mermaid +classDiagram +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-base_edi/doc/OVERVIEW.md b/odoo-bringout-oca-edi-base_edi/doc/OVERVIEW.md new file mode 100644 index 0000000..d34855f --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_edi. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_edi +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-base_edi/doc/REPORTS.md b/odoo-bringout-oca-edi-base_edi/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-base_edi/doc/SECURITY.md b/odoo-bringout-oca-edi-base_edi/doc/SECURITY.md new file mode 100644 index 0000000..028a848 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/doc/SECURITY.md @@ -0,0 +1,64 @@ +# Security + +Access control and security definitions in base_edi. + +## Access Control Lists (ACLs) + +Model access permissions defined in: +- **[bosnian_translations.json](../bosnian_translations.json)** + - 240 model access rules +- **[CHANGELOG.md](../CHANGELOG.md)** + - 132 model access rules +- **[doc](../doc)** +- **[docker](../docker)** +- **[input](../input)** +- **[nix](../nix)** +- **[odoo.conf](../odoo.conf)** + - 58 model access rules +- **[odoo_packages_bez_l10n.txt](../odoo_packages_bez_l10n.txt)** + - 1947 model access rules +- **[odoo_packages_bringout.txt](../odoo_packages_bringout.txt)** + - 1947 model access rules +- **[odoo_packages.txt](../odoo_packages.txt)** + - 2085 model access rules +- **[output](../output)** +- **[packages](../packages)** +- **[PACKAGES.md](../PACKAGES.md)** + - 298 model access rules +- **[README.md](../README.md)** + - 338 model access rules +- **[scripts](../scripts)** +- **[temp](../temp)** +- **[TRANSLATION_BS_SUMMARY.md](../TRANSLATION_BS_SUMMARY.md)** + - 146 model access rules + +## Record Rules + +Row-level security rules defined in: + +## Security Groups & Configuration + +Security groups and permissions defined in: +- **[edi_groups.xml](../base_edi/security/edi_groups.xml)** + - 2 security groups defined + +```mermaid +graph TB + subgraph "Security Layers" + A[Users] --> B[Groups] + B --> C[Access Control Lists] + C --> D[Models] + B --> E[Record Rules] + E --> F[Individual Records] + end +``` + +Security files overview: +- **[edi_groups.xml](../base_edi/security/edi_groups.xml)** + - Security groups, categories, and XML-based rules + +Notes +- Access Control Lists define which groups can access which models +- Record Rules provide row-level security (filter records by user/group) +- Security groups organize users and define permission sets +- All security is enforced at the ORM level by Odoo diff --git a/odoo-bringout-oca-edi-base_edi/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-base_edi/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-base_edi/doc/USAGE.md b/odoo-bringout-oca-edi-base_edi/doc/USAGE.md new file mode 100644 index 0000000..000b347 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_edi +``` diff --git a/odoo-bringout-oca-edi-base_edi/doc/WIZARDS.md b/odoo-bringout-oca-edi-base_edi/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-base_edi/pyproject.toml b/odoo-bringout-oca-edi-base_edi/pyproject.toml new file mode 100644 index 0000000..028f424 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edi/pyproject.toml @@ -0,0 +1,42 @@ +[project] +name = "odoo-bringout-oca-edi-base_edi" +version = "16.0.0" +description = "Base EDI - Base module to aggregate EDI features." +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-ocb-base>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_edi"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-base_edifact/README.md b/odoo-bringout-oca-edi-base_edifact/README.md new file mode 100644 index 0000000..edcd84a --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/README.md @@ -0,0 +1,46 @@ +# Base EDIFACT + +Odoo addon: base_edifact + +## Installation + +```bash +pip install odoo-bringout-oca-edi-base_edifact +``` + +## Dependencies + +This addon depends on: +- account +- partner_identification +- partner_identification_gln + +## Manifest Information + +- **Name**: Base EDIFACT +- **Version**: 16.0.1.5.1 +- **Category**: Tools +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `base_edifact`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/README.rst b/odoo-bringout-oca-edi-base_edifact/base_edifact/README.rst new file mode 100644 index 0000000..e0d6cda --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/README.rst @@ -0,0 +1,132 @@ +============ +Base EDIFACT +============ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:05c6653f0f7b28dad1c23a6fbbd329329b0306b08f5577c19e376750c2c4f95d + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png + :target: https://odoo-community.org/page/development-status + :alt: Alpha +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_edifact + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_edifact + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + + +This module contains methods to generate and parse EDIFACT/D96A files + +.. IMPORTANT:: + This is an alpha version, the data model and design can change at any time without warning. + Only for development or testing purpose, do not use in production. + `More details on development status `_ + +**Table of contents** + +.. contents:: + :local: + +Installation +============ + + +This module requires 'pydifact' python library. + +Configuration +============= + +Requires partner_identification_gln module to store GLN identifiers. + +Partner identification code assigned by the European Article Numbering Association. + +Use two identification categories: + +- "GLN Identificatin Number". Partner identification like invoice or delivery address. +- "GCP Identification Number". Global Company Prefix. + +If GCP codes are needed in UNB interchange header. + +If you need group partners, consider oca/partner-contact/partner_company_group module. + +Usage +===== + + +This module doesn't do anything useful by itself, but it is used by several other modules: + +* *sale_order_import_edifact* that imports EDIFACT/D96A sale orders. + +Changelog +========= + + +14.0.1.0.0 (2023-04-13) +~~~~~~~~~~~~~~~~~~~~~~~ +Strong migration from 12.0.1.0.1 because it's not working for Amazon vendor orders. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* ALBA Software +* PlanetaTIC + +Contributors +~~~~~~~~~~~~ + +* Rafa Morant (www.albasoft.com) +* Marc Poch +* Duong (Tran Quoc) +* Tris Doan + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-rmorant| image:: https://github.com/rmorant.png?size=40px + :target: https://github.com/rmorant + :alt: rmorant + +Current `maintainer `__: + +|maintainer-rmorant| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/__init__.py b/odoo-bringout-oca-edi-base_edifact/base_edifact/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/__manifest__.py b/odoo-bringout-oca-edi-base_edifact/base_edifact/__manifest__.py new file mode 100644 index 0000000..b6cbebb --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/__manifest__.py @@ -0,0 +1,27 @@ +# Copyright 2023 ALBA Software S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) +{ + "name": "Base EDIFACT", + "summary": "UN/EDIFACT/D96A utilities using pydifact parser", + "version": "16.0.1.5.1", + "development_status": "Alpha", + "category": "Tools", + "website": "https://github.com/OCA/edi", + "author": "ALBA Software, PlanetaTIC, Odoo Community Association (OCA)", + "maintainers": ["rmorant"], + "license": "AGPL-3", + "application": False, + "installable": True, + # "preloadable": True, + "external_dependencies": { + "python": ["pydifact"], + "bin": [], + }, + "depends": [ + # for configuration + "account", + "partner_identification", + "partner_identification_gln", + ], + "data": [], +} diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/i18n/base_edifact.pot b/odoo-bringout-oca-edi-base_edifact/base_edifact/i18n/base_edifact.pot new file mode 100644 index 0000000..21aeacb --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/i18n/base_edifact.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_edifact +#: model:ir.model,name:base_edifact.model_base_edifact +msgid "Generate and parse Edifact documents" +msgstr "" diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/i18n/bs.po b/odoo-bringout-oca-edi-base_edifact/base_edifact/i18n/bs.po new file mode 100644 index 0000000..bc02e3a --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/i18n/bs.po @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_edifact +#: model:ir.model,name:base_edifact.model_base_edifact +msgid "Generate and parse Edifact documents" +msgstr "Generiranje i parsiranje Edifact dokumenata" diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/i18n/fr.po b/odoo-bringout-oca-edi-base_edifact/base_edifact/i18n/fr.po new file mode 100644 index 0000000..fca2786 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/i18n/fr.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-01 15:34+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_edifact +#: model:ir.model,name:base_edifact.model_base_edifact +msgid "Generate and parse Edifact documents" +msgstr "Générer et anaylser les documents Edifact" diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/i18n/it.po b/odoo-bringout-oca-edi-base_edifact/base_edifact/i18n/it.po new file mode 100644 index 0000000..9e47014 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/i18n/it.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_edifact +#: model:ir.model,name:base_edifact.model_base_edifact +msgid "Generate and parse Edifact documents" +msgstr "Genera ed elabora documenti Edifact" diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/models/__init__.py b/odoo-bringout-oca-edi-base_edifact/base_edifact/models/__init__.py new file mode 100644 index 0000000..6216ddc --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/models/__init__.py @@ -0,0 +1 @@ +from . import edifact diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/models/edifact.py b/odoo-bringout-oca-edi-base_edifact/base_edifact/models/edifact.py new file mode 100644 index 0000000..a384eb9 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/models/edifact.py @@ -0,0 +1,294 @@ +# Copyright 2023 ALBA Software S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) + + +import datetime +import logging + +from pydifact.segmentcollection import Interchange, Message +from pydifact.segments import Segment + +from odoo import api, models + +logger = logging.getLogger(__name__) + + +# https://github.com/nerdocs/pydifact +class BasePydifact(models.AbstractModel): + _name = "base.edifact" + _description = "Generate and parse Edifact documents" + + MAP_AGENCY_CODE_2_RES_PARTNER_NAMEREF = {"9": "gln"} + CURRENCY_SYMBOLS = { + "EUR": "€", + "USD": "$", + } + PRODUCT_CODE_TYPES = {"EN": "EAN", "UP": "UPC", "SRV": "GTIN"} + + @api.model + def pydifact_import(self, names): + classes = { + "Segment": Segment, + "Message": Message, + "Interchange": Interchange, + } + return [classes.get(name, None) for name in names] + + @api.model + def pydifact_obj(self, docu): + obj = [] + interchange = self._loads_edifact(docu) + header_seg = interchange.get_header_segment() + header_dict = dict() + header_dict[header_seg.tag] = header_seg.elements + obj.append(header_dict) + for message in interchange.get_messages(): + segms = [] + msg = { + "reference_number": message.reference_number, + "type": message.type, + "version": message.version, + "identifier": message.identifier, + "HEADER_TAG": message.HEADER_TAG, + "FOOTER_TAG": message.FOOTER_TAG, + "characters": str(message.characters), + "extra_header_elements": message.extra_header_elements, + "has_una_segment": message.has_una_segment, + } + logger.info(message) + for segment in message.segments: + logger.info( + "Segment tag: {}, content: {}".format(segment.tag, segment.elements) + ) + # segms.append((segment.tag, segment.elements)) + seg = dict() + seg[segment.tag] = segment.elements + segms.append(seg) + msg["segments"] = segms + obj.append(msg) + return obj + + @api.model + def _loads_edifact(self, order_file): + # TODO: use chardet library for get encoding + try: + interchange = Interchange.from_str(order_file.decode()) + except UnicodeDecodeError: + interchange = Interchange.from_str(order_file.decode("latin-1")) + return interchange + + @api.model + def _get_msg_type(self, interchange): + seg = interchange.get_segment("UNH") + # MSG_TYPE, EDIFACT_MSG_TYPE_RELEASE + return (seg[1][0], "{}{}".format(seg[1][1], seg[1][2])) + + @api.model + def map2odoo_date(self, dt): + # '102' + date_format = "%Y%m%d%H%M%S" + length_dt = len(dt[1]) + if length_dt % 2 == 0 and length_dt in range(8, 13, 2): + date_format = date_format[0 : length_dt - 2] + dtt = datetime.datetime.strptime(dt[1], date_format) + return dtt.date() + + @api.model + def map2odoo_partner(self, seg): + """ + BY. Party to which merchandise is sold. + NAD+BY+5550534000017::9' + NAD segment: ['BY', ['5550534001649', '', '9']] + + SU. Party which manufactures or otherwise has possession of + goods,and consigns or makes them available in trade. + NAD+SU+::9' + """ + + partner_dict = {} + codes = ["BY", "SU"] + reference_code = seg[0] + if reference_code not in codes: + raise NotImplementedError(f"Code '{reference_code}' not implemented") + # + party_identification = seg[1] + party_id = party_identification[0] + agency_code = party_identification[2] + nameref = self.MAP_AGENCY_CODE_2_RES_PARTNER_NAMEREF.get(agency_code, "gln") + partner_dict[nameref] = party_id + return partner_dict + + @api.model + def map2odoo_address(self, seg): + """ + DP. Party to which goods should be delivered, if not identical with + consignee. + NAD+DP+5550534000086::9+++++++DE' + NAD segment: ['DP', ['5550534022101', '', '9'], '', '', '', '', '', '', 'ES'] + IV. Party to whom an invoice is issued. + NAD+IV+5450534005838::9++AMAZON EU SARL:NIEDERLASSUNG + DEUTSCHLAND+MARCEL-BREUER-STR. 12+MUENCHEN++80807+DE + + :returns: { + 'type': + 'partner': {'gln':''} + 'address': {...} + } + """ + if seg[0] not in ("DP", "IV"): + return False + order_type = "delivery" if seg[0] == "DP" else "invoice" + address = dict(type=order_type, partner={}, address={}) + # PARTY IDENTIFICATION DETAILS + iden = seg[1] + party_id = iden[0] + agency_code = iden[2] + nameref = self.MAP_AGENCY_CODE_2_RES_PARTNER_NAMEREF.get(agency_code, "gln") + address["partner"][nameref] = party_id + d = address["address"] + # Fallback if address information is missing + try: + if isinstance(seg, Segment): + lenght_seg = len(seg.elements) + else: + lenght_seg = len(seg) + except ValueError: + lenght_seg = 0 + # PARTY NAME + if lenght_seg > 2 and bool(seg[2]): + d["name"] = seg[2] + if lenght_seg > 3 and bool(seg[3]): + d["name"] = "{}{}".format(f"{d['name']}. " if d.get("name") else "", seg[3]) + if lenght_seg > 4 and bool(seg[4]): + # Street address and/or PO Box number in a structured address: one to three lines. + d["street"] = seg[4] + if lenght_seg > 5 and bool(seg[5]): + d["city"] = seg[5] + if lenght_seg > 6 and bool(seg[6]): + # Country sub-entity identification + d["state_code"] = seg[6] + if lenght_seg > 7 and bool(seg[7]): + d["zip"] = seg[7] + if lenght_seg > 8 and bool(seg[8]): + # Country, coded ISO 3166 + d["country_code"] = seg[8] + + return address + + @api.model + def map2odoo_currency(self, seg): + """ + ['2', 'EUR', '9'] + """ + # Identification of the name or symbol of the monetary unit involved in the transaction. + currency_coded = seg[1] + return { + "iso": currency_coded, + "symbol": self.CURRENCY_SYMBOLS.get(currency_coded, False), + } + + @api.model + def map2odoo_product(self, seg, pia=None): + """ + :seg: LIN segment + ['1', '', ['8885583503464', 'EN']] + EN. International Article Numbering Association (EAN) + UP. UPC (Universal product code) + SRV. GTIN + :pia: PIA segment + ['5', ['1276', 'SA', '', '9']] + SA. Supplier's Article Number + """ + res = {} + # Set default code based on SA if given + if pia is not None and pia[1][0]: + res["code"] = pia[1][0] + code = seg[2][0] if len(list(seg)) > 2 else False + if code: + field = "code" if seg[2][1] == "SRV" else "barcode" + res[field] = code + return res + + @api.model + def map2odoo_qty(self, seg): + """ + 'QTY' EDI segment: [['21', '2']] + '21'. Ordered quantity + """ + return float(seg[0][1]) + + @api.model + def map2odoo_unit_price(self, seg=None): + """ + 'PRI' EDI segment: [['AAA', '19.75']] + Price qualifier: + * 'AAA'. Calculation net + * 'AAB'. Calculation gross + """ + if seg: + pri = seg[0] + if pri[0] == "AAA": + return float(pri[1]) + # TODO: Add price calculation formula + if pri[0] == "AAB": + return float(pri[1]) + return 0.0 + + @api.model + def map2odoo_description(self, seg): + """ + 'IMD' EDI segment: ['F', '79', ['', '', '', 'Description']] + F: Label + 79: Other description + """ + if seg: + description = seg[2][3] + return description + return None + + def _safe_segment_element(self, value): + if value is False: + return "" + return str(value) + + @api.model + def create_segment(self, *elements): + cleaned_elements = [] + for element in elements: + if isinstance(element, list): + cleaned_elements.append( + [self._safe_segment_element(value) for value in element] + ) + else: + cleaned_elements.append(self._safe_segment_element(element)) + return Segment(*cleaned_elements) + + def create_interchange(self, sender, recipient, control_ref, syntax_identifier): + """ + Create an interchange (started by UNB segment, ended by UNZ segment) + + :param list sender: Identification of the sender of the interchange. + example: ["40410", "14"] + - 40410: Identification of the sender of the interchange + - 14: EAN (European Article Numbering Association) + :param list recipient: Identification of the recipient of the interchange. + example: ["40411", "14"] + :param str control_ref: Unique reference assigned by the sender to an interchange. + example: "10" + :param list syntax_identifier: Identification of the agency controlling + the syntax and indication of syntax level, plus the syntax version number. + example: ["UNOC", "3"] + + :return: Interchange object representing the created interchange. + :rtype: Interchange + """ + if not sender or not recipient or not control_ref or not syntax_identifier: + raise ValueError("All parameters must have values and not be False") + + interchange = Interchange( + sender=(sender), + recipient=(recipient), + control_reference=str(control_ref), + syntax_identifier=(syntax_identifier), + ) + return interchange diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/CONFIGURE.rst b/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/CONFIGURE.rst new file mode 100644 index 0000000..52e98dc --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/CONFIGURE.rst @@ -0,0 +1,12 @@ +Requires partner_identification_gln module to store GLN identifiers. + +Partner identification code assigned by the European Article Numbering Association. + +Use two identification categories: + +- "GLN Identificatin Number". Partner identification like invoice or delivery address. +- "GCP Identification Number". Global Company Prefix. + +If GCP codes are needed in UNB interchange header. + +If you need group partners, consider oca/partner-contact/partner_company_group module. diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..74ed30e --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Rafa Morant (www.albasoft.com) +* Marc Poch +* Duong (Tran Quoc) +* Tris Doan diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/DESCRIPTION.rst new file mode 100644 index 0000000..397f86d --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ + +This module contains methods to generate and parse EDIFACT/D96A files diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/HISTORY.rst b/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/HISTORY.rst new file mode 100644 index 0000000..5a4112e --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/HISTORY.rst @@ -0,0 +1,4 @@ + +14.0.1.0.0 (2023-04-13) +~~~~~~~~~~~~~~~~~~~~~~~ +Strong migration from 12.0.1.0.1 because it's not working for Amazon vendor orders. diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/INSTALL.rst b/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/INSTALL.rst new file mode 100644 index 0000000..bffb873 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/INSTALL.rst @@ -0,0 +1,2 @@ + +This module requires 'pydifact' python library. diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/USAGE.rst b/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/USAGE.rst new file mode 100644 index 0000000..6b984be --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/readme/USAGE.rst @@ -0,0 +1,4 @@ + +This module doesn't do anything useful by itself, but it is used by several other modules: + +* *sale_order_import_edifact* that imports EDIFACT/D96A sale orders. diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/static/description/icon.png b/odoo-bringout-oca-edi-base_edifact/base_edifact/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-base_edifact/base_edifact/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/static/description/icon.svg b/odoo-bringout-oca-edi-base_edifact/base_edifact/static/description/icon.svg new file mode 100644 index 0000000..a7a26d0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/static/description/icon.svg @@ -0,0 +1,79 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/static/description/index.html b/odoo-bringout-oca-edi-base_edifact/base_edifact/static/description/index.html new file mode 100644 index 0000000..9fa30d1 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/static/description/index.html @@ -0,0 +1,469 @@ + + + + + +Base EDIFACT + + + +
    +

    Base EDIFACT

    + + +

    Alpha License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    This module contains methods to generate and parse EDIFACT/D96A files

    +
    +

    Important

    +

    This is an alpha version, the data model and design can change at any time without warning. +Only for development or testing purpose, do not use in production. +More details on development status

    +
    +

    Table of contents

    + +
    +

    Installation

    +

    This module requires ‘pydifact’ python library.

    +
    +
    +

    Configuration

    +

    Requires partner_identification_gln module to store GLN identifiers.

    +

    Partner identification code assigned by the European Article Numbering Association.

    +

    Use two identification categories:

    +
      +
    • “GLN Identificatin Number”. Partner identification like invoice or delivery address.
    • +
    • “GCP Identification Number”. Global Company Prefix.
    • +
    +

    If GCP codes are needed in UNB interchange header.

    +

    If you need group partners, consider oca/partner-contact/partner_company_group module.

    +
    +
    +

    Usage

    +

    This module doesn’t do anything useful by itself, but it is used by several other modules:

    +
      +
    • sale_order_import_edifact that imports EDIFACT/D96A sale orders.
    • +
    +
    +
    +

    Changelog

    +
    +

    14.0.1.0.0 (2023-04-13)

    +

    Strong migration from 12.0.1.0.1 because it’s not working for Amazon vendor orders.

    +
    +
    +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • ALBA Software
    • +
    • PlanetaTIC
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    +Odoo Community Association +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    rmorant

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/__init__.py b/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/__init__.py new file mode 100644 index 0000000..25dfeb0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/__init__.py @@ -0,0 +1 @@ +from . import test_base_edifact diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/files/Retail_EDIFACT_ORDERS_sample1.txt b/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/files/Retail_EDIFACT_ORDERS_sample1.txt new file mode 100644 index 0000000..59e6923 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/files/Retail_EDIFACT_ORDERS_sample1.txt @@ -0,0 +1,26 @@ +UNB+UNOA:2+5450534000000:14+8450534000000:14+221117:0134+4234++++1+EANCOM' +UNH+1+ORDERS:D:96A:UN:EAN008' +BGM+220+1AA1TEST+9' +DTM+137:20230606:102' +DTM+63:20230606:102' +DTM+64:20230606:102' +RFF+CR:ABCD5' +NAD+BY+5450534000017::9' +NAD+SU+8450534000000::9' +NAD+DP+5450534008617::9+++++++GB' +NAD+IV+5450534008143::9++AMAZON EU SARL+38 Avenue J.F. Kennedy+Luxembourg++1855+LU' +RFF+VA:LU20260743' +CUX+2:EUR:9' +LIN+1++9783898307529:EN' +QTY+21:5' +PRI+AAA:27.5' +LIN+2++9783898307538:EN' +QTY+21:1' +PRI+AAA:10.87' +LIN+3++9783898307645:EN' +QTY+21:3' +PRI+AAA:3.85' +UNS+S' +CNT+2:3' +UNT+24+1' +UNZ+1+4234' diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/files/Retail_EDIFACT_ORDERS_sample2.txt b/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/files/Retail_EDIFACT_ORDERS_sample2.txt new file mode 100644 index 0000000..29bdb06 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/files/Retail_EDIFACT_ORDERS_sample2.txt @@ -0,0 +1,29 @@ +UNB+UNOA:2+5450534000000:14+:14+221117:0134+4234++++1+EANCOM' +UNH+1+ORDERS:D:96A:UN:EAN008' +BGM+220+1AA1TEST+9' +DTM+137:20221117:102' +DTM+63:20221127:102' +DTM+64:20221124:102' +RFF+CR:ABCD5' +NAD+BY+5450534000017::9' +NAD+SU+::9' +NAD+DP+5450534000086::9+++++++DE' +NAD+IV+5450534005838::9++AMAZON EU SARL:NIEDERLASSUNG DEUTSCHLAND+MARCEL-BREUER-STR. 12+MUENCHEN++80807+DE' +RFF+VA:DE814584193' +CUX+2:EUR:9' +LIN+1' +PIA+5+567123:SA' +QTY+21:5' +PRI+AAA:27.5' +LIN+2' +PIA+5+1234567:SA' +QTY+21:1' +PRI+AAA:10.87' +LIN+3' +PIA+5+765432:SA' +QTY+21:3' +PRI+AAA:3.85' +UNS+S' +CNT+2:3' +UNT+27+1' +UNZ+1+4234' diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/files/test_orders_-_no_PRI_segments.txt b/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/files/test_orders_-_no_PRI_segments.txt new file mode 100644 index 0000000..87fa0f0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/files/test_orders_-_no_PRI_segments.txt @@ -0,0 +1,24 @@ +UNA:+.? ' +UNB+UNOC:3+ENI-CH:14+2256:14+230320:1910+2' +UNH+000011956901+ORDERS:D:96A:UN:EAN008' +BGM+220+COM-004017+9' +DTM+137:20230320:102' +DTM+2:20230321:102' +NAD+BY+5450534008617::91' +NAD+BY+5450534008143::92++PartyName1+Address1+City1++1964' +NAD+SU+2256::9' +NAD+DP+5450534008617::91++PartyName1+Address1+City1++1964' +RFF+API:5450534008617' +LIN+1++9783898307529:EN' +PIA+1+7076:SA::91+30007:BP::92' +QTY+21:8:6' +LIN+2++9783898307538:EN' +PIA+1+7065:SA::91+38812:BP::92' +QTY+21:4:6' +LIN+3++9783898307645:EN' +PIA+1+7056:SA::91+30008:BP::92' +QTY+21:1:24' +UNS+S' +CNT+2:3' +UNT+267+000011956901' +UNZ+1+2' diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/files/test_orders_-_no_ean_in_LIN_segments.txt b/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/files/test_orders_-_no_ean_in_LIN_segments.txt new file mode 100644 index 0000000..01a222b --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/files/test_orders_-_no_ean_in_LIN_segments.txt @@ -0,0 +1,69 @@ +UNB+UNOC:3+3027800012009:14+7640142640004:14+230320:1438+003274' +UNH+3269+ORDERS:D:96A:UN:EAN008' +BGM+220::9:ORDERS+467819+9' +DTM+137:202303201433:203' +DTM+2:202303220000:203' +NAD+SU+7640142640004::9++Suppliér1+Address1+City1++1762+CH' +RFF+IT:5020' +NAD+BY+5450534008617::ZZ++' +RFF+IT:5132' +CTA+OC+:RADON' +NAD+SF+++' +NAD+IV+5450534008617::ZZ++Suppliér1+Address1+City1++3110+CH' +RFF+IT:5132' +NAD+DP+5450534008617::ZZ++Suppliér1+Address1+City1++3110+CH' +RFF+IT:5132' +RFF+GN:RCS' +CUX+2:EUR:9' +ALC+C++6++FC::9:FRAIS DE PORT' +MOA+23:0' +LIN+1++:EN' +PIA+5+1276:SA::9' +PIA+5+31136:IN::9' +PIA+5+00:VL' +IMD+F+ANM+:::Product1' +IMD+F+79+:::Product1 description' +QTY+21:12:BOU' +QTY+59:6:PCE' +PRI+AAB:5.22::NTP' +LIN+2++:EN' +PIA+5+46630:SA::9' +PIA+5+27952:IN::9' +PIA+5+00:VL' +IMD+F+ANM+:::Product2' +IMD+F+79+:::Product2 Description' +QTY+21:24:BOU' +QTY+59:24:PCE' +PRI+AAB:27.641::NTP' +LIN+3++:EN' +PIA+5+98891 75:SA::9' +PIA+5+22389:IN::9' +PIA+5+00:VL' +IMD+F+ANM+:::Product3' +IMD+F+79+:::Product3 Description' +QTY+21:12:BOU' +QTY+59:6:PCE' +PRI+AAB:51.03::NTP' +LIN+4++:EN' +PIA+5+37230:SA::9' +PIA+5+16344:IN::9' +PIA+5+00:VL' +IMD+F+ANM+:::Product4' +IMD+F+79+:::Product4 Description' +QTY+21:24:BOU' +QTY+59:24:PCE' +PRI+AAB:29.542::NTP' +LIN+5++:EN' +PIA+5+1076:SA::9' +PIA+5+16270:IN::9' +PIA+5+00:VL' +IMD+F+ANM+:::Product5' +IMD+F+79+:::Product5 Description' +QTY+21:90:BOU' +QTY+59:6:PCE' +PRI+AAB:5.22::NTP' +UNS+S' +MOA+125:247.98' +CNT+2:5' +UNT+67+3269' +UNZ+1+003274' diff --git a/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/test_base_edifact.py b/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/test_base_edifact.py new file mode 100644 index 0000000..beec037 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/base_edifact/tests/test_base_edifact.py @@ -0,0 +1,116 @@ +# Copyright 2023 ALBA Software S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) + + +from odoo.tests.common import TransactionCase +from odoo.tools import file_open + + +def _get_file_content(filename): + path = "base_edifact/tests/files/" + filename + with file_open(path, "rb") as fd: + return fd.read() + + +class TestBaseEdifact(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.base_edifact_model = cls.env["base.edifact"] + cls.product = cls.env.ref("product.product_product_1") + cls.product.barcode = "9783898" + cls.product.default_code = "12767" + + def test_pydifact_obj(self): + edifact_docu = _get_file_content("Retail_EDIFACT_ORDERS_sample1.txt") + obj = self.base_edifact_model.pydifact_obj(edifact_docu) + # [1]: to get the list messages, [0]: to get the first list value of the segments + self.assertEqual(obj[1]["segments"][0]["BGM"][1], "1AA1TEST") + + def test_pydifact_obj_latin1(self): + edifact_docu = _get_file_content("test_orders_-_no_ean_in_LIN_segments.txt") + obj = self.base_edifact_model.pydifact_obj(edifact_docu) + # [1]: to get the list messages, [3]: to get the third list value of the segments + self.assertEqual(obj[1]["segments"][3]["NAD"][3], "Suppliér1") + + def test_map2odoo_address(self): + """Address segment + DP. Party to which goods should be delivered, if not identical with + consignee. + NAD+DP+5550534000086::9+++++++DE' + NAD segment: ['DP', ['5550534022101', '', '9'], '', '', '', '', '', '', 'ES'] + """ + seg = ["DP", ["5550534000086", "", "9"], "", "", "", "", "", "", "ES"] + address = self.base_edifact_model.map2odoo_address(seg) + self.assertEqual(address["type"], "delivery") + self.assertEqual(address["partner"], {"gln": "5550534000086"}) + self.assertEqual(address["address"]["country_code"], "ES") + + def test_map2odoo_currency(self): + seg = ("2", "EUR", "9") + currency = self.base_edifact_model.map2odoo_currency(seg) + self.assertEqual(currency["iso"], "EUR") + self.assertEqual(currency["symbol"], "€") + + def test_map2odoo_product(self): + seg = ("1", "", ["9783898", "EN"]) + product = self.base_edifact_model.map2odoo_product(seg) + self.assertEqual(product["barcode"], "9783898") + + def test_map2odoo_product_srv(self): + seg = ("1", "", ["12767", "SRV"]) + product = self.base_edifact_model.map2odoo_product(seg) + self.assertEqual(product["code"], "12767") + + def test_map2odoo_product_no_lin_has_pia(self): + seg = ("1", "", ["", "EN"]) + pia = ["5", ["12767", "SA", "", "9"]] + product = self.base_edifact_model.map2odoo_product(seg, pia) + self.assertEqual(product["code"], "12767") + + def test_map2odoo_product_no_lin_and_no_pia(self): + seg = ("1", "", ["", "EN"]) + product = self.base_edifact_model.map2odoo_product(seg) + self.assertEqual(product, {}) + + def test_map2odoo_qty(self): + seg = (["21", "2"],) + qty = self.base_edifact_model.map2odoo_qty(seg) + self.assertEqual(qty, 2.0) + + def test_map2odoo_unit_price(self): + # Test with Price qualifier is AAA + seg = (["AAA", "19.75"],) + unit_price = self.base_edifact_model.map2odoo_unit_price(seg) + self.assertEqual(unit_price, 19.75) + # Test with no unit price + unit_price = self.base_edifact_model.map2odoo_unit_price() + self.assertEqual(unit_price, 0.0) + + def test_map2odoo_date(self): + # Test with date format YYYY-MM-DD HH:MM + date_str = ["137", "202303201433", "203"] + date = self.base_edifact_model.map2odoo_date(date_str) + self.assertEqual(str(date), "2023-03-20") + + def test_map2odoo_description(self): + seg = ["F", "79", ["", "", "", "Description"]] + description = self.base_edifact_model.map2odoo_description(seg) + self.assertEqual(description, "Description") + + def test_create_segment(self): + segment = self.base_edifact_model.create_segment("DTM", ["171", False, "102"]) + self.assertEqual(str(segment), "'DTM' EDI segment: [['171', '', '102']]") + + def test_create_interchange(self): + sender_edifact = ["40410", "14"] + recipient_edifact = ["40411", "14"] + control_ref = 10 + syntax_identifier = ["UNOC", "3"] + interchange = self.base_edifact_model.create_interchange( + sender_edifact, recipient_edifact, control_ref, syntax_identifier + ) + self.assertEqual(interchange.sender, ["40410", "14"]) + self.assertEqual(interchange.recipient, ["40411", "14"]) + self.assertEqual(interchange.control_reference, "10") + self.assertEqual(interchange.syntax_identifier, ["UNOC", "3"]) diff --git a/odoo-bringout-oca-edi-base_edifact/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-base_edifact/doc/ARCHITECTURE.md new file mode 100644 index 0000000..b521c3a --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_edifact Module - base_edifact + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-base_edifact/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-base_edifact/doc/CONFIGURATION.md new file mode 100644 index 0000000..3033a5d --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_edifact. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-base_edifact/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-base_edifact/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-base_edifact/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-base_edifact/doc/DEPENDENCIES.md new file mode 100644 index 0000000..51a38a9 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/doc/DEPENDENCIES.md @@ -0,0 +1,7 @@ +# Dependencies + +This addon depends on: + +- [account](../../odoo-bringout-oca-ocb-account) +- partner_identification +- partner_identification_gln diff --git a/odoo-bringout-oca-edi-base_edifact/doc/FAQ.md b/odoo-bringout-oca-edi-base_edifact/doc/FAQ.md new file mode 100644 index 0000000..1740b82 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_edifact or install in UI. diff --git a/odoo-bringout-oca-edi-base_edifact/doc/INSTALL.md b/odoo-bringout-oca-edi-base_edifact/doc/INSTALL.md new file mode 100644 index 0000000..82bd8a4 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-base_edifact" +# or +uv pip install odoo-bringout-oca-edi-base_edifact" +``` diff --git a/odoo-bringout-oca-edi-base_edifact/doc/MODELS.md b/odoo-bringout-oca-edi-base_edifact/doc/MODELS.md new file mode 100644 index 0000000..40610ac --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in base_edifact. + +```mermaid +classDiagram + class base_edifact +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-base_edifact/doc/OVERVIEW.md b/odoo-bringout-oca-edi-base_edifact/doc/OVERVIEW.md new file mode 100644 index 0000000..6a13182 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_edifact. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_edifact +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-base_edifact/doc/REPORTS.md b/odoo-bringout-oca-edi-base_edifact/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-base_edifact/doc/SECURITY.md b/odoo-bringout-oca-edi-base_edifact/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-base_edifact/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-base_edifact/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-base_edifact/doc/USAGE.md b/odoo-bringout-oca-edi-base_edifact/doc/USAGE.md new file mode 100644 index 0000000..223cb83 --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_edifact +``` diff --git a/odoo-bringout-oca-edi-base_edifact/doc/WIZARDS.md b/odoo-bringout-oca-edi-base_edifact/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-base_edifact/pyproject.toml b/odoo-bringout-oca-edi-base_edifact/pyproject.toml new file mode 100644 index 0000000..76c82cd --- /dev/null +++ b/odoo-bringout-oca-edi-base_edifact/pyproject.toml @@ -0,0 +1,44 @@ +[project] +name = "odoo-bringout-oca-edi-base_edifact" +version = "16.0.0" +description = "Base EDIFACT - UN/EDIFACT/D96A utilities using pydifact parser" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-ocb-account>=16.0.0", + "odoo-bringout-oca-edi-partner_identification>=16.0.0", + "odoo-bringout-oca-edi-partner_identification_gln>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_edifact"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-base_facturx/README.md b/odoo-bringout-oca-edi-base_facturx/README.md new file mode 100644 index 0000000..f02cd17 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/README.md @@ -0,0 +1,46 @@ +# Base Factur-X + +Odoo addon: base_facturx + +## Installation + +```bash +pip install odoo-bringout-oca-edi-base_facturx +``` + +## Dependencies + +This addon depends on: +- uom_unece +- account_tax_unece +- account_payment_unece + +## Manifest Information + +- **Name**: Base Factur-X +- **Version**: 16.0.1.0.0 +- **Category**: Invoicing Management +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `base_facturx`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/README.rst b/odoo-bringout-oca-edi-base_facturx/base_facturx/README.rst new file mode 100644 index 0000000..ea13a6a --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/README.rst @@ -0,0 +1,105 @@ +============= +Base Factur-X +============= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:a38a4291df4f47955dee926bc6ad7f84ad890c24f0b1cf4d0de95432380bc223 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_facturx + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_facturx + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This is the base module for the implementation of the `Factur-X `_ and `ZUGFeRD `_ standards. The standard Factur-X 1.0 is the same as ZUGFeRD 2.1 (the name Factur-X is always used in France, whereas in Germany many people use the name ZUGFeRD). It is a standard based on `CII `_ (Cross-Industry Invoice) for electronic invoicing. + +The great idea of the Factur-X/ZUGFeRD standard is to embed an XML file inside the PDF invoice to carry structured information about the invoice. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To configure this module, you need to: + +* go to the menu *Inventory > Configuration > Units of Measures > UoM* and check the *UNECE Code* for the units of measures. +* go to the menu *Invoicing > Configuration > Accounting > Taxes* and, for each tax, set a *UNECE Type Code* and a *UNECE Category Code*. +* go to the menu *Invoicing > Configuration > Management > Payment Methods* (to see that menu entry, the module *account_payment_mode* must be installed) and assign a *UNECE Code* to the payment methods that are selected in the payment modes. + +To avoid the manual configuration of taxes, look for a module *l10n_XX_account_tax_unece* in the OCA project of your localization (it exists at least for the Netherlands and France). If such a module exists in your localization, install it and it will auto-configure the taxes created by your localization. + +Usage +===== + +This module doesn't do anything by itself, but it is used by 2 other modules: + +* *account_invoice_facturx* that generate Factur-X 1.0 (i.e. ZUGFeRD 2.1) customer invoices/refunds, +* *account_invoice_import_facturx* that imports ZUGFeRD/Factur-X supplier invoices/refunds (all versions, including ZUGFeRD 1.0). + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/__init__.py b/odoo-bringout-oca-edi-base_facturx/base_facturx/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/__manifest__.py b/odoo-bringout-oca-edi-base_facturx/base_facturx/__manifest__.py new file mode 100644 index 0000000..2f46300 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/__manifest__.py @@ -0,0 +1,16 @@ +# Copyright 2016-2022 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Base Factur-X", + "version": "16.0.1.0.0", + "category": "Invoicing Management", + "license": "AGPL-3", + "summary": "Base module for Factur-X/ZUGFeRD", + "author": "Akretion,Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/edi", + "depends": ["uom_unece", "account_tax_unece", "account_payment_unece"], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/base_facturx.pot b/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/base_facturx.pot new file mode 100644 index 0000000..b28e045 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/base_facturx.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_facturx +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_facturx +#: model:ir.model,name:base_facturx.model_base_facturx +msgid "Common methods to generate and parse Factur-X and Order-X" +msgstr "" diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/base_zugferd.pot b/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/base_zugferd.pot new file mode 100644 index 0000000..5081fd7 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/base_zugferd.pot @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_zugferd +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_zugferd +#: model:ir.model,name:base_zugferd.model_base_facturx +msgid "Common methods to generate and parse Factur-X invoices" +msgstr "" + +#. module: base_zugferd +#: model:ir.model.fields,field_description:base_zugferd.field_base_facturx_display_name +msgid "Display Name" +msgstr "" + +#. module: base_zugferd +#: model:ir.model.fields,field_description:base_zugferd.field_base_facturx_id +msgid "ID" +msgstr "" + +#. module: base_zugferd +#: model:ir.model.fields,field_description:base_zugferd.field_base_facturx___last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_zugferd +#: code:addons/base_zugferd/models/base_facturx.py:46 +#, python-format +msgid "The %s XML file is not valid against the official XML Schema Definition. The XML file and the full error have been written in the server logs. Here is the error, which may give you an idea on the cause of the problem : %s." +msgstr "" + +#. module: base_zugferd +#: code:addons/base_zugferd/models/base_facturx.py:29 +#, python-format +msgid "Wrong level '%s' for Factur-X invoice." +msgstr "" + diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/bs.po b/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/bs.po new file mode 100644 index 0000000..f0d63a0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/bs.po @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_facturx +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_facturx +#: model:ir.model,name:base_facturx.model_base_facturx +msgid "Common methods to generate and parse Factur-X and Order-X" +msgstr "Uobičajene metode za generiranje i parsiranje Factur-X i Order-X" diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/es.po b/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/es.po new file mode 100644 index 0000000..e6456d8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/es.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_zugferd +# +# Translators: +# enjolras , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-12 01:43+0000\n" +"PO-Revision-Date: 2023-08-07 11:09+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_facturx +#: model:ir.model,name:base_facturx.model_base_facturx +msgid "Common methods to generate and parse Factur-X and Order-X" +msgstr "Métodos habituales para generar y analizar Factur-X y Order-X" + +#~ msgid "Display Name" +#~ msgstr "Nombre mostrado" + +#~ msgid "Last Modified on" +#~ msgstr "Última modificación el" diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/fr.po b/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/fr.po new file mode 100644 index 0000000..484cd27 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/fr.po @@ -0,0 +1,25 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_facturx +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-06-27 19:08+0000\n" +"Last-Translator: Alexis de Lattre \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_facturx +#: model:ir.model,name:base_facturx.model_base_facturx +msgid "Common methods to generate and parse Factur-X and Order-X" +msgstr "Méthodes communes pour générer et lire Factur-X et Order-X" + +#~ msgid "Display Name" +#~ msgstr "Nom affiché" diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/it.po b/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/it.po new file mode 100644 index 0000000..d851f7f --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/i18n/it.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_facturx +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_facturx +#: model:ir.model,name:base_facturx.model_base_facturx +msgid "Common methods to generate and parse Factur-X and Order-X" +msgstr "Metodi comuni per generare e analizzare Factur-X e Order-X" diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/models/__init__.py b/odoo-bringout-oca-edi-base_facturx/base_facturx/models/__init__.py new file mode 100644 index 0000000..60c81ca --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/models/__init__.py @@ -0,0 +1 @@ +from . import base_facturx diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/models/base_facturx.py b/odoo-bringout-oca-edi-base_facturx/base_facturx/models/base_facturx.py new file mode 100644 index 0000000..3da4160 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/models/base_facturx.py @@ -0,0 +1,13 @@ +# Copyright 2017-2022 Akretion France +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import models + + +class BaseFacturX(models.AbstractModel): + _name = "base.facturx" + _description = "Common methods to generate and parse Factur-X and Order-X" + + # This class will certainly start to be used with the implementation + # of Order-X sooner or later: http://fnfe-mpe.org/factur-x/order-x/ diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/readme/CONFIGURE.rst b/odoo-bringout-oca-edi-base_facturx/base_facturx/readme/CONFIGURE.rst new file mode 100644 index 0000000..3492a16 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/readme/CONFIGURE.rst @@ -0,0 +1,7 @@ +To configure this module, you need to: + +* go to the menu *Inventory > Configuration > Units of Measures > UoM* and check the *UNECE Code* for the units of measures. +* go to the menu *Invoicing > Configuration > Accounting > Taxes* and, for each tax, set a *UNECE Type Code* and a *UNECE Category Code*. +* go to the menu *Invoicing > Configuration > Management > Payment Methods* (to see that menu entry, the module *account_payment_mode* must be installed) and assign a *UNECE Code* to the payment methods that are selected in the payment modes. + +To avoid the manual configuration of taxes, look for a module *l10n_XX_account_tax_unece* in the OCA project of your localization (it exists at least for the Netherlands and France). If such a module exists in your localization, install it and it will auto-configure the taxes created by your localization. diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-base_facturx/base_facturx/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..ff65d68 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Alexis de Lattre diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-base_facturx/base_facturx/readme/DESCRIPTION.rst new file mode 100644 index 0000000..6a925a4 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/readme/DESCRIPTION.rst @@ -0,0 +1,3 @@ +This is the base module for the implementation of the `Factur-X `_ and `ZUGFeRD `_ standards. The standard Factur-X 1.0 is the same as ZUGFeRD 2.1 (the name Factur-X is always used in France, whereas in Germany many people use the name ZUGFeRD). It is a standard based on `CII `_ (Cross-Industry Invoice) for electronic invoicing. + +The great idea of the Factur-X/ZUGFeRD standard is to embed an XML file inside the PDF invoice to carry structured information about the invoice. diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/readme/USAGE.rst b/odoo-bringout-oca-edi-base_facturx/base_facturx/readme/USAGE.rst new file mode 100644 index 0000000..8b7feab --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/readme/USAGE.rst @@ -0,0 +1,4 @@ +This module doesn't do anything by itself, but it is used by 2 other modules: + +* *account_invoice_facturx* that generate Factur-X 1.0 (i.e. ZUGFeRD 2.1) customer invoices/refunds, +* *account_invoice_import_facturx* that imports ZUGFeRD/Factur-X supplier invoices/refunds (all versions, including ZUGFeRD 1.0). diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/static/description/icon.png b/odoo-bringout-oca-edi-base_facturx/base_facturx/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-base_facturx/base_facturx/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-base_facturx/base_facturx/static/description/index.html b/odoo-bringout-oca-edi-base_facturx/base_facturx/static/description/index.html new file mode 100644 index 0000000..ac570f1 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/base_facturx/static/description/index.html @@ -0,0 +1,444 @@ + + + + + + +Base Factur-X + + + +
    +

    Base Factur-X

    + + +

    Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    This is the base module for the implementation of the Factur-X and ZUGFeRD standards. The standard Factur-X 1.0 is the same as ZUGFeRD 2.1 (the name Factur-X is always used in France, whereas in Germany many people use the name ZUGFeRD). It is a standard based on CII (Cross-Industry Invoice) for electronic invoicing.

    +

    The great idea of the Factur-X/ZUGFeRD standard is to embed an XML file inside the PDF invoice to carry structured information about the invoice.

    +

    Table of contents

    + +
    +

    Configuration

    +

    To configure this module, you need to:

    +
      +
    • go to the menu Inventory > Configuration > Units of Measures > UoM and check the UNECE Code for the units of measures.
    • +
    • go to the menu Invoicing > Configuration > Accounting > Taxes and, for each tax, set a UNECE Type Code and a UNECE Category Code.
    • +
    • go to the menu Invoicing > Configuration > Management > Payment Methods (to see that menu entry, the module account_payment_mode must be installed) and assign a UNECE Code to the payment methods that are selected in the payment modes.
    • +
    +

    To avoid the manual configuration of taxes, look for a module l10n_XX_account_tax_unece in the OCA project of your localization (it exists at least for the Netherlands and France). If such a module exists in your localization, install it and it will auto-configure the taxes created by your localization.

    +
    +
    +

    Usage

    +

    This module doesn’t do anything by itself, but it is used by 2 other modules:

    +
      +
    • account_invoice_facturx that generate Factur-X 1.0 (i.e. ZUGFeRD 2.1) customer invoices/refunds,
    • +
    • account_invoice_import_facturx that imports ZUGFeRD/Factur-X supplier invoices/refunds (all versions, including ZUGFeRD 1.0).
    • +
    +
    +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Akretion
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    +Odoo Community Association +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    alexis-via

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-base_facturx/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-base_facturx/doc/ARCHITECTURE.md new file mode 100644 index 0000000..62cb3d7 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_facturx Module - base_facturx + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-base_facturx/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-base_facturx/doc/CONFIGURATION.md new file mode 100644 index 0000000..4bce425 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_facturx. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-base_facturx/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-base_facturx/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-base_facturx/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-base_facturx/doc/DEPENDENCIES.md new file mode 100644 index 0000000..b2279be --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/doc/DEPENDENCIES.md @@ -0,0 +1,7 @@ +# Dependencies + +This addon depends on: + +- uom_unece +- account_tax_unece +- account_payment_unece diff --git a/odoo-bringout-oca-edi-base_facturx/doc/FAQ.md b/odoo-bringout-oca-edi-base_facturx/doc/FAQ.md new file mode 100644 index 0000000..b60a817 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_facturx or install in UI. diff --git a/odoo-bringout-oca-edi-base_facturx/doc/INSTALL.md b/odoo-bringout-oca-edi-base_facturx/doc/INSTALL.md new file mode 100644 index 0000000..a4a6f5a --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-base_facturx" +# or +uv pip install odoo-bringout-oca-edi-base_facturx" +``` diff --git a/odoo-bringout-oca-edi-base_facturx/doc/MODELS.md b/odoo-bringout-oca-edi-base_facturx/doc/MODELS.md new file mode 100644 index 0000000..44b611a --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in base_facturx. + +```mermaid +classDiagram + class base_facturx +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-base_facturx/doc/OVERVIEW.md b/odoo-bringout-oca-edi-base_facturx/doc/OVERVIEW.md new file mode 100644 index 0000000..b117f26 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_facturx. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_facturx +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-base_facturx/doc/REPORTS.md b/odoo-bringout-oca-edi-base_facturx/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-base_facturx/doc/SECURITY.md b/odoo-bringout-oca-edi-base_facturx/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-base_facturx/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-base_facturx/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-base_facturx/doc/USAGE.md b/odoo-bringout-oca-edi-base_facturx/doc/USAGE.md new file mode 100644 index 0000000..24b23c6 --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_facturx +``` diff --git a/odoo-bringout-oca-edi-base_facturx/doc/WIZARDS.md b/odoo-bringout-oca-edi-base_facturx/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-base_facturx/pyproject.toml b/odoo-bringout-oca-edi-base_facturx/pyproject.toml new file mode 100644 index 0000000..85f8b9f --- /dev/null +++ b/odoo-bringout-oca-edi-base_facturx/pyproject.toml @@ -0,0 +1,44 @@ +[project] +name = "odoo-bringout-oca-edi-base_facturx" +version = "16.0.0" +description = "Base Factur-X - Base module for Factur-X/ZUGFeRD" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-uom_unece>=16.0.0", + "odoo-bringout-oca-edi-account_tax_unece>=16.0.0", + "odoo-bringout-oca-edi-account_payment_unece>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_facturx"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-base_ubl/README.md b/odoo-bringout-oca-edi-base_ubl/README.md new file mode 100644 index 0000000..70b980d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/README.md @@ -0,0 +1,47 @@ +# Base UBL + +Odoo addon: base_ubl + +## Installation + +```bash +pip install odoo-bringout-oca-edi-base_ubl +``` + +## Dependencies + +This addon depends on: +- uom_unece +- account_tax_unece +- base_vat +- pdf_helper + +## Manifest Information + +- **Name**: Base UBL +- **Version**: 16.0.1.1.2 +- **Category**: Hidden +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `base_ubl`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/README.rst b/odoo-bringout-oca-edi-base_ubl/base_ubl/README.rst new file mode 100644 index 0000000..01708c1 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/README.rst @@ -0,0 +1,103 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +======== +Base UBL +======== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:c349de5f1a11bd8d51da995f383dc57acafd1cace00521974ed9ceec6f60eb6b + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_ubl + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_ubl + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This is the base module for the implementation of the `Universal Business +Language (UBL) `_ standard. The UBL standard became the +`ISO/IEC 19845 `_ +standard in January 2016 (cf the `official announce +`_). + +This module contains methods to generate and parse UBL files. This module +doesn't do anything useful by itself, but it is used by several other modules: + +* *purchase_order_ubl* that generate UBL purchase orders, +* *sale_order_import_ubl* that imports UBL sale orders. +* *account_invoice_import_ubl* that imports UBL invoices, + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion +* Onestein + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre +* Andrea Stirpe +* Jacques-Etienne Baudoux +* Phuc (Tran Thanh) +* Simone Orsi + +Other credits +~~~~~~~~~~~~~ + +The development of this module has been financially supported by: + +* Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/__init__.py b/odoo-bringout-oca-edi-base_ubl/base_ubl/__init__.py new file mode 100644 index 0000000..31660d6 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import models diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/__manifest__.py b/odoo-bringout-oca-edi-base_ubl/base_ubl/__manifest__.py new file mode 100644 index 0000000..fbffc0d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/__manifest__.py @@ -0,0 +1,14 @@ +# © 2016-2017 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Base UBL", + "version": "16.0.1.1.2", + "category": "Hidden", + "license": "AGPL-3", + "summary": "Base module for Universal Business Language (UBL)", + "author": "Akretion,Onestein,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/edi", + "depends": ["uom_unece", "account_tax_unece", "base_vat", "pdf_helper"], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CCTS_CCT_SchemaModule-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CCTS_CCT_SchemaModule-2.0.xsd new file mode 100644 index 0000000..b7e8983 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CCTS_CCT_SchemaModule-2.0.xsd @@ -0,0 +1,731 @@ + + + + + + + + + + + + + + UNDT000001 + CCT + Amount. Type + 1.0 + A number of monetary units specified in a currency where the unit of the currency is explicit or implied. + Amount + decimal + + + + + + + + UNDT000001-SC2 + SC + Amount Currency. Identifier + The currency of the amount. + Amount Currency + Identification + Identifier + string + Reference UNECE Rec 9, using 3-letter alphabetic codes. + + + + + + + UNDT000001-SC3 + SC + Amount Currency. Code List Version. Identifier + The VersionID of the UN/ECE Rec9 code list. + Amount Currency + Code List Version + Identifier + string + + + + + + + + + + + + UNDT000002 + CCT + Binary Object. Type + 1.0 + A set of finite-length sequences of binary octets. + Binary Object + binary + + + + + + + + UNDT000002-SC2 + SC + Binary Object. Format. Text + The format of the binary content. + Binary Object + Format + Text + string + + + + + + + UNDT000002-SC3 + SC + Binary Object. Mime. Code + The mime type of the binary object. + Binary Object + Mime + Code + string + + + + + + + UNDT000002-SC4 + SC + Binary Object. Encoding. Code + Specifies the decoding algorithm of the binary object. + Binary Object + Encoding + Code + string + + + + + + + UNDT000002-SC5 + SC + Binary Object. Character Set. Code + The character set of the binary object if the mime type is text. + Binary Object + Character Set + Code + string + + + + + + + UNDT000002-SC6 + SC + Binary Object. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the binary object is located. + Binary Object + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000002-SC7 + SC + Binary Object. Filename.Text + The filename of the binary object. + Binary Object + Filename + Text + string + + + + + + + + + + + + UNDT000007 + CCT + Code. Type + 1.0 + A character string (letters, figures, or symbols) that for brevity and/or languange independence may be used to represent or replace a definitive value or text of an attribute together with relevant supplementary information. + Code + string + Should not be used if the character string identifies an instance of an object class or an object in the real world, in which case the Identifier. Type should be used. + + + + + + + + UNDT000007-SC2 + SC + Code List. Identifier + The identification of a list of codes. + Code List + Identification + Identifier + string + + + + + + + UNDT000007-SC3 + SC + Code List. Agency. Identifier + An agency that maintains one or more lists of codes. + Code List + Agency + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000007-SC4 + SC + Code List. Agency Name. Text + The name of the agency that maintains the list of codes. + Code List + Agency Name + Text + string + + + + + + + UNDT000007-SC5 + SC + Code List. Name. Text + The name of a list of codes. + Code List + Name + Text + string + + + + + + + UNDT000007-SC6 + SC + Code List. Version. Identifier + The version of the list of codes. + Code List + Version + Identifier + string + + + + + + + UNDT000007-SC7 + SC + Code. Name. Text + The textual equivalent of the code content component. + Code + Name + Text + string + + + + + + + UNDT000007-SC8 + SC + Language. Identifier + The identifier of the language used in the code name. + Language + Identification + Identifier + string + + + + + + + UNDT000007-SC9 + SC + Code List. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list is located. + Code List + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000007-SC10 + SC + Code List Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list scheme is located. + Code List Scheme + Uniform Resource Identifier + Identifier + string + + + + + + + + + + + + UNDT000008 + CCT + Date Time. Type + 1.0 + A particular point in the progression of time together with the relevant supplementary information. + Date Time + string + Can be used for a date and/or time. + + + + + + + + UNDT000008-SC1 + SC + Date Time. Format. Text + The format of the date time content + Date Time + Format + Text + string + + + + + + + + + + + + UNDT000011 + CCT + Identifier. Type + 1.0 + A character string to identify and distinguish uniquely, one instance of an object in an identification scheme from all other objects in the same scheme together with relevant supplementary information. + Identifier + string + + + + + + + + UNDT000011-SC2 + SC + Identification Scheme. Identifier + The identification of the identification scheme. + Identification Scheme + Identification + Identifier + string + + + + + + + UNDT000011-SC3 + SC + Identification Scheme. Name. Text + The name of the identification scheme. + Identification Scheme + Name + Text + string + + + + + + + UNDT000011-SC4 + SC + Identification Scheme Agency. Identifier + The identification of the agency that maintains the identification scheme. + Identification Scheme Agency + Identification + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000011-SC5 + SC + Identification Scheme Agency. Name. Text + The name of the agency that maintains the identification scheme. + Identification Scheme Agency + Agency Name + Text + string + + + + + + + UNDT000011-SC6 + SC + Identification Scheme. Version. Identifier + The version of the identification scheme. + Identification Scheme + Version + Identifier + string + + + + + + + UNDT000011-SC7 + SC + Identification Scheme Data. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme data is located. + Identification Scheme Data + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000011-SC8 + SC + Identification Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme is located. + Identification Scheme + Uniform Resource Identifier + Identifier + string + + + + + + + + + + + + UNDT000012 + CCT + Indicator. Type + 1.0 + A list of two mutually exclusive Boolean values that express the only possible states of a Property. + Indicator + string + + + + + + + + UNDT000012-SC2 + SC + Indicator. Format. Text + Whether the indicator is numeric, textual or binary. + Indicator + Format + Text + string + + + + + + + + + + + + UNDT000013 + CCT + Measure. Type + 1.0 + A numeric value determined by measuring an object along with the specified unit of measure. + Measure + decimal + + + + + + + + UNDT000013-SC2 + SC + Measure Unit. Code + The type of unit of measure. + Measure Unit + Code + Code + string + Reference UNECE Rec. 20 and X12 355 + + + + + + + UNDT000013-SC3 + SC + Measure Unit. Code List Version. Identifier + The version of the measure unit code list. + Measure Unit + Code List Version + Identifier + string + + + + + + + + + + + + UNDT000014 + CCT + Numeric. Type + 1.0 + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Numeric + string + + + + + + + + UNDT000014-SC2 + SC + Numeric. Format. Text + Whether the number is an integer, decimal, real number or percentage. + Numeric + Format + Text + string + + + + + + + + + + + + UNDT000018 + CCT + Quantity. Type + 1.0 + A counted number of non-monetary units possibly including fractions. + Quantity + decimal + + + + + + + + UNDT000018-SC2 + SC + Quantity. Unit. Code + The unit of the quantity + Quantity + Unit Code + Code + string + + + + + + + UNDT000018-SC3 + SC + Quantity Unit. Code List. Identifier + The quantity unit code list. + Quantity Unit + Code List + Identifier + string + + + + + + + UNDT000018-SC4 + SC + Quantity Unit. Code List Agency. Identifier + The identification of the agency that maintains the quantity unit code list + Quantity Unit + Code List Agency + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000018-SC5 + SC + Quantity Unit. Code List Agency Name. Text + The name of the agency which maintains the quantity unit code list. + Quantity Unit + Code List Agency Name + Text + string + + + + + + + + + + + + UNDT000019 + CCT + Text. Type + 1.0 + A character string (i.e. a finite set of characters) generally in the form of words of a language. + Text + string + + + + + + + + UNDT000019-SC2 + SC + Language. Identifier + The identifier of the language used in the content component. + Language + Identification + Identifier + string + + + + + + + UNDT000019-SC3 + SC + Language. Locale. Identifier + The identification of the locale of the language. + Language + Locale + Identifier + string + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_CurrencyCode_ISO_7_04.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_CurrencyCode_ISO_7_04.xsd new file mode 100644 index 0000000..061be61 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_CurrencyCode_ISO_7_04.xsd @@ -0,0 +1,1378 @@ + + + + + + + + + + + + Dirham + + + + + + + + Afghani + + + + + + + + Lek + + + + + + + + Dram + + + + + + + + Netherlands Antillian Guilder + + + + + + + + Kwanza + + + + + + + + Argentine Peso + + + + + + + + Australian Dollar + + + + + + + + Aruban Guilder + + + + + + + + Azerbaijanian Manat + + + + + + + + Convertible Mark + + + + + + + + Barbados Dollar + + + + + + + + Taka + + + + + + + + Bulgarian Lev + + + + + + + + Bahraini Dinar + + + + + + + + Burundi Franc + + + + + + + + Bermudian Dollar (customarily: Bermuda Dollar) + + + + + + + + Brunei Dollar + + + + + + + + Boliviano + + + + + + + + Brazilian Real + + + + + + + + Bahamian Dollar + + + + + + + + Ngultrum + + + + + + + + Pula + + + + + + + + Belarussian Ruble + + + + + + + + Belize Dollar + + + + + + + + Canadian Dollar + + + + + + + + Franc Congolais + + + + + + + + Swiss Franc + + + + + + + + Chilean Peso + + + + + + + + Yuan Renminbi + + + + + + + + Colombian Peso + + + + + + + + Costa Rican Colon + + + + + + + + Cuban Peso + + + + + + + + Cape Verde Escudo + + + + + + + + Cyprus Pound + + + + + + + + Czech Koruna + + + + + + + + Djibouti Franc + + + + + + + + Danish Krone + + + + + + + + Dominican Peso + + + + + + + + Algerian Dinar + + + + + + + + Kroon + + + + + + + + Egyptian Pound + + + + + + + + Nakfa + + + + + + + + Ethopian Birr + + + + + + + + Euro + On 1 January 1999, the euro will become the currency of those Member states of the European Union which adopt the single currency in accordance with the Treaty establishing the European Community. This code has been issued now so that technical preparations can be started. The code element 'EU' has been reserved by the ISO 3166 Maintenance Agency for use within ISO 4217 where 'R' has been appended to make an acceptable mnemonic code. + + + + + + + Fiji Dollar + + + + + + + + Falkland Islands Pound + + + + + + + + Pound Sterling + + + + + + + + Lari + + + + + + + + Cedi + + + + + + + + Gibraltar Pound + + + + + + + + Dalasi + + + + + + + + Guinea Franc + + + + + + + + Quetzal + + + + + + + + Guyana Dollar + + + + + + + + Honk Kong Dollar + + + + + + + + Lempira + + + + + + + + Kuna + + + + + + + + Gourde + + + + + + + + Forint + + + + + + + + Rupiah + + + + + + + + New Israeli Sheqel + + + + + + + + Indian Rupee + + + + + + + + Iraqi Dinar + + + + + + + + Iranian Rial + + + + + + + + Iceland Krona + + + + + + + + Jamaican Dollar + + + + + + + + Jordanian Dinar + + + + + + + + Yen + + + + + + + + Kenyan Shilling + + + + + + + + Som + + + + + + + + Riel + + + + + + + + Comoro Franc + + + + + + + + North Korean Won + + + + + + + + Won + + + + + + + + Kuwaiti Dinar + + + + + + + + Cayman Islands Dollar + + + + + + + + Tenge + + + + + + + + Kip + + + + + + + + Lebanese Pound + + + + + + + + Sri Lanka Rupee + + + + + + + + Liberian Dollar + + + + + + + + Loti + + + + + + + + Lithuanian Litas + + + + + + + + Latvian Lats + + + + + + + + Libyan Dinar + + + + + + + + Morrocan Dirham + + + + + + + + Moldovan Leu + + + + + + + + Malagasy Franc + + + + + + + + Denar + + + + + + + + Kyat + + + + + + + + Tugrik + + + + + + + + Pataca + + + + + + + + Ouguiya + + + + + + + + Maltese Lira + + + + + + + + Mauritius Rupee + + + + + + + + Rufiyaa + + + + + + + + Kwacha + + + + + + + + Mexican Peso + + + + + + + + Malaysian Ringgit + + + + + + + + Metical + + + + + + + + Namibia Dollar + + + + + + + + Naira + + + + + + + + Cordoba Oro + + + + + + + + Norwegian Krone + + + + + + + + Nepalese Rupee + + + + + + + + New Zealand Dollar + + + + + + + + Rial Omani + + + + + + + + Balboa + + + + + + + + Nuevo Sol + + + + + + + + Kina + + + + + + + + Philippine Peso + + + + + + + + Pakistan Rupee + + + + + + + + Zloty + + + + + + + + Guarani + + + + + + + + Qatari Rial + + + + + + + + Leu + + + + + + + + Russian Ruble + + + + + + + + Rwanda Franc + + + + + + + + Saudi Riyal + + + + + + + + Solomon Islands Dollar + + + + + + + + Seychelles Rupee + + + + + + + + Sudanese Dinar + + + + + + + + Swedish Krona + + + + + + + + Singapore Dollar + + + + + + + + St. Helena Pound + + + + + + + + Tolar + + + + + + + + Slovak Koruna + + + + + + + + Leone + + + + + + + + Somali Shilling + + + + + + + + Suriname Guilder + + + + + + + + Dobra + + + + + + + + El Salvador Colon + + + + + + + + Syrian Pound + + + + + + + + Lilangeni + + + + + + + + Baht + + + + + + + + Somoni + + + + + + + + Manat + + + + + + + + Tunisian Dinar + + + + + + + + Pa'anga + + + + + + + + Turkish Lira + + + + + + + + Trinidad and Tobago Dollar + + + + + + + + New Taiwan Dollar + + + + + + + + Tanzanian Shilling + + + + + + + + Hryvnia + + + + + + + + Uganda Shilling + + + + + + + + US Dollar + + + + + + + + Peso Uruguayo + + + + + + + + Uzbekistan Sum + + + + + + + + Bolivar + + + + + + + + Dong + + + + + + + + Vatu + + + + + + + + Tala + + + + + + + + CFA Franc + + + + + + + + Silver + + + + + + + + Gold + + + + + + + + East Carribean Dollar + + + + + + + + SDR + + + + + + + + CFA Franc + + + + + + + + Palladium + + + + + + + + CFP Franc + + + + + + + + Platinum + + + + + + + + Yemeni Rial + + + + + + + + New Dinar + + + + + + + + Rand + + + + + + + + Kwacha + + + + + + + + Zimbabwe Dollar + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_LanguageCode_ISO_7_04.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_LanguageCode_ISO_7_04.xsd new file mode 100644 index 0000000..1d55e04 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_LanguageCode_ISO_7_04.xsd @@ -0,0 +1,2250 @@ + + + + + + + + + + + + Afar + + + + + + + + Abkhazian + + + + + + + + Afrikaans + + + + + + + + Amharic + + + + + + + + Arabic + + + + + + + + Assamese + + + + + + + + Aymara + + + + + + + + Azerbaijani + + + + + + + + Bashkir + + + + + + + + Byelorussian + + + + + + + + Bulgarian + + + + + + + + Bihari + + + + + + + + Bislama + + + + + + + + Bengali; Bangla + + + + + + + + Tibetan + + + + + + + + Breton + + + + + + + + Catalan + + + + + + + + Corsican + + + + + + + + Czech + + + + + + + + Welsh + + + + + + + + Danish + + + + + + + + German + + + + + + + + Bhutani + + + + + + + + Greek + + + + + + + + English + + + + + + + + Esperanto + + + + + + + + Spanish + + + + + + + + Esotonian + + + + + + + + Basque + + + + + + + + Persian + + + + + + + + Finnish + + + + + + + + Fiji + + + + + + + + Faroese + + + + + + + + French + + + + + + + + Frisian + + + + + + + + Irish + + + + + + + + Scots Gaelic + + + + + + + + Galician + + + + + + + + Guarani + + + + + + + + Gujarati + + + + + + + + Hausa + + + + + + + + Hebrew + + + + + + + + Hindi + + + + + + + + Croatian + + + + + + + + Hungarian + + + + + + + + Armenian + + + + + + + + Interlingua + + + + + + + + Indonesian + + + + + + + + Interlingue + + + + + + + + Inupiak + + + + + + + + Icelandic + + + + + + + + Italian + + + + + + + + Eskimo, Inuktiut CA + + + + + + + + Japanese + + + + + + + + Javanese + + + + + + + + Georgian + + + + + + + + Kazakh + + + + + + + + Greenlandic + + + + + + + + Cambodian + + + + + + + + Kannada + + + + + + + + Korean + + + + + + + + Kashmiri + + + + + + + + Kurdish + + + + + + + + Kirghiz + + + + + + + + Latin + + + + + + + + Lingala + + + + + + + + Laothian + + + + + + + + Lithuanian + + + + + + + + Latvian, Lettish + + + + + + + + Malagasy + + + + + + + + Maori + + + + + + + + Macedonian + + + + + + + + Malayalam + + + + + + + + Mangolian + + + + + + + + Moldavian + + + + + + + + Marathi + + + + + + + + Malay + + + + + + + + Maltese + + + + + + + + Nauru + + + + + + + + Nepali + + + + + + + + Dutch + + + + + + + + Norwegian + + + + + + + + Occitan + + + + + + + + (Afan) Oromo + + + + + + + + Oriya + + + + + + + + Punjabi + + + + + + + + Polish + + + + + + + + Pashto, Pushto + + + + + + + + Portuguese + + + + + + + + Quechua + + + + + + + + Rhaeto-Romance + + + + + + + + Kirundi + + + + + + + + Romanian + + + + + + + + Russian + + + + + + + + Kinyarwanda + + + + + + + + Sanskrit + + + + + + + + Sindhi + + + + + + + + Sangho + + + + + + + + Serbo-Croatian + + + + + + + + Singhalese + + + + + + + + Slovak + + + + + + + + Slovenian + + + + + + + + Samoan + + + + + + + + Shona + + + + + + + + Somali + + + + + + + + Albanian + + + + + + + + Serbian + + + + + + + + Siswati + + + + + + + + Sesotho + + + + + + + + Sundanese + + + + + + + + Swedish + + + + + + + + Sawahili + + + + + + + + Tamil + + + + + + + + Telugu + + + + + + + + Tajik + + + + + + + + Thai + + + + + + + + Tigrinya + + + + + + + + Turkmen + + + + + + + + Tagalog + + + + + + + + Setswana + + + + + + + + Tonga + + + + + + + + Turkish + + + + + + + + Tsonga + + + + + + + + Tatar + + + + + + + + Twi + + + + + + + + Uigur + + + + + + + + Ukrainian + + + + + + + + Urdu + + + + + + + + Uzbek + + + + + + + + Vietnamese + + + + + + + + Volapük + + + + + + + + Wolof + + + + + + + + hosa + + + + + + + + Yiddish + + + + + + + + Yoruba + + + + + + + + Zhuang + + + + + + + + Chinese + + + + + + + + Zulu + + + + + + + + Afar + + + + + + + + Abkhazian + + + + + + + + Afrikaans + + + + + + + + Amharic + + + + + + + + Arabic + + + + + + + + Assamese + + + + + + + + Aymara + + + + + + + + Azerbaijani + + + + + + + + Bashkir + + + + + + + + Byelorussian + + + + + + + + Bulgarian + + + + + + + + Bihari + + + + + + + + Bislama + + + + + + + + Bengali; Bangla + + + + + + + + Tibetan + + + + + + + + Breton + + + + + + + + Catalan + + + + + + + + Corsican + + + + + + + + Czech + + + + + + + + Welsh + + + + + + + + Danish + + + + + + + + German + + + + + + + + Bhutani + + + + + + + + Greek + + + + + + + + English + + + + + + + + Esperanto + + + + + + + + Spanish + + + + + + + + Esotonian + + + + + + + + Basque + + + + + + + + Persian + + + + + + + + Finnish + + + + + + + + Fiji + + + + + + + + Faroese + + + + + + + + French + + + + + + + + Frisian + + + + + + + + Irish + + + + + + + + Scots Gaelic + + + + + + + + Galician + + + + + + + + Guarani + + + + + + + + Gujarati + + + + + + + + Hausa + + + + + + + + Hebrew + + + + + + + + Hindi + + + + + + + + Croatian + + + + + + + + Hungarian + + + + + + + + Armenian + + + + + + + + Interlingua + + + + + + + + Indonesian + + + + + + + + Interlingue + + + + + + + + Inupiak + + + + + + + + Icelandic + + + + + + + + Italian + + + + + + + + Eskimo, Inuktiut CA + + + + + + + + Japanese + + + + + + + + Javanese + + + + + + + + Georgian + + + + + + + + Kazakh + + + + + + + + Greenlandic + + + + + + + + Cambodian + + + + + + + + Kannada + + + + + + + + Korean + + + + + + + + Kashmiri + + + + + + + + Kurdish + + + + + + + + Kirghiz + + + + + + + + Latin + + + + + + + + Lingala + + + + + + + + Laothian + + + + + + + + Lithuanian + + + + + + + + Latvian, Lettish + + + + + + + + Malagasy + + + + + + + + Maori + + + + + + + + Macedonian + + + + + + + + Malayalam + + + + + + + + Mangolian + + + + + + + + Moldavian + + + + + + + + Marathi + + + + + + + + Malay + + + + + + + + Maltese + + + + + + + + Nauru + + + + + + + + Nepali + + + + + + + + Dutch + + + + + + + + Norwegian + + + + + + + + Occitan + + + + + + + + (Afan) Oromo + + + + + + + + Oriya + + + + + + + + Punjabi + + + + + + + + Polish + + + + + + + + Pashto, Pushto + + + + + + + + Portuguese + + + + + + + + Quechua + + + + + + + + Rhaeto-Romance + + + + + + + + Kirundi + + + + + + + + Romanian + + + + + + + + Russian + + + + + + + + Kinyarwanda + + + + + + + + Sanskrit + + + + + + + + Sindhi + + + + + + + + Sangho + + + + + + + + Serbo-Croatian + + + + + + + + Singhalese + + + + + + + + Slovak + + + + + + + + Slovenian + + + + + + + + Samoan + + + + + + + + Shona + + + + + + + + Somali + + + + + + + + Albanian + + + + + + + + Serbian + + + + + + + + Siswati + + + + + + + + Sesotho + + + + + + + + Sundanese + + + + + + + + Swedish + + + + + + + + Sawahili + + + + + + + + Tamil + + + + + + + + Telugu + + + + + + + + Tajik + + + + + + + + Thai + + + + + + + + Tigrinya + + + + + + + + Turkmen + + + + + + + + Tagalog + + + + + + + + Setswana + + + + + + + + Tonga + + + + + + + + Turkish + + + + + + + + Tsonga + + + + + + + + Tatar + + + + + + + + Twi + + + + + + + + Uigur + + + + + + + + Ukrainian + + + + + + + + Urdu + + + + + + + + Uzbek + + + + + + + + Vietnamese + + + + + + + + Volapük + + + + + + + + Wolof + + + + + + + + hosa + + + + + + + + Yiddish + + + + + + + + Yoruba + + + + + + + + Zhuang + + + + + + + + Chinese + + + + + + + + Zulu + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_MIMEMediaTypeCode_IANA_7_04.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_MIMEMediaTypeCode_IANA_7_04.xsd new file mode 100644 index 0000000..893e0cf --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_MIMEMediaTypeCode_IANA_7_04.xsd @@ -0,0 +1,658 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_UnitCode_UNECE_7_04.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_UnitCode_UNECE_7_04.xsd new file mode 100644 index 0000000..85e9d3f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_UnitCode_UNECE_7_04.xsd @@ -0,0 +1,8803 @@ + + + + + + + + + + + + small spray + + + + + + + + lift + + + + + + + + heat lot + + + + + + + + group + + + + + + + + outfit + + + + + + + + ration + + + + + + + + shot + + + + + + + + stick + + + + + + + + hundred fifteen kg drum + + + + + + + + hundred lb drum + + + + + + + + fiftyfive gallon (US) drum + + + + + + + + tank truck + + + + + + + + twenty foot container + + + + + + + + forty foot container + + + + + + + + decilitre per gram + + + + + + + + gram per cubic centimetre + + + + + + + + theoretical pound + + + + + + + + gram per square centimetre + + + + + + + + actual ton + + + + + + + + theoretical ton + + + + + + + + kilogram per square metre + + + + + + + + pound per thousand square feet + + + + + + + + horse power day per air dry metric ton + + + + + + + + catch weight + + + + + + + + kilogram per air dry metric ton + + + + + + + + kilopascal square metres per gram + + + + + + + + kilopascals per millimetre + + + + + + + + millilitres per square centimetre second + + + + + + + + cubic feet per minute per square foot + + + + + + + + ounce per square foot + + + + + + + + ounces per square foot per 0,01 inch + + + + + + + + millilitre per second + + + + + + + + millilitre per minute + + + + + + + + super bulk bag + + + + + + + + fivehundred kg bulk bag + + + + + + + + threehundred kg bulk bag + + + + + + + + fifty lb bulk bag + + + + + + + + fifty lb bag + + + + + + + + bulk car load + + + + + + + + theoretical kilograms + + + + + + + + theoretical tonne + + + + + + + + sitas + + + + + + + + mesh + + + + + + + + net kilogram + + + + + + + + part per million + + + + + + + + percent weight + + + + + + + + part per billion (US) + + + + + + + + percent per 1000 hour + + + + + + + + failure rate in time + + + + + + + + pound per square inch, gauge + + + + + + + + oersted + + + + + + + + test specific scale + + + + + + + + volt ampere per pound + + + + + + + + watt per pound + + + + + + + + ampere tum per centimetre + + + + + + + + millipascal + + + + + + + + gauss + + + + + + + + milli-inch + + + + + + + + kilogauss + + + + + + + + pounds per square inch absolute + + + + + + + + henry + + + + + + + + kilopound per square inch + + + + + + + + foot pound-force + + + + + + + + pound per cubic foot + + + + + + + + poise + + + + + + + + Saybold universal second + + + + + + + + stokes + + + + + + + + calorie per cubic centimetre + + + + + + + + calorie per gram + + + + + + + + curl unit + + + + + + + + twenty thousand gallon (US) tankcar + + + + + + + + ten thousand gallon (US) tankcar + + + + + + + + ten kg drum + + + + + + + + fifteen kg drum + + + + + + + + car mile + + + + + + + + car count + + + + + + + + locomotive count + + + + + + + + caboose count + + + + + + + + empty car + + + + + + + + train mile + + + + + + + + fuel usage gallon (US) + + + + + + + + caboose mile + + + + + + + + fixed rate + + + + + + + + ton mile + + + + + + + + locomotive mile + + + + + + + + total car count + + + + + + + + total car mile + + + + + + + + quarter mile + + + + + + + + radian per second + + + + + + + + radian per second squared + + + + + + + + röntgen + + + + + + + + British thermal unit per hour + + + + + + + + cubic centimetre per second + + + + + + + + cubic foot per hour + + + + + + + + cubic foot per minute + + + + + + + + centimetre per second + + + + + + + + decibel + + + + + + + + kilobyte + + + + + + + + kilobecquerel + + + + + + + + kilocurie + + + + + + + + megagram + + + + + + + + megagram per hour + + + + + + + + bin + + + + + + + + metre per minute + + + + + + + + milliröntgen + + + + + + + + millivolt + + + + + + + + megajoule + + + + + + + + manmonth + + + + + + + + pound per pound of product + + + + + + + + pound per piece of product + + + + + + + + kilogram per kilogram of product + + + + + + + + kilogram per piece of product + + + + + + + + bobbin + + + + + + + + cap + + + + + + + + centistokes + + + + + + + + twenty pack + + + + + + + + microlitre + + + + + + + + micrometre (micron) + + + + + + + + milliampere + + + + + + + + megabyte + + + + + + + + milligram per hour + + + + + + + + megabecquerel + + + + + + + + microfarad + + + + + + + + newton per metre + + + + + + + + ounce inch + + + + + + + + ounce foot + + + + + + + + picofarad + + + + + + + + pound per hour + + + + + + + + ton(US) per hour + + + + + + + + kilolitre per hour + + + + + + + + barrel per minute + + + + + + + + batch + + + + + + + + gallon(US) per thousand + + + + + + + + MMSCF/day + + + + + + + + pounds per thousand + + + + + + + + pump + + + + + + + + stage + + + + + + + + standard cubic foot + + + + + + + + hydraulic horse power + + + + + + + + count per minute + + + + + + + + seismic level + + + + + + + + seismic line + + + + + + + + 15 C calorie + + + + + + + + ampere square metre per joule second + + + + + + + + Ã¥ngström + + + + + + + + astronomical unit + + + + + + + + attojoule + + + + + + + + barn + + + + + + + + barn per electron volt + + + + + + + + barn per steradian electron volt, + + + + + + + + barn per sterdian + + + + + + + + becquerel per kilogram + + + + + + + + becquerel per metre cubed + + + + + + + + ampere per centimetre + + + + + + + + British thermal unit per second square foot degree Rankin + + + + + + + + British thermal unit per pound degree Rankin + + + + + + + + British thermal unit per second foot degree Rankin + + + + + + + + British thermal unit per hour square foot degree Rankin + + + + + + + + candela per square metre + + + + + + + + cheval vapeur + + + + + + + + coulomb metre + + + + + + + + coulomb metre squared per volt + + + + + + + + coulomb per cubic centimetre + + + + + + + + coulomb per cubic metre + + + + + + + + ampere per millimetre + + + + + + + + coulomb per cubic millimetre + + + + + + + + coulomb per kilogram second + + + + + + + + coulomb per mole + + + + + + + + coulomb per square centimetre + + + + + + + + coulomb per square metre + + + + + + + + coulomb per square millimetre + + + + + + + + cubic centimetre per mole + + + + + + + + cubic decimetre per mole + + + + + + + + cubic metre per coulomb + + + + + + + + cubic metre per kilogram + + + + + + + + ampere per square centimetre + + + + + + + + cubic metre per mole + + + + + + + + ampere per square metre + + + + + + + + curie per kilogram + + + + + + + + deadweight tonnage + + + + + + + + decalitre + + + + + + + + decametre + + + + + + + + decitex + + + + + + + + degree Rankin + + + + + + + + denier + + + + + + + + ampere square metre + + + + + + + + dyn second per cubic centimetre + + + + + + + + dyne second per centimetre + + + + + + + + dyne second per centimetre to the fifth + + + + + + + + electronvolt + + + + + + + + electronvolt per metre + + + + + + + + electronvolt square metre + + + + + + + + electronvolt square metre per kilogram + + + + + + + + erg + + + + + + + + erg per centimetre + + + + + + + + ampere per square metre kelvin squared + + + + + + + + erg per cubic centimetre + + + + + + + + erg per gram + + + + + + + + erg per gram second + + + + + + + + erg per second + + + + + + + + erg per second square centimetre + + + + + + + + erg per square centimetre second + + + + + + + + erg square centimetre + + + + + + + + erg square centimetre per gram + + + + + + + + exajoule + + + + + + + + farad per metre + + + + + + + + ampere per square millimetre + + + + + + + + femtojoule + + + + + + + + femtometre + + + + + + + + foot per second squared + + + + + + + + foot pound-force per second + + + + + + + + freight ton + + + + + + + + gal + + + + + + + + Gaussian CGS unit of displacement + + + + + + + + Gaussian CGS unit of electic current + + + + + + + + Gaussian CGS unit of electric charge + + + + + + + + ampere second + + + + + + + + Gaussian CGS unit of electric field strength + + + + + + + + Gaussian CGS unit of electric polarization + + + + + + + + Gaussian CGS unit of electric potential + + + + + + + + Gaussian CGS unit of magnetization + + + + + + + + gigacoulomb per cubic metre + + + + + + + + gigaelectronvolt + + + + + + + + gigahertz + + + + + + + + gigaohm + + + + + + + + gigaohm metre + + + + + + + + gigapascal + + + + + + + + rate + + + + + + + + gigawatt + + + + + + + + gon + Remarks by GEFEG mbH: +Synonyms A91 = grade + + + + + + + gram per cubic metre + + + + + + + + gram per mole + + + + + + + + gray + + + + + + + + gray per second + + + + + + + + hectopascal + + + + + + + + henry per metre + + + + + + + + ball + + + + + + + + bulk pack + + + + + + + + acre + + + + + + + + byte + + + + + + + + ampere per metre + + + + + + + + additional minute + + + + + + + + average minute per call + + + + + + + + cop + + + + + + + + fathom + + + + + + + + access line + + + + + + + + ampoule + + + + + + + + ampere hour + + + + + + + + ampere + + + + + + + + year + + + + + + + + aluminium pound only + + + + + + + + troy ounce or apothecaries' ounce + + + + + + + + anti-hemophilic factor (AHF) unit + + + + + + + + suppository + + + + + + + + are + + + + + + + + assortment + + + + + + + + alcoholic strength by mass + + + + + + + + alcoholic strength by volume + + + + + + + + standard atmosphere + + + + + + + + technical atmosphere + + + + + + + + capsule + + + + + + + + powder filled vial + + + + + + + + assembly + + + + + + + + British thermal unit per pound + + + + + + + + Btu per cubic foot + + + + + + + + barrel (US) per day + + + + + + + + joule per kilogram kelvin + + + + + + + + joule per metre + + + + + + + + joule per square metre + Remarks by GEFEG mbH: +Synonym B13 = joule per metre squared + + + + + + + joule per metre to the fourth power + + + + + + + + joule per mole + + + + + + + + joule per mole kelvin + + + + + + + + joule second + + + + + + + + bunk + + + + + + + + joule square metre per kilogram + + + + + + + + kelvin per watt + + + + + + + + kiloampere + + + + + + + + kiloampere per square metre + + + + + + + + kiloampere per metre + + + + + + + + kilobecquerel per kilogram + + + + + + + + kilocoulomb + + + + + + + + kilocoulomb per cubic metre + + + + + + + + kilocoulomb per square metre + + + + + + + + kiloelectronvolt + + + + + + + + batting pound + + + + + + + + kilogram metre per second + + + + + + + + kilogram metre squared + + + + + + + + kilogram metre squared per second + + + + + + + + kilogram per cubic decimetre + + + + + + + + kilogram per litre + Remarks by GEFEG mbH: +Synonym B35 = kilogram per litre of product + + + + + + + thermochemical calorie per gram + + + + + + + + kilogram-force + + + + + + + + kilogram-force metre + + + + + + + + kilogram-force metre per second + + + + + + + + barrel, imperial + + + + + + + + kilogram-force per square metre + + + + + + + + kilojoule per kelvin + + + + + + + + kilojoule per kilogram + + + + + + + + kilojoule per kilogram kelvin + + + + + + + + kilojoule per mole + + + + + + + + kilomole + + + + + + + + kilomole per cubic metre + + + + + + + + kilonewton + + + + + + + + kilonewton metre + + + + + + + + kiloohm + + + + + + + + billet + + + + + + + + kiloohm metre + + + + + + + + kilopond + + + + + + + + kilosecond + + + + + + + + kilosiemens + + + + + + + + kilosiemens per metre + + + + + + + + kilovolt per metre + + + + + + + + kiloweber per metre + + + + + + + + light year + + + + + + + + litre per mole + + + + + + + + lumen hour + + + + + + + + bun + + + + + + + + lumen per square metre + + + + + + + + lumen per watt + + + + + + + + lumen second + + + + + + + + lux hour + + + + + + + + lux second + + + + + + + + maxwell + + + + + + + + megaampere per square metre + + + + + + + + megabecquerel per kilogram + + + + + + + + megacoulomb per cubic metre + + + + + + + + cycle + + + + + + + + megacoulomb per square metre + + + + + + + + megaelectronvolt + + + + + + + + megagram per cubic metre + + + + + + + + meganewton + + + + + + + + meganewton metre + + + + + + + + megaohm + + + + + + + + megaohm metre + + + + + + + + megasiemens per metre + + + + + + + + megavolt + + + + + + + + megavolt per metre + + + + + + + + joule per cubic metre + + + + + + + + reciprocal metre squared reciprocal second + + + + + + + + metre to the fourth power + + + + + + + + microampere + + + + + + + + microbar + + + + + + + + microcoulomb + + + + + + + + microcoulomb per cubic metre + + + + + + + + microcoulomb per square metre + + + + + + + + microfarad per metre + + + + + + + + batt + + + + + + + + microhenry + + + + + + + + microhenry per metre + + + + + + + + micronewton + + + + + + + + micronewton metre + + + + + + + + microohm + + + + + + + + microohm metre + + + + + + + + micropascal + + + + + + + + microradian + + + + + + + + microsecond + + + + + + + + microsiemens + + + + + + + + bar + + + + + + + + base box + + + + + + + + board + + + + + + + + bundle + + + + + + + + board foot + + + + + + + + bag + + + + + + + + brush + + + + + + + + brake horse power + + + + + + + + trillion (US) + Remarks by GEFEG mbH: +Synonym BIL = billion (EUR) + + + + + + + bucket + + + + + + + + basket + + + + + + + + bale + + + + + + + + dry barrel (US) + + + + + + + + barrel (US) (petroleum etc.) + + + + + + + + bottle + + + + + + + + hundred board feet + + + + + + + + becquerel + + + + + + + + bar + + + + + + + + bolt + + + + + + + + British thermal unit + + + + + + + + bushel (US) + + + + + + + + bushel (UK) + + + + + + + + base weight + + + + + + + + box + + + + + + + + million BTUs + + + + + + + + call + + + + + + + + composite product pound (total weight) + + + + + + + + millifarad + + + + + + + + milligal + + + + + + + + milligram per metre + + + + + + + + milligray + + + + + + + + millihenry + + + + + + + + millijoule + + + + + + + + millimetre per second + + + + + + + + millimetre squared per second + + + + + + + + millimole + + + + + + + + mole per kilogram + + + + + + + + carset + + + + + + + + millinewton + + + + + + + + millinewton per metre + + + + + + + + milliohm metre + + + + + + + + millipascal second + + + + + + + + milliradian + + + + + + + + millisecond + + + + + + + + millisiemens + + + + + + + + millisievert + + + + + + + + millitesla + + + + + + + + microvolt per metre + + + + + + + + millivolt per metre + + + + + + + + milliwatt + + + + + + + + milliwatt per square metre + + + + + + + + milliweber + + + + + + + + mole + + + + + + + + mole per cubic decimetre + + + + + + + + mole per cubic metre + + + + + + + + mole per litre + + + + + + + + nanoampere + + + + + + + + carload + + + + + + + + nanocoulomb + + + + + + + + nanofarad + + + + + + + + nanofarad per metre + + + + + + + + nanohenry + + + + + + + + nanohenry per metre + + + + + + + + nanometre + + + + + + + + nanoohm metre + + + + + + + + nanosecond + + + + + + + + nanotesla + + + + + + + + nanowatt + + + + + + + + cost + + + + + + + + neper + + + + + + + + neper per second + + + + + + + + picometre + + + + + + + + newton metre second + + + + + + + + newton metre squared kilogram squared + + + + + + + + newton per square metre + + + + + + + + newton per square millimetre + + + + + + + + newton second + + + + + + + + newton second per metre + + + + + + + + octave + + + + + + + + cell + + + + + + + + ohm centimetre + + + + + + + + ohm metre + + + + + + + + one + + + + + + + + parsec + + + + + + + + pascal per kelvin + + + + + + + + pascal second + + + + + + + + pascal second per cubic metre + + + + + + + + pascal second per metre + + + + + + + + petajoule + + + + + + + + phon + + + + + + + + centipoise + + + + + + + + picoampere + + + + + + + + picocoulomb + + + + + + + + picofarad per metre + + + + + + + + picohenry + + + + + + + + picowatt + + + + + + + + picowatt per square metre + + + + + + + + pound gage + + + + + + + + pound-force + + + + + + + + millicoulomb per kilogram + + + + + + + + rad + + + + + + + + radian + + + + + + + + radian meter squared per mole + + + + + + + + radian metre squared per kilogram + + + + + + + + radian per metre + + + + + + + + reciprocal †ngstr"m + + + + + + + + reciprocal cubic metre + + + + + + + + reciprocal cubic metre per second + + + + + + + + reciprocal electron volt per cubic metre + + + + + + + + reciprocal henry + + + + + + + + coil group + + + + + + + + reciprocal joule per cubic metre + + + + + + + + reciprocal kelvin or kelvin to the power minus one + + + + + + + + reciprocal metre + + + + + + + + reciprocal square metre + Remarks by GEFEG mbH: +Synonym C93 = reciprocal metre squared + + + + + + + reciprocal minute + + + + + + + + reciprocal mole + + + + + + + + reciprocal pascal or pascal to the power minus one + + + + + + + + reciprocal second + + + + + + + + reciprocal second per cubic metre + + + + + + + + reciprocal second per metre squared + + + + + + + + can + + + + + + + + carrying capacity in metric ton + + + + + + + + candela + + + + + + + + degree Celsius + + + + + + + + hundred + + + + + + + + card + + + + + + + + centigram + + + + + + + + container + + + + + + + + cone + + + + + + + + connector + + + + + + + + coulomb per kilogram + + + + + + + + coil + + + + + + + + hundred leave + + + + + + + + centilitre + + + + + + + + square centimetre + + + + + + + + cubic centimetre + + + + + + + + centimetre + + + + + + + + hundred pack + + + + + + + + cental (UK) + + + + + + + + carboy + + + + + + + + coulomb + + + + + + + + cartridge + + + + + + + + crate + + + + + + + + case + + + + + + + + carton + + + + + + + + metric carat + + + + + + + + cup + + + + + + + + curie + + + + + + + + cover + + + + + + + + hundred pounds (cwt)/hundred weight (US) + + + + + + + + hundred weight (UK) + + + + + + + + cylinder + + + + + + + + combo + + + + + + + + reciprocal second per steradian + + + + + + + + siemens per metre + + + + + + + + siemens square metre per mole + + + + + + + + sievert + + + + + + + + thousand linear yard + + + + + + + + sone + + + + + + + + square centimetre per erg + + + + + + + + square centimetre per steradian erg + + + + + + + + metre kelvin + + + + + + + + square metre kelvin per watt + + + + + + + + reciprocal second per steradian metre squared + + + + + + + + square metre per joule + + + + + + + + square metre per kilogram + + + + + + + + square metre per mole + + + + + + + + pen gram (protein) + + + + + + + + square metre per steradian + + + + + + + + square metre per steradian joule + + + + + + + + square metre per volt second + + + + + + + + steradian + + + + + + + + syphon + + + + + + + + terahertz + + + + + + + + terajoule + + + + + + + + terawatt + + + + + + + + terawatt hour + + + + + + + + tesla + + + + + + + + tex + + + + + + + + thermochemical calorie + + + + + + + + thermochemical calorie per gram kelvin + + + + + + + + thermochemical calorie per second centimetre kelvin + + + + + + + + thermochemical calorie per second square centimetre kelvin + + + + + + + + thousand litre + + + + + + + + tonne per cubic metre + + + + + + + + tropical year + + + + + + + + unified atomic mass unit + + + + + + + + var + + + + + + + + volt squared per kelvin squared + + + + + + + + volt - ampere + + + + + + + + volt per centimetre + + + + + + + + volt per kelvin + + + + + + + + millivolt per kelvin + + + + + + + + kilogram per square centimeter + + + + + + + + volt per metre + + + + + + + + volt per millimetre + + + + + + + + watt per kelvin + + + + + + + + watt per metre kelvin + + + + + + + + watt per square metre + + + + + + + + watt per square metre kelvin + + + + + + + + watt per square metre kelvin to the fourth power + + + + + + + + watt per steradian + + + + + + + + watt per steradian square metre + + + + + + + + weber per metre + + + + + + + + röntgen per second + + + + + + + + weber per millimetre + + + + + + + + minute + + + + + + + + second + + + + + + + + book + + + + + + + + block + + + + + + + + round + + + + + + + + cassette + + + + + + + + dollar per hour + + + + + + + + inch to the fourth power + + + + + + + + sandwich + + + + + + + + International Table (IT) calorie + + + + + + + + International Table (IT) calorie per second centimetre kelvin + + + + + + + + International Table (IT) calorie per second square centimetre kelvin + + + + + + + + joule square metre + + + + + + + + kilogram per mole + + + + + + + + International Table (IT) calorie per gram + + + + + + + + International Table (IT) calorie per gram kelvin + + + + + + + + megacoulomb + + + + + + + + beam + + + + + + + + draize score + + + + + + + + microwatt + + + + + + + + microtesla + + + + + + + + microvolt + + + + + + + + millinewton metre + + + + + + + + microwatt per square metre + + + + + + + + millicoulomb + + + + + + + + millimole per kilogram + + + + + + + + millicoulomb per cubic metre + + + + + + + + millicoulomb per square metre + + + + + + + + dyne per square centimeter + + + + + + + + cubic metre (net) + + + + + + + + rem + + + + + + + + band + + + + + + + + second per cubic metre + + + + + + + + second per radian cubic metre + + + + + + + + joule per gram + + + + + + + + pound gross + + + + + + + + pallet/unit load + + + + + + + + mass pound + + + + + + + + sleeve + + + + + + + + decare + + + + + + + + ten day + + + + + + + + day + + + + + + + + dry pound + + + + + + + + disk (disc) + + + + + + + + degree + + + + + + + + deal + + + + + + + + decade + + + + + + + + decigram + + + + + + + + dispenser + + + + + + + + decagram + + + + + + + + decilitre + + + + + + + + square decimetre + + + + + + + + cubic decimetre + + + + + + + + decimetre + + + + + + + + decinewton metre + + + + + + + + dozen piece + + + + + + + + dozen pair + + + + + + + + displacement tonnage + + + + + + + + data record + + + + + + + + drum + + + + + + + + dram (US) + + + + + + + + dram (UK) + + + + + + + + dozen roll + + + + + + + + drachm (UK) + + + + + + + + display + + + + + + + + dry ton + + + + + + + + decitonne + Remarks by GEFEG mbH: +Synonym DTN = centner, metric +Synonym DTN = quintal, metric + + + + + + + dyne + + + + + + + + pennyweight + + + + + + + + dyne per centimetre + + + + + + + + directory book + + + + + + + + dozen + + + + + + + + dozen pack + + + + + + + + belt + + + + + + + + trailer + + + + + + + + gross kilogram + + + + + + + + metric long ton + + + + + + + + each + + + + + + + + electronic mail box + + + + + + + + each per month + + + + + + + + eleven pack + + + + + + + + equivalent gallon + + + + + + + + envelope + + + + + + + + thousand cubic feet per day + + + + + + + + fibre per cubic centimetre of air + + + + + + + + degree Fahrenheit + + + + + + + + farad + + + + + + + + field + + + + + + + + thousand cubic feet + + + + + + + + million particle per cubic foot + + + + + + + + track foot + + + + + + + + hundred cubic metre + + + + + + + + transdermal patch + + + + + + + + micromole + + + + + + + + flake ton + + + + + + + + million cubic feet + + + + + + + + foot + + + + + + + + pound per square foot + + + + + + + + foot per minute + + + + + + + + foot per second + + + + + + + + square foot + + + + + + + + cubic foot + + + + + + + + US gallon per minute + + + + + + + + Imperial gallon per minute + + + + + + + + microfiche sheet + + + + + + + + gallon (US) per day + + + + + + + + gigabecquerel + + + + + + + + gram per 100 gram + + + + + + + + gross barrel + + + + + + + + pound per gallon (US) + + + + + + + + gram per metre (gram per 100 centimetres) + + + + + + + + gram of fissile isotope + + + + + + + + great gross + + + + + + + + half gallon (US) + + + + + + + + gill (US) + + + + + + + + gill (UK) + + + + + + + + gram per millilitre + + + + + + + + gram per kilogram + + + + + + + + gram per litre + + + + + + + + dry gallon (US) + + + + + + + + gallon (UK) + + + + + + + + gallon (US) + + + + + + + + gram per square metre + + + + + + + + gross gallon + + + + + + + + milligrams per square metre + + + + + + + + milligram per cubic metre + + + + + + + + microgram per cubic meter + + + + + + + + gram + + + + + + + + grain + + + + + + + + gross + + + + + + + + gross register ton + + + + + + + + gross ton + Remarks by GEFEG mbH: +Synonym GT = metric gross ton + + + + + + + gigajoule + + + + + + + + gallon per thousand cubic feet + + + + + + + + gigawatt hour + + + + + + + + gross yard + + + + + + + + gage system + + + + + + + + half page - electronic + + + + + + + + half litre + + + + + + + + hank + + + + + + + + hectare + + + + + + + + hectobar + + + + + + + + hundred boxe + + + + + + + + hundred count + + + + + + + + half dozen + + + + + + + + hundredth of a carat + + + + + + + + hundred feet + + + + + + + + hectogram + + + + + + + + hundred cubic feet + + + + + + + + hundred sheet + + + + + + + + hundred international unit + + + + + + + + metric horse power + + + + + + + + hundred kilogram + + + + + + + + hundred feet (linear) + + + + + + + + hectolitre + + + + + + + + mile per hour + + + + + + + + million cubic metre + + + + + + + + hectometre + + + + + + + + conventional millimetre of mercury + + + + + + + + hundred troy ounce + + + + + + + + conventional millimetre of water + + + + + + + + hectolitre of pure alcohol + + + + + + + + hundred square feet + + + + + + + + half hour + + + + + + + + hertz + + + + + + + + hour + + + + + + + + hundred yard + + + + + + + + inch pound (pound inch) + + + + + + + + count per inch + + + + + + + + person + + + + + + + + inches of water + + + + + + + + column inch + + + + + + + + inch per minute + + + + + + + + impression + + + + + + + + inch + + + + + + + + square inch + + + + + + + + inch cubed + + + + + + + + insurance policy + + + + + + + + count per centimetre + + + + + + + + inch per second (linear speed) + Remarks by GEFEG mbH: +Synonym IU = inch per second (vibration) + + + + + + + inch per second squared (acceleration) + Remarks by GEFEG mbH: +Synonym IV = inch per second squared (vibration acceleration) + + + + + + + joule per kilogram + + + + + + + + jumbo + + + + + + + + joule per kelvin + + + + + + + + jug + + + + + + + + megajoule per kilogram + + + + + + + + megajoule per cubic metre + + + + + + + + joint + + + + + + + + joule + + + + + + + + jar + + + + + + + + kilowatt demand + + + + + + + + kilovolt ampere reactive demand + + + + + + + + kilovolt ampere reactive hour + + + + + + + + kilovolt ampere (reactive) + + + + + + + + kilolitre + + + + + + + + cake + + + + + + + + kilocharacter + + + + + + + + kilobar + + + + + + + + kilogram decimal + + + + + + + + kelvin + + + + + + + + kilopacket + + + + + + + + keg + + + + + + + + kilogram + + + + + + + + kilogram per second + + + + + + + + kilohertz + + + + + + + + kilogram per millimetre width + + + + + + + + kilosegment + + + + + + + + kilojoule + + + + + + + + kilogram per metre + + + + + + + + kilometre per hour + + + + + + + + square kilometre + + + + + + + + kilogram per cubic metre + + + + + + + + kilogram of nitrogen + + + + + + + + kilogram named substance + + + + + + + + knot + + + + + + + + milliequivalence caustic potash per gram of product + + + + + + + + kilopascal + + + + + + + + kilogram of potassium hydroxide (caustic potash) + + + + + + + + kilogram of potassium oxide + + + + + + + + kilogram of phosphorus pentoxide (phosphoric anhydride) + + + + + + + + kiloröntgen + + + + + + + + thousand pound per square inch + + + + + + + + kilogram of substance 90 % dry + + + + + + + + kilogram of sodium hydroxide (caustic soda) + + + + + + + + kit + + + + + + + + kilometre + + + + + + + + kilotonne + + + + + + + + kilogram of uranium + + + + + + + + kilovolt - ampere + + + + + + + + kilovar + + + + + + + + kilovolt + + + + + + + + kilograms per millimeter + + + + + + + + kilowatt hour + + + + + + + + kilowatt + + + + + + + + millilitre per kilogram + + + + + + + + litre per minute + + + + + + + + pound per cubic inch + + + + + + + + pound + Remarks by GEFEG mbH: +Synonym LBR = pound decimal + + + + + + + troy pound (US) + + + + + + + + linear centimetre + + + + + + + + litre per day + + + + + + + + lite + + + + + + + + leaf + + + + + + + + linear foot + + + + + + + + labour hour + + + + + + + + linear inch + + + + + + + + large spray + + + + + + + + link + + + + + + + + linear metre + + + + + + + + length + + + + + + + + lot + + + + + + + + liquid pound + + + + + + + + litre of pure alcohol + + + + + + + + layer + + + + + + + + lump sum + + + + + + + + ton (UK) or longton (US) + + + + + + + + litre + + + + + + + + lumen + + + + + + + + lux + + + + + + + + linear yard per pound + + + + + + + + linear yard + + + + + + + + magnetic tape + + + + + + + + milligrams per litre + + + + + + + + monetary value + + + + + + + + microcurie + + + + + + + + micro-inch + + + + + + + + million Btu per 1000 cubic feet + + + + + + + + machine per unit + + + + + + + + mega litre + + + + + + + + megametre + + + + + + + + megawatt + + + + + + + + thousand standard brick equivalent + + + + + + + + thousand board feet + + + + + + + + millibar + + + + + + + + microgram + + + + + + + + millicurie + + + + + + + + air dry metric ton + + + + + + + + milligram per square foot per side + + + + + + + + milligram + + + + + + + + megahertz + + + + + + + + square mile + + + + + + + + thousand + + + + + + + + minute + + + + + + + + million + + + + + + + + million international unit + + + + + + + + milligram per square inch + + + + + + + + milliard + Remarks by GEFEG mbH: +Synonym MLD = billion (US) + + + + + + + millilitre + + + + + + + + square millimetre + + + + + + + + cubic millimetre + + + + + + + + millimetre + + + + + + + + month + + + + + + + + megapascal + + + + + + + + thousand metre + + + + + + + + cubic metre per hour + + + + + + + + cubic metre per second + + + + + + + + metre per second squared + + + + + + + + mat + + + + + + + + square metre + + + + + + + + cubic metre + Remarks by GEFEG mbH: +Synonym MTQ = metre cubed + + + + + + + metre + + + + + + + + metre per second + + + + + + + + number of mults + + + + + + + + megavolt - ampere + + + + + + + + megawatt hour (1000 kW.h) + + + + + + + + pen calorie + + + + + + + + number of lines + + + + + + + + print point + + + + + + + + milligram per kilogram + + + + + + + + number of articles + + + + + + + + barge + + + + + + + + number of bobbins + + + + + + + + car + + + + + + + + number of cells + + + + + + + + net barrel + + + + + + + + net litre + + + + + + + + newton + + + + + + + + message + + + + + + + + net gallon (us) + + + + + + + + message hour + + + + + + + + net imperial gallon + + + + + + + + number of international units + + + + + + + + number of screens + + + + + + + + load + + + + + + + + nautical mile + + + + + + + + number of packs + + + + + + + + train + + + + + + + + number of parcels + + + + + + + + number of pairs + + + + + + + + number of parts + + + + + + + + mho + + + + + + + + micromho + + + + + + + + number of rolls + + + + + + + + net ton + Remarks by GEFEG mbH: +Synonym NT = metric net ton + + + + + + + net register ton + + + + + + + + newton metre + + + + + + + + vehicle + + + + + + + + part per thousand + + + + + + + + pound per air dry metric ton + + + + + + + + panel + + + + + + + + ohm + + + + + + + + ounce per square yard + + + + + + + + ounce + + + + + + + + two pack + + + + + + + + overtime hour + + + + + + + + ounce av + + + + + + + + fluid ounce (US) + + + + + + + + fluid ounce (UK) + + + + + + + + page - electronic + + + + + + + + percent + + + + + + + + pound per foot + + + + + + + + three pack + + + + + + + + four pack + + + + + + + + five pack + + + + + + + + six pack + + + + + + + + seven pack + + + + + + + + eight pack + + + + + + + + nine pack + + + + + + + + packet + + + + + + + + pascal + + + + + + + + pair inch + + + + + + + + pad + + + + + + + + pound equivalent + + + + + + + + pallet (lift) + + + + + + + + plate + + + + + + + + proof gallon + + + + + + + + pitch + + + + + + + + package + Remarks by GEFEG mbH: +Synonym PK = pack + + + + + + + pail + + + + + + + + pound percentage + + + + + + + + pound net + + + + + + + + pound per inch of length + + + + + + + + page per inch + + + + + + + + pair + + + + + + + + pound-force per square inch + + + + + + + + pint (US) + + + + + + + + dry pint (US) + + + + + + + + pint (UK) + + + + + + + + liquid pint (US) + + + + + + + + tray / tray pack + + + + + + + + half pint (US) + + + + + + + + pound per inch of width + + + + + + + + peck dry (US) + + + + + + + + peck dry (UK) + + + + + + + + meal + + + + + + + + page - facsimile + + + + + + + + quarter (of a year) + + + + + + + + page - hardcopy + + + + + + + + quarter dozen + + + + + + + + quarter hour + + + + + + + + quarter kilogram + + + + + + + + quire + + + + + + + + quart (US) + + + + + + + + dry quart (US) + + + + + + + + quart (UK) + + + + + + + + liquid quart (US) + + + + + + + + quarter (UK) + + + + + + + + pica + + + + + + + + calorie + + + + + + + + thousand cubic metre + + + + + + + + rack + + + + + + + + rod + + + + + + + + ring + + + + + + + + running or operating hour + + + + + + + + roll metric measure + + + + + + + + reel + + + + + + + + ream + + + + + + + + ream metric measure + + + + + + + + roll + + + + + + + + pound per ream + + + + + + + + revolutions per minute + + + + + + + + revolutions per second + + + + + + + + reset + + + + + + + + revenue ton mile + + + + + + + + run + + + + + + + + square foot per second + + + + + + + + square metre per second + + + + + + + + sixty fourths of an inch + + + + + + + + session + + + + + + + + storage unit + + + + + + + + standard advertising unit + + + + + + + + sack + + + + + + + + half year (6 months) + + + + + + + + score + + + + + + + + scruple + + + + + + + + solid pound + + + + + + + + section + + + + + + + + second + + + + + + + + set + + + + + + + + segment + + + + + + + + shipping ton + + + + + + + + siemens + + + + + + + + split tanktruck + + + + + + + + slipsheet + + + + + + + + mile (statute mile) + + + + + + + + square rod + + + + + + + + spool + + + + + + + + shelf package + + + + + + + + square + + + + + + + + strip + + + + + + + + sheet metric measure + + + + + + + + short standard (7200 matches) + + + + + + + + sheet + + + + + + + + stone (UK) + + + + + + + + ton (US) or short ton (UK/US) + Remarks by GEFEG mbH: +Synonym STN = net ton (2000 lb) + + + + + + + skid + + + + + + + + skein + + + + + + + + shipment + + + + + + + + telecommunication line in service + + + + + + + + thousand pound gross + + + + + + + + thousand piece + + + + + + + + thousand bag + + + + + + + + thousand casing + + + + + + + + thousand gallon (US) + + + + + + + + thousand impression + + + + + + + + thousand linear inch + + + + + + + + tenth cubic foot + + + + + + + + kiloampere hour (thousand ampere hour) + + + + + + + + truckload + + + + + + + + therm + + + + + + + + tote + + + + + + + + ten square yard + + + + + + + + thousand square inch + + + + + + + + thousand square centimetre + + + + + + + + tank, rectangular + + + + + + + + thousand feet (linear) + + + + + + + + tin + + + + + + + + tonne (metric ton) + Remarks by GEFEG mbH: +Synonym TNE = metric ton + + + + + + + ten pack + + + + + + + + ten pair + + + + + + + + thousand feet + + + + + + + + thousand cubic metre per day + + + + + + + + ten square feet + + + + + + + + trillion (EUR) + + + + + + + + thousand square feet + + + + + + + + tonne of substance 90 % dry + + + + + + + + ton of steam per hour + + + + + + + + thousand linear metre + + + + + + + + tube + + + + + + + + thousand kilogram + + + + + + + + thousand sheet + + + + + + + + tank, cylindrical + + + + + + + + treatment + + + + + + + + tablet + + + + + + + + torr + + + + + + + + telecommunication line in service average + + + + + + + + telecommunication port + + + + + + + + tenth minute + + + + + + + + tenth hour + + + + + + + + usage per telecommunication line average + + + + + + + + ten thousand yard + + + + + + + + million unit + + + + + + + + volt ampere per kilogram + + + + + + + + vial + + + + + + + + volt + + + + + + + + bulk + + + + + + + + visit + + + + + + + + wet kilo + + + + + + + + two week + + + + + + + + watt per kilogram + + + + + + + + wet pound + + + + + + + + cord + + + + + + + + wet ton + + + + + + + + weber + + + + + + + + week + + + + + + + + wine gallon + + + + + + + + wheel + + + + + + + + watt hour + + + + + + + + weight per square inch + + + + + + + + working month + + + + + + + + wrap + + + + + + + + standard + + + + + + + + watt + + + + + + + + millilitre of water + + + + + + + + chain + + + + + + + + square yard + + + + + + + + cubic yard + + + + + + + + hundred linear yard + + + + + + + + yard + + + + + + + + ten yard + + + + + + + + lift van + + + + + + + + chest + + + + + + + + cask + + + + + + + + hogshead + + + + + + + + lug + + + + + + + + conference point + + + + + + + + newspage agate line + + + + + + + + page + + + + + + + + mutually defined + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonAggregateComponents-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonAggregateComponents-2.0.xsd new file mode 100644 index 0000000..78bf9b2 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonAggregateComponents-2.0.xsd @@ -0,0 +1,17444 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ABIE + Address. Details + Information about a structured address. + Address + + + + + + + + + BBIE + Address. Identifier + An identifier for a specific address within a scheme of registered addresses. + 0..1 + Address + Identifier + Identifier + Identifier. Type + DetailsKey + + + + + + + + + BBIE + Address. Address Type Code. Code + A code specifying the type of this address, such as business address or home address. + 0..1 + Address + Address Type Code + Code + Code. Type + + + + + + + + + BBIE + Address. Address Format Code. Code + A code specifying the format of this address. + 0..1 + Address + Address Format Code + Code + Code. Type + + + + + + + + + BBIE + Address. Postbox. Text + A post office box number. + 0..1 + Address + Postbox + Text + Text. Type + PostBox, PO Box + "123" + + + + + + + + + BBIE + Address. Floor. Text + An addressable floor of a building. + 0..1 + Address + Floor + Text + Text. Type + SubPremiseNumber + "30" + + + + + + + + + BBIE + Address. Room. Text + A room, suite, or apartment of a building. + 0..1 + Address + Room + Text + Text. Type + SubPremiseNumber + "Reception" + + + + + + + + + BBIE + Address. Street Name. Name + The name of a street. + 0..1 + Address + Street Name + Name + Name. Type + Thoroughfare + "Kwun Tong Road" + + + + + + + + + BBIE + Address. Additional_ Street Name. Name + An additional name of a street used to further specify the street name. + 0..1 + Address + Additional + Street Name + Name + Name. Type + Thoroughfare + "Cnr Aberdeen Road" + + + + + + + + + BBIE + Address. Block Name. Name + The block name, expressed as text, for an area surrounded by streets and usually containing several buildings for this address. + 0..1 + Address + Block Name + Name + Name. Type + Seabird + + + + + + + + + BBIE + Address. Building Name. Name + The name of a building. + 0..1 + Address + Building Name + Name + Name. Type + BuildingName + "Plot 421" + + + + + + + + + BBIE + Address. Building Number. Text + The number of a building. + 0..1 + Address + Building Number + Text + Text. Type + PremiseNumber + "388" + + + + + + + + + BBIE + Address. Inhouse_ Mail. Text + A specific location within a building. + 0..1 + Address + Inhouse + Mail + Text + Text. Type + MailStop + + + + + + + + + BBIE + Address. Department. Text + An addressable department of an organization. + 0..1 + Address + Department + Text + Text. Type + Department + "Accounts Payable" + + + + + + + + + BBIE + Address. Mark Attention. Text + The name, expressed as text, of a person or department in the organization to whom incoming mail is marked with words such as 'for the attention of' or 'FAO' or 'ATTN' for this address. + 0..1 + Address + Mark Attention + Text + Text. Type + + + + + + + + + BBIE + Address. Mark Care. Text + The name, expressed as text, of a person or organization at this address to whom incoming mail is marked with words such as 'care of' or 'C/O'. + 0..1 + Address + Mark Care + Text + Text. Type + + + + + + + + + BBIE + Address. Plot Identification. Text + The textual expression of the unique identifier for the piece of land on which this address is located such as a plot number. + 0..1 + Address + Plot Identification + Text + Text. Type + + + + + + + + + BBIE + Address. City Subdivision Name. Name + A name, expressed as text, of a subdivision of a city for this address, for example, a district or borough. + 0..1 + Address + City Subdivision Name + Name + Name. Type + + + + + + + + + BBIE + Address. City Name. Name + The name of a city, town, or village. + 0..1 + Address + City Name + Name + Name. Type + LocalityName + "Hong Kong" + + + + + + + + + BBIE + Address. Postal_ Zone. Text + The identifier for an addressable group of properties according to the relevant national postal service, such as a ZIP code or Post Code. + 0..1 + Address + Postal + Zone + Text + Text. Type + PostalCodeNumber + "SW11 4EW" "2500 GG" + + + + + + + + + BBIE + Address. Country Subentity. Text + A territorial division of a country, such as a county or state. + 0..1 + Address + Country Subentity + Text + Text. Type + AdministrativeArea, State, Country, Shire, Canton + "Florida","Tamilnadu" + + + + + + + + + BBIE + Address. Country Subentity Code. Code + A territorial division of a country, such as a county or state, expressed as a code. + 0..1 + Address + Country Subentity Code + Code + Code. Type + AdministrativeAreaCode, State Code + + + + + + + + + BBIE + Address. Region. Text + An addressable region or group of countries. + 0..1 + Address + Region + Text + Text. Type + LocalityName, Economic Zone + "European Union" + + + + + + + + + BBIE + Address. District. Text + A geographical division of a country. + 0..1 + Address + District + Text + Text. Type + LocalityName, Area + "East Coast" + + + + + + + + + BBIE + Address. Timezone Offset. Text + For the time zone in which the address is situated, the measure of time offset from Universal Coordinated Time (UTC). + 0..1 + Address + Timezone Offset + Text + Text. Type + "+8:00" "-3:00" + + + + + + + + + ASBIE + Address. Address Line + An association to Address Line. + 0..n + Address + Address Line + Address Line + + + + + + + + + ASBIE + Address. Country + An association to Country. + 0..1 + Address + Country + Country + + + + + + + + + ASBIE + Address. Location Coordinate + An association to Location Coordinate. + 0..1 + Address + Location Coordinate + Location Coordinate + + + + + + + + + + + ABIE + Address Line. Details + Information about a line of address expressed as unstructured text. + Address Line + + + + + + + + + BBIE + Address Line. Line. Text + A line of address expressed as unstructured text. + 1 + Address Line + Line + Text + Text. Type + "123 Standard Chartered Tower" + + + + + + + + + + + ABIE + Air Transport. Details + Information related to an aircraft. + Air Transport + + + + + + + + + BBIE + Air Transport. Aircraft Identifier. Identifier + Identifies a specific aircraft. + 1 + Air Transport + Aircraft Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Allowance Charge. Details + Information about a charge or discount price component. + Allowance Charge + + + + + + + + + BBIE + Allowance Charge. Identifier + Identifies an Allowance Charge. + 0..1 + Allowance Charge + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Allowance Charge. Charge_ Indicator. Indicator + Indicates whether the Allowance Charge is a charge (true) or a discount (false). + 1 + Allowance Charge + Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Allowance Charge. Allowance Charge Reason Code. Code + The reason for the Allowance Charge, expressed as a code. + 0..1 + Allowance Charge + Allowance Charge Reason Code + Code + Allowance Charge Reason_ Code. Type + + + + + + + + + BBIE + Allowance Charge. Allowance Charge_ Reason. Text + The reason for the Allowance Charge, expressed as text. + 0..1 + Allowance Charge + Allowance Charge + Reason + Text + Text. Type + + + + + + + + + BBIE + Allowance Charge. Multiplier_ Factor. Numeric + The factor applied to the Base Amount to calculate the Allowance Charge. + 0..1 + Allowance Charge + Multiplier + Factor + Numeric + Numeric. Type + 0.20 + + + + + + + + + BBIE + Allowance Charge. Prepaid_ Indicator. Indicator + Indicates whether the Allowance Charge is prepaid (true) or not (false). + 0..1 + Allowance Charge + Prepaid + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Allowance Charge. Sequence. Numeric + Identifies the numerical order sequence in which Allowance Charges are calculated when multiple Allowance Charges apply. If all Allowance Charges apply to the same Base Amount, SequenceNumeric will be '1' for all Allowance Charges. + 0..1 + Allowance Charge + Sequence + Numeric + Numeric. Type + 1, 2, 3, 4, etc. + + + + + + + + + BBIE + Allowance Charge. Amount + The Allowance Charge amount. + 1 + Allowance Charge + Amount + Amount + Amount. Type + 35,23 + + + + + + + + + BBIE + Allowance Charge. Base_ Amount. Amount + The amount to which the MultiplierFactorNumeric is applied to calculate the Allowance Charge. + 0..1 + Allowance Charge + Base + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Allowance Charge. Accounting Cost Code. Code + The buyer's accounting code as applied to the Allowance Charge. + 0..1 + Allowance Charge + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Allowance Charge. Accounting Cost. Text + The buyer's accounting code as applied to the Allowance Charge expressed as text. + 0..1 + Allowance Charge + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Allowance Charge. Tax Category + An association to Tax Category. + 0..n + Allowance Charge + Tax Category + Tax Category + + + + + + + + + ASBIE + Allowance Charge. Tax Total + An association to Tax Total. + 0..1 + Allowance Charge + Tax Total + Tax Total + + + + + + + + + ASBIE + Allowance Charge. Payment Means + An association to Payment Means. + 0..n + Allowance Charge + Payment Means + Payment Means + + + + + + + + + + + ABIE + Attachment. Details + Information about an attached document. An attachment can be referred to externally (with the URI element) or internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element). + Attachment + + + + + + + + + BBIE + Attachment. Embedded_ Document. Binary Object + Contains an embedded document as a BLOB (binary large object). + 0..1 + Attachment + Embedded + Document + Binary Object + Binary Object. Type + + + + + + + + + ASBIE + Attachment. External Reference + An attached document, externally referred to, referred to in the MIME location, or embedded. + 0..1 + Attachment + External Reference + External Reference + + + + + + + + + + + ABIE + Billing Reference. Details + Information directly relating to a related document. + Billing Reference + + + + + + + + + ASBIE + Billing Reference. Invoice_ Document Reference. Document Reference + An associative reference to Invoice. + 0..1 + Billing Reference + Invoice + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Self Billed Invoice_ Document Reference. Document Reference + An associative reference to Self Billed Invoice. + 0..1 + Billing Reference + Self Billed Invoice + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Credit Note_ Document Reference. Document Reference + An associative reference to Credit Note. + 0..1 + Billing Reference + Credit Note + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Self Billed Credit Note_ Document Reference. Document Reference + An associative reference to Self Billed Credit Note. + 0..1 + Billing Reference + Self Billed Credit Note + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Debit Note_ Document Reference. Document Reference + An associative reference to Debit Note. + 0..1 + Billing Reference + Debit Note + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Reminder_ Document Reference. Document Reference + An associative reference to Reminder Document Reference + 0..1 + Billing Reference + Reminder + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..1 + Billing Reference + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Billing Reference Line + An association to Billing Reference Line. + 0..n + Billing Reference + Billing Reference Line + Billing Reference Line + + + + + + + + + + + ABIE + Billing Reference Line. Details + Information about a Billing Line. + Billing Reference Line + + + + + + + + + BBIE + Billing Reference Line. Identifier + An identifier for the Billing Line. + 1 + Billing Reference Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Billing Reference Line. Amount + The amount of the Billing Line, including Allowance Charges but net of taxes. + 0..1 + Billing Reference Line + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Billing Reference Line. Allowance Charge + An association to Allowance Charge. + 0..n + Billing Reference Line + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Branch. Details + Information about a branch or division of an organization. + Branch + + + + + + + + + BBIE + Branch. Identifier + An identifier for a branch or division of an organization. + 0..1 + Branch + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Branch. Name + The name of a branch or division of an organization. + 0..1 + Branch + Name + Name + Name. Type + + + + + + + + + ASBIE + Branch. Financial Institution + An association to Financial Institution. + 0..1 + Branch + Financial Institution + Financial Institution + + + + + + + + + ASBIE + Branch. Address + An association to Address. + 0..1 + Branch + Address + Address + + + + + + + + + + + ABIE + Card Account. Details + Information about a credit card, debit card, or charge card. + Card Account + + + + + + + + + BBIE + Card Account. Primary_ Account Number. Identifier + The card number; the Primary Account Number (PAN). + 1 + Card Account + Primary + Account Number + Identifier + Identifier. Type + 4558 XXXX XXXX XXXX (a real card number) + + + + + + + + + BBIE + Card Account. Network. Identifier + The card network provider. + 1 + Card Account + Network + Identifier + Identifier. Type + “VISA”, “MasterCard”, “American Express” + + + + + + + + + BBIE + Card Account. Card Type Code. Code + The type of card. + 0..1 + Card Account + Card Type Code + Code + Code. Type + “Debit Card”, “Credit Card”, “Procurement Card” + + + + + + + + + BBIE + Card Account. Validity Start Date. Date + The date from which the card is valid. + 0..1 + Card Account + Validity Start Date + Date + Date. Type + + + + + + + + + BBIE + Card Account. Expiry Date. Date + The date up to which the card is valid. + 0..1 + Card Account + Expiry Date + Date + Date. Type + + + + + + + + + BBIE + Card Account. Issuer. Identifier + The identifier for the card issuer. + 0..1 + Card Account + Issuer + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Issue Number. Identifier + The card issue number. + 0..1 + Card Account + Issue Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. CV2. Identifier + The Card Verification Value. + 0..1 + Card Account + CV2 + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Card Chip Code. Code + The distinction between CHIP and MAG STRIPE cards. + 0..1 + Card Account + Card Chip Code + Code + Chip_ Code. Type + + + + + + + + + BBIE + Card Account. Chip_ Application. Identifier + An identifier for the application (AID) on a chip card that provides the information quoted. + 0..1 + Card Account + Chip + Application + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Holder. Name + The name of the cardholder. + 0..1 + Card Account + Holder + Name + Name. Type + + + + + + + + + + + ABIE + Catalogue Item Specification Update Line. Details + Details of Catalogue Line Item Specification. + Catalogue Item Specification Update Line + + + + + + + + + BBIE + Catalogue Item Specification Update Line. Identifier + A unique instance identifier for the line in this Catalogue document. + 1 + Catalogue Item Specification Update Line + Identifier + Identifier + Identifier. Type + "1" + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Item Specification Update Line + Contractor + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Seller_ Supplier Party. Supplier Party + An association to the Seller of the item. + 0..1 + Catalogue Item Specification Update Line + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Item + An association to Item itself. + 1 + Catalogue Item Specification Update Line + Item + Item + + + + + + + + + + + ABIE + Catalogue Line. Details + The basic element of Catalogue; something that can be bought. + Catalogue Line + + + + + + + + + BBIE + Catalogue Line. Identifier + A unique instance identifier for the line in this Catalogue document. + 1 + Catalogue Line + Identifier + Identifier + Identifier. Type + "1" + + + + + + + + + BBIE + Catalogue Line. Action Code. Code + Code indicating the action required for this item to synchronize with external repositories. + 0..1 + Catalogue Line + Action Code + Code + Code. Type + "Replace", "Update", "Delete","Add" + + + + + + + + + BBIE + Catalogue Line. Life Cycle Status Code. Code + Code indicating availability of this line. + 0..1 + Catalogue Line + Life Cycle Status Code + Code + Code. Type + "new - announcement only", "new and available", "deleted - announcement only" + + + + + + + + + BBIE + Catalogue Line. Contract Subdivision. Text + Identifies a subdivision of a contract or tender. + 0..1 + Catalogue Line + Contract Subdivision + Text + Text. Type + "Installation", "Phase One", Support and Maintenance" + + + + + + + + + BBIE + Catalogue Line. Note. Text + Free-text note used for non-structured information about the line in the specific Catalogue document (intended to be human readable). + 0..n + Catalogue Line + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Line. Orderable_ Indicator. Indicator + Indicates whether the line is orderable (that is, not just for information only). + 0..1 + Catalogue Line + Orderable + Indicator + Indicator + Indicator. Type + TRUE means orderable, FALSE means not orderable + + + + + + + + + BBIE + Catalogue Line. Orderable_ Unit. Text + The unit that can be ordered. + 0..1 + Catalogue Line + Orderable + Unit + Text + Text. Type + + + + + + + + + BBIE + Catalogue Line. Content Unit. Quantity + The quantity of the order unit of measure of the line. + 0..1 + Catalogue Line + Content Unit + Quantity + Quantity. Type + If order unit measure identifier is "each", then content unit quantity is "1". + + + + + + + + + BBIE + Catalogue Line. Order Quantity Increment. Numeric + The number of items that can set the order quantity increments. + 0..1 + Catalogue Line + Order Quantity Increment + Numeric + Numeric. Type + + + + + + + + + BBIE + Catalogue Line. Minimum_ Order Quantity. Quantity + The minimum amount of items that can be ordered. + 0..1 + Catalogue Line + Minimum + Order Quantity + Quantity + Quantity. Type + "10 boxes" + + + + + + + + + BBIE + Catalogue Line. Maximum_ Order Quantity. Quantity + The maximum amount of items that can be ordered. + 0..1 + Catalogue Line + Maximum + Order Quantity + Quantity + Quantity. Type + "1 tonne" + + + + + + + + + BBIE + Catalogue Line. Warranty_ Information. Text + Information regarding the warranty for the good or service. Warranty may be provided by any Party (can be described in the assiciation to Warranty Party). + 0..n + Catalogue Line + Warranty + Information + Text + Text. Type + "Unless specified otherwise and in addition to any rights the Customer may have under statute, Dell warrants to the Customer that Dell branded Products (excluding third party products and software), will be free from defects in materials and workmanship affecting normal use for a period of one year from invoice date ('Standard Warranty')." + + + + + + + + + BBIE + Catalogue Line. Pack Level Code. Code + The level of packaging involved. + 0..1 + Catalogue Line + Pack Level Code + Code + Code. Type + Consumer Unit, Trading Unit + "level 2", "Group 4" + + + + + + + + + ASBIE + Catalogue Line. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Line + Contractor + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Line. Seller_ Supplier Party. Supplier Party + An association to Seller of the item. + 0..1 + Catalogue Line + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Line. Warranty_ Party. Party + The party responsible for the Warranty. + 0..1 + Catalogue Line + Warranty + Party + Party + + + + + + + + + ASBIE + Catalogue Line. Warranty Validity_ Period. Period + The period for which the Warranty is valid. + 0..1 + Catalogue Line + Warranty Validity + Period + Period + + + + + + + + + ASBIE + Catalogue Line. Line Validity_ Period. Period + The period for which the Catalogue Line is valid. + 0..1 + Catalogue Line + Line Validity + Period + Period + + + + + + + + + ASBIE + Catalogue Line. Item Comparison + An association to comparative details for this Item. + 0..n + Catalogue Line + Item Comparison + Item Comparison + + + + + + + + + ASBIE + Catalogue Line. Component_ Related Item. Related Item + An association that describes any catalogue items that may be components of this Item. + 0..n + Catalogue Line + Component + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Accessory_ Related Item. Related Item + An association that describes any catalogue items that may be optional accessories to this Item. + 0..n + Catalogue Line + Accessory + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Required_ Related Item. Related Item + An association that describes any catalogue items that may be required for this Item. + 0..n + Catalogue Line + Required + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Replacement_ Related Item. Related Item + An association that describes any catalogue items that may be replacements for this Item. + 0..n + Catalogue Line + Replacement + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Complementary_ Related Item. Related Item + An association that describes any catalogue items that may complement this Item. + 0..n + Catalogue Line + Complementary + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Required_ Item Location Quantity. Item Location Quantity + An association to the description of properties related to locations and quantities of the Item. + 0..n + Catalogue Line + Required + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Catalogue Line. Document Reference + An association to Document Reference. + 0..n + Catalogue Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue Line. Item + An association to the Item itself. + 1 + Catalogue Line + Item + Item + + + + + + + + + + + ABIE + Catalogue Pricing Update Line. Details + Details of Catalogue Line Pricing. + Catalogue Pricing Update Line + + + + + + + + + BBIE + Catalogue Pricing Update Line. Identifier + A unique instance identifier for the line in this Catalogue document. + 1 + Catalogue Pricing Update Line + Identifier + Identifier + Identifier. Type + "1" + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Pricing Update Line + Contractor + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Seller_ Supplier Party. Supplier Party + An association to the Seller of the Item. + 0..1 + Catalogue Pricing Update Line + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Required_ Item Location Quantity. Item Location Quantity + An association to the description of properties related to locations and quantities of the item. + 0..n + Catalogue Pricing Update Line + Required + Item Location Quantity + Item Location Quantity + + + + + + + + + + + ABIE + Catalogue Reference. Details + A reference to a Catalogue. + Catalogue Reference + + + + + + + + + BBIE + Catalogue Reference. Identifier + An identifier for the Catalogue document. + 1 + Catalogue Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Reference. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Catalogue Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Reference. Issue Date. Date + The date when the Catalogue was issued. + 0..1 + Catalogue Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Reference. Issue Time. Time + The time when the Catalogue was issued. + 0..1 + Catalogue Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Reference. Revision Date. Date + The date on which the information in the Catalogue was revised. + 0..1 + Catalogue Reference + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Reference. Revision Time. Time + The time at which the information in the Catalogue was revised. + 0..1 + Catalogue Reference + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Reference. Note. Text + A free-text note about the Catalogue. This is used for information which is only human readable. + 0..n + Catalogue Reference + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Reference. Description. Text + A description of the Catalogue. + 0..n + Catalogue Reference + Description + Text + Text. Type + "computer accessories for laptops" + + + + + + + + + BBIE + Catalogue Reference. Version. Identifier + Indicates the current version of the Catalogue. + 0..1 + Catalogue Reference + Version + Identifier + Identifier. Type + "1.1" + + + + + + + + + BBIE + Catalogue Reference. Previous_ Version. Identifier + Indicates the previous version (the version superseded by this Catalogue). + 0..1 + Catalogue Reference + Previous + Version + Identifier + Identifier. Type + "1.0" + + + + + + + + + + + ABIE + Catalogue Request Line. Details + The basic element of Catalogue; something that can be bought. + Catalogue Request Line + + + + + + + + + BBIE + Catalogue Request Line. Identifier + A unique instance identifier for the line in this Catalogue document. + 1 + Catalogue Request Line + Identifier + Identifier + Identifier. Type + "1" + + + + + + + + + BBIE + Catalogue Request Line. Contract Subdivision. Text + Identifies a subdivision of a contract or tender. + 0..1 + Catalogue Request Line + Contract Subdivision + Text + Text. Type + "Installation", "Phase One", Support and Maintenance" + + + + + + + + + BBIE + Catalogue Request Line. Note. Text + Free-text note used for non-structured information about the line in the specific Catalogue document (intended to be human readable). + 0..n + Catalogue Request Line + Note + Text + Text. Type + + + + + + + + + ASBIE + Catalogue Request Line. Line Validity_ Period. Period + The period for which the Catalogue Line is valid. + 0..1 + Catalogue Request Line + Line Validity + Period + Period + + + + + + + + + ASBIE + Catalogue Request Line. Required_ Item Location Quantity. Item Location Quantity + An association to the description of properties related to locations and quantities of the item. + 0..n + Catalogue Request Line + Required + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Catalogue Request Line. Item + An association to the Item itself. + 1 + Catalogue Request Line + Item + Item + + + + + + + + + + + ABIE + Certificate Of Origin Application. Details + A document that contains information of CO application. + Certificate Of Origin Application + + + + + + + + + BBIE + Certificate Of Origin Application. Reference. Identifier + Holds the unique number that identifies the Despatch Advice, typically according to the seller's system that generated the Despatch Advice. + 1 + Certificate Of Origin Application + Reference + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Certificate Type. Text + Type of CO. Type could be Ordinary, Re-export, Commonwealth Preferential etc. + 1 + Certificate Of Origin Application + Certificate Type + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Application Status Code. Code + Indicates the status of the application (revision, replacement, etc.). + 0..1 + Certificate Of Origin Application + Application Status Code + Code + Code. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Original_ Job Identifier. Identifier + The latest Job Number given to the Origin application. This is used by the system to keep track of the amendments or cancellation of the origin application applied earlier. + 1 + Certificate Of Origin Application + Original + Job Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Previous_ Job Identifier. Identifier + The previous Job Number assigned in case the application undergoes query or change. This is used by the system to keep track of the amendments or cancellation of the origin application applied earlier. + 0..1 + Certificate Of Origin Application + Previous + Job Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Remarks. Text + Remarks by the applicant for the Certificate of Origin Application. + 0..1 + Certificate Of Origin Application + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Certificate Of Origin Application. Shipment + Information about the separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport. + 1 + Certificate Of Origin Application + Shipment + Shipment + + + + + + + + + ASBIE + Certificate Of Origin Application. Endorser Party + The party providing the endorsement. + 1..n + Certificate Of Origin Application + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Preparation_ Party. Party + Details of an individual, a group, or a body that prepares the Certificate of Origin application. + 1 + Certificate Of Origin Application + Preparation + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Issuer_ Party. Party + Details of the authorized organization that issued the Certificate of Origin. + 1 + Certificate Of Origin Application + Issuer + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Issuing_ Country. Country + The country for which the Certificate of Origin is issued. + 1 + Certificate Of Origin Application + Issuing + Country + Country + + + + + + + + + ASBIE + Certificate Of Origin Application. Document Distribution + The distribution of the Certificate of Origin to interested parties. + 0..n + Certificate Of Origin Application + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Certificate Of Origin Application. Supporting_ Document Reference. Document Reference + An associative reference to a supporting document. + 0..n + Certificate Of Origin Application + Supporting + Document Reference + Document Reference + + + + + + + + + ASBIE + Certificate Of Origin Application. Signature + One or more signatures applied to the document instance. + 0..n + Certificate Of Origin Application + Signature + Signature + + + + + + + + + + + ABIE + Classification Category. Details + Information about a Classification Category; a subdivision of a Classification Scheme. + Classification Category + + + + + + + + + BBIE + Classification Category. Name + The name of the Classification Category. + 0..1 + Classification Category + Name + Name + Name. Type + Code List Name + "UNSPSC Class", "UNSPSC Segment", "UNSPSC Family" + + + + + + + + + BBIE + Classification Category. Code Value. Text + The Classification Category value. + 0..1 + Classification Category + Code Value + Text + Text. Type + Code Value + 3420001, 3273666, HSJJD-213 + + + + + + + + + BBIE + Classification Category. Description. Text + The description of the Classification Category. + 0..n + Classification Category + Description + Text + Text. Type + Code Name + "Electrical Goods", "Wooden Toys" + + + + + + + + + ASBIE + Classification Category. Categorizes_ Classification Category. Classification Category + An association to subcategories within the Category. + 0..n + Classification Category + Categorizes + Classification Category + Classification Category + + + + + + + + + + + ABIE + Classification Scheme. Details + Information about Classification Scheme; a scheme that defines a taxonomy for classifying goods or services. + Classification Scheme + + + + + + + + + BBIE + Classification Scheme. Identifier + An identifier for the classification scheme. + 1 + Classification Scheme + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Classification Scheme + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Last_ Revision Date. Date + The date at which the classification scheme was last revised. + 0..1 + Classification Scheme + Last + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Classification Scheme. Last_ Revision Time. Time + The time at which the classification scheme was last revised. + 0..1 + Classification Scheme + Last + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Classification Scheme. Note. Text + Free-form text applying to the Classification Scheme. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Classification Scheme + Note + Text + Text. Type + + + + + + + + + BBIE + Classification Scheme. Name + The name of the Classification Scheme. + 0..1 + Classification Scheme + Name + Name + Name. Type + "UNSPSC" + + + + + + + + + BBIE + Classification Scheme. Description. Text + A description of the Classification Scheme. + 0..n + Classification Scheme + Description + Text + Text. Type + "an open, global multi-sector standard for classification of products and services" + + + + + + + + + BBIE + Classification Scheme. Agency Identifier. Identifier + Identifies the agency that maintains the Classification Scheme. + 0..1 + Classification Scheme + Agency Identifier + Identifier + Identifier. Type + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + + + BBIE + Classification Scheme. Agency Name. Text + The name of the agency that maintains the Classification Scheme. + 0..1 + Classification Scheme + Agency Name + Text + Text. Type + + + + + + + + + BBIE + Classification Scheme. Version. Identifier + Identifies the version of the Classification Scheme. + 0..1 + Classification Scheme + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. URI. Identifier + The Uniform Resource Identifier (URI) that identifies where the Classification is located. + 0..1 + Classification Scheme + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Scheme_ URI. Identifier + The Uniform Resource Identifier (URI) that identifies where the Classification Scheme is located. + 0..1 + Classification Scheme + Scheme + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Language. Identifier + Identifies the language of the Classification Scheme. + 0..1 + Classification Scheme + Language + Identifier + Identifier. Type + + + + + + + + + ASBIE + Classification Scheme. Classification Category + An association to Classification Category. + 1..n + Classification Scheme + Classification Category + Classification Category + + + + + + + + + + + ABIE + Commodity Classification. Details + Information about Commodity Classification. + Commodity Classification + + + + + + + + + BBIE + Commodity Classification. Nature Code. Code + The high-level nature of the Classification issued by a specific maintenance agency, expressed as a code. + 0..1 + Commodity Classification + Nature Code + Code + Code. Type + "wooden products" + + + + + + + + + BBIE + Commodity Classification. Cargo Type Code. Code + The type of cargo, expressed as a code. + 0..1 + Commodity Classification + Cargo Type Code + Code + Code. Type + "Refrigerated" + + + + + + + + + BBIE + Commodity Classification. Commodity Code. Code + The harmonized international commodity code for regulatory (customs and trade statistics) purposes. + 0..1 + Commodity Classification + Commodity Code + Code + Code. Type + Harmonized Code + "1102222883" + + + + + + + + + BBIE + Commodity Classification. Item Classification Code. Code + The trade commodity classification, expressed as a code. + 0..1 + Commodity Classification + Item Classification Code + Code + Code. Type + UN/SPSC Code + "3440234" + + + + + + + + + + + ABIE + Communication. Details + Information about a means of communication. + Communication + + + + + + + + + BBIE + Communication. Channel Code. Code + The method of communication, expressed as a code. + 0..1 + Communication + Channel Code + Code + Channel_ Code. Type + Phone Fax Email + + + + + + + + + BBIE + Communication. Channel. Text + The method of communication, expressed as text. + 0..1 + Communication + Channel + Text + Text. Type + Skype + + + + + + + + + BBIE + Communication. Value. Text + The communication value, such as phone number or email address. + 0..1 + Communication + Value + Text + Text. Type + "+44 1 2345 6789" "president@whitehouse.com" + + + + + + + + + + + ABIE + Consignment. Details + A separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport. + Consignment + + + + + + + + + BBIE + Consignment. Identifier + Unique number assigned to goods, both for import and export. + 1 + Consignment + Identifier + Identifier + Identifier. Type + Unique consignment reference number (UCR) + + + + + + + + + BBIE + Consignment. Summary_ Description. Text + General descriptive text that is not part of any remarks. + 0..n + Consignment + Summary + Description + Text + Text. Type + + + + + + + + + BBIE + Consignment. Total_ Invoice Amount. Amount + Total of all invoice amounts declared in a single consignment. + 0..1 + Consignment + Total + Invoice Amount + Amount + Amount. Type + + + + + + + + + BBIE + Consignment. Declared Customs_ Value. Amount + Amount declared for customs purposes of those goods in a consignment, whether or not they are subject to the same customs procedure, tariff/statistical heading, country information, and duty regime. + 0..1 + Consignment + Declared Customs + Value + Amount + Amount. Type + + + + + + + + + BBIE + Consignment. Tariff Description. Text + A description of the tariff applied to a consignment. + 0..n + Consignment + Tariff Description + Text + Text. Type + + + + + + + + + BBIE + Consignment. Tariff Code. Code + Code specifying a tariff applied to a consignment. + 0..1 + Consignment + Tariff Code + Code + Code. Type + Tariff code number (WCO ID 145) + + + + + + + + + BBIE + Consignment. Insurance Premium Amount. Amount + Amount of premium payable to the insurance company for insuring the goods. + 0..1 + Consignment + Insurance Premium Amount + Amount + Amount. Type + Insurance Cost + + + + + + + + + BBIE + Consignment. Gross_ Weight. Measure + Total weight (mass) of goods for a declaration, including packaging but excluding the carrier's equipment. + 0..1 + Consignment + Gross + Weight + Measure + Measure. Type + Total gross weight (WCO ID 131) + Total cube of all goods items referred to as one consignment. + + + + + + + + + BBIE + Consignment. Net_ Weight. Measure + Total net weight (mass) of all the goods items referred to as one consignment. + 0..1 + Consignment + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Net Net_ Weight. Measure + Weight (mass) of the goods themselves without any packing. + 0..1 + Consignment + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Chargeable_ Weight. Measure + Gross weight (mass) on which a charge is to be based. + 0..1 + Consignment + Chargeable + Weight + Measure + Measure. Type + Chargeable Weight. Basis.Measure + + + + + + + + + BBIE + Consignment. Gross_ Volume. Measure + Total volume of all goods items referred to as one consignment. + 0..1 + Consignment + Gross + Volume + Measure + Measure. Type + Cube + + + + + + + + + BBIE + Consignment. Net_ Volume. Measure + Net volume of all goods items referred to as one consignment. + 0..1 + Consignment + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Loading_ Length. Measure + Total length in a means of transport or a piece of transport equipment whereby the complete width and height over that length is needed for loading all the consignments referred to as one consolidation. + 0..1 + Consignment + Loading + Length + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Remarks. Text + Remarks concerning the complete consignment to be printed on the transport document. + 0..n + Consignment + Remarks + Text + Text. Type + + + + + + + + + BBIE + Consignment. Hazardous Risk_ Indicator. Indicator + Indication that the transport is or is not subject to an international regulation concerning the carriage of dangerous goods. + 0..1 + Consignment + Hazardous Risk + Indicator + Indicator + Indicator. Type + Dangerous Goods RID Indicator + default is negative + + + + + + + + + ASBIE + Consignment. Consignee_ Party. Party + Party to which goods are consigned. + 0..1 + Consignment + Consignee + Party + Party + + + + + + + + + ASBIE + Consignment. Exporter_ Party. Party + The party who makes the export declaration, or on whose behalf the export declaration is made, and who is the owner of the goods or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Consignment + Exporter + Party + Party + + + + + + + + + ASBIE + Consignment. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Consignment + Consignor + Party + Party + + + + + + + + + ASBIE + Consignment. Importer_ Party. Party + The party who makes an import declaration, or on whose behalf a Customs clearing agent or other authorized person makes an import declaration. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Consignment + Importer + Party + Party + + + + + + + + + ASBIE + Consignment. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Consignment + Carrier + Party + Party + + + + + + + + + ASBIE + Consignment. Freight Forwarder_ Party. Party + The party combining individual smaller consignments into a single larger shipment (so called consolidated shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Consignment + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Consignment. Notify_ Party. Party + The party to be notified. + 0..1 + Consignment + Notify + Party + Party + + + + + + + + + ASBIE + Consignment. Original Despatch_ Party. Party + The original despatch party. + 0..1 + Consignment + Original Despatch + Party + Party + + + + + + + + + ASBIE + Consignment. Final Delivery_ Party. Party + The final delivery party. + 0..1 + Consignment + Final Delivery + Party + Party + + + + + + + + + ASBIE + Consignment. Original Departure_ Country. Country + The country from which the goods are originally exported, without any commercial transaction taking place in intermediate countries. + 0..1 + Consignment + Original Departure + Country + Country + + + + + + + + + ASBIE + Consignment. Final Destination_ Country. Country + Name of the country to which the goods are to be delivered to the final consignee or buyer. + 0..1 + Consignment + Final Destination + Country + Country + + + + + + + + + ASBIE + Consignment. Transit_ Country. Country + The countries through which goods or passengers are routed between the country of original departure and the country of final destination. + 0..n + Consignment + Transit + Country + Country + + + + + + + + + ASBIE + Consignment. Transport_ Contract. Contract + An association to Transport Contact. + 0..1 + Consignment + Transport + Contract + Contract + + + + + + + + + ASBIE + Consignment. Original Despatch_ Transportation Service. Transportation Service + The service for pick-up from the consignor under the transport contract. + 0..1 + Consignment + Original Despatch + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Consignment. Final Delivery_ Transportation Service. Transportation Service + The service for delivery to the consignee under the transport contract. + 0..1 + Consignment + Final Delivery + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Consignment. Delivery Terms + All the conditions agreed upon between a seller and a buyer with regard to the delivery of goods and/or services, e.g., CIF, FOB, or EXW from the INCOTERMS Terms of Delivery. + 0..1 + Consignment + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Consignment. Payment Terms + The conditions of payment between the parties in a transaction. + 0..1 + Consignment + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Freight_ Allowance Charge. Allowance Charge + Costs incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance (to the extent that they relate to the freight costs). + 0..n + Consignment + Freight + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Contact. Details + Information about a contactable person or organization department. + Contact + + + + + + + + + BBIE + Contact. Identifier + An identifier for the Contact. + 0..1 + Contact + Identifier + Identifier + Identifier. Type + "Receivals Clerk" + + + + + + + + + BBIE + Contact. Name + The name of the Contact. + 0..1 + Contact + Name + Name + Name. Type + "Delivery Dock" + + + + + + + + + BBIE + Contact. Telephone. Text + The telephone number of the Contact. + 0..1 + Contact + Telephone + Text + Text. Type + + + + + + + + + BBIE + Contact. Telefax. Text + The fax number of the Contact. + 0..1 + Contact + Telefax + Text + Text. Type + + + + + + + + + BBIE + Contact. Electronic_ Mail. Text + The email address of the Contact. + 0..1 + Contact + Electronic + Mail + Text + Text. Type + + + + + + + + + BBIE + Contact. Note. Text + A note such as 'Emergency' or 'After Hours' describing the circumstances in which the Contact can be used. + 0..1 + Contact + Note + Text + Text. Type + + + + + + + + + ASBIE + Contact. Other_ Communication. Communication + An association to Other Communication. + 0..n + Contact + Other + Communication + Communication + + + + + + + + + + + ABIE + Contract. Details + Information about a Contract. + Contract + + + + + + + + + BBIE + Contract. Identifier + Identifies the Contract. + 0..1 + Contract + Identifier + Identifier + Identifier. Type + "CC23" + + + + + + + + + BBIE + Contract. Issue Date. Date + The date on which the Contract was issued. + 0..1 + Contract + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Contract. Issue Time. Time + The time at which the Contract was issued. + 0..1 + Contract + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Contract. Contract Type Code. Code + The type of Contract, expressed as a code. + 0..1 + Contract + Contract Type Code + Code + Code. Type + + + + + + + + + BBIE + Contract. Contract Type. Text + The type of Contract, expressed as text. + 0..1 + Contract + Contract Type + Text + Text. Type + + + + + + + + + ASBIE + Contract. Validity_ Period. Period + An association to Validity Period. + 0..1 + Contract + Validity + Period + Period + + + + + + + + + ASBIE + Contract. Contract_ Document Reference. Document Reference + An associative reference to Contract Document. + 0..n + Contract + Contract + Document Reference + Document Reference + + + + + + + + + + + ABIE + Corporate Registration Scheme. Details + Information directly relating a scheme for corporate registration of businesses. + Corporate Registration Scheme + + + + + + + + + BBIE + Corporate Registration Scheme. Identifier + Identifies the scheme. + 0..1 + Corporate Registration Scheme + Identifier + Identifier + Identifier. Type + "ASIC" in Australia + + + + + + + + + BBIE + Corporate Registration Scheme. Name + Identifies the scheme by name. + 0..1 + Corporate Registration Scheme + Name + Name + Name. Type + "Australian Securities and Investment Commission" in Australia + + + + + + + + + BBIE + Corporate Registration Scheme. Corporate Registration Type Code. Code + Identifies the type of scheme. + 0..1 + Corporate Registration Scheme + Corporate Registration Type Code + Code + Code. Type + "ACN" + + + + + + + + + ASBIE + Corporate Registration Scheme. Jurisdiction Region_ Address. Address + Associates the registration scheme with particulars that identify and locate the geographic area to which the scheme applies. + 0..n + Corporate Registration Scheme + Jurisdiction Region + Address + Address + + + + + + + + + + + ABIE + Country. Details + Information about a geopolitical country. + Country + + + + + + + + + BBIE + Country. Identification Code. Code + An identifier for the Country. + 0..1 + Country + Identification Code + Code + Country Identification_ Code. Type + + + + + + + + + BBIE + Country. Name + The name of the Country. + 0..1 + Country + Name + Name + Name. Type + “SOUTH AFRICA” + + + + + + + + + + + ABIE + Credit Account. Details + Information about a Credit Account (for sales on account). + Credit Account + + + + + + + + + BBIE + Credit Account. Account Identifier. Identifier + Identifies the Credit Account. + 1 + Credit Account + Account Identifier + Identifier + Identifier. Type + "Customer Code 29" + + + + + + + + + + + ABIE + Credit Note Line. Details + Information about a Credit Note Line. + Credit Note Line + + + + + + + + + BBIE + Credit Note Line. Identifier + Identifies the Credit Note Line. + 1 + Credit Note Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Credit Note Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note Line. Note. Text + Free-form text applying to the Credit Note Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Credit Note Line + Note + Text + Text. Type + + + + + + + + + BBIE + Credit Note Line. Credited_ Quantity. Quantity + The quantity of Items credited. + 0..1 + Credit Note Line + Credited + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Credit Note Line. Line Extension Amount. Amount + The total amount for the Credit Note Line, including Allowance Charges but net of taxes. + 0..1 + Credit Note Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Credit Note Line. Tax Point Date. Date + The date of the Credit Note Line, used to indicate the point at which tax becomes applicable. + 0..1 + Credit Note Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note Line. Accounting Cost Code. Code + The buyer's accounting code applied to the Credit Note Line. + 0..1 + Credit Note Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note Line. Accounting Cost. Text + The buyer's accounting code applied to the Credit Note Line, expressed as text. + 0..1 + Credit Note Line + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Credit Note Line. Discrepancy_ Response. Response + An association to Discrepancy Response; the reason for the Credit. + 0..n + Credit Note Line + Discrepancy + Response + Response + + + + + + + + + ASBIE + Credit Note Line. Despatch_ Line Reference. Line Reference + An associative reference to Despatch Line. + 0..n + Credit Note Line + Despatch + Line Reference + Line Reference + + + + + + + + + ASBIE + Credit Note Line. Receipt_ Line Reference. Line Reference + An associative reference to Receipt Line. + 0..n + Credit Note Line + Receipt + Line Reference + Line Reference + + + + + + + + + ASBIE + Credit Note Line. Billing Reference + An association to Billing Reference. + 0..n + Credit Note Line + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Credit Note Line. Document Reference + An association to Document Reference. + 0..n + Credit Note Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note Line. Pricing Reference + An association to Pricing Reference. + 0..1 + Credit Note Line + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Credit Note Line. Delivery + An association to Delivery. + 0..n + Credit Note Line + Delivery + Delivery + + + + + + + + + ASBIE + Credit Note Line. Tax Total + An association to Tax Total. + 0..n + Credit Note Line + Tax Total + Tax Total + + + + + + + + + ASBIE + Credit Note Line. Item + An association to Item + 0..1 + Credit Note Line + Item + Item + + + + + + + + + ASBIE + Credit Note Line. Price + An association to Price. + 0..1 + Credit Note Line + Price + Price + + + + + + + + + + + ABIE + Customer Party. Details + Information about the Customer Party. + Customer Party + + + + + + + + + BBIE + Customer Party. Customer Assigned_ Account Identifier. Identifier + An identifier for the Customer's account, assigned by the Customer itself. + 0..1 + Customer Party + Customer Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Customer Party. Supplier Assigned_ Account Identifier. Identifier + An identifier for the Customer's account, assigned by the Supplier. + 0..1 + Customer Party + Supplier Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Customer Party. Additional_ Account Identifier. Identifier + An identifier for the Customer's account, assigned by a third party. + 0..n + Customer Party + Additional + Account Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Customer Party. Party + An association to Party. + 0..1 + Customer Party + Party + Party + + + + + + + + + ASBIE + Customer Party. Delivery_ Contact. Contact + An association to Delivery Contact. + 0..1 + Customer Party + Delivery + Contact + Contact + + + + + + + + + ASBIE + Customer Party. Accounting_ Contact. Contact + An association to Accounting Contact (Customer). + 0..1 + Customer Party + Accounting + Contact + Contact + + + + + + + + + ASBIE + Customer Party. Buyer_ Contact. Contact + An association to Buyer Contact. + 0..1 + Customer Party + Buyer + Contact + Contact + + + + + + + + + + + ABIE + Debit Note Line. Details + Information about a Debit Note Line. + Debit Note Line + + + + + + + + + BBIE + Debit Note Line. Identifier + Identifies the Debit Note Line. + 1 + Debit Note Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Debit Note Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note Line. Note. Text + Free-form text applying to the Debit Note Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Debit Note Line + Note + Text + Text. Type + + + + + + + + + BBIE + Debit Note Line. Debited_ Quantity. Quantity + The quantity of Items debited. + 0..1 + Debit Note Line + Debited + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Debit Note Line. Line Extension Amount. Amount + The total amount for the Debit Note Line, including Allowance Charges but net of taxes. + 1 + Debit Note Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Debit Note Line. Tax Point Date. Date + The date of the Debit Note Line, used to indicate the point at which tax becomes applicable. + 0..1 + Debit Note Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note Line. Accounting Cost Code. Code + The buyer's accounting code applied to the Debit Note Line. + 0..1 + Debit Note Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Debit Note Line. Accounting Cost. Text + The buyer's accounting code applied to the Debit Note Line, expressed as text. + 0..1 + Debit Note Line + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Debit Note Line. Discrepancy_ Response. Response + An association to Discrepancy Response; the reason for the Debit. + 0..n + Debit Note Line + Discrepancy + Response + Response + + + + + + + + + ASBIE + Debit Note Line. Despatch_ Line Reference. Line Reference + An associative reference to Despatch Line. + 0..n + Debit Note Line + Despatch + Line Reference + Line Reference + + + + + + + + + ASBIE + Debit Note Line. Receipt_ Line Reference. Line Reference + An associative reference to Receipt Line. + 0..n + Debit Note Line + Receipt + Line Reference + Line Reference + + + + + + + + + ASBIE + Debit Note Line. Billing Reference + An association to Billing Reference. + 0..n + Debit Note Line + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Debit Note Line. Document Reference + An association to Document Reference. + 0..n + Debit Note Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note Line. Pricing Reference + An association to Pricing Reference. + 0..1 + Debit Note Line + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Debit Note Line. Delivery + An association to Delivery. + 0..n + Debit Note Line + Delivery + Delivery + + + + + + + + + ASBIE + Debit Note Line. Tax Total + An association to Tax Total. + 0..n + Debit Note Line + Tax Total + Tax Total + + + + + + + + + ASBIE + Debit Note Line. Item + An association to Item + 0..1 + Debit Note Line + Item + Item + + + + + + + + + ASBIE + Debit Note Line. Price + An association to Price. + 0..1 + Debit Note Line + Price + Price + + + + + + + + + + + ABIE + Delivery. Details + Information about Delivery. + Delivery + + + + + + + + + BBIE + Delivery. Identifier + Identifies the Delivery. + 0..1 + Delivery + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Delivery. Quantity + The quantity in a Delivery. + 0..1 + Delivery + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Minimum_ Quantity. Quantity + The minimum quantity in a Delivery. + 0..1 + Delivery + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Maximum_ Quantity. Quantity + The maximum quantity in a Delivery. + 0..1 + Delivery + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Actual_ Delivery Date. Date + The actual Delivery date. + 0..1 + Delivery + Actual + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Delivery. Actual_ Delivery Time. Time + The actual Delivery time. + 0..1 + Delivery + Actual + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Delivery. Latest_ Delivery Date. Date + The latest delivery date allowed by the buyer. + 0..1 + Delivery + Latest + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Delivery. Latest_ Delivery Time. Time + The latest delivery time allowed by the buyer. + 0..1 + Delivery + Latest + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Delivery. Tracking Identifier. Identifier + The delivery Tracking ID (for transport tracking). + 0..1 + Delivery + Tracking Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Delivery. Delivery_ Address. Address + An association to Delivery Address. + 0..1 + Delivery + Delivery + Address + Address + + + + + + + + + ASBIE + Delivery. Delivery_ Location. Location + An association to Location. + 0..1 + Delivery + Delivery + Location + Location + + + + + + + + + ASBIE + Delivery. Requested Delivery_ Period. Period + The requested Period for Delivery. + 0..1 + Delivery + Requested Delivery + Period + Period + + + + + + + + + ASBIE + Delivery. Promised Delivery_ Period. Period + The promised Period for Delivery. + 0..1 + Delivery + Promised Delivery + Period + Period + + + + + + + + + ASBIE + Delivery. Estimated Delivery_ Period. Period + The estimated Period for Delivery. + 0..1 + Delivery + Estimated Delivery + Period + Period + + + + + + + + + ASBIE + Delivery. Delivery_ Party. Party + The party to whom the goods/services are delivered. + 0..1 + Delivery + Delivery + Party + Party + + + + + + + + + ASBIE + Delivery. Despatch + An association to the Despatch. + 0..1 + Delivery + Despatch + Despatch + + + + + + + + + + + ABIE + Delivery Terms. Details + Information about Delivery Terms. + Delivery Terms + + + + + + + + + BBIE + Delivery Terms. Identifier + Identifies the Delivery Terms. + 0..1 + Delivery Terms + Identifier + Identifier + Identifier. Type + CIF, FOB, or EXW from the INCOTERMS Terms of Delivery. (2000 version preferred.) + + + + + + + + + BBIE + Delivery Terms. Special_ Terms. Text + A description of special conditions relating to the Delivery Terms. + 0..1 + Delivery Terms + Special + Terms + Text + Text. Type + + + + + + + + + BBIE + Delivery Terms. Loss Risk Responsibility Code. Code + An identifier for the responsibility for loss risk in the context of the Delivery Terms, expressed as a code. + 0..1 + Delivery Terms + Loss Risk Responsibility Code + Code + Code. Type + + + + + + + + + BBIE + Delivery Terms. Loss Risk. Text + A description of the loss risk in the context of the Delivery Terms. + 0..1 + Delivery Terms + Loss Risk + Text + Text. Type + + + + + + + + + ASBIE + Delivery Terms. Delivery_ Location. Location + An association to Location, e.g., a port. + 0..1 + Delivery Terms + Delivery + Location + Location + + + + + + + + + ASBIE + Delivery Terms. Allowance Charge + An association to Allowance Charge. + 0..1 + Delivery Terms + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Delivery Unit. Details + Information about a Delivery Unit. + Delivery Unit + + + + + + + + + BBIE + Delivery Unit. Batch Quantity. Quantity + The quantity of ordered Items that constitutes a batch for delivery purposes. + 1 + Delivery Unit + Batch Quantity + Quantity + Quantity. Type + "100 units", "by the dozen" + + + + + + + + + BBIE + Delivery Unit. Consumer_ Unit. Quantity + The quantity of consumer units in the Delivery Unit. + 0..1 + Delivery Unit + Consumer + Unit + Quantity + Quantity. Type + "packs of 10" + + + + + + + + + BBIE + Delivery Unit. Hazardous Risk_ Indicator. Indicator + Indicates whether the Item as delivered is hazardous. + 0..1 + Delivery Unit + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + + + ABIE + Despatch. Details + Information about Despatch. + Despatch + + + + + + + + + BBIE + Despatch. Identifier + The identifier for the Delivery. + 0..1 + Despatch + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch. Requested_ Despatch Date. Date + The despatch (pick-up) date requested by the buyer. + 0..1 + Despatch + Requested + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Requested_ Despatch Time. Time + The despatch (pick-up) time requested by the buyer. + 0..1 + Despatch + Requested + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Estimated_ Despatch Date. Date + The despatch (pick-up) date estimated by the seller or Despatch. + 0..1 + Despatch + Estimated + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Estimated_ Despatch Time. Time + The despatch (pick-up) time estimated by the seller or Despatch. + 0..1 + Despatch + Estimated + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Actual_ Despatch Date. Date + The actual despatch (pick-up) date. + 0..1 + Despatch + Actual + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Actual_ Despatch Time. Time + The actual despatch (pick-up) time. + 0..1 + Despatch + Actual + Despatch Time + Time + Time. Type + + + + + + + + + ASBIE + Despatch. Despatch_ Address. Address + An association to Despatch Address. + 0..1 + Despatch + Despatch + Address + Address + + + + + + + + + ASBIE + Despatch. Despatch_ Party. Party + The party who despatched the delivery. + 0..1 + Despatch + Despatch + Party + Party + + + + + + + + + ASBIE + Despatch. Contact + An association to Contact. + 0..1 + Despatch + Contact + Contact + + + + + + + + + + + ABIE + Despatch Line. Details + Information about a Despatch Line. + Despatch Line + + + + + + + + + BBIE + Despatch Line. Identifier + Identifies the Despatch Line. + 1 + Despatch Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Despatch Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Line. Note. Text + Free-form text applying to the Despatch Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Despatch Line + Note + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Line Status Code. Code + Identifies the status of the Despatch Line with respect to its original state. + 0..1 + Despatch Line + Line Status Code + Code + Line Status_ Code. Type + + + + + + + + + BBIE + Despatch Line. Delivered_ Quantity. Quantity + The quantity despatched. + 0..1 + Despatch Line + Delivered + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Backorder_ Quantity. Quantity + The quantity on Back Order at the Supplier. + 0..1 + Despatch Line + Backorder + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Backorder_ Reason. Text + The reason for the Back Order. + 0..1 + Despatch Line + Backorder + Reason + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Outstanding_ Quantity. Quantity + The quantity outstanding (which will follow in a later despatch). + 0..1 + Despatch Line + Outstanding + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Outstanding_ Reason. Text + The reason for the Outstanding Quantity. + 0..1 + Despatch Line + Outstanding + Reason + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Oversupply_ Quantity. Quantity + The quantity over-supplied. + 0..1 + Despatch Line + Oversupply + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Despatch Line. Order Line Reference + An association to Order Line Reference. + 1..n + Despatch Line + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Despatch Line. Document Reference + An association to Document Reference. + 0..n + Despatch Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Despatch Line. Item + An association to Item. + 1 + Despatch Line + Item + Item + + + + + + + + + ASBIE + Despatch Line. Shipment + An association to Shipment. + 0..n + Despatch Line + Shipment + Shipment + + + + + + + + + + + ABIE + Dimension. Details + Information about a measurable dimension of an item. + Dimension + + + + + + + + + BBIE + Dimension. Attribute Identifier. Identifier + An identifier for the attribute to which the measure applies. + 1 + Dimension + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Dimension. Measure + The measurement value. + 0..1 + Dimension + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Dimension. Description. Text + A description of the attribute or measurement of the attribute. + 0..n + Dimension + Description + Text + Text. Type + + + + + + + + + BBIE + Dimension. Minimum_ Measure. Measure + The minimum value in a range of measurement. + 0..1 + Dimension + Minimum + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Dimension. Maximum_ Measure. Measure + The maximum value in a range of measurement. + 0..1 + Dimension + Maximum + Measure + Measure + Measure. Type + + + + + + + + + + + ABIE + Document Distribution. Details + The details of the distribution of the document among business partners. + Document Distribution + + + + + + + + + BBIE + Document Distribution. Print_ Qualifier. Text + The access right for a Party to distribute the document. + 1 + Document Distribution + Print + Qualifier + Text + Text. Type + + + + + + + + + BBIE + Document Distribution. Maximum_ Copies. Numeric + Specifies the maximum number of copies of the document that the user can print. + 1 + Document Distribution + Maximum + Copies + Numeric + Numeric. Type + + + + + + + + + ASBIE + Document Distribution. Party + Details of the Party who can access the document. + 1 + Document Distribution + Party + Party + + + + + + + + + + + ABIE + Document Reference. Details + Information about a document referred to in another document. + Document Reference + + + + + + + + + BBIE + Document Reference. Identifier + Identifies the document being referred to. + 1 + Document Reference + Identifier + Identifier + Identifier. Type + "PO-001" "3333-44-123" + + + + + + + + + BBIE + Document Reference. Copy_ Indicator. Indicator + Indicates whether the referenced document is a copy (true) or the original (false). + 0..1 + Document Reference + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Document Reference. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Document Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Reference. Issue Date. Date + The date, assigned by the sender of the referenced document, on which the referenced document was issued. + 0..1 + Document Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Document Reference. Document Type Code. Code + The document type, expressed as a code. + 0..1 + Document Reference + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Document Reference. Document Type. Text + The document type, expressed as text. + 0..1 + Document Reference + Document Type + Text + Text. Type + + + + + + + + + BBIE + Document Reference. XPath. Text + Refers to another part of the same document instance. + 0..n + Document Reference + XPath + Text + Text. Type + + + + + + + + + ASBIE + Document Reference. Attachment + An attached document, externally referred to, referred to in the MIME location, or embedded. + 0..1 + Document Reference + Attachment + Attachment + + + + + + + + + + + ABIE + Document Response. Details + Information about responses to a document (at the application level). + Document Response + + + + + + + + + ASBIE + Document Response. Response + The response to the document. + 1 + Document Response + Response + Response + + + + + + + + + ASBIE + Document Response. Document Reference + An association to Document Reference. + 1 + Document Response + Document Reference + Document Reference + + + + + + + + + ASBIE + Document Response. Issuer_ Party. Party + The party who issued a document. + 0..1 + Document Response + Issuer + Party + Party + + + + + + + + + ASBIE + Document Response. Recipient_ Party. Party + The party for whom the document is intended. + 0..1 + Document Response + Recipient + Party + Party + + + + + + + + + ASBIE + Document Response. Line Response + Response to various lines in the document. + 0..n + Document Response + Line Response + Line Response + + + + + + + + + + + ABIE + Endorsement. Details + Details of an endorsement on the document. + Endorsement + + + + + + + + + BBIE + Endorsement. Document. Identifier + Identifies the endorsement. + 1 + Endorsement + Document + Identifier + Identifier. Type + + + + + + + + + BBIE + Endorsement. Approval Status. Text + Specifies the status of the endorsement. + 1 + Endorsement + Approval Status + Text + Text. Type + Authentication Code + + + + + + + + + BBIE + Endorsement. Remarks. Text + Remarks by the endorsing party. + 0..n + Endorsement + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Endorsement. Endorser Party + The type of party providing the endorsement. + 1 + Endorsement + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Endorsement. Signature + One or more signatures applied to the endorsement. + 0..n + Endorsement + Signature + Signature + + + + + + + + + + + ABIE + Endorser Party. Details + The party endorsing a document. + Endorser Party + + + + + + + + + BBIE + Endorser Party. Role Code. Code + The role of the party providing the endorsement, e.g., Issuer, Embassy, Insurance, etc. + 1 + Endorser Party + Role Code + Code + Code. Type + + + + + + + + + BBIE + Endorser Party. Sequence. Numeric + The sequence in which the endorsements are to be applied. + 1 + Endorser Party + Sequence + Numeric + Numeric. Type + + + + + + + + + ASBIE + Endorser Party. Party + Details of the party endorsing the application. + 1 + Endorser Party + Party + Party + + + + + + + + + ASBIE + Endorser Party. Signatory_ Contact. Contact + Details of the individual representing the exporter who signs the Certificate of Origin application before submitting it to the Issuer Party. + 1 + Endorser Party + Signatory + Contact + Contact + + + + + + + + + + + ABIE + Exchange Rate. Details + Information about Exchange Rate. + Exchange Rate + + + + + + + + + BBIE + Exchange Rate. Source_ Currency Code. Code + The reference currency for the Exchange Rate; the currency from which the exchange is being made (CC Definition). + 1 + Exchange Rate + Source + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Source_ Currency Base Rate. Rate + The unit base of the source currency for currencies with small denominations. + 0..1 + Exchange Rate + Source + Currency Base Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Target_ Currency Code. Code + The target currency for the Exchange Rate; the currency to which the exchange is being made (CC Definition). + 1 + Exchange Rate + Target + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Target_ Currency Base Rate. Rate + The unit base of the target currency for currencies with small denominations. + 0..1 + Exchange Rate + Target + Currency Base Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Exchange Market Identifier. Identifier + Identifies the currency exchange market used as the source of the Exchange Rate. + 0..1 + Exchange Rate + Exchange Market Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Exchange Rate. Calculation Rate. Rate + The factor applied to the source currency to calculate the target currency. + 0..1 + Exchange Rate + Calculation Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Mathematic Operator Code. Code + An identifier for whether the Calculation Rate should be used to multiply or to divide, expressed as a code. + 0..1 + Exchange Rate + Mathematic Operator Code + Code + Operator_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Date + The date of the Exchange. + 0..1 + Exchange Rate + Date + Date + Date. Type + + + + + + + + + ASBIE + Exchange Rate. Foreign Exchange_ Contract. Contract + An association to Foreign Exchange Contract. + 0..1 + Exchange Rate + Foreign Exchange + Contract + Contract + + + + + + + + + + + ABIE + External Reference. Details + Information directly relating to an external reference i.e. a document stored at a remote location. + External Reference + + + + + + + + + BBIE + External Reference. URI. Identifier + The Uniform Resource Identifier (URI) that identifies where the external document is located. + 0..1 + External Reference + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + External Reference. Document Hash. Text + Specifies the hash code for the externally stored document. + 0..1 + External Reference + Document Hash + Text + Text. Type + + + + + + + + + BBIE + External Reference. Expiry Date. Date + The date on which the document can no longer be found on the URI. + 0..1 + External Reference + Expiry Date + Date + Date. Type + + + + + + + + + BBIE + External Reference. Expiry Time. Time + The time on which the document can no longer be found on the URI. + 0..1 + External Reference + Expiry Time + Time + Time. Type + + + + + + + + + + + ABIE + Financial Account. Details + Information about a Financial Account. + Financial Account + + + + + + + + + BBIE + Financial Account. Identifier + The identifier for the Financial Account; the Bank Account Number. + 0..1 + Financial Account + Identifier + Identifier + Identifier. Type + SWIFT(BIC) and IBAN are defined in ISO 9362 and ISO 13616. + + + + + + + + + BBIE + Financial Account. Name + The name of the Financial Account. + 0..1 + Financial Account + Name + Name + Name. Type + + + + + + + + + BBIE + Financial Account. Account Type Code. Code + The type of Financial Account, expressed as a code. + 0..1 + Financial Account + Account Type Code + Code + Code. Type + + + + + + + + + BBIE + Financial Account. Currency Code. Code + The currency in which the Financial Account is held, expressed as a code. + 0..1 + Financial Account + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Financial Account. Payment_ Note. Text + Free-form text applying to the Payment to the owner of this account. + 0..n + Financial Account + Payment + Note + Text + Text. Type + + + + + + + + + ASBIE + Financial Account. Financial Institution_ Branch. Branch + An association to Financial Institution Branch. + 0..1 + Financial Account + Financial Institution + Branch + Branch + + + + + + + + + ASBIE + Financial Account. Country + An association to Country. + 0..1 + Financial Account + Country + Country + + + + + + + + + + + ABIE + Financial Institution. Details + Information about a Financial Institution. + Financial Institution + + + + + + + + + BBIE + Financial Institution. Identifier + The identifier for the Financial Institution expressed as a code; ISO 9362 BIC (Bank Identification Code) is recommended. + 0..1 + Financial Institution + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Financial Institution. Name + The name of the Financial Institution. + 0..1 + Financial Institution + Name + Name + Name. Type + + + + + + + + + ASBIE + Financial Institution. Address + An association to Address. + 0..1 + Financial Institution + Address + Address + + + + + + + + + + + ABIE + Goods Item. Details + A separately identifiable quantity of products of a single product type. + Goods Item + + + + + + + + + BBIE + Goods Item. Identifier + An identifier for the goods item. + 1 + Goods Item + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item. Sequence Number. Identifier + Sequence number differentiating a specific goods item within a consignment. + 0..1 + Goods Item + Sequence Number + Identifier + Identifier. Type + Customs item number (WCO ID 021), Sequence Position + + + + + + + + + BBIE + Goods Item. Description. Text + Plain language description of a goods item sufficient to identify it for customs, statistical, or transport purposes. + 0..n + Goods Item + Description + Text + Text. Type + Description of goods (WCO ID 137) + + + + + + + + + BBIE + Goods Item. Hazardous Risk_ Indicator. Indicator + Indicates whether the goods item includes hazardous items (dangerous goods). + 0..1 + Goods Item + Hazardous Risk + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Goods Item. Declared Customs_ Value. Amount + Amount declared for Customs purposes of those goods in a consignment which are subject to the same Customs procedure and have the same tariff/statistical heading, country information, and duty regime. + 0..1 + Goods Item + Declared Customs + Value + Amount + Amount. Type + For Customs Value (WCO ID 108) + + + + + + + + + BBIE + Goods Item. Declared For Carriage_ Value. Amount + Value declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage in case of loss or damage to goods or delayed delivery. + 0..1 + Goods Item + Declared For Carriage + Value + Amount + Amount. Type + Interest in delivery, declared value for carriage + + + + + + + + + BBIE + Goods Item. Declared Statistics_ Value. Amount + Value declared for statistical purposes of those goods in a consignment which have the same statistical heading. + 0..1 + Goods Item + Declared Statistics + Value + Amount + Amount. Type + Statistical Value (WCO ID 114) + + + + + + + + + BBIE + Goods Item. Free On Board_ Value. Amount + Monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Goods Item + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Goods Item. Insurance_ Value. Amount + The amount covered by an insurance for a particular goods item. + 0..1 + Goods Item + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Goods Item. Value. Amount + Specifies the amount on which a duty, tax, or fee will be assessed. + 0..1 + Goods Item + Value + Amount + Amount. Type + Duty/tax/fee assessment basis in value (WCO ID 116) + + + + + + + + + BBIE + Goods Item. Gross_ Weight. Measure + Weight (mass) of goods, including packaging but excluding the carrier's equipment. + 0..1 + Goods Item + Gross + Weight + Measure + Measure. Type + Actual Gross Weight + + + + + + + + + BBIE + Goods Item. Net_ Weight. Measure + Weight (mass) of goods item, excluding all packing but including any packaging that normally goes with the goods. + 0..1 + Goods Item + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Net Net_ Weight. Measure + Weight (mass) of goods without any packaging. + 0..1 + Goods Item + Net Net + Weight + Measure + Measure. Type + Customs Weight (WCO ID 128) + + + + + + + + + BBIE + Goods Item. Chargeable_ Weight. Measure + Gross weight (mass) on which a charge is to be based. + 0..1 + Goods Item + Chargeable + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Gross_ Volume. Measure + Measurement normally arrived at by multiplying the maximum length, width, and height of the goods item. + 0..1 + Goods Item + Gross + Volume + Measure + Measure. Type + Volume, Gross Measurement Cube (GMC), Cube (WCO ID 134) + + + + + + + + + BBIE + Goods Item. Net_ Volume. Measure + The volume contained by a goods item, excluding the volume of any packaging material. + 0..1 + Goods Item + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Quantity + Number of goods items. + 0..1 + Goods Item + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Preference Criterion. Code + Specifies the treatment preference for this good according to international trading agreements. + 0..1 + Goods Item + Preference Criterion + Code + Code. Type + "Preference Criterion" is used in the following manner in the paper CO of another country (e.g.): +"A" - The good is "wholly obtained or produced entirely" in the territory of one or more of the NAFTA countries as reference in Article 415. Note: The purchase of a good in the territory does not necessarily render it "wholly obtained or produced". If the good is an agricultural good, see also criterion F and Annex 703.2. (Reference: Article 401(a), 415). +"B" - ... +"C" - ... +"D" - ... +"E" - ... +"F" - The good is an originating agricultural good under preference criterion A,B, or C above and is not subjected to quantitative restriction in the importing NAFTA country because.... +Thus, the column "Preference Criterion" will indicate either A, B, C,... + + + + + + + + + BBIE + Goods Item. Required_ Customs Identifier. Identifier + Additional tariff codes required to specify a type of goods for Customs, transport, statistical, or other regulatory purposes. + 0..1 + Goods Item + Required + Customs Identifier + Identifier + Identifier. Type + Tariff code extensions (WCO ID 255) + + + + + + + + + BBIE + Goods Item. Customs Status Code. Code + Status of goods as identified by customs for regulation purposes. + 0..1 + Goods Item + Customs Status Code + Code + Code. Type + Customs status of goods (WCO ID 094) + + + + + + + + + BBIE + Goods Item. Customs Tariff Quantity. Quantity + Quantity of the goods in the unit as required by Customs for tariff, statistical, or fiscal purposes. + 0..1 + Goods Item + Customs Tariff Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Customs Import_ Classified Indicator. Indicator + Indicates whether the goods have been customs classified for import. + 0..1 + Goods Item + Customs Import + Classified Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Goods Item. Item + Association to a description of the good or service. + 0..n + Goods Item + Item + Item + + + + + + + + + ASBIE + Goods Item. Goods Item Container + Association to describe the transporting of a goods item in a unit of transport equipment (e.g., container). + 0..n + Goods Item + Goods Item Container + Goods Item Container + + + + + + + + + ASBIE + Goods Item. Freight_ Allowance Charge. Allowance Charge + Costs incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance (to the extent that they relate to the freight costs). + 0..n + Goods Item + Freight + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Goods Item. Invoice Line + Association to information directly relating to a line item of an invoice. + 0..n + Goods Item + Invoice Line + Invoice Line + + + + + + + + + ASBIE + Goods Item. Temperature + Any temperatures associated with the goods. + 0..n + Goods Item + Temperature + Temperature + + + + + + + + + ASBIE + Goods Item. Contained_ Goods Item. Goods Item + Associates with any other goods items contained in this goods item. + 0..n + Goods Item + Contained + Goods Item + Goods Item + + + + + + + + + ASBIE + Goods Item. Origin_ Address. Address + Region in which the goods have been produced or manufactured, according to criteria laid down for the purposes of application of the Customs tariff, or quantitative restrictions, or any other measure related to trade. + 0..1 + Goods Item + Origin + Address + Address + + + + + + + + + + + ABIE + Goods Item Container. Details + How goods items are split across transport equipment. + Goods Item Container + + + + + + + + + BBIE + Goods Item Container. Identifier + Identifies goods items split across transport equipment. + 1 + Goods Item Container + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Container. Quantity + Number of goods items loaded into or onto one piece of transport equipment as a total consignment or part of a consignment. + 0..1 + Goods Item Container + Quantity + Quantity + Quantity. Type + Number of packages stuffed + + + + + + + + + ASBIE + Goods Item Container. Transport Equipment + Associates the containers for a single goods item. + 0..n + Goods Item Container + Transport Equipment + Transport Equipment + + + + + + + + + + + ABIE + Hazardous Goods Transit. Details + Information about Hazardous Goods Transit. + Hazardous Goods Transit + + + + + + + + + BBIE + Hazardous Goods Transit. Transport Emergency Card Code. Code + The identifier for a transport emergency card, describing the actions to be taken in an emergency in transporting the Hazardous Goods. May be the identity number of a hazardous emergency response plan assigned by the appropriate authority. + 0..1 + Hazardous Goods Transit + Transport Emergency Card Code + Code + Code. Type + TREM card + + + + + + + + + BBIE + Hazardous Goods Transit. Packing Criteria Code. Code + A code identifying the packaging requirement for the transportation of the Hazardous Goods as assigned by IATA/IMDB/ADR/RID etc. + 0..1 + Hazardous Goods Transit + Packing Criteria Code + Code + Code. Type + Packing Group + + + + + + + + + BBIE + Hazardous Goods Transit. Hazardous Regulation Code. Code + The identifier for a set of legal regulations that govern the transportation of the Hazardous Goods, expressed as a code. + 0..1 + Hazardous Goods Transit + Hazardous Regulation Code + Code + Code. Type + + + + + + + + + BBIE + Hazardous Goods Transit. Inhalation Toxicity Zone Code. Code + An identifier for the Inhalation Toxicity Hazard Zone for the Hazardous Goods, as defined by the US Department of Transportation, expressed as a code. + 0..1 + Hazardous Goods Transit + Inhalation Toxicity Zone Code + Code + Code. Type + + + + + + + + + BBIE + Hazardous Goods Transit. Transport Authorization Code. Code + Code specifying the authorization for the transportation of hazardous cargo. + 0..1 + Hazardous Goods Transit + Transport Authorization Code + Code + Code. Type + Permission for Transport + + + + + + + + + ASBIE + Hazardous Goods Transit. Maximum_ Temperature. Temperature + An association to Maximum Temperature (at which the Hazardous Goods can be safely transported). + 0..1 + Hazardous Goods Transit + Maximum + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Goods Transit. Minimum_ Temperature. Temperature + An association to Minimum Temperature (at which the Hazardous Goods can be safely transported). + 0..1 + Hazardous Goods Transit + Minimum + Temperature + Temperature + + + + + + + + + + + ABIE + Hazardous Item. Details + Information about a Hazardous Item. + Hazardous Item + + + + + + + + + BBIE + Hazardous Item. Identifier + The identifier for a Hazardous Item. + 0..1 + Hazardous Item + Identifier + Identifier + Identifier. Type + "Round Up" + + + + + + + + + BBIE + Hazardous Item. Placard Notation. Text + The placard notation corresponding to the hazard class of the hazardous commodity. Can also be the hazard identification number of the orange placard (upper part) required on the means of transport. + 0..1 + Hazardous Item + Placard Notation + Text + Text. Type + "5.1" + + + + + + + + + BBIE + Hazardous Item. Placard Endorsement. Text + The placard endorsement that is to be shown on the shipping papers for the hazardous commodity. Can also be used for the number of the orange placard (lower part) required on the means of transport. + 0..1 + Hazardous Item + Placard Endorsement + Text + Text. Type + "2" + + + + + + + + + BBIE + Hazardous Item. Additional_ Information. Text + Additional information about the hazardous substance. Can be used to specify information such as the type of regulatory requirements that apply to a description. + 0..1 + Hazardous Item + Additional + Information + Text + Text. Type + "Must be stored away from flammable materials" "N.O.S. or a Waste Characteristics Code in conjunction with an EPA Waste Stream code" + + + + + + + + + BBIE + Hazardous Item. UNDG Code. Code + The identifier assigned to transportable hazardous goods by the United Nations, expressed as a code. + 0..1 + Hazardous Item + UNDG Code + Code + Code. Type + UN Code + + + + + + + + + BBIE + Hazardous Item. Emergency Procedures Code. Code + The emergency procedures for the Hazardous Item, expressed as a code. + 0..1 + Hazardous Item + Emergency Procedures Code + Code + Code. Type + EMG code, EMS Page Number + + + + + + + + + BBIE + Hazardous Item. Medical First Aid Guide Code. Code + The identifier of a medical first aid guide that is relevant to specific hazardous goods, expressed as a code. + 0..1 + Hazardous Item + Medical First Aid Guide Code + Code + Code. Type + MFAG page number + + + + + + + + + BBIE + Hazardous Item. Technical_ Name. Name + The full technical name of the specific hazardous substance. + 0..1 + Hazardous Item + Technical + Name + Name + Name. Type + "Granular Sodium Chlorate WeedKiller" + + + + + + + + + BBIE + Hazardous Item. Category. Name + The name of the category of hazard that applies to the Item. + 0..1 + Hazardous Item + Category + Name + Name. Type + + + + + + + + + BBIE + Hazardous Item. Hazardous Category Code. Code + Code specifying a kind of hazard for a material. + 0..1 + Hazardous Item + Hazardous Category Code + Code + Code. Type + Hazardous material class code + + + + + + + + + BBIE + Hazardous Item. Upper_ Orange Hazard Placard Identifier. Identifier + Specifies the identity number for the upper part of the orange hazard placard required on the means of transport. + 0..1 + Hazardous Item + Upper + Orange Hazard Placard Identifier + Identifier + Identifier. Type + Hazard identification number (upper part) + + + + + + + + + BBIE + Hazardous Item. Lower_ Orange Hazard Placard Identifier. Identifier + Specifies the identity number for the lower part of the orange hazard placard required on the means of transport. + 0..1 + Hazardous Item + Lower + Orange Hazard Placard Identifier + Identifier + Identifier. Type + Substance identification number (lower part) + + + + + + + + + BBIE + Hazardous Item. Marking Identifier. Identifier + Identifies the marking of dangerous goods. + 0..1 + Hazardous Item + Marking Identifier + Identifier + Identifier. Type + Dangerous goods label marking + + + + + + + + + BBIE + Hazardous Item. Hazard Class Identifier. Identifier + Identifies a hazard class applicable to dangerous goods as defined by the relevant regulation authority, such as the IMDG Class Number of the SOLAS Convention of IMO and the ADR/RID Class Number for the road/rail environment. + 0..1 + Hazardous Item + Hazard Class Identifier + Identifier + Identifier. Type + IMDG Class Number, ADR/RID Class Number + + + + + + + + + BBIE + Hazardous Item. Net_ Weight. Measure + The total net weight of hazardous goods; the weight of the goods plus packaging. + 0..1 + Hazardous Item + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Hazardous Item. Net_ Volume. Measure + The volume of hazardous goods net of packaging and transport equipment. + 0..1 + Hazardous Item + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Hazardous Item. Quantity + The quantity of goods that are hazardous. + 0..1 + Hazardous Item + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Hazardous Item. Contact_ Party. Party + Associates the Hazardous Item with details of an individual, group, or body that is the contact in case of hazard incident. + 0..1 + Hazardous Item + Contact + Party + Party + + + + + + + + + ASBIE + Hazardous Item. Secondary Hazard + Associates the Hazardous Item with information about secondary hazards. + 0..n + Hazardous Item + Secondary Hazard + Secondary Hazard + + + + + + + + + ASBIE + Hazardous Item. Hazardous Goods Transit + Associates the Hazardous Item with information about the transportation of hazardous goods. + 0..n + Hazardous Item + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Hazardous Item. Emergency_ Temperature. Temperature + Associates the Hazardous Item with the temperature at which emergency procedures apply during the handling of temperature-controlled hazardous goods. + 0..1 + Hazardous Item + Emergency + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Item. Flashpoint_ Temperature. Temperature + Associates the Hazardous Item with the lowest temperature at which the vapor of a combustible liquid can be made to ignite momentarily in air, known in hazardous goods procedures as the flashpoint. + 0..1 + Hazardous Item + Flashpoint + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Item. Additional_ Temperature. Temperature + Information providing details of temperatures relevant to the handling of hazardous goods. + 0..n + Hazardous Item + Additional + Temperature + Temperature + + + + + + + + + + + ABIE + Invoice Line. Details + Information about an Invoice Line. + Invoice Line + + + + + + + + + BBIE + Invoice Line. Identifier + Identifies the Invoice Line. + 1 + Invoice Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Invoice Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice Line. Note. Text + Free-form text applying to the Invoice Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Invoice Line + Note + Text + Text. Type + + + + + + + + + BBIE + Invoice Line. Invoiced_ Quantity. Quantity + The quantity (of Items) on the Invoice Line. + 0..1 + Invoice Line + Invoiced + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Invoice Line. Line Extension Amount. Amount + The total amount for the Invoice Line, including Allowance Charges but net of taxes. + 1 + Invoice Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Invoice Line. Tax Point Date. Date + The date of the Invoice Line, used to indicate the point at which tax becomes applicable. + 0..1 + Invoice Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Invoice Line. Accounting Cost Code. Code + The buyer's accounting code applied to the Invoice Line. + 0..1 + Invoice Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Invoice Line. Accounting Cost. Text + The buyer's accounting code applied to the Invoice Line, expressed as text. + 0..1 + Invoice Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Invoice Line. Free Of Charge_ Indicator. Indicator + Indicates whether the Invoice Line is Free Of Charge (default = false). + 0..1 + Invoice Line + Free Of Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Invoice Line. Order Line Reference + An association to Order Line Reference. + 0..n + Invoice Line + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Invoice Line. Despatch_ Line Reference. Line Reference + An associative reference to Despatch Line. + 0..n + Invoice Line + Despatch + Line Reference + Line Reference + + + + + + + + + ASBIE + Invoice Line. Receipt_ Line Reference. Line Reference + An associative reference to Receipt Line. + 0..n + Invoice Line + Receipt + Line Reference + Line Reference + + + + + + + + + ASBIE + Invoice Line. Billing Reference + An association to Billing Reference. + 0..n + Invoice Line + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Invoice Line. Document Reference + An association to Document Reference. + 0..n + Invoice Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice Line. Pricing Reference + An association to Pricing Reference. + 0..1 + Invoice Line + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Invoice Line. Originator_ Party. Party + The party who originated the Order to which the Invoice is related. + 0..1 + Invoice Line + Originator + Party + Party + + + + + + + + + ASBIE + Invoice Line. Delivery + An association to Delivery. + 0..n + Invoice Line + Delivery + Delivery + + + + + + + + + ASBIE + Invoice Line. Payment Terms + An association to Payment Terms. + 0..n + Invoice Line + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Invoice Line. Allowance Charge + An association to Allowance Charge. + 0..n + Invoice Line + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Invoice Line. Tax Total + An association to Tax Total. + 0..n + Invoice Line + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice Line. Item + An association to Item. + 1 + Invoice Line + Item + Item + + + + + + + + + ASBIE + Invoice Line. Price + An association to Price. + 0..1 + Invoice Line + Price + Price + + + + + + + + + ASBIE + Invoice Line. Delivery Terms + An association to Delivery Terms. + 0..1 + Invoice Line + Delivery Terms + Delivery Terms + + + + + + + + + + + ABIE + Item. Details + Information directly relating to an item. + Item + article, product, goods item + + + + + + + + + BBIE + Item. Description. Text + Free-form field that can be used to give a text description of the item. + 0..n + Item + Description + Text + Text. Type + + + + + + + + + BBIE + Item. Pack Quantity. Quantity + The unit packaging quantity. + 0..1 + Item + Pack Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item. Pack Size. Numeric + The number of items in a pack. + 0..1 + Item + Pack Size + Numeric + Numeric. Type + + + + + + + + + BBIE + Item. Catalogue_ Indicator. Indicator + Indicates whether the item was ordered from a Catalogue (true) or not (false). + 0..1 + Item + Catalogue + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Item. Name + A short name optionally given to an item, such as a name from a Catalogue, as distinct from a description. + 0..1 + Item + Name + Name + Name. Type + + + + + + + + + BBIE + Item. Hazardous Risk_ Indicator. Indicator + Indicates whether the item as delivered is hazardous. + 0..1 + Item + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Item. Additional_ Information. Text + Provides more details of the item (e.g., the URL of a relevant web page). + 0..1 + Item + Additional + Information + Text + Text. Type + + + + + + + + + BBIE + Item. Keyword. Text + A Seller Party-defined search string for the item. Also could be synonyms for identifying the item. + 0..n + Item + Keyword + Text + Text. Type + + + + + + + + + BBIE + Item. Brand Name. Name + Brand name for the item. + 0..n + Item + Brand Name + Name + Name. Type + Coca-Cola + + + + + + + + + BBIE + Item. Model Name. Name + Model name for the item. + 0..n + Item + Model Name + Name + Name. Type + "VW Beetle" + + + + + + + + + ASBIE + Item. Buyers_ Item Identification. Item Identification + Associates the item with its identification according to the buyer's system. + 0..1 + Item + Buyers + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Sellers_ Item Identification. Item Identification + Associates the item with its identification according to the seller's system. + 0..1 + Item + Sellers + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Manufacturers_ Item Identification. Item Identification + Associates the item with its identification according to the manufacturer's system. + 0..n + Item + Manufacturers + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Standard_ Item Identification. Item Identification + Associates the item with its identification according to a standard system. + 0..1 + Item + Standard + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Catalogue_ Item Identification. Item Identification + Associates the item with its identification according to a cataloguing system. + 0..1 + Item + Catalogue + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Additional_ Item Identification. Item Identification + Associates the item with other identification means. + 0..n + Item + Additional + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Catalogue_ Document Reference. Document Reference + An associative reference to Catalogue. + 0..1 + Item + Catalogue + Document Reference + Document Reference + + + + + + + + + ASBIE + Item. Item Specification_ Document Reference. Document Reference + An associative reference to a document providing Item specification. + 0..n + Item + Item Specification + Document Reference + Document Reference + + + + + + + + + ASBIE + Item. Origin_ Country. Country + Associates the item with its country of origin. + 0..1 + Item + Origin + Country + Country + + + + + + + + + ASBIE + Item. Commodity Classification + Associates the item with its classification(s) according to a commodity classifying system. + 0..n + Item + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Item. Transaction Conditions + Associates the item with sales conditions appertaining to it. + 0..n + Item + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Item. Hazardous Item + Associates the item with its hazardous item information. + 0..n + Item + Hazardous Item + Hazardous Item + + + + + + + + + ASBIE + Item. Classified_ Tax Category. Tax Category + Classifies the item using one or more categories of taxes. + 0..n + Item + Classified + Tax Category + Tax Category + + + + + + + + + ASBIE + Item. Additional_ Item Property. Item Property + Associates the item with a set of additional properties. + 0..n + Item + Additional + Item Property + Item Property + + + + + + + + + ASBIE + Item. Manufacturer_ Party. Party + Associates the item with its manufacturer. + 0..n + Item + Manufacturer + Party + Party + + + + + + + + + ASBIE + Item. Information Content Provider_ Party. Party + Associates the item with the party responsible for the its specification. + 0..1 + Item + Information Content Provider + Party + Party + + + + + + + + + ASBIE + Item. Origin_ Address. Address + Associates the item with the region of origin (not the country). + 0..n + Item + Origin + Address + Address + + + + + + + + + ASBIE + Item. Item Instance + An association to Item Instance. + 0..n + Item + Item Instance + Item Instance + + + + + + + + + + + ABIE + Item Comparison. Details + Used to compare different items based on cost, quantity, or measurements. + Item Comparison + + + + + + + + + BBIE + Item Comparison. Price. Amount + The price for the comparison quantity of the item. + 0..1 + Item Comparison + Price + Amount + Amount. Type + + + + + + + + + BBIE + Item Comparison. Quantity + The quantity used for price comparison with other items. + 0..1 + Item Comparison + Quantity + Quantity + Quantity. Type + "per unit" + + + + + + + + + + + ABIE + Item Identification. Details + Information about item identification. + Item Identification + + + + + + + + + BBIE + Item Identification. Identifier + An identifier for an item. + 1 + Item Identification + Identifier + Identifier + Identifier. Type + "CUST001" "3333-44-123" + + + + + + + + + BBIE + Item Identification. Extended_ Identifier. Identifier + An extended identifier for the item that identifies the item with specific properties, e.g., Item 123 = Chair / Item 123 Ext 45 = brown chair. + 0..1 + Item Identification + Extended + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Item Identification. Physical Attribute + An association to Physical Attribute. + 0..n + Item Identification + Physical Attribute + Physical Attribute + + + + + + + + + ASBIE + Item Identification. Measurement_ Dimension. Dimension + An association to Measurement Dimension. + 0..n + Item Identification + Measurement + Dimension + Dimension + + + + + + + + + ASBIE + Item Identification. Issuer_ Party. Party + An association to Issuer Party i.e. the Party that issued the Item Identification. + 0..1 + Item Identification + Issuer + Party + Party + + + + + + + + + + + ABIE + Item Instance. Details + Information about a specific instance of an item. + Item Instance + + + + + + + + + BBIE + Item Instance. Product Trace_ Identifier. Identifier + An identifier used for tracing the item, such as the EPC number used in RFID. + 0..1 + Item Instance + Product Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Instance. Manufacture Date. Date + The date of manufacture of the Item Instance. + 0..1 + Item Instance + Manufacture Date + Date + Date. Type + + + + + + + + + BBIE + Item Instance. Manufacture Time. Time + The time of manufacture of the Item Instance. + 0..1 + Item Instance + Manufacture Time + Time + Time. Type + + + + + + + + + BBIE + Item Instance. Registration Identifier. Identifier + The registration identifier of the Item Instance. + 0..1 + Item Instance + Registration Identifier + Identifier + Identifier. Type + car registration or licensing number + + + + + + + + + BBIE + Item Instance. Serial Identifier. Identifier + The serial number of the Item Instance. + 0..1 + Item Instance + Serial Identifier + Identifier + Identifier. Type + chassis number of a car + + + + + + + + + ASBIE + Item Instance. Additional_ Item Property. Item Property + An association to Additional Item Property. + 0..n + Item Instance + Additional + Item Property + Item Property + + + + + + + + + ASBIE + Item Instance. Lot Identification + Associates the item instance with its lot identification (the identification that allows recall of the item if necessary). + 0..1 + Item Instance + Lot Identification + Lot Identification + + + + + + + + + + + ABIE + Item Location Quantity. Details + Information about the properties of an item as they relate to specific quantities and/or specific locations. + Item Location Quantity + + + + + + + + + BBIE + Item Location Quantity. Lead Time. Measure + The time taken from the time of order to the time of delivery for an item. + 0..1 + Item Location Quantity + Lead Time + Measure + Measure. Type + "2 days", "24 hours" + + + + + + + + + BBIE + Item Location Quantity. Minimum_ Quantity. Quantity + The minimum quantity that can be ordered to qualify for a specific price. + 0..1 + Item Location Quantity + Minimum + Quantity + Quantity + Quantity. Type + "10 boxes", "1 carton", "1000 sheets" + + + + + + + + + BBIE + Item Location Quantity. Maximum_ Quantity. Quantity + The maximum quantity that can be ordered to qualify for a specific price. + 0..1 + Item Location Quantity + Maximum + Quantity + Quantity + Quantity. Type + "10 boxes", "1 carton", "1000 sheets" + + + + + + + + + BBIE + Item Location Quantity. Hazardous Risk_ Indicator. Indicator + Indicates whether the item as delivered, in the stated quantity to the stated location, is hazardous. + 0..1 + Item Location Quantity + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Item Location Quantity. Trading Restrictions. Text + A description of trade restrictions that apply to the item or quantities of the item. + 0..n + Item Location Quantity + Trading Restrictions + Text + Text. Type + "not for export" + + + + + + + + + ASBIE + Item Location Quantity. Applicable Territory_ Address. Address + An association to Territory (Address). + 0..n + Item Location Quantity + Applicable Territory + Address + Address + + + + + + + + + ASBIE + Item Location Quantity. Price + An association to Price. + 0..1 + Item Location Quantity + Price + Price + + + + + + + + + ASBIE + Item Location Quantity. Delivery Unit + An association to Delivery Unit. + 0..n + Item Location Quantity + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Item Location Quantity. Applicable_ Tax Category. Tax Category + An association to Tax Category. + 0..n + Item Location Quantity + Applicable + Tax Category + Tax Category + + + + + + + + + + + ABIE + Item Property. Details + Information about specific Item Properties. + Item Property + + + + + + + + + BBIE + Item Property. Name + The name of the Item Property. + 1 + Item Property + Name + Name + Name. Type + "Energy Rating", "Collar Size", "Fat Content" + + + + + + + + + BBIE + Item Property. Value. Text + The Item Property value. + 1 + Item Property + Value + Text + Text. Type + "100 watts", "15 European", "20% +/- 5%" + + + + + + + + + ASBIE + Item Property. Usability_ Period. Period + The period for which the Item Property is valid. + 0..1 + Item Property + Usability + Period + Period + + + + + + + + + ASBIE + Item Property. Item Property Group + An association to Item Property Group. + 0..n + Item Property + Item Property Group + Item Property Group + + + + + + + + + + + ABIE + Item Property Group. Details + Information about sets of classifications (or groups) of Item Properties. + Item Property Group + + + + + + + + + BBIE + Item Property Group. Identifier + An identifier for the Item Property Group. + 1 + Item Property Group + Identifier + Identifier + Identifier. Type + "233-004" + + + + + + + + + BBIE + Item Property Group. Name + The name of the Item Property Group. + 0..1 + Item Property Group + Name + Name + Name. Type + "Electrical Specifications", "Dietary Content" + + + + + + + + + + + ABIE + Language. Details + Information about Language. + Language + + + + + + + + + BBIE + Language. Identifier + An identifier for a language, expressed as a code. + 0..1 + Language + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Language. Name + The name of the language. + 0..1 + Language + Name + Name + Name. Type + + + + + + + + + BBIE + Language. Locale Code. Code + The locale where the language is used, expressed as a code. + 0..1 + Language + Locale Code + Code + Code. Type + + + + + + + + + + + ABIE + Line Item. Details + Information about a Line Item. + Line Item + + + + + + + + + BBIE + Line Item. Identifier + Identifies the Line Item assigned by the buyer. + 1 + Line Item + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. Sales_ Order Identifier. Identifier + The identification given to a Line by the seller. + 0..1 + Line Item + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Line Item + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. Note. Text + Free-form text applying to the Line Item. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Line Item + Note + Text + Text. Type + + + + + + + + + BBIE + Line Item. Line Status Code. Code + Identifies the status of the Line with respect to its original state. + 0..1 + Line Item + Line Status Code + Code + Line Status_ Code. Type + + + + + + + + + BBIE + Line Item. Quantity + The quantity of Items for the Line Item. + 0..1 + Line Item + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Line Extension Amount. Amount + The total amount for the Line Item, including Allowance Charges but net of taxes. + 0..1 + Line Item + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Line Item. Total_ Tax Amount. Amount + The total tax amount for the Line Item. + 0..1 + Line Item + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Line Item. Minimum_ Quantity. Quantity + The minimum quantity for the Item on the Line. + 0..1 + Line Item + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Maximum_ Quantity. Quantity + The maximum quantity for the Item on the Line. + 0..1 + Line Item + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Minimum_ Backorder. Quantity + The minimum back order quantity (where back order is allowed). + 0..1 + Line Item + Minimum + Backorder + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Maximum_ Backorder. Quantity + The maximum back order quantity (where back order is allowed). + 0..1 + Line Item + Maximum + Backorder + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Inspection Method. Code + Inspection requirements for a Line Item, expressed as a code. + 0..1 + Line Item + Inspection Method + Code + Code. Type + + + + + + + + + BBIE + Line Item. Partial Delivery Indicator. Indicator + Indicates whether a partial delivery is allowed. + 0..1 + Line Item + Partial Delivery Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Line Item. Back Order Allowed Indicator. Indicator + Indicates whether back order is allowed. + 0..1 + Line Item + Back Order Allowed Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Line Item. Accounting Cost Code. Code + The buyer's accounting code applied to the Line Item. + 0..1 + Line Item + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Line Item. Accounting Cost. Text + The buyer's accounting code applied to the Line Item, expressed as text. + 0..1 + Line Item + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Line Item. Delivery + An association to Delivery. + 0..n + Line Item + Delivery + Delivery + + + + + + + + + ASBIE + Line Item. Delivery Terms + An association to Delivery Terms. + 0..1 + Line Item + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Line Item. Originator_ Party. Party + The party who originated Order. + 0..1 + Line Item + Originator + Party + Party + + + + + + + + + ASBIE + Line Item. Ordered Shipment + An association to Ordered Shipment. + 0..n + Line Item + Ordered Shipment + Ordered Shipment + + + + + + + + + ASBIE + Line Item. Pricing Reference + An association to Pricing Reference. + 0..1 + Line Item + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Line Item. Allowance Charge + An association to Allowance Charge. + 0..n + Line Item + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Line Item. Price + An association to Price. + 0..1 + Line Item + Price + Price + + + + + + + + + ASBIE + Line Item. Item + An association to Item. + 1 + Line Item + Item + Item + + + + + + + + + + + ABIE + Line Reference. Details + Reference to a Line on a document. + Line Reference + + + + + + + + + BBIE + Line Reference. Line Identifier. Identifier + Identifies the Line on the referenced document. + 1 + Line Reference + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Reference. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Line Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Reference. Line Status Code. Code + Identifies the status of the referenced Line with respect to its original state. + 0..1 + Line Reference + Line Status Code + Code + Line Status_ Code. Type + + + + + + + + + ASBIE + Line Reference. Document Reference + An association to Document Reference. + 0..1 + Line Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Line Response. Details + A response to a Line in a Document. + Line Response + + + + + + + + + ASBIE + Line Response. Line Reference + An association to Line Reference. + 1 + Line Response + Line Reference + Line Reference + + + + + + + + + ASBIE + Line Response. Response + An association to Response. + 1..n + Line Response + Response + Response + + + + + + + + + + + ABIE + Location. Details + Information about a location. + Location + + + + + + + + + BBIE + Location. Identifier + The unique identifier for the location, e.g., the EAN Location Number, GLN. + 0..1 + Location + Identifier + Identifier + Identifier. Type + 5790002221134 + + + + + + + + + BBIE + Location. Description. Text + The description or name of the location. + 0..1 + Location + Description + Text + Text. Type + + + + + + + + + BBIE + Location. Conditions. Text + Conditions describing the location. + 0..1 + Location + Conditions + Text + Text. Type + + + + + + + + + BBIE + Location. Country Subentity. Text + A territorial division of a country, such as a county or state. + 0..1 + Location + Country Subentity + Text + Text. Type + AdministrativeArea, State, Country, Shire, Canton + "Florida","Tamilnadu" + + + + + + + + + BBIE + Location. Country Subentity Code. Code + The territorial division of a country, such as a county or state, expressed as a code. + 0..1 + Location + Country Subentity Code + Code + Code. Type + AdministrativeAreaCode, State Code + + + + + + + + + ASBIE + Location. Validity_ Period. Period + Period(s) in which the location can be used, e.g., for delivery. + 0..n + Location + Validity + Period + Period + + + + + + + + + ASBIE + Location. Address + Association to the address of the location. + 0..1 + Location + Address + Address + + + + + + + + + + + ABIE + Location Coordinate. Details + Information about physical (geographical) location. + Location Coordinate + + + + + + + + + BBIE + Location Coordinate. Coordinate System Code. Code + An identifier for the location system used. + 0..1 + Location Coordinate + Coordinate System Code + Code + Code. Type + + + + + + + + + BBIE + Location Coordinate. Latitude_ Degrees. Measure + The measure of latitude in degrees. + 0..1 + Location Coordinate + Latitude + Degrees + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Latitude_ Minutes. Measure + The measure of latitude in minutes. + 0..1 + Location Coordinate + Latitude + Minutes + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Latitude Direction Code. Code + The direction of latitude measurement from the equator. + 0..1 + Location Coordinate + Latitude Direction Code + Code + Latitude Direction_ Code. Type + + + + + + + + + BBIE + Location Coordinate. Longitude_ Degrees. Measure + The measure of longitude in degrees. + 0..1 + Location Coordinate + Longitude + Degrees + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Longitude_ Minutes. Measure + The measure of longitude in minutes. + 0..1 + Location Coordinate + Longitude + Minutes + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Longitude Direction Code. Code + The direction of longitude measurement from the meridian. + 0..1 + Location Coordinate + Longitude Direction Code + Code + Longitude Direction_ Code. Type + + + + + + + + + + + ABIE + Lot Identification. Details + Information about a lot (of Item Instances). + Lot Identification + + + + + + + + + BBIE + Lot Identification. Lot Number. Identifier + Identifies the lot. + 0..1 + Lot Identification + Lot Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Lot Identification. Expiry Date. Date + The expiry date of the lot. + 0..1 + Lot Identification + Expiry Date + Date + Date. Type + + + + + + + + + ASBIE + Lot Identification. Additional_ Item Property. Item Property + An association to Additional Item Property. + 0..n + Lot Identification + Additional + Item Property + Item Property + + + + + + + + + + + ABIE + Maritime Transport. Details + Describes a water (including sea, river, and canal) transport vessel. + Maritime Transport + + + + + + + + + BBIE + Maritime Transport. Vessel Identifier. Identifier + Identifies a specific vessel. + 0..1 + Maritime Transport + Vessel Identifier + Identifier + Identifier. Type + Lloyds Number, Registration Number (WCO ID 167) + International Maritime Organisation number of a vessel + + + + + + + + + BBIE + Maritime Transport. Vessel Name. Name + The name of the vessel. + 0..1 + Maritime Transport + Vessel Name + Name + Name. Type + Ships Name + + + + + + + + + + + ABIE + Monetary Total. Details + Information about Monetary Totals. + Monetary Total + + + + + + + + + BBIE + Monetary Total. Line Extension Amount. Amount + The total of Line Extension Amounts net of tax and settlement discounts, but inclusive of any applicable rounding amount. + 0..1 + Monetary Total + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Tax Exclusive Amount. Amount + The total amount exclusive of taxes. + 0..1 + Monetary Total + Tax Exclusive Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Tax Inclusive Amount. Amount + The total amount inclusive of taxes. + 0..1 + Monetary Total + Tax Inclusive Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Allowance Total Amount. Amount + The total amount of all allowances. + 0..1 + Monetary Total + Allowance Total Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Charge Total Amount. Amount + The total amount of all charges. + 0..1 + Monetary Total + Charge Total Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Prepaid Amount. Amount + The total prepaid amount. + 0..1 + Monetary Total + Prepaid Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Rounding Amount. Amount + The rounding amount (positive or negative) added to the calculated Line Extension Total Amount to produce the rounded Line Extension Total Amount. + 0..1 + Monetary Total + Payable + Rounding Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Amount. Amount + The total amount to be paid. + 1 + Monetary Total + Payable + Amount + Amount + Amount. Type + + + + + + + + + + + ABIE + Ordered Shipment. Details + Information about an Ordered Shipment. + Ordered Shipment + + + + + + + + + ASBIE + Ordered Shipment. Shipment + An association to Shipment. + 1 + Ordered Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Ordered Shipment. Package + An association to Package. + 0..n + Ordered Shipment + Package + Package + + + + + + + + + + + ABIE + Order Line. Details + Information about an Order Line. + Order Line + + + + + + + + + BBIE + Order Line. Substitution Status Code. Code + A code indicating the substitution status of the Order Line. Order Line may indicate that a substitute is proposed by the buyer or by the seller (in Order Response) or that a substitution has been made by the seller (in Order Response). + 0..1 + Order Line + Substitution Status Code + Code + Substitution Status_ Code. Type + + + + + + + + + BBIE + Order Line. Note. Text + Free-form text applying to the Order Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Order Line + Note + Text + Text. Type + + + + + + + + + ASBIE + Order Line. Line Item + An association to Line Item. + 1 + Order Line + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Seller Proposed Substitute_ Line Item. Line Item + Substitute Line Items proposed by the seller (in Order Response). + 0..n + Order Line + Seller Proposed Substitute + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Seller Substituted_ Line Item. Line Item + Item(s) replaced by the seller. The original ordered quantity and pricing may be different from the substituted item. However, when an item is substituted by the seller, it is assumed that other information, such as shipment details, will be the same. + 0..n + Order Line + Seller Substituted + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Buyer Proposed Substitute_ Line Item. Line Item + Possible alternatives, proposed by the buyer, to the Line Item. + 0..n + Order Line + Buyer Proposed Substitute + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Catalogue_ Line Reference. Line Reference + An associative reference to Catalogue Line. + 0..1 + Order Line + Catalogue + Line Reference + Line Reference + + + + + + + + + ASBIE + Order Line. Quotation_ Line Reference. Line Reference + an associative reference to Quotation Line. + 0..1 + Order Line + Quotation + Line Reference + Line Reference + + + + + + + + + ASBIE + Order Line. Document Reference + An association to Document Reference. + 0..n + Order Line + Document Reference + Document Reference + + + + + + + + + + + ABIE + Order Line Reference. Details + Information about an Order Line Reference. + Order Line Reference + + + + + + + + + BBIE + Order Line Reference. Line Identifier. Identifier + Identifies the referenced Order Line assigned by the buyer. + 1 + Order Line Reference + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. Sales Order_ Line Identifier. Identifier + Identifies the referenced Order Line assigned by the seller. + 0..1 + Order Line Reference + Sales Order + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Order Line Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. Line Status Code. Code + Identifies the status of the referenced Order Line with respect to its original state. + 0..1 + Order Line Reference + Line Status Code + Code + Line Status_ Code. Type + + + + + + + + + ASBIE + Order Line Reference. Order Reference + An association to Order Reference. + 0..1 + Order Line Reference + Order Reference + Order Reference + + + + + + + + + + + ABIE + Order Reference. Details + Information about an Order Reference. + Order Reference + + + + + + + + + BBIE + Order Reference. Identifier + Identifies the referenced Order assigned by the buyer. + 1 + Order Reference + Identifier + Identifier + Identifier. Type + "PO-001" "3333-44-123" + + + + + + + + + BBIE + Order Reference. Sales Order Identifier. Identifier + Identifies the referenced Order assigned by the seller. + 0..1 + Order Reference + Sales Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Reference. Copy_ Indicator. Indicator + Indicates whether the referenced Order is a copy (true) or the original (false). + 0..1 + Order Reference + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Reference. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Order Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Reference. Issue Date. Date + The date on which the referenced Order was issued. + 0..1 + Order Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Reference. Issue Time. Time + The time at which the referenced Order was issued. + 0..1 + Order Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Reference. Customer_ Reference. Text + A reference used (CRI) for tagging purchasing card transactions. + 0..1 + Order Reference + Customer + Reference + Text + Text. Type + Customer Reference Identifier (CRI) when using a puchasing card + + + + + + + + + ASBIE + Order Reference. Document Reference + An association to Document Reference. + 0..1 + Order Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Package. Details + Information about a package. + Package + + + + + + + + + BBIE + Package. Identifier + Identifies the package. + 0..1 + Package + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Package. Quantity + The quantity (of items) contained in the package. + 0..1 + Package + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Package. Returnable Material_ Indicator. Indicator + Indicates whether the packaging material is returnable (true) or not (false). + 0..1 + Package + Returnable Material + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Package. Package Level Code. Code + Code specifying a level of packaging. + 0..1 + Package + Package Level Code + Code + Code. Type + + + + + + + + + BBIE + Package. Packaging Type Code. Code + Code specifying the type of packaging of an item. + 0..1 + Package + Packaging Type Code + Code + Packaging Type_ Code. Type + Package classification code + + + + + + + + + BBIE + Package. Packing Material. Text + Description of the type of packaging of an item. + 0..n + Package + Packing Material + Text + Text. Type + + + + + + + + + ASBIE + Package. Contained_ Package. Package + An association to Contained Package; used to describe a package within a package. + 0..n + Package + Contained + Package + Package + + + + + + + + + ASBIE + Package. Goods Item + An association to Goods Item. + 0..n + Package + Goods Item + Goods Item + + + + + + + + + ASBIE + Package. Measurement_ Dimension. Dimension + An association to describe the measurement dimensions of the package. + 0..n + Package + Measurement + Dimension + Dimension + + + + + + + + + ASBIE + Package. Delivery Unit + An association to Delivery Units in the package. + 0..n + Package + Delivery Unit + Delivery Unit + + + + + + + + + + + ABIE + Party. Details + Information about an organization, sub-organization, or individual fulfilling a role in a business process. + Party + + + + + + + + + BBIE + Party. Mark Care_ Indicator. Indicator + Indicates whether a party is C/O (care of). + 0..1 + Party + Mark Care + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party. Mark Attention_ Indicator. Indicator + Indicates whether a party is 'FAO' (for the attention of). + 0..1 + Party + Mark Attention + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party. Website_ URI. Identifier + The Uniform Resource Identifier (URI) of the party. + 0..1 + Party + Website + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Party. Logo Reference. Identifier + A party's logo. + 0..1 + Party + Logo Reference + Identifier + Identifier. Type + http://www2.coca-cola.com/images/logo.gif + + + + + + + + + BBIE + Party. Endpoint Identifier. Identifier + Identifies the end point of the routing service, e.g., EAN Location Number, GLN. + 0..1 + Party + Endpoint Identifier + Identifier + Identifier. Type + 5790002221134 + + + + + + + + + ASBIE + Party. Party Identification + An association to Party Identification. + 0..n + Party + Party Identification + Party Identification + + + + + + + + + ASBIE + Party. Party Name + An association to Party Name. + 0..n + Party + Party Name + Party Name + + + + + + + + + ASBIE + Party. Language + An association to Language. + 0..1 + Party + Language + Language + + + + + + + + + ASBIE + Party. Postal_ Address. Address + The party's postal address. + 0..1 + Party + Postal + Address + Address + + + + + + + + + ASBIE + Party. Physical_ Location. Location + The party's physical location. + 0..1 + Party + Physical + Location + Location + + + + + + + + + ASBIE + Party. Party Tax Scheme + An association to Party Tax Scheme. + 0..n + Party + Party Tax Scheme + Party Tax Scheme + + + + + + + + + ASBIE + Party. Party Legal Entity + An association to Party Legal Entity. + 0..n + Party + Party Legal Entity + Party Legal Entity + + + + + + + + + ASBIE + Party. Contact + An association to Contact. + 0..1 + Party + Contact + Contact + + + + + + + + + ASBIE + Party. Person + An association to a person. + 0..1 + Party + Person + Person + + + + + + + + + ASBIE + Party. Agent_ Party. Party + An association to another party who acts as an agent for this party. + 0..1 + Party + Agent + Party + Party + + + + + + + + + + + ABIE + Party Identification. Details + Information about a party's identification. + Party Identification + + + + + + + + + BBIE + Party Identification. Identifier + Identifies a party. + 1 + Party Identification + Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Party Legal Entity. Details + Information directly relating to the legal registration that is applicable to a party. + Party Legal Entity + + + + + + + + + BBIE + Party Legal Entity. Registration_ Name. Name + The name of a party as registered with the legal authority. + 0..1 + Party Legal Entity + Registration + Name + Name + Name. Type + "Microsoft Corporation" + + + + + + + + + BBIE + Party Legal Entity. Company Identifier. Identifier + Identifies a company as registered with the company registration scheme. + 0..1 + Party Legal Entity + Company Identifier + Identifier + Identifier. Type + Business Registration Number, Company Number + "3556625" + + + + + + + + + ASBIE + Party Legal Entity. Registration_ Address. Address + Associates with the registered address of the party within a Corporate Registration Scheme. + 0..1 + Party Legal Entity + Registration + Address + Address + + + + + + + + + ASBIE + Party Legal Entity. Corporate Registration Scheme + Associates the party with a Corporate Registration Scheme. + 0..1 + Party Legal Entity + Corporate Registration Scheme + Corporate Registration Scheme + + + + + + + + + + + ABIE + Party Name. Details + Information about a party's name. + Party Name + + + + + + + + + BBIE + Party Name. Name + The name of the party. + 1 + Party Name + Name + Name + Name. Type + "Microsoft" + + + + + + + + + + + ABIE + Party Tax Scheme. Details + Information about a party's Tax Scheme. + Party Tax Scheme + + + + + + + + + BBIE + Party Tax Scheme. Registration_ Name. Name + The official name of the party as registered with the relevant fiscal authority. + 0..1 + Party Tax Scheme + Registration + Name + Name + Name. Type + "Microsoft Corporation" + + + + + + + + + BBIE + Party Tax Scheme. Company Identifier. Identifier + The identifier assigned for tax purposes to a party by the taxation authority. + 0..1 + Party Tax Scheme + Company Identifier + Identifier + Identifier. Type + VAT Number + "3556625" + + + + + + + + + BBIE + Party Tax Scheme. Tax Level Code. Code + The section or role within the tax scheme that applies to the party. + 0..1 + Party Tax Scheme + Tax Level Code + Code + Code. Type + + + + + + + + + BBIE + Party Tax Scheme. Exemption Reason Code. Code + A reason for a party's exemption from tax, expressed as a code. + 0..1 + Party Tax Scheme + Exemption Reason Code + Code + Code. Type + + + + + + + + + BBIE + Party Tax Scheme. Exemption_ Reason. Text + A reason for a party's exemption from tax, expressed as text. + 0..1 + Party Tax Scheme + Exemption + Reason + Text + Text. Type + + + + + + + + + ASBIE + Party Tax Scheme. Registration_ Address. Address + An association to Registered Address (for tax purposes). + 0..1 + Party Tax Scheme + Registration + Address + Address + + + + + + + + + ASBIE + Party Tax Scheme. Tax Scheme + An association to Tax Scheme. + 1 + Party Tax Scheme + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Payment. Details + Information directly relating to a specific payment. + Payment + + + + + + + + + BBIE + Payment. Identifier + Identifies the payment. + 0..1 + Payment + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment. Paid_ Amount. Amount + The amount paid. + 0..1 + Payment + Paid + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment. Received_ Date. Date + The date on which the payment was received. + 0..1 + Payment + Received + Date + Date + Date. Type + + + + + + + + + BBIE + Payment. Paid_ Date. Date + The date at which the payment was made. + 0..1 + Payment + Paid + Date + Date + Date. Type + + + + + + + + + BBIE + Payment. Paid_ Time. Time + The time at which the payment was made. + 0..1 + Payment + Paid + Time + Time + Time. Type + + + + + + + + + BBIE + Payment. Instruction Identifier. Identifier + Identifies the Payment Instruction. + 0..1 + Payment + Instruction Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Payment Means. Details + Information about Payment Means. + Payment Means + + + + + + + + + BBIE + Payment Means. Identifier + Identifies the Payment Means. + 0..1 + Payment Means + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Means. Payment Means Code. Code + The Payment Means expressed as a code + 1 + Payment Means + Payment Means Code + Code + Payment Means_ Code. Type + + + + + + + + + BBIE + Payment Means. Payment Due Date. Date + The date on which payment is due for the Payment Means. + 0..1 + Payment Means + Payment Due Date + Date + Date. Type + + + + + + + + + BBIE + Payment Means. Payment Channel Code. Code + The Payment Channel, expressed as a code. + 0..1 + Payment Means + Payment Channel Code + Code + Code. Type + + + + + + + + + BBIE + Payment Means. Instruction Identifier. Identifier + Identifies the Payment Instruction. + 0..1 + Payment Means + Instruction Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Means. Instruction_ Note. Text + Free-form text applying to the Payment. + 0..n + Payment Means + Instruction + Note + Text + Text. Type + + + + + + + + + BBIE + Payment Means. Payment Identifier. Identifier + Identifies the Payment(s). + 0..n + Payment Means + Payment Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Payment Means. Card Account + An association to Card Account. + 0..1 + Payment Means + Card Account + Card Account + + + + + + + + + ASBIE + Payment Means. Payer_ Financial Account. Financial Account + An association to the payer's Financial Account. + 0..1 + Payment Means + Payer + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Means. Payee_ Financial Account. Financial Account + An association to the payee's Financial Account. + 0..1 + Payment Means + Payee + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Means. Credit Account + An association to Credit Account. + 0..1 + Payment Means + Credit Account + Credit Account + + + + + + + + + + + ABIE + Payment Terms. Details + Information about Payment Terms. + Payment Terms + + + + + + + + + BBIE + Payment Terms. Identifier + Identifies the Payment Terms. + 0..1 + Payment Terms + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Payment Means Identifier. Identifier + Identifies the applicable Payment Means. + 0..1 + Payment Terms + Payment Means Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Prepaid Payment Reference Identifier. Identifier + Identifies prepaid payment. + 0..1 + Payment Terms + Prepaid Payment Reference Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Note. Text + Free-form text applying to the Payment Terms. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Payment Terms + Note + Text + Text. Type + + + + + + + + + BBIE + Payment Terms. Reference_ Event Code. Code + The event from which terms are offered for a length of time, identified by a standard code. + 0..1 + Payment Terms + Reference + Event Code + Code + Code. Type + + + + + + + + + BBIE + Payment Terms. Settlement_ Discount Percent. Percent + The settlement discount rate (percentage) offered for payment within the settlement period. + 0..1 + Payment Terms + Settlement + Discount Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Penalty_ Surcharge Percent. Percent + The penalty rate (percentage) charged for late payment. + 0..1 + Payment Terms + Penalty + Surcharge Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Amount + The payment amount for the Payment Terms. + 0..1 + Payment Terms + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Payment Terms. Settlement_ Period. Period + An association to Settlement Period. + 0..1 + Payment Terms + Settlement + Period + Period + + + + + + + + + ASBIE + Payment Terms. Penalty_ Period. Period + An association to Penalty Period. + 0..1 + Payment Terms + Penalty + Period + Period + + + + + + + + + + + ABIE + Period. Details + Information about a period of time. + Period + + + + + + + + + BBIE + Period. Start Date. Date + The start date of the period. + 0..1 + Period + Start Date + Date + Date. Type + + + + + + + + + BBIE + Period. Start Time. Time + The start time of the period. + 0..1 + Period + Start Time + Time + Time. Type + + + + + + + + + BBIE + Period. End Date. Date + The end date of the period. + 0..1 + Period + End Date + Date + Date. Type + + + + + + + + + BBIE + Period. End Time. Time + The end time of the period. + 0..1 + Period + End Time + Time + Time. Type + + + + + + + + + BBIE + Period. Duration. Measure + The duration of a period, expressed as a code; ISO 8601. + 0..1 + Period + Duration + Measure + Measure. Type + + + + + + + + + BBIE + Period. Description Code. Code + A description of the period, expressed as a code. + 0..n + Period + Description Code + Code + Code. Type + + + + + + + + + BBIE + Period. Description. Text + A description of the period. + 0..n + Period + Description + Text + Text. Type + + + + + + + + + + + ABIE + Person. Details + Information about a person. + Person + + + + + + + + + BBIE + Person. First_ Name. Name + A person's forename or first name. + 0..1 + Person + First + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Family_ Name. Name + A person's surname or family name. + 0..1 + Person + Family + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Title. Text + A person's title of address, e.g., Mr, Ms, Dr, Sir. + 0..1 + Person + Title + Text + Text. Type + + + + + + + + + BBIE + Person. Middle_ Name. Name + A person's middle name(s) and/or initial(s). + 0..1 + Person + Middle + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Name Suffix. Text + A suffix to a person's name, e.g., PhD, OBE, Jnr. + 0..1 + Person + Name Suffix + Text + Text. Type + + + + + + + + + BBIE + Person. Job Title. Text + A person's job title within an organization (for a particular role). + 0..1 + Person + Job Title + Text + Text. Type + + + + + + + + + BBIE + Person. Organization_ Department. Text + The department or subdivision of an organization that the person belongs to (for a particular role). + 0..1 + Person + Organization + Department + Text + Text. Type + + + + + + + + + + + ABIE + Physical Attribute. Details + Information about physical attributes. + Physical Attribute + + + + + + + + + BBIE + Physical Attribute. Attribute Identifier. Identifier + Identifies the physical attribute. + 1 + Physical Attribute + Attribute Identifier + Identifier + Identifier. Type + "colour" "style" + + + + + + + + + BBIE + Physical Attribute. Position Code. Code + The position of the physical attribute, expressed as a code. + 0..1 + Physical Attribute + Position Code + Code + Code. Type + + + + + + + + + BBIE + Physical Attribute. Description Code. Code + The description of the physical attribute, expressed as a code. + 0..1 + Physical Attribute + Description Code + Code + Code. Type + "XXL","Small" + + + + + + + + + BBIE + Physical Attribute. Description. Text + The description of the physical attribute, expressed as text. + 0..n + Physical Attribute + Description + Text + Text. Type + + + + + + + + + + + ABIE + Price. Details + Information about the price. + Price + + + + + + + + + BBIE + Price. Price Amount. Amount + The price amount. + 1 + Price + Price Amount + Amount + Amount. Type + unit price + 23.45 + + + + + + + + + BBIE + Price. Base_ Quantity. Quantity + The actual quantity to which the price applies. + 0..1 + Price + Base + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Price. Price Change_ Reason. Text + The reason for the price change, expressed as text. + 0..n + Price + Price Change + Reason + Text + Text. Type + "Clearance of old stock", "New contract applies" + + + + + + + + + BBIE + Price. Price Type Code. Code + The price type, expressed as a code. + 0..1 + Price + Price Type Code + Code + Code. Type + + + + + + + + + BBIE + Price. Price Type. Text + The price type, expressed as text. + 0..1 + Price + Price Type + Text + Text. Type + retail, wholesale, discount, contract + + + + + + + + + BBIE + Price. Orderable Unit Factor. Rate + The factor by which the base price unit can be converted to the orderable unit. + 0..1 + Price + Orderable Unit Factor + Rate + Rate. Type + Nails are priced by weight but ordered by quantity. So this would say how many nails per kilo + + + + + + + + + ASBIE + Price. Validity_ Period. Period + An association to Validity Period. + 0..n + Price + Validity + Period + Period + + + + + + + + + ASBIE + Price. Price List + A reference to a Price List. + 0..1 + Price + Price List + Price List + + + + + + + + + ASBIE + Price. Allowance Charge + An association to Allowance Charge. + 0..n + Price + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Price List. Details + Information about a Price List. + Price List + + + + + + + + + BBIE + Price List. Identifier + Identifies the Price List. + 0..1 + Price List + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Price List. Status Code. Code + Identifies whether the price list is an 'original', 'copy', 'revision', or 'cancellation'. + 0..1 + Price List + Status Code + Code + Code. Type + "new - announcement only", "new and available", "deleted - announcement only" + + + + + + + + + ASBIE + Price List. Validity_ Period. Period + An association to Validity Period. + 0..n + Price List + Validity + Period + Period + + + + + + + + + ASBIE + Price List. Previous_ Price List. Price List + An association to Previous Price List. + 0..1 + Price List + Previous + Price List + Price List + + + + + + + + + + + ABIE + Pricing Reference. Details + A reference to Pricing Information. + Pricing Reference + + + + + + + + + ASBIE + Pricing Reference. Original_ Item Location Quantity. Item Location Quantity + An association to the original Item Location Quantity. + 0..1 + Pricing Reference + Original + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Pricing Reference. Alternative Condition_ Price. Price + The price expressed in terms other than the actual price, e.g., the list price v. the contracted price, or the price in bags v. the price in kilos, or the list price in bags v. the contracted price in kilos. + 0..n + Pricing Reference + Alternative Condition + Price + Price + + + + + + + + + + + ABIE + Quotation Line. Details + Information about a Quotation Line. + Quotation Line + + + + + + + + + BBIE + Quotation Line. Identifier + Identifies the Quotation Line Item. + 0..1 + Quotation Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation Line. Note. Text + Free-form text applying to the Quotation Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Quotation Line + Note + Text + Text. Type + + + + + + + + + BBIE + Quotation Line. Quantity + The quantity of the item quoted. + 0..1 + Quotation Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Quotation Line. Line Extension Amount. Amount + The total amount for the Quotation Line, including Allowance Charges but net of taxes. + 0..1 + Quotation Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Quotation Line. Total_ Tax Amount. Amount + The total tax amount for the Quotation Line. + 0..1 + Quotation Line + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Quotation Line. Document Reference + An association to Document Reference. + 0..n + Quotation Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation Line. Line Item + An association to Line Item. + 1 + Quotation Line + Line Item + Line Item + + + + + + + + + ASBIE + Quotation Line. Seller Proposed Substitute_ Line Item. Line Item + An association to a proposed substitute Line Item. + 0..n + Quotation Line + Seller Proposed Substitute + Line Item + Line Item + + + + + + + + + + + ABIE + Rail Transport. Details + Describes a train. + Rail Transport + + + + + + + + + BBIE + Rail Transport. Train Identifier. Identifier + Identifies a train. + 1 + Rail Transport + Train Identifier + Identifier + Identifier. Type + Train Number (WCO ID 167) + + + + + + + + + BBIE + Rail Transport. Rail Car Identifier. Identifier + Identifies the rail car on the train used for the means of transport. + 0..1 + Rail Transport + Rail Car Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Receipt Line. Details + Information about a Receipt Line. + Receipt Line + + + + + + + + + BBIE + Receipt Line. Identifier + Identifies the Receipt Line. + 1 + Receipt Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Receipt Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Line. Note. Text + Free-form text applying to the Receipt Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Receipt Line + Note + Text + Text. Type + + + + + + + + + BBIE + Receipt Line. Received_ Quantity. Quantity + The quantity received. + 0..1 + Receipt Line + Received + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Short_ Quantity. Quantity + The quantity received short; the difference between the quantity reported despatched and the quantity actually received. + 0..1 + Receipt Line + Short + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Shortage Action Code. Code + The action that the Delivery Party wishes the Despatch Party to take as a result of the shortage, expressed as a code. + 0..1 + Receipt Line + Shortage Action Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Rejected_ Quantity. Quantity + The quantity rejected. + 0..1 + Receipt Line + Rejected + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Reject Reason Code. Code + The reason for rejection, expressed as a code. + 0..1 + Receipt Line + Reject Reason Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Reject_ Reason. Text + The reason for rejection. + 0..1 + Receipt Line + Reject + Reason + Text + Text. Type + + + + + + + + + BBIE + Receipt Line. Reject Action Code. Code + The action that the Delivery Party wishes the Despatch Party to take as a result of the rejection, expressed as a code. + 0..1 + Receipt Line + Reject Action Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Oversupply Quantity. Quantity + The quanitity over-supplied i.e. the quantity over and above that ordered. + 0..1 + Receipt Line + Oversupply Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Received_ Date. Date + The date on which the good/services are received. + 0..1 + Receipt Line + Received + Date + Date + Date. Type + + + + + + + + + BBIE + Receipt Line. Timing Complaint Code. Code + A complaint about the timing of delivery, expressed as a code. + 0..1 + Receipt Line + Timing Complaint Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Timing Complaint. Text + A complaint about the timing of delivery. + 0..1 + Receipt Line + Timing Complaint + Text + Text. Type + + + + + + + + + ASBIE + Receipt Line. Order Line Reference + An association to Order Line Reference. + 0..1 + Receipt Line + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Receipt Line. Despatch_ Line Reference. Line Reference + An associative reference to Despatch Line. + 0..n + Receipt Line + Despatch + Line Reference + Line Reference + + + + + + + + + ASBIE + Receipt Line. Document Reference + An association to Document Reference. + 0..n + Receipt Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Line. Item + An association to Item. + 0..n + Receipt Line + Item + Item + + + + + + + + + ASBIE + Receipt Line. Shipment + An association to Shipment. + 0..n + Receipt Line + Shipment + Shipment + + + + + + + + + + + ABIE + Related Item. Details + Information about the relationship between two items. + Related Item + + + + + + + + + BBIE + Related Item. Identifier + An identifier for the related item. + 0..1 + Related Item + Identifier + Identifier + Identifier. Type + "First", "Second" + + + + + + + + + BBIE + Related Item. Quantity + The quantity that applies to the relationship. + 0..1 + Related Item + Quantity + Quantity + Quantity. Type + "6", "10mg per Kilo" + + + + + + + + + BBIE + Related Item. Description. Text + A description for the relationship. + 0..n + Related Item + Description + Text + Text. Type + "If used in wet conditions or extreme environments" + + + + + + + + + + + ABIE + Reminder Line. Details + Information about a Line on a Reminder document. + Reminder Line + + + + + + + + + BBIE + Reminder Line. Identifier + Identifies the Reminder Line. + 1 + Reminder Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder Line. Note. Text + Free-form text applying to the Reminder Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Reminder Line + Note + Text + Text. Type + + + + + + + + + BBIE + Reminder Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Reminder Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder Line. Balance Brought Forward_ Indicator. Indicator + If true, indicates that the Remonder Line contains a balance brought forward. + 0..1 + Reminder Line + Balance Brought Forward + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Reminder Line. Debit_ Line Amount. Amount + The amount debited on the Reminder Line. + 0..1 + Reminder Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Credit_ Line Amount. Amount + The amount credited on the Reminder Line. + 0..1 + Reminder Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Accounting Cost Code. Code + The buyer's accounting code applied to the Reminder Line. + 0..1 + Reminder Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Reminder Line. Accounting Cost. Text + The buyer's accounting code applied to the Reminder Line, expressed as text. + 0..1 + Reminder Line + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Reminder Line. Reminder_ Period. Period + An association to Period. + 0..n + Reminder Line + Reminder + Period + Period + + + + + + + + + ASBIE + Reminder Line. Billing Reference + An association to Billing Reference + 0..n + Reminder Line + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Reminder Line. Exchange Rate + An association to Exchange Rate (between the Reminder Line Currency and the Related Document currency). + 0..1 + Reminder Line + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Remittance Advice Line. Details + Information about a Line on a Remittance Advice. + Remittance Advice Line + + + + + + + + + BBIE + Remittance Advice Line. Identifier + Identifies the Remittance Advice Line. + 1 + Remittance Advice Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice Line. Note. Text + Free-form text applying to the Remittance Advice Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Remittance Advice Line + Note + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Remittance Advice Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice Line. Debit_ Line Amount. Amount + The amount debited on the Remittance Advice Line. + 0..1 + Remittance Advice Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Credit_ Line Amount. Amount + The amount credited on the Remittance Advice Line. + 0..1 + Remittance Advice Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Balance Amount. Amount + The balance amount on the Remittance Advice Line. + 0..1 + Remittance Advice Line + Balance Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Remittance Advice Line. Accounting_ Supplier Party. Supplier Party + An association to Supplier Accounting Party. + 0..1 + Remittance Advice Line + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice Line. Accounting_ Customer Party. Customer Party + An association to Customer Accounting Party. + 0..1 + Remittance Advice Line + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Buyer_ Customer Party. Customer Party + An association to Buyer. + 0..1 + Remittance Advice Line + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Seller_ Supplier Party. Supplier Party + An association to Seller. + 0..1 + Remittance Advice Line + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice Line. Originator_ Customer Party. Customer Party + An association to Originator. + 0..1 + Remittance Advice Line + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Payee_ Party. Party + An association to Payee. + 0..1 + Remittance Advice Line + Payee + Party + Party + + + + + + + + + ASBIE + Remittance Advice Line. Invoice_ Period. Period + An association to Invoice Period. + 0..n + Remittance Advice Line + Invoice + Period + Period + + + + + + + + + ASBIE + Remittance Advice Line. Billing Reference + An association to Billing Reference. + 0..n + Remittance Advice Line + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Remittance Advice Line. Document Reference + An association to Document Reference. + 0..n + Remittance Advice Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Remittance Advice Line. Exchange Rate + An association to Exchange Rate (between the Remittance Advice Line currency and the Related Document currency). + 0..1 + Remittance Advice Line + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Request For Quotation Line. Details + Information about a Line on a Request For Quotation. + Request For Quotation Line + + + + + + + + + BBIE + Request For Quotation Line. Identifier + Identifies the Request For Quotation Line. + 0..1 + Request For Quotation Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Request For Quotation Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation Line. Note. Text + Free-form text applying to the Request For Quotation Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Request For Quotation Line + Note + Text + Text. Type + + + + + + + + + ASBIE + Request For Quotation Line. Document Reference + An association to Document Reference. + 0..n + Request For Quotation Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation Line. Line Item + An association to Line Item. + 1 + Request For Quotation Line + Line Item + Line Item + + + + + + + + + + + ABIE + Response. Details + Information about responses to a document (at the application level). + Response + + + + + + + + + BBIE + Response. Reference. Identifier + Identifies the section (or line) of the document to which the response applies. + 1 + Response + Reference + Identifier + Identifier. Type + + + + + + + + + BBIE + Response. Response Code. Code + A code for the description of the response to the transaction document. + 0..1 + Response + Response Code + Code + Code. Type + + + + + + + + + BBIE + Response. Description. Text + The description of the response to the transaction document. + 0..n + Response + Description + Text + Text. Type + + + + + + + + + + + ABIE + Road Transport. Details + Describes a road transport vehicle. + Road Transport + + + + + + + + + BBIE + Road Transport. License Plate Identifier. Identifier + Identifies a specific vehicle. + 1 + Road Transport + License Plate Identifier + Identifier + Identifier. Type + Vehicle registration number (WCO ID 167) + + + + + + + + + + + ABIE + Secondary Hazard. Details + Information about Secondary Hazard (related to a Hazardous Item). + Secondary Hazard + + + + + + + + + BBIE + Secondary Hazard. Identifier + Identifies the Secondary Hazard. + 0..1 + Secondary Hazard + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Secondary Hazard. Placard Notation. Text + The placard notation corresponding to the hazard class of the hazardous commodity. Can also be the hazard identification number of the orange placard (upper part) required on the means of transport. + 0..1 + Secondary Hazard + Placard Notation + Text + Text. Type + "5.1" + + + + + + + + + BBIE + Secondary Hazard. Placard Endorsement. Text + The placard endorsement that is to be shown on the shipping papers for the hazardous commodity. Can also be used for the number of the orange placard (lower part) required on the means of transport. + 0..1 + Secondary Hazard + Placard Endorsement + Text + Text. Type + "2" + + + + + + + + + BBIE + Secondary Hazard. Emergency Procedures Code. Code + Emergency procedures for hazardous goods, expressed as a code. + 0..1 + Secondary Hazard + Emergency Procedures Code + Code + Code. Type + EMG code, EMS Page Number + + + + + + + + + BBIE + Secondary Hazard. Extension. Text + Additional information about the hazardous substance. Can be used to specify information such as the type of regulatory requirements that apply to a description. + 0..1 + Secondary Hazard + Extension + Text + Text. Type + "N.O.S. or a Waste Characteristics Code in conjunction with an EPA Waste Stream code" + + + + + + + + + + + ABIE + Shipment. Details + Information about a shipment. + Shipment + Consignment + + + + + + + + + BBIE + Shipment. Identifier + Identifies a shipment. + 1 + Shipment + Identifier + Identifier + Identifier. Type + Waybill Number + + + + + + + + + BBIE + Shipment. Shipping Priority Level. Code + The priority or level of service required for a shipment, expressed as a code. + 0..1 + Shipment + Shipping Priority Level + Code + Code. Type + Service Level, Service Priority + + + + + + + + + BBIE + Shipment. Handling Code. Code + The handling required for a shipment, expressed as a code. + 0..1 + Shipment + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Shipment. Handling_ Instructions. Text + Free-form text describing Handling Instructions for a shipment. + 0..1 + Shipment + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Information. Text + Free-form text applying to a shipment. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Shipment + Information + Text + Text. Type + + + + + + + + + BBIE + Shipment. Gross_ Weight. Measure + The total gross weight of a shipment; the weight of the goods plus packaging plus transport equipment. + 0..1 + Shipment + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net_ Weight. Measure + The total net weight of a shipment; the weight of the goods plus packaging. + 0..1 + Shipment + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net Net_ Weight. Measure + The weight of the goods net of packaging and transport equipment. + 0..1 + Shipment + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Gross_ Volume. Measure + The total volume of the goods in a shipment plus packaging. + 0..1 + Shipment + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net_ Volume. Measure + The volume of a shipment net of packaging and transport equipment. + 0..1 + Shipment + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Total_ Goods Item Quantity. Quantity + Count of the total number of goods items within a shipment. + 0..1 + Shipment + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Shipment. Total_ Transport Handling Unit Quantity. Quantity + Count of the number of pieces of transport handling equipment in a shipment, such as pallets, boxes, and cases. + 0..1 + Shipment + Total + Transport Handling Unit Quantity + Quantity + Quantity. Type + Number of THUs + + + + + + + + + BBIE + Shipment. Insurance_ Value. Amount + The total sum covered by an insurance for the shipment. + 0..1 + Shipment + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Shipment. Declared Customs_ Value. Amount + Amount declared for customs purposes of those goods in a shipment which are subject to the same customs procedure, and have the same tariff/statistical heading, country information, and duty regime. + 0..1 + Shipment + Declared Customs + Value + Amount + Amount. Type + + + + + + + + + BBIE + Shipment. Declared For Carriage_ Value. Amount + Value, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Shipment + Declared For Carriage + Value + Amount + Amount. Type + Declared value for carriage, Interest in delivery + + + + + + + + + BBIE + Shipment. Declared Statistics_ Value. Amount + Value declared for statistical purposes of those goods in a consignment which have the same statistical heading. + 0..1 + Shipment + Declared Statistics + Value + Amount + Amount. Type + Statistical Value + + + + + + + + + BBIE + Shipment. Free On Board_ Value. Amount + Monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Shipment + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Shipment. Special_ Instructions. Text + Special instructions relating to a shipment. + 0..n + Shipment + Special + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Delivery_ Instructions. Text + Delivery instructions relating to a shipment. + 0..n + Shipment + Delivery + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Split Consignment_ Indicator. Indicator + Indicates whether the consignment has been split in transit. + 0..1 + Shipment + Split Consignment + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Shipment. Consignment + An association to Consignment covering the shipment. + 1 + Shipment + Consignment + Consignment + + + + + + + + + ASBIE + Shipment. Goods Item + An association to Goods Item (for Bulk Goods). + 0..n + Shipment + Goods Item + Goods Item + + + + + + + + + ASBIE + Shipment. Shipment Stage + An association to Shipment Stage. + 0..n + Shipment + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Shipment. Delivery + An association to Delivery. + 0..1 + Shipment + Delivery + Delivery + + + + + + + + + ASBIE + Shipment. Transport Handling Unit + An association to Transport Handling Unit used for loose and containerized goods. + 0..n + Shipment + Transport Handling Unit + Transport Handling Unit + + + + + + + + + ASBIE + Shipment. Origin_ Address. Address + An association to the region in which the goods have been produced or manufactured, according to criteria laid down for the purposes of application of the Customs tariff, or quantitative restrictions, or of any other measure related to trade. + 0..1 + Shipment + Origin + Address + Address + + + + + + + + + ASBIE + Shipment. First Arrival Port_ Location. Location + Identifies the first arrival location. This would be a port for sea, airport for air, and border post for land crossing. + 0..1 + Shipment + First Arrival Port + Location + Location + + + + + + + + + ASBIE + Shipment. Last Exit Port_ Location. Location + Identifies the final exporting location. This would be a port for sea, airport for air, and border post for land crossing. + 0..1 + Shipment + Last Exit Port + Location + Location + + + + + + + + + ASBIE + Shipment. Export_ Country. Country + Identifies the country from which the goods are originally exported without any commercial transaction taking place in intermediate countries. + 0..1 + Shipment + Export + Country + Country + + + + + + + + + ASBIE + Shipment. Freight_ Allowance Charge. Allowance Charge + Costs incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance (to the extent that they relate to the freight costs). + 0..n + Shipment + Freight + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Shipment Stage. Details + Information about a shipment stage. + Shipment Stage + + + + + + + + + BBIE + Shipment Stage. Identifier + Identifies a shipment stage. + 0..1 + Shipment Stage + Identifier + Identifier + Identifier. Type + "1","2", etc.. + + + + + + + + + BBIE + Shipment Stage. Transport Mode Code. Code + The method of transport used for a shipment stage. + 0..1 + Shipment Stage + Transport Mode Code + Code + Transport Mode_ Code. Type + + + + + + + + + BBIE + Shipment Stage. Transport Means Type Code. Code + The type of vehicle used for a shipment stage. + 0..1 + Shipment Stage + Transport Means Type Code + Code + Code. Type + + + + + + + + + BBIE + Shipment Stage. Transit_ Direction Code. Code + The direction of transit for a shipment stage. + 0..1 + Shipment Stage + Transit + Direction Code + Code + Code. Type + + + + + + + + + BBIE + Shipment Stage. Pre Carriage_ Indicator. Indicator + Indicates whether the stage is before the main carriage of the shipment. + 1 + Shipment Stage + Pre Carriage + Indicator + Indicator + Indicator. Type + Truck delivery to wharf + + + + + + + + + BBIE + Shipment Stage. On Carriage_ Indicator. Indicator + Indicates whether the stage is after the main carriage of the shipment. + 1 + Shipment Stage + On Carriage + Indicator + Indicator + Indicator. Type + Truck delivery from wharf + + + + + + + + + ASBIE + Shipment Stage. Transit_ Period. Period + An association to Transit Period. + 0..1 + Shipment Stage + Transit + Period + Period + + + + + + + + + ASBIE + Shipment Stage. Carrier_ Party. Party + An association to Carrier. + 0..n + Shipment Stage + Carrier + Party + Party + + + + + + + + + ASBIE + Shipment Stage. Transport Means + An association to the means of transport. + 0..1 + Shipment Stage + Transport Means + Transport Means + + + + + + + + + ASBIE + Shipment Stage. Loading Port_ Location. Location + An association to the port location of loading. + 0..1 + Shipment Stage + Loading Port + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Unloading Port_ Location. Location + An association to the port location of unloading. + 0..1 + Shipment Stage + Unloading Port + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Transship Port_ Location. Location + An association to the port location of transshipment. + 0..1 + Shipment Stage + Transship Port + Location + Location + + + + + + + + + + + ABIE + Signature. Details + Information about signature. A placeholder for signature. + Signature + + + + + + + + + BBIE + Signature. Identifier + An identifier for the Signature. + 1 + Signature + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature. Note. Text + Free form text about the signature or the circumstances where the signature has been used. + 0..1 + Signature + Note + Text + Text. Type + + + + + + + + + BBIE + Signature. Validation Date. Date + Specifies the date when the signature was approved. + 0..1 + Signature + Validation Date + Date + Date. Type + + + + + + + + + BBIE + Signature. Validation Time. Time + Specifies the time when the signature was approved. + 0..1 + Signature + Validation Time + Time + Time. Type + + + + + + + + + BBIE + Signature. Validator Identifier. Identifier + Identifies the organization, person, service or server that has validated the signature. + 0..1 + Signature + Validator Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature. Canonicalization Method. Text + The mathematical logic method used by the Signature. + 0..1 + Signature + Canonicalization Method + Text + Text. Type + + + + + + + + + BBIE + Signature. Signature Method. Text + The method of signature. + 0..1 + Signature + Signature Method + Text + Text. Type + + + + + + + + + ASBIE + Signature. Signatory_ Party. Party + An association to the signing Party. + 1 + Signature + Signatory + Party + Party + + + + + + + + + ASBIE + Signature. Digital Signature_ Attachment. Attachment + Refers to the actual encoded signature (e.g., in XMLDSIG format). + 0..1 + Signature + Digital Signature + Attachment + Attachment + + + + + + + + + ASBIE + Signature. Original_ Document Reference. Document Reference + A reference to the actual document that the signature applies to. For evidentiary purposes, this may be the document image that the signatory party saw when applying their signature. + 0..1 + Signature + Original + Document Reference + Document Reference + + + + + + + + + + + ABIE + Statement Line. Details + Information about a Line on a Statement of Account. + Statement Line + + + + + + + + + BBIE + Statement Line. Identifier + Identifies the Statement Line. + 1 + Statement Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement Line. Note. Text + Free-form text applying to the Statement Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Statement Line + Note + Text + Text. Type + + + + + + + + + BBIE + Statement Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Statement Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement Line. Balance Brought Forward_ Indicator. Indicator + If true, indicates that the Statement Line contains a balance brought forward. + 0..1 + Statement Line + Balance Brought Forward + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Statement Line. Debit_ Line Amount. Amount + The amount debited on the Statement Line. + 0..1 + Statement Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Credit_ Line Amount. Amount + The amount credited on the Statement Line. + 0..1 + Statement Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Balance Amount. Amount + The balance amount on the Statement Line. + 0..1 + Statement Line + Balance Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Statement Line. Payment Means + An association to Payment Means. + 0..1 + Statement Line + Payment Means + Payment Means + + + + + + + + + ASBIE + Statement Line. Payment Terms + An association to Payment Terms. + 0..n + Statement Line + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Statement Line. Buyer_ Customer Party. Customer Party + An association to Buyer. + 0..1 + Statement Line + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Seller_ Supplier Party. Supplier Party + An association to Seller. + 0..1 + Statement Line + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement Line. Originator_ Customer Party. Customer Party + An association to Originator. + 0..1 + Statement Line + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Accounting_ Customer Party. Customer Party + An association to Accounting Customer Party. + 0..1 + Statement Line + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Accounting_ Supplier Party. Supplier Party + An association to Accounting Supplier Party. + 0..1 + Statement Line + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement Line. Payee_ Party. Party + An association to Payee. + 0..1 + Statement Line + Payee + Party + Party + + + + + + + + + ASBIE + Statement Line. Invoice_ Period. Period + An association to Invoice Period. + 0..n + Statement Line + Invoice + Period + Period + + + + + + + + + ASBIE + Statement Line. Billing Reference + An association to Billing Reference. + 0..n + Statement Line + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Statement Line. Document Reference + An association to Document Reference. + 0..n + Statement Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Statement Line. Exchange Rate + An association to Exchange Rate (between the Statement Line currency and the Related Document Currency). + 0..1 + Statement Line + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Status. Details + The information relevant to a condition or a position of an object. + Status + + + + + + + + + BBIE + Status. Condition Code. Code + A code specifying the status condition of the related object. + 0..1 + Status + Condition Code + Code + Transportation Status_ Code. Type + UN/ECE Rec 24 + + + + + + + + + BBIE + Status. Reference_ Date. Date + A reference date value for this status. + 0..1 + Status + Reference + Date + Date + Date. Type + + + + + + + + + BBIE + Status. Reference_ Time. Time + A reference time value for this status. + 0..1 + Status + Reference + Time + Time + Time. Type + + + + + + + + + BBIE + Status. Description. Text + A textual description of this status. + 0..1 + Status + Description + Text + Text. Type + + + + + + + + + BBIE + Status. Status Reason Code. Code + A code specifying a reason for a status condition. + 0..1 + Status + Status Reason Code + Code + Code. Type + + + + + + + + + BBIE + Status. Status_ Reason. Text + The reason, expressed as text, for this status condition or position. + 0..1 + Status + Status + Reason + Text + Text. Type + + + + + + + + + BBIE + Status. Sequence. Identifier + A unique identifier of the sequence of this status. + 0..1 + Status + Sequence + Identifier + Identifier. Type + + + + + + + + + BBIE + Status. Text + Provides any textual information related to this status. + 0..1 + Status + Text + Text + Text. Type + + + + + + + + + BBIE + Status. Indication_ Indicator. Indicator + Specifies an indicator relevant to a specific status. + 0..1 + Status + Indication + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Status. Percent + Specifies a percentage relevant to a specific status. + 0..1 + Status + Percent + Percent + Percent. Type + + + + + + + + + + + ABIE + Stowage. Details + A location on board a means of transport where specified goods or transport equipment have been or are to be stowed. + Stowage + + + + + + + + + BBIE + Stowage. Location Identifier. Identifier + Identifies a location on board a means of transport where specified goods or transport equipment have been or are to be stowed. + 0..1 + Stowage + Location Identifier + Identifier + Identifier. Type + Cell Location, coded + + + + + + + + + BBIE + Stowage. Location. Text + Describes a location on board a means of transport where specified goods or transport equipment have been or are to be stowed. + 0..n + Stowage + Location + Text + Text. Type + Cell Location + + + + + + + + + ASBIE + Stowage. Measurement_ Dimension. Dimension + Associates any measurements (including lengths, mass, and volume) for this stowage. + 0..n + Stowage + Measurement + Dimension + Dimension + + + + + + + + + + + ABIE + Supplier Party. Details + Information about the Supplier Party. + Supplier Party + + + + + + + + + BBIE + Supplier Party. Customer Assigned_ Account Identifier. Identifier + The customer's internal identifier for the supplier. + 0..1 + Supplier Party + Customer Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Supplier Party. Additional_ Account Identifier. Identifier + The customer's internal identifier for the supplier. + 0..n + Supplier Party + Additional + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Supplier Party. Data Sending Capability. Text + Capability to send invoice data via the purchase card provider (VISA/MasterCard/American Express). + 0..1 + Supplier Party + Data Sending Capability + Text + Text. Type + The customer's internal identifier for the supplier. + + + + + + + + + ASBIE + Supplier Party. Party + An association to Party. + 0..1 + Supplier Party + Party + Party + + + + + + + + + ASBIE + Supplier Party. Despatch_ Contact. Contact + An association to Despatch Contact. + 0..1 + Supplier Party + Despatch + Contact + Contact + + + + + + + + + ASBIE + Supplier Party. Accounting_ Contact. Contact + An association to Supplier Accounting Contact. + 0..1 + Supplier Party + Accounting + Contact + Contact + + + + + + + + + ASBIE + Supplier Party. Seller_ Contact. Contact + An association to Seller. + 0..1 + Supplier Party + Seller + Contact + Contact + + + + + + + + + + + ABIE + Tax Category. Details + Information about a tax category. + Tax Category + + + + + + + + + BBIE + Tax Category. Identifier + Identifies the tax category. + 0..1 + Tax Category + Identifier + Identifier + Identifier. Type + "ZeroRatedGoods" "NotTaxable" "Standard Rate" + + + + + + + + + BBIE + Tax Category. Name + The name of the tax category. + 0..1 + Tax Category + Name + Name + Name. Type + "Luxury Goods","Wine Equalization", "Exempt" + + + + + + + + + BBIE + Tax Category. Percent + The tax rate for the category, expressed as a percentage. + 0..1 + Tax Category + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Tax Category. Base Unit Measure. Measure + Where a tax is applied at a certain rate per unit, the measure of units on which the tax calculation is based. + 0..1 + Tax Category + Base Unit Measure + Measure + Measure. Type + + + + + + + + + BBIE + Tax Category. Per Unit_ Amount. Amount + Where a tax is applied at a certain rate per unit, the rate per unit applied. + 0..1 + Tax Category + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Category. Tax Exemption Reason Code. Code + The reason for tax being exempted expressed as a code. + 0..1 + Tax Category + Tax Exemption Reason Code + Code + Code. Type + + + + + + + + + BBIE + Tax Category. Tax Exemption Reason. Text + The reason for tax being exempted. + 0..1 + Tax Category + Tax Exemption Reason + Text + Text. Type + + + + + + + + + BBIE + Tax Category. Tier Range. Text + Where a tax is tiered, the range of tiers applied in the calculation of the tax subtotal for the tax category. + 0..1 + Tax Category + Tier Range + Text + Text. Type + + + + + + + + + BBIE + Tax Category. Tier Rate. Percent + Where a tax is tiered, the rate of tax applied to the range of tiers in the calculation of the tax subtotal for the tax category. + 0..1 + Tax Category + Tier Rate + Percent + Percent. Type + + + + + + + + + ASBIE + Tax Category. Tax Scheme + An association to Tax Scheme. + 1 + Tax Category + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Tax Scheme. Details + Information about a tax scheme. + Tax Scheme + + + + + + + + + BBIE + Tax Scheme. Identifier + Identifies the tax scheme. + 0..1 + Tax Scheme + Identifier + Identifier + Identifier. Type + "VAT", "GST" + + + + + + + + + BBIE + Tax Scheme. Name + The name of the tax scheme. + 0..1 + Tax Scheme + Name + Name + Name. Type + "Value Added Tax", "Wholesale Tax", "Sales Tax", "State Tax" + + + + + + + + + BBIE + Tax Scheme. Tax Type Code. Code + An identifier for the tax type. + 0..1 + Tax Scheme + Tax Type Code + Code + Code. Type + "Consumption", "Sales" + + + + + + + + + BBIE + Tax Scheme. Currency Code. Code + The currency in which the tax is collected and reported, expressed as a code. + 0..1 + Tax Scheme + Currency Code + Code + Currency_ Code. Type + + + + + + + + + ASBIE + Tax Scheme. Jurisdiction Region_ Address. Address + An association with Address (of taxation jurisdiction). + 0..n + Tax Scheme + Jurisdiction Region + Address + Address + + + + + + + + + + + ABIE + Tax Subtotal. Details + Information about the subtotal for a particular tax category within a tax scheme, such as standard rate within VAT. + Tax Subtotal + + + + + + + + + BBIE + Tax Subtotal. Taxable_ Amount. Amount + The net amount to which the tax percent (rate) is applied to calculate the tax amount. + 0..1 + Tax Subtotal + Taxable + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Tax Amount. Amount + The amount of tax stated explicitly. + 1 + Tax Subtotal + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Calculation Sequence. Numeric + Identifies the numerical order sequence in which taxes are applied when multiple taxes are attracted. If all taxes apply to the same taxable amount, CalculationSequenceNumeric will be '1' for all taxes. + 0..1 + Tax Subtotal + Calculation Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Tax Subtotal. Transaction Currency_ Tax Amount. Amount + The tax amount, expressed in the currency used for invoicing. + 0..1 + Tax Subtotal + Transaction Currency + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Percent + The tax rate for the category, expressed as a percentage. + 0..1 + Tax Subtotal + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Tax Subtotal. Base Unit Measure. Measure + Where a tax is applied at a certain rate per unit, the measure of units on which the tax calculation is based. + 0..1 + Tax Subtotal + Base Unit Measure + Measure + Measure. Type + + + + + + + + + BBIE + Tax Subtotal. Per Unit_ Amount. Amount + Where a tax is applied at a certain rate per unit, the rate per unit applied. + 0..1 + Tax Subtotal + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Tier Range. Text + Where a tax is tiered, the range of tiers applied in the calculation of the tax subtotal for the tax category. + 0..1 + Tax Subtotal + Tier Range + Text + Text. Type + + + + + + + + + BBIE + Tax Subtotal. Tier Rate. Percent + Where a tax is tiered, the rate of tax applied to the range of tiers in the calculation of the tax subtotal for the tax category. + 0..1 + Tax Subtotal + Tier Rate + Percent + Percent. Type + + + + + + + + + ASBIE + Tax Subtotal. Tax Category + An association to Tax Category. + 1 + Tax Subtotal + Tax Category + Tax Category + + + + + + + + + + + ABIE + Tax Total. Details + Information about a total amount of a particular type of tax. + Tax Total + + + + + + + + + BBIE + Tax Total. Tax Amount. Amount + The total tax amount for particular tax scheme e.g. VAT; the sum of each of the tax subtotals for each tax category within the tax scheme. + 1 + Tax Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Total. Rounding Amount. Amount + The rounding amount (positive or negative) added to the calculated tax total to produce the rounded TotalTaxAmount. + 0..1 + Tax Total + Rounding Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Total. Tax Evidence_ Indicator. Indicator + An indicator as to whether these totals are recognized as legal evidence for taxation purposes. + 0..1 + Tax Total + Tax Evidence + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + ASBIE + Tax Total. Tax Subtotal + An association to Tax Subtotal. + 0..n + Tax Total + Tax Subtotal + Tax Subtotal + + + + + + + + + + + ABIE + Temperature. Details + Information about temperature. + Temperature + + + + + + + + + BBIE + Temperature. Attribute Identifier. Identifier + An identifier for temperature. + 1 + Temperature + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Temperature. Measure + The temperature measurement value. + 1 + Temperature + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Temperature. Description. Text + A description of the temperature measurement. + 0..n + Temperature + Description + Text + Text. Type + "at sea level" + + + + + + + + + + + ABIE + Trading Terms. Details + Information about the terms of a trade agreement. + Trading Terms + + + + + + + + + BBIE + Trading Terms. Information. Text + The terms in text. + 0..n + Trading Terms + Information + Text + Text. Type + "Unless credit terms have been expressly agreed by Dell, payment for the products or services shall be made in full before physical delivery of products or services. Customer shall pay for all shipping and handling charges." + + + + + + + + + BBIE + Trading Terms. Reference. Text + A reference to the terms. + 0..1 + Trading Terms + Reference + Text + Text. Type + http://www1.ap.dell.com/content/topics/topic.aspx/ap/policy/en/au/sales_terms_au?c=au&l=en&s=gen + + + + + + + + + ASBIE + Trading Terms. Applicable_ Address. Address + An association to Address. + 0..1 + Trading Terms + Applicable + Address + Address + + + + + + + + + + + ABIE + Transaction Conditions. Details + Information about purchasing, sales, or payment conditions. + Transaction Conditions + Payment Conditions, Sales Conditions + + + + + + + + + BBIE + Transaction Conditions. Identifier + Identifies conditions of the transaction, typically Purchase/Sales Conditions. + 0..1 + Transaction Conditions + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transaction Conditions. Action Code. Code + An action relating to sales or payment conditions, expressed as a code. + 0..1 + Transaction Conditions + Action Code + Code + Code. Type + + + + + + + + + BBIE + Transaction Conditions. Description. Text + The description of the transaction conditions. + 0..n + Transaction Conditions + Description + Text + Text. Type + + + + + + + + + ASBIE + Transaction Conditions. Document Reference + An association to Document Reference. + 0..n + Transaction Conditions + Document Reference + Document Reference + + + + + + + + + + + ABIE + Transportation Service. Details + Transport service details. + Transportation Service + + + + + + + + + BBIE + Transportation Service. Transport Service Code. Code + A code which describes the general type of service required for the transportation of goods. Specifically, it identifies the extent of the transportation service, e.g., door-to-door, port-to-port. + 1 + Transportation Service + Transport Service Code + Code + Code. Type + + + + + + + + + BBIE + Transportation Service. Tariff Class Code. Code + Specification of a tariff class applicable to a transportation service. + 0..1 + Transportation Service + Tariff Class Code + Code + Code. Type + Tariff Class Specifier + + + + + + + + + BBIE + Transportation Service. Priority. Text + Statement indicating priority of requested transportation service. + 0..1 + Transportation Service + Priority + Text + Text. Type + + + + + + + + + BBIE + Transportation Service. Freight Rate Class Code. Code + Code to indicate applicable rate class for freight. + 0..1 + Transportation Service + Freight Rate Class Code + Code + Code. Type + Charge Basis + + + + + + + + + + + ABIE + Transport Equipment. Details + Information about Transport Equipment; a piece of equipment used to transport goods. + Transport Equipment + Shipping Container, Sea Container, Rail Wagon, Pallet, Trailer, Unit Load Device, ULD + + + + + + + + + BBIE + Transport Equipment. Identifier + Identifies the transport equipment. + 0..1 + Transport Equipment + Identifier + Identifier + Identifier. Type + "OCLU 1234567" + + + + + + + + + BBIE + Transport Equipment. Transport Equipment Type Code. Code + Identifies the type of provider of the transport equipment. + 0..1 + Transport Equipment + Transport Equipment Type Code + Code + Transport Equipment Type_ Code. Type + + + + + + + + + BBIE + Transport Equipment. Provider Type Code. Code + Identifies the type of provider of the transport equipment. + 0..1 + Transport Equipment + Provider Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Owner Type Code. Code + Identifies the type of owner of a piece of transport equipment. + 0..1 + Transport Equipment + Owner Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Size Type Code. Code + The size and type of a piece of transport equipment, expressed as a code. When the transport equipment is a shipping container, it is recommended to use ContainerSizeTypeCode for validation. + 0..1 + Transport Equipment + Size Type Code + Code + Code. Type + Container Size Type Code + + + + + + + + + BBIE + Transport Equipment. Disposition Code. Code + The current disposition of the transport equipment, expressed as a code. + 0..1 + Transport Equipment + Disposition Code + Code + Code. Type + Status + + + + + + + + + BBIE + Transport Equipment. Fullness Indication Code. Code + A code indicating whether a piece of transport equipment is full, partially full, or empty. + 0..1 + Transport Equipment + Fullness Indication Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Refrigeration On_ Indicator. Indicator + Indicates whether the transport equipment's refrigeration is on (true) or off (false). + 0..1 + Transport Equipment + Refrigeration On + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Information. Text + Additional information about the transport equipment. + 0..1 + Transport Equipment + Information + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Returnability_ Indicator. Indicator + Indicates whether a particular item of transport equipment is returnable. + 0..1 + Transport Equipment + Returnability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Legal Status_ Indicator. Indicator + Legal status of the transport equipment with respect to the Container Convention code. + 0..1 + Transport Equipment + Legal Status + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Transport Equipment. Measurement_ Dimension. Dimension + An association to Dimension. + 0..n + Transport Equipment + Measurement + Dimension + Dimension + + + + + + + + + ASBIE + Transport Equipment. Transport Equipment Seal + An association to Transport Equipment Seal. + 0..n + Transport Equipment + Transport Equipment Seal + Transport Equipment Seal + + + + + + + + + ASBIE + Transport Equipment. Minimum_ Temperature. Temperature + The minimum required operating temperature for the container (reefer). + 0..1 + Transport Equipment + Minimum + Temperature + Temperature + + + + + + + + + ASBIE + Transport Equipment. Maximum_ Temperature. Temperature + The maximum required operating temperature for the container (reefer). + 0..1 + Transport Equipment + Maximum + Temperature + Temperature + + + + + + + + + ASBIE + Transport Equipment. Provider_ Party. Party + The party that provides the transport equipment. + 0..1 + Transport Equipment + Provider + Party + Party + + + + + + + + + ASBIE + Transport Equipment. Loading Proof_ Party. Party + The authorized party responsible for certifying that the goods were loaded into the transport equipment. + 0..1 + Transport Equipment + Loading Proof + Party + Party + + + + + + + + + ASBIE + Transport Equipment. Loading_ Location. Location + Identifies the location where the goods are loaded into the transport equipment. + 0..1 + Transport Equipment + Loading + Location + Location + + + + + + + + + + + ABIE + Transport Equipment Seal. Details + Information about a transport equipment seal (a security device attached to the doors of a shipping container). + Transport Equipment Seal + Container Seal + + + + + + + + + BBIE + Transport Equipment Seal. Identifier + Identifies the seal. + 1 + Transport Equipment Seal + Identifier + Identifier + Identifier. Type + "ACS1234" + + + + + + + + + BBIE + Transport Equipment Seal. Seal Issuer Type Code. Code + The type of party that issues and is responsible for a seal, expressed as a code. + 0..1 + Transport Equipment Seal + Seal Issuer Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment Seal. Condition. Text + Information about the condition of a seal. + 0..1 + Transport Equipment Seal + Condition + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment Seal. Seal Status Code. Code + The status of a seal, expressed as a code. + 0..1 + Transport Equipment Seal + Seal Status Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment Seal. Sealing Party Type. Text + Textual description of the role of a sealing party. + 0..1 + Transport Equipment Seal + Sealing Party Type + Text + Text. Type + Sealing Party + + + + + + + + + + + ABIE + Transport Event. Details + A significant occurrence or happening related to the transportation of goods. + Transport Event + + + + + + + + + BBIE + Transport Event. Identification. Identifier + An identifier for the event. + 0..1 + Transport Event + Identification + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Event. Occurrence Date. Date + The date of an occurrence of the event. + 0..1 + Transport Event + Occurrence Date + Date + Date. Type + + + + + + + + + BBIE + Transport Event. Occurrence Time. Time + The time of an occurrence of the event. + 0..1 + Transport Event + Occurrence Time + Time + Time. Type + + + + + + + + + BBIE + Transport Event. Transport Event Type Code. Code + A code specifying the type of event. + 0..1 + Transport Event + Transport Event Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Event. Description. Text + A textual description of the event. + 0..1 + Transport Event + Description + Text + Text. Type + + + + + + + + + BBIE + Transport Event. Completion_ Indicator. Indicator + Indicates if this event is completed. + 0..1 + Transport Event + Completion + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Transport Event. Reported_ Shipment. Shipment + Information about the separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport. + 0..1 + Transport Event + Reported + Shipment + Shipment + + + + + + + + + ASBIE + Transport Event. Current_ Status. Status + The status of the event. + 1..n + Transport Event + Current + Status + Status + + + + + + + + + ASBIE + Transport Event. Contact + Any contacts for the event. + 0..n + Transport Event + Contact + Contact + + + + + + + + + + + ABIE + Transport Handling Unit. Details + A uniquely identifiable physical unit consisting of one or more packages (not necessarily containing the same articles) for enabling physical handling during the transport process. + Transport Handling Unit + Logistics Unit, Handling Unit, THU + + + + + + + + + BBIE + Transport Handling Unit. Identifier + Identifies the transport handling unit. + 0..1 + Transport Handling Unit + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Handling Unit. Transport Handling Unit Type Code. Code + The type of transport handling unit, expressed as a code. + 0..1 + Transport Handling Unit + Transport Handling Unit Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Handling Unit. Handling Code. Code + The handling required for a shipment, expressed as a code. + 0..1 + Transport Handling Unit + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Transport Handling Unit. Handling_ Instructions. Text + Free-form text describing handling instructions for a shipment. + 0..1 + Transport Handling Unit + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Transport Handling Unit. Hazardous Risk_ Indicator. Indicator + Indicates whether the shipment contains hazardous materials. + 0..1 + Transport Handling Unit + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Transport Handling Unit. Total_ Goods Item Quantity. Quantity + The total number of goods items in the transport handling unit. + 0..1 + Transport Handling Unit + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Transport Handling Unit. Total_ Package Quantity. Quantity + The total number of packages in the transport handling unit. + 0..1 + Transport Handling Unit + Total + Package Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Transport Handling Unit. Damage_ Remarks. Text + Description of a type of damage. + 0..n + Transport Handling Unit + Damage + Remarks + Text + Text. Type + + + + + + + + + BBIE + Transport Handling Unit. Shipping_ Marks. Text + Free-form description of the marks and numbers on a transport unit or package. + 0..n + Transport Handling Unit + Shipping + Marks + Text + Text. Type + Marks and Numbers, Shipping Marks + + + + + + + + + ASBIE + Transport Handling Unit. Handling Unit_ Despatch Line. Despatch Line + An association to Handling Unit Despatch Line. + 0..n + Transport Handling Unit + Handling Unit + Despatch Line + Despatch Line + + + + + + + + + ASBIE + Transport Handling Unit. Actual_ Package. Package + An association to Actual Package. + 0..n + Transport Handling Unit + Actual + Package + Package + + + + + + + + + ASBIE + Transport Handling Unit. Received Handling Unit_ Receipt Line. Receipt Line + An association to Receipt Line. + 0..n + Transport Handling Unit + Received Handling Unit + Receipt Line + Receipt Line + + + + + + + + + ASBIE + Transport Handling Unit. Transport Equipment + An association to Transport Equipment. + 0..n + Transport Handling Unit + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transport Handling Unit. Hazardous Goods Transit + An association to information about the transportation of hazardous goods. + 0..n + Transport Handling Unit + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Transport Handling Unit. Measurement_ Dimension. Dimension + An association to Dimension. + 0..n + Transport Handling Unit + Measurement + Dimension + Dimension + + + + + + + + + ASBIE + Transport Handling Unit. Minimum_ Temperature. Temperature + The minimum required operating temperature. + 0..1 + Transport Handling Unit + Minimum + Temperature + Temperature + + + + + + + + + ASBIE + Transport Handling Unit. Maximum_ Temperature. Temperature + The maximum required operating temperature. + 0..1 + Transport Handling Unit + Maximum + Temperature + Temperature + + + + + + + + + + + ABIE + Transport Means. Details + The particular vehicle used for the transport of goods or persons. + Transport Means + Conveyance + + + + + + + + + BBIE + Transport Means. Journey Identifier. Identifier + An identifier assigned to a regularly scheduled service of a means of transport. + 0..1 + Transport Means + Journey Identifier + Identifier + Identifier. Type + Voyage Number, Scheduled Conveyance Identifier (WCO ID 205), Flight Number + + + + + + + + + BBIE + Transport Means. Registration_ Nationality Identifier. Identifier + Formal identification of the country in which a means of transport is registered. + 0..1 + Transport Means + Registration + Nationality Identifier + Identifier + Identifier. Type + Nationality of Means of Transport (WCO 175, 178 and 179) + "LIB" + + + + + + + + + BBIE + Transport Means. Registration_ Nationality. Text + Name of the country in which a means of transport is registered. + 0..n + Transport Means + Registration + Nationality + Text + Text. Type + Flag of Vessel, Nationality of Ship + Liberia + + + + + + + + + BBIE + Transport Means. Direction Code. Code + The direction of the transport means. + 0..1 + Transport Means + Direction Code + Code + Code. Type + Transit Direction + "North","East" + + + + + + + + + ASBIE + Transport Means. Stowage + Association to a location on board a means of transport where specified goods or transport equipment have been or are to be stowed. + 0..1 + Transport Means + Stowage + Stowage + + + + + + + + + ASBIE + Transport Means. Air Transport + Association to identify an aircraft. + 0..1 + Transport Means + Air Transport + Air Transport + + + + + + + + + ASBIE + Transport Means. Road Transport + Association to identify a road vehicle. + 0..1 + Transport Means + Road Transport + Road Transport + + + + + + + + + ASBIE + Transport Means. Rail Transport + Association to identify a train. + 0..1 + Transport Means + Rail Transport + Rail Transport + + + + + + + + + ASBIE + Transport Means. Maritime Transport + Association to identify a ship. + 0..1 + Transport Means + Maritime Transport + Maritime Transport + + + + + + + + + ASBIE + Transport Means. Owner_ Party. Party + Association to the party owning the means of transport. + 0..1 + Transport Means + Owner + Party + Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonBasicComponents-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonBasicComponents-2.0.xsd new file mode 100644 index 0000000..b574967 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonBasicComponents-2.0.xsd @@ -0,0 +1,2922 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonExtensionComponents-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonExtensionComponents-2.0.xsd new file mode 100644 index 0000000..0fac3b4 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonExtensionComponents-2.0.xsd @@ -0,0 +1,240 @@ + + + + + + + + + + + + + + + A container for all extensions present in the document. + + + + + + + A container for all extensions present in the document. + + + + + + + A single extension for private use. + + + + + + + + + A single extension for private use. + + + + + + + A single extension for private use. + + + + + + + + BBIE + Extension. Identifier + + An identifier for the Extension assigned by the creator of the extension. + 0..1 + Extension + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Extension. Name + + A name for the Extension assigned by the creator of the extension. + 0..1 + Extension + Name + Name + Name. Type + + + + + + + + An agency that maintains one or more Extensions. + + + + + + + The name of the agency that maintains the Extension. + + + + + + + The version of the Extension. + + + + + + + A URI for the Agency that maintains the Extension. + + + + + + + A URI for the Extension. + + + + + + + A code for reason the Extension is being included. + + + + + + + A description of the reason for the Extension. + + + + + + + The definition of the extension content. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CoreComponentParameters-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CoreComponentParameters-2.0.xsd new file mode 100644 index 0000000..0b9e56f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CoreComponentParameters-2.0.xsd @@ -0,0 +1,64 @@ + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-ExtensionContentDatatype-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-ExtensionContentDatatype-2.0.xsd new file mode 100644 index 0000000..6944f0b --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-ExtensionContentDatatype-2.0.xsd @@ -0,0 +1,73 @@ + + + + + + + + + + + + The definition of the extension content. + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-QualifiedDatatypes-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-QualifiedDatatypes-2.0.xsd new file mode 100644 index 0000000..7a61f87 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UBL-QualifiedDatatypes-2.0.xsd @@ -0,0 +1,1955 @@ + + + + + + + + + + + + Allowance Charge Reason_ Code. Type + 2.0 + The set of possible reasons for an allowance or charge. + Code + Allowance Charge Reason + + Used under the terms of the UNECE policy stated at http://www.unece.org/ece_legal.htm. + + + + + + + + + Allowance Charge Reason_ Code List. Identifier + + String + + + + + + + Allowance Charge Reason_ Code List. Agency. Identifier + Defaults to the UN/EDIFACT data element 3055 code list. + String + + + + + + + Allowance Charge Reason_ Code List. Agency Name. Text + + String + + + + + + + Allowance Charge Reason_ Code List. Name. Text + + String + + + + + + + Allowance Charge Reason_ Code List. Version. Identifier + Identifies the Directory of the UN/EDIFACT code list. + String + + + + + + + Allowance Charge Reason_ Code. Name. Text + + String + + + + + + + Allowance Charge Reason_ Language. Identifier + + String + + + + + + + Allowance Charge Reason_ Code List. Uniform Resource. Identifier + + String + + + + + + + Allowance Charge Reason_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Channel_ Code. Type + 2.0 + The set of possible ways in which communication can be made (eg. Phone, email, etc). + Code + Channel + + Used under the terms of the UNECE policy stated at http://www.unece.org/ece_legal.htm. + + + + + + + + + Channel_ Code List. Identifier + + String + + + + + + + Channel_ Code List. Agency. Identifier + Defaults to the UN/EDIFACT data element 3055 code list. + String + + + + + + + Channel_ Code List. Agency Name. Text + + String + + + + + + + Channel_ Code List. Name. Text + + String + + + + + + + Channel_ Code List. Version. Identifier + Identifies the Directory of the UN/EDIFACT code list. + String + + + + + + + Channel_ Code. Name. Text + + String + + + + + + + Channel_ Language. Identifier + + String + + + + + + + Channel_ Code List. Uniform Resource. Identifier + + String + + + + + + + Channel_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Chip_ Code. Type + 2.0 + Distinction between CHIP and MAG STRIPE cards + Code + Chip + + + + + + + + + + Chip_ Code List. Identifier + + String + + + + + + + Chip_ Code List. Agency. Identifier + + String + + + + + + + Chip_ Code List. Agency Name. Text + + String + + + + + + + Chip_ Code List. Name. Text + + String + + + + + + + Chip_ Code List. Version. Identifier + + String + + + + + + + Chip_ Code. Name. Text + + String + + + + + + + Chip_ Language. Identifier + + String + + + + + + + Chip_ Code List. Uniform Resource. Identifier + + String + + + + + + + Chip_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Container Size Type_ Code. Type + 2.0 + The set of code values for classifying series 1 freight containers based on external dimensions and specifies the assoziated ratings and, where appropriate, the minimum internal and door opening dimensions for certain types of containers. + Code + Container Size Type + + + + + + + + + + Container Size Type_ Code List. Identifier + + String + + + + + + + Container Size Type_ Code List. Agency. Identifier + + String + + + + + + + Container Size Type_ Code List. Agency Name. Text + + String + + + + + + + Container Size Type_ Code List. Name. Text + + String + + + + + + + Container Size Type_ Code List. Version. Identifier + + String + + + + + + + Container Size Type_ Code. Name. Text + + String + + + + + + + Container Size Type_ Language. Identifier + + String + + + + + + + Container Size Type_ Code List. Uniform Resource. Identifier + + String + + + + + + + Container Size Type_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Country Identification_ Code. Type + 2.0 + The set of countries of the world. + Code + Country Identification + + Derived from the ISO 3166-1-alpha-2 code elements used under the terms of the ISO policy stated at http://www.iso.org/iso/en/commcentre/pressreleases/2003/Ref871.html. + + + + + + + + + Country Identification_ Code List. Identifier + + String + + + + + + + Country Identification_ Code List. Agency. Identifier + Defaults to the UN/ECE rec 3 (Code for the Representation of Names of Countries) + String + + + + + + + Country Identification_ Code List. Agency Name. Text + + String + + + + + + + Country Identification_ Code List. Name. Text + + String + + + + + + + Country Identification_ Code List. Version. Identifier + + String + + + + + + + Country Identification_ Code. Name. Text + + String + + + + + + + Country Identification_ Language. Identifier + + String + + + + + + + Country Identification_ Code List. Uniform Resource. Identifier + + String + + + + + + + Country Identification_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Currency_ Code. Type + 2.0 + The set of world currencies. + Code + Currency + + Derived from the ISO 4217 currency code list and used under the terms of the ISO policy stated at +http://www.iso.org/iso/en/commcentre/pressreleases/2003/Ref871.html + + + + + + + + + Currency_ Code List. Identifier + + String + + + + + + + Currency_ Code List. Agency. Identifier + Defaults to the UN/EDIFACT data element 3055 code list. + String + + + + + + + Currency_ Code List. Agency Name. Text + + String + + + + + + + Currency_ Code List. Name. Text + + String + + + + + + + Currency_ Code List. Version. Identifier + + String + + + + + + + Currency_ Code. Name. Text + + String + + + + + + + Currency_ Language. Identifier + + String + + + + + + + Currency_ Code List. Uniform Resource. Identifier + + String + + + + + + + Currency_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Document Status_ Code. Type + 2.0 + The set of possible statuses of a document with regard to its original state. + Code + Document Status + + + + + + + + + + Document Status_ Code List. Identifier + + String + + + + + + + Document Status_ Code List. Agency. Identifier + + String + + + + + + + Document Status_ Code List. Agency Name. Text + + String + + + + + + + Document Status_ Code List. Name. Text + + String + + + + + + + Document Status_ Code List. Version. Identifier + + String + + + + + + + Document Status_ Code. Name. Text + + String + + + + + + + Document Status_ Language. Identifier + + String + + + + + + + Document Status_ Code List. Uniform Resource. Identifier + + String + + + + + + + Document Status_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Latitude Direction_ Code. Type + 2.0 + The possible directions of latitude + Code + Latitude Direction + + + + + + + + + + Latitude Direction_ Code List. Identifier + + String + + + + + + + Latitude Direction_ Code List. Agency. Identifier + + String + + + + + + + Latitude Direction_ Code List. Agency Name. Text + + String + + + + + + + Latitude Direction_ Code List. Name. Text + + String + + + + + + + Latitude Direction_ Code List. Version. Identifier + + String + + + + + + + Latitude Direction_ Code. Name. Text + + String + + + + + + + Latitude Direction_ Language. Identifier + + String + + + + + + + Latitude Direction_ Code List. Uniform Resource. Identifier + + String + + + + + + + Latitude Direction_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Line Status_ Code. Type + 2.0 + The set of possible statuses of a line in a transaction with regard to its original state. + Code + Line Status + + + + + + + + + + Line Status_ Code List. Identifier + + String + + + + + + + Line Status_ Code List. Agency. Identifier + + String + + + + + + + Line Status_ Code List. Agency Name. Text + + String + + + + + + + Line Status_ Code List. Name. Text + + String + + + + + + + Line Status_ Code List. Version. Identifier + + String + + + + + + + Line Status_ Code. Name. Text + + String + + + + + + + Line Status_ Language. Identifier + + String + + + + + + + Line Status_ Code List. Uniform Resource. Identifier + + String + + + + + + + Line Status_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Longitude Direction_ Code. Type + 2.0 + The possible directions of longitude + Code + Longitude Direction + + + + + + + + + + Longitude Direction_ Code List. Identifier + + String + + + + + + + Longitude Direction_ Code List. Agency. Identifier + + String + + + + + + + Longitude Direction_ Code List. Agency Name. Text + + String + + + + + + + Longitude Direction_ Code List. Name. Text + + String + + + + + + + Longitude Direction_ Code List. Version. Identifier + + String + + + + + + + Longitude Direction_ Code. Name. Text + + String + + + + + + + Longitude Direction_ Language. Identifier + + String + + + + + + + Longitude Direction_ Code List. Uniform Resource. Identifier + + String + + + + + + + Longitude Direction_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Operator_ Code. Type + 2.0 + The set of valid arithmetic operators + Code + Operator + + + + + + + + + + Operator_ Code List. Identifier + + String + + + + + + + Operator_ Code List. Agency. Identifier + + String + + + + + + + Operator_ Code List. Agency Name. Text + + String + + + + + + + Operator_ Code List. Name. Text + + String + + + + + + + Operator_ Code List. Version. Identifier + + String + + + + + + + Operator_ Code. Name. Text + + String + + + + + + + Operator_ Language. Identifier + + String + + + + + + + Operator_ Code List. Uniform Resource. Identifier + + String + + + + + + + Operator_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Packaging Type_ Code. Type + 2.0 + The set of code values for Passengers, Types of Cargo, Packages and Packaging Materials (with Complementary Codes for Package Names) + Code + Packaging Type + + + + + + + + + + Packaging Type_ Code List. Identifier + + String + + + + + + + Packaging Type_ Code List. Agency. Identifier + + String + + + + + + + Packaging Type_ Code List. Agency Name. Text + + String + + + + + + + Packaging Type_ Code List. Name. Text + + String + + + + + + + Packaging Type_ Code List. Version. Identifier + + String + + + + + + + Packaging Type_ Code. Name. Text + + String + + + + + + + Packaging Type_ Language. Identifier + + String + + + + + + + Packaging Type_ Code List. Uniform Resource. Identifier + + String + + + + + + + Packaging Type_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Payment Means_ Code. Type + 2.0 + The set of valid means of paying the debt incurred. + Code + Payment Means + + Used under the terms of the UNECE policy stated at http://www.unece.org/ece_legal.htm. + + + + + + + + + Payment Means_ Code List. Identifier + + String + + + + + + + Payment Means_ Code List. Agency. Identifier + Defaults to the UN/EDIFACT data element 3055 code list. + String + + + + + + + Payment Means_ Code List. Agency Name. Text + + String + + + + + + + Payment Means_ Code List. Name. Text + + String + + + + + + + Payment Means_ Code List. Version. Identifier + Identifies the Directory of the UN/EDIFACT code list. + String + + + + + + + Payment Means_ Code. Name. Text + + String + + + + + + + Payment Means_ Language. Identifier + + String + + + + + + + Payment Means_ Code List. Uniform Resource. Identifier + + String + + + + + + + Payment Means_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Port_ Code. Type + 2.0 + The set of code values for Trade and Transport Locations + Code + Port + + + + + + + + + + Port_ Code List. Identifier + + String + + + + + + + Port_ Code List. Agency. Identifier + + String + + + + + + + Port_ Code List. Agency Name. Text + + String + + + + + + + Port_ Code List. Name. Text + + String + + + + + + + Port_ Code List. Version. Identifier + + String + + + + + + + Port_ Code. Name. Text + + String + + + + + + + Port_ Language. Identifier + + String + + + + + + + Port_ Code List. Uniform Resource. Identifier + + String + + + + + + + Port_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Substitution Status_ Code. Type + 2.0 + The set of values that indicate the status of an OrderItem in relation to substitution, denoting an acceptable substitute in the Order, an original for which an alternative is offered in the Order Confirmation, or an original for which an actual replacement is advised in the Despatch Advice. + Code + Substitution Status + + + + + + + + + + Substitution Status_ Code List. Identifier + + String + + + + + + + Substitution Status_ Code List. Agency. Identifier + + String + + + + + + + Substitution Status_ Code List. Agency Name. Text + + String + + + + + + + Substitution Status_ Code List. Name. Text + + String + + + + + + + Substitution Status_ Code List. Version. Identifier + + String + + + + + + + Substitution Status_ Code. Name. Text + + String + + + + + + + Substitution Status_ Language. Identifier + + String + + + + + + + Substitution Status_ Code List. Uniform Resource. Identifier + + String + + + + + + + Substitution Status_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Transportation Status_ Code. Type + 2.0 + The set of code values for Trade and Transport Status + Code + Transportation Status + + + + + + + + + + Transportation Status_ Code List. Identifier + + String + + + + + + + Transportation Status_ Code List. Agency. Identifier + + String + + + + + + + Transportation Status_ Code List. Agency Name. Text + + String + + + + + + + Transportation Status_ Code List. Name. Text + + String + + + + + + + Transportation Status_ Code List. Version. Identifier + + String + + + + + + + Transportation Status_ Code. Name. Text + + String + + + + + + + Transportation Status_ Language. Identifier + + String + + + + + + + Transportation Status_ Code List. Uniform Resource. Identifier + + String + + + + + + + Transportation Status_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Transport Equipment Type_ Code. Type + 2.0 + The set of code values for qualifying a type of equipment used in the transportation of goods. + Code + Transport Equipment Type + + + + + + + + + + Transport Equipment Type_ Code List. Identifier + + String + + + + + + + Transport Equipment Type_ Code List. Agency. Identifier + + String + + + + + + + Transport Equipment Type_ Code List. Agency Name. Text + + String + + + + + + + Transport Equipment Type_ Code List. Name. Text + + String + + + + + + + Transport Equipment Type_ Code List. Version. Identifier + + String + + + + + + + Transport Equipment Type_ Code. Name. Text + + String + + + + + + + Transport Equipment Type_ Language. Identifier + + String + + + + + + + Transport Equipment Type_ Code List. Uniform Resource. Identifier + + String + + + + + + + Transport Equipment Type_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Transport Mode_ Code. Type + 2.0 + The set of code values for modes of transport + Code + Transport Mode + + + + + + + + + + Transport Mode_ Code List. Identifier + + String + + + + + + + Transport Mode_ Code List. Agency. Identifier + + String + + + + + + + Transport Mode_ Code List. Agency Name. Text + + String + + + + + + + Transport Mode_ Code List. Name. Text + + String + + + + + + + Transport Mode_ Code List. Version. Identifier + + String + + + + + + + Transport Mode_ Code. Name. Text + + String + + + + + + + Transport Mode_ Language. Identifier + + String + + + + + + + Transport Mode_ Code List. Uniform Resource. Identifier + + String + + + + + + + Transport Mode_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Unit Of Measure_ Code. Type + 2.0 + The set of code values for Units of Measure Used in International Trade + Code + Unit Of Measure + + + + + + + + + + Unit Of Measure_ Code List. Identifier + + String + + + + + + + Unit Of Measure_ Code List. Agency. Identifier + + String + + + + + + + Unit Of Measure_ Code List. Agency Name. Text + + String + + + + + + + Unit Of Measure_ Code List. Name. Text + + String + + + + + + + Unit Of Measure_ Code List. Version. Identifier + + String + + + + + + + Unit Of Measure_ Code. Name. Text + + String + + + + + + + Unit Of Measure_ Language. Identifier + + String + + + + + + + Unit Of Measure_ Code List. Uniform Resource. Identifier + + String + + + + + + + Unit Of Measure_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UnqualifiedDataTypeSchemaModule-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UnqualifiedDataTypeSchemaModule-2.0.xsd new file mode 100644 index 0000000..128fb86 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/common/UnqualifiedDataTypeSchemaModule-2.0.xsd @@ -0,0 +1,1138 @@ + + + + + + + + + + + + + + + + + + + + + + UDT000001 + UDT + Amount. Type + 1.0 + A number of monetary units specified in a currency where the unit of the currency is explicit or implied. + Amount + decimal + decimal + + + + + + + + UDT000001-SC2 + SC + Amount Currency. Identifier + The currency of the amount. + Amount Currency + Identification + Identifier + string + normalisedString + + + + + + + + + + + + UDT000002 + UDT + Binary Object. Type + 1.0 + A set of finite-length sequences of binary octets. + Binary Object + binary + base64Binary + + + + + + + + UDT000002-SC2 + SC + Binary Object. Format. Text + The format of the binary content. + Binary Object + Format + Text + string + string + + + + + + + UDT000002-SC3 + SC + Binary Object. Mime. Code + The mime type of the binary object. + Binary Object + Mime + Code + string + normalizedString + + + + + + + UDT000002-SC4 + SC + Binary Object. Encoding. Code + Specifies the decoding algorithm of the binary object. + Binary Object + Encoding + Code + string + normalizedString + + + + + + + UDT000002-SC5 + SC + Binary Object. Character Set. Code + The character set of the binary object if the mime type is text. + Binary Object + Character Set + Code + string + normalizedString + + + + + + + UDT000002-SC6 + SC + Binary Object. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the binary object is located. + Binary Object + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + UDT000002-SC7 + SC + Binary Object. Filename.Text + The filename of the binary object. + Binary Object + Filename + Text + string + string + + + + + + + + + + + + UDT000003 + UDT + Graphic. Type + 1.0 + A diagram, graph, mathematical curves, or similar representation. + Graphic + binary + base64Binary + + + + + + + + UDT000003-SC2 + SC + Graphic. Format. Text + The format of the graphic content. + Graphic + Format + Text + string + string + + + + + + + UDT000003-SC3 + SC + Graphic. Mime. Code + The mime type of the graphic object. + Graphic + Mime + Code + string + normalizedString + + + + + + + UDT000003-SC4 + SC + Graphic. Encoding. Code + Specifies the decoding algorithm of the graphic object. + Graphic + Encoding + Code + string + normalizedString + + + + + + + UDT000003-SC6 + SC + Graphic. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the graphic object is located. + Graphic + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + UDT000003-SC7 + SC + Graphic. Filename.Text + The filename of the graphic object. + Graphic + Filename + Text + string + string + + + + + + + + + + + + UDT000004 + UDT + Picture. Type + 1.0 + A diagram, graph, mathematical curves, or similar representation. + Picture + binary + base64Binary + + + + + + + + UDT000004-SC2 + SC + Picture. Format. Text + The format of the picture content. + Picture + Format + Text + string + string + + + + + + + UDT000004-SC3 + SC + Picture. Mime. Code + The mime type of the picture object. + Picture + Mime + Code + string + normalizedString + + + + + + + UDT000004-SC4 + SC + Picture. Encoding. Code + Specifies the decoding algorithm of the picture object. + Picture + Encoding + Code + string + normalizedString + + + + + + + UDT000004-SC6 + SC + Picture. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the picture object is located. + Picture + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + UDT000004-SC7 + SC + Picture. Filename.Text + The filename of the picture object. + Picture + Filename + Text + string + string + + + + + + + + + + + + UDT000005 + UDT + Sound. Type + 1.0 + A diagram, graph, mathematical curves, or similar representation. + Sound + binary + base64Binary + + + + + + + + UDT000005-SC2 + SC + Sound. Format. Text + The format of the sound content. + Sound + Format + Text + string + string + + + + + + + UDT000005-SC3 + SC + Sound. Mime. Code + The mime type of the sound object. + Sound + Mime + Code + string + normalizedString + + + + + + + UDT000005-SC4 + SC + Sound. Encoding. Code + Specifies the decoding algorithm of the sound object. + Sound + Encoding + Code + string + normalizedString + + + + + + + UDT000005-SC6 + SC + Sound. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the sound object is located. + Sound + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + UDT000005-SC7 + SC + Sound. Filename.Text + The filename of the sound object. + Sound + Filename + Text + string + string + + + + + + + + + + + + UDT000006 + UDT + Video. Type + 1.0 + A diagram, graph, mathematical curves, or similar representation. + Graphic + binary + bas64Binary + + + + + + + + UDT000006-SC2 + SC + Video. Format. Text + The format of the video content. + Video + Format + Text + string + string + + + + + + + UDT000006-SC3 + SC + Video. Mime. Code + The mime type of the video object. + Video + Mime + Code + string + normalizedString + + + + + + + UDT000006-SC4 + SC + Video. Encoding. Code + Specifies the decoding algorithm of the video object. + Video + Encoding + Code + string + normalizedString + + + + + + + UDT000006-SC6 + SC + Video. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the video object is located. + Video + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + UDT000006-SC7 + SC + Video. Filename.Text + The filename of the video object. + Video + Filename + Text + string + string + + + + + + + + + + + + UDT000007 + UDT + Code. Type + 1.0 + A character string (letters, figures, or symbols) that for brevity and/or languange independence may be used to represent or replace a definitive value or text of an attribute together with relevant supplementary information. + Code + string + normalizedString + Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the code list and thus, are not declared as attributes. + + + + + + + + UDT000007-SC2 + SC + Code List. Identifier + The identification of a list of codes. + Code List + Identification + Identifier + string + + + + + + + UDT000007-SC3 + SC + Code List. Agency. Identifier + An agency that maintains one or more lists of codes. + Code List + Agency + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UDT000007-SC4 + SC + Code List. Agency Name. Text + The name of the agency that maintains the list of codes. + Code List + Agency Name + Text + string + + + + + + + UDT000007-SC5 + SC + Code List. Name. Text + The name of a list of codes. + Code List + Name + Text + string + + + + + + + UDT000007-SC6 + SC + Code List. Identifier + The identification of a list of codes. + Code List + Identification + Identifier + string + string + + + + + + + UDT000007-SC7 + SC + Code. Name. Text + The textual equivalent of the code content component. + Code + Name + Text + string + string + + + + + + + UDT000007-SC8 + SC + Language. Identifier + The identifier of the language used in the code name. + Language + Identification + Identifier + string + language + + + + + + + UDT000007-SC9 + SC + Code List. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list is located. + Code List + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + UDT000007-SC10 + SC + Code List Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list scheme is located. + Code List Scheme + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + + + + + + UDT000008 + UDT + Date Time. Type + 1.0 + A particular point in the progression of time together with the relevant supplementary information. + Date Time + string + dateTime + Can be used for a date and/or time. + + + + + + + + + + UDT000009 + UDT + Date. Type + 1.0 + One calendar day according the Gregorian calendar. + Date + string + date + + + + + + + + + + UDT0000010 + UDT + Time. Type + 1.0 + The instance of time that occurs every day. + Time + string + time + + + + + + + + + + UDT0000011 + UDT + Identifier. Type + 1.0 + A character string to identify and distinguish uniquely, one instance of an object in an identification scheme from all other objects in the same scheme together with relevant supplementary information. + Identifier + string + normalizedString + Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the identifer list and thus, are not declared as attributes. + + + + + + + + UDT000011-SC2 + SC + Identification Scheme. Identifier + The identification of the identification scheme. + Identification Scheme + Identification + Identifier + string + + + + + + + UDT000011-SC3 + SC + Identification Scheme. Name. Text + The name of the identification scheme. + Identification Scheme + Name + Text + string + + + + + + + UDT000011-SC4 + SC + Identification Scheme Agency. Identifier + The identification of the agency that maintains the identification scheme. + Identification Scheme Agency + Identification + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UDT000011-SC5 + SC + Identification Scheme Agency. Name. Text + The name of the agency that maintains the identification scheme. + Identification Scheme Agency + Agency Name + Text + string + + + + + + + UDT000011-SC6 + SC + Identification Scheme. Version. Identifier + The version of the identification scheme. + Identification Scheme + Version + Identifier + string + normalizedString + + + + + + + UDT0000011-SC7 + SC + Identification Scheme Data. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme data is located. + Identification Scheme Data + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + UDT0000011-SC8 + SC + Identification Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme is located. + Identification Scheme + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + + + + + + UDT0000012 + UDT + Indicator. Type + 1.0 + A list of two mutually exclusive Boolean values that express the only possible states of a property. + Indicator + string + boolean + + + + + + + + + + + + + UDT0000013 + UDT + Measure. Type + 1.0 + A numeric value determined by measuring an object along with the specified unit of measure. + Measure + Type + decimal + decimal + + + + + + + + UDT0000013-SC2 + SC + Measure Unit. Code + The type of unit of measure. + Measure Unit + Code + Code + string + normalizedString + Reference UN/ECE Rec 20 and X12 355. + + + + + + + + + + + + UDT0000014 + UDT + Numeric. Type + 1.0 + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Numeric + string + decimal + + + + + + + + + + UDT0000015 + UDT + 1.0 + Value. Type + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Value + string + decimal + + + + + + + + + + UDT0000016 + UDT + 1.0 + Percent. Type + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Percent + string + decimal + + + + + + + + + + UDT0000017 + UDT + 1.0 + Rate. Type + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measuret. + Rate + string + decimal + + + + + + + + + + UDT0000018 + UDT + Quantity. Type + 1.0 + A counted number of non-monetary units possibly including fractions. + Quantity + decimal + decimal + + + + + + + + UDT0000018-SC2 + SC + Quantity. Unit. Code + The unit of the quantity + Quantity + Unit Code + Code + string + normalizedString + + + + + + + + + + + + UDT0000019 + UDT + Text. Type + 1.0 + A character string (i.e. a finite set of characters) generally in the form of words of a language. + Text + string + string + + + + + + + + UDT0000019-SC2 + SC + Language. Identifier + The identifier of the language used in the content component. + Language + Identification + Identifier + string + language + + + + + + + + + + + + UDT0000020 + UDT + Name. Type + 1.0 + A character string that consititues the distinctive designation of a person, place, thing or concept. + Name + string + string + + + + + + + + UDT0000020-SC2 + SC + Language. Identifier + The identifier of the language used in the content component. + Language + Identification + Identifier + string + language + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ApplicationResponse-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ApplicationResponse-2.0.xsd new file mode 100644 index 0000000..8335e5c --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ApplicationResponse-2.0.xsd @@ -0,0 +1,345 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Application Response. Details + A document to indicate the application's response to a transaction. This may be a business response and/or a technical response, sent automatically by an application or initiated by a user. + Application Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Application Response. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Application Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Application Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Application Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Application Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Application Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Application Response. Identifier + An identifier for the Application Response assigned by the sender. + 1 + Application Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Application Response. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Application Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Application Response. Issue Date. Date + The date assigned by the sender's application on which the Application Response was created. + 1 + Application Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Application Response. Issue Time. Time + The time assigned by the sender's application at which the Application Response was created. + 0..1 + Application Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Application Response. Response Date. Date + The date at which the information in the response was created. + 0..1 + Application Response + Response Date + Date + Date. Type + + + + + + + + + BBIE + Application Response. Response Time. Time + The time at which the information in the response was created. + 0..1 + Application Response + Response Time + Time + Time. Type + + + + + + + + + BBIE + Application Response. Note. Text + Free-form text applying to the Application Response. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Application Response + Note + Text + Text. Type + + + + + + + + + BBIE + Application Response. Version Identifier. Identifier + Identifies the current version of this document. + 0..1 + Application Response + Version Identifier + Identifier + Identifier. Type + "1.1" + + + + + + + + + ASBIE + Application Response. Signature + An association to Signature. + 0..n + Application Response + Signature + Signature + + + + + + + + + ASBIE + Application Response. Sender_ Party. Party + An association to the Party sending this document. + 1 + Application Response + Sender + Party + Party + + + + + + + + + ASBIE + Application Response. Receiver_ Party. Party + An association to the Party receiving this document. + 1 + Application Response + Receiver + Party + Party + + + + + + + + + ASBIE + Application Response. Document Response + A response to one or more documents. + 1..n + Application Response + Document Response + Document Response + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-AttachedDocument-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-AttachedDocument-2.0.xsd new file mode 100644 index 0000000..a5a145d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-AttachedDocument-2.0.xsd @@ -0,0 +1,362 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Attached Document. Details + A UBL 'wrapper' that allows a document of any kind to be packaged with the UBL document that references it. + Attached Document + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Attached Document. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Attached Document + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Attached Document. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Attached Document + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Attached Document. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Attached Document + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Attached Document. Identifier + An identifier for the Attached Document; this ID is used as a reference by the UBL 'parent' document. + 1 + Attached Document + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Attached Document + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Issue Date. Date + A date denoting when the Attached Document was issued. + 1 + Attached Document + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Attached Document. Issue Time. Time + A time denoting when the Attached Document was issued. + 0..1 + Attached Document + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Attached Document. Note. Text + Contains any free-form text pertinent to the entire document or to the document message itself. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Attached Document + Note + Text + Text. Type + + + + + + + + + BBIE + Attached Document. Document Type Code. Code + Qualifies the type of document using a code set. + 0..1 + Attached Document + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Attached Document. Document Type. Text + Qualifies types of document as text. + 0..1 + Attached Document + Document Type + Text + Text. Type + + + + + + + + + BBIE + Attached Document. Parent_ Document Identifier. Identifier + Identifies the parent document. + 1 + Attached Document + Parent + Document Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Parent_ Document Type Code. Code + Identifies the type of parent document. + 0..1 + Attached Document + Parent + Document Type Code + Code + Code. Type + + + + + + + + + ASBIE + Attached Document. Signature + Associates the Attached Document with zero or more signatures. + 0..n + Attached Document + Signature + Signature + + + + + + + + + ASBIE + Attached Document. Sender_ Party. Party + An association to the Party sending this document. + 1 + Attached Document + Sender + Party + Party + + + + + + + + + ASBIE + Attached Document. Receiver_ Party. Party + An association to the Party receiving this document. + 1 + Attached Document + Receiver + Party + Party + + + + + + + + + ASBIE + Attached Document. Attachment + An attachment containing the document content. + 1 + Attached Document + Attachment + Attachment + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-BillOfLading-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-BillOfLading-2.0.xsd new file mode 100644 index 0000000..100e1ff --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-BillOfLading-2.0.xsd @@ -0,0 +1,516 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Bill Of Lading. Details + The Bill of Lading is issued by the party who acts as an agent for the carrier or other agents to the party who gives instructions for the transportation services (shipper, consignor, etc.) stating the details of the transportation, charges, and terms and conditions under which the transportation service is provided. The party issuing this document does not necessarily provide the physical transportation service. It corresponds to the information on the Forwarding Instruction. It is used for any mode of transport. + +A Bill of Lading can serve as a contractual document between the parties for the transportation service. The document evidences a contract of carriage by sea and the acceptance of responsibility for the goods by the carrier, and by which the carrier undertakes to deliver the goods against surrender of the document. A provision in the document that the goods are to be delivered to the order of a named person, or to order, or to bearer, constitutes such an undertaking.. + Bill Of Lading + House Bill of Landing, Master Bill, Bill + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Bill Of Lading. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Bill Of Lading + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Bill Of Lading. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Bill Of Lading + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Bill Of Lading. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Bill Of Lading + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Bill Of Lading. Identifier + Unique Identifier of the Bill Of Lading. Reference number to identify a document evidencing a transport contract. + 1 + Bill Of Lading + Identifier + Identifier + Identifier. Type + Bill of Lading Number + + + + + + + + + BBIE + Bill Of Lading. Carrier Assigned_ Identifier. Identifier + Reference number assigned by a carrier or its agent to identify a specific shipment such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Bill Of Lading + Carrier Assigned + Identifier + Identifier + Identifier. Type + Booking Reference Number + + + + + + + + + BBIE + Bill Of Lading. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Bill Of Lading + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Bill Of Lading. Issue Date. Date + Date on which the Bill Of Lading was issued. + 0..1 + Bill Of Lading + Issue Date + Date + Date. Type + Transport Document Date + + + + + + + + + BBIE + Bill Of Lading. Issue Time. Time + Time at which the Bill Of Lading was issued. + 0..1 + Bill Of Lading + Issue Time + Time + Time. Type + "House Bill", "Consolidated Bill of Lading", "Proforma" + + + + + + + + + BBIE + Bill Of Lading. Name + The business name given to the document type. + 0..1 + Bill Of Lading + Name + Name + Name. Type + + + + + + + + + BBIE + Bill Of Lading. Description. Text + Purpose of the document instance. + 0..n + Bill Of Lading + Description + Text + Text. Type + + + + + + + + + BBIE + Bill Of Lading. Note. Text + Contains any free-form text pertinent to the entire document or to the document message itself. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Bill Of Lading + Note + Text + Text. Type + + + + + + + + + BBIE + Bill Of Lading. Document Status Code. Code + Indicates the status of the Bill Of Lading (revision, replacement, etc.). + 0..1 + Bill Of Lading + Document Status Code + Code + Document Status_ Code. Type + + + + + + + + + BBIE + Bill Of Lading. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order or Forwarding Instruction. + 0..1 + Bill Of Lading + Shipping Order Identifier + Identifier + Identifier. Type + Freight forwarding instruction, Shippers letter of instruction + + + + + + + + + BBIE + Bill Of Lading. To Order_ Indicator. Indicator + Indicates whether the transport document is consigned to order. + 0..1 + Bill Of Lading + To Order + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Bill Of Lading. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Bill Of Lading + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Bill Of Lading. Declared Carriage_ Value. Amount + Value, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Bill Of Lading + Declared Carriage + Value + Amount + Amount. Type + Interest in Delivery + + + + + + + + + BBIE + Bill Of Lading. Other_ Instruction. Text + Contains other free-text-based instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Bill Of Lading + Other + Instruction + Text + Text. Type + Bill of Lading Remark + + + + + + + + + ASBIE + Bill Of Lading. Consignor_ Party. Party + The party consigning goods as stipulated in the transport contract by the party ordering transport. + 0..1 + Bill Of Lading + Consignor + Party + Party + + + + + + + + + ASBIE + Bill Of Lading. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Bill Of Lading + Carrier + Party + Party + + + + + + + + + ASBIE + Bill Of Lading. Freight Forwarder_ Party. Party + The party combining individual smaller consignments into a single larger shipment (so called consolidated shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Bill Of Lading + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Bill Of Lading. Shipment + Information about the separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport. + 0..1 + Bill Of Lading + Shipment + Shipment + + + + + + + + + ASBIE + Bill Of Lading. Document Reference + An association to Document Reference. + 0..n + Bill Of Lading + Document Reference + Document Reference + + + + + + + + + ASBIE + Bill Of Lading. Exchange Rate + Information that directly relates to the rate of exchange (conversion) between two currencies. + 0..n + Bill Of Lading + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Bill Of Lading. Document Distribution + The distribution of the Bill to interested parties. + 0..n + Bill Of Lading + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Bill Of Lading. Signature + One or more signatures applied to the document instance. + 0..n + Bill Of Lading + Signature + Signature + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Catalogue-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Catalogue-2.0.xsd new file mode 100644 index 0000000..7a356a0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Catalogue-2.0.xsd @@ -0,0 +1,492 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Catalogue. Details + The document that describes items, prices, and price validity. + Catalogue + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue. Identifier + An identifier for the Catalogue assigned by the Seller. + 1 + Catalogue + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Catalogue + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue. Name + A name given to a catalogue. + 0..1 + Catalogue + Name + Name + Name. Type + "winter 2005 collection" + + + + + + + + + BBIE + Catalogue. Issue Date. Date + The date when the catalogue was issued. + 1 + Catalogue + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue. Issue Time. Time + The time when the catalogue was issued. + 0..1 + Catalogue + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue. Revision Date. Date + The date (assigned by the Seller Party) at which the information in the catalogue was revised. + 0..1 + Catalogue + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue. Revision Time. Time + The time (assigned by the Seller Party) at which the information in the catalogue was revised. + 0..1 + Catalogue + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue. Note. Text + Free-form text applying to the Catalogue. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Catalogue + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue. Description. Text + A description of the catalogue. + 0..n + Catalogue + Description + Text + Text. Type + "computer accessories for laptops" + + + + + + + + + BBIE + Catalogue. Version. Identifier + Indicates the current version of the catalogue. + 0..1 + Catalogue + Version + Identifier + Identifier. Type + "1.1" + + + + + + + + + BBIE + Catalogue. Previous_ Version. Identifier + Identifies the previous version of the Catalogue which is superceded by this version. + 0..1 + Catalogue + Previous + Version + Identifier + Identifier. Type + "1.0" + + + + + + + + + BBIE + Catalogue. Line Count. Numeric + The number of lines in the document. + 0..1 + Catalogue + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue. Validity_ Period. Period + The period assigned by the Seller during which the information in the Catalogue is effective. This may be given as start and end dates or a duration. + 0..n + Catalogue + Validity + Period + Period + + + + + + + + + ASBIE + Catalogue. Referenced_ Contract. Contract + An association to a framework agreement or contract. + 0..n + Catalogue + Referenced + Contract + Contract + + + + + + + + + ASBIE + Catalogue. Signature + An association to Signature. + 0..n + Catalogue + Signature + Signature + + + + + + + + + ASBIE + Catalogue. Provider_ Party. Party + An association to the Catalogue Provider Party. + 1 + Catalogue + Provider + Party + Party + + + + + + + + + ASBIE + Catalogue. Receiver_ Party. Party + An association to the Catalogue Receiver Party. + 1 + Catalogue + Receiver + Party + Party + + + + + + + + + ASBIE + Catalogue. Seller_ Supplier Party. Supplier Party + The Supplier Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue + Contractor + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue. Trading Terms + An association to trading terms. + 0..n + Catalogue + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue. Catalogue Line + An association to one or more Catalogue Lines. + 1..n + Catalogue + Catalogue Line + Catalogue Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueDeletion-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueDeletion-2.0.xsd new file mode 100644 index 0000000..a38be2a --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueDeletion-2.0.xsd @@ -0,0 +1,411 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Catalogue Deletion. Details + The document used to cancel an entire Catalogue. + Catalogue Deletion + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Deletion. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Deletion + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Deletion. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Deletion + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Deletion. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue Deletion + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Deletion. Identifier + An identifier for the Catalogue Deletion assigned by the Seller. + 1 + Catalogue Deletion + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Deletion. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Catalogue Deletion + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Deletion. Name + A name given to a Catalogue Deletion. + 0..1 + Catalogue Deletion + Name + Name + Name. Type + + + + + + + + + BBIE + Catalogue Deletion. Issue Date. Date + The date assigned by the Seller on which the Catalogue was deleted. + 1 + Catalogue Deletion + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Deletion. Issue Time. Time + The time assigned by the Seller at which the Catalogue was deleted. + 0..1 + Catalogue Deletion + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Deletion. Note. Text + Free-form text applying to the Catalogue Deletion. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Catalogue Deletion + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Deletion. Version. Identifier + Indicates the current version of the Catalogue. + 0..1 + Catalogue Deletion + Version + Identifier + Identifier. Type + "1.1" + + + + + + + + + BBIE + Catalogue Deletion. Description. Text + Describes the Catalogue Deletion. + 0..n + Catalogue Deletion + Description + Text + Text. Type + "stock no longer provided" + + + + + + + + + ASBIE + Catalogue Deletion. Validity_ Period. Period + The period during which the deletion of the catalogue becomes effective. This may be given as start (after date) and end dates (before date). + 0..n + Catalogue Deletion + Validity + Period + Period + + + + + + + + + ASBIE + Catalogue Deletion. Deleted_ Catalogue Reference. Catalogue Reference + An association to the Catalogue being deleted. + 1 + Catalogue Deletion + Deleted + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Deletion. Referenced_ Contract. Contract + An association to a framework agreement or contract. + 0..n + Catalogue Deletion + Referenced + Contract + Contract + + + + + + + + + ASBIE + Catalogue Deletion. Signature + One or more signatures applied to the document. + 0..n + Catalogue Deletion + Signature + Signature + + + + + + + + + ASBIE + Catalogue Deletion. Receiver_ Party. Party + An association to the Catalogue Receiver Party. + 1 + Catalogue Deletion + Receiver + Party + Party + + + + + + + + + ASBIE + Catalogue Deletion. Provider_ Party. Party + An association to the Catalogue Provider Party. + 1 + Catalogue Deletion + Provider + Party + Party + + + + + + + + + ASBIE + Catalogue Deletion. Seller_ Supplier Party. Supplier Party + The Supplier Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Deletion + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Deletion. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Deletion + Contractor + Customer Party + Customer Party + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueItemSpecificationUpdate-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueItemSpecificationUpdate-2.0.xsd new file mode 100644 index 0000000..cb6e35e --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueItemSpecificationUpdate-2.0.xsd @@ -0,0 +1,506 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Catalogue Item Specification Update. Details + The document used to update information about Items (e.g., technical descriptions and properties) on an existing Catalogue. + Catalogue Item Specification Update + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Item Specification Update. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Item Specification Update + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Item Specification Update. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Item Specification Update + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Item Specification Update. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Catalogue Item Specification Update + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Item Specification Update. Identifier + An identifier for the Catalogue Revision assigned by the Seller. + 1 + Catalogue Item Specification Update + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Catalogue Item Specification Update + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Name + A name given to the Catalogue Revision. + 0..1 + Catalogue Item Specification Update + Name + Name + Name. Type + "electrical goods - new energy ratings." + + + + + + + + + BBIE + Catalogue Item Specification Update. Issue Date. Date + The date when the Catalogue Revision was issued. + 1 + Catalogue Item Specification Update + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Issue Time. Time + The time when the Catalogue Revision was issued. + 0..1 + Catalogue Item Specification Update + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Revision Date. Date + The date assigned by the Seller on which the Catalogue was revised. + 0..1 + Catalogue Item Specification Update + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Revision Time. Time + The time assigned by the Seller at which the Catalogue was revised. + 0..1 + Catalogue Item Specification Update + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Note. Text + Free-form text applying to the Catalogue Revision. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Catalogue Item Specification Update + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Description. Text + A description of the Catalogue Revision. + 0..n + Catalogue Item Specification Update + Description + Text + Text. Type + "ratings based on new environmental standards for EU" + + + + + + + + + BBIE + Catalogue Item Specification Update. Version. Identifier + Indicates the current version of the Catalogue. + 0..1 + Catalogue Item Specification Update + Version + Identifier + Identifier. Type + "1.1" + + + + + + + + + BBIE + Catalogue Item Specification Update. Line Count. Numeric + The number of lines in the document. + 0..1 + Catalogue Item Specification Update + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Item Specification Update. Validity_ Period. Period + The period assigned by the Seller during which the information in the Catalogue Revision is effective. This may be given as start and end dates or a duration. + 0..n + Catalogue Item Specification Update + Validity + Period + Period + + + + + + + + + ASBIE + Catalogue Item Specification Update. Related_ Catalogue Reference. Catalogue Reference + An association to the Catalogue containing the revised Items. + 1 + Catalogue Item Specification Update + Related + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Item Specification Update. Referenced_ Contract. Contract + An association to a framework agreement or contract. + 0..n + Catalogue Item Specification Update + Referenced + Contract + Contract + + + + + + + + + ASBIE + Catalogue Item Specification Update. Signature + One or more signatures applied to the document. + 0..n + Catalogue Item Specification Update + Signature + Signature + + + + + + + + + ASBIE + Catalogue Item Specification Update. Provider_ Party. Party + An association to the Catalogue Provider Party. + 1 + Catalogue Item Specification Update + Provider + Party + Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Receiver_ Party. Party + An association to the Catalogue Receiver Party. + 1 + Catalogue Item Specification Update + Receiver + Party + Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Seller_ Supplier Party. Supplier Party + The Supplier Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Item Specification Update + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Item Specification Update + Contractor + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Trading Terms + An association to trading terms. + 0..1 + Catalogue Item Specification Update + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Item Specification Update. Default_ Language. Language + The default language for the item specifications. + 0..1 + Catalogue Item Specification Update + Default + Language + Language + + + + + + + + + ASBIE + Catalogue Item Specification Update. Catalogue Item Specification Update Line + An association to one or more Catalogue Item Specification Update Lines. + 1..n + Catalogue Item Specification Update + Catalogue Item Specification Update Line + Catalogue Item Specification Update Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CataloguePricingUpdate-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CataloguePricingUpdate-2.0.xsd new file mode 100644 index 0000000..398d3de --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CataloguePricingUpdate-2.0.xsd @@ -0,0 +1,506 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Catalogue Pricing Update. Details + The document used to update information about prices on an existing Catalogue. + Catalogue Pricing Update + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Pricing Update. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Pricing Update + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Pricing Update. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Pricing Update + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Pricing Update. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Catalogue Pricing Update + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Pricing Update. Identifier + An identifier for the Catalogue Revision assigned by the Seller. + 1 + Catalogue Pricing Update + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Catalogue Pricing Update + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Name + A name given to the Catalogue Revision. + 0..1 + Catalogue Pricing Update + Name + Name + Name. Type + "Seasonal Promotion" + + + + + + + + + BBIE + Catalogue Pricing Update. Issue Date. Date + The date when the catalogue revision was issued. + 1 + Catalogue Pricing Update + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Issue Time. Time + The time when the catalogue revision was issued. + 0..1 + Catalogue Pricing Update + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Revision Date. Date + The date assigned by the Seller on which the Catalogue was revised. + 0..1 + Catalogue Pricing Update + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Revision Time. Time + The time assigned by the Seller at which the Catalogue was revised. + 0..1 + Catalogue Pricing Update + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Note. Text + Free-form text applying to the Catalogue Revision. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Catalogue Pricing Update + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Description. Text + Describes the Catalogue Revision. + 0..n + Catalogue Pricing Update + Description + Text + Text. Type + " adjustment of prices for Christmas trading period" + + + + + + + + + BBIE + Catalogue Pricing Update. Version. Identifier + Indicates the current version of the catalogue. + 0..1 + Catalogue Pricing Update + Version + Identifier + Identifier. Type + "1.1" + + + + + + + + + BBIE + Catalogue Pricing Update. Line Count. Numeric + The number of lines in the document. + 0..1 + Catalogue Pricing Update + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Pricing Update. Validity_ Period. Period + The period assigned by the Seller during which the information in the Catalogue Revision is effective. This may be given as start and end dates or a duration. + 0..n + Catalogue Pricing Update + Validity + Period + Period + + + + + + + + + ASBIE + Catalogue Pricing Update. Related_ Catalogue Reference. Catalogue Reference + An association to the Catalogue containing the revised Items. + 1 + Catalogue Pricing Update + Related + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Pricing Update. Referenced_ Contract. Contract + An association to a framework agreement or contract. + 0..n + Catalogue Pricing Update + Referenced + Contract + Contract + + + + + + + + + ASBIE + Catalogue Pricing Update. Signature + One or more signatures applied to the document. + 0..n + Catalogue Pricing Update + Signature + Signature + + + + + + + + + ASBIE + Catalogue Pricing Update. Provider_ Party. Party + An association to the Catalogue Provider Party. + 1 + Catalogue Pricing Update + Provider + Party + Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Receiver_ Party. Party + An association to the Catalogue Receiver Party. + 1 + Catalogue Pricing Update + Receiver + Party + Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Seller_ Supplier Party. Supplier Party + The Supplier Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Pricing Update + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Pricing Update + Contractor + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Trading Terms + An association to trading terms. + 0..1 + Catalogue Pricing Update + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Pricing Update. Default_ Language. Language + The default language for the catalogue pricing update. + 0..1 + Catalogue Pricing Update + Default + Language + Language + + + + + + + + + ASBIE + Catalogue Pricing Update. Catalogue Pricing Update Line + An association to one or more Catalogue Pricing Update Lines. + 1..n + Catalogue Pricing Update + Catalogue Pricing Update Line + Catalogue Pricing Update Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueRequest-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueRequest-2.0.xsd new file mode 100644 index 0000000..d598bf3 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueRequest-2.0.xsd @@ -0,0 +1,525 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Catalogue Request. Details + The document used to request a Catalogue. + Catalogue Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Request. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Request. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Catalogue Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Request. Identifier + An identifier for the Catalogue Request assigned by the Catalogue Managing Party. + 1 + Catalogue Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Catalogue Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. Name + A name given to the Catalogue Request. + 0..1 + Catalogue Request + Name + Name + Name. Type + "winter 2005 collection" + + + + + + + + + BBIE + Catalogue Request. Issue Date. Date + The date assigned by the Catalogue Managing Party on which the Catalogue was requested. + 1 + Catalogue Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Request. Issue Time. Time + The time assigned by the Catalogue Managing Party at which the Catalogue was requested. + 0..1 + Catalogue Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Request. Note. Text + Free-form text applying to the Catalogue Request. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Catalogue Request + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Request. Description. Text + Describes the Catalogue Request. + 0..n + Catalogue Request + Description + Text + Text. Type + "latest computer accessories for laptops" + + + + + + + + + BBIE + Catalogue Request. Pricing Update Request_ Indicator. Indicator + The indicator requesting a pricing update. + 0..1 + Catalogue Request + Pricing Update Request + Indicator + Indicator + Indicator. Type + default is true + + + + + + + + + BBIE + Catalogue Request. Item Update Request_ Indicator. Indicator + The indicator requesting an update of the item specifications. + 0..1 + Catalogue Request + Item Update Request + Indicator + Indicator + Indicator. Type + default is true + + + + + + + + + BBIE + Catalogue Request. Line Count. Numeric + The number of lines in the document. + 0..1 + Catalogue Request + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Request. Validity_ Period. Period + The period assigned by the Catalogue Managing Party during which the information in the Catalogue requested is to be effective. This may be given as start and end dates or a duration. + 0..n + Catalogue Request + Validity + Period + Period + + + + + + + + + ASBIE + Catalogue Request. Receiver_ Party. Party + An association to the Catalogue Receiver Party. + 1 + Catalogue Request + Receiver + Party + Party + + + + + + + + + ASBIE + Catalogue Request. Provider_ Party. Party + An association to the Catalogue Provider Party. + 1 + Catalogue Request + Provider + Party + Party + + + + + + + + + ASBIE + Catalogue Request. Seller_ Supplier Party. Supplier Party + The Supplier Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Request + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Request. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Request + Contractor + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Request. Requested_ Catalogue Reference. Catalogue Reference + An association to a specific Catalogue; used if the Catalogue Request is for an update. + 0..1 + Catalogue Request + Requested + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Request. Referenced_ Contract. Contract + An association to a framework agreement or contract. + 0..n + Catalogue Request + Referenced + Contract + Contract + + + + + + + + + ASBIE + Catalogue Request. Trading Terms + An association to trading terms. + 0..1 + Catalogue Request + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Request. Document Reference + An association to other documents. + 0..n + Catalogue Request + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue Request. Applicable Territory_ Address. Address + An association to the territory (regions, country, city, etc.) to which the requested Catalogue will apply. Expressed as an Address. + 0..n + Catalogue Request + Applicable Territory + Address + Address + + + + + + + + + ASBIE + Catalogue Request. Requested_ Language. Language + The language in which the Catalogue is requested to be provided. + 0..1 + Catalogue Request + Requested + Language + Language + + + + + + + + + ASBIE + Catalogue Request. Requested_ Classification Scheme. Classification Scheme + An association to classification categories for the Catalogue requested. + 0..n + Catalogue Request + Requested + Classification Scheme + Classification Scheme + + + + + + + + + ASBIE + Catalogue Request. Catalogue Request Line + An association to specific Catalogue Lines for the catalogue requested. + 0..n + Catalogue Request + Catalogue Request Line + Catalogue Request Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CertificateOfOrigin-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CertificateOfOrigin-2.0.xsd new file mode 100644 index 0000000..3e6fe39 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CertificateOfOrigin-2.0.xsd @@ -0,0 +1,376 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Certificate Of Origin. Details + A document that describes the Certificate of Origin. + Certificate Of Origin + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Certificate Of Origin. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Certificate Of Origin + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Certificate Of Origin. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Certificate Of Origin + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Certificate Of Origin. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Certificate Of Origin + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Certificate Of Origin. Identifier + Unique Identifier of the Certificate Of Origin. + 1 + Certificate Of Origin + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Certificate Of Origin + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin. Issue Date. Date + Date on which the Certificate Of Origin was issued. + 0..1 + Certificate Of Origin + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Certificate Of Origin. Issue Time. Time + Time at which the Certificate Of Origin was issued. + 0..1 + Certificate Of Origin + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Certificate Of Origin. Description. Text + Textual description of a Certificate Of Origin. + 0..n + Certificate Of Origin + Description + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin. Note. Text + Textual note associated with a Certificate Of Origin. + 0..n + Certificate Of Origin + Note + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin. Version Identifier. Identifier + Version identifier of a Certificate Of Origin. + 0..1 + Certificate Of Origin + Version Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Certificate Of Origin. Exporter_ Party. Party + The party who makes the export declaration, or on whose behalf the export declaration is made, and who is the owner of the goods or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Certificate Of Origin + Exporter + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin. Importer_ Party. Party + The party who makes an import declaration, or on whose behalf a Customs clearing agent or other authorized person makes an import declaration. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Certificate Of Origin + Importer + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin. Endorser Party + The party providing the endorsement. + 0..n + Certificate Of Origin + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Certificate Of Origin. Certificate Of Origin Application + Details of the application of a Certificate of Origin. + 1 + Certificate Of Origin + Certificate Of Origin Application + Certificate Of Origin Application + + + + + + + + + ASBIE + Certificate Of Origin. Issuer_ Endorsement. Endorsement + Issuer Endorsement details. + 1 + Certificate Of Origin + Issuer + Endorsement + Endorsement + + + + + + + + + ASBIE + Certificate Of Origin. Embassy_ Endorsement. Endorsement + Embassy Endorsement details. + 0..1 + Certificate Of Origin + Embassy + Endorsement + Endorsement + + + + + + + + + ASBIE + Certificate Of Origin. Insurance_ Endorsement. Endorsement + Insurance Endorsement details. + 0..1 + Certificate Of Origin + Insurance + Endorsement + Endorsement + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CreditNote-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CreditNote-2.0.xsd new file mode 100644 index 0000000..5067fe3 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CreditNote-2.0.xsd @@ -0,0 +1,730 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Credit Note. Details + The document used to specify credits due to the Debtor from the Creditor. + Credit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Credit Note. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Credit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Credit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Credit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Credit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Credit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Credit Note. Identifier + An identifier for the Credit Note assigned by the Creditor. + 1 + Credit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note. Copy_ Indicator. Indicator + Indicates whether the Credit Note is a copy (true) or not (false). + 0..1 + Credit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Credit Note. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Credit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note. Issue Date. Date + The date assigned by the Creditor on which the Credit Note was issued. + 1 + Credit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note. Issue Time. Time + The time assigned by the Creditor at which the Credit Note was issued. + 0..1 + Credit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Credit Note. Tax Point Date. Date + The date of the Credit Note used Indicates the point at which tax becomes applicable. + 0..1 + Credit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note. Note. Text + Free-form text applying to the Credit Note. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Credit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Credit Note. Document_ Currency Code. Code + The default currency for the Credit Note. + 0..1 + Credit Note + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Tax_ Currency Code. Code + The currency used for tax amounts in the Credit Note. + 0..1 + Credit Note + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Pricing_ Currency Code. Code + The currency used for prices in the Credit Note. + 0..1 + Credit Note + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Payment_ Currency Code. Code + The currency used for payment in the Credit Note. + 0..1 + Credit Note + Payment + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Payment Alternative_ Currency Code. Code + The alternative currency used for payment in the Credit Note. + 0..1 + Credit Note + Payment Alternative + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Accounting Cost Code. Code + The Buyer's accounting code applied to the Credit Note as a whole. + 0..1 + Credit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note. Accounting Cost. Text + The Buyer's accounting code applied to the Credit Note as a whole, expressed as text. + 0..1 + Credit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Credit Note. Line Count. Numeric + The number of lines in the document. + 0..1 + Credit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Credit Note. Invoice_ Period. Period + Associates the Credit Note with an Invoicing Period rather than a specific Invoice. + 0..n + Credit Note + Invoice + Period + Period + + + + + + + + + ASBIE + Credit Note. Discrepancy_ Response. Response + An association to a reason for the Credit Note as a whole. + 0..n + Credit Note + Discrepancy + Response + Response + + + + + + + + + ASBIE + Credit Note. Order Reference + An association to Order Reference. + 0..1 + Credit Note + Order Reference + Order Reference + + + + + + + + + ASBIE + Credit Note. Billing Reference + An association to Billing Reference. + 0..n + Credit Note + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Credit Note. Despatch_ Document Reference. Document Reference + An associative reference to Despatch Advice. + 0..n + Credit Note + Despatch + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Receipt_ Document Reference. Document Reference + An associative reference to Receipt Advice. + 0..n + Credit Note + Receipt + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Contract_ Document Reference. Document Reference + An associative reference to Contract. + 0..n + Credit Note + Contract + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Credit Note + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Signature + An association to Signature. + 0..n + Credit Note + Signature + Signature + + + + + + + + + ASBIE + Credit Note. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 1 + Credit Note + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Credit Note. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 1 + Credit Note + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Credit Note. Payee_ Party. Party + An association to the Payee. + 0..1 + Credit Note + Payee + Party + Party + + + + + + + + + ASBIE + Credit Note. Tax Representative_ Party. Party + An association to the Tax Representative. + 0..1 + Credit Note + Tax Representative + Party + Party + + + + + + + + + ASBIE + Credit Note. Tax_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Tax Currency. + 0..1 + Credit Note + Tax + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Pricing_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Pricing Currency. + 0..1 + Credit Note + Pricing + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Payment_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Currency. + 0..1 + Credit Note + Payment + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Payment Alternative_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Alternative Currency. + 0..1 + Credit Note + Payment Alternative + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Allowance Charge + An association to Allowances and Charges that apply to the Credit Note as a whole. + 0..n + Credit Note + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Credit Note. Tax Total + An association to Tax Total. + 0..n + Credit Note + Tax Total + Tax Total + + + + + + + + + ASBIE + Credit Note. Legal_ Monetary Total. Monetary Total + An association to the total amount payable on the Credit Note, including Allowances, Charges, and Taxes. + 1 + Credit Note + Legal + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Credit Note. Credit Note Line + An association to one or more Credit Note Lines. + 1..n + Credit Note + Credit Note Line + Credit Note Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-DebitNote-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-DebitNote-2.0.xsd new file mode 100644 index 0000000..c938683 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-DebitNote-2.0.xsd @@ -0,0 +1,731 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Debit Note. Details + The document used to specify debits made by the Debtor. + Debit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Debit Note. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Debit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Debit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Debit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Debit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Debit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Debit Note. Identifier + An identifier for the Debit Note assigned by the Debtor. + 1 + Debit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note. Copy_ Indicator. Indicator + Indicates whether the Debit Note is a copy (true) or not (false). + 0..1 + Debit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Debit Note. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Debit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note. Issue Date. Date + The date assigned by the Debtor on which the Debit Note was issued. + 1 + Debit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note. Issue Time. Time + The time assigned by the Debtor at which the Debit Note was issued. + 0..1 + Debit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Debit Note. Note. Text + Free-form text applying to the Debit Note. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Debit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Debit Note. Tax Point Date. Date + The date of the Debit Note used to indicate the point at which tax becomes applicable. + 0..1 + Debit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note. Document_ Currency Code. Code + The default currency for the Debit Note. + 0..1 + Debit Note + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Tax_ Currency Code. Code + The currency used for tax amounts in the Debit Note. + 0..1 + Debit Note + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Pricing_ Currency Code. Code + The currency used for prices in the Debit Note. + 0..1 + Debit Note + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Payment_ Currency Code. Code + The currency used for payment in the Debit Note. + 0..1 + Debit Note + Payment + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Payment Alternative_ Currency Code. Code + The alternative currency used for payment in the Debit Note. + 0..1 + Debit Note + Payment Alternative + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Accounting Cost Code. Code + The Buyer's accounting code applied to the Credit Note as a whole. + 0..1 + Debit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Debit Note. Accounting Cost. Text + The Buyer's accounting code applied to the Credit Note as a whole, expressed as text. + 0..1 + Debit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Debit Note. Line Count. Numeric + The number of lines in the document. + 0..1 + Debit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Debit Note. Invoice_ Period. Period + Associates the Debit Note with an Invoicing Period rather than a specific Invoice. + 0..n + Debit Note + Invoice + Period + Period + + + + + + + + + ASBIE + Debit Note. Discrepancy_ Response. Response + An association to a reason for the Debit Note as a whole. + 0..n + Debit Note + Discrepancy + Response + Response + + + + + + + + + ASBIE + Debit Note. Order Reference + An association to Order Reeference + 0..1 + Debit Note + Order Reference + Order Reference + + + + + + + + + ASBIE + Debit Note. Billing Reference + An association to Billing Reference. + 0..n + Debit Note + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Debit Note. Despatch_ Document Reference. Document Reference + An associative reference to Despatch Advice. + 0..n + Debit Note + Despatch + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Receipt_ Document Reference. Document Reference + An associative reference to Receipt Advice. + 0..n + Debit Note + Receipt + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Contract_ Document Reference. Document Reference + An associative reference to Contract. + 0..n + Debit Note + Contract + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Debit Note + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Signature + An association to Signature. + 0..n + Debit Note + Signature + Signature + + + + + + + + + ASBIE + Debit Note. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 1 + Debit Note + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Debit Note. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 1 + Debit Note + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Debit Note. Payee_ Party. Party + An association to the Payee. + 0..1 + Debit Note + Payee + Party + Party + + + + + + + + + ASBIE + Debit Note. Tax Representative_ Party. Party + An association to the Tax Representative. + 0..1 + Debit Note + Tax Representative + Party + Party + + + + + + + + + ASBIE + Debit Note. Prepaid_ Payment. Payment + An association to prepaid payment(s). + 0..n + Debit Note + Prepaid + Payment + Payment + + + + + + + + + ASBIE + Debit Note. Tax_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Tax Currency. + 0..1 + Debit Note + Tax + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Pricing_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Pricing Currency. + 0..1 + Debit Note + Pricing + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Payment_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Currency. + 0..1 + Debit Note + Payment + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Payment Alternative_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Alternative Currency. + 0..1 + Debit Note + Payment Alternative + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Tax Total + An association to Tax Total for specific tax types/rates. + 0..n + Debit Note + Tax Total + Tax Total + + + + + + + + + ASBIE + Debit Note. Requested_ Monetary Total. Monetary Total + An association to the total amount payable on the Debit Note, including Allowances, Charges, and Taxes. + 1 + Debit Note + Requested + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Debit Note. Debit Note Line + An association to one or more Debit Note Lines. + 1..n + Debit Note + Debit Note Line + Debit Note Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-DespatchAdvice-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-DespatchAdvice-2.0.xsd new file mode 100644 index 0000000..3c0d853 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-DespatchAdvice-2.0.xsd @@ -0,0 +1,456 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Despatch Advice. Details + The document used to describe the despatch or delivery of goods and services. + Despatch Advice + Ship Note, Dispatch Advice, Consignment Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Despatch Advice. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Despatch Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Despatch Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Despatch Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Despatch Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Despatch Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Despatch Advice. Identifier + An identifier for the Despatch Advice assigned by Despatch (Party). + 1 + Despatch Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Copy_ Indicator. Indicator + Indicates whether the Despatch Advice is a copy (true) or not (false). + 0..1 + Despatch Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Despatch Advice. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Despatch Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Issue Date. Date + The date assigned by Despatch (Party) on which the Despatch Advice was issued. + 1 + Despatch Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Despatch Advice. Issue Time. Time + The time assigned by Despatch (Party) at which the Despatch Advice was issued. + 0..1 + Despatch Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Despatch Advice. Document Status. Code + Identifies the status of the Despatch Advice with respect to its original state. This may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancelling or revising. + 0..1 + Despatch Advice + Document Status + Code + Document Status_ Code. Type + + + + + + + + + BBIE + Despatch Advice. Despatch Advice Type Code. Code + Identifies the type of the Despatch Advice. + 0..1 + Despatch Advice + Despatch Advice Type Code + Code + Code. Type + + + + + + + + + BBIE + Despatch Advice. Note. Text + Free-form text applying to the Despatch Advice. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Despatch Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Despatch Advice. Line Count. Numeric + The number of lines in the document. + 0..1 + Despatch Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Despatch Advice. Order Reference + An association to Order Reference. + 0..n + Despatch Advice + Order Reference + Order Reference + + + + + + + + + ASBIE + Despatch Advice. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Despatch Advice + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Despatch Advice. Signature + An association to Signature. + 0..n + Despatch Advice + Signature + Signature + + + + + + + + + ASBIE + Despatch Advice. Despatch_ Supplier Party. Supplier Party + An association to the Despatch Party. + 1 + Despatch Advice + Despatch + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Despatch Advice. Delivery_ Customer Party. Customer Party + An association to the Delivery Party. + 1 + Despatch Advice + Delivery + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 0..1 + Despatch Advice + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 0..1 + Despatch Advice + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Despatch Advice. Originator_ Customer Party. Customer Party + An association to the Originator (Party). + 0..1 + Despatch Advice + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Shipment + An association to a Shipment detail. + 0..1 + Despatch Advice + Shipment + Shipment + + + + + + + + + ASBIE + Despatch Advice. Despatch Line + An association to one or more Despatch Advice Lines. + 1..n + Despatch Advice + Despatch Line + Despatch Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ForwardingInstructions-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ForwardingInstructions-2.0.xsd new file mode 100644 index 0000000..7c7448c --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ForwardingInstructions-2.0.xsd @@ -0,0 +1,493 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Forwarding Instructions. Details + The document issued to a forwarder, giving instructions regarding the action to be taken for the forwarding of goods described therein. Forwarding Instructions is used by any party who gives instructions for the transportation services required for a consignment of goods to any party who is contracted to provide the transportation services. The parties who issue this document are commonly referred to as the shipper or consignor, while the parties who receive this document are forwarders, carriers, shipping agents, etc. Note that this document may also be issued by a forwarder or shipping agent in their capacity as a "shipper". This document can be used to arrange for the transportation (1) of different types of goods or cargoes; (2) whether containerized or non-containerized; (3) through different modes of transport including multi-modal; and (4) from any origin to any destination. + Forwarding Instructions + Forwarding Instruction + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Forwarding Instructions. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Forwarding Instructions + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Forwarding Instructions. Customization Identifier. Identifier + Identifies a user-defined Customization of UBL for a specific use. + 0..1 + Forwarding Instructions + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Forwarding Instructions. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Forwarding Instructions + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Forwarding Instructions. Identifier + Unique identifier of the Forwarding Instructions. Reference number to identify a Shipping Instruction. + 1 + Forwarding Instructions + Identifier + Identifier + Identifier. Type + Freight Forwarding Instruction, Shippers Letter of Instruction + + + + + + + + + BBIE + Forwarding Instructions. Carrier Assigned_ Identifier. Identifier + Reference number assigned by a carrier or its agent to identify a specific shipment such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Forwarding Instructions + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Forwarding Instructions + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. Issue Date. Date + Date on which the Forwarding Instructions were issued. + 0..1 + Forwarding Instructions + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Forwarding Instructions. Issue Time. Time + Time at which the Forwarding Instructions were issued. + 0..1 + Forwarding Instructions + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forwarding Instructions. Name + Name of a Forwarding Instructions. + 0..1 + Forwarding Instructions + Name + Name + Name. Type + + + + + + + + + BBIE + Forwarding Instructions. Description. Text + Description of the type of Forwarding Instructions. + 0..n + Forwarding Instructions + Description + Text + Text. Type + + + + + + + + + BBIE + Forwarding Instructions. Note. Text + Informative notes associated with the Forwarding Instructions. + 0..n + Forwarding Instructions + Note + Text + Text. Type + + + + + + + + + BBIE + Forwarding Instructions. Document Status Code. Code + Identifies the status of the Forwarding Instructions with respect to its original state. This may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancelling or revising. + 0..1 + Forwarding Instructions + Document Status Code + Code + Document Status_ Code. Type + + + + + + + + + BBIE + Forwarding Instructions. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order. + 0..1 + Forwarding Instructions + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. To Order_ Indicator. Indicator + Indicator of whether the transport document is consigned to order. + 0..1 + Forwarding Instructions + To Order + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forwarding Instructions. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Forwarding Instructions + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forwarding Instructions. Declared Carriage_ Value. Amount + Value, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Forwarding Instructions + Declared Carriage + Value + Amount + Amount. Type + + + + + + + + + BBIE + Forwarding Instructions. Other_ Instruction. Text + Contains other free-text based instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Forwarding Instructions + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Forwarding Instructions. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Forwarding Instructions + Consignor + Party + Party + + + + + + + + + ASBIE + Forwarding Instructions. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Forwarding Instructions + Carrier + Party + Party + + + + + + + + + ASBIE + Forwarding Instructions. Freight Forwarder_ Party. Party + The party combining individual smaller consignments into a single larger consignment (so-called consolidated consignment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Forwarding Instructions + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Forwarding Instructions. Shipment + Information about the separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport. + 1 + Forwarding Instructions + Shipment + Shipment + + + + + + + + + ASBIE + Forwarding Instructions. Document Reference + An association to Document Reference. + 0..n + Forwarding Instructions + Document Reference + Document Reference + + + + + + + + + ASBIE + Forwarding Instructions. Exchange Rate + Information that directly relates to the rate of exchange (conversion) between two currencies. + 0..n + Forwarding Instructions + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Forwarding Instructions. Signature + One or more signatures applied to the document instance. + 0..n + Forwarding Instructions + Signature + Signature + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-FreightInvoice-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-FreightInvoice-2.0.xsd new file mode 100644 index 0000000..74aab3c --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-FreightInvoice-2.0.xsd @@ -0,0 +1,809 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Freight Invoice. Details + A document stating the charges incurred for the logistics service. + Freight Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Freight Invoice. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Freight Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Freight Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Freight Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Freight Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Freight Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Freight Invoice. Identifier + An identifier for the Invoice assigned by the Creditor. + 1 + Freight Invoice + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Freight Invoice. Copy_ Indicator. Indicator + Indicates whether a document is a copy (true) or not (false). + 0..1 + Freight Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Freight Invoice. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Freight Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Freight Invoice. Issue Date. Date + The date assigned by the Creditor on which the Invoice was issued. + 1 + Freight Invoice + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Freight Invoice. Issue Time. Time + The time assigned by the Creditor at which the Invoice was issued. + 0..1 + Freight Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Freight Invoice. Invoice Type Code. Code + Code specifying the type of the Invoice. + 0..1 + Freight Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Freight Invoice. Note. Text + Free-form text applying to the Invoice. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Freight Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Freight Invoice. Tax Point Date. Date + The date of the Invoice, used to indicate the point at which tax becomes applicable. + 0..1 + Freight Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Freight Invoice. Document_ Currency Code. Code + The currency in which the Document is presented. This may be the same currency as the pricing or as the tax. + 0..1 + Freight Invoice + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Tax_ Currency Code. Code + The currency used for tax amounts in the Invoice. + 0..1 + Freight Invoice + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Pricing_ Currency Code. Code + The currency used for prices in the Freight Invoice. + 0..1 + Freight Invoice + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Payment_ Currency Code. Code + The currency used for payment in the Freight Invoice. + 0..1 + Freight Invoice + Payment + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Payment Alternative_ Currency Code. Code + The alternative currency used for payment in the Freight Invoice. + 0..1 + Freight Invoice + Payment Alternative + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Accounting Cost Code. Code + The Buyer's accounting code applied to the Invoice as a whole. + 0..1 + Freight Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Freight Invoice. Accounting Cost. Text + The Buyer's accounting code applied to the Invoice as a whole, expressed as text. + 0..1 + Freight Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Freight Invoice. Line Count. Numeric + The number of lines in the document. + 0..1 + Freight Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Freight Invoice. Invoice_ Period. Period + An association to period(s) to which the Invoice applies. + 0..n + Freight Invoice + Invoice + Period + Period + + + + + + + + + ASBIE + Freight Invoice. Shipment + An association to Shipment. + 1 + Freight Invoice + Shipment + Shipment + + + + + + + + + ASBIE + Freight Invoice. Order Reference + An association to Order Reference. + 0..1 + Freight Invoice + Order Reference + Order Reference + + + + + + + + + ASBIE + Freight Invoice. Billing Reference + An association to Billing Reference. + 0..n + Freight Invoice + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Freight Invoice. Despatch_ Document Reference. Document Reference + An associative reference to Despatch Advice. + 0..n + Freight Invoice + Despatch + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Receipt_ Document Reference. Document Reference + An associative reference to Receipt Advice. + 0..n + Freight Invoice + Receipt + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Originator_ Document Reference. Document Reference + An associative reference to Originator Document. + 0..n + Freight Invoice + Originator + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Contract_ Document Reference. Document Reference + An associative reference to Contract. + 0..n + Freight Invoice + Contract + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Freight Invoice + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Signature + An association to Signature. + 0..n + Freight Invoice + Signature + Signature + + + + + + + + + ASBIE + Freight Invoice. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 1 + Freight Invoice + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Freight Invoice. Accounting_ Customer Party. Customer Party + An association to the Accounting Buyer Party. + 1 + Freight Invoice + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Freight Invoice. Payee_ Party. Party + An association to the Payee. + 0..1 + Freight Invoice + Payee + Party + Party + + + + + + + + + ASBIE + Freight Invoice. Tax Representative_ Party. Party + An association to the Tax Representative. + 0..1 + Freight Invoice + Tax Representative + Party + Party + + + + + + + + + ASBIE + Freight Invoice. Payment Means + An association to Payment Means. + 0..n + Freight Invoice + Payment Means + Payment Means + + + + + + + + + ASBIE + Freight Invoice. Payment Terms + An association to Payment Terms. + 0..n + Freight Invoice + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Freight Invoice. Prepaid_ Payment. Payment + An association to prepaid payment(s). + 0..n + Freight Invoice + Prepaid + Payment + Payment + + + + + + + + + ASBIE + Freight Invoice. Allowance Charge + An association to Allowances and Charges that apply to the Invoice as a whole. + 0..n + Freight Invoice + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Freight Invoice. Tax_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Tax Currency. + 0..1 + Freight Invoice + Tax + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Pricing_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Pricing Currency. + 0..1 + Freight Invoice + Pricing + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Payment_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Currency. + 0..1 + Freight Invoice + Payment + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Alternative Currency. + 0..1 + Freight Invoice + Payment Alternative + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Tax Total + An association to tax total for specific tax types/rates. + 0..n + Freight Invoice + Tax Total + Tax Total + + + + + + + + + ASBIE + Freight Invoice. Legal_ Monetary Total. Monetary Total + An association to the total amount payable on the Invoice, including Allowances, Charges, and Taxes. + 1 + Freight Invoice + Legal + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Freight Invoice. Invoice Line + An association to one or more Invoice Lines. + 1..n + Freight Invoice + Invoice Line + Invoice Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Invoice-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Invoice-2.0.xsd new file mode 100644 index 0000000..b8258e8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Invoice-2.0.xsd @@ -0,0 +1,856 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Invoice. Details + The document used to request payment. + Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Invoice. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Invoice. Identifier + An identifier for the Invoice assigned by the Creditor. + 1 + Invoice + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Invoice. Copy_ Indicator. Indicator + Indicates whether a document is a copy (true) or not (false). + 0..1 + Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Invoice. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice. Issue Date. Date + The date assigned by the Creditor on which the Invoice was issued. + 1 + Invoice + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Invoice. Issue Time. Time + The time assigned by the Creditor at which the Invoice was issued. + 0..1 + Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Invoice. Invoice Type Code. Code + Code specifying the type of the Invoice. + 0..1 + Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Invoice. Note. Text + Free-form text applying to the Invoice. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Invoice. Tax Point Date. Date + The date of the Invoice, used to indicate the point at which tax becomes applicable. + 0..1 + Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Invoice. Document_ Currency Code. Code + The currency in which the Document is presented. This may be the same currency as the pricing or as the tax. + 0..1 + Invoice + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Tax_ Currency Code. Code + The currency used for tax amounts in the Invoice. + 0..1 + Invoice + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Pricing_ Currency Code. Code + The currency used for prices in the Invoice. + 0..1 + Invoice + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Payment_ Currency Code. Code + The currency used for payment in the Invoice. + 0..1 + Invoice + Payment + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Payment Alternative_ Currency Code. Code + The alternative currency used for payment in the Invoice. + 0..1 + Invoice + Payment Alternative + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Accounting Cost Code. Code + The Buyer's accounting code applied to the Invoice as a whole. + 0..1 + Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Invoice. Accounting Cost. Text + The Buyer's accounting code applied to the Invoice as a whole, expressed as text. + 0..1 + Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Invoice. Line Count. Numeric + The number of lines in the document. + 0..1 + Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Invoice. Invoice_ Period. Period + An association to period(s) to which the Invoice applies. + 0..n + Invoice + Invoice + Period + Period + + + + + + + + + ASBIE + Invoice. Order Reference + An association to Order Reference. + 0..1 + Invoice + Order Reference + Order Reference + + + + + + + + + ASBIE + Invoice. Billing Reference + An association to Billing Reference. + 0..n + Invoice + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Invoice. Despatch_ Document Reference. Document Reference + An associative reference to Despatch Advice. + 0..n + Invoice + Despatch + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Receipt_ Document Reference. Document Reference + An associative reference to Receipt Advice. + 0..n + Invoice + Receipt + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Originator_ Document Reference. Document Reference + An associative reference to Originator Document. + 0..n + Invoice + Originator + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Contract_ Document Reference. Document Reference + An associative reference to Contract. + 0..n + Invoice + Contract + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Invoice + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Signature + An association to Signature. + 0..n + Invoice + Signature + Signature + + + + + + + + + ASBIE + Invoice. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 1 + Invoice + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Invoice. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 1 + Invoice + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Invoice. Payee_ Party. Party + An association to the Payee. + 0..1 + Invoice + Payee + Party + Party + + + + + + + + + ASBIE + Invoice. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 0..1 + Invoice + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Invoice. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 0..1 + Invoice + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Invoice. Tax Representative_ Party. Party + An association to the Tax Representative. + 0..1 + Invoice + Tax Representative + Party + Party + + + + + + + + + ASBIE + Invoice. Delivery + An association to Delivery. + 0..n + Invoice + Delivery + Delivery + + + + + + + + + ASBIE + Invoice. Delivery Terms + An association to Delivery Terms. + 0..1 + Invoice + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Invoice. Payment Means + An association to Payment Means. + 0..n + Invoice + Payment Means + Payment Means + + + + + + + + + ASBIE + Invoice. Payment Terms + An association to Payment Terms. + 0..n + Invoice + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Invoice. Prepaid_ Payment. Payment + An association to prepaid payment(s). + 0..n + Invoice + Prepaid + Payment + Payment + + + + + + + + + ASBIE + Invoice. Allowance Charge + An association to Allowances and Charges that apply to the Invoice as a whole. + 0..n + Invoice + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Invoice. Tax_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Tax Currency. + 0..1 + Invoice + Tax + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Pricing_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Pricing Currency. + 0..1 + Invoice + Pricing + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Payment_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Currency. + 0..1 + Invoice + Payment + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Alternative Currency. + 0..1 + Invoice + Payment Alternative + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Tax Total + An association to tax total for specific tax types/rates. + 0..n + Invoice + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice. Legal_ Monetary Total. Monetary Total + An association to the total amount payable on the Invoice, including Allowances, Charges, and Taxes. + 1 + Invoice + Legal + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Invoice. Invoice Line + An association to one or more Invoice Lines. + 1..n + Invoice + Invoice Line + Invoice Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Order-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Order-2.0.xsd new file mode 100644 index 0000000..7d30df5 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Order-2.0.xsd @@ -0,0 +1,731 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Order. Details + The document used to order goods and services. + Order + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order. Identifier + An identifier for the Order assigned by the Buyer. + 1 + Order + Identifier + Identifier + Identifier. Type + Purchase Order Number, Order Number + + + + + + + + + BBIE + Order. Sales Order Identifier. Identifier + An identifier for the Order assigned by the Seller. + 0..1 + Order + Sales Order Identifier + Identifier + Identifier. Type + Sales Order Number + + + + + + + + + BBIE + Order. Copy_ Indicator. Indicator + Indicates whether the Order is a copy (true) or not (false). + 0..1 + Order + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Order + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order. Issue Date. Date + The date assigned by the Buyer on which the Order was issued. + 1 + Order + Issue Date + Date + Date. Type + Order Date + + + + + + + + + BBIE + Order. Issue Time. Time + The time assigned by the Buyer on which the Order was issued. + 0..1 + Order + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order. Note. Text + Free-form text applying to the Order. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Order + Note + Text + Text. Type + + + + + + + + + BBIE + Order. Requested Invoice_ Currency Code. Code + The currency requested for amount totals in Invoices related to this Order. + 0..1 + Order + Requested Invoice + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order. Document_ Currency Code. Code + The default currency for the Order. + 0..1 + Order + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order. Pricing_ Currency Code. Code + The currency that is used for all prices in the Order. + 0..1 + Order + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order. Tax_ Currency Code. Code + The currency requested for tax amounts in Invoices related to this Order. + 0..1 + Order + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order. Customer Reference. Text + A supplementary reference for the Order. + 0..1 + Order + Customer Reference + Text + Text. Type + CRI in a purchasing card transaction + + + + + + + + + BBIE + Order. Accounting Cost Code. Code + The Buyer's accounting code applied to the Order as a whole. + 0..1 + Order + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order. Accounting Cost. Text + The Buyer's accounting code applied to the Order as a whole, expressed as text. + 0..1 + Order + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order. Line Count. Numeric + The number of lines in the document. + 0..1 + Order + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order. Validity_ Period. Period + The period for which the Order is valid. + 0..n + Order + Validity + Period + Period + + + + + + + + + ASBIE + Order. Quotation_ Document Reference. Document Reference + An associative reference to Quotation. + 0..1 + Order + Quotation + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Order_ Document Reference. Document Reference + An associative reference to [another] Order. + 0..n + Order + Order + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Originator_ Document Reference. Document Reference + An associative reference to Originator Document. + 0..1 + Order + Originator + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Order + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Contract + An association to Contract. + 0..n + Order + Contract + Contract + + + + + + + + + ASBIE + Order. Signature + An association to Signature. + 0..n + Order + Signature + Signature + + + + + + + + + ASBIE + Order. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 1 + Order + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 1 + Order + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Order + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Freight Forwarder_ Party. Party + An association to a Freight Forwarder or Carrier. + 0..1 + Order + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Order. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. The party that Invoice is expected to be sent to if not the buyer party. + 0..1 + Order + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Delivery + An association to Delivery. + 0..n + Order + Delivery + Delivery + + + + + + + + + ASBIE + Order. Delivery Terms + An association to Delivery Terms. + 0..1 + Order + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order. Payment Means + An association to Payment Means. + 0..1 + Order + Payment Means + Payment Means + + + + + + + + + ASBIE + Order. Transaction Conditions + An association with any purchasing or sales conditions applying to the whole order. + 0..1 + Order + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Order. Allowance Charge + An association to Allowances and Charges that apply to the Order as a whole. + 0..n + Order + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order. Destination_ Country. Country + An association to the country of destination (for customs purposes). + 0..1 + Order + Destination + Country + Country + + + + + + + + + ASBIE + Order. Tax Total + An association to the total tax amount of the Order (as calculated by the Buyer). + 0..n + Order + Tax Total + Tax Total + + + + + + + + + ASBIE + Order. Anticipated_ Monetary Total. Monetary Total + An association to the total amounts for the Order anticipated by the Buyer. + 0..1 + Order + Anticipated + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order. Order Line + An association to one or more Order Lines. + 1..n + Order + Order Line + Order Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderCancellation-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderCancellation-2.0.xsd new file mode 100644 index 0000000..24401ab --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderCancellation-2.0.xsd @@ -0,0 +1,393 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Order Cancellation. Details + The document used to cancel an entire Order. + Order Cancellation + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Cancellation. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Cancellation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Cancellation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Cancellation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Cancellation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Cancellation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Cancellation. Identifier + An identifier for the Order Cancellation assigned by the Buyer. + 1 + Order Cancellation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Copy_ Indicator. Indicator + Indicates whether the Order Cancellation is a copy (true) or not (false). + 0..1 + Order Cancellation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Cancellation. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Order Cancellation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Issue Date. Date + The date assigned by the Buyer on which the Order was cancelled. + 1 + Order Cancellation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Cancellation. Issue Time. Time + The time assigned by the Buyer at which the Order was cancelled. + 0..1 + Order Cancellation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Cancellation. Note. Text + Free-form text applying to the Order Cancellation. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Order Cancellation + Note + Text + Text. Type + + + + + + + + + BBIE + Order Cancellation. Cancellation_ Note. Text + The general reason for cancellation of the referenced order. + 1 + Order Cancellation + Cancellation + Note + Text + Text. Type + + + + + + + + + ASBIE + Order Cancellation. Order Reference + An associative reference to the Order(s) being cancelled. It is considered better practice to cancel only one Order in each Order Cancellation document. + 1..n + Order Cancellation + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Cancellation. Originator_ Document Reference. Document Reference + An associative reference to Originator Document. + 0..1 + Order Cancellation + Originator + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Cancellation. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Order Cancellation + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Cancellation. Contract + An association to Contract. + 0..n + Order Cancellation + Contract + Contract + + + + + + + + + ASBIE + Order Cancellation. Signature + An association to Signature. + 0..n + Order Cancellation + Signature + Signature + + + + + + + + + ASBIE + Order Cancellation. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 1 + Order Cancellation + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Cancellation. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 1 + Order Cancellation + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Cancellation. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Order Cancellation + Originator + Customer Party + Customer Party + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderChange-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderChange-2.0.xsd new file mode 100644 index 0000000..d3cdfff --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderChange-2.0.xsd @@ -0,0 +1,759 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Order Change. Details + The document used to specify changes to an existing Order. + Order Change + Purchase Order Change + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Change. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Change + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Change. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Change + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Change. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Change + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Change. Identifier + An identifier for the Order Change assigned by the Buyer. + 0..1 + Order Change + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Sales Order Identifier. Identifier + An identifier for the Order Change issued by the Seller. + 0..1 + Order Change + Sales Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Copy_ Indicator. Indicator + Indicates whether the Order Change is a copy (true) or not (false). + 0..1 + Order Change + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Change. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Order Change + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Issue Date. Date + The date assigned by the Buyer on which the Order was changed. + 1 + Order Change + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Change. Issue Time. Time + The time assigned by the Buyer at which the Order was changed. + 0..1 + Order Change + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Change. Sequence_ Number. Identifier + The Order Change Sequence Number assigned by the Buyer to ensure the proper sequencing of changes. + 1 + Order Change + Sequence + Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Note. Text + Free-form text applying to the Order Change. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Order Change + Note + Text + Text. Type + + + + + + + + + BBIE + Order Change. Requested Invoice_ Currency Code. Code + The currency requested for amount totals in Invoices related to this Order Change. + 0..1 + Order Change + Requested Invoice + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Document_ Currency Code. Code + The default currency for the Order Change. + 0..1 + Order Change + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Pricing_ Currency Code. Code + The currency that is used for all prices in the Order Change. + 0..1 + Order Change + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Tax_ Currency Code. Code + The currency requested for tax amounts in Invoices related to this Order Change. + 0..1 + Order Change + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Customer Reference. Text + A supplementary reference for the transaction (e.g., CRI when using purchasing card). + 0..1 + Order Change + Customer Reference + Text + Text. Type + + + + + + + + + BBIE + Order Change. Accounting Cost Code. Code + The Buyer's accounting code applied to the Order Change as a whole. + 0..1 + Order Change + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Change. Accounting Cost. Text + The Buyer's accounting code applied to the Order Change as a whole, expressed as text. + 0..1 + Order Change + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order Change. Line Count. Numeric + The number of lines in the document. + 0..1 + Order Change + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order Change. Validity_ Period. Period + The period for which the changed Order is valid. + 0..n + Order Change + Validity + Period + Period + + + + + + + + + ASBIE + Order Change. Order Reference + An association to Order Reference (the reference of the Order being changed). + 1 + Order Change + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Change. Quotation_ Document Reference. Document Reference + An associative reference to Quotation. + 0..1 + Order Change + Quotation + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Originator_ Document Reference. Document Reference + An associative reference to Originator Document. + 0..1 + Order Change + Originator + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Order Change + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Contract + An association to Contract + 0..n + Order Change + Contract + Contract + + + + + + + + + ASBIE + Order Change. Signature + An association to Signature. + 0..n + Order Change + Signature + Signature + + + + + + + + + ASBIE + Order Change. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 1 + Order Change + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 1 + Order Change + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Change. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Order Change + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Freight Forwarder_ Party. Party + An association to a Freight Forwarder or Carrier. + 0..1 + Order Change + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Order Change. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 0..1 + Order Change + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 0..1 + Order Change + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Change. Delivery + An association to Delivery. + 0..n + Order Change + Delivery + Delivery + + + + + + + + + ASBIE + Order Change. Delivery Terms + An association to Delivery Terms. + 0..1 + Order Change + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order Change. Payment Means + An association to Payment Means. + 0..1 + Order Change + Payment Means + Payment Means + + + + + + + + + ASBIE + Order Change. Transaction Conditions + Associates the Order Change with a purchasing, sales, or payment condition applying to the whole order. + 0..1 + Order Change + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Order Change. Allowance Charge + An association to Allowances and Charges that apply to the Order Change as a whole. + 0..n + Order Change + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order Change. Destination_ Country. Country + An association to the country of destination (for customs purposes). + 0..1 + Order Change + Destination + Country + Country + + + + + + + + + ASBIE + Order Change. Tax Total + An association to the total tax amount of the changed Order (as calculated by the Buyer). + 0..n + Order Change + Tax Total + Tax Total + + + + + + + + + ASBIE + Order Change. Anticipated_ Monetary Total. Monetary Total + An association to the total amounts for the Order Change anticipated by the Buyer. + 0..1 + Order Change + Anticipated + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order Change. Order Line + An association to one or more (changed) Order Lines. + 1..n + Order Change + Order Line + Order Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderResponse-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderResponse-2.0.xsd new file mode 100644 index 0000000..9b90d99 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderResponse-2.0.xsd @@ -0,0 +1,828 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Order Response. Details + The document used to indicate detailed acceptance or rejection of an Order or to make a counter-offer. + Order Response + Order Acknowledgement, PO Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Response. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL. + 0..1 + Order Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Response. Identifier + An identifier for the Order Response assigned by the Seller. + 1 + Order Response + Identifier + Identifier + Identifier. Type + Purchase Order Response Number, Acknowledgement of Order Number + + + + + + + + + BBIE + Order Response. Sales Order Identifier. Identifier + An identifier for the Order issued by the Seller. + 0..1 + Order Response + Sales Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response. Copy_ Indicator. Indicator + Indicates whether the Order Response is a copy (true) or not (false). + 0..1 + Order Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Order Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response. Issue Date. Date + The date assigned by the Seller on which the Order was responded to. + 1 + Order Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Response. Issue Time. Time + The time assigned by the Seller at which the Order was responded to. + 0..1 + Order Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Response. Note. Text + Free-form text applying to the Order Response. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Order Response + Note + Text + Text. Type + + + + + + + + + BBIE + Order Response. Document_ Currency Code. Code + The default currency for the Order Response. + 0..1 + Order Response + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Pricing_ Currency Code. Code + The currency that is used for all prices in the Order Response. + 0..1 + Order Response + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Tax_ Currency Code. Code + The currency that is used for all tax amounts in the Order Response. + 0..1 + Order Response + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Total_ Packages Quantity. Quantity + The total number of packages contained in the Order Response. + 0..1 + Order Response + Total + Packages Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Order Response. Gross_ Weight. Measure + The total gross weight for the Order Response (goods + packaging + transport equipment). + 0..1 + Order Response + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net_ Weight. Measure + The total net weight for the Order Response (goods + packaging). + 0..1 + Order Response + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net Net_ Weight. Measure + The total net weight of the goods in the Order Response excluding packaging. + 0..1 + Order Response + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Gross_ Volume. Measure + The total volume of the goods in the Order Response including packaging. + 0..1 + Order Response + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net_ Volume. Measure + The total volume of the goods in the Order Response excluding packaging. + 0..1 + Order Response + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Customer Reference. Text + A supplementary reference assigned by the Buyer, e.g. the CRI in a purchasing card transaction. + 0..1 + Order Response + Customer Reference + Text + Text. Type + + + + + + + + + BBIE + Order Response. Accounting Cost Code. Code + An accounting cost code applied to the order as a whole. + 0..1 + Order Response + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Response. Accounting Cost. Text + An accounting cost code applied to the order as a whole, expressed as text. + 0..1 + Order Response + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order Response. Line Count. Numeric + The number of lines in the document. + 0..1 + Order Response + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order Response. Validity_ Period. Period + The period for which the Order Response is valid. + 0..n + Order Response + Validity + Period + Period + + + + + + + + + ASBIE + Order Response. Order Reference + An association to Order Reference (the reference of the Order being responded to). + 1..n + Order Response + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Response. Order_ Document Reference. Document Reference + An associative reference to [another] Order. + 0..n + Order Response + Order + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Originator_ Document Reference. Document Reference + An associative reference to Originator Document. + 0..1 + Order Response + Originator + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Order Response + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Contract + An association to Contract + 0..n + Order Response + Contract + Contract + + + + + + + + + ASBIE + Order Response. Signature + An association to Signature. + 0..n + Order Response + Signature + Signature + + + + + + + + + ASBIE + Order Response. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 1 + Order Response + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 1 + Order Response + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Order Response + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Freight Forwarder_ Party. Party + An association to a Freight Forwarder or Carrier. + 0..1 + Order Response + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Order Response. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 0..1 + Order Response + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 0..1 + Order Response + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Delivery + An association to Delivery. + 0..n + Order Response + Delivery + Delivery + + + + + + + + + ASBIE + Order Response. Delivery Terms + An association to Delivery Terms. + 0..1 + Order Response + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order Response. Payment Means + An association to Payment Means. + 0..1 + Order Response + Payment Means + Payment Means + + + + + + + + + ASBIE + Order Response. Allowance Charge + An association to Allowances and Charges that apply to the Order Response as a whole. + 0..n + Order Response + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order Response. Transaction Conditions + An association with any sales or purchasing conditions applying to the whole order. + 0..1 + Order Response + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Order Response. Destination_ Country. Country + Associates the order response with the country to which it is destined, for Customs purposes. + 0..1 + Order Response + Destination + Country + Country + + + + + + + + + ASBIE + Order Response. Tax Total + An association to the total tax amount of the Order (as calculated by the Seller). + 0..n + Order Response + Tax Total + Tax Total + + + + + + + + + ASBIE + Order Response. Legal_ Monetary Total. Monetary Total + An association to the total amounts for the Order (or counter-offer). + 0..1 + Order Response + Legal + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order Response. Order Line + An association to one or more Order Lines. + 1..n + Order Response + Order Line + Order Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderResponseSimple-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderResponseSimple-2.0.xsd new file mode 100644 index 0000000..601ee1f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderResponseSimple-2.0.xsd @@ -0,0 +1,463 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Order Response Simple. Details + The document used to indicate simple acceptance or rejection of an entire Order. + Order Response Simple + Order Acknowledgement, PO Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Response Simple. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Response Simple + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Response Simple. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Response Simple + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Response Simple. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Response Simple + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Response Simple. Identifier + An identifier for the Order Response Simple assigned by the Seller. + 1 + Order Response Simple + Identifier + Identifier + Identifier. Type + Purchase Order Response Number, Acknowledgement of Order Number + + + + + + + + + BBIE + Order Response Simple. Copy_ Indicator. Indicator + Indicates whether the Order Response Simple is a copy (true) or not (false). + 0..1 + Order Response Simple + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response Simple. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Order Response Simple + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response Simple. Issue Date. Date + The date assigned by the Seller on which the Order was responded to. + 1 + Order Response Simple + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Response Simple. Issue Time. Time + The time assigned by the Seller at which the Order was responded to. + 0..1 + Order Response Simple + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Response Simple. Note. Text + Free-form text applying to the Order Response Simple. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Order Response Simple + Note + Text + Text. Type + + + + + + + + + BBIE + Order Response Simple. Accepted_ Indicator. Indicator + Indicates whether the Order is accepted (true) or rejected (false). + 1 + Order Response Simple + Accepted + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response Simple. Rejection_ Note. Text + The reason for rejection if the order was not accepted. + 0..1 + Order Response Simple + Rejection + Note + Text + Text. Type + "Out of Stock","Not able to supply","Unable to fulfill within the contracted conditions", "Buyer Account not Recognised" + + + + + + + + + BBIE + Order Response Simple. Customer_ Reference. Text + A supplementary reference for the transaction (e.g., when using purchasing card). + 0..1 + Order Response Simple + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Response Simple. Accounting Cost Code. Code + An accounting cost code applied to the order as a whole. + 0..1 + Order Response Simple + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Response Simple. Accounting Cost. Text + An accounting cost code applied to the order as a whole, expressed as text. + 0..1 + Order Response Simple + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Order Response Simple. Order Reference + An association to Order Reference (the reference of the Order being responded to). + 1 + Order Response Simple + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Response Simple. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Order Response Simple + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response Simple. Signature + An association to Signature. + 0..n + Order Response Simple + Signature + Signature + + + + + + + + + ASBIE + Order Response Simple. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 1 + Order Response Simple + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response Simple. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 1 + Order Response Simple + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response Simple. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Order Response Simple + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response Simple. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 0..1 + Order Response Simple + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response Simple. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 0..1 + Order Response Simple + Accounting + Customer Party + Customer Party + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-PackingList-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-PackingList-2.0.xsd new file mode 100644 index 0000000..a3fcc4d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-PackingList-2.0.xsd @@ -0,0 +1,408 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Packing List. Details + A document stating the detail of how goods are packed. + Packing List + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Packing List. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Packing List + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Packing List. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Packing List + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Packing List. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Packing List + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Packing List. Identifier + Unique Identifier of the Packing List. Reference number to identify a packing list. + 1 + Packing List + Identifier + Identifier + Identifier. Type + Packing List Number + + + + + + + + + BBIE + Packing List. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Packing List + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Packing List. Issue Date. Date + Date of issue of a packing list. + 0..1 + Packing List + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Packing List. Issue Time. Time + Time of issue of a packing list. + 0..1 + Packing List + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Packing List. Name + Name of a Packing List. + 0..1 + Packing List + Name + Name + Name. Type + + + + + + + + + BBIE + Packing List. Description. Text + Textual description of a Packing List. + 0..1 + Packing List + Description + Text + Text. Type + + + + + + + + + BBIE + Packing List. Note. Text + Textual note associated with a Packing List. + 0..n + Packing List + Note + Text + Text. Type + + + + + + + + + BBIE + Packing List. Version Identifier. Identifier + Version identifier of a Packing List. + 0..1 + Packing List + Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Packing List. Other_ Instruction. Text + Contains other free-text-based instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..1 + Packing List + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Packing List. Consignor_ Party. Party + The party consigning goods as stipulated in the transport contract by the party ordering transport. + 0..1 + Packing List + Consignor + Party + Party + + + + + + + + + ASBIE + Packing List. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Packing List + Carrier + Party + Party + + + + + + + + + ASBIE + Packing List. Freight Forwarder_ Party. Party + The party combining individual smaller shipments into a single larger consignment (so called consolidated consignment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Packing List + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Packing List. Shipment + Information about the separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport. + 1 + Packing List + Shipment + Shipment + + + + + + + + + ASBIE + Packing List. Document Reference + An association to Document Reference (reference to documents that provide supplementary information to the Packing List). + 0..n + Packing List + Document Reference + Document Reference + + + + + + + + + ASBIE + Packing List. Document Distribution + Contain information on the distribution list of the documents. + 0..n + Packing List + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Packing List. Signature + One or more signatures applied to the document instance. + 0..n + Packing List + Signature + Signature + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Quotation-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Quotation-2.0.xsd new file mode 100644 index 0000000..a6c9d7e --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Quotation-2.0.xsd @@ -0,0 +1,532 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Quotation. Details + The document used to quote for the provision of goods and services. + Quotation + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Quotation. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Quotation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Quotation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Quotation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Quotation. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Quotation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Quotation. Identifier + An identifier for the Quotation assigned by the Seller. + 0..1 + Quotation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Copy_ Indicator. Indicator + Indicates whether the Quotation is a copy (true) or not (false). + 0..1 + Quotation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Quotation. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Quotation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Issue Date. Date + The date assigned by the Seller on which the Quotation was issued. + 1 + Quotation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Quotation. Issue Time. Time + The time assigned by the Seller at which the Quotation was issued. + 0..1 + Quotation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Quotation. Note. Text + Free-form text applying to the Quotation. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Quotation + Note + Text + Text. Type + + + + + + + + + BBIE + Quotation. Pricing_ Currency Code. Code + The currency that is used for all prices in the Quotation. + 0..1 + Quotation + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Quotation. Line Count. Numeric + The number of lines in the document. + 0..1 + Quotation + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Quotation. Validity_ Period. Period + The period for which the Quotation is valid. + 0..1 + Quotation + Validity + Period + Period + + + + + + + + + ASBIE + Quotation. Request For Quotation_ Document Reference. Document Reference + An associative reference to Request for Quotation. + 0..1 + Quotation + Request For Quotation + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Quotation + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation. Contract + An association to Contract. + 0..n + Quotation + Contract + Contract + + + + + + + + + ASBIE + Quotation. Signature + An association to Signature. + 0..n + Quotation + Signature + Signature + + + + + + + + + ASBIE + Quotation. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 1 + Quotation + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Quotation. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Quotation + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Quotation. Delivery + An association to Delivery. + 0..n + Quotation + Delivery + Delivery + + + + + + + + + ASBIE + Quotation. Delivery Terms + An association to Delivery Terms. + 0..1 + Quotation + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Quotation. Payment Means + An association to potential Payment Means for Orders related to this Quotation. + 0..1 + Quotation + Payment Means + Payment Means + + + + + + + + + ASBIE + Quotation. Transaction Conditions + An association with any purchasing, sales or payment conditions applying to Orders related to this Quotation. + 0..1 + Quotation + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Quotation. Allowance Charge + An association to Allowances and Charges that apply to the Quotation as a whole. + 0..n + Quotation + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Quotation. Destination_ Country. Country + An association to the country of destination (for customs purposes for potential orders). + 0..1 + Quotation + Destination + Country + Country + + + + + + + + + ASBIE + Quotation. Tax Total + An association to the total tax amount of the Order (as estimated by the Seller). + 0..n + Quotation + Tax Total + Tax Total + + + + + + + + + ASBIE + Quotation. Quoted_ Monetary Total. Monetary Total + An association to the total amounts for the Quotation. + 1 + Quotation + Quoted + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Quotation. Quotation Line + An association to one or more Quotation Lines. + 1..n + Quotation + Quotation Line + Quotation Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ReceiptAdvice-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ReceiptAdvice-2.0.xsd new file mode 100644 index 0000000..cb7fb6f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ReceiptAdvice-2.0.xsd @@ -0,0 +1,440 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Receipt Advice. Details + The document used to describe the receipt of goods and services. + Receipt Advice + Receipt, Delivery Acknowledgement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Receipt Advice. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Receipt Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Receipt Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Receipt Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Receipt Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Receipt Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Receipt Advice. Identifier + An identifier for the Receipt Advice assigned by Delivery (Party). + 1 + Receipt Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Copy_ Indicator. Indicator + Indicates whether the Receipt Advice is a copy (true) or not (false). + 0..1 + Receipt Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Receipt Advice. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Receipt Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Issue Date. Date + The date assigned by Delivery (Party) on which the Receipt Advice was issued. + 1 + Receipt Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Receipt Advice. Issue Time. Time + The time assigned by Delivery (Party) at which the Receipt Advice was issued. + 0..1 + Receipt Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Receipt Advice. Document Status Code. Code + Identifies the status of the Receipt Advice with respect to its original state. This may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancelling or revising. + 0..1 + Receipt Advice + Document Status Code + Code + Document Status_ Code. Type + + + + + + + + + BBIE + Receipt Advice. Note. Text + Free-form text applying to the Receipt Advice. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Receipt Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Receipt Advice. Line Count. Numeric + The number of lines in the document. + 0..1 + Receipt Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Receipt Advice. Order Reference + An association to Order Reference. + 0..n + Receipt Advice + Order Reference + Order Reference + + + + + + + + + ASBIE + Receipt Advice. Despatch_ Document Reference. Document Reference + An associative reference to Despatch Advice. + 0..n + Receipt Advice + Despatch + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Advice. Additional_ Document Reference. Document Reference + An associative reference to Additional Document + 0..n + Receipt Advice + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Advice. Signature + An association to Signature. + 0..n + Receipt Advice + Signature + Signature + + + + + + + + + ASBIE + Receipt Advice. Delivery_ Customer Party. Customer Party + An association to the Delivery Party. + 1 + Receipt Advice + Delivery + Customer Party + Customer Party + + + + + + + + + ASBIE + Receipt Advice. Despatch_ Supplier Party. Supplier Party + An association to the Dispatch Party. + 1 + Receipt Advice + Despatch + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Receipt Advice. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 0..1 + Receipt Advice + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Receipt Advice. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 0..1 + Receipt Advice + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Receipt Advice. Shipment + An association to Shipment. + 0..1 + Receipt Advice + Shipment + Shipment + + + + + + + + + ASBIE + Receipt Advice. Receipt Line + An association to Receipt Advice Line. + 1..n + Receipt Advice + Receipt Line + Receipt Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Reminder-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Reminder-2.0.xsd new file mode 100644 index 0000000..b9e5fcf --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Reminder-2.0.xsd @@ -0,0 +1,716 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Reminder. Details + The document used to remind the customer of payments overdue. + Reminder + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Reminder. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Reminder + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Reminder. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Reminder + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Reminder. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Reminder + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Reminder. Identifier + An identifier for the Reminder assigned by the Creditor. + 1 + Reminder + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Reminder. Copy_ Indicator. Indicator + Indicates whether a document is a copy (true) or not (false). + 0..1 + Reminder + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Reminder. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Reminder + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder. Issue Date. Date + The date assigned by the Creditor on which the Invoice was issued. + 1 + Reminder + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Reminder. Issue Time. Time + The time assigned by the Creditor on which the Reminder was issued. + 0..1 + Reminder + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Reminder. Reminder Type Code. Code + Code specifying the type of the Reminder. + 0..1 + Reminder + Reminder Type Code + Code + Code. Type + + + + + + + + + BBIE + Reminder. Reminder Sequence. Numeric + The sequence number of the current reminder. Specifies the number of reminders previously sent plus one. + 0..1 + Reminder + Reminder Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Reminder. Note. Text + Free-form text applying to the Reminder. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Reminder + Note + Text + Text. Type + + + + + + + + + BBIE + Reminder. Tax Point Date. Date + The date of the Reminder used to indicate the point at which tax becomes applicable. + 0..1 + Reminder + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Reminder. Document_ Currency Code. Code + The currency in which the Document is presented. This may be the same currency as the pricing or as the tax. + 0..1 + Reminder + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Tax_ Currency Code. Code + The currency used for tax amounts in the Reminder. + 0..1 + Reminder + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Pricing_ Currency Code. Code + The currency used for prices in the Reminder. + 0..1 + Reminder + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Payment_ Currency Code. Code + The currency used for payment in the Reminder. + 0..1 + Reminder + Payment + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Payment Alternative_ Currency Code. Code + The alternative currency used for payment in the Reminder. + 0..1 + Reminder + Payment Alternative + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Accounting Cost Code. Code + The Buyer's accounting code applied to the Reminder as a whole. + 0..1 + Reminder + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Reminder. Accounting Cost. Text + The Buyer's accounting code applied to the Reminder as a whole, expressed as text. + 0..1 + Reminder + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Reminder. Line Count. Numeric + The number of lines in the document. + 0..1 + Reminder + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Reminder. Reminder_ Period. Period + An association to period(s) to which the Reminder applies. + 0..n + Reminder + Reminder + Period + Period + + + + + + + + + ASBIE + Reminder. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Reminder + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Reminder. Signature + An association to Signature. + 0..n + Reminder + Signature + Signature + + + + + + + + + ASBIE + Reminder. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 1 + Reminder + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Reminder. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 1 + Reminder + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Reminder. Payee_ Party. Party + An association to the Payee. + 0..1 + Reminder + Payee + Party + Party + + + + + + + + + ASBIE + Reminder. Tax Representative_ Party. Party + An association to the Tax Representative. + 0..1 + Reminder + Tax Representative + Party + Party + + + + + + + + + ASBIE + Reminder. Payment Means + An association to Payment Means. + 0..n + Reminder + Payment Means + Payment Means + + + + + + + + + ASBIE + Reminder. Payment Terms + An association to Payment Terms. + 0..n + Reminder + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Reminder. Prepaid_ Payment. Payment + An association to prepaid payment(s). + 0..n + Reminder + Prepaid + Payment + Payment + + + + + + + + + ASBIE + Reminder. Allowance Charge + An association to Allowances and Charges that apply to the Reminder as a whole. + 0..n + Reminder + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Reminder. Tax_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Tax Currency. + 0..1 + Reminder + Tax + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Pricing_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Pricing Currency. + 0..1 + Reminder + Pricing + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Payment_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Currency. + 0..1 + Reminder + Payment + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Payment Alternative_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Alternative Currency. + 0..1 + Reminder + Payment Alternative + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Tax Total + An association to Tax Total for specific tax types/rates. + 0..n + Reminder + Tax Total + Tax Total + + + + + + + + + ASBIE + Reminder. Legal_ Monetary Total. Monetary Total + An association to the total amount payable on the Invoice, including Allowances, Charges, and Taxes. + 1 + Reminder + Legal + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Reminder. Reminder Line + An association to Reminder Line. + 1..n + Reminder + Reminder Line + Reminder Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-RemittanceAdvice-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-RemittanceAdvice-2.0.xsd new file mode 100644 index 0000000..212bc4b --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-RemittanceAdvice-2.0.xsd @@ -0,0 +1,540 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Remittance Advice. Details + The document used to specify details of an actual payment. + Remittance Advice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Remittance Advice. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Remittance Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Remittance Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Remittance Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Remittance Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Remittance Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Remittance Advice. Identifier + An identifier for the Remittance Advice assigned by the Debtor. + 1 + Remittance Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice. Copy_ Indicator. Indicator + Indicates whether the Remittance Advice is a copy (true) or not (false). + 0..1 + Remittance Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Remittance Advice. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Remittance Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice. Issue Date. Date + The date assigned by the Debtor on which the Remittance Advice was issued. + 1 + Remittance Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Remittance Advice. Issue Time. Time + The time assigned by the Debtor at which the Remittance Advice was issued. + 0..1 + Remittance Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Remittance Advice. Note. Text + Free-form text applying to the Remittance Advice. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Remittance Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Document_ Currency Code. Code + The default currency for the Remittance Advice. + 0..1 + Remittance Advice + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Debit Amount. Amount + The totals of all debit amounts for the Remittance Advice. + 0..1 + Remittance Advice + Total + Debit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Credit Amount. Amount + The totals of all credit amounts for the Remittance Advice. + 0..1 + Remittance Advice + Total + Credit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Payment Amount. Amount + The total payable amount for the Remittance Advice (positive). + 0..1 + Remittance Advice + Total + Payment Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Payment Order Reference. Text + A reference to the Payment Order (from the Payer to the Payer's bank). + 0..1 + Remittance Advice + Payment Order Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Payer_ Reference. Text + The Payer;'s internal reference for the payment. + 0..1 + Remittance Advice + Payer + Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Invoicing Party_ Reference. Text + The Invoicing Party's reference to the payment, previously requested of the Payer to accompany remittance. + 0..1 + Remittance Advice + Invoicing Party + Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Line Count. Numeric + The number of lines in the document. + 0..1 + Remittance Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Remittance Advice. Invoice_ Period. Period + Associates the Remittance Advice with an Invoicing Period rather than a specific Invoice. + 0..n + Remittance Advice + Invoice + Period + Period + + + + + + + + + ASBIE + Remittance Advice. Billing Reference + An association to Billing Reference. + 0..1 + Remittance Advice + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Remittance Advice. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Remittance Advice + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Remittance Advice. Signature + An association to Signature. + 0..n + Remittance Advice + Signature + Signature + + + + + + + + + ASBIE + Remittance Advice. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 1 + Remittance Advice + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 1 + Remittance Advice + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice. Payee_ Party. Party + An association to the Payee. + 0..1 + Remittance Advice + Payee + Party + Party + + + + + + + + + ASBIE + Remittance Advice. Payment Means + An association to Payment Means. + 0..1 + Remittance Advice + Payment Means + Payment Means + + + + + + + + + ASBIE + Remittance Advice. Tax Total + An association to Tax Total. + 0..n + Remittance Advice + Tax Total + Tax Total + + + + + + + + + ASBIE + Remittance Advice. Remittance Advice Line + An association to one or more Remittance Advice Lines. + 1..n + Remittance Advice + Remittance Advice Line + Remittance Advice Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-RequestForQuotation-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-RequestForQuotation-2.0.xsd new file mode 100644 index 0000000..c7d6d11 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-RequestForQuotation-2.0.xsd @@ -0,0 +1,440 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Request For Quotation. Details + The document used to request a Quotation for goods and services from a Seller. + Request For Quotation + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Request For Quotation. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Request For Quotation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Request For Quotation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Request For Quotation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Request For Quotation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Request For Quotation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Request For Quotation. Identifier + An identifier for the Request For Quotation assigned by the Originator. + 0..1 + Request For Quotation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation. Copy_ Indicator. Indicator + Indicates whether the Request For Quotation is a copy (true) or not (false). + 0..1 + Request For Quotation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Request For Quotation. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Request For Quotation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation. Issue Date. Date + The date assigned by the Originator on which the Quotation was requested. + 1 + Request For Quotation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Request For Quotation. Issue Time. Time + The time assigned by the Originator at which the Quotation was requested. + 1 + Request For Quotation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Request For Quotation. Note. Text + Free-form text applying to the Request For Quotation. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Request For Quotation + Note + Text + Text. Type + + + + + + + + + BBIE + Request For Quotation. Pricing_ Currency Code. Code + The currency that the Seller should use to price the Quotation. + 0..1 + Request For Quotation + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Request For Quotation. Line Count. Numeric + The number of lines in the document. + 0..1 + Request For Quotation + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Request For Quotation. Catalogue_ Document Reference. Document Reference + An associative reference to Catalogue. + 0..1 + Request For Quotation + Catalogue + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Request For Quotation + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation. Signature + An association to Signature. + 0..n + Request For Quotation + Signature + Signature + + + + + + + + + ASBIE + Request For Quotation. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Request For Quotation + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Request For Quotation. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 1 + Request For Quotation + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Request For Quotation. Delivery + An association to Delivery. + 0..n + Request For Quotation + Delivery + Delivery + + + + + + + + + ASBIE + Request For Quotation. Delivery Terms + An association to Delivery Terms. + 0..n + Request For Quotation + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Request For Quotation. Destination_ Country. Country + An association to the country of destination (for customs purposes for potential orders). + 0..1 + Request For Quotation + Destination + Country + Country + + + + + + + + + ASBIE + Request For Quotation. Contract + An association to a framework agreement or contract. + 0..n + Request For Quotation + Contract + Contract + + + + + + + + + ASBIE + Request For Quotation. Request For Quotation Line + An association to one or more Request For Quotation Lines. + 1..n + Request For Quotation + Request For Quotation Line + Request For Quotation Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-SelfBilledCreditNote-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-SelfBilledCreditNote-2.0.xsd new file mode 100644 index 0000000..7b7956f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-SelfBilledCreditNote-2.0.xsd @@ -0,0 +1,664 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Self Billed Credit Note. Details + The Credit Note created by the Debtor in a Self Billing arrangement with a Creditor; Self Billed Credit Note replaces Debit Note in such arrangements. + Self Billed Credit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Self Billed Credit Note. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Self Billed Credit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Self Billed Credit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Self Billed Credit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Self Billed Credit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Self Billed Credit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Self Billed Credit Note. Identifier + An identifier for the Self Billed Credit Note assigned by the Debtor. + 1 + Self Billed Credit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Credit Note. Copy_ Indicator. Indicator + Indicates whether the Self Billed Credit Note is a copy (true) or not (false). + 0..1 + Self Billed Credit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Self Billed Credit Note. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Self Billed Credit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Credit Note. Issue Date. Date + The date assigned by the Debtor on which the Self Billed Credit Note was issued. + 1 + Self Billed Credit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Credit Note. Issue Time. Time + The time assigned by the Debtor at which the Self Billed Credit Note was issued. + 0..1 + Self Billed Credit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Self Billed Credit Note. Tax Point Date. Date + The date of the Self Billed Credit Note, used to indicate the point at which tax becomes applicable. + 0..1 + Self Billed Credit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Credit Note. Note. Text + Free-form text applying to the Self Billed Credit Note. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Self Billed Credit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Self Billed Credit Note. Document_ Currency Code. Code + The default currency for the Self Billed Credit Note. + 1 + Self Billed Credit Note + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Tax_ Currency Code. Code + The currency used for tax amounts in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Pricing_ Currency Code. Code + The currency used for prices in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Accounting Cost Code. Code + The Buyer's accounting code applied to the Self Billed Credit Note as a whole. + 0..1 + Self Billed Credit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Accounting Cost. Text + The Buyer's accounting code applied to the Self Billed Credit Note as a whole, expressed as text. + 0..1 + Self Billed Credit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Self Billed Credit Note. Line Count. Numeric + The number of lines in the document. + 0..1 + Self Billed Credit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Self Billed Credit Note. Invoice_ Period. Period + Associates the Self Billed Credit Note with an Invoicing Period rather than a specific Invoice (Self Billing). + 0..n + Self Billed Credit Note + Invoice + Period + Period + + + + + + + + + ASBIE + Self Billed Credit Note. Discrepancy_ Response. Response + An association to a reason for the Self Billed Credit Note as a whole. + 0..n + Self Billed Credit Note + Discrepancy + Response + Response + + + + + + + + + ASBIE + Self Billed Credit Note. Order Reference + An association to Order Reference. + 0..1 + Self Billed Credit Note + Order Reference + Order Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Billing Reference + An association to Billing Reference. + 0..n + Self Billed Credit Note + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Despatch_ Document Reference. Document Reference + An associative reference to Despatch Advice. + 0..n + Self Billed Credit Note + Despatch + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Receipt_ Document Reference. Document Reference + An associative reference to Receipt Advice. + 0..n + Self Billed Credit Note + Receipt + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Contract_ Document Reference. Document Reference + An associative reference to Contract. + 0..n + Self Billed Credit Note + Contract + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Self Billed Credit Note + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Signature + An association to Signature. + 0..n + Self Billed Credit Note + Signature + Signature + + + + + + + + + ASBIE + Self Billed Credit Note. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 1 + Self Billed Credit Note + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Credit Note. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Customer Party. + 1 + Self Billed Credit Note + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Credit Note. Payee_ Party. Party + An association to the Payee. + 0..1 + Self Billed Credit Note + Payee + Party + Party + + + + + + + + + ASBIE + Self Billed Credit Note. Tax Representative_ Party. Party + An association to the Tax Representative. + 0..1 + Self Billed Credit Note + Tax Representative + Party + Party + + + + + + + + + ASBIE + Self Billed Credit Note. Allowance Charge + An association with an overall charge or allowance. + 0..n + Self Billed Credit Note + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Self Billed Credit Note. Tax_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Tax Currency. + 0..1 + Self Billed Credit Note + Tax + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Pricing_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Pricing Currency. + 0..1 + Self Billed Credit Note + Pricing + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Tax Total + An association to Tax Total for specific tax types/rates. + 0..n + Self Billed Credit Note + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Credit Note. Legal_ Monetary Total. Monetary Total + An association to the total amount payable on the Self Billed Credit Note, including Allowances, Charges, and Taxes. + 1 + Self Billed Credit Note + Legal + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Self Billed Credit Note. Credit Note Line + An association to one or more Self Billed Credit Note Lines. + 1..n + Self Billed Credit Note + Credit Note Line + Credit Note Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-SelfBilledInvoice-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-SelfBilledInvoice-2.0.xsd new file mode 100644 index 0000000..121b941 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-SelfBilledInvoice-2.0.xsd @@ -0,0 +1,870 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Self Billed Invoice. Details + The Invoice document created by the Customer (rather than the Supplier) in a Self Billing relationship. + Self Billed Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Self Billed Invoice. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Self Billed Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Self Billed Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Self Billed Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Self Billed Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Self Billed Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Self Billed Invoice. Identifier + An identifier for the Self Billed Invoice. + 1 + Self Billed Invoice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Copy_ Indicator. Indicator + Indicates whether a document is a copy (true) or not (false). + 0..1 + Self Billed Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Self Billed Invoice. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Self Billed Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Issue Date. Date + The date on which the Self Billed Invoice was issued. + 1 + Self Billed Invoice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Invoice. Issue Time. Time + The time at which the Self Billed Invoice was issued. + 0..1 + Self Billed Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Self Billed Invoice. Tax Point Date. Date + The date of the invoice for tax purposes, in accordance with the applicable tax regulation. + 0..1 + Self Billed Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Invoice. Invoice Type Code. Code + Identifies the type of the invoice by a code. + 0..1 + Self Billed Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Note. Text + Contains any free-form text pertinent to the entire document or to the document message itself. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Self Billed Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Self Billed Invoice. Document_ Currency Code. Code + The currency in which the Invoice is presented. This may be the same currency as the pricing or as the tax. + 0..1 + Self Billed Invoice + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Tax_ Currency Code. Code + The currency used for tax amounts in the Invoice. + 0..1 + Self Billed Invoice + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Pricing_ Currency Code. Code + The currency used for prices in the Invoice. + 0..1 + Self Billed Invoice + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Payment_ Currency Code. Code + The currency used for payment in the Invoice. + 0..1 + Self Billed Invoice + Payment + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Payment Alternative_ Currency Code. Code + The alternative currency used for payment in the Invoice. + 0..1 + Self Billed Invoice + Payment Alternative + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Accounting Cost Code. Code + An accounting cost code applied to the Invoice as a whole. + 0..1 + Self Billed Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Accounting Cost. Text + An accounting cost code applied to the Invoice as a whole. + 0..1 + Self Billed Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Self Billed Invoice. Line Count. Numeric + The number of lines in the document. + 0..1 + Self Billed Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Self Billed Invoice. Invoice_ Period. Period + An association to period(s) to which the Self Billed Invoice applies. + 0..n + Self Billed Invoice + Invoice + Period + Period + + + + + + + + + ASBIE + Self Billed Invoice. Order Reference + An association to Order Reference. + 0..1 + Self Billed Invoice + Order Reference + Order Reference + + + + + + + + + ASBIE + Self Billed Invoice. Billing Reference + An association to Billing Reference. + 0..n + Self Billed Invoice + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Self Billed Invoice. Contract_ Document Reference. Document Reference + An associative reference to Contract. + 0..n + Self Billed Invoice + Contract + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Despatch_ Document Reference. Document Reference + An associative reference to Despatch Advice. + 0..n + Self Billed Invoice + Despatch + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Receipt_ Document Reference. Document Reference + An associative reference to Receipt Advice. + 0..n + Self Billed Invoice + Receipt + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Statement_ Document Reference. Document Reference + An associative reference to Statement + 0..n + Self Billed Invoice + Statement + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Originator_ Document Reference. Document Reference + An associative reference to Originator Document. + 0..n + Self Billed Invoice + Originator + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Self Billed Invoice + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Signature + An association to Signature. + 0..n + Self Billed Invoice + Signature + Signature + + + + + + + + + ASBIE + Self Billed Invoice. Accounting_ Customer Party. Customer Party + An association to Accounting Customer Party. + 1 + Self Billed Invoice + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Invoice. Accounting_ Supplier Party. Supplier Party + An association to Accounting Supplier Party. + 1 + Self Billed Invoice + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Invoice. Buyer_ Customer Party. Customer Party + Associates the Invoice with information about the buyer involved in the transaction. + 0..1 + Self Billed Invoice + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Invoice. Seller_ Supplier Party. Supplier Party + Associates the Invoice with information about the seller involved in the transaction. + 0..1 + Self Billed Invoice + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Invoice. Payee_ Party. Party + Associates the Invoice with information about the payee involved in the transaction. + 0..1 + Self Billed Invoice + Payee + Party + Party + + + + + + + + + ASBIE + Self Billed Invoice. Tax Representative_ Party. Party + An association to the Tax Representative. + 0..1 + Self Billed Invoice + Tax Representative + Party + Party + + + + + + + + + ASBIE + Self Billed Invoice. Delivery + Associates the overall Invoice with the details of a delivery (or deliveries). + 0..n + Self Billed Invoice + Delivery + Delivery + + + + + + + + + ASBIE + Self Billed Invoice. Delivery Terms + Associates the Invoice with the delivery terms applicable/required. + 0..n + Self Billed Invoice + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Self Billed Invoice. Payment Means + Associates the Invoice with the expected means of payment. + 0..1 + Self Billed Invoice + Payment Means + Payment Means + + + + + + + + + ASBIE + Self Billed Invoice. Payment Terms + Associates the Invoice with the payment terms applicable/offered. + 0..n + Self Billed Invoice + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Self Billed Invoice. Prepaid_ Payment. Payment + An association to prepaid payment(s). + 0..n + Self Billed Invoice + Prepaid + Payment + Payment + + + + + + + + + ASBIE + Self Billed Invoice. Allowance Charge + Associates the Invoice with an overall charge or allowance. + 0..n + Self Billed Invoice + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Self Billed Invoice. Tax_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Tax Currency. + 0..1 + Self Billed Invoice + Tax + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Pricing_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Pricing Currency. + 0..1 + Self Billed Invoice + Pricing + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Payment_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Currency. + 0..1 + Self Billed Invoice + Payment + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Alternative Currency. + 0..1 + Self Billed Invoice + Payment Alternative + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Tax Total + Associates the Invoice with summary information for a particular tax. + 0..n + Self Billed Invoice + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Invoice. Legal_ Monetary Total. Monetary Total + Associates the Invoice with a set of totals required for the Invoice to be a legal document. + 1 + Self Billed Invoice + Legal + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Self Billed Invoice. Invoice Line + An Invoice has one or more invoice lines. + 1..n + Self Billed Invoice + Invoice Line + Invoice Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Statement-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Statement-2.0.xsd new file mode 100644 index 0000000..ff8523b --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Statement-2.0.xsd @@ -0,0 +1,553 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Statement. Details + The document used to specify the status of Orders, Billing, and Payment. This document is a Statement of Account and not intended as a summary Invoice + Statement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Statement. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Statement + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Statement. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Statement + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Statement. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Statement + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Statement. Identifier + An identifier for the Statement. + 1 + Statement + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement. Copy_ Indicator. Indicator + Indicates whether the Statement is a copy (true) or not (false). + 0..1 + Statement + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Statement. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Statement + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement. Issue Date. Date + The date assigned by the Creditor on which the Statement was issued. + 1 + Statement + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Statement. Issue Time. Time + The time assigned by the Creditor at which the Statement was issued. + 0..1 + Statement + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Statement. Note. Text + Free-form text applying to the Statement. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Statement + Note + Text + Text. Type + + + + + + + + + BBIE + Statement. Document_ Currency Code. Code + The default currency for the Statement. + 1 + Statement + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Statement. Total_ Debit Amount. Amount + The total of all debit amounts for the Statement. + 0..1 + Statement + Total + Debit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Total_ Credit Amount. Amount + The total of all credit amounts for the Statement. + 0..1 + Statement + Total + Credit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Total_ Balance Amount. Amount + The total amount for the Statement. + 0..1 + Statement + Total + Balance Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Line Count. Numeric + The number of lines in the document. + 0..1 + Statement + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Statement. Statement_ Period. Period + An association to period(s) to which the Statement applies. + 0..1 + Statement + Statement + Period + Period + + + + + + + + + ASBIE + Statement. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Statement + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Statement. Signature + An association to Signature. + 0..n + Statement + Signature + Signature + + + + + + + + + ASBIE + Statement. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 1 + Statement + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 1 + Statement + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 0..1 + Statement + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 0..1 + Statement + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Statement + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Payee_ Party. Party + An association to the Payee. + 0..1 + Statement + Payee + Party + Party + + + + + + + + + ASBIE + Statement. Payment Means + An association to Payment Means. + 0..1 + Statement + Payment Means + Payment Means + + + + + + + + + ASBIE + Statement. Payment Terms + An association to Payment Terms. + 0..n + Statement + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Statement. Allowance Charge + An association to Allowances and Charges that apply to the Statement period as a whole. + 0..n + Statement + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Statement. Tax Total + An association with summary information for particular taxes. + 0..n + Statement + Tax Total + Tax Total + + + + + + + + + ASBIE + Statement. Statement Line + An association to one or more Statement Lines. + 1..n + Statement + Statement Line + Statement Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-TransportationStatus-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-TransportationStatus-2.0.xsd new file mode 100644 index 0000000..4a4c291 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-TransportationStatus-2.0.xsd @@ -0,0 +1,377 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Transportation Status. Details + A message to report the transport status and/or change in the transport status (i.e. event) between agreed parties. + Transportation Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transportation Status. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transportation Status + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Transportation Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transportation Status + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Transportation Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transportation Status + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Transportation Status. Identifier + Unique identifier of the Status message. + 1 + Transportation Status + Identifier + Identifier + Identifier. Type + Freight Forwarding Instruction, Shippers Letter of Instruction + + + + + + + + + BBIE + Transportation Status. Carrier Assigned_ Identifier. Identifier + Reference number assigned by a carrier or its agent to identify a specific shipment, such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Transportation Status + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Transportation Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Issue Date. Date + Date on which the status message was issued. + 0..1 + Transportation Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transportation Status. Issue Time. Time + Time at which the status message was issued. + 0..1 + Transportation Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transportation Status. Name + Name of a status message. + 0..1 + Transportation Status + Name + Name + Name. Type + + + + + + + + + BBIE + Transportation Status. Description. Text + Textual description of a status message. + 0..n + Transportation Status + Description + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Note. Text + Textual note associated with a status message. + 0..n + Transportation Status + Note + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order. + 0..1 + Transportation Status + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Other_ Instruction. Text + Instruction about this message. + 0..1 + Transportation Status + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Transportation Status. Consignment + An association to Consignment covered by the status message. + 1 + Transportation Status + Consignment + Consignment + + + + + + + + + ASBIE + Transportation Status. Transport Event + Events that relate to this status report. + 1..n + Transportation Status + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Status. Document Reference + An association to Document Reference. + 0..n + Transportation Status + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status. Signature + An association to Signature. + 0..n + Transportation Status + Signature + Signature + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Waybill-2.0.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Waybill-2.0.xsd new file mode 100644 index 0000000..fb8c802 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Waybill-2.0.xsd @@ -0,0 +1,476 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Waybill. Details + The Waybill is issued by the party who acts as an agent for the carrier or other agents, to the party who gives instructions for the transportation services (shipper, consignor, etc.) stating the details of the transportation, charges, and terms and conditions under which the transportation service is provided. The party issuing this document could be a party other than that providing the physical transportation. It corresponds to the information on the Forwarding Instruction. It is used for all modes of transport. It can serve as a contractual document between the parties for the transportation service. The document made out by the carrier or on behalf of the carrier evidencing the contract for the transport of cargo. + Waybill + Consignment Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Waybill. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Waybill + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Waybill. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Waybill + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Waybill. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Waybill + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Waybill. Identifier + Unique identifier of the Waybill. Reference number to identify a document evidencing a transport contract. + 1 + Waybill + Identifier + Identifier + Identifier. Type + Master Waybill Number + + + + + + + + + BBIE + Waybill. Carrier Assigned_ Identifier. Identifier + Reference number assigned by a carrier or its agent to identify a specific shipment. + 0..1 + Waybill + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Waybill + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. Issue Date. Date + Date on which the Waybill was issued. + 0..1 + Waybill + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Waybill. Issue Time. Time + Time at which the Waybill was issued. + 0..1 + Waybill + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Waybill. Name + Name of a Waybill. + 0..1 + Waybill + Name + Name + Name. Type + "Air Waybill", "House Waybill" + + + + + + + + + BBIE + Waybill. Description. Text + Textual description of a Waybill. + 0..n + Waybill + Description + Text + Text. Type + + + + + + + + + BBIE + Waybill. Note. Text + Textual note associated with a Waybill. + 0..n + Waybill + Note + Text + Text. Type + + + + + + + + + BBIE + Waybill. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order or Forwarding Instruction. + 0..1 + Waybill + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Waybill + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Waybill. Declared Carriage_ Value. Amount + Value, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Waybill + Declared Carriage + Value + Amount + Amount. Type + + + + + + + + + BBIE + Waybill. Other_ Instruction. Text + Contains other free-text based instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Waybill + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Waybill. Consignor_ Party. Party + The party consigning goods as stipulated in the transport contract by the party ordering transport. + 0..1 + Waybill + Consignor + Party + Party + + + + + + + + + ASBIE + Waybill. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Waybill + Carrier + Party + Party + + + + + + + + + ASBIE + Waybill. Freight Forwarder_ Party. Party + The party combining individual smaller consignments into a single larger shipment (so-called consolidated consignment ) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Waybill + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Waybill. Shipment + A separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport. + 1 + Waybill + Shipment + Shipment + + + + + + + + + ASBIE + Waybill. Document Reference + An association to Document Reference. + 0..n + Waybill + Document Reference + Document Reference + + + + + + + + + ASBIE + Waybill. Exchange Rate + Information that directly relates to the rate of exchange (conversion) between two currencies. + 0..n + Waybill + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Waybill. Document Distribution + The distribution of the Waybill to interested parties. + 0..n + Waybill + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Waybill. Signature + An association to Signature. + 0..n + Waybill + Signature + Signature + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/CCTS_CCT_SchemaModule-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/CCTS_CCT_SchemaModule-2.1.xsd new file mode 100644 index 0000000..b7e8983 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/CCTS_CCT_SchemaModule-2.1.xsd @@ -0,0 +1,731 @@ + + + + + + + + + + + + + + UNDT000001 + CCT + Amount. Type + 1.0 + A number of monetary units specified in a currency where the unit of the currency is explicit or implied. + Amount + decimal + + + + + + + + UNDT000001-SC2 + SC + Amount Currency. Identifier + The currency of the amount. + Amount Currency + Identification + Identifier + string + Reference UNECE Rec 9, using 3-letter alphabetic codes. + + + + + + + UNDT000001-SC3 + SC + Amount Currency. Code List Version. Identifier + The VersionID of the UN/ECE Rec9 code list. + Amount Currency + Code List Version + Identifier + string + + + + + + + + + + + + UNDT000002 + CCT + Binary Object. Type + 1.0 + A set of finite-length sequences of binary octets. + Binary Object + binary + + + + + + + + UNDT000002-SC2 + SC + Binary Object. Format. Text + The format of the binary content. + Binary Object + Format + Text + string + + + + + + + UNDT000002-SC3 + SC + Binary Object. Mime. Code + The mime type of the binary object. + Binary Object + Mime + Code + string + + + + + + + UNDT000002-SC4 + SC + Binary Object. Encoding. Code + Specifies the decoding algorithm of the binary object. + Binary Object + Encoding + Code + string + + + + + + + UNDT000002-SC5 + SC + Binary Object. Character Set. Code + The character set of the binary object if the mime type is text. + Binary Object + Character Set + Code + string + + + + + + + UNDT000002-SC6 + SC + Binary Object. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the binary object is located. + Binary Object + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000002-SC7 + SC + Binary Object. Filename.Text + The filename of the binary object. + Binary Object + Filename + Text + string + + + + + + + + + + + + UNDT000007 + CCT + Code. Type + 1.0 + A character string (letters, figures, or symbols) that for brevity and/or languange independence may be used to represent or replace a definitive value or text of an attribute together with relevant supplementary information. + Code + string + Should not be used if the character string identifies an instance of an object class or an object in the real world, in which case the Identifier. Type should be used. + + + + + + + + UNDT000007-SC2 + SC + Code List. Identifier + The identification of a list of codes. + Code List + Identification + Identifier + string + + + + + + + UNDT000007-SC3 + SC + Code List. Agency. Identifier + An agency that maintains one or more lists of codes. + Code List + Agency + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000007-SC4 + SC + Code List. Agency Name. Text + The name of the agency that maintains the list of codes. + Code List + Agency Name + Text + string + + + + + + + UNDT000007-SC5 + SC + Code List. Name. Text + The name of a list of codes. + Code List + Name + Text + string + + + + + + + UNDT000007-SC6 + SC + Code List. Version. Identifier + The version of the list of codes. + Code List + Version + Identifier + string + + + + + + + UNDT000007-SC7 + SC + Code. Name. Text + The textual equivalent of the code content component. + Code + Name + Text + string + + + + + + + UNDT000007-SC8 + SC + Language. Identifier + The identifier of the language used in the code name. + Language + Identification + Identifier + string + + + + + + + UNDT000007-SC9 + SC + Code List. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list is located. + Code List + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000007-SC10 + SC + Code List Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list scheme is located. + Code List Scheme + Uniform Resource Identifier + Identifier + string + + + + + + + + + + + + UNDT000008 + CCT + Date Time. Type + 1.0 + A particular point in the progression of time together with the relevant supplementary information. + Date Time + string + Can be used for a date and/or time. + + + + + + + + UNDT000008-SC1 + SC + Date Time. Format. Text + The format of the date time content + Date Time + Format + Text + string + + + + + + + + + + + + UNDT000011 + CCT + Identifier. Type + 1.0 + A character string to identify and distinguish uniquely, one instance of an object in an identification scheme from all other objects in the same scheme together with relevant supplementary information. + Identifier + string + + + + + + + + UNDT000011-SC2 + SC + Identification Scheme. Identifier + The identification of the identification scheme. + Identification Scheme + Identification + Identifier + string + + + + + + + UNDT000011-SC3 + SC + Identification Scheme. Name. Text + The name of the identification scheme. + Identification Scheme + Name + Text + string + + + + + + + UNDT000011-SC4 + SC + Identification Scheme Agency. Identifier + The identification of the agency that maintains the identification scheme. + Identification Scheme Agency + Identification + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000011-SC5 + SC + Identification Scheme Agency. Name. Text + The name of the agency that maintains the identification scheme. + Identification Scheme Agency + Agency Name + Text + string + + + + + + + UNDT000011-SC6 + SC + Identification Scheme. Version. Identifier + The version of the identification scheme. + Identification Scheme + Version + Identifier + string + + + + + + + UNDT000011-SC7 + SC + Identification Scheme Data. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme data is located. + Identification Scheme Data + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000011-SC8 + SC + Identification Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme is located. + Identification Scheme + Uniform Resource Identifier + Identifier + string + + + + + + + + + + + + UNDT000012 + CCT + Indicator. Type + 1.0 + A list of two mutually exclusive Boolean values that express the only possible states of a Property. + Indicator + string + + + + + + + + UNDT000012-SC2 + SC + Indicator. Format. Text + Whether the indicator is numeric, textual or binary. + Indicator + Format + Text + string + + + + + + + + + + + + UNDT000013 + CCT + Measure. Type + 1.0 + A numeric value determined by measuring an object along with the specified unit of measure. + Measure + decimal + + + + + + + + UNDT000013-SC2 + SC + Measure Unit. Code + The type of unit of measure. + Measure Unit + Code + Code + string + Reference UNECE Rec. 20 and X12 355 + + + + + + + UNDT000013-SC3 + SC + Measure Unit. Code List Version. Identifier + The version of the measure unit code list. + Measure Unit + Code List Version + Identifier + string + + + + + + + + + + + + UNDT000014 + CCT + Numeric. Type + 1.0 + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Numeric + string + + + + + + + + UNDT000014-SC2 + SC + Numeric. Format. Text + Whether the number is an integer, decimal, real number or percentage. + Numeric + Format + Text + string + + + + + + + + + + + + UNDT000018 + CCT + Quantity. Type + 1.0 + A counted number of non-monetary units possibly including fractions. + Quantity + decimal + + + + + + + + UNDT000018-SC2 + SC + Quantity. Unit. Code + The unit of the quantity + Quantity + Unit Code + Code + string + + + + + + + UNDT000018-SC3 + SC + Quantity Unit. Code List. Identifier + The quantity unit code list. + Quantity Unit + Code List + Identifier + string + + + + + + + UNDT000018-SC4 + SC + Quantity Unit. Code List Agency. Identifier + The identification of the agency that maintains the quantity unit code list + Quantity Unit + Code List Agency + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000018-SC5 + SC + Quantity Unit. Code List Agency Name. Text + The name of the agency which maintains the quantity unit code list. + Quantity Unit + Code List Agency Name + Text + string + + + + + + + + + + + + UNDT000019 + CCT + Text. Type + 1.0 + A character string (i.e. a finite set of characters) generally in the form of words of a language. + Text + string + + + + + + + + UNDT000019-SC2 + SC + Language. Identifier + The identifier of the language used in the content component. + Language + Identification + Identifier + string + + + + + + + UNDT000019-SC3 + SC + Language. Locale. Identifier + The identification of the locale of the language. + Language + Locale + Identifier + string + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonAggregateComponents-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonAggregateComponents-2.1.xsd new file mode 100644 index 0000000..ec896c7 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonAggregateComponents-2.1.xsd @@ -0,0 +1,39799 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ABIE + Activity Data Line. Details + A class to associate a time period and locations (activity data) with an item for inventory planning purposes. + Activity Data Line + + + + + + + + + BBIE + Activity Data Line. Identifier + An identifier for this activity data line. + 1 + Activity Data Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Activity Data Line. Supply Chain Activity Type Code. Code + A code signifying the type of supply chain activity. + 1 + Activity Data Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + ASBIE + Activity Data Line. Buyer_ Customer Party. Customer Party + The buyer of the item. + 0..1 + Activity Data Line + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Activity Data Line. Seller_ Supplier Party. Supplier Party + The seller of the item. + 0..1 + Activity Data Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Activity Data Line. Activity_ Period. Period + The period during which the activity is realized. + 0..1 + Activity Data Line + Activity + Period + Period + Period + + + + + + + + + ASBIE + Activity Data Line. Activity Origin_ Location. Location + Either the location where the movement of goods is observed or the location from which the goods are moved. + 1 + Activity Data Line + Activity Origin + Location + Location + Location + + + + + + + + + ASBIE + Activity Data Line. Activity Final_ Location. Location + The location to which the goods are moved. + 0..1 + Activity Data Line + Activity Final + Location + Location + Location + + + + + + + + + ASBIE + Activity Data Line. Sales Item + Sales information for an item to which this line applies. + 1..n + Activity Data Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Activity Property. Details + A class to define a name/value pair for a property of an inventory planning activity. + Activity Property + + + + + + + + + BBIE + Activity Property. Name + The name of this activity property. + 1 + Activity Property + Name + Name + Name. Type + + + + + + + + + BBIE + Activity Property. Value. Text + The value of this activity property. + 1 + Activity Property + Value + Text + Text. Type + + + + + + + + + + + ABIE + Address. Details + A class to define common information related to an address. + Address + + + + + + + + + BBIE + Address. Identifier + An identifier for this address within an agreed scheme of address identifiers. + 0..1 + Address + Identifier + Identifier + Identifier. Type + DetailsKey + + + + + + + + + BBIE + Address. Address Type Code. Code + A mutually agreed code signifying the type of this address. + 0..1 + Address + Address Type Code + Code + Code. Type + + + + + + + + + BBIE + Address. Address Format Code. Code + A mutually agreed code signifying the format of this address. + 0..1 + Address + Address Format Code + Code + Code. Type + + + + + + + + + BBIE + Address. Postbox. Text + A post office box number registered for postal delivery by a postal service provider. + 0..1 + Address + Postbox + Text + Text. Type + PostBox, PO Box + 123 + + + + + + + + + BBIE + Address. Floor. Text + An identifiable floor of a building. + 0..1 + Address + Floor + Text + Text. Type + SubPremiseNumber + 30 + + + + + + + + + BBIE + Address. Room. Text + An identifiable room, suite, or apartment of a building. + 0..1 + Address + Room + Text + Text. Type + SubPremiseNumber + Reception + + + + + + + + + BBIE + Address. Street Name. Name + The name of the street, road, avenue, way, etc. to which the number of the building is attached. + 0..1 + Address + Street Name + Name + Name. Type + Thoroughfare + Kwun Tong Road + + + + + + + + + BBIE + Address. Additional_ Street Name. Name + An additional street name used to further clarify the address. + 0..1 + Address + Additional + Street Name + Name + Name. Type + Thoroughfare + Cnr Aberdeen Road + + + + + + + + + BBIE + Address. Block Name. Name + The name of the block (an area surrounded by streets and usually containing several buildings) in which this address is located. + 0..1 + Address + Block Name + Name + Name. Type + Seabird + + + + + + + + + BBIE + Address. Building Name. Name + The name of a building. + 0..1 + Address + Building Name + Name + Name. Type + BuildingName + Plot 421 + + + + + + + + + BBIE + Address. Building Number. Text + The number of a building within the street. + 0..1 + Address + Building Number + Text + Text. Type + PremiseNumber + 388 + + + + + + + + + BBIE + Address. Inhouse_ Mail. Text + The specific identifable location within a building where mail is delivered. + 0..1 + Address + Inhouse + Mail + Text + Text. Type + MailStop + + + + + + + + + BBIE + Address. Department. Text + The department of the addressee. + 0..1 + Address + Department + Text + Text. Type + Department + Accounts Payable + + + + + + + + + BBIE + Address. Mark Attention. Text + The name, expressed as text, of a person or department in an organization to whose attention incoming mail is directed; corresponds to the printed forms "for the attention of", "FAO", and ATTN:". + 0..1 + Address + Mark Attention + Text + Text. Type + + + + + + + + + BBIE + Address. Mark Care. Text + The name, expressed as text, of a person or organization at this address into whose care incoming mail is entrusted; corresponds to the printed forms "care of" and "c/o". + 0..1 + Address + Mark Care + Text + Text. Type + + + + + + + + + BBIE + Address. Plot Identification. Text + An identifier (e.g., a parcel number) for the piece of land associated with this address. + 0..1 + Address + Plot Identification + Text + Text. Type + + + + + + + + + BBIE + Address. City Subdivision Name. Name + The name of the subdivision of a city, town, or village in which this address is located, such as the name of its district or borough. + 0..1 + Address + City Subdivision Name + Name + Name. Type + + + + + + + + + BBIE + Address. City Name. Name + The name of a city, town, or village. + 0..1 + Address + City Name + Name + Name. Type + LocalityName + Hong Kong + + + + + + + + + BBIE + Address. Postal_ Zone. Text + The postal identifier for this address according to the relevant national postal service, such as a ZIP code or Post Code. + 0..1 + Address + Postal + Zone + Text + Text. Type + PostalCodeNumber + SW11 4EW 2500 GG + + + + + + + + + BBIE + Address. Country Subentity. Text + The political or administrative division of a country in which this address is located, such as the name of its county, province, or state, expressed as text. + 0..1 + Address + Country Subentity + Text + Text. Type + AdministrativeArea, State, Country, Shire, Canton + Florida , Tamilnadu + + + + + + + + + BBIE + Address. Country Subentity Code. Code + The political or administrative division of a country in which this address is located, such as a county, province, or state, expressed as a code (typically nationally agreed). + 0..1 + Address + Country Subentity Code + Code + Code. Type + AdministrativeAreaCode, State Code + + + + + + + + + BBIE + Address. Region. Text + The recognized geographic or economic region or group of countries in which this address is located. + 0..1 + Address + Region + Text + Text. Type + LocalityName, Economic Zone + European Union + + + + + + + + + BBIE + Address. District. Text + The district or geographical division of a country or region in which this address is located. + 0..1 + Address + District + Text + Text. Type + LocalityName, Area + East Coast + + + + + + + + + BBIE + Address. Timezone Offset. Text + The time zone in which this address is located (as an offset from Universal Coordinated Time (UTC)) at the time of exchange. + 0..1 + Address + Timezone Offset + Text + Text. Type + +8:00 -3:00 + + + + + + + + + ASBIE + Address. Address Line + An unstructured address line. + 0..n + Address + Address Line + Address Line + Address Line + + + + + + + + + ASBIE + Address. Country + The country in which this address is situated. + 0..1 + Address + Country + Country + Country + + + + + + + + + ASBIE + Address. Location Coordinate + The geographical coordinates of this address. + 0..n + Address + Location Coordinate + Location Coordinate + Location Coordinate + + + + + + + + + + + ABIE + Address Line. Details + A class to define an unstructured address line. + Address Line + + + + + + + + + BBIE + Address Line. Line. Text + An address line expressed as unstructured text. + 1 + Address Line + Line + Text + Text. Type + 123 Standard Chartered Tower + + + + + + + + + + + ABIE + Air Transport. Details + A class to identify a specific aircraft used for transportation. + Air Transport + + + + + + + + + BBIE + Air Transport. Aircraft Identifier. Identifier + An identifer for a specific aircraft. + 1 + Air Transport + Aircraft Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Allowance Charge. Details + A class to describe information about a charge or discount as applied to a price component. + Allowance Charge + + + + + + + + + BBIE + Allowance Charge. Identifier + An identifier for this allowance or charge. + 0..1 + Allowance Charge + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Allowance Charge. Charge_ Indicator. Indicator + An indicator that this AllowanceCharge describes a charge (true) or a discount (false). + 1 + Allowance Charge + Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Allowance Charge. Allowance Charge Reason Code. Code + A mutually agreed code signifying the reason for this allowance or charge. + 0..1 + Allowance Charge + Allowance Charge Reason Code + Code + Allowance Charge Reason + Allowance Charge Reason_ Code. Type + + + + + + + + + BBIE + Allowance Charge. Allowance Charge_ Reason. Text + The reason for this allowance or charge. + 0..n + Allowance Charge + Allowance Charge + Reason + Text + Text. Type + + + + + + + + + BBIE + Allowance Charge. Multiplier_ Factor. Numeric + A number by which the base amount is multiplied to calculate the actual amount of this allowance or charge. + 0..1 + Allowance Charge + Multiplier + Factor + Numeric + Numeric. Type + 0.20 + + + + + + + + + BBIE + Allowance Charge. Prepaid_ Indicator. Indicator + An indicator that this allowance or charge is prepaid (true) or not (false). + 0..1 + Allowance Charge + Prepaid + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Allowance Charge. Sequence. Numeric + A number indicating the order of this allowance or charge in the sequence of calculations applied when there are multiple allowances or charges. + 0..1 + Allowance Charge + Sequence + Numeric + Numeric. Type + 1, 2, 3, 4, etc. + + + + + + + + + BBIE + Allowance Charge. Amount + The monetary amount of this allowance or charge to be applied. + 1 + Allowance Charge + Amount + Amount + Amount. Type + 35,23 + + + + + + + + + BBIE + Allowance Charge. Base_ Amount. Amount + The monetary amount to which the multiplier factor is applied in calculating the amount of this allowance or charge. + 0..1 + Allowance Charge + Base + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Allowance Charge. Accounting Cost Code. Code + The accounting cost centre used by the buyer to account for this allowance or charge, expressed as a code. + 0..1 + Allowance Charge + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Allowance Charge. Accounting Cost. Text + The accounting cost centre used by the buyer to account for this allowance or charge, expressed as text. + 0..1 + Allowance Charge + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Allowance Charge. Per Unit_ Amount. Amount + The allowance or charge per item; the total allowance or charge is calculated by multiplying the per unit amount by the quantity of items, either at the level of the individual transaction line or for the total number of items in the document, depending on the context in which it appears. + 0..1 + Allowance Charge + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Allowance Charge. Tax Category + A tax category applicable to this allowance or charge. + 0..n + Allowance Charge + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Allowance Charge. Tax Total + The total of all the taxes applicable to this allowance or charge. + 0..1 + Allowance Charge + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Allowance Charge. Payment Means + A means of payment for this allowance or charge. + 0..n + Allowance Charge + Payment Means + Payment Means + Payment Means + + + + + + + + + + + ABIE + Appeal Terms. Details + A class to describe the terms and conditions, set by the contracting authority, under which an appeal can be lodged for a tender award. + Appeal Terms + + + + + + + + + BBIE + Appeal Terms. Description. Text + Text describing the terms of an appeal. + 0..n + Appeal Terms + Description + Text + Text. Type + + + + + + + + + ASBIE + Appeal Terms. Presentation_ Period. Period + The period during which an appeal can be presented. + 0..1 + Appeal Terms + Presentation + Period + Period + Period + + + + + + + + + ASBIE + Appeal Terms. Appeal Information_ Party. Party + The party presenting the information for an appeal. + 0..1 + Appeal Terms + Appeal Information + Party + Party + Party + + + + + + + + + ASBIE + Appeal Terms. Appeal Receiver_ Party. Party + The party to whom an appeal should be presented. + 0..1 + Appeal Terms + Appeal Receiver + Party + Party + Party + + + + + + + + + ASBIE + Appeal Terms. Mediation_ Party. Party + The party that has been appointed to mediate any appeal. + 0..1 + Appeal Terms + Mediation + Party + Party + Party + + + + + + + + + + + ABIE + Attachment. Details + A class to describe an attached document. An attachment can refer to an external document or be included with the document being exchanged. + Attachment + + + + + + + + + BBIE + Attachment. Embedded_ Document. Binary Object + A binary large object containing an attached document. + 0..1 + Attachment + Embedded + Document + Binary Object + Binary Object. Type + + + + + + + + + ASBIE + Attachment. External Reference + A reference to an attached document that is external to the document(s) being exchanged. + 0..1 + Attachment + External Reference + External Reference + External Reference + + + + + + + + + + + ABIE + Auction Terms. Details + A class to describe the terms to be fulfilled by tenderers if an auction is to be executed before the awarding of a tender. + Auction Terms + + + + + + + + + BBIE + Auction Terms. Auction_ Constraint. Indicator + Indicates whether an electronic auction will be used before the awarding of a contract (true) or not (false). + 0..1 + Auction Terms + Auction + Constraint + Indicator + Indicator. Type + + + + + + + + + BBIE + Auction Terms. Justification_ Description. Text + Text describing a justification for the use of an auction in awarding the tender. + 0..n + Auction Terms + Justification + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Description. Text + Text for tenderers describing terms governing the auction. + 0..n + Auction Terms + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Process_ Description. Text + Text describing the auction process. + 0..n + Auction Terms + Process + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Conditions_ Description. Text + Text describing the conditions under which the tenderers will be able to bid as part of the auction. + 0..n + Auction Terms + Conditions + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Electronic Device_ Description. Text + Text describing an electronic device used for the auction, including associated connectivity specifications. + 0..n + Auction Terms + Electronic Device + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Auction_ URI. Identifier + The Uniform Resource Identifier (URI) of the electronic device used for the auction. + 0..1 + Auction Terms + Auction + URI + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Awarding Criterion. Details + A class to define a criterion from the contracting party that will be taken into account when awarding a contract. An awarding criterion can be objective, when it can be evaluated following a formula, or subjective, when human analysis is required. + Awarding Criterion + + + + + + + + + BBIE + Awarding Criterion. Identifier + Identifies a specific awarding criterion. + 0..1 + Awarding Criterion + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarding Criterion. Awarding Criterion Type Code. Code + A code used to define this awarding criterion. + 0..1 + Awarding Criterion + Awarding Criterion Type Code + Code + Code. Type + + + + + + + + + BBIE + Awarding Criterion. Description. Text + A description of the awarding criterion. + 0..n + Awarding Criterion + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion. Weight Numeric. Numeric + A number defining the comparative weighting assigned to this awarding criterion, to enable formulaic evaluation. + 0..1 + Awarding Criterion + Weight Numeric + Numeric + Numeric. Type + + + + + + + + + BBIE + Awarding Criterion. Weight. Text + A description of the comparative weighting for this awarding criterion. + 0..n + Awarding Criterion + Weight + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion. Calculation Expression. Text + The mathematical expression that will be used to evaluate this criterion. + 0..n + Awarding Criterion + Calculation Expression + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion. Calculation Expression Code. Code + A code identifying the mathematical expression that will be used to evaluate this criterion. + 0..1 + Awarding Criterion + Calculation Expression Code + Code + Code. Type + + + + + + + + + BBIE + Awarding Criterion. Minimum_ Quantity. Quantity + The minimum quantity for an awarding criterion. + 0..1 + Awarding Criterion + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Awarding Criterion. Maximum_ Quantity. Quantity + The maximum quantity for an awarding criterion. + 0..1 + Awarding Criterion + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Awarding Criterion. Minimum_ Amount. Amount + The minimum monetary amount for an awarding criterion. + 0..1 + Awarding Criterion + Minimum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Awarding Criterion. Maximum_ Amount. Amount + The maximum monetary amount for an awarding criterion. + 0..1 + Awarding Criterion + Maximum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Awarding Criterion. Minimum Improvement Bid. Text + Describes the minimum improvement bid for this awarding criterion when used in an auction. + 0..n + Awarding Criterion + Minimum Improvement Bid + Text + Text. Type + + + + + + + + + ASBIE + Awarding Criterion. Subordinate_ Awarding Criterion. Awarding Criterion + Defines any subsidiary awarding criterion. + 0..n + Awarding Criterion + Subordinate + Awarding Criterion + Awarding Criterion + Awarding Criterion + + + + + + + + + + + ABIE + Awarding Criterion Response. Details + Defines the response for an awarding criterion from the tendering party. + Awarding Criterion Response + + + + + + + + + BBIE + Awarding Criterion Response. Identifier + An identification of this awarding criterion response. + 0..1 + Awarding Criterion Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarding Criterion Response. Awarding Criterion Identifier. Identifier + An identifer of the awarding criterion being referred to. + 0..1 + Awarding Criterion Response + Awarding Criterion Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarding Criterion Response. Awarding Criterion_ Description. Text + Describes the awarding criterion. + 0..n + Awarding Criterion Response + Awarding Criterion + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion Response. Description. Text + Describes the awarding criterion response. + 0..n + Awarding Criterion Response + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion Response. Quantity + Specifies the quantity tendered for this awarding criterion. + 0..1 + Awarding Criterion Response + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Awarding Criterion Response. Amount + Specifies the monetary amount tendered for this awarding criterion. + 0..1 + Awarding Criterion Response + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Awarding Criterion Response. Subordinate_ Awarding Criterion Response. Awarding Criterion Response + Defines responses to any subsidiary awarding criterion. + 0..n + Awarding Criterion Response + Subordinate + Awarding Criterion Response + Awarding Criterion Response + Awarding Criterion Response + + + + + + + + + + + ABIE + Awarding Terms. Details + A class to define the terms for awarding a contract. + Awarding Terms + + + + + + + + + BBIE + Awarding Terms. Weighting Algorithm Code. Code + A code signifying the weighting algorithm for awarding criteria. When multiple awarding criteria is used, different weighting and choices management algorithms based upon scores and weights of all award criteria can be used. An algorithm for weighting criteria shall be reported in the call for tenders document. It is used to determine how to perform the final management of tenders based on the results in each of the established award criteria + 0..1 + Awarding Terms + Weighting Algorithm Code + Code + Code. Type + + + + + + + + + BBIE + Awarding Terms. Description. Text + Text describing terms under which the contract is to be awarded. + 0..n + Awarding Terms + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Technical Committee_ Description. Text + Text describing the committee of experts evaluating the subjective criteria for awarding the contract. + 0..n + Awarding Terms + Technical Committee + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Low Tenders_ Description. Text + Text describing the exclusion criterion for abnormally low tenders. + 0..n + Awarding Terms + Low Tenders + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Prize Indicator. Indicator + Indicates whether a prize will be awarded (true) or not (false). + 0..1 + Awarding Terms + Prize Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Awarding Terms. Prize Description. Text + Number and value of the prizes to be awarded. + 0..n + Awarding Terms + Prize Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Payment Description. Text + Details of payments to all participants. + 0..n + Awarding Terms + Payment Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Followup Contract Indicator. Indicator + Indicates if any service contract following the contest will be awarded to the winner or one of the winners of the contest (true) or not (false). + 0..1 + Awarding Terms + Followup Contract Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Awarding Terms. Binding On Buyer Indicator. Indicator + Indicates if the decision is binding on the buyer (true) or not (false). + 0..1 + Awarding Terms + Binding On Buyer Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Awarding Terms. Awarding Criterion + Defines a criterion for awarding this tender. + 0..n + Awarding Terms + Awarding Criterion + Awarding Criterion + Awarding Criterion + + + + + + + + + ASBIE + Awarding Terms. Technical Committee_ Person. Person + A member of a committee of experts evaluating the subjective criteria for awarding the contract. + 0..n + Awarding Terms + Technical Committee + Person + Person + Person + + + + + + + + + + + ABIE + Billing Reference. Details + A class to define a reference to a billing document. + Billing Reference + + + + + + + + + ASBIE + Billing Reference. Invoice_ Document Reference. Document Reference + A reference to an invoice. + 0..1 + Billing Reference + Invoice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Self Billed Invoice_ Document Reference. Document Reference + A reference to a self billed invoice. + 0..1 + Billing Reference + Self Billed Invoice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Credit Note_ Document Reference. Document Reference + A reference to a credit note. + 0..1 + Billing Reference + Credit Note + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Self Billed Credit Note_ Document Reference. Document Reference + A reference to a self billed credit note. + 0..1 + Billing Reference + Self Billed Credit Note + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Debit Note_ Document Reference. Document Reference + A reference to a debit note. + 0..1 + Billing Reference + Debit Note + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Reminder_ Document Reference. Document Reference + A reference to a billing reminder. + 0..1 + Billing Reference + Reminder + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Additional_ Document Reference. Document Reference + A reference to an additional document. + 0..1 + Billing Reference + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Billing Reference Line + A reference to a transaction line in the billing document. + 0..n + Billing Reference + Billing Reference Line + Billing Reference Line + Billing Reference Line + + + + + + + + + + + ABIE + Billing Reference Line. Details + A class to define a reference to a transaction line in a billing document. + Billing Reference Line + + + + + + + + + BBIE + Billing Reference Line. Identifier + An identifier for this transaction line in a billing document. + 1 + Billing Reference Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Billing Reference Line. Amount + The monetary amount of the transaction line, including any allowances and charges but excluding taxes. + 0..1 + Billing Reference Line + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Billing Reference Line. Allowance Charge + An allowance or charge applicable to the transaction line. + 0..n + Billing Reference Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Branch. Details + A class to describe a branch or a division of an organization. + Branch + + + + + + + + + BBIE + Branch. Identifier + An identifier for this branch or division of an organization. + 0..1 + Branch + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Branch. Name + The name of this branch or division of an organization. + 0..1 + Branch + Name + Name + Name. Type + + + + + + + + + ASBIE + Branch. Financial Institution + The financial institution that this branch belongs to (if applicable). + 0..1 + Branch + Financial Institution + Financial Institution + Financial Institution + + + + + + + + + ASBIE + Branch. Address + The address of this branch or division. + 0..1 + Branch + Address + Address + Address + + + + + + + + + + + ABIE + Budget Account. Details + A class to define a budget account. + Budget Account + + + + + + + + + BBIE + Budget Account. Identifier + An identifier for the budget account, typically an internal accounting reference. + 0..1 + Budget Account + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Budget Account. Budget Year. Numeric + The number of the year for this budget account, e.g. 2012 + 0..1 + Budget Account + Budget Year + Numeric + Numeric. Type + + + + + + + + + ASBIE + Budget Account. Required_ Classification Scheme. Classification Scheme + A classification scheme required for this budget account. + 0..1 + Budget Account + Required + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + + + ABIE + Budget Account Line. Details + A class to define a budget account line. + Budget Account Line + + + + + + + + + BBIE + Budget Account Line. Identifier + An identifier for this budget account line. + 0..1 + Budget Account Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Budget Account Line. Total_ Amount. Amount + The total monetary amount for this budget account line. + 0..1 + Budget Account Line + Total + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Budget Account Line. Budget Account + An account covering this budget account line. + 0..n + Budget Account Line + Budget Account + Budget Account + Budget Account + + + + + + + + + + + ABIE + Capability. Details + A class to describe a specific capability of an organization. + Capability + + + + + + + + + BBIE + Capability. Capability Type Code. Code + This class can be used as Financial or Technical capabilities. For instance, "Turnover" or "Qualified Engineers" are two possible codes. + 0..1 + Capability + Capability Type Code + Code + Code. Type + + + + + + + + + BBIE + Capability. Description. Text + Text describing this capability. + 0..n + Capability + Description + Text + Text. Type + + + + + + + + + BBIE + Capability. Value. Amount + A monetary amount as a measure of this capability. + 0..1 + Capability + Value + Amount + Amount. Type + + + + + + + + + BBIE + Capability. Value_ Quantity. Quantity + A quantity as a measure of this capability. + 0..1 + Capability + Value + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Capability. Evidence Supplied + The evidence that supports the capability claim. + 0..n + Capability + Evidence Supplied + Evidence Supplied + Evidence Supplied + + + + + + + + + ASBIE + Capability. Validity_ Period. Period + The period of time for which this capability is (or has been) valid. + 0..1 + Capability + Validity + Period + Period + Period + + + + + + + + + + + ABIE + Card Account. Details + A class to define a credit card, debit card, or charge card account. + Card Account + + + + + + + + + BBIE + Card Account. Primary_ Account Number. Identifier + An identifier of the card (e.g., the Primary Account Number (PAN)). + 1 + Card Account + Primary + Account Number + Identifier + Identifier. Type + 4558 XXXX XXXX XXXX (a real card number) + + + + + + + + + BBIE + Card Account. Network. Identifier + An identifier for the financial service network provider of the card. + 1 + Card Account + Network + Identifier + Identifier. Type + VISA, MasterCard, American Express + + + + + + + + + BBIE + Card Account. Card Type Code. Code + A mutually agreed code signifying the type of card. Examples of types are "debit", "credit" and "purchasing" + 0..1 + Card Account + Card Type Code + Code + Code. Type + Debit Card, Credit Card, Procurement Card + + + + + + + + + BBIE + Card Account. Validity Start Date. Date + The date from which the card is valid. + 0..1 + Card Account + Validity Start Date + Date + Date. Type + + + + + + + + + BBIE + Card Account. Expiry Date. Date + The date on which the card expires. + 0..1 + Card Account + Expiry Date + Date + Date. Type + + + + + + + + + BBIE + Card Account. Issuer. Identifier + An identifier for the institution issuing the card. + 0..1 + Card Account + Issuer + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Issue Number. Identifier + An identifier for the card, specified by the issuer. + 0..1 + Card Account + Issue Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. CV2. Identifier + An identifier for the Card Verification Value (often found on the reverse of the card itself). + 0..1 + Card Account + CV2 + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Card Chip Code. Code + A mutually agreed code to distinguish between CHIP and MAG STRIPE cards. + 0..1 + Card Account + Card Chip Code + Code + Chip + Chip_ Code. Type + + + + + + + + + BBIE + Card Account. Chip_ Application. Identifier + An identifier on the chip card for the application that provides the quoted information; an AID (application ID). + 0..1 + Card Account + Chip + Application + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Holder. Name + The name of the cardholder. + 0..1 + Card Account + Holder + Name + Name. Type + + + + + + + + + + + ABIE + Catalogue Item Specification Update Line. Details + A class to define a line describing the transaction that updates the specification of an item in a catalogue. + Catalogue Item Specification Update Line + + + + + + + + + BBIE + Catalogue Item Specification Update Line. Identifier + An identifier for the line to be updated in a catalogue. + 1 + Catalogue Item Specification Update Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Contractor_ Customer Party. Customer Party + The customer responsible for the contract associated with the catalogue item. + 0..1 + Catalogue Item Specification Update Line + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Seller_ Supplier Party. Supplier Party + The seller/supplier responsible for the contract associated with the catalogue item. + 0..1 + Catalogue Item Specification Update Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Item + The catalogue item to be updated. + 1 + Catalogue Item Specification Update Line + Item + Item + Item + + + + + + + + + + + ABIE + Catalogue Line. Details + A class to define a line in a Catalogue describing a purchasable item. + Catalogue Line + + + + + + + + + BBIE + Catalogue Line. Identifier + An identifier for the line in the catalogue. + 1 + Catalogue Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Catalogue Line. Action Code. Code + A code signifying the action required to synchronize this catalogue line. Recommend codes (delete, update, add) + 0..1 + Catalogue Line + Action Code + Code + Code. Type + Replace , Update , Delete , Add + + + + + + + + + BBIE + Catalogue Line. Life Cycle Status Code. Code + A code signifying the life cycle status of this catalogue line. Examples are pre-order, end of production + 0..1 + Catalogue Line + Life Cycle Status Code + Code + Code. Type + new - announcement only , new and available , deleted - announcement only + + + + + + + + + BBIE + Catalogue Line. Contract Subdivision. Text + A subdivision of a contract or tender covering this catalogue line. + 0..1 + Catalogue Line + Contract Subdivision + Text + Text. Type + Installation , Phase One , Support and Maintenance + + + + + + + + + BBIE + Catalogue Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Line + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Line. Orderable_ Indicator. Indicator + An indicator that this catalogue line describes an orderable item (true) or is included for reference purposes only (false). + 0..1 + Catalogue Line + Orderable + Indicator + Indicator + Indicator. Type + TRUE means orderable, FALSE means not orderable + + + + + + + + + BBIE + Catalogue Line. Orderable_ Unit. Text + A textual description of the units in which the item described in this catalogue line can be ordered. + 0..1 + Catalogue Line + Orderable + Unit + Text + Text. Type + + + + + + + + + BBIE + Catalogue Line. Content Unit. Quantity + The numeric quantity of the ordering unit (and units of measure) of the catalogue line. + 0..1 + Catalogue Line + Content Unit + Quantity + Quantity. Type + If order unit measure identifier is each , then content unit quantity is 1 . + + + + + + + + + BBIE + Catalogue Line. Order Quantity Increment. Numeric + The number of items that can set the order quantity increments. + 0..1 + Catalogue Line + Order Quantity Increment + Numeric + Numeric. Type + + + + + + + + + BBIE + Catalogue Line. Minimum_ Order Quantity. Quantity + The minimum amount of the item described in this catalogue line that can be ordered. + 0..1 + Catalogue Line + Minimum + Order Quantity + Quantity + Quantity. Type + 10 boxes + + + + + + + + + BBIE + Catalogue Line. Maximum_ Order Quantity. Quantity + The maximum amount of the item described in this catalogue line that can be ordered. + 0..1 + Catalogue Line + Maximum + Order Quantity + Quantity + Quantity. Type + 1 tonne + + + + + + + + + BBIE + Catalogue Line. Warranty_ Information. Text + Text about a warranty (provided by WarrantyParty) for the good or service described in this catalogue line. + 0..n + Catalogue Line + Warranty + Information + Text + Text. Type + Unless specified otherwise and in addition to any rights the Customer may have under statute, Dell warrants to the Customer that Dell branded Products (excluding third party products and software), will be free from defects in materials and workmanship affecting normal use for a period of one year from invoice date ( Standard Warranty ). + + + + + + + + + BBIE + Catalogue Line. Pack Level Code. Code + A mutually agreed code signifying the level of packaging associated with the item described in this catalogue line. + 0..1 + Catalogue Line + Pack Level Code + Code + Code. Type + Consumer Unit, Trading Unit + level 2 , Group 4 + + + + + + + + + ASBIE + Catalogue Line. Contractor_ Customer Party. Customer Party + The customer responsible for the contract with which this catalogue line is associated. + 0..1 + Catalogue Line + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Line. Seller_ Supplier Party. Supplier Party + The seller/supplier responsible for the contract with which this catalogue line is associated. + 0..1 + Catalogue Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Line. Warranty_ Party. Party + The party responsible for any warranty associated with the item described in this catalogue line. + 0..1 + Catalogue Line + Warranty + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Line. Warranty Validity_ Period. Period + The period for which a warranty associated with the item in this catalogue line is valid. + 0..1 + Catalogue Line + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Line. Line Validity_ Period. Period + The period for which the information in this catalogue line is valid. + 0..1 + Catalogue Line + Line Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Line. Item Comparison + A combination of price and quantity used to provide price comparisons based on different sizes of order. + 0..n + Catalogue Line + Item Comparison + Item Comparison + Item Comparison + + + + + + + + + ASBIE + Catalogue Line. Component_ Related Item. Related Item + An item that may be a component of the item in this catalogue line. + 0..n + Catalogue Line + Component + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Accessory_ Related Item. Related Item + An item that may be an optional accessory of the item in this catalogue line. + 0..n + Catalogue Line + Accessory + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Required_ Related Item. Related Item + An item that may be required for the item in this catalogue line. + 0..n + Catalogue Line + Required + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Replacement_ Related Item. Related Item + An item that may be a replacement for the item in this catalogue line. + 0..n + Catalogue Line + Replacement + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Complementary_ Related Item. Related Item + An item that may complement the item in this catalogue line. + 0..n + Catalogue Line + Complementary + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Replaced_ Related Item. Related Item + An item in an existing catalogue that is being replaced by the item in this catalogue line. + 0..n + Catalogue Line + Replaced + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Required_ Item Location Quantity. Item Location Quantity + Properties of the item in this catalogue line that are dependent on location and quantity. + 0..n + Catalogue Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Catalogue Line. Document Reference + A reference to a document associated with this catalogue line. + 0..n + Catalogue Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue Line. Item + A specification of the item itself. + 1 + Catalogue Line + Item + Item + Item + + + + + + + + + ASBIE + Catalogue Line. Keyword_ Item Property. Item Property + A property of the item in this catalogue line. + 0..n + Catalogue Line + Keyword + Item Property + Item Property + Item Property + + + + + + + + + ASBIE + Catalogue Line. Call For Tenders_ Line Reference. Line Reference + Reference to a Line on a Call For Tenders document. + 0..1 + Catalogue Line + Call For Tenders + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Catalogue Line. Call For Tenders_ Document Reference. Document Reference + A class defining references to a Call For Tenders document. + 0..1 + Catalogue Line + Call For Tenders + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Catalogue Pricing Update Line. Details + A class to define a line describing a pricing update to a catalogue line. + Catalogue Pricing Update Line + + + + + + + + + BBIE + Catalogue Pricing Update Line. Identifier + An identifier for the catalogue line to be updated. + 1 + Catalogue Pricing Update Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Contractor_ Customer Party. Customer Party + The customer responsible for the contract associated with the catalogue line being updated. + 0..1 + Catalogue Pricing Update Line + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Seller_ Supplier Party. Supplier Party + The seller/supplier responsible for the contract associated with the catalogue line being updated. + 0..1 + Catalogue Pricing Update Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Required_ Item Location Quantity. Item Location Quantity + Updated properties of the item in this catalogue line that are dependent on location and quantity. + 0..n + Catalogue Pricing Update Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + + + ABIE + Catalogue Reference. Details + A class to define a reference to a catalogue. + Catalogue Reference + + + + + + + + + BBIE + Catalogue Reference. Identifier + An identifier for a specific catalogue. + 1 + Catalogue Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Reference. UUID. Identifier + A universally unique identifier for a specific catalogue. + 0..1 + Catalogue Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Reference. Issue Date. Date + The date on which the catalogue was issued. + 0..1 + Catalogue Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Reference. Issue Time. Time + The time at which the catalogue was issued. + 0..1 + Catalogue Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Reference. Revision Date. Date + The date on which the information in the catalogue was last revised. + 0..1 + Catalogue Reference + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Reference. Revision Time. Time + The time at which the information in the catalogue was last revised. + 0..1 + Catalogue Reference + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Reference. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Reference + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Reference. Description. Text + Text describing the catalogue. + 0..n + Catalogue Reference + Description + Text + Text. Type + computer accessories for laptops + + + + + + + + + BBIE + Catalogue Reference. Version. Identifier + An identifier for the current version of the catalogue. + 0..1 + Catalogue Reference + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Reference. Previous_ Version. Identifier + An identifier for the previous version of the catalogue that is superseded by this version. + 0..1 + Catalogue Reference + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + + + ABIE + Catalogue Request Line. Details + A class to define a line describing a request for a catalogue line. + Catalogue Request Line + + + + + + + + + BBIE + Catalogue Request Line. Identifier + An identifier for the requested catalogue line. + 1 + Catalogue Request Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Catalogue Request Line. Contract Subdivision. Text + A subdivision of a contract or tender covering the line being requested. + 0..1 + Catalogue Request Line + Contract Subdivision + Text + Text. Type + Installation , Phase One , Support and Maintenance + + + + + + + + + BBIE + Catalogue Request Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Request Line + Note + Text + Text. Type + + + + + + + + + ASBIE + Catalogue Request Line. Line Validity_ Period. Period + The period for which the information in the requested catalogue line is valid. + 0..1 + Catalogue Request Line + Line Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Request Line. Required_ Item Location Quantity. Item Location Quantity + Properties of the item in the requested catalogue line that are dependent on location and quantity. + 0..n + Catalogue Request Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Catalogue Request Line. Item + The item associated with the requested catalogue line. + 1 + Catalogue Request Line + Item + Item + Item + + + + + + + + + + + ABIE + Certificate. Details + A class to define a certificate applied to the item. Certificated can be a requirement to sell goods or services in a jurisdiction. + Certificate + + + + + + + + + BBIE + Certificate. Identifier + An identifier for this certificate. + 1 + Certificate + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate. Certificate Type Code. Code + The type of this certificate, expressed as a code. The type specifies what array it belongs to, e.g.. Environmental, security, health improvement etc. + 1 + Certificate + Certificate Type Code + Code + Code. Type + + + + + + + + + BBIE + Certificate. Certificate Type. Text + The type of this certificate, expressed as a code. The type specifies what array it belongs to, e.g.. Environmental, security, health improvement etc. + 1 + Certificate + Certificate Type + Text + Text. Type + + + + + + + + + BBIE + Certificate. Remarks. Text + Remarks by the applicant for this certificate. + 0..n + Certificate + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Certificate. Issuer_ Party. Party + The authorized organization that issued this certificate, the provider of the certificate. + 1 + Certificate + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Certificate. Document Reference + A reference to a document relevant to this certificate or an application for this certificate. + 0..n + Certificate + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Certificate. Signature + A signature applied to this certificate. + 0..n + Certificate + Signature + Signature + Signature + + + + + + + + + + + ABIE + Certificate Of Origin Application. Details + A class to define an application for a Certificate of Origin (CoO). + Certificate Of Origin Application + + + + + + + + + BBIE + Certificate Of Origin Application. Reference. Identifier + An identifier for a reference as part of the CoO application. + 1 + Certificate Of Origin Application + Reference + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Certificate Type. Text + The type of CoO being applied for (Ordinary, Re-export, Commonwealth Preferential, etc.). + 1 + Certificate Of Origin Application + Certificate Type + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Application Status Code. Code + A code signifying the status of the application (revision, replacement, etc.). + 0..1 + Certificate Of Origin Application + Application Status Code + Code + Code. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Original_ Job Identifier. Identifier + The latest job number given to the CoO application. This is used by the system to keep track of amendments to or cancellation of any earlier applications. + 1 + Certificate Of Origin Application + Original + Job Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Previous_ Job Identifier. Identifier + An identifier for the previous job used in case the application requires query or change. + 0..1 + Certificate Of Origin Application + Previous + Job Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Remarks. Text + Remarks by the applicant for the CoO. + 0..n + Certificate Of Origin Application + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Certificate Of Origin Application. Shipment + The shipment of goods covered by the CoO. + 1 + Certificate Of Origin Application + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Certificate Of Origin Application. Endorser Party + A party providing an endorsement to the CoO. + 1..n + Certificate Of Origin Application + Endorser Party + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Preparation_ Party. Party + The party (individual, group, or body) that prepared this CoO application. + 1 + Certificate Of Origin Application + Preparation + Party + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Issuer_ Party. Party + The organization authorized to issue the CoO requested by this application. + 1 + Certificate Of Origin Application + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Exporter_ Party. Party + The party making an export declaration, or on behalf of which the export declaration is made, and that is the owner of the goods or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Certificate Of Origin Application + Exporter + Party + Party + Party + Exporter (WCO ID 41 and 42) + + + + + + + + + ASBIE + Certificate Of Origin Application. Importer_ Party. Party + The party making an import declaration, or on behalf of which a customs clearing agent or other authorized person makes an import declaration. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Certificate Of Origin Application + Importer + Party + Party + Party + Importer (WCO ID 39 and 40) + + + + + + + + + ASBIE + Certificate Of Origin Application. Issuing_ Country. Country + The country where the requested CoO will be issued. + 1 + Certificate Of Origin Application + Issuing + Country + Country + Country + + + + + + + + + ASBIE + Certificate Of Origin Application. Document Distribution + An interested party to which the CoO is to be distributed. + 0..n + Certificate Of Origin Application + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Certificate Of Origin Application. Supporting_ Document Reference. Document Reference + A reference to a document supporting this application. + 0..n + Certificate Of Origin Application + Supporting + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Certificate Of Origin Application. Signature + A signature applied to this application. + 0..n + Certificate Of Origin Application + Signature + Signature + Signature + + + + + + + + + + + ABIE + Classification Category. Details + A class to define a category within a classification scheme. + Classification Category + + + + + + + + + BBIE + Classification Category. Name + The name of this category within the classification scheme. + 0..1 + Classification Category + Name + Name + Name. Type + Code List Name + UNSPSC Class , UNSPSC Segment , UNSPSC Family + + + + + + + + + BBIE + Classification Category. Code Value. Text + The value of a code used to identify this category within the classification scheme. + 0..1 + Classification Category + Code Value + Text + Text. Type + Code Value + 3420001, 3273666, HSJJD-213 + + + + + + + + + BBIE + Classification Category. Description. Text + Text describing this category. + 0..n + Classification Category + Description + Text + Text. Type + Code Name + Electrical Goods , Wooden Toys + + + + + + + + + ASBIE + Classification Category. Categorizes_ Classification Category. Classification Category + A recursive description of a subcategory of this category. + 0..n + Classification Category + Categorizes + Classification Category + Classification Category + Classification Category + + + + + + + + + + + ABIE + Classification Scheme. Details + A class to define a classification scheme, such as a taxonomy for classifying goods or services. + Classification Scheme + + + + + + + + + BBIE + Classification Scheme. Identifier + An identifier for this classification scheme. + 1 + Classification Scheme + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. UUID. Identifier + A universally unique identifier for this classification scheme. + 0..1 + Classification Scheme + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Last_ Revision Date. Date + The date on which this classification scheme was last revised. + 0..1 + Classification Scheme + Last + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Classification Scheme. Last_ Revision Time. Time + The time at which this classification scheme was last revised. + 0..1 + Classification Scheme + Last + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Classification Scheme. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Classification Scheme + Note + Text + Text. Type + + + + + + + + + BBIE + Classification Scheme. Name + The name of this classification scheme. + 0..1 + Classification Scheme + Name + Name + Name. Type + UNSPSC + + + + + + + + + BBIE + Classification Scheme. Description. Text + Text describing this classification scheme. + 0..n + Classification Scheme + Description + Text + Text. Type + an open, global multi-sector standard for classification of products and services + + + + + + + + + BBIE + Classification Scheme. Agency Identifier. Identifier + An identifier for the agency that maintains this classification scheme. + 0..1 + Classification Scheme + Agency Identifier + Identifier + Identifier. Type + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + + + BBIE + Classification Scheme. Agency Name. Text + The name of the agency that maintains the classification scheme. + 0..1 + Classification Scheme + Agency Name + Text + Text. Type + + + + + + + + + BBIE + Classification Scheme. Version. Identifier + An identifier for the version of this classification scheme. + 0..1 + Classification Scheme + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. URI. Identifier + The Uniform Resource Identifier (URI) of the documentation for this classification scheme. + 0..1 + Classification Scheme + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Scheme_ URI. Identifier + The Uniform Resource Identifier (URI) of this classification scheme. + 0..1 + Classification Scheme + Scheme + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Language. Identifier + An identifier for the language of this classification scheme. + 0..1 + Classification Scheme + Language + Identifier + Identifier. Type + + + + + + + + + ASBIE + Classification Scheme. Classification Category + A description of a category within this classification scheme. + 1..n + Classification Scheme + Classification Category + Classification Category + Classification Category + + + + + + + + + + + ABIE + Clause. Details + A class to define a clause (a distinct article or provision) in a contract, treaty, will, or other formal or legal written document requiring compliance. + Clause + + + + + + + + + BBIE + Clause. Identifier + An identifier for this clause. + 0..1 + Clause + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Clause. Content. Text + The text of this clause. + 0..n + Clause + Content + Text + Text. Type + + + + + + + + + + + ABIE + Commodity Classification. Details + A class to describe the classification of a commodity. + Commodity Classification + + + + + + + + + BBIE + Commodity Classification. Nature Code. Code + A code defined by a specific maintenance agency signifying the high-level nature of the commodity. + 0..1 + Commodity Classification + Nature Code + Code + Code. Type + wooden products + + + + + + + + + BBIE + Commodity Classification. Cargo Type Code. Code + A mutually agreed code signifying the type of cargo for purposes of commodity classification. + 0..1 + Commodity Classification + Cargo Type Code + Code + Code. Type + Refrigerated + + + + + + + + + BBIE + Commodity Classification. Commodity Code. Code + The harmonized international commodity code for cross border and regulatory (customs and trade statistics) purposes. + 0..1 + Commodity Classification + Commodity Code + Code + Code. Type + Harmonized Code + 1102222883 + + + + + + + + + BBIE + Commodity Classification. Item Classification Code. Code + A code signifying the trade classification of the commodity. + 0..1 + Commodity Classification + Item Classification Code + Code + Code. Type + UN/SPSC Code + 3440234 + + + + + + + + + + + ABIE + Communication. Details + A class to describe a means of communication. + Communication + + + + + + + + + BBIE + Communication. Channel Code. Code + The method of communication, expressed as a code. + 0..1 + Communication + Channel Code + Code + Channel + Channel_ Code. Type + Phone Fax Email + + + + + + + + + BBIE + Communication. Channel. Text + The method of communication, expressed as text. + 0..1 + Communication + Channel + Text + Text. Type + Skype + + + + + + + + + BBIE + Communication. Value. Text + An identifying value (phone number, email address, etc.) for this channel of communication + 0..1 + Communication + Value + Text + Text. Type + +44 1 2345 6789 president@whitehouse.com + + + + + + + + + + + ABIE + Completed Task. Details + A class to describe the completion of a specific task in the tendering process. + Completed Task + + + + + + + + + BBIE + Completed Task. Annual_ Average. Amount + The average monetary amount of a task such as this completed task. + 0..1 + Completed Task + Annual + Average + Amount + Amount. Type + + + + + + + + + BBIE + Completed Task. Total Task. Amount + The actual total monetary amount of this completed task. + 0..1 + Completed Task + Total Task + Amount + Amount. Type + + + + + + + + + BBIE + Completed Task. Party Capacity. Amount + A monetary amount corresponding to the financial capacity of the party that carried out this completed task. + 0..1 + Completed Task + Party Capacity + Amount + Amount. Type + + + + + + + + + BBIE + Completed Task. Description. Text + Text describing this completed task. + 0..n + Completed Task + Description + Text + Text. Type + + + + + + + + + ASBIE + Completed Task. Evidence Supplied + The evidence justifying a designation of "complete" for this task. + 0..n + Completed Task + Evidence Supplied + Evidence Supplied + Evidence Supplied + + + + + + + + + ASBIE + Completed Task. Period + The period in which this completed task was performed. + 0..1 + Completed Task + Period + Period + Period + + + + + + + + + ASBIE + Completed Task. Recipient_ Customer Party. Customer Party + The original customer for this completed task. + 0..1 + Completed Task + Recipient + Customer Party + Customer Party + Customer Party + + + + + + + + + + + ABIE + Condition. Details + A class to define a measurable condition of an object. + Condition + + + + + + + + + BBIE + Condition. Attribute Identifier. Identifier + An identifier for the attribute that applies to the condition. + 1 + Condition + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Condition. Measure + The measurement value. + 0..1 + Condition + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Condition. Description. Text + Text describing the attribute that applies to the condition. + 0..n + Condition + Description + Text + Text. Type + + + + + + + + + BBIE + Condition. Minimum_ Measure. Measure + The minimum value in a range of measurement for this condition. + 0..1 + Condition + Minimum + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Condition. Maximum_ Measure. Measure + The maximum value in a range of measurement for this condition. + 0..1 + Condition + Maximum + Measure + Measure + Measure. Type + + + + + + + + + + + ABIE + Consignment. Details + A class to describe an identifiable collection of one or more goods items to be transported between the consignor and the consignee. This information may be defined within a transport contract. A consignment may comprise more than one shipment (e.g., when consolidated by a freight forwarder). + Consignment + + + + + + + + + BBIE + Consignment. Identifier + An identifier assigned to a collection of goods for both import and export. + 1 + Consignment + Identifier + Identifier + Identifier. Type + Unique consignment reference number (UCR) + + + + + + + + + BBIE + Consignment. Carrier Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the carrier. + 0..1 + Consignment + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Consignee Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the consignee. + 0..1 + Consignment + Consignee Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Consignor Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the consignor. + 0..1 + Consignment + Consignor Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Freight Forwarder Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the freight forwarder. + 0..1 + Consignment + Freight Forwarder Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Broker Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the broker. + 0..1 + Consignment + Broker Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Contracted Carrier Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the contracted carrier. + 0..1 + Consignment + Contracted Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Performing Carrier Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the performing carrier. + 0..1 + Consignment + Performing Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Summary_ Description. Text + A textual summary description of the consignment. + 0..n + Consignment + Summary + Description + Text + Text. Type + + + + + + + + + BBIE + Consignment. Total_ Invoice Amount. Amount + The total of all invoice amounts declared in this consignment. + 0..1 + Consignment + Total + Invoice Amount + Amount + Amount. Type + + + + + + + + + BBIE + Consignment. Declared Customs_ Value. Amount + The total declared value for customs purposes of all the goods in this consignment, regardless of whether they are subject to the same customs procedure, tariff/statistical categorization, country information, or duty regime. + 0..1 + Consignment + Declared Customs + Value + Amount + Amount. Type + + + + + + + + + BBIE + Consignment. Tariff Description. Text + Text describing the tariff applied to this consignment. + 0..n + Consignment + Tariff Description + Text + Text. Type + + + + + + + + + BBIE + Consignment. Tariff Code. Code + A code signifying the tariff applied to this consignment. + 0..1 + Consignment + Tariff Code + Code + Code. Type + Tariff code number (WCO ID 145) + + + + + + + + + BBIE + Consignment. Insurance Premium Amount. Amount + The amount of the premium payable to an insurance company for insuring the goods contained in this consignment. + 0..1 + Consignment + Insurance Premium Amount + Amount + Amount. Type + Insurance Cost + + + + + + + + + BBIE + Consignment. Gross_ Weight. Measure + The total declared weight of the goods in this consignment, including packaging but excluding the carrier's equipment. + 0..1 + Consignment + Gross + Weight + Measure + Measure. Type + Total gross weight (WCO ID 131) + Total cube of all goods items referred to as one consignment. + + + + + + + + + BBIE + Consignment. Net_ Weight. Measure + The total net weight of all the goods items referred to as one consignment. + 0..1 + Consignment + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Net Net_ Weight. Measure + The total net weight of the goods in this consignment, exclusive of packaging. + 0..1 + Consignment + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Chargeable_ Weight. Measure + The weight upon which a charge is to be based. + 0..1 + Consignment + Chargeable + Weight + Measure + Measure. Type + Chargeable Weight. Basis.Measure + + + + + + + + + BBIE + Consignment. Gross_ Volume. Measure + The total volume of the goods referred to as one consignment. + 0..1 + Consignment + Gross + Volume + Measure + Measure. Type + Cube + + + + + + + + + BBIE + Consignment. Net_ Volume. Measure + The total net volume of all goods items referred to as one consignment. + 0..1 + Consignment + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Loading_ Length. Measure + The total length in a means of transport or a piece of transport equipment which, given the width and height of the transport means, will accommodate all of the consignments in a single consolidation. + 0..1 + Consignment + Loading + Length + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Remarks. Text + Remarks concerning the complete consignment, to be printed on the transport document. + 0..n + Consignment + Remarks + Text + Text. Type + + + + + + + + + BBIE + Consignment. Hazardous Risk_ Indicator. Indicator + An indication that the transported goods in this consignment are subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Consignment + Hazardous Risk + Indicator + Indicator + Indicator. Type + Dangerous Goods RID Indicator + default is negative + + + + + + + + + BBIE + Consignment. Animal_ Food Indicator. Indicator + An indication that the transported goods in this consignment are animal foodstuffs (true) or not (false). + 0..1 + Consignment + Animal + Food Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Human_ Food Indicator. Indicator + An indication that the transported goods in this consignment are for human consumption (true) or not (false). + 0..1 + Consignment + Human + Food Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Livestock_ Indicator. Indicator + An indication that the transported goods are livestock (true) or not (false). + 0..1 + Consignment + Livestock + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Bulk Cargo_ Indicator. Indicator + An indication that the transported goods in this consignment are bulk cargoes (true) or not (false). + 0..1 + Consignment + Bulk Cargo + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Containerized_ Indicator. Indicator + An indication that the transported goods in this consignment are containerized cargoes (true) or not (false). + 0..1 + Consignment + Containerized + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. General Cargo_ Indicator. Indicator + An indication that the transported goods in this consignment are general cargoes (true) or not (false). + 0..1 + Consignment + General Cargo + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Special_ Security Indicator. Indicator + An indication that the transported goods in this consignment require special security (true) or not (false). + 0..1 + Consignment + Special + Security Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Third Party Payer_ Indicator. Indicator + An indication that this consignment will be paid for by a third party (true) or not (false). + 0..1 + Consignment + Third Party Payer + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Carrier Service_ Instructions. Text + Service instructions to the carrier, expressed as text. + 0..n + Consignment + Carrier Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Customs Clearance Service_ Instructions. Text + Service instructions for customs clearance, expressed as text. + 0..n + Consignment + Customs Clearance Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Forwarder Service_ Instructions. Text + Service instructions for the forwarder, expressed as text. + 0..n + Consignment + Forwarder Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Special Service_ Instructions. Text + Special service instructions, expressed as text. + 0..n + Consignment + Special Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Sequence Identifier. Identifier + A sequence identifier for this consignment. + 0..1 + Consignment + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Shipping Priority Level Code. Code + A code signifying the priority or level of service required for this consignment. + 0..1 + Consignment + Shipping Priority Level Code + Code + Code. Type + + + + + + + + + BBIE + Consignment. Handling Code. Code + The handling required for this consignment, expressed as a code. + 0..1 + Consignment + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Consignment. Handling_ Instructions. Text + The handling required for this consignment, expressed as text. + 0..n + Consignment + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Information. Text + Free-form text pertinent to this consignment, conveying information that is not contained explicitly in other structures. + 0..n + Consignment + Information + Text + Text. Type + + + + + + + + + BBIE + Consignment. Total_ Goods Item Quantity. Quantity + The total number of goods items in this consignment. + 0..1 + Consignment + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consignment. Total_ Transport Handling Unit Quantity. Quantity + The number of pieces of transport handling equipment (pallets, boxes, cases, etc.) in this consignment. + 0..1 + Consignment + Total + Transport Handling Unit Quantity + Quantity + Quantity. Type + Number of THUs + + + + + + + + + BBIE + Consignment. Insurance_ Value. Amount + The amount covered by insurance for this consignment. + 0..1 + Consignment + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Consignment. Declared For Carriage_ Value. Amount + The value of this consignment, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Consignment + Declared For Carriage + Value + Amount + Amount. Type + Declared value for carriage, Interest in delivery + + + + + + + + + BBIE + Consignment. Declared Statistics_ Value. Amount + The value, declared for statistical purposes, of those goods in this consignment that have the same statistical heading. + 0..1 + Consignment + Declared Statistics + Value + Amount + Amount. Type + Statistical Value + + + + + + + + + BBIE + Consignment. Free On Board_ Value. Amount + The monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Consignment + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Consignment. Special_ Instructions. Text + Special instructions relating to this consignment. + 0..n + Consignment + Special + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Split Consignment_ Indicator. Indicator + An indicator that this consignment has been split in transit (true) or not (false). + 0..1 + Consignment + Split Consignment + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Consignment. Delivery_ Instructions. Text + A set of delivery instructions relating to this consignment. + 0..n + Consignment + Delivery + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Consignment_ Quantity. Quantity + The count in this consignment considering goods items, child consignments, shipments + 0..1 + Consignment + Consignment + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consignment. Consolidatable_ Indicator. Indicator + An indicator that this consignment can be consolidated (true) or not (false). + 0..1 + Consignment + Consolidatable + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Haulage_ Instructions. Text + Instructions regarding haulage of this consignment, expressed as text. + 0..n + Consignment + Haulage + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Loading_ Sequence Identifier. Identifier + An identifier for the loading sequence of this consignment. + 0..1 + Consignment + Loading + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Child Consignment Quantity. Quantity + The quantity of (consolidated) child consignments + 0..1 + Consignment + Child Consignment Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consignment. Total_ Packages Quantity. Quantity + The total number of packages associated with a Consignment. + 0..1 + Consignment + Total + Packages Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Consignment. Consolidated_ Shipment. Shipment + A consolidated shipment (a shipment created by an act of consolidation). + 0..n + Consignment + Consolidated + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Consignment. Customs Declaration + A class describing identifiers or references relating to customs procedures. + 0..n + Consignment + Customs Declaration + Customs Declaration + Customs Declaration + + + + + + + + + ASBIE + Consignment. Requested Pickup_ Transport Event. Transport Event + The pickup of this consignment requested by the party requesting a transportation service (the transport user). + 0..1 + Consignment + Requested Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Requested Delivery_ Transport Event. Transport Event + The delivery of this consignment requested by the party requesting a transportation service (the transport user). + 0..1 + Consignment + Requested Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Planned Pickup_ Transport Event. Transport Event + The pickup of this consignment planned by the party responsible for providing the transportation service (the transport service provider). + 0..1 + Consignment + Planned Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Planned Delivery_ Transport Event. Transport Event + The delivery of this consignment planned by the party responsible for providing the transportation service (the transport service provider). + 0..1 + Consignment + Planned Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Status + The status of a particular condition associated with this consignment. + 0..n + Consignment + Status + Status + Status + + + + + + + + + ASBIE + Consignment. Child_ Consignment. Consignment + One of the child consignments of which a consolidated consignment is composed. + 0..n + Consignment + Child + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Consignment. Consignee_ Party. Party + A party to which goods are consigned. + 0..1 + Consignment + Consignee + Party + Party + Party + Consignee (WCO ID 51 and 52) + + + + + + + + + ASBIE + Consignment. Exporter_ Party. Party + The party that makes the export declaration, or on behalf of which the export declaration is made, and that is the owner of the goods in this consignment or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Consignment + Exporter + Party + Party + Party + Exporter (WCO ID 41 and 42) + + + + + + + + + ASBIE + Consignment. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Consignment + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Consignment. Importer_ Party. Party + The party that makes an import declaration regarding this consignment, or on behalf of which a customs clearing agent or other authorized person makes an import declaration regarding this consignment. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Consignment + Importer + Party + Party + Party + Importer (WCO ID 39 and 40) + + + + + + + + + ASBIE + Consignment. Carrier_ Party. Party + The party providing the transport of goods in this consignment between named points. + 0..1 + Consignment + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Consignment. Freight Forwarder_ Party. Party + The party combining individual smaller consignments into a single larger shipment (the consolidated shipment), which is sent to a counterpart that mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Consignment + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Consignment. Notify_ Party. Party + The party to be notified upon arrival of goods and when special occurrences (usually pre-defined) take place during a transportation service. + 0..1 + Consignment + Notify + Party + Party + Party + WCO ID 57 and 58 + + + + + + + + + ASBIE + Consignment. Original Despatch_ Party. Party + The original despatch (sender) party for this consignment. + 0..1 + Consignment + Original Despatch + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Final Delivery_ Party. Party + The final delivery party for this consignment. + 0..1 + Consignment + Final Delivery + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Performing Carrier_ Party. Party + The party performing the carriage of this consignment. + 0..1 + Consignment + Performing Carrier + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Substitute Carrier_ Party. Party + A substitute party performing the carriage of this consignment. + 0..1 + Consignment + Substitute Carrier + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Logistics Operator_ Party. Party + The logistics operator party for this consignment. + 0..1 + Consignment + Logistics Operator + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Transport Advisor_ Party. Party + The party providing transport advice this consignment. + 0..1 + Consignment + Transport Advisor + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Hazardous Item Notification_ Party. Party + The party that would be notified of a hazardous item in this consignment. + 0..1 + Consignment + Hazardous Item Notification + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Insurance_ Party. Party + The party holding the insurance for this consignment. + 0..1 + Consignment + Insurance + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Mortgage Holder_ Party. Party + The party holding the mortgage for this consignment. + 0..1 + Consignment + Mortgage Holder + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Bill Of Lading Holder_ Party. Party + The party holding the bill of lading for this consignment. + 0..1 + Consignment + Bill Of Lading Holder + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Original Departure_ Country. Country + The country from which the goods in this consignment were originally exported, without any commercial transaction taking place in intermediate countries. + 0..1 + Consignment + Original Departure + Country + Country + Country + Country of origin (WCO ID 062) + + + + + + + + + ASBIE + Consignment. Final Destination_ Country. Country + The country in which the goods in this consignment are to be delivered to the final consignee or buyer. + 0..1 + Consignment + Final Destination + Country + Country + Country + Ultimate Destination Country, Country of Final Arrival, Country of Destination + + + + + + + + + ASBIE + Consignment. Transit_ Country. Country + One of the countries through which goods or passengers in this consignment are routed between the country of original departure and the country of final destination. + 0..n + Consignment + Transit + Country + Country + Country + Country(ies) of routing (WCO ID 064) + + + + + + + + + ASBIE + Consignment. Transport_ Contract. Contract + A transport contract relating to this consignment. + 0..1 + Consignment + Transport + Contract + Contract + Contract + + + + + + + + + ASBIE + Consignment. Transport Event + A class describing a significant occurrence or happening related to the transportation of goods. + 0..n + Consignment + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Original Despatch_ Transportation Service. Transportation Service + The service for pickup from the consignor under the transport contract for this consignment. + 0..1 + Consignment + Original Despatch + Transportation Service + Transportation Service + Transportation Service + Door-to-door , Pier-to-door + + + + + + + + + ASBIE + Consignment. Final Delivery_ Transportation Service. Transportation Service + The service for delivery to the consignee under the transport contract for this consignment. + 0..1 + Consignment + Final Delivery + Transportation Service + Transportation Service + Transportation Service + Door-to-door , Pier-to-door + + + + + + + + + ASBIE + Consignment. Delivery Terms + The conditions agreed upon between a seller and a buyer with regard to the delivery of goods and/or services (e.g., CIF, FOB, or EXW from the INCOTERMS Terms of Delivery). + 0..1 + Consignment + Delivery Terms + Delivery Terms + Delivery Terms + Trade Terms, INCOTERMS + + + + + + + + + ASBIE + Consignment. Payment Terms + The terms of payment between the parties (such as logistics service client, logistics service provider) in a transaction. + 0..1 + Consignment + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Collect_ Payment Terms. Payment Terms + The terms of payment that apply to the collection of this consignment. + 0..1 + Consignment + Collect + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Disbursement_ Payment Terms. Payment Terms + The terms of payment for disbursement. + 0..1 + Consignment + Disbursement + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Prepaid_ Payment Terms. Payment Terms + The terms of payment for prepayment. + 0..1 + Consignment + Prepaid + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Freight_ Allowance Charge. Allowance Charge + A cost incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage for this consignment. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance to the extent that they relate to the freight costs. + 0..n + Consignment + Freight + Allowance Charge + Allowance Charge + Allowance Charge + Freight Costs + + + + + + + + + ASBIE + Consignment. Extra_ Allowance Charge. Allowance Charge + A charge for extra allowance. + 0..n + Consignment + Extra + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Consignment. Main Carriage_ Shipment Stage. Shipment Stage + A shipment stage during main carriage. + 0..n + Consignment + Main Carriage + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Consignment. Pre Carriage_ Shipment Stage. Shipment Stage + A shipment stage during precarriage (usually refers to movement activity that takes place prior to the container being loaded at a port of loading). + 0..n + Consignment + Pre Carriage + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Consignment. On Carriage_ Shipment Stage. Shipment Stage + A shipment stage during on-carriage (usually refers to movement activity that takes place after the container is discharged at a port of discharge). + 0..n + Consignment + On Carriage + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Consignment. Transport Handling Unit + A transport handling unit used for loose and containerized goods. + 0..n + Consignment + Transport Handling Unit + Transport Handling Unit + Transport Handling Unit + + + + + + + + + ASBIE + Consignment. First Arrival Port_ Location. Location + The first arrival location in a transport. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Consignment + First Arrival Port + Location + Location + Location + + + + + + + + + ASBIE + Consignment. Last Exit Port_ Location. Location + The final exporting location in a transport. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Consignment + Last Exit Port + Location + Location + Location + + + + + + + + + + + ABIE + Consumption. Details + A class to describe the consumption of a utility. + Consumption + + + + + + + + + BBIE + Consumption. Utility Statement Type Code. Code + A code identifying the type of the Utility Statement required for this consumption. Explains the kind of utility the statement is about, e.g.. "gas", "electricity", "telephone" + 0..1 + Consumption + Utility Statement Type Code + Code + Code. Type + Electricity + + + + + + + + + ASBIE + Consumption. Main_ Period. Period + The period of consumption. + 0..1 + Consumption + Main + Period + Period + Period + + + + + + + + + ASBIE + Consumption. Allowance Charge + An allowance or charges that may apply with this consumption. + 0..n + Consumption + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Consumption. Tax Total + The total of taxes for each tax type covering the consumption. + 0..n + Consumption + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Consumption. Energy Water Supply + The details of any energy or water consumption. + 0..1 + Consumption + Energy Water Supply + Energy Water Supply + Energy Water Supply + + + + + + + + + ASBIE + Consumption. Telecommunications Supply + The details of any telecommunications consumption. + 0..1 + Consumption + Telecommunications Supply + Telecommunications Supply + Telecommunications Supply + + + + + + + + + ASBIE + Consumption. Legal_ Monetary Total. Monetary Total + The total amount payable on this consumption, including any allowances, charges, or taxes. + 1 + Consumption + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + + + ABIE + Consumption Average. Details + A class to define an average consumption as a monetary amount. + Consumption Average + + + + + + + + + BBIE + Consumption Average. Average_ Amount. Amount + The average monetary amount of the consumption. + 0..1 + Consumption Average + Average + Amount + Amount + Amount. Type + 1.65 + + + + + + + + + BBIE + Consumption Average. Description. Text + A description of the average consumed. + 0..n + Consumption Average + Description + Text + Text. Type + Average price incl. value added tax per kilowatt-hour in the billing period. + + + + + + + + + + + ABIE + Consumption Correction. Details + The Statement of correction, for examples heating correction. + Consumption Correction + + + + + + + + + BBIE + Consumption Correction. Correction Type. Text + Statement for the correction type. + 0..1 + Consumption Correction + Correction Type + Text + Text. Type + Heating Correction + + + + + + + + + BBIE + Consumption Correction. Correction Type Code. Code + Statement at the code for the correction type. + 0..1 + Consumption Correction + Correction Type Code + Code + Code. Type + HeatingCorrection + + + + + + + + + BBIE + Consumption Correction. Meter Number. Text + Statement for meter number. + 0..1 + Consumption Correction + Meter Number + Text + Text. Type + 530071575 + + + + + + + + + BBIE + Consumption Correction. Gas Pressure. Quantity + Correction of the gas pressure. + 0..1 + Consumption Correction + Gas Pressure + Quantity + Quantity. Type + + + + + + + + + BBIE + Consumption Correction. Actual_ Temperature Reduction. Quantity + Statement for the actuel heating correction temperature. + 0..1 + Consumption Correction + Actual + Temperature Reduction + Quantity + Quantity. Type + -36.69 + + + + + + + + + BBIE + Consumption Correction. Normal_ Temperature Reduction. Quantity + Statement for the standard for heating correction temperature. + 0..1 + Consumption Correction + Normal + Temperature Reduction + Quantity + Quantity. Type + -37.00 + + + + + + + + + BBIE + Consumption Correction. Difference_ Temperature Reduction. Quantity + Deviation from standard heating correction. + 0..1 + Consumption Correction + Difference + Temperature Reduction + Quantity + Quantity. Type + 0.31 + + + + + + + + + BBIE + Consumption Correction. Description. Text + Description related to the corrections. + 0..n + Consumption Correction + Description + Text + Text. Type + + + + + + + + + BBIE + Consumption Correction. Correction Unit Amount. Amount + Correction per MWH per degree C. + 0..1 + Consumption Correction + Correction Unit Amount + Amount + Amount. Type + 0.0000 + + + + + + + + + BBIE + Consumption Correction. Consumption Energy. Quantity + Your consumpt for district heating energy. + 0..1 + Consumption Correction + Consumption Energy + Quantity + Quantity. Type + 563.6240 + + + + + + + + + BBIE + Consumption Correction. Consumption Water. Quantity + Your consumpt for district heating water. + 0..1 + Consumption Correction + Consumption Water + Quantity + Quantity. Type + 13212.14 + + + + + + + + + BBIE + Consumption Correction. Correction Amount. Amount + Your correction for heating correction. + 0..1 + Consumption Correction + Correction Amount + Amount + Amount. Type + 0.00 + + + + + + + + + + + ABIE + Consumption History. Details + A class to describe the measurement of a type of consumption during a particular period, used for the subscriber to get an overview of his consumption + Consumption History + + + + + + + + + BBIE + Consumption History. Meter Number. Text + A text identifier for the meter measuring the consumption. + 0..1 + Consumption History + Meter Number + Text + Text. Type + 61722x + + + + + + + + + BBIE + Consumption History. Quantity + The quantity consumed. + 1 + Consumption History + Quantity + Quantity + Quantity. Type + 7621.00 + + + + + + + + + BBIE + Consumption History. Amount + The monetary amount to be charged for the quantity consumed. + 0..1 + Consumption History + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Consumption History. Consumption Level Code. Code + The consumption level, expressed as a code used explain the consumption quantity, e.g.. diversion from the normal. + 0..1 + Consumption History + Consumption Level Code + Code + Code. Type + B + + + + + + + + + BBIE + Consumption History. Consumption Level Text. Text + The consumption level, expressed as text, used explain the consumption quantity, e.g.. diversion from the normal. + 0..1 + Consumption History + Consumption Level Text + Text + Text. Type + Average + + + + + + + + + BBIE + Consumption History. Description. Text + Text describing the consumption itself. + 0..n + Consumption History + Description + Text + Text. Type + 2004/2005 + + + + + + + + + ASBIE + Consumption History. Period + The period during which the consumption took place. + 1 + Consumption History + Period + Period + Period + + + + + + + + + + + ABIE + Consumption Line. Details + A class to describe a line item for utility consumption. To specify more than one utility item, use separate consumption lines. + Consumption Line + + + + + + + + + BBIE + Consumption Line. Identifier + An identifier for this consumption line. + 1 + Consumption Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Consumption Line. Parent_ Document Line Reference Identifier. Identifier + An identifier for the transaction line on a related document (such as an invoice) that covers this consumption line. + 0..1 + Consumption Line + Parent + Document Line Reference Identifier + Identifier + Identifier. Type + Consumption + + + + + + + + + BBIE + Consumption Line. Invoiced_ Quantity. Quantity + The quantity invoiced. + 1 + Consumption Line + Invoiced + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consumption Line. Line Extension Amount. Amount + The monetary amount, including discount, to be charged for this consumption line. + 1 + Consumption Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Consumption Line. Period + The period of time covered by this consumption line. + 0..1 + Consumption Line + Period + Period + Period + + + + + + + + + ASBIE + Consumption Line. Delivery + A delivery of the utility item on this consumption line. + 0..n + Consumption Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Consumption Line. Allowance Charge + An allowance or charge that applies to this consumption line. + 0..n + Consumption Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Consumption Line. Tax Total + A total amount of taxes of a particular kind applicable to this consumption line. + 0..n + Consumption Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Consumption Line. Utility Item + The utility item consumed. + 1 + Consumption Line + Utility Item + Utility Item + Utility Item + + + + + + + + + ASBIE + Consumption Line. Price + The price associated with this consumption line, expressed in a data structure containing multiple properties. + 0..1 + Consumption Line + Price + Price + Price + + + + + + + + + ASBIE + Consumption Line. Unstructured Price + The price associated with this consumption line expressed in a less structured form that includes just the amount and the time of use. + 0..1 + Consumption Line + Unstructured Price + Unstructured Price + Unstructured Price + + + + + + + + + + + ABIE + Consumption Point. Details + A class to define the point of consumption for a utility, such as a meter. + Consumption Point + + + + + + + + + BBIE + Consumption Point. Identifier + An identifier for this point of consumption. + 1 + Consumption Point + Identifier + Identifier + Identifier. Type + 7411013716x + + + + + + + + + BBIE + Consumption Point. Description. Text + Text describing this consumption point. + 0..n + Consumption Point + Description + Text + Text. Type + Additional informations concerning the consumption point + + + + + + + + + BBIE + Consumption Point. Subscriber Identifier. Identifier + An identifier for the subscriber responsible for the consumption at this consumption point. + 0..1 + Consumption Point + Subscriber Identifier + Identifier + Identifier. Type + 98143211 + + + + + + + + + BBIE + Consumption Point. Subscriber Type. Text + The type of subscriber, expressed as text. + 0..1 + Consumption Point + Subscriber Type + Text + Text. Type + + + + + + + + + BBIE + Consumption Point. Subscriber Type Code. Code + The type of subscriber, expressed as a code. + 0..1 + Consumption Point + Subscriber Type Code + Code + Code. Type + APL + + + + + + + + + BBIE + Consumption Point. Total_ Delivered Quantity. Quantity + The total quantity delivered, calculated at this consumption point. + 0..1 + Consumption Point + Total + Delivered Quantity + Quantity + Quantity. Type + 5761.00 + + + + + + + + + ASBIE + Consumption Point. Address + The address of this consumption point. + 0..1 + Consumption Point + Address + Address + Address + + + + + + + + + ASBIE + Consumption Point. Web Site Access + Access information for the website of this consumption point. + 0..1 + Consumption Point + Web Site Access + Web Site Access + Web Site Access + + + + + + + + + ASBIE + Consumption Point. Utility_ Meter. Meter + A meter at this consumption point. + 0..n + Consumption Point + Utility + Meter + Meter + Meter + + + + + + + + + + + ABIE + Consumption Report. Details + A class to describe utility consumption, including details of the environment in which consumption takes place. + Consumption Report + + + + + + + + + BBIE + Consumption Report. Identifier + An identifier for this consumption report. + 1 + Consumption Report + Identifier + Identifier + Identifier. Type + n/a + + + + + + + + + BBIE + Consumption Report. Consumption Type. Text + The type of consumption, expressed as text. + 0..1 + Consumption Report + Consumption Type + Text + Text. Type + Consumption + + + + + + + + + BBIE + Consumption Report. Consumption Type Code. Code + The type of consumption, expressed as a code. + 0..1 + Consumption Report + Consumption Type Code + Code + Code. Type + Consumption + + + + + + + + + BBIE + Consumption Report. Description. Text + Text reporting utility consumption. + 0..n + Consumption Report + Description + Text + Text. Type + This report contain the latest year consumption + + + + + + + + + BBIE + Consumption Report. Total_ Consumed Quantity. Quantity + The total quantity consumed. + 0..1 + Consumption Report + Total + Consumed Quantity + Quantity + Quantity. Type + 20479.00 + + + + + + + + + BBIE + Consumption Report. Basic_ Consumed Quantity. Quantity + The basic quantity consumed, excluding additional consumption. + 0..1 + Consumption Report + Basic + Consumed Quantity + Quantity + Quantity. Type + 20000.00 + + + + + + + + + BBIE + Consumption Report. Resident_ Occupants Numeric. Numeric + The number of people occupying the residence covered by this report. + 0..1 + Consumption Report + Resident + Occupants Numeric + Numeric + Numeric. Type + 4.0 + + + + + + + + + BBIE + Consumption Report. Consumers_ Energy Level Code. Code + The level of energy consumed, compared to the average for this residence type and the number of people living in the residence, expressed as a code. + 0..1 + Consumption Report + Consumers + Energy Level Code + Code + Code. Type + B + + + + + + + + + BBIE + Consumption Report. Consumers_ Energy Level. Text + The level of energy consumed, compared to the average for this residence type and the number of people living in the residence, expressed as text. + 0..1 + Consumption Report + Consumers + Energy Level + Text + Text. Type + Middel + + + + + + + + + BBIE + Consumption Report. Residence Type. Text + The type of residence (house, apartment, etc.) covered in this report, expressed as text. + 0..1 + Consumption Report + Residence Type + Text + Text. Type + House + + + + + + + + + BBIE + Consumption Report. Residence Type Code. Code + The type of residence (house, apartment, etc.) covered in this report, expressed as a code. + 0..1 + Consumption Report + Residence Type Code + Code + Code. Type + House + + + + + + + + + BBIE + Consumption Report. Heating Type. Text + The type of heating in the residence covered in this report, expressed as text. + 0..1 + Consumption Report + Heating Type + Text + Text. Type + District heating + + + + + + + + + BBIE + Consumption Report. Heating Type Code. Code + The type of heating in the residence covered in this report, expressed as a code. + 0..1 + Consumption Report + Heating Type Code + Code + Code. Type + DistrictHeating + + + + + + + + + ASBIE + Consumption Report. Period + The period of consumption covered in this report. + 0..1 + Consumption Report + Period + Period + Period + + + + + + + + + ASBIE + Consumption Report. Guidance_ Document Reference. Document Reference + A reference to a document providing an explanation of this kind of report. + 0..1 + Consumption Report + Guidance + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Consumption Report. Document Reference + A reference to some other document (for example, this report in another format). + 0..1 + Consumption Report + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Consumption Report. Consumption Report Reference + A reference to a previous consumption report. + 0..n + Consumption Report + Consumption Report Reference + Consumption Report Reference + Consumption Report Reference + + + + + + + + + ASBIE + Consumption Report. Consumption History + A report describing historical parameters relating to a specific instance of consumption. + 0..n + Consumption Report + Consumption History + Consumption History + Consumption History + + + + + + + + + + + ABIE + Consumption Report Reference. Details + A class to define a reference to an earlier consumption report (e.g., last year's consumption). + Consumption Report Reference + + + + + + + + + BBIE + Consumption Report Reference. Consumption_ Report Identifier. Identifier + An identifier for the referenced consumption report. + 1 + Consumption Report Reference + Consumption + Report Identifier + Identifier + Identifier. Type + n/a + + + + + + + + + BBIE + Consumption Report Reference. Consumption Type. Text + The reported consumption type, expressed as text. + 0..1 + Consumption Report Reference + Consumption Type + Text + Text. Type + Consumption + + + + + + + + + BBIE + Consumption Report Reference. Consumption Type Code. Code + The reported consumption type, expressed as a code. + 0..1 + Consumption Report Reference + Consumption Type Code + Code + Code. Type + Consumption + + + + + + + + + BBIE + Consumption Report Reference. Total_ Consumed Quantity. Quantity + The total quantity consumed during the period of the referenced report. + 1 + Consumption Report Reference + Total + Consumed Quantity + Quantity + Quantity. Type + 20479.00 + + + + + + + + + ASBIE + Consumption Report Reference. Period + The period of consumption covered by the referenced report. + 1 + Consumption Report Reference + Period + Period + Period + + + + + + + + + + + ABIE + Contact. Details + A class to describe a contactable person or department in an organization. + Contact + + + + + + + + + BBIE + Contact. Identifier + An identifier for this contact. + 0..1 + Contact + Identifier + Identifier + Identifier. Type + Receivals Clerk + + + + + + + + + BBIE + Contact. Name + The name of this contact. It is recommended that this be used for a functional name and not a personal name. + 0..1 + Contact + Name + Name + Name. Type + Delivery Dock + + + + + + + + + BBIE + Contact. Telephone. Text + The primary telephone number of this contact. + 0..1 + Contact + Telephone + Text + Text. Type + + + + + + + + + BBIE + Contact. Telefax. Text + The primary fax number of this contact. + 0..1 + Contact + Telefax + Text + Text. Type + + + + + + + + + BBIE + Contact. Electronic_ Mail. Text + The primary email address of this contact. + 0..1 + Contact + Electronic + Mail + Text + Text. Type + + + + + + + + + BBIE + Contact. Note. Text + Free-form text conveying information that is not contained explicitly in other structures; in particular, a textual description of the circumstances under which this contact can be used (e.g., "emergency" or "after hours"). + 0..n + Contact + Note + Text + Text. Type + + + + + + + + + ASBIE + Contact. Other_ Communication. Communication + Another means of communication with this contact. + 0..n + Contact + Other + Communication + Communication + Communication + + + + + + + + + + + ABIE + Contract. Details + A class to describe a contract. + Contract + + + + + + + + + BBIE + Contract. Identifier + An identifier for this contract. + 0..1 + Contract + Identifier + Identifier + Identifier. Type + CC23 + + + + + + + + + BBIE + Contract. Issue Date. Date + The date on which this contract was issued. + 0..1 + Contract + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Contract. Issue Time. Time + The time at which this contract was issued. + 0..1 + Contract + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Contract. Nomination Date. Date + In a transportation contract, the deadline date by which the services referred to in the transport execution plan have to be booked. For example, if this service is a carrier service scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011. + 0..1 + Contract + Nomination Date + Date + Date. Type + + + + + + + + + BBIE + Contract. Nomination Time. Time + In a transportation contract, the deadline time by which the services referred to in the transport execution plan have to be booked. For example, if this service is a carrier service scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011 and the nomination time 4 p.m. at the latest. + 0..1 + Contract + Nomination Time + Time + Time. Type + + + + + + + + + BBIE + Contract. Contract Type Code. Code + The type of this contract, expressed as a code, such as "Cost plus award fee" and "Cost plus fixed fee" from UNCEFACT Contract Type code list. + 0..1 + Contract + Contract Type Code + Code + Code. Type + + + + + + + + + BBIE + Contract. Contract Type. Text + The type of this contract, expressed as text, such as "Cost plus award fee" and "Cost plus fixed fee" from UNCEFACT Contract Type code list. + 0..1 + Contract + Contract Type + Text + Text. Type + + + + + + + + + BBIE + Contract. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Contract + Note + Text + Text. Type + Remarks + + + + + + + + + BBIE + Contract. Version. Identifier + An identifier for the current version of this contract. + 0..1 + Contract + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract. Description. Text + Text describing this contract. + 0..n + Contract + Description + Text + Text. Type + + + + + + + + + ASBIE + Contract. Validity_ Period. Period + The period during which this contract is valid. + 0..1 + Contract + Validity + Period + Period + Period + + + + + + + + + ASBIE + Contract. Contract_ Document Reference. Document Reference + A reference to a contract document. + 0..n + Contract + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Contract. Nomination_ Period. Period + In a transportation contract, the period required to book the services specified in the contract before the services can begin. + 0..1 + Contract + Nomination + Period + Period + Period + + + + + + + + + ASBIE + Contract. Contractual_ Delivery. Delivery + In a transportation contract, the delivery of the services required to book the services specified in the contract. + 0..1 + Contract + Contractual + Delivery + Delivery + Delivery + + + + + + + + + + + ABIE + Contract Execution Requirement. Details + A class to describe a requirement for execution of a contract. + Contract Execution Requirement + + + + + + + + + BBIE + Contract Execution Requirement. Name + A name for this requirement. + 0..n + Contract Execution Requirement + Name + Name + Name. Type + + + + + + + + + BBIE + Contract Execution Requirement. Execution Requirement Code. Code + A code signifying the type of party independent of its role. + 0..1 + Contract Execution Requirement + Execution Requirement Code + Code + Code. Type + + + + + + + + + BBIE + Contract Execution Requirement. Description. Text + Text describing this requirement. + 0..n + Contract Execution Requirement + Description + Text + Text. Type + + + + + + + + + + + ABIE + Contract Extension. Details + A class to describe possible extensions to a contract. + Contract Extension + + + + + + + + + BBIE + Contract Extension. Options Description. Text + A description for the possible options that can be carried out during the execution of the contract. + 0..n + Contract Extension + Options Description + Text + Text. Type + + + + + + + + + BBIE + Contract Extension. Minimum_ Number. Numeric + The fixed minimum number of contract extensions or renewals. + 0..1 + Contract Extension + Minimum + Number + Numeric + Numeric. Type + + + + + + + + + BBIE + Contract Extension. Maximum_ Number. Numeric + The maximum allowed number of contract extensions. + 0..1 + Contract Extension + Maximum + Number + Numeric + Numeric. Type + + + + + + + + + ASBIE + Contract Extension. Option Validity_ Period. Period + The period during which the option for extending the contract is available. + 0..1 + Contract Extension + Option Validity + Period + Period + Period + + + + + + + + + ASBIE + Contract Extension. Renewal + The period allowed for each contract extension. + 0..n + Contract Extension + Renewal + Renewal + Renewal + + + + + + + + + + + ABIE + Contracting Activity. Details + The nature of the type of business of the organization. + Contracting Activity + + + + + + + + + BBIE + Contracting Activity. Activity Type Code. Code + A code specifying the nature of the type of business of the organization. + 0..1 + Contracting Activity + Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Contracting Activity. Activity Type. Text + The nature of the type of business of the organization, expressed as text. + 0..1 + Contracting Activity + Activity Type + Text + Text. Type + + + + + + + + + + + ABIE + Contracting Party. Details + A class to describe an individual, a group, or a body having a procurement role in a tendering process. + Contracting Party + + + + + + + + + BBIE + Contracting Party. Buyer Profile_ URI. Identifier + The buyer profile is typically located on a web site where the contracting party publishes its procurement opportunities + 0..1 + Contracting Party + Buyer Profile + URI + Identifier + Identifier. Type + Buyer Profile + + + + + + + + + ASBIE + Contracting Party. Contracting Party Type + The type of contracting party that is independent of its role. + 0..n + Contracting Party + Contracting Party Type + Contracting Party Type + Contracting Party Type + + + + + + + + + ASBIE + Contracting Party. Contracting Activity + The nature of the type of business of the organization + 0..n + Contracting Party + Contracting Activity + Contracting Activity + Contracting Activity + + + + + + + + + ASBIE + Contracting Party. Party + The contracting party itself. + 1 + Contracting Party + Party + Party + Party + + + + + + + + + + + ABIE + Contracting Party Type. Details + The type of contracting party that is independent of its role. + Contracting Party Type + + + + + + + + + BBIE + Contracting Party Type. Party Type Code. Code + A code specifying the type of party that is independent of its role. + 0..1 + Contracting Party Type + Party Type Code + Code + Code. Type + + + + + + + + + BBIE + Contracting Party Type. Party Type. Text + The type of party that is independent of its role, expressed as text. + 0..1 + Contracting Party Type + Party Type + Text + Text. Type + + + + + + + + + + + ABIE + Corporate Registration Scheme. Details + A class to describe a scheme for corporate registration. + Corporate Registration Scheme + + + + + + + + + BBIE + Corporate Registration Scheme. Identifier + An identifier for this registration scheme. + 0..1 + Corporate Registration Scheme + Identifier + Identifier + Identifier. Type + ASIC in Australia + + + + + + + + + BBIE + Corporate Registration Scheme. Name + The name of this registration scheme. + 0..1 + Corporate Registration Scheme + Name + Name + Name. Type + Australian Securities and Investment Commission in Australia + + + + + + + + + BBIE + Corporate Registration Scheme. Corporate Registration Type Code. Code + A code signifying the type of this registration scheme. + 0..1 + Corporate Registration Scheme + Corporate Registration Type Code + Code + Code. Type + ACN + + + + + + + + + ASBIE + Corporate Registration Scheme. Jurisdiction Region_ Address. Address + A geographic area in which this registration scheme applies. + 0..n + Corporate Registration Scheme + Jurisdiction Region + Address + Address + Address + England , Wales + + + + + + + + + + + ABIE + Country. Details + A class to describe a country. + Country + + + + + + + + + BBIE + Country. Identification Code. Code + A code signifying this country. + 0..1 + Country + Identification Code + Code + Country Identification + Country Identification_ Code. Type + + + + + + + + + BBIE + Country. Name + The name of this country. + 0..1 + Country + Name + Name + Name. Type + SOUTH AFRICA + + + + + + + + + + + ABIE + Credit Account. Details + A class to identify a credit account for sales on account. + Credit Account + + + + + + + + + BBIE + Credit Account. Account Identifier. Identifier + An identifier for this credit account. + 1 + Credit Account + Account Identifier + Identifier + Identifier. Type + Customer Code 29 + + + + + + + + + + + ABIE + Credit Note Line. Details + A class to define a line in a Credit Note or Self Billed Credit Note. + Credit Note Line + + + + + + + + + BBIE + Credit Note Line. Identifier + An identifier for this credit note line. + 1 + Credit Note Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note Line. UUID. Identifier + A universally unique identifier for this credit note line. + 0..1 + Credit Note Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Credit Note Line + Note + Text + Text. Type + + + + + + + + + BBIE + Credit Note Line. Credited_ Quantity. Quantity + The quantity of items credited in this credit note line. + 0..1 + Credit Note Line + Credited + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Credit Note Line. Line Extension Amount. Amount + The total amount for this credit note line, including allowance charges but exclusive of taxes. + 0..1 + Credit Note Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Credit Note Line. Tax Point Date. Date + The date of this credit note line, used to indicate the point at which tax becomes applicable. + 0..1 + Credit Note Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this credit note line, expressed as a code. + 0..1 + Credit Note Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note Line. Accounting Cost. Text + The buyer's accounting cost centre for this credit note line, expressed as text. + 0..1 + Credit Note Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Credit Note Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Credit Note Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note Line. Free Of Charge_ Indicator. Indicator + An indicator that this credit note line is free of charge (true) or not (false). The default is false. + 0..1 + Credit Note Line + Free Of Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Credit Note Line. Invoice_ Period. Period + An invoice period to which this credit note line applies. + 0..n + Credit Note Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Credit Note Line. Order Line Reference + A reference to an order line associated with this credit note line. + 0..n + Credit Note Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Credit Note Line. Discrepancy_ Response. Response + A reason for the credit. + 0..n + Credit Note Line + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Credit Note Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this credit note line. + 0..n + Credit Note Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Credit Note Line. Receipt_ Line Reference. Line Reference + A reference to a receipt line associated with this credit note line. + 0..n + Credit Note Line + Receipt + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Credit Note Line. Billing Reference + A reference to a billing document associated with this credit note line. + 0..n + Credit Note Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Credit Note Line. Document Reference + A reference to a document associated with this credit note line. + 0..n + Credit Note Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note Line. Pricing Reference + A reference to pricing and item location information associated with this credit note line. + 0..1 + Credit Note Line + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Credit Note Line. Originator_ Party. Party + The party who originated the Order to which the Credit Note is related. + 0..1 + Credit Note Line + Originator + Party + Party + Party + + + + + + + + + ASBIE + Credit Note Line. Delivery + A delivery associated with this credit note line. + 0..n + Credit Note Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Credit Note Line. Payment Terms + A specification of payment terms associated with this credit note line. + 0..n + Credit Note Line + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Credit Note Line. Tax Total + A total amount of taxes of a particular kind applicable to this credit note line. + 0..n + Credit Note Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Credit Note Line. Allowance Charge + An allowance or charge associated with this credit note. + 0..n + Credit Note Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Credit Note Line. Item + The item associated with this credit note line. + 0..1 + Credit Note Line + Item + Item + Item + + + + + + + + + ASBIE + Credit Note Line. Price + The price of the item associated with this credit note line. + 0..1 + Credit Note Line + Price + Price + Price + Unit Price, Base Price + + + + + + + + + ASBIE + Credit Note Line. Delivery Terms + Terms and conditions of a delivery associated with this credit note line. + 0..n + Credit Note Line + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Credit Note Line. Sub_ Credit Note Line. Credit Note Line + A class defining one or more Credit Note Lines detailing the credit note line. + 0..n + Credit Note Line + Sub + Credit Note Line + Credit Note Line + Credit Note Line + + + + + + + + + ASBIE + Credit Note Line. Item_ Price Extension. Price Extension + The price extension, calculated by multiplying the price per unit by the quantity of items on this credit note line. + 0..1 + Credit Note Line + Item + Price Extension + Price Extension + Price Extension + + + + + + + + + + + ABIE + Customer Party. Details + A class to describe a customer party. + Customer Party + + + + + + + + + BBIE + Customer Party. Customer Assigned_ Account Identifier. Identifier + An identifier for the customer's account, assigned by the customer itself. + 0..1 + Customer Party + Customer Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Customer Party. Supplier Assigned_ Account Identifier. Identifier + An identifier for the customer's account, assigned by the supplier. + 0..1 + Customer Party + Supplier Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Customer Party. Additional_ Account Identifier. Identifier + An identifier for the customer's account, assigned by a third party. + 0..n + Customer Party + Additional + Account Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Customer Party. Party + The customer party itself. + 0..1 + Customer Party + Party + Party + Party + + + + + + + + + ASBIE + Customer Party. Delivery_ Contact. Contact + A customer contact for deliveries. + 0..1 + Customer Party + Delivery + Contact + Contact + Contact + + + + + + + + + ASBIE + Customer Party. Accounting_ Contact. Contact + A customer contact for accounting. + 0..1 + Customer Party + Accounting + Contact + Contact + Contact + + + + + + + + + ASBIE + Customer Party. Buyer_ Contact. Contact + A customer contact for purchasing. + 0..1 + Customer Party + Buyer + Contact + Contact + Contact + + + + + + + + + + + ABIE + Customs Declaration. Details + A class describing identifiers or references relating to customs procedures. + Customs Declaration + Movement Reference Number, Local Reference Number + + + + + + + + + BBIE + Customs Declaration. Identifier + An identifier associated with customs related procedures. + 1 + Customs Declaration + Identifier + Identifier + Identifier. Type + CUST001 3333-44-123 + + + + + + + + + ASBIE + Customs Declaration. Issuer_ Party. Party + Describes the party issuing the customs declaration. + 0..1 + Customs Declaration + Issuer + Party + Party + Party + + + + + + + + + + + ABIE + Debit Note Line. Details + A class to define a line in a Debit Note. + Debit Note Line + + + + + + + + + BBIE + Debit Note Line. Identifier + An identifier for this debit note line. + 1 + Debit Note Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note Line. UUID. Identifier + A universally unique identifier for this debit note line. + 0..1 + Debit Note Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Debit Note Line + Note + Text + Text. Type + + + + + + + + + BBIE + Debit Note Line. Debited_ Quantity. Quantity + The quantity of Items debited in this debit note line. + 0..1 + Debit Note Line + Debited + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Debit Note Line. Line Extension Amount. Amount + The total amount for this debit note line, including allowance charges but net of taxes. + 1 + Debit Note Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Debit Note Line. Tax Point Date. Date + The date of this debit note line, used to indicate the point at which tax becomes applicable. + 0..1 + Debit Note Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this debit note line, expressed as a code. + 0..1 + Debit Note Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Debit Note Line. Accounting Cost. Text + The buyer's accounting cost centre for this debit note line, expressed as text. + 0..1 + Debit Note Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Debit Note Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Debit Note Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Debit Note Line. Discrepancy_ Response. Response + A reason for the debit. + 0..n + Debit Note Line + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Debit Note Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this debit note line. + 0..n + Debit Note Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Debit Note Line. Receipt_ Line Reference. Line Reference + A reference to a receipt line associated with this debit note line. + 0..n + Debit Note Line + Receipt + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Debit Note Line. Billing Reference + A reference to a billing document associated with this debit note line. + 0..n + Debit Note Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Debit Note Line. Document Reference + A reference to a document associated with this debit note line. + 0..n + Debit Note Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note Line. Pricing Reference + A reference to pricing and item location information associated with this debit note line. + 0..1 + Debit Note Line + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Debit Note Line. Delivery + A delivery associated with this debit note line. + 0..n + Debit Note Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Debit Note Line. Tax Total + A total amount of taxes of a particular kind applicable to this debit note line. + 0..n + Debit Note Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Debit Note Line. Allowance Charge + An allowance or charge associated with this debit note. + 0..n + Debit Note Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Debit Note Line. Item + The item associated with this debit note line. + 0..1 + Debit Note Line + Item + Item + Item + + + + + + + + + ASBIE + Debit Note Line. Price + The price of the item associated with this debit note line. + 0..1 + Debit Note Line + Price + Price + Price + Unit Price, Base Price + + + + + + + + + ASBIE + Debit Note Line. Sub_ Debit Note Line. Debit Note Line + A recursive description of a debit note line subsidiary to this debit note line. + 0..n + Debit Note Line + Sub + Debit Note Line + Debit Note Line + Debit Note Line + + + + + + + + + + + ABIE + Declaration. Details + A class to describe a declaration by an economic operator of certain characteristics or capabilities in fulfilment of requirements specified in a call for tenders. + Declaration + + + + + + + + + BBIE + Declaration. Name + The name of this declaration. + 0..n + Declaration + Name + Name + Name. Type + + + + + + + + + BBIE + Declaration. Declaration Type Code. Code + A code signifying the type of this declaration. + 0..1 + Declaration + Declaration Type Code + Code + Code. Type + + + + + + + + + BBIE + Declaration. Description. Text + Text describing this declaration. + 0..n + Declaration + Description + Text + Text. Type + + + + + + + + + ASBIE + Declaration. Evidence Supplied + The evidence supporting this declaration. + 0..n + Declaration + Evidence Supplied + Evidence Supplied + Evidence Supplied + + + + + + + + + + + ABIE + Delivery. Details + A class to describe a delivery. + Delivery + + + + + + + + + BBIE + Delivery. Identifier + An identifier for this delivery. + 0..1 + Delivery + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Delivery. Quantity + The quantity of items, child consignments, shipments in this delivery. + 0..1 + Delivery + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Minimum_ Quantity. Quantity + The minimum quantity of items, child consignments, shipments in this delivery. + 0..1 + Delivery + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Maximum_ Quantity. Quantity + The maximum quantity of items, child consignments, shipments in this delivery. + 0..1 + Delivery + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Actual_ Delivery Date. Date + The actual date of delivery. + 0..1 + Delivery + Actual + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Delivery. Actual_ Delivery Time. Time + The actual time of delivery. + 0..1 + Delivery + Actual + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Delivery. Latest_ Delivery Date. Date + The latest date of delivery allowed by the buyer. + 0..1 + Delivery + Latest + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Delivery. Latest_ Delivery Time. Time + The latest time of delivery allowed by the buyer. + 0..1 + Delivery + Latest + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Delivery. Release. Identifier + An identifier used for approval of access to delivery locations (e.g., port terminals). + 0..1 + Delivery + Release + Identifier + Identifier. Type + + + + + + + + + BBIE + Delivery. Tracking Identifier. Identifier + The delivery Tracking ID (for transport tracking). + 0..1 + Delivery + Tracking Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Delivery. Delivery_ Address. Address + The delivery address. + 0..1 + Delivery + Delivery + Address + Address + Address + + + + + + + + + ASBIE + Delivery. Delivery_ Location. Location + The delivery location. + 0..1 + Delivery + Delivery + Location + Location + Location + + + + + + + + + ASBIE + Delivery. Alternative Delivery_ Location. Location + An alternative delivery location. + 0..1 + Delivery + Alternative Delivery + Location + Location + Location + + + + + + + + + ASBIE + Delivery. Requested Delivery_ Period. Period + The period requested for delivery. + 0..1 + Delivery + Requested Delivery + Period + Period + Period + + + + + + + + + ASBIE + Delivery. Promised Delivery_ Period. Period + The period promised for delivery. + 0..1 + Delivery + Promised Delivery + Period + Period + Period + + + + + + + + + ASBIE + Delivery. Estimated Delivery_ Period. Period + The period estimated for delivery. + 0..1 + Delivery + Estimated Delivery + Period + Period + Period + + + + + + + + + ASBIE + Delivery. Carrier_ Party. Party + The party responsible for delivering the goods. + 0..1 + Delivery + Carrier + Party + Party + Party + + + + + + + + + ASBIE + Delivery. Delivery_ Party. Party + The party to whom the goods are delivered. + 0..1 + Delivery + Delivery + Party + Party + Party + + + + + + + + + ASBIE + Delivery. Notify_ Party. Party + A party to be notified of this delivery. + 0..n + Delivery + Notify + Party + Party + Party + + + + + + + + + ASBIE + Delivery. Despatch + The despatch (pickup) associated with this delivery. + 0..1 + Delivery + Despatch + Despatch + Despatch + + + + + + + + + ASBIE + Delivery. Delivery Terms + Terms and conditions relating to the delivery. + 0..n + Delivery + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Delivery. Minimum_ Delivery Unit. Delivery Unit + The minimum delivery unit for this delivery. + 0..1 + Delivery + Minimum + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Delivery. Maximum_ Delivery Unit. Delivery Unit + The maximum delivery unit for this delivery. + 0..1 + Delivery + Maximum + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Delivery. Shipment + The shipment being delivered. + 0..1 + Delivery + Shipment + Shipment + Shipment + + + + + + + + + + + ABIE + Delivery Terms. Details + A class for describing the terms and conditions applying to the delivery of goods. + Delivery Terms + + + + + + + + + BBIE + Delivery Terms. Identifier + An identifier for this description of delivery terms. + 0..1 + Delivery Terms + Identifier + Identifier + Identifier. Type + CIF, FOB, or EXW from the INCOTERMS Terms of Delivery. (2000 version preferred.) + + + + + + + + + BBIE + Delivery Terms. Special_ Terms. Text + A description of any terms or conditions relating to the delivery items. + 0..n + Delivery Terms + Special + Terms + Text + Text. Type + + + + + + + + + BBIE + Delivery Terms. Loss Risk Responsibility Code. Code + A code that identifies one of various responsibilities for loss risk in the execution of the delivery. + 0..1 + Delivery Terms + Loss Risk Responsibility Code + Code + Code. Type + + + + + + + + + BBIE + Delivery Terms. Loss Risk. Text + A description of responsibility for risk of loss in execution of the delivery, expressed as text. + 0..n + Delivery Terms + Loss Risk + Text + Text. Type + + + + + + + + + BBIE + Delivery Terms. Amount + The monetary amount covered by these delivery terms. + 0..1 + Delivery Terms + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Delivery Terms. Delivery_ Location. Location + The location for the contracted delivery. + 0..1 + Delivery Terms + Delivery + Location + Location + Location + + + + + + + + + ASBIE + Delivery Terms. Allowance Charge + An allowance or charge covered by these delivery terms. + 0..1 + Delivery Terms + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Delivery Unit. Details + A class to describe a delivery unit. + Delivery Unit + + + + + + + + + BBIE + Delivery Unit. Batch Quantity. Quantity + The quantity of ordered Items that constitutes a batch for delivery purposes. + 1 + Delivery Unit + Batch Quantity + Quantity + Quantity. Type + 100 units , by the dozen + + + + + + + + + BBIE + Delivery Unit. Consumer_ Unit. Quantity + The quantity of units in the Delivery Unit expressed in the units used by the consumer. + 0..1 + Delivery Unit + Consumer + Unit + Quantity + Quantity. Type + packs of 10 + + + + + + + + + BBIE + Delivery Unit. Hazardous Risk_ Indicator. Indicator + An indication that the transported goods are subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Delivery Unit + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + + + ABIE + Dependent Price Reference. Details + A class to define the price of an item as a percentage of the price of a different item. + Dependent Price Reference + + + + + + + + + BBIE + Dependent Price Reference. Percent + The percentage by which the price of the different item is multiplied to calculate the price of the item. + 0..1 + Dependent Price Reference + Percent + Percent + Percent. Type + + + + + + + + + ASBIE + Dependent Price Reference. Location_ Address. Address + The reference location for this dependent price reference. + 0..1 + Dependent Price Reference + Location + Address + Address + Address + + + + + + + + + ASBIE + Dependent Price Reference. Dependent_ Line Reference. Line Reference + A reference to a line that the price is depended of. + 0..1 + Dependent Price Reference + Dependent + Line Reference + Line Reference + Line Reference + + + + + + + + + + + ABIE + Despatch. Details + A class to describe the despatching of goods (their pickup for delivery). + Despatch + + + + + + + + + BBIE + Despatch. Identifier + An identifier for this despatch event. + 0..1 + Despatch + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch. Requested_ Despatch Date. Date + The despatch (pickup) date requested, normally by the buyer. + 0..1 + Despatch + Requested + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Requested_ Despatch Time. Time + The despatch (pickup) time requested, normally by the buyer. + 0..1 + Despatch + Requested + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Estimated_ Despatch Date. Date + The estimated despatch (pickup) date. + 0..1 + Despatch + Estimated + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Estimated_ Despatch Time. Time + The estimated despatch (pickup) time. + 0..1 + Despatch + Estimated + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Actual_ Despatch Date. Date + The actual despatch (pickup) date. + 0..1 + Despatch + Actual + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Actual_ Despatch Time. Time + The actual despatch (pickup) time. + 0..1 + Despatch + Actual + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Guaranteed_ Despatch Date. Date + The date guaranteed for the despatch (pickup). + 0..1 + Despatch + Guaranteed + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Guaranteed_ Despatch Time. Time + The time guaranteed for the despatch (pickup). + 0..1 + Despatch + Guaranteed + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Release. Identifier + An identifier for the release of the despatch used as security control or cargo control (pick-up). + 0..1 + Despatch + Release + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch. Instructions. Text + Text describing any special instructions applying to the despatch (pickup). + 0..n + Despatch + Instructions + Text + Text. Type + + + + + + + + + ASBIE + Despatch. Despatch_ Address. Address + The address of the despatch (pickup). + 0..1 + Despatch + Despatch + Address + Address + Address + + + + + + + + + ASBIE + Despatch. Despatch_ Location. Location + The location of the despatch (pickup). + 0..1 + Despatch + Despatch + Location + Location + Location + + + + + + + + + ASBIE + Despatch. Despatch_ Party. Party + The party despatching the goods. + 0..1 + Despatch + Despatch + Party + Party + Party + + + + + + + + + ASBIE + Despatch. Carrier_ Party. Party + The party carrying the goods. + 0..1 + Despatch + Carrier + Party + Party + Party + + + + + + + + + ASBIE + Despatch. Notify_ Party. Party + A party to be notified of this despatch (pickup). + 0..n + Despatch + Notify + Party + Party + Party + + + + + + + + + ASBIE + Despatch. Contact + The primary contact for this despatch (pickup). + 0..1 + Despatch + Contact + Contact + Contact + + + + + + + + + ASBIE + Despatch. Estimated Despatch_ Period. Period + The period estimated for the despatch (pickup) of goods. + 0..1 + Despatch + Estimated Despatch + Period + Period + Period + + + + + + + + + ASBIE + Despatch. Requested Despatch_ Period. Period + The period requested for the despatch (pickup) of goods. + 0..1 + Despatch + Requested Despatch + Period + Period + Period + + + + + + + + + + + ABIE + Despatch Line. Details + A class to define a line in a Despatch Advice. + Despatch Line + + + + + + + + + BBIE + Despatch Line. Identifier + An identifier for this despatch line. + 1 + Despatch Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Line. UUID. Identifier + A universally unique identifier for this despatch line. + 0..1 + Despatch Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Despatch Line + Note + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Line Status Code. Code + A code signifying the status of this despatch line with respect to its original state. + 0..1 + Despatch Line + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + BBIE + Despatch Line. Delivered_ Quantity. Quantity + The quantity despatched (picked up). + 0..1 + Despatch Line + Delivered + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Backorder_ Quantity. Quantity + The quantity on back order at the supplier. + 0..1 + Despatch Line + Backorder + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Backorder_ Reason. Text + The reason for the back order. + 0..n + Despatch Line + Backorder + Reason + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Outstanding_ Quantity. Quantity + The quantity outstanding (which will follow in a later despatch). + 0..1 + Despatch Line + Outstanding + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Outstanding_ Reason. Text + The reason for the outstanding quantity. + 0..n + Despatch Line + Outstanding + Reason + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Oversupply_ Quantity. Quantity + The quantity over-supplied, i.e., the quantity over and above that ordered. + 0..1 + Despatch Line + Oversupply + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Despatch Line. Order Line Reference + A reference to an order line associated with this despatch line. + 1..n + Despatch Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Despatch Line. Document Reference + A reference to a document associated with this despatch line. + 0..n + Despatch Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Despatch Line. Item + The item associated with this despatch line. + 1 + Despatch Line + Item + Item + Item + + + + + + + + + ASBIE + Despatch Line. Shipment + A shipment associated with this despatch line. + 0..n + Despatch Line + Shipment + Shipment + Shipment + + + + + + + + + + + ABIE + Dimension. Details + A class to define a measurable dimension (length, mass, weight, volume, or area) of an item. + Dimension + + + + + + + + + BBIE + Dimension. Attribute Identifier. Identifier + An identifier for the attribute to which the measure applies. + 1 + Dimension + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Dimension. Measure + The measurement value. + 0..1 + Dimension + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Dimension. Description. Text + Text describing the measurement attribute. + 0..n + Dimension + Description + Text + Text. Type + + + + + + + + + BBIE + Dimension. Minimum_ Measure. Measure + The minimum value in a range of measurement of this dimension. + 0..1 + Dimension + Minimum + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Dimension. Maximum_ Measure. Measure + The maximum value in a range of measurement of this dimension. + 0..1 + Dimension + Maximum + Measure + Measure + Measure. Type + + + + + + + + + + + ABIE + Document Distribution. Details + A class to describe the distribution of a document to an interested party. + Document Distribution + + + + + + + + + BBIE + Document Distribution. Print_ Qualifier. Text + Text describing the interested party's distribution rights. + 1 + Document Distribution + Print + Qualifier + Text + Text. Type + + + + + + + + + BBIE + Document Distribution. Maximum_ Copies. Numeric + The maximum number of printed copies of the document that the interested party is allowed to make. + 1 + Document Distribution + Maximum + Copies + Numeric + Numeric. Type + + + + + + + + + ASBIE + Document Distribution. Party + The interested party to which the document should be distributed. + 1 + Document Distribution + Party + Party + Party + + + + + + + + + + + ABIE + Document Reference. Details + A class to define a reference to a document. + Document Reference + + + + + + + + + BBIE + Document Reference. Identifier + An identifier for the referenced document. + 1 + Document Reference + Identifier + Identifier + Identifier. Type + PO-001 3333-44-123 + + + + + + + + + BBIE + Document Reference. Copy_ Indicator. Indicator + An indicator that the referenced document is a copy (true) or the original (false). + 0..1 + Document Reference + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Document Reference. UUID. Identifier + A universally unique identifier for this document reference. + 0..1 + Document Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Reference. Issue Date. Date + The date, assigned by the sender of the referenced document, on which the document was issued. + 0..1 + Document Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Document Reference. Issue Time. Time + The time, assigned by the sender of the referenced document, at which the document was issued. + 0..1 + Document Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Document Reference. Document Type Code. Code + The type of document being referenced, expressed as a code. + 0..1 + Document Reference + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Document Reference. Document Type. Text + The type of document being referenced, expressed as text. + 0..1 + Document Reference + Document Type + Text + Text. Type + + + + + + + + + BBIE + Document Reference. XPath. Text + A reference to another place in the same XML document instance in which DocumentReference appears. + 0..n + Document Reference + XPath + Text + Text. Type + + + + + + + + + BBIE + Document Reference. Language. Identifier + An identifier for the language used in the referenced document. + 0..1 + Document Reference + Language + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Reference. Locale Code. Code + A code signifying the locale in which the language in the referenced document is used. + 0..1 + Document Reference + Locale Code + Code + Code. Type + + + + + + + + + BBIE + Document Reference. Version. Identifier + An identifier for the current version of the referenced document. + 0..1 + Document Reference + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Document Reference. Document Status Code. Code + A code signifying the status of the reference document with respect to its original state. + 0..1 + Document Reference + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Document Reference. Document_ Description. Text + Text describing the referenced document. + 0..n + Document Reference + Document + Description + Text + Text. Type + stock no longer provided + + + + + + + + + ASBIE + Document Reference. Attachment + The referenced document as an attachment to the document from which it is referenced. + 0..1 + Document Reference + Attachment + Attachment + Attachment + + + + + + + + + ASBIE + Document Reference. Validity_ Period. Period + The period for which this document reference is valid. + 0..1 + Document Reference + Validity + Period + Period + Period + + + + + + + + + ASBIE + Document Reference. Issuer_ Party. Party + The party who issued the referenced document. + 0..1 + Document Reference + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Document Reference. Result Of Verification + The result of an attempt to verify a signature associated with the referenced document. + 0..1 + Document Reference + Result Of Verification + Result Of Verification + Result Of Verification + + + + + + + + + + + ABIE + Document Response. Details + A class to describe an application-level response to a document. + Document Response + + + + + + + + + ASBIE + Document Response. Response + A response to the document as a whole. + 1 + Document Response + Response + Response + Response + + + + + + + + + ASBIE + Document Response. Document Reference + A referenced document. + 1..n + Document Response + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Document Response. Issuer_ Party. Party + The party that issued the document. + 0..1 + Document Response + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Document Response. Recipient_ Party. Party + The party for which the document is intended. + 0..1 + Document Response + Recipient + Party + Party + Party + + + + + + + + + ASBIE + Document Response. Line Response + A response to a particular line in the document. + 0..n + Document Response + Line Response + Line Response + Line Response + + + + + + + + + + + ABIE + Duty. Details + The charging rate used for both call charging and time dependent charging + Duty + + + + + + + + + BBIE + Duty. Amount + The amount of this duty. + 1 + Duty + Amount + Amount + Amount. Type + 88.23 + + + + + + + + + BBIE + Duty. Duty. Text + Text describing this duty. + 0..1 + Duty + Duty + Text + Text. Type + ConnectionFee + + + + + + + + + BBIE + Duty. Duty Code. Code + The type of this charge rate, expressed as a code. + 0..1 + Duty + Duty Code + Code + Code. Type + ConnectionFee + + + + + + + + + ASBIE + Duty. Tax Category + The tax category applicable to this duty. + 0..1 + Duty + Tax Category + Tax Category + Tax Category + + + + + + + + + + + ABIE + Economic Operator Role. Details + A class to describe the tenderer contracting role. + Economic Operator Role + + + + + + + + + BBIE + Economic Operator Role. Role Code. Code + A code specifying the role of the party. + 0..1 + Economic Operator Role + Role Code + Code + Code. Type + + + + + + + + + BBIE + Economic Operator Role. Role Description. Text + A textual description of the party role. + 0..n + Economic Operator Role + Role Description + Text + Text. Type + + + + + + + + + + + ABIE + Economic Operator Short List. Details + A class to provide information about the preselection of a short list of economic operators for consideration as possible candidates in a tendering process. + Economic Operator Short List + + + + + + + + + BBIE + Economic Operator Short List. Limitation_ Description. Text + Text describing the criteria used to restrict the number of candidates. + 0..n + Economic Operator Short List + Limitation + Description + Text + Text. Type + + + + + + + + + BBIE + Economic Operator Short List. Expected_ Quantity. Quantity + The number of economic operators expected to be on the short list. + 0..1 + Economic Operator Short List + Expected + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Economic Operator Short List. Maximum_ Quantity. Quantity + The maximum number of economic operators on the short list. + 0..1 + Economic Operator Short List + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Economic Operator Short List. Minimum_ Quantity. Quantity + The minimum number of economic operators on the short list. + 0..1 + Economic Operator Short List + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Economic Operator Short List. Pre Selected_ Party. Party + The parties pre-selected allowed to submit tenders in a negotiated procedure. Negotiated procedure is a type of procedure where the contracting authorities can set the parties to be invited in the procurement project + 0..n + Economic Operator Short List + Pre Selected + Party + Party + Party + + + + + + + + + + + ABIE + Emission Calculation Method. Details + A class to define how an environmental emission is calculated. + Emission Calculation Method + + + + + + + + + BBIE + Emission Calculation Method. Calculation Method Code. Code + A code signifying the method used to calculate the emission. + 0..1 + Emission Calculation Method + Calculation Method Code + Code + Code. Type + + + + + + + + + BBIE + Emission Calculation Method. Fullness Indication Code. Code + A code signifying whether a piece of transport equipment is full, partially full, or empty. This indication is used as a parameter when calculating the environmental emission. + 0..1 + Emission Calculation Method + Fullness Indication Code + Code + Code. Type + + + + + + + + + ASBIE + Emission Calculation Method. Measurement From_ Location. Location + A start location from which an environmental emission is calculated. + 0..1 + Emission Calculation Method + Measurement From + Location + Location + Location + + + + + + + + + ASBIE + Emission Calculation Method. Measurement To_ Location. Location + An end location to which an environmental emission is calculated. + 0..1 + Emission Calculation Method + Measurement To + Location + Location + Location + + + + + + + + + + + ABIE + Endorsement. Details + A class to describe an endorsement of a document. + Endorsement + + + + + + + + + BBIE + Endorsement. Document. Identifier + An identifier for this endorsement. + 1 + Endorsement + Document + Identifier + Identifier. Type + + + + + + + + + BBIE + Endorsement. Approval Status. Text + The status of this endorsement. + 1 + Endorsement + Approval Status + Text + Text. Type + Authentication Code + + + + + + + + + BBIE + Endorsement. Remarks. Text + Remarks provided by the endorsing party. + 0..n + Endorsement + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Endorsement. Endorser Party + The type of party providing this endorsement. + 1 + Endorsement + Endorser Party + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Endorsement. Signature + A signature applied to this endorsement. + 0..n + Endorsement + Signature + Signature + Signature + + + + + + + + + + + ABIE + Endorser Party. Details + A class to describe the party endorsing a document. + Endorser Party + + + + + + + + + BBIE + Endorser Party. Role Code. Code + A code specifying the role of the party providing the endorsement (e.g., issuer, embassy, insurance, etc.). + 1 + Endorser Party + Role Code + Code + Code. Type + + + + + + + + + BBIE + Endorser Party. Sequence. Numeric + A number indicating the order of the endorsement provided by this party in the sequence in which endorsements are to be applied. + 1 + Endorser Party + Sequence + Numeric + Numeric. Type + + + + + + + + + ASBIE + Endorser Party. Party + The party endorsing the application. + 1 + Endorser Party + Party + Party + Party + + + + + + + + + ASBIE + Endorser Party. Signatory_ Contact. Contact + The individual representing the exporter who signs the Certificate of Origin application before submitting it to the issuer party. + 1 + Endorser Party + Signatory + Contact + Contact + Contact + + + + + + + + + + + ABIE + Energy Tax Report. Details + A class to describe energy taxes. + Energy Tax Report + + + + + + + + + BBIE + Energy Tax Report. Tax Energy Amount. Amount + The monetary amount of taxes (and duties). + 0..1 + Energy Tax Report + Tax Energy Amount + Amount + Amount. Type + 3087.90 + + + + + + + + + BBIE + Energy Tax Report. Tax Energy_ On Account Amount. Amount + The monetary amount of taxes (and duties) paid on account. + 0..1 + Energy Tax Report + Tax Energy + On Account Amount + Amount + Amount. Type + 2855.40 + + + + + + + + + BBIE + Energy Tax Report. Tax Energy Balance. Amount + The monetary amount of the balance of taxes owing. + 0..1 + Energy Tax Report + Tax Energy Balance + Amount + Amount. Type + 232.49 + + + + + + + + + ASBIE + Energy Tax Report. Tax Scheme + The relevant taxation scheme. + 1 + Energy Tax Report + Tax Scheme + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Energy Water Supply. Details + A class to describe the supply (and therefore consumption) of an amount of energy or water. + Energy Water Supply + + + + + + + + + ASBIE + Energy Water Supply. Consumption Report + An amount of energy or water consumed. + 0..n + Energy Water Supply + Consumption Report + Consumption Report + Consumption Report + + + + + + + + + ASBIE + Energy Water Supply. Energy Tax Report + A tax on the consumption of energy or water. + 0..n + Energy Water Supply + Energy Tax Report + Energy Tax Report + Energy Tax Report + + + + + + + + + ASBIE + Energy Water Supply. Consumption Average + A consumption average. + 0..n + Energy Water Supply + Consumption Average + Consumption Average + Consumption Average + + + + + + + + + ASBIE + Energy Water Supply. Energy Water_ Consumption Correction. Consumption Correction + Describes any corrections or adjustments to the supply of energy or water. + 0..n + Energy Water Supply + Energy Water + Consumption Correction + Consumption Correction + Consumption Correction + + + + + + + + + + + ABIE + Environmental Emission. Details + A class to describe an environmental emission. + Environmental Emission + + + + + + + + + BBIE + Environmental Emission. Environmental Emission Type Code. Code + A code specifying the type of environmental emission. + 1 + Environmental Emission + Environmental Emission Type Code + Code + Code. Type + + + + + + + + + BBIE + Environmental Emission. Value. Measure + A value measurement for the environmental emission. + 1 + Environmental Emission + Value + Measure + Measure. Type + + + + + + + + + BBIE + Environmental Emission. Description. Text + Text describing this environmental emission. + 0..n + Environmental Emission + Description + Text + Text. Type + + + + + + + + + ASBIE + Environmental Emission. Emission Calculation Method + A method used to calculate the amount of this emission. + 0..n + Environmental Emission + Emission Calculation Method + Emission Calculation Method + Emission Calculation Method + + + + + + + + + + + ABIE + Evaluation Criterion. Details + A class defining the required criterion for a tenderer to be elligible in a tendering process. + Evaluation Criterion + + + + + + + + + BBIE + Evaluation Criterion. Evaluation Criterion Type Code. Code + A code that specifies the criterion; it may be financial, technical or organizational. + 0..1 + Evaluation Criterion + Evaluation Criterion Type Code + Code + Code. Type + + + + + + + + + BBIE + Evaluation Criterion. Description. Text + A description of the criterion. + 0..n + Evaluation Criterion + Description + Text + Text. Type + + + + + + + + + BBIE + Evaluation Criterion. Threshold_ Amount. Amount + Estimated monetary amount of the threshold for the criterion. + 0..1 + Evaluation Criterion + Threshold + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Evaluation Criterion. Threshold_ Quantity. Quantity + Estimated quantity of the threshold for the criterion. + 0..1 + Evaluation Criterion + Threshold + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Evaluation Criterion. Expression Code. Code + A code identifying the expression that will be used to evaluate the criterion. + 0..1 + Evaluation Criterion + Expression Code + Code + Code. Type + + + + + + + + + BBIE + Evaluation Criterion. Expression. Text + The expression that will be used to evaluate the criterion. + 0..n + Evaluation Criterion + Expression + Text + Text. Type + + + + + + + + + ASBIE + Evaluation Criterion. Duration_ Period. Period + Describes the period for which the evaluation criterion is valid. + 0..1 + Evaluation Criterion + Duration + Period + Period + Period + + + + + + + + + ASBIE + Evaluation Criterion. Suggested_ Evidence. Evidence + Describes any evidences that should be used to satisfy the criterion. + 0..n + Evaluation Criterion + Suggested + Evidence + Evidence + Evidence + + + + + + + + + + + ABIE + Event. Details + A class to describe a significant occurrence relating to an object, process, or person. + Event + + + + + + + + + BBIE + Event. Identification. Identifier + An identifier for this event within an agreed event identification scheme. + 0..1 + Event + Identification + Identifier + Identifier. Type + + + + + + + + + BBIE + Event. Occurrence Date. Date + The date of this event. + 0..1 + Event + Occurrence Date + Date + Date. Type + + + + + + + + + BBIE + Event. Occurrence Time. Time + The time of this event. + 0..1 + Event + Occurrence Time + Time + Time. Type + + + + + + + + + BBIE + Event. Type Code. Code + A code signifying the type of this event. + 0..1 + Event + Type Code + Code + Code. Type + + + + + + + + + BBIE + Event. Description. Text + Text describing this event. + 0..n + Event + Description + Text + Text. Type + + + + + + + + + BBIE + Event. Completion_ Indicator. Indicator + An indicator that this event has been completed (true) or not (false). + 0..1 + Event + Completion + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Event. Current_ Status. Status + The current status of this event. + 0..n + Event + Current + Status + Status + Status + + + + + + + + + ASBIE + Event. Contact + Contacts associated with this event. + 0..n + Event + Contact + Contact + Contact + + + + + + + + + ASBIE + Event. Occurence_ Location. Location + The location of this event. + 0..1 + Event + Occurence + Location + Location + Location + + + + + + + + + + + ABIE + Event Comment. Details + A class to define comments about a retail event. + Event Comment + + + + + + + + + BBIE + Event Comment. Comment. Text + Text commenting on the event. + 1 + Event Comment + Comment + Text + Text. Type + + + + + + + + + BBIE + Event Comment. Issue Date. Date + The date on which this comment was made. + 0..1 + Event Comment + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Event Comment. Issue Time. Time + The time at which this comment was made. + 0..1 + Event Comment + Issue Time + Time + Time. Type + + + + + + + + + + + ABIE + Event Line Item. Details + A class to define a line item describing the expected impacts associated with a retail event involving a specific product at a specific location. + Event Line Item + + + + + + + + + BBIE + Event Line Item. Line Number. Numeric + The number of this event line item. + 0..1 + Event Line Item + Line Number + Numeric + Numeric. Type + + + + + + + + + ASBIE + Event Line Item. Participating Locations_ Location. Location + The location of the stores involved in the event described in this line item. + 0..1 + Event Line Item + Participating Locations + Location + Location + Location + + + + + + + + + ASBIE + Event Line Item. Retail Planned Impact + A planned impact of the event described in this line item. + 0..n + Event Line Item + Retail Planned Impact + Retail Planned Impact + Retail Planned Impact + + + + + + + + + ASBIE + Event Line Item. Supply_ Item. Item + The product with which the event is associated. + 1 + Event Line Item + Supply + Item + Item + Item + + + + + + + + + + + ABIE + Event Tactic. Details + A class defining a specific type of action or situation arranged by the Buyer or the Seller to promote the product or products. + Event Tactic + + + + + + + + + BBIE + Event Tactic. Comment. Text + Generic field to add additional information or to specify mutually defined eventTacticTypes that are not currently listed. + 0..1 + Event Tactic + Comment + Text + Text. Type + + + + + + + + + BBIE + Event Tactic. Quantity + The currencies, units, etc. that describes what is need for the event or promotion Usage example: Number of pallets per store for a stack display + 0..1 + Event Tactic + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Event Tactic. Event Tactic Enumeration + The set of codes that describes this event tactic. + 1 + Event Tactic + Event Tactic Enumeration + Event Tactic Enumeration + Event Tactic Enumeration + + + + + + + + + ASBIE + Event Tactic. Period + The period covered by this event tactic. + 0..1 + Event Tactic + Period + Period + Period + + + + + + + + + + + ABIE + Event Tactic Enumeration. Details + A class to define a set of codes that describes a retail tactic. + Event Tactic Enumeration + + + + + + + + + BBIE + Event Tactic Enumeration. Consumer Incentive Tactic Type Code. Code + A code signifying the type of consumer incentive. Examples include:Free Item, Temporary Price reduction + 0..1 + Event Tactic Enumeration + Consumer Incentive Tactic Type Code + Code + Code. Type + + + + + + + + + BBIE + Event Tactic Enumeration. Display Tactic Type Code. Code + A code signifying the type of display. Examples Include: ON_COUNTER_DISPLAY, FLOOR_GRAPHICS FLOOR_STACK_DISPLAY + 0..1 + Event Tactic Enumeration + Display Tactic Type Code + Code + Code. Type + + + + + + + + + BBIE + Event Tactic Enumeration. Feature Tactic Type Code. Code + A code signifying a special feature. Examples Include: BILLBOARD DIRECT_MAIL_AD, FLYER + 0..1 + Event Tactic Enumeration + Feature Tactic Type Code + Code + Code. Type + + + + + + + + + BBIE + Event Tactic Enumeration. Trade Item Packing Labeling Type Code. Code + A code signifying the type of trade item packing and labeling. Examples Include: BONUS_SIZE CO_BRANDED_TRADE_ITEM + 0..1 + Event Tactic Enumeration + Trade Item Packing Labeling Type Code + Code + Code. Type + + + + + + + + + + + ABIE + Evidence. Details + A class to describe an item of evidentiary support for representations of capabilities or the ability to meet tendering requirements, which an economic operator must provide for acceptance into a tendering process. + Evidence + + + + + + + + + BBIE + Evidence. Identifier + An identifier for this item of evidentiary support. + 0..1 + Evidence + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Evidence. Evidence Type Code. Code + A code signifying the type of evidence. + 0..1 + Evidence + Evidence Type Code + Code + Code. Type + + + + + + + + + BBIE + Evidence. Description. Text + The textual description for this Evidence. + 0..n + Evidence + Description + Text + Text. Type + + + + + + + + + BBIE + Evidence. Candidate_ Statement. Text + Information about a candidate statement that the contracting authority accepts as a sufficient response. + 0..n + Evidence + Candidate + Statement + Text + Text. Type + + + + + + + + + ASBIE + Evidence. Evidence Issuing_ Party. Party + A class to describe a party issuing an evidentiary document. + 0..1 + Evidence + Evidence Issuing + Party + Party + Party + + + + + + + + + ASBIE + Evidence. Document Reference + A reference to the evidentiary document. + 0..1 + Evidence + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Evidence. Language + Information about a required translation to be part of the response, i.e. the language. + 0..1 + Evidence + Language + Language + Language + + + + + + + + + + + ABIE + Evidence Supplied. Details + A reference to evidence. + Evidence Supplied + + + + + + + + + BBIE + Evidence Supplied. Identifier + The identifier of the referenced evidence. + 1 + Evidence Supplied + Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Exception Criteria Line. Details + A class to define a line in an ExceptionCriteria document that specifies a threshold for forecast variance, product activity, or performance history, the exceeding of which should trigger an exception message. + Exception Criteria Line + + + + + + + + + BBIE + Exception Criteria Line. Identifier + An identifier for this exception criteria line. + 1 + Exception Criteria Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Criteria Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Exception Criteria Line + Note + Text + Text. Type + + + + + + + + + BBIE + Exception Criteria Line. Threshold Value Comparison Code. Code + Type of comparison to be carried out in reference to the set threshold." Allowed values are: EXCEEDS_EXCEPTION_VALUE FALLS_BELOW_EXCEPTION_VALUE + 1 + Exception Criteria Line + Threshold Value Comparison Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Threshold_ Quantity. Quantity + A quantity beyond which an exception will be triggered. + 1 + Exception Criteria Line + Threshold + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Exception Criteria Line. Exception Status Code. Code + A code signifying status specific to a shipment exception. + 0..1 + Exception Criteria Line + Exception Status Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Collaboration_ Priority Code. Code + A collaboratively assigned code signifying priority of the Exception. Possible values are: HIGH, LOW, MEDIUM + 0..1 + Exception Criteria Line + Collaboration + Priority Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Exception_ Resolution Code. Code + Coded representation of possible resolution methods". Possible values are: DEFAULT_TO_AVERAGE_OF_COMPARED_VALUES DEFAULT_TO_BUYERS_VALUE DEFAULT_TO_HIGH_VALUE DEFAULT_TO_LOW_VALUE DEFAULT_TO_SELLERS_VALUE MANUAL_RESOLUTION MUTUALLY_DEFINED + 0..1 + Exception Criteria Line + Exception + Resolution Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Supply Chain Activity Type Code. Code + Establishes the criterion for one of the three types of exceptions. There can be three types of exception criteria: Operational, Metric and Forecast Exceptions. This will be set if this Exception is about an Operational Exception. Description could be: A code used to identify an operational exception. Possible values are: CANCELED_ORDERS EMERGENCY_ORDERS ON_HAND ORDERS RECEIPTS SALES SHIPMENTS + 0..1 + Exception Criteria Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Performance Metric Type Code. Code + A code signifying a measure of performance. + 0..1 + Exception Criteria Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Exception Criteria Line. Effective_ Period. Period + The period during which this exception criteria line is in effect. + 0..1 + Exception Criteria Line + Effective + Period + Period + Period + + + + + + + + + ASBIE + Exception Criteria Line. Supply_ Item. Item + The Trade Item that is the subject of the Exception Criterion. + 1..n + Exception Criteria Line + Supply + Item + Item + Item + + + + + + + + + ASBIE + Exception Criteria Line. Forecast Exception Criterion Line + Establishes the criterion for one of the three types of exceptions. This class provides the criterion for the kind of forecast exception, the identification of the purpose of the forecast, the source of data and the time basis criterion for the exception. + 0..1 + Exception Criteria Line + Forecast Exception Criterion Line + Forecast Exception Criterion Line + Forecast Exception Criterion Line + + + + + + + + + + + ABIE + Exception Notification Line. Details + A class to define a line in an Exception Notification. + Exception Notification Line + + + + + + + + + BBIE + Exception Notification Line. Identifier + An identifier for this exception notification line. + 1 + Exception Notification Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Notification Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Exception Notification Line + Note + Text + Text. Type + + + + + + + + + BBIE + Exception Notification Line. Description. Text + Text describing the exception. + 0..n + Exception Notification Line + Description + Text + Text. Type + + + + + + + + + BBIE + Exception Notification Line. Exception Status Code. Code + A code signifying status specific to a shipment exception. + 0..1 + Exception Notification Line + Exception Status Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Collaboration_ Priority Code. Code + Priority of Exception. + 0..1 + Exception Notification Line + Collaboration + Priority Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Resolution Code. Code + Coded representation of possible resolution methods". Possible values are: DEFAULT_TO_AVERAGE_OF_COMPARED_VALUES DEFAULT_TO_BUYERS_VALUE DEFAULT_TO_HIGH_VALUE DEFAULT_TO_LOW_VALUE DEFAULT_TO_SELLERS_VALUE MANUAL_RESOLUTION MUTUALLY_DEFINED + 0..1 + Exception Notification Line + Resolution Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Compared Value. Measure + The value that was compared with the source value that resulted in the exception + 1 + Exception Notification Line + Compared Value + Measure + Measure. Type + + + + + + + + + BBIE + Exception Notification Line. Source Value. Measure + The value used as the basis of comparison + 1 + Exception Notification Line + Source Value + Measure + Measure. Type + + + + + + + + + BBIE + Exception Notification Line. Variance. Quantity + The variance of a data item from an expected value during a particular time interval. + 0..1 + Exception Notification Line + Variance + Quantity + Quantity. Type + + + + + + + + + BBIE + Exception Notification Line. Supply Chain Activity Type Code. Code + Establishes the criterion for one of the three types of exceptions: Operational, performance metric and forecast. This reports an exception notification about an operational exception. Description could be: A code used to identify an operational exception. Possible values are: CANCELED_ORDERS EMERGENCY_ORDERS ON_HAND ORDERS RECEIPTS SALES SHIPMENTS + 0..1 + Exception Notification Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Performance Metric Type Code. Code + A code used to identify a measure of performance. It defines the type of the Performance Metric on which an exception criteria is being defined + 0..1 + Exception Notification Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Exception Notification Line. Exception Observation_ Period. Period + The period (start-end date) when this exception is observed + 0..1 + Exception Notification Line + Exception Observation + Period + Period + Period + + + + + + + + + ASBIE + Exception Notification Line. Document Reference + A reference to Exception Criteria document can be provided. + 0..n + Exception Notification Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Exception Notification Line. Forecast Exception + A forecast accuracy or comparison exception. + 0..1 + Exception Notification Line + Forecast Exception + Forecast Exception + Forecast Exception + + + + + + + + + ASBIE + Exception Notification Line. Supply_ Item. Item + The product associated with this exception notification line. + 1 + Exception Notification Line + Supply + Item + Item + Item + + + + + + + + + + + ABIE + Exchange Rate. Details + A class to define an exchange rate. + Exchange Rate + + + + + + + + + BBIE + Exchange Rate. Source_ Currency Code. Code + The reference currency for this exchange rate; the currency from which the exchange is being made. + 1 + Exchange Rate + Source + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Source_ Currency Base Rate. Rate + In the case of a source currency with denominations of small value, the unit base. + 0..1 + Exchange Rate + Source + Currency Base Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Target_ Currency Code. Code + The target currency for this exchange rate; the currency to which the exchange is being made. + 1 + Exchange Rate + Target + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Target_ Currency Base Rate. Rate + In the case of a target currency with denominations of small value, the unit base. + 0..1 + Exchange Rate + Target + Currency Base Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Exchange Market Identifier. Identifier + An identifier for the currency exchange market used as the source of this exchange rate. + 0..1 + Exchange Rate + Exchange Market Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Exchange Rate. Calculation Rate. Rate + The factor applied to the source currency to calculate the target currency. + 0..1 + Exchange Rate + Calculation Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Mathematic Operator Code. Code + A code signifying whether the calculation rate is a multiplier or a divisor. + 0..1 + Exchange Rate + Mathematic Operator Code + Code + Operator + Operator_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Date + The date on which the exchange rate was established. + 0..1 + Exchange Rate + Date + Date + Date. Type + + + + + + + + + ASBIE + Exchange Rate. Foreign Exchange_ Contract. Contract + A contract for foreign exchange. + 0..1 + Exchange Rate + Foreign Exchange + Contract + Contract + Contract + + + + + + + + + + + ABIE + External Reference. Details + A class to describe an external object, such as a document stored at a remote location. + External Reference + + + + + + + + + BBIE + External Reference. URI. Identifier + The Uniform Resource Identifier (URI) that identifies the external object as an Internet resource. + 0..1 + External Reference + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + External Reference. Document Hash. Text + A hash value for the externally stored object. + 0..1 + External Reference + Document Hash + Text + Text. Type + + + + + + + + + BBIE + External Reference. Hash Algorithm Method. Text + A hash algorithm used to calculate the hash value of the externally stored object. + 0..1 + External Reference + Hash Algorithm Method + Text + Text. Type + + + + + + + + + BBIE + External Reference. Expiry Date. Date + The date on which availability of the resource can no longer be relied upon. + 0..1 + External Reference + Expiry Date + Date + Date. Type + + + + + + + + + BBIE + External Reference. Expiry Time. Time + The time after which availability of the resource can no longer be relied upon. + 0..1 + External Reference + Expiry Time + Time + Time. Type + + + + + + + + + BBIE + External Reference. Mime Code. Code + A code signifying the mime type of the external object. + 0..1 + External Reference + Mime Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. Format Code. Code + A code signifying the format of the external object. + 0..1 + External Reference + Format Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. Encoding Code. Code + A code signifying the encoding/decoding algorithm used with the external object. + 0..1 + External Reference + Encoding Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. Character Set Code. Code + A code signifying the character set of an external document. + 0..1 + External Reference + Character Set Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. File Name. Name + The file name of the external object. + 0..1 + External Reference + File Name + Name + Name. Type + + + + + + + + + BBIE + External Reference. Description. Text + Text describing the external object. + 0..n + External Reference + Description + Text + Text. Type + computer accessories for laptops + + + + + + + + + + + ABIE + Financial Account. Details + A class to describe a financial account. + Financial Account + + + + + + + + + BBIE + Financial Account. Identifier + The identifier for this financial account; the bank account number. + 0..1 + Financial Account + Identifier + Identifier + Identifier. Type + SWIFT(BIC) and IBAN are defined in ISO 9362 and ISO 13616. + + + + + + + + + BBIE + Financial Account. Name + The name of this financial account. + 0..1 + Financial Account + Name + Name + Name. Type + + + + + + + + + BBIE + Financial Account. Alias_ Name. Name + An alias for the name of this financial account, to be used in place of the actual account name for security reasons. + 0..1 + Financial Account + Alias + Name + Name + Name. Type + + + + + + + + + BBIE + Financial Account. Account Type Code. Code + A code signifying the type of this financial account. + 0..1 + Financial Account + Account Type Code + Code + Code. Type + + + + + + + + + BBIE + Financial Account. Account Format Code. Code + A code signifying the format of this financial account. + 0..1 + Financial Account + Account Format Code + Code + Code. Type + ISO20022 Clearing System Identification Code + + + + + + + + + BBIE + Financial Account. Currency Code. Code + A code signifying the currency in which this financial account is held. + 0..1 + Financial Account + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Financial Account. Payment_ Note. Text + Free-form text applying to the Payment for the owner of this account. + 0..n + Financial Account + Payment + Note + Text + Text. Type + + + + + + + + + ASBIE + Financial Account. Financial Institution_ Branch. Branch + The branch of the financial institution associated with this financial account. + 0..1 + Financial Account + Financial Institution + Branch + Branch + Branch + + + + + + + + + ASBIE + Financial Account. Country + The country in which the holder of the financial account is domiciled. + 0..1 + Financial Account + Country + Country + Country + + + + + + + + + + + ABIE + Financial Guarantee. Details + A class to describe the bond guarantee of a tenderer or bid submitter's actual entry into a contract in the event that it is the successful bidder. + Financial Guarantee + + + + + + + + + BBIE + Financial Guarantee. Guarantee Type Code. Code + A code signifying the type of financial guarantee. For instance "Provisional Guarantee" or "Final Guarantee" + 1 + Financial Guarantee + Guarantee Type Code + Code + Code. Type + + + + + + + + + BBIE + Financial Guarantee. Description. Text + Text describing this financial guarantee. + 0..n + Financial Guarantee + Description + Text + Text. Type + + + + + + + + + BBIE + Financial Guarantee. Liability. Amount + The amount of liability in this financial guarantee. + 0..1 + Financial Guarantee + Liability + Amount + Amount. Type + + + + + + + + + BBIE + Financial Guarantee. Amount. Rate + The rate used to calculate the amount of liability in this financial guarantee. + 0..1 + Financial Guarantee + Amount + Rate + Rate. Type + + + + + + + + + ASBIE + Financial Guarantee. Constitution_ Period. Period + The period during the tendering process to which this financial guarantee has to be settled. + 0..1 + Financial Guarantee + Constitution + Period + Period + Period + + + + + + + + + + + ABIE + Financial Institution. Details + A class to describe a financial institution. + Financial Institution + + + + + + + + + BBIE + Financial Institution. Identifier + An identifier for this financial institution. It is recommended that the ISO 9362 Bank Identification Code (BIC) be used as the ID. + 0..1 + Financial Institution + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Financial Institution. Name + The name of this financial institution. + 0..1 + Financial Institution + Name + Name + Name. Type + + + + + + + + + ASBIE + Financial Institution. Address + The address of this financial institution. + 0..1 + Financial Institution + Address + Address + Address + + + + + + + + + + + ABIE + Forecast Exception. Details + As explained in Exception Criteria Line: Three types of exception criteria can be defined, Operational, Metric or Forecast Exceptions. This class provides criteria for forecast exception type: the identification of the purpose of the forecast, the source of data and the time basis criteria for the exception. + Forecast Exception + + + + + + + + + BBIE + Forecast Exception. Forecast_ Purpose Code. Code + It is either Sales forecast or Order Forecast. Definition can be changed like: "The purpose of the Forecast (either sales or order), about which an exception criteria is being defined". + 1 + Forecast Exception + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Forecast Type Code. Code + A code signifying the type of forecast. Example of values are:BASE PROMOTIONAL SEASONAL TOTAL + 1 + Forecast Exception + Forecast Type Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Issue Date. Date + The date on which the forecast was issued. + 1 + Forecast Exception + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Forecast Exception. Issue Time. Time + The time at which the forecast was issued. + 0..1 + Forecast Exception + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Exception. Data Source Code. Code + A code signifying the partner who provides this information. + 1 + Forecast Exception + Data Source Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Comparison Data Code. Code + A code signifying the partner providing the information in this forecast exception. + 0..1 + Forecast Exception + Comparison Data Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Comparison Forecast Issue Time. Time + The time at which this comparison forecast was issued. + 0..1 + Forecast Exception + Comparison Forecast Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Exception. Comparison Forecast Issue Date. Date + The date on which this comparison forecast was issued. + 0..1 + Forecast Exception + Comparison Forecast Issue Date + Date + Date. Type + + + + + + + + + + + ABIE + Forecast Exception Criterion Line. Details + Establishes the criterion for one of the three types of exceptions. This class provides criteria for the kind of forecast exception, the identification of the purpose of the forecast, the source of data and the time basis criterion for the exception. + Forecast Exception Criterion Line + + + + + + + + + BBIE + Forecast Exception Criterion Line. Forecast_ Purpose Code. Code + A description of the purpose for the forecast that is assigned to each forecast data item exception criterion. + 1 + Forecast Exception Criterion Line + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Forecast Type Code. Code + A description of a Forecast selected from a list. + 1 + Forecast Exception Criterion Line + Forecast Type Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Comparison Data Source Code. Code + If it is a forecast comparison exception, this value indicates the other source of information. + 0..1 + Forecast Exception Criterion Line + Comparison Data Source Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Data Source Code. Code + Indication of the partner who provides the information. + 1 + Forecast Exception Criterion Line + Data Source Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Time Delta Days Quantity. Quantity + Time basis in days for the Exception. + 0..1 + Forecast Exception Criterion Line + Time Delta Days Quantity + Quantity + Quantity. Type + + + + + + + + + + + ABIE + Forecast Line. Details + Detailed information about a particular Forecast Line within a Forecast Document + Forecast Line + + + + + + + + + BBIE + Forecast Line. Identifier + An identifier for this forecast line. + 1 + Forecast Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Forecast Line + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast Line. Frozen Document Indicator. Indicator + An indicator that the status of the forecast is modifiable (true) or not (false). + 0..1 + Forecast Line + Frozen Document Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast Line. Forecast Type Code. Code + A code signifying the type of forecast. Examples: BASE PROMOTIONAL SEASONAL TOTAL + 1 + Forecast Line + Forecast Type Code + Code + Code. Type + seasonal, total + + + + + + + + + ASBIE + Forecast Line. Forecast_ Period. Period + The period to which the forecast applies. + 0..1 + Forecast Line + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast Line. Sales Item + Sales information for the item to which this line applies. + 0..1 + Forecast Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Forecast Revision Line. Details + A class to define a line in a Forecast Revision describing a revision to a line in a Forecast. + Forecast Revision Line + + + + + + + + + BBIE + Forecast Revision Line. Identifier + An identifier for this forecast revision line. + 1 + Forecast Revision Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Forecast Revision Line + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast Revision Line. Description. Text + Text describing the revision to this line. + 0..n + Forecast Revision Line + Description + Text + Text. Type + + + + + + + + + BBIE + Forecast Revision Line. Revised_ Forecast Line Identifier. Identifier + An identifier for the revised forecast line. + 1 + Forecast Revision Line + Revised + Forecast Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision Line. Source Forecast_ Issue Date. Date + The date on which the forecast modified by this revision was generated or created. + 1 + Forecast Revision Line + Source Forecast + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Forecast Revision Line. Source Forecast_ Issue Time. Time + The time at which the forecast modified by this revision was generated or created. + 1 + Forecast Revision Line + Source Forecast + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Revision Line. Adjustment Reason Code. Code + A code signifying the reason for the adjustment specified in this forecast revision line. + 0..1 + Forecast Revision Line + Adjustment Reason Code + Code + Code. Type + + + + + + + + + ASBIE + Forecast Revision Line. Forecast_ Period. Period + The period to which this forecast revision line applies. + 0..1 + Forecast Revision Line + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast Revision Line. Sales Item + Sales information for the item to which this line applies. + 0..1 + Forecast Revision Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Framework Agreement. Details + A class to describe a tendering framework agreement. + Framework Agreement + + + + + + + + + BBIE + Framework Agreement. Expected_ Operator. Quantity + The number of economic operators expected to participate in this framework agreement. + 0..1 + Framework Agreement + Expected + Operator + Quantity + Quantity. Type + + + + + + + + + BBIE + Framework Agreement. Maximum_ Operator. Quantity + The maximum number of economic operators allowed to participate in this framework agreement. + 0..1 + Framework Agreement + Maximum + Operator + Quantity + Quantity. Type + + + + + + + + + BBIE + Framework Agreement. Justification. Text + Text describing the justification for this framework agreement. + 0..n + Framework Agreement + Justification + Text + Text. Type + + + + + + + + + BBIE + Framework Agreement. Frequency. Text + Text describing the frequency with which subsequent contracts will be awarded. + 0..n + Framework Agreement + Frequency + Text + Text. Type + + + + + + + + + ASBIE + Framework Agreement. Duration_ Period. Period + The period during which this framework agreement applies. + 0..1 + Framework Agreement + Duration + Period + Period + Period + + + + + + + + + ASBIE + Framework Agreement. Subsequent Process_ Tender Requirement. Tender Requirement + A tender requirement intended for consumption by downstream tendering processes derived from the establishment of this framework agreement. + 0..n + Framework Agreement + Subsequent Process + Tender Requirement + Tender Requirement + Tender Requirement + Curricula required + + + + + + + + + + + ABIE + Goods Item. Details + A class to describe a separately identifiable quantity of goods of a single product type. + Goods Item + + + + + + + + + BBIE + Goods Item. Identifier + An identifier for this goods item. + 0..1 + Goods Item + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item. Sequence Number. Identifier + A sequence number differentiating a specific goods item within a consignment. + 0..1 + Goods Item + Sequence Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item. Description. Text + Text describing this goods item to identify it for customs, statistical, or transport purposes. + 0..n + Goods Item + Description + Text + Text. Type + Description of goods (WCO ID 137) + + + + + + + + + BBIE + Goods Item. Hazardous Risk_ Indicator. Indicator + An indication that the transported goods item is subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Goods Item + Hazardous Risk + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Goods Item. Declared Customs_ Value. Amount + The total declared value for customs purposes of the goods item. + 0..1 + Goods Item + Declared Customs + Value + Amount + Amount. Type + For Customs Value (WCO ID 108) + + + + + + + + + BBIE + Goods Item. Declared For Carriage_ Value. Amount + The value of this goods item, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Goods Item + Declared For Carriage + Value + Amount + Amount. Type + Interest in delivery, declared value for carriage + + + + + + + + + BBIE + Goods Item. Declared Statistics_ Value. Amount + The total declared value of all the goods items in the same consignment with this goods item that have the same statistical heading. + 0..1 + Goods Item + Declared Statistics + Value + Amount + Amount. Type + Statistical Value (WCO ID 114) + + + + + + + + + BBIE + Goods Item. Free On Board_ Value. Amount + The monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Goods Item + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Goods Item. Insurance_ Value. Amount + The amount covered by insurance for this goods item. + 0..1 + Goods Item + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Goods Item. Value. Amount + The amount on which a duty, tax, or fee will be assessed. + 0..1 + Goods Item + Value + Amount + Amount. Type + + + + + + + + + BBIE + Goods Item. Gross_ Weight. Measure + The weight of this goods item, including packing and packaging but excluding the carrier's equipment. + 0..1 + Goods Item + Gross + Weight + Measure + Measure. Type + Actual Gross Weight + + + + + + + + + BBIE + Goods Item. Net_ Weight. Measure + The weight of this goods item, excluding packing but including packaging that normally accompanies the goods. + 0..1 + Goods Item + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Net Net_ Weight. Measure + The total weight of this goods item, excluding all packing and packaging. + 0..1 + Goods Item + Net Net + Weight + Measure + Measure. Type + Customs Weight (WCO ID 128) + + + + + + + + + BBIE + Goods Item. Chargeable_ Weight. Measure + The weight on which a charge is to be based. + 0..1 + Goods Item + Chargeable + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Gross_ Volume. Measure + The volume of this goods item, normally calculated by multiplying its maximum length, width, and height. + 0..1 + Goods Item + Gross + Volume + Measure + Measure. Type + Volume, Gross Measurement Cube (GMC), Cube (WCO ID 134) + + + + + + + + + BBIE + Goods Item. Net_ Volume. Measure + The volume contained by a goods item, excluding the volume of any packaging material. + 0..1 + Goods Item + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Quantity + The number of units making up this goods item. + 0..1 + Goods Item + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Preference Criterion Code. Code + A code signifying the treatment preference for this goods item according to international trading agreements. + 0..1 + Goods Item + Preference Criterion Code + Code + Code. Type + Preference Criterion is used in the following manner in the paper CO of another country (e.g.): +A - The good is wholly obtained or produced entirely in the territory of one or more of the NAFTA countries as reference in Article 415. Note: The purchase of a good in the territory does not necessarily render it wholly obtained or produced . If the good is an agricultural good, see also criterion F and Annex 703.2. (Reference: Article 401(a), 415). +B - ... +C - ... +D - ... +E - ... +F - The good is an originating agricultural good under preference criterion A,B, or C above and is not subjected to quantitative restriction in the importing NAFTA country because.... +Thus, the column Preference Criterion will indicate either A, B, C,... + + + + + + + + + BBIE + Goods Item. Required_ Customs Identifier. Identifier + An identifier for a set of tariff codes required to specify a type of goods for customs, transport, statistical, or other regulatory purposes. + 0..1 + Goods Item + Required + Customs Identifier + Identifier + Identifier. Type + Tariff code extensions (WCO ID 255) + + + + + + + + + BBIE + Goods Item. Customs Status Code. Code + A code assigned by customs to signify the status of this goods item. + 0..1 + Goods Item + Customs Status Code + Code + Code. Type + Customs status of goods (WCO ID 094) + + + + + + + + + BBIE + Goods Item. Customs Tariff Quantity. Quantity + Quantity of the units in this goods item as required by customs for tariff, statistical, or fiscal purposes. + 0..1 + Goods Item + Customs Tariff Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Customs Import_ Classified Indicator. Indicator + An indicator that this goods item has been classified for import by customs (true) or not (false). + 0..1 + Goods Item + Customs Import + Classified Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Goods Item. Chargeable_ Quantity. Quantity + The number of units in the goods item to which charges apply. + 0..1 + Goods Item + Chargeable + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Returnable_ Quantity. Quantity + The number of units in the goods item that may be returned. + 0..1 + Goods Item + Returnable + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Trace_ Identifier. Identifier + An identifier for use in tracing this goods item, such as the EPC number used in RFID. + 0..1 + Goods Item + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Goods Item. Item + Product information relating to a goods item. + 0..n + Goods Item + Item + Item + Item + + + + + + + + + ASBIE + Goods Item. Goods Item Container + The transporting of a goods item in a unit of transport equipment (e.g., container). + 0..n + Goods Item + Goods Item Container + Goods Item Container + Goods Item Container + + + + + + + + + ASBIE + Goods Item. Freight_ Allowance Charge. Allowance Charge + A cost incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance to the extent that they relate to the freight costs. + 0..n + Goods Item + Freight + Allowance Charge + Allowance Charge + Allowance Charge + Freight Costs + + + + + + + + + ASBIE + Goods Item. Invoice Line + Information about an invoice line relating to this goods item. + 0..n + Goods Item + Invoice Line + Invoice Line + Invoice Line + + + + + + + + + ASBIE + Goods Item. Temperature + The temperature of the goods item. + 0..n + Goods Item + Temperature + Temperature + Temperature + maximum, storage, minimum + + + + + + + + + ASBIE + Goods Item. Contained_ Goods Item. Goods Item + A goods item contained in this goods item. + 0..n + Goods Item + Contained + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Goods Item. Origin_ Address. Address + The region in which the goods have been produced or manufactured, according to criteria laid down for the purposes of application of the customs tariff, or of quantitative restrictions, or of any other measure related to trade. + 0..1 + Goods Item + Origin + Address + Address + Address + Region of origin (WCO ID 066) + + + + + + + + + ASBIE + Goods Item. Delivery + The delivery of this goods item. + 0..1 + Goods Item + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Goods Item. Pickup + The pickup of this goods item. + 0..1 + Goods Item + Pickup + Pickup + Pickup + + + + + + + + + ASBIE + Goods Item. Despatch + The despatch of this goods item. + 0..1 + Goods Item + Despatch + Despatch + Despatch + + + + + + + + + ASBIE + Goods Item. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this goods item. + 0..n + Goods Item + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Goods Item. Containing_ Package. Package + A package containing this goods item. + 0..n + Goods Item + Containing + Package + Package + Package + + + + + + + + + ASBIE + Goods Item. Shipment_ Document Reference. Document Reference + A reference to a shipping document associated with this goods item. + 0..1 + Goods Item + Shipment + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Goods Item. Minimum_ Temperature. Temperature + Information about minimum temperature. + 0..1 + Goods Item + Minimum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Goods Item. Maximum_ Temperature. Temperature + Information about maximum temperature. + 0..1 + Goods Item + Maximum + Temperature + Temperature + Temperature + + + + + + + + + + + ABIE + Goods Item Container. Details + A class defining how goods items are split across transport equipment. + Goods Item Container + + + + + + + + + BBIE + Goods Item Container. Identifier + An identifier for this goods item container. + 1 + Goods Item Container + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Container. Quantity + The number of goods items loaded into or onto one piece of transport equipment as a total consignment or part of a consignment. + 0..1 + Goods Item Container + Quantity + Quantity + Quantity. Type + Number of packages stuffed + + + + + + + + + ASBIE + Goods Item Container. Transport Equipment + A piece of transport equipment used to contain a single goods item. + 0..n + Goods Item Container + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + + + ABIE + Hazardous Goods Transit. Details + A class to describe hazardous goods in transit. + Hazardous Goods Transit + + + + + + + + + BBIE + Hazardous Goods Transit. Transport Emergency Card Code. Code + An identifier for a transport emergency card describing the actions to be taken in an emergency in transporting the hazardous goods. It may be the identity number of a hazardous emergency response plan assigned by the appropriate authority. + 0..1 + Hazardous Goods Transit + Transport Emergency Card Code + Code + Code. Type + TREM card + + + + + + + + + BBIE + Hazardous Goods Transit. Packing Criteria Code. Code + A code signifying the packaging requirement for transportation of the hazardous goods as assigned by IATA, IMDB, ADR, RID etc. + 0..1 + Hazardous Goods Transit + Packing Criteria Code + Code + Code. Type + Packing Group + + + + + + + + + BBIE + Hazardous Goods Transit. Hazardous Regulation Code. Code + A code signifying the set of legal regulations governing the transportation of the hazardous goods. + 0..1 + Hazardous Goods Transit + Hazardous Regulation Code + Code + Code. Type + + + + + + + + + BBIE + Hazardous Goods Transit. Inhalation Toxicity Zone Code. Code + A code signifying the Inhalation Toxicity Hazard Zone for the hazardous goods, as defined by the US Department of Transportation. + 0..1 + Hazardous Goods Transit + Inhalation Toxicity Zone Code + Code + Code. Type + + + + + + + + + BBIE + Hazardous Goods Transit. Transport Authorization Code. Code + A code signifying authorization for the transportation of hazardous cargo. + 0..1 + Hazardous Goods Transit + Transport Authorization Code + Code + Code. Type + Permission for Transport + + + + + + + + + ASBIE + Hazardous Goods Transit. Maximum_ Temperature. Temperature + The maximum temperature at which the hazardous goods can safely be transported. + 0..1 + Hazardous Goods Transit + Maximum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Goods Transit. Minimum_ Temperature. Temperature + The minimum temperature at which the hazardous goods can safely be transported. + 0..1 + Hazardous Goods Transit + Minimum + Temperature + Temperature + Temperature + + + + + + + + + + + ABIE + Hazardous Item. Details + A class to describe a hazardous item. + Hazardous Item + + + + + + + + + BBIE + Hazardous Item. Identifier + An identifier for this hazardous item. + 0..1 + Hazardous Item + Identifier + Identifier + Identifier. Type + Round Up + + + + + + + + + BBIE + Hazardous Item. Placard Notation. Text + Text of the placard notation corresponding to the hazard class of this hazardous item. Can also be the hazard identification number of the orange placard (upper part) required on the means of transport. + 0..1 + Hazardous Item + Placard Notation + Text + Text. Type + 5.1 + + + + + + + + + BBIE + Hazardous Item. Placard Endorsement. Text + Text of the placard endorsement that is to be shown on the shipping papers for this hazardous item. Can also be used for the number of the orange placard (lower part) required on the means of transport. + 0..1 + Hazardous Item + Placard Endorsement + Text + Text. Type + 2 + + + + + + + + + BBIE + Hazardous Item. Additional_ Information. Text + Text providing further information about the hazardous substance. + 0..n + Hazardous Item + Additional + Information + Text + Text. Type + Must be stored away from flammable materials N.O.S. or a Waste Characteristics Code in conjunction with an EPA Waste Stream code + + + + + + + + + BBIE + Hazardous Item. UNDG Code. Code + The UN code for this kind of hazardous item. + 0..1 + Hazardous Item + UNDG Code + Code + Code. Type + UN Code + + + + + + + + + BBIE + Hazardous Item. Emergency Procedures Code. Code + A code signifying the emergency procedures for this hazardous item. + 0..1 + Hazardous Item + Emergency Procedures Code + Code + Code. Type + EMG code, EMS Page Number + + + + + + + + + BBIE + Hazardous Item. Medical First Aid Guide Code. Code + A code signifying a medical first aid guide appropriate to this hazardous item. + 0..1 + Hazardous Item + Medical First Aid Guide Code + Code + Code. Type + MFAG page number + + + + + + + + + BBIE + Hazardous Item. Technical_ Name. Name + The full technical name of a specific hazardous substance contained in this goods item. + 0..1 + Hazardous Item + Technical + Name + Name + Name. Type + Granular Sodium Chlorate WeedKiller + + + + + + + + + BBIE + Hazardous Item. Category. Name + The name of the category of hazard that applies to the Item. + 0..1 + Hazardous Item + Category + Name + Name. Type + + + + + + + + + BBIE + Hazardous Item. Hazardous Category Code. Code + A code signifying a kind of hazard for a material. + 0..1 + Hazardous Item + Hazardous Category Code + Code + Code. Type + Hazardous material class code + + + + + + + + + BBIE + Hazardous Item. Upper_ Orange Hazard Placard Identifier. Identifier + The number for the upper part of the orange hazard placard required on the means of transport. + 0..1 + Hazardous Item + Upper + Orange Hazard Placard Identifier + Identifier + Identifier. Type + Hazard identification number (upper part) + + + + + + + + + BBIE + Hazardous Item. Lower_ Orange Hazard Placard Identifier. Identifier + The number for the lower part of the orange hazard placard required on the means of transport. + 0..1 + Hazardous Item + Lower + Orange Hazard Placard Identifier + Identifier + Identifier. Type + Substance identification number (lower part) + + + + + + + + + BBIE + Hazardous Item. Marking Identifier. Identifier + An identifier to the marking of the Hazardous Item + 0..1 + Hazardous Item + Marking Identifier + Identifier + Identifier. Type + Dangerous goods label marking + + + + + + + + + BBIE + Hazardous Item. Hazard Class Identifier. Identifier + An identifier for the hazard class applicable to this hazardous item as defined by the relevant regulation authority (e.g., the IMDG Class Number of the SOLAS Convention of IMO and the ADR/RID Class Number for the road/rail environment). + 0..1 + Hazardous Item + Hazard Class Identifier + Identifier + Identifier. Type + IMDG Class Number, ADR/RID Class Number + + + + + + + + + BBIE + Hazardous Item. Net_ Weight. Measure + The net weight of this hazardous item, excluding packaging. + 0..1 + Hazardous Item + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Hazardous Item. Net_ Volume. Measure + The volume of this hazardous item, excluding packaging and transport equipment. + 0..1 + Hazardous Item + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Hazardous Item. Quantity + The quantity of goods items in this hazardous item that are hazardous. + 0..1 + Hazardous Item + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Hazardous Item. Contact_ Party. Party + The individual, group, or body to be contacted in case of a hazardous incident associated with this item. + 0..1 + Hazardous Item + Contact + Party + Party + Party + + + + + + + + + ASBIE + Hazardous Item. Secondary Hazard + A secondary hazard associated with this hazardous item. + 0..n + Hazardous Item + Secondary Hazard + Secondary Hazard + Secondary Hazard + + + + + + + + + ASBIE + Hazardous Item. Hazardous Goods Transit + Information related to the transit of this kind of hazardous goods. + 0..n + Hazardous Item + Hazardous Goods Transit + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Hazardous Item. Emergency_ Temperature. Temperature + The threshold temperature at which emergency procedures apply in the handling of temperature-controlled goods. + 0..1 + Hazardous Item + Emergency + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Item. Flashpoint_ Temperature. Temperature + The flashpoint temperature of this hazardous item; i.e., the lowest temperature at which vapors above a volatile combustible substance ignite in air when exposed to flame. + 0..1 + Hazardous Item + Flashpoint + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Item. Additional_ Temperature. Temperature + Another temperature relevant to the handling of this hazardous item. + 0..n + Hazardous Item + Additional + Temperature + Temperature + Temperature + + + + + + + + + + + ABIE + Immobilized Security. Details + A class to describe an immobilized security to be used as a guarantee. + Immobilized Security + + + + + + + + + BBIE + Immobilized Security. Immobilization Certificate Identifier. Identifier + An identifier for the certificate of this immobilized security. + 0..1 + Immobilized Security + Immobilization Certificate Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Immobilized Security. Security Identifier. Identifier + An identifier for the security being immobilized. + 0..1 + Immobilized Security + Security Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Immobilized Security. Issue Date. Date + The date on which this immobilized security was issued. + 0..1 + Immobilized Security + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Immobilized Security. Face Value. Amount + The value of the security on the day it was immobilized. + 0..1 + Immobilized Security + Face Value + Amount + Amount. Type + + + + + + + + + BBIE + Immobilized Security. Market Value. Amount + The current market value of the immobilized security. + 0..1 + Immobilized Security + Market Value + Amount + Amount. Type + + + + + + + + + BBIE + Immobilized Security. Shares Number. Quantity + The number of shares immobilized. + 0..1 + Immobilized Security + Shares Number + Quantity + Quantity. Type + + + + + + + + + ASBIE + Immobilized Security. Issuer_ Party. Party + The party issuing the immobilized security certificate. + 0..1 + Immobilized Security + Issuer + Party + Party + Party + + + + + + + + + + + ABIE + Instruction For Returns Line. Details + A class to define a line in an Instruction for Returns. + Instruction For Returns Line + + + + + + + + + BBIE + Instruction For Returns Line. Identifier + An identifier for this instruction for returns line. + 1 + Instruction For Returns Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Instruction For Returns Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Instruction For Returns Line + Note + Text + Text. Type + + + + + + + + + BBIE + Instruction For Returns Line. Quantity + The quantity of goods being returned. + 1 + Instruction For Returns Line + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Instruction For Returns Line. Manufacturer_ Party. Party + The manufacturer of the goods being returned. + 0..1 + Instruction For Returns Line + Manufacturer + Party + Party + Party + + + + + + + + + ASBIE + Instruction For Returns Line. Item + A description of the item being returned. + 1 + Instruction For Returns Line + Item + Item + Item + + + + + + + + + + + ABIE + Inventory Report Line. Details + A class to define a line in an Inventory Report. + Inventory Report Line + + + + + + + + + BBIE + Inventory Report Line. Identifier + An identifier for this inventory report line. + 1 + Inventory Report Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Inventory Report Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Inventory Report Line + Note + Text + Text. Type + + + + + + + + + BBIE + Inventory Report Line. Quantity + The quantity of the item reported that is currently in stock. + 1 + Inventory Report Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Inventory Report Line. Inventory_ Value. Amount + The value of the quantity of the item reported that is currently in stock. + 0..1 + Inventory Report Line + Inventory + Value + Amount + Amount. Type + + + + + + + + + BBIE + Inventory Report Line. Availability Date. Date + The date from which the goods will be available. If not present, the goods are available now. + 0..1 + Inventory Report Line + Availability Date + Date + Date. Type + + + + + + + + + BBIE + Inventory Report Line. Availability Status Code. Code + A code signifying the item's level of availability. + 0..1 + Inventory Report Line + Availability Status Code + Code + Code. Type + + + + + + + + + ASBIE + Inventory Report Line. Item + The item associated with this inventory report line. + 1 + Inventory Report Line + Item + Item + Item + + + + + + + + + ASBIE + Inventory Report Line. Inventory_ Location. Location + The location of the reported quantity of goods. + 0..1 + Inventory Report Line + Inventory + Location + Location + Location + + + + + + + + + + + ABIE + Invoice Line. Details + A class to define a line in an Invoice. + Invoice Line + + + + + + + + + BBIE + Invoice Line. Identifier + An identifier for this invoice line. + 1 + Invoice Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice Line. UUID. Identifier + A universally unique identifier for this invoice line. + 0..1 + Invoice Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Invoice Line + Note + Text + Text. Type + + + + + + + + + BBIE + Invoice Line. Invoiced_ Quantity. Quantity + The quantity (of items) on this invoice line. + 0..1 + Invoice Line + Invoiced + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Invoice Line. Line Extension Amount. Amount + The total amount for this invoice line, including allowance charges but net of taxes. + 1 + Invoice Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Invoice Line. Tax Point Date. Date + The date of this invoice line, used to indicate the point at which tax becomes applicable. + 0..1 + Invoice Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Invoice Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this invoice line, expressed as a code. + 0..1 + Invoice Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Invoice Line. Accounting Cost. Text + The buyer's accounting cost centre for this invoice line, expressed as text. + 0..1 + Invoice Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Invoice Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Invoice Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Invoice Line. Free Of Charge_ Indicator. Indicator + An indicator that this invoice line is free of charge (true) or not (false). The default is false. + 0..1 + Invoice Line + Free Of Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Invoice Line. Invoice_ Period. Period + An invoice period to which this invoice line applies. + 0..n + Invoice Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Invoice Line. Order Line Reference + A reference to an order line associated with this invoice line. + 0..n + Invoice Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Invoice Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this invoice line. + 0..n + Invoice Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Invoice Line. Receipt_ Line Reference. Line Reference + A reference to a receipt line associated with this invoice line. + 0..n + Invoice Line + Receipt + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Invoice Line. Billing Reference + A reference to a billing document associated with this invoice line. + 0..n + Invoice Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Invoice Line. Document Reference + A reference to a document associated with this invoice line. + 0..n + Invoice Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice Line. Pricing Reference + A reference to pricing and item location information associated with this invoice line. + 0..1 + Invoice Line + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Invoice Line. Originator_ Party. Party + The party who originated the Order to which the Invoice is related. + 0..1 + Invoice Line + Originator + Party + Party + Party + + + + + + + + + ASBIE + Invoice Line. Delivery + A delivery associated with this invoice line. + 0..n + Invoice Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Invoice Line. Payment Terms + A specification of payment terms associated with this invoice line. + 0..n + Invoice Line + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Invoice Line. Allowance Charge + An allowance or charge associated with this invoice line. + 0..n + Invoice Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Invoice Line. Tax Total + A total amount of taxes of a particular kind applicable to this invoice line. + 0..n + Invoice Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice Line. Withholding_ Tax Total. Tax Total + A reference to a TaxTotal class describing the amount that has been withhold by the authorities, e.g. if the creditor is in dept because of non paid taxes. + 0..n + Invoice Line + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice Line. Item + The item associated with this invoice line. + 1 + Invoice Line + Item + Item + Item + + + + + + + + + ASBIE + Invoice Line. Price + The price of the item associated with this invoice line. + 0..1 + Invoice Line + Price + Price + Price + Unit Price, Base Price + + + + + + + + + ASBIE + Invoice Line. Delivery Terms + Terms and conditions of the delivery associated with this invoice line. + 0..1 + Invoice Line + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Invoice Line. Sub_ Invoice Line. Invoice Line + An invoice line subsidiary to this invoice line. + 0..n + Invoice Line + Sub + Invoice Line + Invoice Line + Invoice Line + + + + + + + + + ASBIE + Invoice Line. Item_ Price Extension. Price Extension + The price extension, calculated by multiplying the price per unit by the quantity of items on this invoice line. + 0..1 + Invoice Line + Item + Price Extension + Price Extension + Price Extension + + + + + + + + + + + ABIE + Item. Details + A class to describe an item of trade. It includes a generic description applicable to all examples of the item together with optional subsidiary descriptions of any number of actual instances of the type. + Item + article, product, goods item + + + + + + + + + BBIE + Item. Description. Text + Text describing this item. + 0..n + Item + Description + Text + Text. Type + + + + + + + + + BBIE + Item. Pack Quantity. Quantity + The unit packaging quantity; the number of subunits making up this item. + 0..1 + Item + Pack Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item. Pack Size. Numeric + The number of items in a pack of this item. + 0..1 + Item + Pack Size + Numeric + Numeric. Type + + + + + + + + + BBIE + Item. Catalogue_ Indicator. Indicator + An indicator that this item was ordered from a catalogue (true) or not (false). + 0..1 + Item + Catalogue + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Item. Name + A short name optionally given to this item, such as a name from a catalogue, as distinct from a description. + 0..1 + Item + Name + Name + Name. Type + + + + + + + + + BBIE + Item. Hazardous Risk_ Indicator. Indicator + An indication that the transported item, as delivered, is subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Item + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Item. Additional_ Information. Text + Further details regarding this item (e.g., the URL of a relevant web page). + 0..n + Item + Additional + Information + Text + Text. Type + + + + + + + + + BBIE + Item. Keyword. Text + A keyword (search string) for this item, assigned by the seller party. Can also be a synonym for the name of the item. + 0..n + Item + Keyword + Text + Text. Type + + + + + + + + + BBIE + Item. Brand Name. Name + A brand name of this item. + 0..n + Item + Brand Name + Name + Name. Type + Coca-Cola + + + + + + + + + BBIE + Item. Model Name. Name + A model name of this item. + 0..n + Item + Model Name + Name + Name. Type + VW Beetle + + + + + + + + + ASBIE + Item. Buyers_ Item Identification. Item Identification + Identifying information for this item, assigned by the buyer. + 0..1 + Item + Buyers + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Sellers_ Item Identification. Item Identification + Identifying information for this item, assigned by the seller. + 0..1 + Item + Sellers + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Manufacturers_ Item Identification. Item Identification + Identifying information for this item, assigned by the manufacturer. + 0..n + Item + Manufacturers + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Standard_ Item Identification. Item Identification + Identifying information for this item, assigned according to a standard system. + 0..1 + Item + Standard + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Catalogue_ Item Identification. Item Identification + Identifying information for this item, assigned according to a cataloguing system. + 0..1 + Item + Catalogue + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Additional_ Item Identification. Item Identification + An additional identifier for this item. + 0..n + Item + Additional + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Catalogue_ Document Reference. Document Reference + A reference to the catalogue in which this item appears. + 0..1 + Item + Catalogue + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Item. Item Specification_ Document Reference. Document Reference + A reference to a specification document for this item. + 0..n + Item + Item Specification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Item. Origin_ Country. Country + The country of origin of this item. + 0..1 + Item + Origin + Country + Country + Country + + + + + + + + + ASBIE + Item. Commodity Classification + A classification of this item according to a specific system for classifying commodities. + 0..n + Item + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Item. Transaction Conditions + A set of sales conditions applying to this item. + 0..n + Item + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Item. Hazardous Item + Information pertaining to this item as a hazardous item. + 0..n + Item + Hazardous Item + Hazardous Item + Hazardous Item + + + + + + + + + ASBIE + Item. Classified_ Tax Category. Tax Category + A tax category applicable to this item. + 0..n + Item + Classified + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Item. Additional_ Item Property. Item Property + An additional property of this item. + 0..n + Item + Additional + Item Property + Item Property + Item Property + + + + + + + + + ASBIE + Item. Manufacturer_ Party. Party + The manufacturer of this item. + 0..n + Item + Manufacturer + Party + Party + Party + + + + + + + + + ASBIE + Item. Information Content Provider_ Party. Party + The party responsible for specification of this item. + 0..1 + Item + Information Content Provider + Party + Party + Party + + + + + + + + + ASBIE + Item. Origin_ Address. Address + A region (not country) of origin of this item. + 0..n + Item + Origin + Address + Address + Address + + + + + + + + + ASBIE + Item. Item Instance + A trackable, unique instantiation of this item. + 0..n + Item + Item Instance + Item Instance + Item Instance + + + + + + + + + ASBIE + Item. Certificate + A certificate associated with this item. + 0..n + Item + Certificate + Certificate + Certificate + + + + + + + + + ASBIE + Item. Dimension + One of the measurable dimensions (length, mass, weight, or volume) of this item. + 0..n + Item + Dimension + Dimension + Dimension + + + + + + + + + + + ABIE + Item Comparison. Details + A class to provide information about price and quantity of an item for use in price comparisons based on price, quantity, or measurements. + Item Comparison + + + + + + + + + BBIE + Item Comparison. Price Amount. Amount + The price for the Item Comparison + 0..1 + Item Comparison + Price Amount + Amount + Amount. Type + + + + + + + + + BBIE + Item Comparison. Quantity + The quantity for which this comparison is valid. + 0..1 + Item Comparison + Quantity + Quantity + Quantity. Type + per unit + + + + + + + + + + + ABIE + Item Identification. Details + A class for assigning identifying information to an item. + Item Identification + + + + + + + + + BBIE + Item Identification. Identifier + An identifier for the item. + 1 + Item Identification + Identifier + Identifier + Identifier. Type + CUST001 3333-44-123 + + + + + + + + + BBIE + Item Identification. Extended_ Identifier. Identifier + An extended identifier for the item that identifies the item with specific properties, e.g., Item 123 = Chair / Item 123 Ext 45 = brown chair. Two chairs can have the same item number, but one is brown. The other is white. + 0..1 + Item Identification + Extended + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Identification. Barcode_ Symbology Identifier. Identifier + An identifier for a system of barcodes. + 0..1 + Item Identification + Barcode + Symbology Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Item Identification. Physical Attribute + A physical attribute of the item. + 0..n + Item Identification + Physical Attribute + Physical Attribute + Physical Attribute + + + + + + + + + ASBIE + Item Identification. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of the item. + 0..n + Item Identification + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Item Identification. Issuer_ Party. Party + The party that issued this item identification. + 0..1 + Item Identification + Issuer + Party + Party + Party + + + + + + + + + + + ABIE + Item Information Request Line. Details + A class to define a line in an Item Information Request asking a trading partner for item information. + Item Information Request Line + + + + + + + + + BBIE + Item Information Request Line. Time Frequency Code. Code + A code signifying the frequency with which item information should be sent to the requester. + 0..1 + Item Information Request Line + Time Frequency Code + Code + Code. Type + + + + + + + + + BBIE + Item Information Request Line. Supply Chain Activity Type Code. Code + A code used to identify the type of supply chain activity about which information request is issued. Examples: CANCELED_ORDERS EMERGENCY_ORDERS ON_HAND ORDERS + 0..1 + Item Information Request Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Item Information Request Line. Forecast Type Code. Code + The information request can be either about supply chain activity or about forecasts or about performance metrics, so it should be optional + 0..1 + Item Information Request Line + Forecast Type Code + Code + Code. Type + + + + + + + + + BBIE + Item Information Request Line. Performance Metric Type Code. Code + A code signifying a measure of performance. + 0..1 + Item Information Request Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Item Information Request Line. Period + A period for which this information is requested. + 1..n + Item Information Request Line + Period + Period + Period + + + + + + + + + ASBIE + Item Information Request Line. Sales Item + Sales information for the item to which this line applies. + 1..n + Item Information Request Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Item Instance. Details + A class to describe a specific, trackable instance of an item. + Item Instance + + + + + + + + + BBIE + Item Instance. Product Trace_ Identifier. Identifier + An identifier used for tracing this item instance, such as the EPC number used in RFID. + 0..1 + Item Instance + Product Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Instance. Manufacture Date. Date + The date on which this item instance was manufactured. + 0..1 + Item Instance + Manufacture Date + Date + Date. Type + + + + + + + + + BBIE + Item Instance. Manufacture Time. Time + The time at which this item instance was manufactured. + 0..1 + Item Instance + Manufacture Time + Time + Time. Type + + + + + + + + + BBIE + Item Instance. Best Before Date. Date + The date before which it is best to use this item instance. + 0..1 + Item Instance + Best Before Date + Date + Date. Type + + + + + + + + + BBIE + Item Instance. Registration Identifier. Identifier + The registration identifier of this item instance. + 0..1 + Item Instance + Registration Identifier + Identifier + Identifier. Type + car registration or licensing number + + + + + + + + + BBIE + Item Instance. Serial Identifier. Identifier + The serial number of this item instance. + 0..1 + Item Instance + Serial Identifier + Identifier + Identifier. Type + chassis number of a car + + + + + + + + + ASBIE + Item Instance. Additional_ Item Property. Item Property + An additional property of this item instance. + 0..n + Item Instance + Additional + Item Property + Item Property + Item Property + + + + + + + + + ASBIE + Item Instance. Lot Identification + The lot identifier of this item instance (the identifier that allows recall of the item if necessary). + 0..1 + Item Instance + Lot Identification + Lot Identification + Lot Identification + + + + + + + + + + + ABIE + Item Location Quantity. Details + A class for information about pricing structure, lead time, and location associated with an item. + Item Location Quantity + + + + + + + + + BBIE + Item Location Quantity. Lead Time. Measure + The lead time, i.e., the time taken from the time at which an item is ordered to the time of its delivery. + 0..1 + Item Location Quantity + Lead Time + Measure + Measure. Type + 2 days , 24 hours + + + + + + + + + BBIE + Item Location Quantity. Minimum_ Quantity. Quantity + The minimum quantity that can be ordered to qualify for a specific price. + 0..1 + Item Location Quantity + Minimum + Quantity + Quantity + Quantity. Type + 10 boxes , 1 carton , 1000 sheets + + + + + + + + + BBIE + Item Location Quantity. Maximum_ Quantity. Quantity + The maximum quantity that can be ordered to qualify for a specific price. + 0..1 + Item Location Quantity + Maximum + Quantity + Quantity + Quantity. Type + 10 boxes , 1 carton , 1000 sheets + + + + + + + + + BBIE + Item Location Quantity. Hazardous Risk_ Indicator. Indicator + An indication that the transported item, as delivered, in the stated quantity to the stated location, is subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Item Location Quantity + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Item Location Quantity. Trading Restrictions. Text + Text describing trade restrictions on the quantity of this item or on the item itself. + 0..n + Item Location Quantity + Trading Restrictions + Text + Text. Type + not for export + + + + + + + + + ASBIE + Item Location Quantity. Applicable Territory_ Address. Address + The applicable sales territory. + 0..n + Item Location Quantity + Applicable Territory + Address + Address + Address + + + + + + + + + ASBIE + Item Location Quantity. Price + The price associated with the given location. + 0..1 + Item Location Quantity + Price + Price + Price + + + + + + + + + ASBIE + Item Location Quantity. Delivery Unit + A delivery unit in which the item is located. + 0..n + Item Location Quantity + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Item Location Quantity. Applicable_ Tax Category. Tax Category + A tax category applicable to this item location quantity. + 0..n + Item Location Quantity + Applicable + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Item Location Quantity. Package + The package to which this price applies. + 0..1 + Item Location Quantity + Package + Package + Package + + + + + + + + + ASBIE + Item Location Quantity. Allowance Charge + An allowance or charge associated with this item location quantity. + 0..n + Item Location Quantity + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Item Location Quantity. Dependent Price Reference + The price of the item as a percentage of the price of some other item. + 0..1 + Item Location Quantity + Dependent Price Reference + Dependent Price Reference + Dependent Price Reference + + + + + + + + + + + ABIE + Item Management Profile. Details + A class to define a management profile for an item. + Item Management Profile + + + + + + + + + BBIE + Item Management Profile. Frozen Period Days. Numeric + The number of days in the future that an order forecast quantity automatically becomes a confirmed order for a product. + 0..1 + Item Management Profile + Frozen Period Days + Numeric + Numeric. Type + + + + + + + + + BBIE + Item Management Profile. Minimum_ Inventory Quantity. Quantity + The quantity of the item that should trigger a replenishment order to avoid depleting the safety stock. + 0..1 + Item Management Profile + Minimum + Inventory Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item Management Profile. Multiple_ Order Quantity. Quantity + The order quantity multiples in which the product may be ordered. + 0..1 + Item Management Profile + Multiple + Order Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item Management Profile. Order Interval Days. Numeric + The number of days between regular replenishment orders for the product. + 0..1 + Item Management Profile + Order Interval Days + Numeric + Numeric. Type + + + + + + + + + BBIE + Item Management Profile. Replenishment Owner Description. Text + The trading partner maintaining this item management profile. + 0..n + Item Management Profile + Replenishment Owner Description + Text + Text. Type + + + + + + + + + BBIE + Item Management Profile. Target Service Percent. Percent + The Unit Service Level the trading partners expect to be maintained, expressed as a percentage. Unite Service Level (USL) is a term used in Inventory Management, which is sometimes known as "fill rate", counts the average number of units short expressed as the percentage of the order quantity. + 0..1 + Item Management Profile + Target Service Percent + Percent + Percent. Type + + + + + + + + + BBIE + Item Management Profile. Target_ Inventory Quantity. Quantity + The target inventory quantity. + 0..1 + Item Management Profile + Target + Inventory Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Item Management Profile. Effective_ Period. Period + The period during which this profile is effective. + 1 + Item Management Profile + Effective + Period + Period + Period + + + + + + + + + ASBIE + Item Management Profile. Item + The item associated with this item management profile. + 1 + Item Management Profile + Item + Item + Item + + + + + + + + + ASBIE + Item Management Profile. Item Location Quantity + A set of location-specific properties (e.g., price and quantity) associated with the item. + 0..1 + Item Management Profile + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + + + ABIE + Item Property. Details + A class to describe a specific property of an item. + Item Property + + + + + + + + + BBIE + Item Property. Identifier + An identifier for this property of an item. + 0..1 + Item Property + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Property. Name + The name of this item property. + 1 + Item Property + Name + Name + Name. Type + Energy Rating , Collar Size , Fat Content + + + + + + + + + BBIE + Item Property. Name Code. Code + The name of this item property, expressed as a code. + 0..1 + Item Property + Name Code + Code + Code. Type + + + + + + + + + BBIE + Item Property. Test Method. Text + The method of testing the value of this item property. + 0..1 + Item Property + Test Method + Text + Text. Type + 100 watts , 15 European , 20% +/- 5% + + + + + + + + + BBIE + Item Property. Value. Text + The value of this item property, expressed as text. + 0..1 + Item Property + Value + Text + Text. Type + 100 watts , 15 European , 20% +/- 5% + + + + + + + + + BBIE + Item Property. Value_ Quantity. Quantity + The value of this item property, expressed as a quantity. + 0..1 + Item Property + Value + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item Property. Value Qualifier. Text + Text qualifying the value of the property. + 0..n + Item Property + Value Qualifier + Text + Text. Type + + + + + + + + + BBIE + Item Property. Importance Code. Code + A code signifying the importance of this property in using it to describe a related Item. + 0..1 + Item Property + Importance Code + Code + Code. Type + + + + + + + + + BBIE + Item Property. List Value. Text + The value expressed as a text in case the property is a value in a list. For example, a colour. + 0..n + Item Property + List Value + Text + Text. Type + + + + + + + + + ASBIE + Item Property. Usability_ Period. Period + The period during which this item property is valid. + 0..1 + Item Property + Usability + Period + Period + Period + + + + + + + + + ASBIE + Item Property. Item Property Group + A description of the property group to which this item property belongs. + 0..n + Item Property + Item Property Group + Item Property Group + Item Property Group + + + + + + + + + ASBIE + Item Property. Range_ Dimension. Dimension + The range of values for the dimensions of this property. + 0..1 + Item Property + Range + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Item Property. Item Property Range + A range of values for this item property. + 0..1 + Item Property + Item Property Range + Item Property Range + Item Property Range + + + + + + + + + + + ABIE + Item Property Group. Details + A class to describe a property group or classification. + Item Property Group + + + + + + + + + BBIE + Item Property Group. Identifier + An identifier for this group of item properties. + 1 + Item Property Group + Identifier + Identifier + Identifier. Type + 233-004 + + + + + + + + + BBIE + Item Property Group. Name + The name of this item property group. + 0..1 + Item Property Group + Name + Name + Name. Type + Electrical Specifications , Dietary Content + + + + + + + + + BBIE + Item Property Group. Importance Code. Code + A code signifying the importance of this property group in using it to describe a required Item. + 0..1 + Item Property Group + Importance Code + Code + Code. Type + + + + + + + + + + + ABIE + Item Property Range. Details + A class to describe a range of values for an item property. + Item Property Range + + + + + + + + + BBIE + Item Property Range. Minimum_ Value. Text + The minimum value in this range of values. + 0..1 + Item Property Range + Minimum + Value + Text + Text. Type + + + + + + + + + BBIE + Item Property Range. Maximum_ Value. Text + The maximum value in this range of values. + 0..1 + Item Property Range + Maximum + Value + Text + Text. Type + + + + + + + + + + + ABIE + Language. Details + A class to describe a language. + Language + + + + + + + + + BBIE + Language. Identifier + An identifier for this language. + 0..1 + Language + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Language. Name + The name of this language. + 0..1 + Language + Name + Name + Name. Type + + + + + + + + + BBIE + Language. Locale Code. Code + A code signifying the locale in which this language is used. + 0..1 + Language + Locale Code + Code + Code. Type + + + + + + + + + + + ABIE + Line Item. Details + A class to describe a line item. + Line Item + + + + + + + + + BBIE + Line Item. Identifier + An identifier for this line item, assigned by the buyer. + 1 + Line Item + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. Sales_ Order Identifier. Identifier + An identifier for this line item, assigned by the seller. + 0..1 + Line Item + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. UUID. Identifier + A universally unique identifier for this line item. + 0..1 + Line Item + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Line Item + Note + Text + Text. Type + + + + + + + + + BBIE + Line Item. Line Status Code. Code + A code signifying the status of this line item with respect to its original state. + 0..1 + Line Item + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + BBIE + Line Item. Quantity + The quantity of items associated with this line item. + 0..1 + Line Item + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Line Extension Amount. Amount + The total amount for this line item, including allowance charges but net of taxes. + 0..1 + Line Item + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Line Item. Total_ Tax Amount. Amount + The total tax amount for this line item. + 0..1 + Line Item + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Line Item. Minimum_ Quantity. Quantity + The minimum quantity of the item associated with this line. + 0..1 + Line Item + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Maximum_ Quantity. Quantity + The maximum quantity of the item associated with this line. + 0..1 + Line Item + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Minimum_ Backorder. Quantity + The minimum back order quantity of the item associated with this line (where back order is allowed). + 0..1 + Line Item + Minimum + Backorder + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Maximum_ Backorder. Quantity + The maximum back order quantity of the item associated with this line (where back order is allowed). + 0..1 + Line Item + Maximum + Backorder + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Inspection Method Code. Code + A code signifying the inspection requirements for the item associated with this line item. + 0..1 + Line Item + Inspection Method Code + Code + Code. Type + + + + + + + + + BBIE + Line Item. Partial Delivery Indicator. Indicator + An indicator that a partial delivery is allowed (true) or not (false). + 0..1 + Line Item + Partial Delivery Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Line Item. Back Order Allowed Indicator. Indicator + An indicator that back order is allowed (true) or not (false). + 0..1 + Line Item + Back Order Allowed Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Line Item. Accounting Cost Code. Code + The buyer's accounting cost centre for this line item, expressed as a code. + 0..1 + Line Item + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Line Item. Accounting Cost. Text + The buyer's accounting cost centre for this line item, expressed as text. + 0..1 + Line Item + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Line Item. Warranty_ Information. Text + Text describing a warranty (provided by WarrantyParty) for the good or service described in this line item. + 0..n + Line Item + Warranty + Information + Text + Text. Type + Unless specified otherwise and in addition to any rights the Customer may have under statute, Dell warrants to the Customer that Dell branded Products (excluding third party products and software), will be free from defects in materials and workmanship affecting normal use for a period of one year from invoice date ( Standard Warranty ). + + + + + + + + + ASBIE + Line Item. Delivery + A delivery associated with this line item. + 0..n + Line Item + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Line Item. Delivery Terms + Terms and conditions of the delivery associated with this line item. + 0..1 + Line Item + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Line Item. Originator_ Party. Party + The party who originated the Order associated with this line item. + 0..1 + Line Item + Originator + Party + Party + Party + + + + + + + + + ASBIE + Line Item. Ordered Shipment + An ordered shipment associated with this line item. + 0..n + Line Item + Ordered Shipment + Ordered Shipment + Ordered Shipment + + + + + + + + + ASBIE + Line Item. Pricing Reference + A reference to pricing and item location information associated with this line item. + 0..1 + Line Item + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Line Item. Allowance Charge + An allowance or charge associated with this line item. + 0..n + Line Item + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Line Item. Price + The price of the item of trade associated with this line item. + 0..1 + Line Item + Price + Price + Price + + + + + + + + + ASBIE + Line Item. Item + The item of trade associated with this line item. + 1 + Line Item + Item + Item + Item + + + + + + + + + ASBIE + Line Item. Sub_ Line Item. Line Item + The subsidiary line items that constitute the main line item, such as in a bill of materials. + 0..n + Line Item + Sub + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Line Item. Warranty Validity_ Period. Period + The period during which the warranty associated with this line item is valid. + 0..1 + Line Item + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Line Item. Warranty_ Party. Party + The party responsible for any warranty associated with this line item. + 0..1 + Line Item + Warranty + Party + Party + Party + + + + + + + + + ASBIE + Line Item. Tax Total + A total amount of taxes of a particular kind applicable to this item. + 0..n + Line Item + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Line Item. Item_ Price Extension. Price Extension + The price extension, calculated by multiplying the price per unit by the quantity of items. + 0..1 + Line Item + Item + Price Extension + Price Extension + Price Extension + + + + + + + + + ASBIE + Line Item. Line Reference + A reference to a line in a document associated with this line item. + 0..n + Line Item + Line Reference + Line Reference + Line Reference + + + + + + + + + + + ABIE + Line Reference. Details + A class to define a reference to a line in a document. + Line Reference + + + + + + + + + BBIE + Line Reference. Line Identifier. Identifier + Identifies the referenced line in the document. + 1 + Line Reference + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Reference. UUID. Identifier + A universally unique identifier for this line reference. + 0..1 + Line Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Reference. Line Status Code. Code + A code signifying the status of the referenced line with respect to its original state. + 0..1 + Line Reference + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + ASBIE + Line Reference. Document Reference + A reference to the document containing the referenced line. + 0..1 + Line Reference + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Line Response. Details + A class to describe responses to a line in a document. + Line Response + + + + + + + + + ASBIE + Line Response. Line Reference + A reference to the line being responded to. + 1 + Line Response + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Line Response. Response + A response to the referenced line. + 1..n + Line Response + Response + Response + Response + + + + + + + + + + + ABIE + Location. Details + A class to describe a location. + Location + + + + + + + + + BBIE + Location. Identifier + An identifier for this location, e.g., the EAN Location Number, GLN. + 0..1 + Location + Identifier + Identifier + Identifier. Type + 5790002221134 + + + + + + + + + BBIE + Location. Description. Text + Text describing this location. + 0..n + Location + Description + Text + Text. Type + + + + + + + + + BBIE + Location. Conditions. Text + Free-form text describing the physical conditions of the location. + 0..n + Location + Conditions + Text + Text. Type + + + + + + + + + BBIE + Location. Country Subentity. Text + A territorial division of a country, such as a county or state, expressed as text. + 0..1 + Location + Country Subentity + Text + Text. Type + AdministrativeArea, State, Country, Shire, Canton + Florida , Tamilnadu + + + + + + + + + BBIE + Location. Country Subentity Code. Code + A territorial division of a country, such as a county or state, expressed as a code. + 0..1 + Location + Country Subentity Code + Code + Code. Type + AdministrativeAreaCode, State Code + + + + + + + + + BBIE + Location. Location Type Code. Code + A code signifying the type of location. + 0..1 + Location + Location Type Code + Code + Code. Type + + + + + + + + + BBIE + Location. Information_ URI. Identifier + The Uniform Resource Identifier (URI) of a document providing information about this location. + 0..1 + Location + Information + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Location. Name + The name of this location. + 0..1 + Location + Name + Name + Name. Type + winter 2005 collection + + + + + + + + + ASBIE + Location. Validity_ Period. Period + A period during which this location can be used (e.g., for delivery). + 0..n + Location + Validity + Period + Period + Period + + + + + + + + + ASBIE + Location. Address + The address of this location. + 0..1 + Location + Address + Address + Address + + + + + + + + + ASBIE + Location. Subsidiary_ Location. Location + A location subsidiary to this location. + 0..n + Location + Subsidiary + Location + Location + Location + + + + + + + + + ASBIE + Location. Location Coordinate + The geographical coordinates of this location. + 0..n + Location + Location Coordinate + Location Coordinate + Location Coordinate + + + + + + + + + + + ABIE + Location Coordinate. Details + A class for defining a set of geographical coordinates (apparently misnamed). + Location Coordinate + + + + + + + + + BBIE + Location Coordinate. Coordinate System Code. Code + A code signifying the location system used. + 0..1 + Location Coordinate + Coordinate System Code + Code + Code. Type + + + + + + + + + BBIE + Location Coordinate. Latitude_ Degrees. Measure + The degree component of a latitude measured in degrees and minutes. + 0..1 + Location Coordinate + Latitude + Degrees + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Latitude_ Minutes. Measure + The minutes component of a latitude measured in degrees and minutes (modulo 60). + 0..1 + Location Coordinate + Latitude + Minutes + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Latitude Direction Code. Code + A code signifying the direction of latitude measurement from the equator (north or south). + 0..1 + Location Coordinate + Latitude Direction Code + Code + Latitude Direction + Latitude Direction_ Code. Type + + + + + + + + + BBIE + Location Coordinate. Longitude_ Degrees. Measure + The degree component of a longitude measured in degrees and minutes. + 0..1 + Location Coordinate + Longitude + Degrees + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Longitude_ Minutes. Measure + The minutes component of a longitude measured in degrees and minutes (modulo 60). + 0..1 + Location Coordinate + Longitude + Minutes + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Longitude Direction Code. Code + A code signifying the direction of longitude measurement from the prime meridian (east or west). + 0..1 + Location Coordinate + Longitude Direction Code + Code + Longitude Direction + Longitude Direction_ Code. Type + + + + + + + + + BBIE + Location Coordinate. Altitude. Measure + The altitude of the location. + 0..1 + Location Coordinate + Altitude + Measure + Measure. Type + + + + + + + + + + + ABIE + Lot Identification. Details + A class for defining a lot identifier (the identifier of a set of item instances that would be used in case of a recall of that item). + Lot Identification + + + + + + + + + BBIE + Lot Identification. Lot Number. Identifier + An identifier for the lot. + 0..1 + Lot Identification + Lot Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Lot Identification. Expiry Date. Date + The expiry date of the lot. + 0..1 + Lot Identification + Expiry Date + Date + Date. Type + + + + + + + + + ASBIE + Lot Identification. Additional_ Item Property. Item Property + An additional property of the lot. + 0..n + Lot Identification + Additional + Item Property + Item Property + Item Property + + + + + + + + + + + ABIE + Maritime Transport. Details + A class to describe a vessel used for transport by water (including sea, river, and canal). + Maritime Transport + + + + + + + + + BBIE + Maritime Transport. Vessel Identifier. Identifier + An identifier for a specific vessel. + 0..1 + Maritime Transport + Vessel Identifier + Identifier + Identifier. Type + Lloyds Number, Registration Number (WCO ID 167) + International Maritime Organisation number of a vessel + + + + + + + + + BBIE + Maritime Transport. Vessel Name. Name + The name of the vessel. + 0..1 + Maritime Transport + Vessel Name + Name + Name. Type + Ships Name + + + + + + + + + BBIE + Maritime Transport. Radio Call Sign Identifier. Identifier + The radio call sign of the vessel. + 0..1 + Maritime Transport + Radio Call Sign Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Maritime Transport. Ships Requirements. Text + Information about what services a vessel will require when it arrives at a port, such as refueling, maintenance, waste disposal etc. + 0..n + Maritime Transport + Ships Requirements + Text + Text. Type + + + + + + + + + BBIE + Maritime Transport. Gross Tonnage. Measure + Gross tonnage is calculated by measuring a ship's volume (from keel to funnel, to the outside of the hull framing) and applying a mathematical formula and is used to determine things such as a ship's manning regulations, safety rules, registration fees and port dues. + 0..1 + Maritime Transport + Gross Tonnage + Measure + Measure. Type + + + + + + + + + BBIE + Maritime Transport. Net Tonnage. Measure + Net tonnage is calculated by measuring a ship's internal volume and applying a mathematical formula and is used to calculate the port duties. + 0..1 + Maritime Transport + Net Tonnage + Measure + Measure. Type + + + + + + + + + ASBIE + Maritime Transport. Registry Certificate_ Document Reference. Document Reference + The certificate issued to the ship by the ships registry in a given flag state. + 0..1 + Maritime Transport + Registry Certificate + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Maritime Transport. Registry Port_ Location. Location + The port in which a vessel is registered or permanently based. + 0..1 + Maritime Transport + Registry Port + Location + Location + Location + + + + + + + + + + + ABIE + Meter. Details + A class to describe a meter and its readings. + Meter + + + + + + + + + BBIE + Meter. Meter Number. Text + The meter number, expressed as text. + 0..1 + Meter + Meter Number + Text + Text. Type + 61722x + + + + + + + + + BBIE + Meter. Meter Name. Text + The name of this meter, which serves as an identifier to distinguish a main meter from a submeter. + 0..1 + Meter + Meter Name + Text + Text. Type + + + + + + + + + BBIE + Meter. Meter Constant. Text + The factor by which readings of this meter must be multiplied to calculate consumption, expressed as text. + 0..1 + Meter + Meter Constant + Text + Text. Type + 1.000 + + + + + + + + + BBIE + Meter. Meter Constant Code. Code + A code signifying the formula to be used in applying the meter constant. + 0..1 + Meter + Meter Constant Code + Code + Code. Type + Factor + + + + + + + + + BBIE + Meter. Total_ Delivered Quantity. Quantity + The quantity delivered; the total quantity consumed as calculated from the meter readings. + 0..1 + Meter + Total + Delivered Quantity + Quantity + Quantity. Type + 5761.00 + + + + + + + + + ASBIE + Meter. Meter Reading + A reading of this meter. + 0..n + Meter + Meter Reading + Meter Reading + Meter Reading + + + + + + + + + ASBIE + Meter. Meter Property + A property of this meter. + 0..n + Meter + Meter Property + Meter Property + Meter Property + + + + + + + + + + + ABIE + Meter Property. Details + The name of this meter property. + Meter Property + + + + + + + + + BBIE + Meter Property. Name + The name of this meter property, expressed as a code. + 0..1 + Meter Property + Name + Name + Name. Type + Energy Rating , Collar Size , Fat Content + + + + + + + + + BBIE + Meter Property. Name Code. Code + The value of this meter property, expressed as text. + 0..1 + Meter Property + Name Code + Code + Code. Type + + + + + + + + + BBIE + Meter Property. Value. Text + The value of this meter property, expressed as a quantity. + 0..1 + Meter Property + Value + Text + Text. Type + 100 watts , 15 European , 20% +/- 5% + + + + + + + + + BBIE + Meter Property. Value_ Quantity. Quantity + The value of this meter property, expressed as a quantity. + 0..1 + Meter Property + Value + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Meter Property. Value Qualifier. Text + An additional value to qualify the value of the meter + 0..n + Meter Property + Value Qualifier + Text + Text. Type + + + + + + + + + + + ABIE + Meter Reading. Details + A class to describe a meter reading. + Meter Reading + + + + + + + + + BBIE + Meter Reading. Identifier + An identifier for this meter reading. + 0..1 + Meter Reading + Identifier + Identifier + Identifier. Type + 7411013716x + + + + + + + + + BBIE + Meter Reading. Meter Reading Type. Text + The type of this meter reading, expressed as text. + 0..1 + Meter Reading + Meter Reading Type + Text + Text. Type + Electricity + + + + + + + + + BBIE + Meter Reading. Meter Reading Type Code. Code + The type of this meter reading, expressed as a code. + 0..1 + Meter Reading + Meter Reading Type Code + Code + Code. Type + Electricity + + + + + + + + + BBIE + Meter Reading. Previous_ Meter Reading Date. Date + The date of the previous meter reading. + 1 + Meter Reading + Previous + Meter Reading Date + Date + Date. Type + 2006-09-01 + + + + + + + + + BBIE + Meter Reading. Previous_ Meter Quantity. Quantity + The quantity of the previous meter reading. + 1 + Meter Reading + Previous + Meter Quantity + Quantity + Quantity. Type + 122604.00 + + + + + + + + + BBIE + Meter Reading. Latest_ Meter Reading Date. Date + The date of the latest meter reading. + 1 + Meter Reading + Latest + Meter Reading Date + Date + Date. Type + 2006-09-01 + + + + + + + + + BBIE + Meter Reading. Latest_ Meter Quantity. Quantity + The quantity of the latest meter reading. + 1 + Meter Reading + Latest + Meter Quantity + Quantity + Quantity. Type + 128365.00 + + + + + + + + + BBIE + Meter Reading. Previous Meter Reading_ Method. Text + The method used for the previous meter reading, expressed as text. + 0..1 + Meter Reading + Previous Meter Reading + Method + Text + Text. Type + Manuel + + + + + + + + + BBIE + Meter Reading. Previous Meter Reading_ Method Code. Code + The method used for the previous meter reading, expressed as a code. + 0..1 + Meter Reading + Previous Meter Reading + Method Code + Code + Code. Type + Estimated + + + + + + + + + BBIE + Meter Reading. Latest Meter Reading_ Method. Text + The method used for the latest meter reading, expressed as text. + 0..1 + Meter Reading + Latest Meter Reading + Method + Text + Text. Type + Manuel + + + + + + + + + BBIE + Meter Reading. Latest Meter Reading_ Method Code. Code + The method used for the latest meter reading, expressed as a code. + 0..1 + Meter Reading + Latest Meter Reading + Method Code + Code + Code. Type + Estimated + + + + + + + + + BBIE + Meter Reading. Meter Reading_ Comments. Text + Text containing comments on this meter reading. + 0..n + Meter Reading + Meter Reading + Comments + Text + Text. Type + The last stated meterstand is estimated + + + + + + + + + BBIE + Meter Reading. Delivered_ Quantity. Quantity + Consumption in the period from PreviousMeterReadingDate to LatestMeterReadingDate. + 1 + Meter Reading + Delivered + Quantity + Quantity + Quantity. Type + + + + + + + + + + + ABIE + Miscellaneous Event. Details + A class to describe a miscellaneous event associated with a retail event. + Miscellaneous Event + + + + + + + + + BBIE + Miscellaneous Event. Miscellaneous Event Type Code. Code + A code signifying the type of this miscellaneous event. Examples are: ASSORTMENT_CHARGE DISASTER FORECAST_DECREASE FORECAST_INCREASE FREIGHT_FLOW_ALLOCATION INVENTORY_POLICY_CHANGE LOCATION_CLOSING LOCATION_OPENING OTHER OUT_OF_STOCK PACKAGING_LABELING_CHANGE PRICE_DECREASE PRICE_INCREASE STORE_FORMAT_OR_PLANOGRAM_CHANGE TEST_MARKET WEATHER + 1 + Miscellaneous Event + Miscellaneous Event Type Code + Code + Code. Type + + + + + + + + + ASBIE + Miscellaneous Event. Event Line Item + An event line item for this miscellaneous retail event. + 1..n + Miscellaneous Event + Event Line Item + Event Line Item + Event Line Item + + + + + + + + + + + ABIE + Monetary Total. Details + A class to define a monetary total. + Monetary Total + + + + + + + + + BBIE + Monetary Total. Line Extension Amount. Amount + The monetary amount of an extended transaction line, net of tax and settlement discounts, but inclusive of any applicable rounding amount. + 0..1 + Monetary Total + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Tax Exclusive Amount. Amount + The monetary amount of an extended transaction line, exclusive of taxes. + 0..1 + Monetary Total + Tax Exclusive Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Tax Inclusive Amount. Amount + The monetary amount including taxes; the sum of payable amount and prepaid amount. + 0..1 + Monetary Total + Tax Inclusive Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Allowance_ Total Amount. Amount + The total monetary amount of all allowances. + 0..1 + Monetary Total + Allowance + Total Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Charge_ Total Amount. Amount + The total monetary amount of all charges. + 0..1 + Monetary Total + Charge + Total Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Prepaid Amount. Amount + The total prepaid monetary amount. + 0..1 + Monetary Total + Prepaid Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Rounding Amount. Amount + The rounding amount (positive or negative) added to produce the line extension amount. + 0..1 + Monetary Total + Payable + Rounding Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Amount. Amount + The amount of the monetary total to be paid. + 1 + Monetary Total + Payable + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Alternative Amount. Amount + The amount of the monetary total to be paid, expressed in an alternative currency. + 0..1 + Monetary Total + Payable + Alternative Amount + Amount + Amount. Type + + + + + + + + + + + ABIE + Notification Requirement. Details + A class to describe a notification requirement. + Notification Requirement + + + + + + + + + BBIE + Notification Requirement. Notification Type Code. Code + A code signifying the type of notification (e.g., pickup status). + 1 + Notification Requirement + Notification Type Code + Code + Code. Type + + + + + + + + + BBIE + Notification Requirement. Post Event Notification Duration. Measure + The length of time between the occurrence of a given event and the issuance of a notification. + 0..1 + Notification Requirement + Post Event Notification Duration + Measure + Measure. Type + + + + + + + + + BBIE + Notification Requirement. Pre Event Notification Duration. Measure + The length of time to elapse between the issuance of a notification and the occurrence of the event it relates to. + 0..1 + Notification Requirement + Pre Event Notification Duration + Measure + Measure. Type + + + + + + + + + ASBIE + Notification Requirement. Notify_ Party. Party + A party to be notified. + 0..n + Notification Requirement + Notify + Party + Party + Party + + + + + + + + + ASBIE + Notification Requirement. Notification_ Period. Period + A period during which a notification should be issued. + 0..n + Notification Requirement + Notification + Period + Period + Period + + + + + + + + + ASBIE + Notification Requirement. Notification_ Location. Location + A location at which a notification should be issued. + 0..n + Notification Requirement + Notification + Location + Location + Location + + + + + + + + + + + ABIE + On Account Payment. Details + A scheduled prepayment (on-account payment) for a estimated utility consumption + On Account Payment + + + + + + + + + BBIE + On Account Payment. Estimated_ Consumed Quantity. Quantity + The estimated consumed quantity covered by the payment. + 1 + On Account Payment + Estimated + Consumed Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + On Account Payment. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + On Account Payment + Note + Text + Text. Type + We make a reservation for price regulations. You will receive you next yearly statement about one year from today. + + + + + + + + + ASBIE + On Account Payment. Payment Terms + A specification of payment terms associated with this payment. + 1..n + On Account Payment + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + + + ABIE + Order Line. Details + A class to define a line in an order document (e.g., Order, Order Change, or Order Response) describing an item being ordered. + Order Line + + + + + + + + + BBIE + Order Line. Substitution Status Code. Code + A code signifying the substitution status of the item on this order line. The order line may indicate that the substitute is proposed by the buyer (in Order) or by the seller (in Order Response) or that a substitution has been made by the seller (in Order Response). + 0..1 + Order Line + Substitution Status Code + Code + Substitution Status + Substitution Status_ Code. Type + + + + + + + + + BBIE + Order Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Order Line + Note + Text + Text. Type + + + + + + + + + ASBIE + Order Line. Line Item + The line item itself. + 1 + Order Line + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Seller Proposed Substitute_ Line Item. Line Item + In Order Response, a line item proposed by the seller describing a product that might substitute for the product described in this order line. + 0..n + Order Line + Seller Proposed Substitute + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Seller Substituted_ Line Item. Line Item + In Order Response, a line item that has replaced the original order line item. The specified quantity and pricing may differ from those in the original line item, but when a line item is substituted by the seller, it is assumed that other information, such as shipment details, will remain the same. + 0..n + Order Line + Seller Substituted + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Buyer Proposed Substitute_ Line Item. Line Item + A description of an item proposed by the buyer as a possible alternative to the item associated with this order line. + 0..n + Order Line + Buyer Proposed Substitute + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Catalogue_ Line Reference. Line Reference + A reference to a catalogue line associated with this order line. + 0..1 + Order Line + Catalogue + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Order Line. Quotation_ Line Reference. Line Reference + A reference to a quotation line associated with this order line. + 0..1 + Order Line + Quotation + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Order Line. Order Line Reference + A reference to another order line, such as in a replacement order or another line on the same order that is related. + 0..n + Order Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Order Line. Document Reference + A reference to a document associated with this order line. + 0..n + Order Line + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Order Line Reference. Details + A class to define a reference to an order line. + Order Line Reference + + + + + + + + + BBIE + Order Line Reference. Line Identifier. Identifier + An identifier for the referenced order line, assigned by the buyer. + 1 + Order Line Reference + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. Sales Order_ Line Identifier. Identifier + An identifier for the referenced order line, assigned by the seller. + 0..1 + Order Line Reference + Sales Order + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. UUID. Identifier + A universally unique identifier for this order line reference. + 0..1 + Order Line Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. Line Status Code. Code + A code signifying the status of the referenced order line with respect to its original state. + 0..1 + Order Line Reference + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + ASBIE + Order Line Reference. Order Reference + A reference to the Order containing the referenced order line. + 0..1 + Order Line Reference + Order Reference + Order Reference + Order Reference + + + + + + + + + + + ABIE + Order Reference. Details + A class to define a reference to an Order. + Order Reference + + + + + + + + + BBIE + Order Reference. Identifier + An identifier for this order reference, assigned by the buyer. + 1 + Order Reference + Identifier + Identifier + Identifier. Type + PO-001 3333-44-123 + + + + + + + + + BBIE + Order Reference. Sales_ Order Identifier. Identifier + An identifier for this order reference, assigned by the seller. + 0..1 + Order Reference + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Reference. Copy_ Indicator. Indicator + Indicates whether the referenced Order is a copy (true) or the original (false). + 0..1 + Order Reference + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Reference. UUID. Identifier + A universally unique identifier for this order reference. + 0..1 + Order Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Reference. Issue Date. Date + The date on which the referenced Order was issued. + 0..1 + Order Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Reference. Issue Time. Time + The time at which the referenced Order was issued. + 0..1 + Order Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Reference. Customer_ Reference. Text + Text used for tagging purchasing card transactions. + 0..1 + Order Reference + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Reference. Order Type Code. Code + A code signifying the type of the referenced Order. + 0..1 + Order Reference + Order Type Code + Code + Code. Type + + + + + + + + + ASBIE + Order Reference. Document Reference + A document associated with this reference to an Order. + 0..1 + Order Reference + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Ordered Shipment. Details + A class to describe an ordered shipment. + Ordered Shipment + + + + + + + + + ASBIE + Ordered Shipment. Shipment + The ordered shipment. + 1 + Ordered Shipment + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Ordered Shipment. Package + A package in this ordered shipment. + 0..n + Ordered Shipment + Package + Package + Package + + + + + + + + + + + ABIE + Package. Details + A class to describe a package. + Package + + + + + + + + + BBIE + Package. Identifier + An identifier for this package. + 0..1 + Package + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Package. Quantity + The quantity of items contained in this package. + 0..1 + Package + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Package. Returnable Material_ Indicator. Indicator + An indicator that the packaging material is returnable (true) or not (false). + 0..1 + Package + Returnable Material + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Package. Package Level Code. Code + A code signifying a level of packaging. + 0..1 + Package + Package Level Code + Code + Code. Type + + + + + + + + + BBIE + Package. Packaging Type Code. Code + A code signifying a type of packaging. + 0..1 + Package + Packaging Type Code + Code + Packaging Type + Packaging Type_ Code. Type + Package classification code + + + + + + + + + BBIE + Package. Packing Material. Text + Text describing the packaging material. + 0..n + Package + Packing Material + Text + Text. Type + + + + + + + + + BBIE + Package. Trace_ Identifier. Identifier + An identifier for use in tracing this package, such as the EPC number used in RFID. + 0..1 + Package + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Package. Contained_ Package. Package + A package contained within this package. + 0..n + Package + Contained + Package + Package + Package + + + + + + + + + ASBIE + Package. Containing_ Transport Equipment. Transport Equipment + The piece of transport equipment containing this package. + 0..1 + Package + Containing + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Package. Goods Item + A goods item included in this package. + 0..n + Package + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Package. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this package. + 0..n + Package + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Package. Delivery Unit + A delivery unit within this package. + 0..n + Package + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Package. Delivery + The delivery of this package. + 0..1 + Package + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Package. Pickup + The pickup of this package. + 0..1 + Package + Pickup + Pickup + Pickup + + + + + + + + + ASBIE + Package. Despatch + The despatch of this package. + 0..1 + Package + Despatch + Despatch + Despatch + + + + + + + + + + + ABIE + Party. Details + A class to describe an organization, sub-organization, or individual fulfilling a role in a business process. + Party + + + + + + + + + BBIE + Party. Mark Care_ Indicator. Indicator + An indicator that this party is "care of" (c/o) (true) or not (false). + 0..1 + Party + Mark Care + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party. Mark Attention_ Indicator. Indicator + An indicator that this party is "for the attention of" (FAO) (true) or not (false). + 0..1 + Party + Mark Attention + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party. Website_ URI. Identifier + The Uniform Resource Identifier (URI) that identifies this party's web site; i.e., the web site's Uniform Resource Locator (URL). + 0..1 + Party + Website + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Party. Logo Reference. Identifier + An identifier for this party's logo. + 0..1 + Party + Logo Reference + Identifier + Identifier. Type + http://www2.coca-cola.com/images/logo.gif + + + + + + + + + BBIE + Party. Endpoint Identifier. Identifier + An identifier for the end point of the routing service (e.g., EAN Location Number, GLN). + 0..1 + Party + Endpoint Identifier + Identifier + Identifier. Type + 5790002221134 + + + + + + + + + BBIE + Party. Industry Classification Code. Code + This party's Industry Classification Code. + 0..1 + Party + Industry Classification Code + Code + Code. Type + Public authority , NAIC codes + + + + + + + + + ASBIE + Party. Party Identification + An identifier for this party. + 0..n + Party + Party Identification + Party Identification + Party Identification + + + + + + + + + ASBIE + Party. Party Name + A name for this party. + 0..n + Party + Party Name + Party Name + Party Name + + + + + + + + + ASBIE + Party. Language + The language associated with this party. + 0..1 + Party + Language + Language + Language + + + + + + + + + ASBIE + Party. Postal_ Address. Address + The party's postal address. + 0..1 + Party + Postal + Address + Address + Address + + + + + + + + + ASBIE + Party. Physical_ Location. Location + The physical location of this party. + 0..1 + Party + Physical + Location + Location + Location + + + + + + + + + ASBIE + Party. Party Tax Scheme + A tax scheme applying to this party. + 0..n + Party + Party Tax Scheme + Party Tax Scheme + Party Tax Scheme + + + + + + + + + ASBIE + Party. Party Legal Entity + A description of this party as a legal entity. + 0..n + Party + Party Legal Entity + Party Legal Entity + Party Legal Entity + + + + + + + + + ASBIE + Party. Contact + The primary contact for this party. + 0..1 + Party + Contact + Contact + Contact + + + + + + + + + ASBIE + Party. Person + A person associated with this party. + 0..n + Party + Person + Person + Person + + + + + + + + + ASBIE + Party. Agent_ Party. Party + A party who acts as an agent for this party. + 0..1 + Party + Agent + Party + Party + Party + Customs Broker + + + + + + + + + ASBIE + Party. Service Provider Party + A party providing a service to this party. + 0..n + Party + Service Provider Party + Service Provider Party + Service Provider Party + + + + + + + + + ASBIE + Party. Power Of Attorney + A power of attorney associated with this party. + 0..n + Party + Power Of Attorney + Power Of Attorney + Power Of Attorney + + + + + + + + + ASBIE + Party. Financial Account + The financial account associated with this party. + 0..1 + Party + Financial Account + Financial Account + Financial Account + + + + + + + + + + + ABIE + Party Identification. Details + A class to define an identifier for a party. + Party Identification + + + + + + + + + BBIE + Party Identification. Identifier + An identifier for the party. + 1 + Party Identification + Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Party Legal Entity. Details + A class to describe a party as a legal entity. + Party Legal Entity + + + + + + + + + BBIE + Party Legal Entity. Registration_ Name. Name + The name of the party as registered with the relevant legal authority. + 0..1 + Party Legal Entity + Registration + Name + Name + Name. Type + Microsoft Corporation + + + + + + + + + BBIE + Party Legal Entity. Company Identifier. Identifier + An identifier for the party as registered within a company registration scheme. + 0..1 + Party Legal Entity + Company Identifier + Identifier + Identifier. Type + Business Registration Number, Company Number + 3556625 + + + + + + + + + BBIE + Party Legal Entity. Registration_ Date. Date + The registration date of the CompanyID. + 0..1 + Party Legal Entity + Registration + Date + Date + Date. Type + + + + + + + + + BBIE + Party Legal Entity. Registration Expiration_ Date. Date + The date upon which a registration expires (e.g., registration for an import/export license). + 0..1 + Party Legal Entity + Registration Expiration + Date + Date + Date. Type + + + + + + + + + BBIE + Party Legal Entity. Company Legal Form Code. Code + A code signifying the party's legal status. + 0..1 + Party Legal Entity + Company Legal Form Code + Code + Code. Type + Legal Status + + + + + + + + + BBIE + Party Legal Entity. Company Legal Form. Text + The company legal status, expressed as a text. + 0..1 + Party Legal Entity + Company Legal Form + Text + Text. Type + + + + + + + + + BBIE + Party Legal Entity. Sole Proprietorship Indicator. Indicator + An indicator that the company is owned and controlled by one person (true) or not (false). + 0..1 + Party Legal Entity + Sole Proprietorship Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party Legal Entity. Company Liquidation Status Code. Code + A code signifying the party's liquidation status. + 0..1 + Party Legal Entity + Company Liquidation Status Code + Code + Code. Type + + + + + + + + + BBIE + Party Legal Entity. Corporate Stock_ Amount. Amount + The number of shares in the capital stock of a corporation. + 0..1 + Party Legal Entity + Corporate Stock + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Party Legal Entity. Fully Paid Shares Indicator. Indicator + An indicator that all shares of corporate stock have been paid by shareholders (true) or not (false). + 0..1 + Party Legal Entity + Fully Paid Shares Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Party Legal Entity. Registration_ Address. Address + The registered address of the party within a corporate registration scheme. + 0..1 + Party Legal Entity + Registration + Address + Address + Address + + + + + + + + + ASBIE + Party Legal Entity. Corporate Registration Scheme + The corporate registration scheme used to register the party. + 0..1 + Party Legal Entity + Corporate Registration Scheme + Corporate Registration Scheme + Corporate Registration Scheme + + + + + + + + + ASBIE + Party Legal Entity. Head Office_ Party. Party + The head office of the legal entity + 0..1 + Party Legal Entity + Head Office + Party + Party + Party + + + + + + + + + ASBIE + Party Legal Entity. Shareholder Party + A party owning shares in this legal entity. + 0..n + Party Legal Entity + Shareholder Party + Shareholder Party + Shareholder Party + + + + + + + + + + + ABIE + Party Name. Details + A class for defining the name of a party. + Party Name + + + + + + + + + BBIE + Party Name. Name + The name of the party. + 1 + Party Name + Name + Name + Name. Type + Microsoft + + + + + + + + + + + ABIE + Party Tax Scheme. Details + A class to describe a taxation scheme applying to a party. + Party Tax Scheme + + + + + + + + + BBIE + Party Tax Scheme. Registration_ Name. Name + The name of the party as registered with the relevant fiscal authority. + 0..1 + Party Tax Scheme + Registration + Name + Name + Name. Type + Microsoft Corporation + + + + + + + + + BBIE + Party Tax Scheme. Company Identifier. Identifier + An identifier for the party assigned for tax purposes by the taxation authority. + 0..1 + Party Tax Scheme + Company Identifier + Identifier + Identifier. Type + VAT Number + 3556625 + + + + + + + + + BBIE + Party Tax Scheme. Tax Level Code. Code + A code signifying the tax level applicable to the party within this taxation scheme. + 0..1 + Party Tax Scheme + Tax Level Code + Code + Code. Type + + + + + + + + + BBIE + Party Tax Scheme. Exemption Reason Code. Code + A reason for the party's exemption from tax, expressed as a code. + 0..1 + Party Tax Scheme + Exemption Reason Code + Code + Code. Type + + + + + + + + + BBIE + Party Tax Scheme. Exemption_ Reason. Text + A reason for the party's exemption from tax, expressed as text. + 0..n + Party Tax Scheme + Exemption + Reason + Text + Text. Type + + + + + + + + + ASBIE + Party Tax Scheme. Registration_ Address. Address + The address of the party as registered for tax purposes. + 0..1 + Party Tax Scheme + Registration + Address + Address + Address + + + + + + + + + ASBIE + Party Tax Scheme. Tax Scheme + The taxation scheme applicable to the party. + 1 + Party Tax Scheme + Tax Scheme + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Payment. Details + A class to describe a payment. + Payment + + + + + + + + + BBIE + Payment. Identifier + An identifier for this payment. + 0..1 + Payment + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment. Paid_ Amount. Amount + The amount of this payment. + 0..1 + Payment + Paid + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment. Received_ Date. Date + The date on which this payment was received. + 0..1 + Payment + Received + Date + Date + Date. Type + + + + + + + + + BBIE + Payment. Paid_ Date. Date + The date on which this payment was made. + 0..1 + Payment + Paid + Date + Date + Date. Type + + + + + + + + + BBIE + Payment. Paid_ Time. Time + The time at which this payment was made. + 0..1 + Payment + Paid + Time + Time + Time. Type + + + + + + + + + BBIE + Payment. Instruction Identifier. Identifier + An identifier for the payment instruction. + 0..1 + Payment + Instruction Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Payment Mandate. Details + A class to describe a payment mandate. + Payment Mandate + + + + + + + + + BBIE + Payment Mandate. Identifier + An identifier for this payment mandate. + 0..1 + Payment Mandate + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Mandate. Mandate Type Code. Code + A code signifying the type of this payment mandate. + 0..1 + Payment Mandate + Mandate Type Code + Code + Code. Type + + + + + + + + + BBIE + Payment Mandate. Maximum Payment Instructions. Numeric + The number of maximum payment instructions allowed within the validity period. + 0..1 + Payment Mandate + Maximum Payment Instructions + Numeric + Numeric. Type + + + + + + + + + BBIE + Payment Mandate. Maximum_ Paid Amount. Amount + The maximum amount to be paid within a single instruction. + 0..1 + Payment Mandate + Maximum + Paid Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Mandate. Signature Identifier. Identifier + An identifier for a signature applied by a signatory party. + 0..1 + Payment Mandate + Signature Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Payment Mandate. Payer_ Party. Party + The payer party (if different from the debtor). + 0..1 + Payment Mandate + Payer + Party + Party + Party + + + + + + + + + ASBIE + Payment Mandate. Payer_ Financial Account. Financial Account + The payer's financial account. + 0..1 + Payment Mandate + Payer + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Mandate. Validity_ Period. Period + The period during which this mandate is valid. + 0..1 + Payment Mandate + Validity + Period + Period + Period + + + + + + + + + ASBIE + Payment Mandate. Payment Reversal_ Period. Period + The period of the reverse payment. + 0..1 + Payment Mandate + Payment Reversal + Period + Period + Period + + + + + + + + + ASBIE + Payment Mandate. Clause + A clause applicable to this payment mandate. + 0..n + Payment Mandate + Clause + Clause + Clause + + + + + + + + + + + ABIE + Payment Means. Details + A class to describe a means of payment. + Payment Means + + + + + + + + + BBIE + Payment Means. Identifier + An identifier for this means of payment. + 0..1 + Payment Means + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Means. Payment Means Code. Code + A code signifying the type of this means of payment. + 1 + Payment Means + Payment Means Code + Code + Payment Means + Payment Means_ Code. Type + + + + + + + + + BBIE + Payment Means. Payment Due Date. Date + The date on which payment is due for this means of payment. + 0..1 + Payment Means + Payment Due Date + Date + Date. Type + + + + + + + + + BBIE + Payment Means. Payment Channel Code. Code + A code signifying the payment channel for this means of payment. + 0..1 + Payment Means + Payment Channel Code + Code + Code. Type + + + + + + + + + BBIE + Payment Means. Instruction Identifier. Identifier + An identifier for the payment instruction. + 0..1 + Payment Means + Instruction Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Means. Instruction_ Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Payment Means + Instruction + Note + Text + Text. Type + + + + + + + + + BBIE + Payment Means. Payment Identifier. Identifier + An identifier for a payment made using this means of payment. + 0..n + Payment Means + Payment Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Payment Means. Card Account + A credit card, debit card, or charge card account that constitutes this means of payment. + 0..1 + Payment Means + Card Account + Card Account + Card Account + + + + + + + + + ASBIE + Payment Means. Payer_ Financial Account. Financial Account + The payer's financial account. + 0..1 + Payment Means + Payer + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Means. Payee_ Financial Account. Financial Account + The payee's financial account. + 0..1 + Payment Means + Payee + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Means. Credit Account + A credit account associated with this means of payment. + 0..1 + Payment Means + Credit Account + Credit Account + Credit Account + + + + + + + + + ASBIE + Payment Means. Payment Mandate + The payment mandate associated with this means of payment. + 0..1 + Payment Means + Payment Mandate + Payment Mandate + Payment Mandate + + + + + + + + + ASBIE + Payment Means. Trade Financing + A trade finance agreement applicable to this means of payment. + 0..1 + Payment Means + Trade Financing + Trade Financing + Trade Financing + + + + + + + + + + + ABIE + Payment Terms. Details + A class to describe a set of payment terms. + Payment Terms + + + + + + + + + BBIE + Payment Terms. Identifier + An identifier for this set of payment terms. + 0..1 + Payment Terms + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Payment Means Identifier. Identifier + An identifier for a means of payment associated with these payment terms. + 0..n + Payment Terms + Payment Means Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Prepaid Payment Reference Identifier. Identifier + An identifier for a reference to a prepaid payment. + 0..1 + Payment Terms + Prepaid Payment Reference Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Payment Terms + Note + Text + Text. Type + + + + + + + + + BBIE + Payment Terms. Reference_ Event Code. Code + A code signifying the event during which these terms are offered. + 0..1 + Payment Terms + Reference + Event Code + Code + Code. Type + + + + + + + + + BBIE + Payment Terms. Settlement_ Discount Percent. Percent + The percentage for the settlement discount that is offered for payment under these payment terms. + 0..1 + Payment Terms + Settlement + Discount Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Penalty_ Surcharge Percent. Percent + The penalty for payment after the settlement period, expressed as a percentage of the payment. + 0..1 + Payment Terms + Penalty + Surcharge Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Payment Percent. Percent + The part of a payment, expressed as a percent, relevant for these payment terms. + 0..1 + Payment Terms + Payment Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Amount + The monetary amount covered by these payment terms. + 0..1 + Payment Terms + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Terms. Settlement_ Discount Amount. Amount + The amount of a settlement discount offered for payment under these payment terms. + 0..1 + Payment Terms + Settlement + Discount Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Terms. Penalty_ Amount. Amount + The monetary amount of the penalty for payment after the settlement period. + 0..1 + Payment Terms + Penalty + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Terms. Payment Terms Details URI. Identifier + The Uniform Resource Identifier (URI) of a document providing additional details regarding these payment terms. + 0..1 + Payment Terms + Payment Terms Details URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Payment Due Date. Date + The due date for these payment terms. + 0..1 + Payment Terms + Payment Due Date + Date + Date. Type + + + + + + + + + BBIE + Payment Terms. Installment Due Date. Date + The due date for an installment payment for these payment terms. + 0..1 + Payment Terms + Installment Due Date + Date + Date. Type + + + + + + + + + BBIE + Payment Terms. Invoicing Party_ Reference. Text + A reference to the payment terms used by the invoicing party. This may have been requested of the payer by the payee to accompany its remittance. + 0..1 + Payment Terms + Invoicing Party + Reference + Text + Text. Type + + + + + + + + + ASBIE + Payment Terms. Settlement_ Period. Period + The period during which settlement may occur. + 0..1 + Payment Terms + Settlement + Period + Period + Period + + + + + + + + + ASBIE + Payment Terms. Penalty_ Period. Period + The period during which penalties may apply. + 0..1 + Payment Terms + Penalty + Period + Period + Period + + + + + + + + + ASBIE + Payment Terms. Exchange Rate + The currency exchange rate for purposes of these payment terms. + 0..1 + Payment Terms + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Payment Terms. Validity_ Period. Period + The period during which these payment terms are valid. + 0..1 + Payment Terms + Validity + Period + Period + Period + + + + + + + + + + + ABIE + Performance Data Line. Details + A class to define a line in a Performance History. + Performance Data Line + + + + + + + + + BBIE + Performance Data Line. Identifier + An identifier for this performance data line. + 1 + Performance Data Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Performance Data Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Performance Data Line + Note + Text + Text. Type + + + + + + + + + BBIE + Performance Data Line. Performance Value. Quantity + The value of the reported attribute. + 1 + Performance Data Line + Performance Value + Quantity + Quantity. Type + + + + + + + + + BBIE + Performance Data Line. Performance Metric Type Code. Code + A code signifying the measure of performance applicable to the reported attribute. + 1 + Performance Data Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Performance Data Line. Period + The period to which this performance data line applies. + 0..1 + Performance Data Line + Period + Period + Period + + + + + + + + + ASBIE + Performance Data Line. Item + The item whose performance is reported in this data line. + 0..1 + Performance Data Line + Item + Item + Item + + + + + + + + + + + ABIE + Period. Details + A class to describe a period of time. + Period + + + + + + + + + BBIE + Period. Start Date. Date + The date on which this period begins. + 0..1 + Period + Start Date + Date + Date. Type + + + + + + + + + BBIE + Period. Start Time. Time + The time at which this period begins. + 0..1 + Period + Start Time + Time + Time. Type + + + + + + + + + BBIE + Period. End Date. Date + The date on which this period ends. + 0..1 + Period + End Date + Date + Date. Type + + + + + + + + + BBIE + Period. End Time. Time + The time at which this period ends. + 0..1 + Period + End Time + Time + Time. Type + + + + + + + + + BBIE + Period. Duration. Measure + The duration of this period, expressed as an ISO 8601 code. + 0..1 + Period + Duration + Measure + Measure. Type + + + + + + + + + BBIE + Period. Description Code. Code + A description of this period, expressed as a code. + 0..n + Period + Description Code + Code + Code. Type + + + + + + + + + BBIE + Period. Description. Text + A description of this period, expressed as text. + 0..n + Period + Description + Text + Text. Type + + + + + + + + + + + ABIE + Person. Details + A class to describe a person. + Person + + + + + + + + + BBIE + Person. Identifier + An identifier for this person. + 0..1 + Person + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Person. First_ Name. Name + This person's given name. + 0..1 + Person + First + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Family_ Name. Name + This person's family name. + 0..1 + Person + Family + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Title. Text + This person's title of address (e.g., Mr, Ms, Dr, Sir). + 0..1 + Person + Title + Text + Text. Type + + + + + + + + + BBIE + Person. Middle_ Name. Name + This person's middle name(s) or initials. + 0..1 + Person + Middle + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Other_ Name. Name + This person's second family name. + 0..1 + Person + Other + Name + Name + Name. Type + Delivery Dock + + + + + + + + + BBIE + Person. Name Suffix. Text + A suffix to this person's name (e.g., PhD, OBE, Jr). + 0..1 + Person + Name Suffix + Text + Text. Type + + + + + + + + + BBIE + Person. Job Title. Text + This person's job title (for a particular role) within an organization. + 0..1 + Person + Job Title + Text + Text. Type + + + + + + + + + BBIE + Person. Nationality. Identifier + An identifier for this person's nationality. + 0..1 + Person + Nationality + Identifier + Identifier. Type + + + + + + + + + BBIE + Person. Gender Code. Code + A code (e.g., ISO 5218) signifying the gender of this person. + 0..1 + Person + Gender Code + Code + Code. Type + + + + + + + + + BBIE + Person. Birth Date. Date + This person's date of birth. + 0..1 + Person + Birth Date + Date + Date. Type + + + + + + + + + BBIE + Person. Birthplace Name. Text + The name of the place where this person was born, expressed as text. + 0..1 + Person + Birthplace Name + Text + Text. Type + + + + + + + + + BBIE + Person. Organization_ Department. Text + The department or subdivision of an organization that this person belongs to (in a particular role). + 0..1 + Person + Organization + Department + Text + Text. Type + + + + + + + + + ASBIE + Person. Contact + Contact information for this person. + 0..1 + Person + Contact + Contact + Contact + + + + + + + + + ASBIE + Person. Financial Account + The financial account associated with this person. + 0..1 + Person + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Person. Identity_ Document Reference. Document Reference + A reference to a document that can precisely identify this person (e.g., a driver's license). + 0..n + Person + Identity + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Person. Residence_ Address. Address + This person's address of residence. + 0..1 + Person + Residence + Address + Address + Address + + + + + + + + + + + ABIE + Physical Attribute. Details + A class to describe a physical attribute. + Physical Attribute + + + + + + + + + BBIE + Physical Attribute. Attribute Identifier. Identifier + An identifier for this physical attribute. + 1 + Physical Attribute + Attribute Identifier + Identifier + Identifier. Type + colour style + + + + + + + + + BBIE + Physical Attribute. Position Code. Code + A code signifying the position of this physical attribute. + 0..1 + Physical Attribute + Position Code + Code + Code. Type + + + + + + + + + BBIE + Physical Attribute. Description Code. Code + A description of the physical attribute, expressed as a code. + 0..1 + Physical Attribute + Description Code + Code + Code. Type + XXL , Small + + + + + + + + + BBIE + Physical Attribute. Description. Text + A description of the physical attribute, expressed as text. + 0..n + Physical Attribute + Description + Text + Text. Type + + + + + + + + + + + ABIE + Pickup. Details + A class to describe a pickup for delivery. + Pickup + Collection + + + + + + + + + BBIE + Pickup. Identifier + An identifier for this pickup. + 0..1 + Pickup + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Pickup. Actual_ Pickup Date. Date + The actual pickup date. + 0..1 + Pickup + Actual + Pickup Date + Date + Date. Type + + + + + + + + + BBIE + Pickup. Actual_ Pickup Time. Time + The actual pickup time. + 0..1 + Pickup + Actual + Pickup Time + Time + Time. Type + + + + + + + + + BBIE + Pickup. Earliest_ Pickup Date. Date + The earliest pickup date. + 0..1 + Pickup + Earliest + Pickup Date + Date + Date. Type + + + + + + + + + BBIE + Pickup. Earliest_ Pickup Time. Time + The earliest pickup time. + 0..1 + Pickup + Earliest + Pickup Time + Time + Time. Type + + + + + + + + + BBIE + Pickup. Latest_ Pickup Date. Date + The latest pickup date. + 0..1 + Pickup + Latest + Pickup Date + Date + Date. Type + + + + + + + + + BBIE + Pickup. Latest_ Pickup Time. Time + The latest pickup time. + 0..1 + Pickup + Latest + Pickup Time + Time + Time. Type + + + + + + + + + ASBIE + Pickup. Pickup_ Location. Location + The pickup location. + 0..1 + Pickup + Pickup + Location + Location + Location + + + + + + + + + ASBIE + Pickup. Pickup_ Party. Party + The party responsible for picking up a delivery. + 0..1 + Pickup + Pickup + Party + Party + Party + + + + + + + + + + + ABIE + Power Of Attorney. Details + A class to describe a power of attorney. + Power Of Attorney + + + + + + + + + BBIE + Power Of Attorney. Identifier + An identifier for this power of attorney. + 0..1 + Power Of Attorney + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Power Of Attorney. Issue Date. Date + The date on which this power of attorney was issued. + 0..1 + Power Of Attorney + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Power Of Attorney. Issue Time. Time + The time at which this power of attorney was issued. + 0..1 + Power Of Attorney + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Power Of Attorney. Description. Text + Text describing this power of attorney. + 0..n + Power Of Attorney + Description + Text + Text. Type + + + + + + + + + ASBIE + Power Of Attorney. Notary_ Party. Party + The party notarizing this power of attorney. + 0..1 + Power Of Attorney + Notary + Party + Party + Party + + + + + + + + + ASBIE + Power Of Attorney. Agent_ Party. Party + The party who acts as an agent or fiduciary for the principal and who holds this power of attorney on behalf of the principal. + 1 + Power Of Attorney + Agent + Party + Party + Party + + + + + + + + + ASBIE + Power Of Attorney. Witness_ Party. Party + An association to a WitnessParty. + 0..n + Power Of Attorney + Witness + Party + Party + Party + + + + + + + + + ASBIE + Power Of Attorney. Mandate_ Document Reference. Document Reference + A reference to a mandate associated with this power of attorney. + 0..n + Power Of Attorney + Mandate + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Price. Details + A class to describe a price, expressed in a data structure containing multiple properties (compare with UnstructuredPrice). + Price + + + + + + + + + BBIE + Price. Price Amount. Amount + The amount of the price. + 1 + Price + Price Amount + Amount + Amount. Type + unit price + 23.45 + + + + + + + + + BBIE + Price. Base_ Quantity. Quantity + The quantity at which this price applies. + 0..1 + Price + Base + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Price. Price Change_ Reason. Text + A reason for a price change. + 0..n + Price + Price Change + Reason + Text + Text. Type + Clearance of old stock , New contract applies + + + + + + + + + BBIE + Price. Price Type Code. Code + The type of price, expressed as a code. + 0..1 + Price + Price Type Code + Code + Code. Type + + + + + + + + + BBIE + Price. Price Type. Text + The type of price, expressed as text. + 0..1 + Price + Price Type + Text + Text. Type + retail, wholesale, discount, contract + + + + + + + + + BBIE + Price. Orderable Unit Factor. Rate + The factor by which the base price unit can be converted to the orderable unit. + 0..1 + Price + Orderable Unit Factor + Rate + Rate. Type + Nails are priced by weight but ordered by quantity. So this would say how many nails per kilo + + + + + + + + + ASBIE + Price. Validity_ Period. Period + A period during which this price is valid. + 0..n + Price + Validity + Period + Period + Period + + + + + + + + + ASBIE + Price. Price List + Information about a price list applicable to this price. + 0..1 + Price + Price List + Price List + Price List + + + + + + + + + ASBIE + Price. Allowance Charge + An allowance or charge associated with this price. + 0..n + Price + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Price. Pricing_ Exchange Rate. Exchange Rate + The exchange rate applicable to this price, if it differs from the exchange rate applicable to the document as a whole. + 0..1 + Price + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Price Extension. Details + A class to describe a price extension, calculated by multiplying the price per unit by the quantity of items. + Price Extension + + + + + + + + + BBIE + Price Extension. Amount + The amount of this price extension. + 1 + Price Extension + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Price Extension. Tax Total + A total amount of taxes of a particular kind applicable to this price extension. + 0..n + Price Extension + Tax Total + Tax Total + Tax Total + + + + + + + + + + + ABIE + Price List. Details + A class to describe a price list. + Price List + + + + + + + + + BBIE + Price List. Identifier + An identifier for this price list. + 0..1 + Price List + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Price List. Status Code. Code + A code signifying whether this price list is an original, copy, revision, or cancellation. + 0..1 + Price List + Status Code + Code + Code. Type + new - announcement only , new and available , deleted - announcement only + + + + + + + + + ASBIE + Price List. Validity_ Period. Period + A period during which this price list is valid. + 0..n + Price List + Validity + Period + Period + Period + + + + + + + + + ASBIE + Price List. Previous_ Price List. Price List + The previous price list. + 0..1 + Price List + Previous + Price List + Price List + Price List + + + + + + + + + + + ABIE + Pricing Reference. Details + A reference to the basis for pricing. This may be based on a catalogue or a quoted amount from a price list and include some alternative pricing conditions. + Pricing Reference + + + + + + + + + ASBIE + Pricing Reference. Original_ Item Location Quantity. Item Location Quantity + An original set of location-specific properties (e.g., price and quantity) associated with this item. + 0..1 + Pricing Reference + Original + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Pricing Reference. Alternative Condition_ Price. Price + The price expressed in terms other than the actual price, e.g., the list price v. the contracted price, or the price in bags v. the price in kilos, or the list price in bags v. the contracted price in kilos. + 0..n + Pricing Reference + Alternative Condition + Price + Price + Price + + + + + + + + + + + ABIE + Process Justification. Details + A class to describe a justification for the choice of tendering process. + Process Justification + + + + + + + + + BBIE + Process Justification. Previous_ Cancellation Reason Code. Code + A code signifying the type of the previous tendering process (which is now being cancelled). + 0..1 + Process Justification + Previous + Cancellation Reason Code + Code + Code. Type + + + + + + + + + BBIE + Process Justification. Process_ Reason Code. Code + The reason why the contracting authority has followed a particular tendering procedure for the awarding of a contract, expressed as a code. + 0..1 + Process Justification + Process + Reason Code + Code + Code. Type + + + + + + + + + BBIE + Process Justification. Process_ Reason. Text + The reason why the contracting authority has followed a particular tendering procedure for the awarding of a contract, expressed as text. + 0..n + Process Justification + Process + Reason + Text + Text. Type + + + + + + + + + BBIE + Process Justification. Description. Text + Text providing justification for the selection of this process. + 0..n + Process Justification + Description + Text + Text. Type + + + + + + + + + + + ABIE + Procurement Project. Details + A class to describe a project to procure goods, works, or services. + Procurement Project + + + + + + + + + BBIE + Procurement Project. Identifier + An identifier for this procurement project. + 0..1 + Procurement Project + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Procurement Project. Name + A name of this procurement project. + 1..n + Procurement Project + Name + Name + Name. Type + + + + + + + + + BBIE + Procurement Project. Description. Text + Text describing this procurement project. + 0..n + Procurement Project + Description + Text + Text. Type + + + + + + + + + BBIE + Procurement Project. Procurement_ Type Code. Code + A code signifying the type of procurement project (e.g., goods, works, services). + 0..1 + Procurement Project + Procurement + Type Code + Code + Code. Type + + + + + + + + + BBIE + Procurement Project. Procurement Sub_ Type Code. Code + A code signifying the subcategory of the type of work for this project (e.g., land surveying, IT consulting). + 0..1 + Procurement Project + Procurement Sub + Type Code + Code + Code. Type + + + + + + + + + BBIE + Procurement Project. Quality Control Code. Code + The indication of whether or not the control quality is included in the works project. + 0..1 + Procurement Project + Quality Control Code + Code + Code. Type + + + + + + + + + BBIE + Procurement Project. Required_ Fee. Amount + The amount of the reimbursement fee for concession procurement projects. + 0..1 + Procurement Project + Required + Fee + Amount + Amount. Type + + + + + + + + + BBIE + Procurement Project. Fee_ Description. Text + Text describing the reimbursement fee for concession procurement projects. + 0..n + Procurement Project + Fee + Description + Text + Text. Type + + + + + + + + + BBIE + Procurement Project. Requested_ Delivery Date. Date + The requested delivery date for this procurement project. + 0..1 + Procurement Project + Requested + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Procurement Project. Estimated_ Overall Contract. Quantity + The estimated overall quantity for this procurement project. + 0..1 + Procurement Project + Estimated + Overall Contract + Quantity + Quantity. Type + + + + + + + + + BBIE + Procurement Project. Note. Text + Free-form text applying to the Procurement Project. This element may contain additional information about the lot/contract that is not contained explicitly in another structure. + 0..n + Procurement Project + Note + Text + Text. Type + + + + + + + + + ASBIE + Procurement Project. Requested Tender Total + Budget monetary amounts for the project as whole. + 0..1 + Procurement Project + Requested Tender Total + Requested Tender Total + Requested Tender Total + + + + + + + + + ASBIE + Procurement Project. Main_ Commodity Classification. Commodity Classification + An association to the main classification category for the deliverable requested. + 0..1 + Procurement Project + Main + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Procurement Project. Additional_ Commodity Classification. Commodity Classification + An association to additional classification categories for the deliverable requested. + 0..n + Procurement Project + Additional + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Procurement Project. Realized_ Location. Location + A place where this procurement project will be physically realized. + 0..n + Procurement Project + Realized + Location + Location + Location + + + + + + + + + ASBIE + Procurement Project. Planned_ Period. Period + The period during which this procurement project is planned to take place. + 0..1 + Procurement Project + Planned + Period + Period + Period + + + + + + + + + ASBIE + Procurement Project. Contract Extension + The contract extension for this tendering process. + 0..1 + Procurement Project + Contract Extension + Contract Extension + Contract Extension + + + + + + + + + ASBIE + Procurement Project. Request For Tender Line + A good or service this project is intended to procure. + 0..n + Procurement Project + Request For Tender Line + Request For Tender Line + Request For Tender Line + + + + + + + + + + + ABIE + Procurement Project Lot. Details + A class to describe one of the parts of a procurement project that is being subdivided to allow the contracting party to award different lots to different economic operators under different contracts. + Procurement Project Lot + + + + + + + + + BBIE + Procurement Project Lot. Identifier + An identifier for this procurement project lot. + 1 + Procurement Project Lot + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Procurement Project Lot. Tendering Terms + Tendering terms for this procurement project lot. + 0..1 + Procurement Project Lot + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Procurement Project Lot. Procurement Project + A description of the procurement project to be divided. + 0..1 + Procurement Project Lot + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + + + ABIE + Project Reference. Details + A class to define a reference to a procurement project. + Project Reference + + + + + + + + + BBIE + Project Reference. Identifier + An identifier for the referenced project. + 1 + Project Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Project Reference. UUID. Identifier + A universally unique identifier for the referenced project. + 0..1 + Project Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Project Reference. Issue Date. Date + The date on which the referenced project was issued. + 0..1 + Project Reference + Issue Date + Date + Date. Type + + + + + + + + + ASBIE + Project Reference. Work Phase Reference + A specific phase of work in the referenced project. + 0..n + Project Reference + Work Phase Reference + Work Phase Reference + Work Phase Reference + + + + + + + + + + + ABIE + Promotional Event. Details + Agree can be renamed as PromotionalEvents + Promotional Event + + + + + + + + + BBIE + Promotional Event. Promotional Event Type Code. Code + A code signifying the type of this promotional event. Examples can be: Holiday, Seasonal Event, Store Closing, Trade Item Introduction + 1 + Promotional Event + Promotional Event Type Code + Code + Code. Type + + + + + + + + + BBIE + Promotional Event. Submission. Date + The date on which a proposal for this promotional event was submitted. + 0..1 + Promotional Event + Submission + Date + Date. Type + + + + + + + + + BBIE + Promotional Event. First Shipment Availibility Date. Date + The first day that products will be available to ship from buyer to seller if the proposal for this promotional event is accepted. + 0..1 + Promotional Event + First Shipment Availibility Date + Date + Date. Type + + + + + + + + + BBIE + Promotional Event. Latest_ Proposal Acceptance Date. Date + The deadline for acceptance of this promotional event. + 0..1 + Promotional Event + Latest + Proposal Acceptance Date + Date + Date. Type + + + + + + + + + ASBIE + Promotional Event. Promotional Specification + A specification for a promotional event. + 1..n + Promotional Event + Promotional Specification + Promotional Specification + Promotional Specification + + + + + + + + + + + ABIE + Promotional Event Line Item. Details + A class to describe a line item associated with a promotional event. + Promotional Event Line Item + + + + + + + + + BBIE + Promotional Event Line Item. Amount + The amount associated with this promotional event line item. + 1 + Promotional Event Line Item + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Promotional Event Line Item. Event Line Item + A line item describing the expected impacts associated with this promotional event for a specific product at a specific location. + 1 + Promotional Event Line Item + Event Line Item + Event Line Item + Event Line Item + + + + + + + + + + + ABIE + Promotional Specification. Details + A class to describe a promotional event as a set of item locations that share a set of promotional tactics. + Promotional Specification + + + + + + + + + BBIE + Promotional Specification. Specification Identifier. Identifier + An identifier for this promotional specification. + 0..1 + Promotional Specification + Specification Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Promotional Specification. Promotional Event Line Item + A line item for a promotional event involving a specific product at a specific location; it describes the expected impacts associated with the event and specifies the promotional price of the item." + 1..n + Promotional Specification + Promotional Event Line Item + Promotional Event Line Item + Promotional Event Line Item + + + + + + + + + ASBIE + Promotional Specification. Event Tactic + An event tactic associated with this promotion. + 0..n + Promotional Specification + Event Tactic + Event Tactic + Event Tactic + + + + + + + + + + + ABIE + Qualification Resolution. Details + A class to describe the acceptance or rejection of an economic operator in a tendering process. + Qualification Resolution + + + + + + + + + BBIE + Qualification Resolution. Admission Code. Code + An indicator that the economic operator has been accepted into the tendering process (true) or rejected from the tendering process (false). + 1 + Qualification Resolution + Admission Code + Code + Code. Type + + + + + + + + + BBIE + Qualification Resolution. Exclusion Reason. Text + Text describing a reason for an exclusion from the tendering process. + 0..n + Qualification Resolution + Exclusion Reason + Text + Text. Type + + + + + + + + + BBIE + Qualification Resolution. Resolution. Text + Text describing this qualification resolution. + 0..n + Qualification Resolution + Resolution + Text + Text. Type + + + + + + + + + BBIE + Qualification Resolution. Resolution Date. Date + The date on which this qualification resolution was formalized. + 1 + Qualification Resolution + Resolution Date + Date + Date. Type + + + + + + + + + BBIE + Qualification Resolution. Resolution Time. Time + The time at which this qualification resolution was formalized. + 0..1 + Qualification Resolution + Resolution Time + Time + Time. Type + + + + + + + + + ASBIE + Qualification Resolution. Procurement Project Lot + The Procurement project lot to which this tenderer is accepted or rejected. + 0..1 + Qualification Resolution + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + + + ABIE + Qualifying Party. Details + A class to describe the distinctive features or characteristics qualifying an economic operator to be a party in a tendering process (e.g., number of employees, number of operating units, type of business, technical and financial capabilities, completed projects). + Qualifying Party + + + + + + + + + BBIE + Qualifying Party. Participation. Percent + The extent to which this party is expected to participate in the tendering process, expressed as a percentage. + 0..1 + Qualifying Party + Participation + Percent + Percent. Type + + + + + + + + + BBIE + Qualifying Party. Personal Situation. Text + Text describing the personal situation of the qualifying party. + 0..n + Qualifying Party + Personal Situation + Text + Text. Type + + + + + + + + + BBIE + Qualifying Party. Operating Years. Quantity + The number of years that this qualifying party has been in operation. + 0..1 + Qualifying Party + Operating Years + Quantity + Quantity. Type + + + + + + + + + BBIE + Qualifying Party. Employee. Quantity + The number of people employed by this qualifying party. + 0..1 + Qualifying Party + Employee + Quantity + Quantity. Type + + + + + + + + + BBIE + Qualifying Party. Business Classification Evidence. Identifier + An identifier for an item of evidence to support the classification of this qualifying party. + 0..1 + Qualifying Party + Business Classification Evidence + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualifying Party. Business Identity Evidence. Identifier + An identifier for an item of evidence to support the business identity of this qualifying party. + 0..1 + Qualifying Party + Business Identity Evidence + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualifying Party. Tenderer Role Code. Code + A code stating the Tenderer Role. + 0..1 + Qualifying Party + Tenderer Role Code + Code + Code. Type + + + + + + + + + ASBIE + Qualifying Party. Business_ Classification Scheme. Classification Scheme + The classification scheme used for the business profile. + 0..1 + Qualifying Party + Business + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + ASBIE + Qualifying Party. Technical_ Capability. Capability + A technical capability of this qualifying party. + 0..n + Qualifying Party + Technical + Capability + Capability + Capability + + + + + + + + + ASBIE + Qualifying Party. Financial_ Capability. Capability + A financial capability of this qualifying party. + 0..n + Qualifying Party + Financial + Capability + Capability + Capability + + + + + + + + + ASBIE + Qualifying Party. Completed Task + A former task completed by this qualifying party. + 0..n + Qualifying Party + Completed Task + Completed Task + Completed Task + + + + + + + + + ASBIE + Qualifying Party. Declaration + A declaration by this qualifying party. of certain characteristics or capabilities in fulfilment of requirements specified in a call for tenders. + 0..n + Qualifying Party + Declaration + Declaration + Declaration + + + + + + + + + ASBIE + Qualifying Party. Party + The qualifying party itself. + 0..1 + Qualifying Party + Party + Party + Party + + + + + + + + + ASBIE + Qualifying Party. Economic Operator Role + A class to describe the tenderer contracting role. + 0..1 + Qualifying Party + Economic Operator Role + Economic Operator Role + Economic Operator Role + + + + + + + + + + + ABIE + Quotation Line. Details + A class to define a line in a Quotation. + Quotation Line + + + + + + + + + BBIE + Quotation Line. Identifier + An identifier for this quotation line. + 0..1 + Quotation Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Quotation Line + Note + Text + Text. Type + + + + + + + + + BBIE + Quotation Line. Quantity + The quantity of the item quoted. + 0..1 + Quotation Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Quotation Line. Line Extension Amount. Amount + The total amount for this quotation line, including allowance charges but net of taxes. + 0..1 + Quotation Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Quotation Line. Total_ Tax Amount. Amount + The total tax amount for this quotation line. + 0..1 + Quotation Line + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Quotation Line. Request For Quotation Line Identifier. Identifier + An identifier for the line in the Request for Quotation to which this line is a response. + 0..1 + Quotation Line + Request For Quotation Line Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Quotation Line. Document Reference + A reference to a document associated with this quotation line. + 0..n + Quotation Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation Line. Line Item + The item that is the subject of this quotation line. + 1 + Quotation Line + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Quotation Line. Seller Proposed Substitute_ Line Item. Line Item + An item proposed by the seller as a substitute for the item that is the subject of this quotation line. + 0..n + Quotation Line + Seller Proposed Substitute + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Quotation Line. Alternative_ Line Item. Line Item + An item proposed by the seller as an alternative to the item that is the subject of this quotation line. + 0..n + Quotation Line + Alternative + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Quotation Line. Request_ Line Reference. Line Reference + A reference to the line in the Request for Quotation to which this line is a response. + 0..1 + Quotation Line + Request + Line Reference + Line Reference + Line Reference + + + + + + + + + + + ABIE + Rail Transport. Details + A class defining details about a train wagon used as a means of transport. + Rail Transport + + + + + + + + + BBIE + Rail Transport. Train Identifier. Identifier + An identifier for the train used as the means of transport. + 1 + Rail Transport + Train Identifier + Identifier + Identifier. Type + Train Number (WCO ID 167) + + + + + + + + + BBIE + Rail Transport. Rail Car Identifier. Identifier + An identifier for the rail car on the train used as the means of transport. + 0..1 + Rail Transport + Rail Car Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Receipt Line. Details + A class to define a line in a Receipt Advice. + Receipt Line + + + + + + + + + BBIE + Receipt Line. Identifier + An identifier for this receipt line. + 1 + Receipt Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Line. UUID. Identifier + A universally unique identifier for this receipt line. + 0..1 + Receipt Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Receipt Line + Note + Text + Text. Type + + + + + + + + + BBIE + Receipt Line. Received_ Quantity. Quantity + The quantity received. + 0..1 + Receipt Line + Received + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Short_ Quantity. Quantity + The quantity received short; the difference between the quantity reported despatched and the quantity actually received. + 0..1 + Receipt Line + Short + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Shortage Action Code. Code + A code signifying the action that the delivery party wishes the despatch party to take as the result of a shortage. + 0..1 + Receipt Line + Shortage Action Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Rejected_ Quantity. Quantity + The quantity rejected. + 0..1 + Receipt Line + Rejected + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Reject Reason Code. Code + The reason for a rejection, expressed as a code. + 0..1 + Receipt Line + Reject Reason Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Reject_ Reason. Text + The reason for a rejection, expressed as text. + 0..n + Receipt Line + Reject + Reason + Text + Text. Type + + + + + + + + + BBIE + Receipt Line. Reject Action Code. Code + A code signifying the action that the delivery party wishes the despatch party to take as the result of a rejection. + 0..1 + Receipt Line + Reject Action Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Quantity Discrepancy Code. Code + A code signifying the type of a discrepancy in quantity. + 0..1 + Receipt Line + Quantity Discrepancy Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Oversupply_ Quantity. Quantity + The quantity over-supplied, i.e., the quantity over and above the quantity ordered. + 0..1 + Receipt Line + Oversupply + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Received_ Date. Date + The date on which the goods or services were received. + 0..1 + Receipt Line + Received + Date + Date + Date. Type + + + + + + + + + BBIE + Receipt Line. Timing Complaint Code. Code + A complaint about the timing of delivery, expressed as a code. + 0..1 + Receipt Line + Timing Complaint Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Timing Complaint. Text + A complaint about the timing of delivery, expressed as text. + 0..1 + Receipt Line + Timing Complaint + Text + Text. Type + + + + + + + + + ASBIE + Receipt Line. Order Line Reference + A reference to the order line associated with this receipt line. + 0..1 + Receipt Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Receipt Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this receipt line. + 0..n + Receipt Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Receipt Line. Document Reference + A reference to a document associated with this receipt line. + 0..n + Receipt Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Line. Item + An item associated with this receipt line. + 0..n + Receipt Line + Item + Item + Item + + + + + + + + + ASBIE + Receipt Line. Shipment + A shipment associated with this receipt line. + 0..n + Receipt Line + Shipment + Shipment + Shipment + + + + + + + + + + + ABIE + Regulation. Details + A class to describe a regulation. + Regulation + Points to regulation at atomic level + + + + + + + + + BBIE + Regulation. Name + A name for this regulation. + 1 + Regulation + Name + Name + Name. Type + + + + + + + + + BBIE + Regulation. Legal Reference. Text + Text describing a legal reference. + 0..1 + Regulation + Legal Reference + Text + Text. Type + Art. 45 2 b + + + + + + + + + BBIE + Regulation. Ontology URI. Identifier + The Uniform Resource Identifier (URI) of an ontology related to this regulation. + 0..1 + Regulation + Ontology URI + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Related Item. Details + A class to describe the relationship to an item different from the item associated with the item line in which RelatedItem is used. + Related Item + + + + + + + + + BBIE + Related Item. Identifier + An identifier for the related item. + 0..1 + Related Item + Identifier + Identifier + Identifier. Type + First , Second + + + + + + + + + BBIE + Related Item. Quantity + The quantity that applies to the relationship. + 0..1 + Related Item + Quantity + Quantity + Quantity. Type + 6 , 10mg per Kilo + + + + + + + + + BBIE + Related Item. Description. Text + Text describing the relationship. + 0..n + Related Item + Description + Text + Text. Type + If used in wet conditions or extreme environments + + + + + + + + + + + ABIE + Reminder Line. Details + A class to define a line in a Reminder document. + Reminder Line + + + + + + + + + BBIE + Reminder Line. Identifier + An identifier for this reminder line. + 1 + Reminder Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Reminder Line + Note + Text + Text. Type + + + + + + + + + BBIE + Reminder Line. UUID. Identifier + A universally unique identifier for this reminder line. + 0..1 + Reminder Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder Line. Balance Brought Forward_ Indicator. Indicator + An indication that this reminder line contains a balance brought forward (true) or does not (false). + 0..1 + Reminder Line + Balance Brought Forward + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Reminder Line. Debit_ Line Amount. Amount + The amount debited on this reminder line. + 0..1 + Reminder Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Credit_ Line Amount. Amount + The amount credited on this reminder line. + 0..1 + Reminder Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this reminder line, expressed as a code. + 0..1 + Reminder Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Reminder Line. Accounting Cost. Text + The buyer's accounting cost centre for this reminder line, expressed as text. + 0..1 + Reminder Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Reminder Line. Penalty_ Surcharge Percent. Percent + The penalty for late payment, expressed as a percentage. + 0..1 + Reminder Line + Penalty + Surcharge Percent + Percent + Percent. Type + + + + + + + + + BBIE + Reminder Line. Amount + The amount on this reminder line. + 0..1 + Reminder Line + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Reminder Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Reminder Line. Reminder_ Period. Period + A period to which this reminder line applies. + 0..n + Reminder Line + Reminder + Period + Period + Period + + + + + + + + + ASBIE + Reminder Line. Billing Reference + A reference to a billing document associated with this reminder line. + 0..n + Reminder Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Reminder Line. Exchange Rate + The rate of exchange between the currency of the Reminder and the currency of the document described in the BillingReference. + 0..1 + Reminder Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Remittance Advice Line. Details + A class to define a line in a Remittance Advice. + Remittance Advice Line + + + + + + + + + BBIE + Remittance Advice Line. Identifier + An identifier for this remittance advice line. + 1 + Remittance Advice Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Remittance Advice Line + Note + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice Line. UUID. Identifier + A universally unique identifier for this remittance advice line. + 0..1 + Remittance Advice Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice Line. Debit_ Line Amount. Amount + The amount debited on this remittance advice line. + 0..1 + Remittance Advice Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Credit_ Line Amount. Amount + The amount credited on this remittance advice line. + 0..1 + Remittance Advice Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Balance Amount. Amount + The monetary balance associated with this remittance advice line. + 0..1 + Remittance Advice Line + Balance Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Remittance Advice Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Remittance Advice Line. Invoicing Party_ Reference. Text + A reference to the order for payment used by the invoicing party. This may have been requested of the payer by the payee to accompany its remittance. + 0..1 + Remittance Advice Line + Invoicing Party + Reference + Text + Text. Type + + + + + + + + + ASBIE + Remittance Advice Line. Accounting_ Supplier Party. Supplier Party + The Accounting Supplier Party related to the remittance information reported on this Remittance Advice Line. + 0..1 + Remittance Advice Line + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice Line. Accounting_ Customer Party. Customer Party + The Accounting Customer Party related to the remittance information reported on this Remittance Advice Line. + 0..1 + Remittance Advice Line + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Buyer_ Customer Party. Customer Party + The buyer associated with this remittance advice line. + 0..1 + Remittance Advice Line + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Seller_ Supplier Party. Supplier Party + The seller/supplier associated with this remittance advice line. + 0..1 + Remittance Advice Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice Line. Originator_ Customer Party. Customer Party + The originating party. + 0..1 + Remittance Advice Line + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Payee_ Party. Party + The payee. + 0..1 + Remittance Advice Line + Payee + Party + Party + Party + + + + + + + + + ASBIE + Remittance Advice Line. Invoice_ Period. Period + An invoice period to which this remittance advice line applies. + 0..n + Remittance Advice Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Remittance Advice Line. Billing Reference + A reference to a billing document associated with this remittance advice line. + 0..n + Remittance Advice Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Remittance Advice Line. Document Reference + A reference to a document associated with this remittance advice line. + 0..n + Remittance Advice Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Remittance Advice Line. Exchange Rate + The rate of exchange between the currency of the Remittance Advice and the currency of the document described in the BillingReference. + 0..1 + Remittance Advice Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Renewal. Details + A class to describe the renewal of a commercial arrangement, such as a contract or licence fee. + Renewal + + + + + + + + + BBIE + Renewal. Amount + The monetary amount of this renewal. + 0..1 + Renewal + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Renewal. Period + The period for which the arrangement is now valid + 0..1 + Renewal + Period + Period + Period + + + + + + + + + + + ABIE + Request For Quotation Line. Details + A class to define a line in a Request for Quotation. + Request For Quotation Line + + + + + + + + + BBIE + Request For Quotation Line. Identifier + An identifier for this line in the request for quotation. + 0..1 + Request For Quotation Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation Line. UUID. Identifier + A universally unique identifier for this line in the request for quotation. + 0..1 + Request For Quotation Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Request For Quotation Line + Note + Text + Text. Type + + + + + + + + + BBIE + Request For Quotation Line. Optional_ Line Item Indicator. Indicator + An indication whether this line is optional (true) or not (false) for purposes of this request for quotation. + 0..1 + Request For Quotation Line + Optional + Line Item Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Request For Quotation Line. Privacy Code. Code + A code signifying the level of confidentiality of this request for quotation line. + 0..1 + Request For Quotation Line + Privacy Code + Code + Code. Type + + + + + + + + + BBIE + Request For Quotation Line. Security Classification Code. Code + A code signifying the security classification of this request for quotation line. + 0..1 + Request For Quotation Line + Security Classification Code + Code + Code. Type + + + + + + + + + ASBIE + Request For Quotation Line. Document Reference + A document associated with this request for quotation line. + 0..n + Request For Quotation Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation Line. Line Item + A description of the item for which a quotation is requested. + 1 + Request For Quotation Line + Line Item + Line Item + Line Item + + + + + + + + + + + ABIE + Request For Tender Line. Details + A class to define a line in a Request for Tender describing an item of goods or a service solicited in the Request for Tender. + Request For Tender Line + + + + + + + + + BBIE + Request For Tender Line. Identifier + An identifier for this request for tender line. + 0..1 + Request For Tender Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Tender Line. UUID. Identifier + A universally unique identifier for this request for tender line. + 0..1 + Request For Tender Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Tender Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Request For Tender Line + Note + Text + Text. Type + + + + + + + + + BBIE + Request For Tender Line. Quantity + The quantity of the item for which a tender is requested in this line. + 0..1 + Request For Tender Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Request For Tender Line. Minimum_ Quantity. Quantity + The minimum quantity of the item associated with this request for tender line. + 0..1 + Request For Tender Line + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Request For Tender Line. Maximum_ Quantity. Quantity + The maximum quantity of the item associated with this request for tender line. + 0..1 + Request For Tender Line + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Request For Tender Line. Tax Included_ Indicator. Indicator + Indicates whether the amounts are taxes included (true) or not (false). + 0..1 + Request For Tender Line + Tax Included + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Request For Tender Line. Minimum_ Amount. Amount + The minimum amount allowed for this deliverable. + 0..1 + Request For Tender Line + Minimum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Request For Tender Line. Maximum_ Amount. Amount + The maximum amount allowed for this deliverable. + 0..1 + Request For Tender Line + Maximum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Request For Tender Line. Estimated_ Amount. Amount + The estimated total amount of the deliverable. + 0..1 + Request For Tender Line + Estimated + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Request For Tender Line. Document Reference + A reference to a document associated with this request for tender line. + 0..n + Request For Tender Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Tender Line. Delivery_ Period. Period + An applicable period for the deliverable or set of deliverables in this tendering process. + 0..n + Request For Tender Line + Delivery + Period + Period + Period + + + + + + + + + ASBIE + Request For Tender Line. Required_ Item Location Quantity. Item Location Quantity + Properties of the item specified in this request for tender line that are dependent on location and quantity. + 0..n + Request For Tender Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Request For Tender Line. Warranty Validity_ Period. Period + The period during which a warranty to be associated with this request for tender line must apply. + 0..1 + Request For Tender Line + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Request For Tender Line. Item + An item for which a tender is requested. + 1 + Request For Tender Line + Item + Item + Item + + + + + + + + + ASBIE + Request For Tender Line. Sub_ Request For Tender Line. Request For Tender Line + A subsidiary request for tender line. + 0..n + Request For Tender Line + Sub + Request For Tender Line + Request For Tender Line + Request For Tender Line + + + + + + + + + + + ABIE + Requested Tender Total. Details + A class defining budgeted monetary amounts. + Requested Tender Total + + + + + + + + + BBIE + Requested Tender Total. Estimated_ Overall Contract. Amount + The estimated overall monetary amount of a contract. + 0..1 + Requested Tender Total + Estimated + Overall Contract + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Total_ Amount. Amount + The monetary amount of the total budget including net amount, taxes, and material and instalment costs. + 0..1 + Requested Tender Total + Total + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Tax Included_ Indicator. Indicator + Indicates whether the amounts are taxes included (true) or not (false). + 0..1 + Requested Tender Total + Tax Included + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Requested Tender Total. Minimum_ Amount. Amount + The minimum monetary amount of the budget. + 0..1 + Requested Tender Total + Minimum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Maximum_ Amount. Amount + The maximum monetary amount of the budget. + 0..1 + Requested Tender Total + Maximum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Monetary Scope. Text + A description of the monetary scope of the budget. + 0..n + Requested Tender Total + Monetary Scope + Text + Text. Type + + + + + + + + + BBIE + Requested Tender Total. Average_ Subsequent Contract. Amount + The average monetary amount for the subsequent contracts following this budget amount. + 0..1 + Requested Tender Total + Average + Subsequent Contract + Amount + Amount. Type + + + + + + + + + ASBIE + Requested Tender Total. Applicable_ Tax Category. Tax Category + Describes the categories of taxes that apply to the budget amount. + 0..n + Requested Tender Total + Applicable + Tax Category + Tax Category + Tax Category + + + + + + + + + + + ABIE + Response. Details + A class to describe an application-level response to a document. + Response + + + + + + + + + BBIE + Response. Reference. Identifier + An identifier for the section (or line) of the document to which this response applies. + 0..1 + Response + Reference + Identifier + Identifier. Type + + + + + + + + + BBIE + Response. Response Code. Code + A code signifying the type of response. + 0..1 + Response + Response Code + Code + Code. Type + + + + + + + + + BBIE + Response. Description. Text + Text describing this response. + 0..n + Response + Description + Text + Text. Type + + + + + + + + + BBIE + Response. Effective Date. Date + The date upon which this response is valid. + 0..1 + Response + Effective Date + Date + Date. Type + + + + + + + + + BBIE + Response. Effective Time. Time + The time at which this response is valid. + 0..1 + Response + Effective Time + Time + Time. Type + + + + + + + + + ASBIE + Response. Status + A status report associated with this response. + 0..n + Response + Status + Status + Status + + + + + + + + + + + ABIE + Result Of Verification. Details + A class to describe the result of an attempt to verify a signature. + Result Of Verification + + + + + + + + + BBIE + Result Of Verification. Validator. Identifier + An identifier for the organization, person, service, or server that verified the signature. + 0..1 + Result Of Verification + Validator + Identifier + Identifier. Type + + + + + + + + + BBIE + Result Of Verification. Validation_ Result Code. Code + A code signifying the result of the verification. + 0..1 + Result Of Verification + Validation + Result Code + Code + Code. Type + + + + + + + + + BBIE + Result Of Verification. Validation Date. Date + The date upon which verification took place. + 0..1 + Result Of Verification + Validation Date + Date + Date. Type + + + + + + + + + BBIE + Result Of Verification. Validation Time. Time + The time at which verification took place. + 0..1 + Result Of Verification + Validation Time + Time + Time. Type + + + + + + + + + BBIE + Result Of Verification. Validate_ Process. Text + The verification process. + 0..1 + Result Of Verification + Validate + Process + Text + Text. Type + + + + + + + + + BBIE + Result Of Verification. Validate_ Tool. Text + The tool used to verify the signature. + 0..1 + Result Of Verification + Validate + Tool + Text + Text. Type + + + + + + + + + BBIE + Result Of Verification. Validate_ Tool Version. Text + The version of the tool used to verify the signature. + 0..1 + Result Of Verification + Validate + Tool Version + Text + Text. Type + + + + + + + + + ASBIE + Result Of Verification. Signatory_ Party. Party + The signing party. + 0..1 + Result Of Verification + Signatory + Party + Party + Party + + + + + + + + + + + ABIE + Retail Planned Impact. Details + A class to describe a planned effect of a retail event (e.g., a promotion or a change in inventory policy) upon supply or demand. + Retail Planned Impact + + + + + + + + + BBIE + Retail Planned Impact. Amount + Estimated monetary value of the planned event as an impact + 1 + Retail Planned Impact + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Retail Planned Impact. Forecast_ Purpose Code. Code + It will have impact on either Sales forecast or Order Forecast + 1 + Retail Planned Impact + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Retail Planned Impact. Forecast Type Code. Code + A code signifying the type of forecast. Examples of values are: BASE PROMOTIONAL SEASONAL TOTAL + 1 + Retail Planned Impact + Forecast Type Code + Code + Code. Type + + + + + + + + + ASBIE + Retail Planned Impact. Period + The period to which this impact applies. + 0..1 + Retail Planned Impact + Period + Period + Period + + + + + + + + + + + ABIE + Road Transport. Details + A class for identifying a vehicle used for road transport. + Road Transport + + + + + + + + + BBIE + Road Transport. License Plate Identifier. Identifier + The license plate identifier of this vehicle. + 1 + Road Transport + License Plate Identifier + Identifier + Identifier. Type + Vehicle registration number (WCO ID 167) + + + + + + + + + + + ABIE + Sales Item. Details + A class to describe information related to an item in a sales context + Sales Item + + + + + + + + + BBIE + Sales Item. Quantity + The quantity the given information are related to + 1 + Sales Item + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Sales Item. Activity Property + A class to describe the activity (for example "sales", "movement", ...) related to the item. + 0..n + Sales Item + Activity Property + Activity Property + Activity Property + + + + + + + + + ASBIE + Sales Item. Tax Exclusive_ Price. Price + A price for this sales item, exclusive of tax. + 0..n + Sales Item + Tax Exclusive + Price + Price + Price + + + + + + + + + ASBIE + Sales Item. Tax Inclusive_ Price. Price + A price for this sales item, including tax. + 0..n + Sales Item + Tax Inclusive + Price + Price + Price + + + + + + + + + ASBIE + Sales Item. Item + The sales item itself. + 1 + Sales Item + Item + Item + Item + + + + + + + + + + + ABIE + Secondary Hazard. Details + A class to describe a secondary hazard associated with a hazardous item. + Secondary Hazard + + + + + + + + + BBIE + Secondary Hazard. Identifier + An identifier for this secondary hazard. + 0..1 + Secondary Hazard + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Secondary Hazard. Placard Notation. Text + Text of the placard notation corresponding to the hazard class of this secondary hazard. Can also be the hazard identification number of the orange placard (upper part) required on the means of transport. + 0..1 + Secondary Hazard + Placard Notation + Text + Text. Type + 5.1 + + + + + + + + + BBIE + Secondary Hazard. Placard Endorsement. Text + Text of the placard endorsement for this secondary hazard that is to be shown on the shipping papers for a hazardous item. Can also be used for the number of the orange placard (lower part) required on the means of transport. + 0..1 + Secondary Hazard + Placard Endorsement + Text + Text. Type + 2 + + + + + + + + + BBIE + Secondary Hazard. Emergency Procedures Code. Code + A code signifying the emergency procedures for this secondary hazard. + 0..1 + Secondary Hazard + Emergency Procedures Code + Code + Code. Type + EMG code, EMS Page Number + + + + + + + + + BBIE + Secondary Hazard. Extension. Text + Additional information about the hazardous substance, which can be used (for example) to specify the type of regulatory requirements that apply to this secondary hazard. + 0..n + Secondary Hazard + Extension + Text + Text. Type + N.O.S. or a Waste Characteristics Code in conjunction with an EPA Waste Stream code + + + + + + + + + + + ABIE + Service Frequency. Details + A class to specify which day of the week a transport service is operational. + Service Frequency + + + + + + + + + BBIE + Service Frequency. Week Day. Code + A day of the week, expressed as code. + 1 + Service Frequency + Week Day + Code + Week Day + Week Day_ Code. Type + + + + + + + + + + + ABIE + Service Provider Party. Details + A class to describe a party contracting to provide services, such as transportation, finance, etc. + Service Provider Party + + + + + + + + + BBIE + Service Provider Party. Identifier + An identifier for this service provider. + 0..1 + Service Provider Party + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Service Provider Party. Service Type Code. Code + The type of service provided, expressed as a code. + 0..1 + Service Provider Party + Service Type Code + Code + Code. Type + + + + + + + + + BBIE + Service Provider Party. Service Type. Text + The type of service provided, expressed as text. + 0..n + Service Provider Party + Service Type + Text + Text. Type + + + + + + + + + ASBIE + Service Provider Party. Party + The party providing the service. + 1 + Service Provider Party + Party + Party + Party + + + + + + + + + ASBIE + Service Provider Party. Seller_ Contact. Contact + The contact for the service provider. + 0..1 + Service Provider Party + Seller + Contact + Contact + Contact + + + + + + + + + + + ABIE + Shareholder Party. Details + A class to describe a shareholder party. + Shareholder Party + + + + + + + + + BBIE + Shareholder Party. Partecipation. Percent + The shareholder participation, expressed as a percentage. + 0..1 + Shareholder Party + Partecipation + Percent + Percent. Type + + + + + + + + + ASBIE + Shareholder Party. Party + The shareholder party. + 0..1 + Shareholder Party + Party + Party + Party + + + + + + + + + + + ABIE + Shipment. Details + A class defining an identifiable collection of one or more goods items to be transported between the seller party and the buyer party. This information may be defined within a commercial contract. A shipment can be transported in different consignments (e.g., split for logistical purposes). + Shipment + + + + + + + + + BBIE + Shipment. Identifier + An identifier for this shipment. + 1 + Shipment + Identifier + Identifier + Identifier. Type + Waybill Number + + + + + + + + + BBIE + Shipment. Shipping Priority Level Code. Code + A code signifying the priority or level of service required for this shipment. + 0..1 + Shipment + Shipping Priority Level Code + Code + Code. Type + Service Level, Service Priority + + + + + + + + + BBIE + Shipment. Handling Code. Code + The handling required for this shipment, expressed as a code. + 0..1 + Shipment + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Shipment. Handling_ Instructions. Text + The handling required for this shipment, expressed as text. + 0..n + Shipment + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Information. Text + Free-form text pertinent to this shipment, conveying information that is not contained explicitly in other structures. + 0..n + Shipment + Information + Text + Text. Type + + + + + + + + + BBIE + Shipment. Gross_ Weight. Measure + The total gross weight of a shipment; the weight of the goods plus packaging plus transport equipment. + 0..1 + Shipment + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net_ Weight. Measure + The net weight of this shipment, excluding packaging. + 0..1 + Shipment + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net Net_ Weight. Measure + The total net weight of this shipment, excluding packaging and transport equipment. + 0..1 + Shipment + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Gross_ Volume. Measure + The total volume of the goods in this shipment, including packaging. + 0..1 + Shipment + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net_ Volume. Measure + The total volume of the goods in this shipment, excluding packaging and transport equipment. + 0..1 + Shipment + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Total_ Goods Item Quantity. Quantity + The total number of goods items in this shipment. + 0..1 + Shipment + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Shipment. Total_ Transport Handling Unit Quantity. Quantity + The number of pieces of transport handling equipment (pallets, boxes, cases, etc.) in this shipment. + 0..1 + Shipment + Total + Transport Handling Unit Quantity + Quantity + Quantity. Type + Number of THUs + + + + + + + + + BBIE + Shipment. Insurance_ Value. Amount + The amount covered by insurance for this shipment. + 0..1 + Shipment + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Shipment. Declared Customs_ Value. Amount + The total declared value for customs purposes of those goods in this shipment that are subject to the same customs procedure and have the same tariff/statistical heading, country information, and duty regime. + 0..1 + Shipment + Declared Customs + Value + Amount + Amount. Type + + + + + + + + + BBIE + Shipment. Declared For Carriage_ Value. Amount + The value of this shipment, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Shipment + Declared For Carriage + Value + Amount + Amount. Type + Declared value for carriage, Interest in delivery + + + + + + + + + BBIE + Shipment. Declared Statistics_ Value. Amount + The value, declared for statistical purposes, of those goods in this shipment that have the same statistical heading. + 0..1 + Shipment + Declared Statistics + Value + Amount + Amount. Type + Statistical Value + + + + + + + + + BBIE + Shipment. Free On Board_ Value. Amount + The monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Shipment + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Shipment. Special_ Instructions. Text + Special instructions relating to this shipment. + 0..n + Shipment + Special + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Delivery_ Instructions. Text + Delivery instructions relating to this shipment. + 0..n + Shipment + Delivery + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Split Consignment_ Indicator. Indicator + An indicator that the consignment has been split in transit (true) or not (false). + 0..1 + Shipment + Split Consignment + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Shipment. Consignment_ Quantity. Quantity + The total number of consignments within this shipment. + 0..1 + Shipment + Consignment + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Shipment. Consignment + A consignment covering this shipment. + 0..n + Shipment + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Shipment. Goods Item + A goods item included in this shipment. + 0..n + Shipment + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Shipment. Shipment Stage + A stage in the transport movement of this shipment. + 0..n + Shipment + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Shipment. Delivery + The delivery of this shipment. + 0..1 + Shipment + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Shipment. Transport Handling Unit + A transport handling unit associated with this shipment. + 0..n + Shipment + Transport Handling Unit + Transport Handling Unit + Transport Handling Unit + + + + + + + + + ASBIE + Shipment. Return_ Address. Address + The address to which a shipment should be returned. + 0..1 + Shipment + Return + Address + Address + Address + + + + + + + + + ASBIE + Shipment. Origin_ Address. Address + The region in which the goods have been produced or manufactured, according to criteria laid down for the purposes of application of the customs tariff, or of quantitative restrictions, or of any other measure related to trade. + 0..1 + Shipment + Origin + Address + Address + Address + + + + + + + + + ASBIE + Shipment. First Arrival Port_ Location. Location + The first arrival location of a shipment. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Shipment + First Arrival Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment. Last Exit Port_ Location. Location + The final exporting location for a shipment. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Shipment + Last Exit Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment. Export_ Country. Country + The country from which the goods were originally exported, without any commercial transaction taking place in intermediate countries. + 0..1 + Shipment + Export + Country + Country + Country + Country of exportation (WCO ID 062) + + + + + + + + + ASBIE + Shipment. Freight_ Allowance Charge. Allowance Charge + A cost incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance to the extent that they relate to the freight costs. + 0..n + Shipment + Freight + Allowance Charge + Allowance Charge + Allowance Charge + Freight Costs + + + + + + + + + + + ABIE + Shipment Stage. Details + A class to describe one stage of movement in a transport of goods. + Shipment Stage + + + + + + + + + BBIE + Shipment Stage. Identifier + An identifier for this shipment stage. + 0..1 + Shipment Stage + Identifier + Identifier + Identifier. Type + 1 , 2 , etc.. + + + + + + + + + BBIE + Shipment Stage. Transport Mode Code. Code + A code signifying the method of transport used for this shipment stage. + 0..1 + Shipment Stage + Transport Mode Code + Code + Transport Mode + Transport Mode_ Code. Type + + + + + + + + + BBIE + Shipment Stage. Transport Means Type Code. Code + A code signifying the kind of transport means (truck, vessel, etc.) used for this shipment stage. + 0..1 + Shipment Stage + Transport Means Type Code + Code + Code. Type + + + + + + + + + BBIE + Shipment Stage. Transit_ Direction Code. Code + A code signifying the direction of transit in this shipment stage. + 0..1 + Shipment Stage + Transit + Direction Code + Code + Code. Type + + + + + + + + + BBIE + Shipment Stage. Pre Carriage_ Indicator. Indicator + An indicator that this stage takes place before the main carriage of the shipment (true) or not (false). + 0..1 + Shipment Stage + Pre Carriage + Indicator + Indicator + Indicator. Type + Truck delivery to wharf + + + + + + + + + BBIE + Shipment Stage. On Carriage_ Indicator. Indicator + An indicator that this stage takes place after the main carriage of the shipment (true) or not (false). + 0..1 + Shipment Stage + On Carriage + Indicator + Indicator + Indicator. Type + Truck delivery from wharf + + + + + + + + + BBIE + Shipment Stage. Estimated_ Delivery Date. Date + The estimated date of delivery in this shipment stage. + 0..1 + Shipment Stage + Estimated + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Shipment Stage. Estimated_ Delivery Time. Time + The estimated time of delivery in this shipment stage. + 0..1 + Shipment Stage + Estimated + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Shipment Stage. Required_ Delivery Date. Date + The delivery date required by the buyer in this shipment stage. + 0..1 + Shipment Stage + Required + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Shipment Stage. Required_ Delivery Time. Time + The delivery time required by the buyer in this shipment stage. + 0..1 + Shipment Stage + Required + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Shipment Stage. Loading_ Sequence Identifier. Identifier + An identifier for the loading sequence (of consignments) associated with this shipment stage. + 0..1 + Shipment Stage + Loading + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Shipment Stage. Successive_ Sequence Identifier. Identifier + Identifies the successive loading sequence (of consignments) associated with a shipment stage. + 0..1 + Shipment Stage + Successive + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Shipment Stage. Instructions. Text + Text of instructions applicable to a shipment stage. + 0..n + Shipment Stage + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment Stage. Demurrage_ Instructions. Text + Text of instructions relating to demurrage (the case in which a vessel is prevented from loading or discharging cargo within the stipulated laytime). + 0..n + Shipment Stage + Demurrage + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment Stage. Crew Quantity. Quantity + The total number of crew aboard a transport means. + 0..1 + Shipment Stage + Crew Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Shipment Stage. Passenger Quantity. Quantity + The total number of passengers aboard a transport means. + 0..1 + Shipment Stage + Passenger Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Shipment Stage. Transit_ Period. Period + The period during which this shipment stage actually took place. + 0..1 + Shipment Stage + Transit + Period + Period + Period + + + + + + + + + ASBIE + Shipment Stage. Carrier_ Party. Party + A carrier party responsible for this shipment stage. + 0..n + Shipment Stage + Carrier + Party + Party + Party + + + + + + + + + ASBIE + Shipment Stage. Transport Means + The means of transport used in this shipment stage. + 0..1 + Shipment Stage + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Shipment Stage. Loading Port_ Location. Location + The location of loading for a shipment stage. + 0..1 + Shipment Stage + Loading Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Unloading Port_ Location. Location + The location of unloading for a shipment stage. + 0..1 + Shipment Stage + Unloading Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Transship Port_ Location. Location + The location of transshipment relating to a shipment stage. + 0..1 + Shipment Stage + Transship Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Loading_ Transport Event. Transport Event + The loading of goods in this shipment stage. + 0..1 + Shipment Stage + Loading + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Examination_ Transport Event. Transport Event + The examination of shipments in this shipment stage. + 0..1 + Shipment Stage + Examination + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Availability_ Transport Event. Transport Event + The making available of shipments in this shipment stage. + 0..1 + Shipment Stage + Availability + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Exportation_ Transport Event. Transport Event + The export event associated with this shipment stage. + 0..1 + Shipment Stage + Exportation + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Discharge_ Transport Event. Transport Event + The discharge event associated with this shipment stage. + 0..1 + Shipment Stage + Discharge + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Warehousing_ Transport Event. Transport Event + The warehousing event associated with this shipment stage. + 0..1 + Shipment Stage + Warehousing + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Takeover_ Transport Event. Transport Event + The receiver's takeover of the goods in this shipment stage. + 0..1 + Shipment Stage + Takeover + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Optional Takeover_ Transport Event. Transport Event + The optional takeover of the goods in this shipment stage. + 0..1 + Shipment Stage + Optional Takeover + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Dropoff_ Transport Event. Transport Event + The dropping off of goods in this shipment stage. + 0..1 + Shipment Stage + Dropoff + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Pickup_ Transport Event. Transport Event + The pickup of goods in this shipment stage. + 0..1 + Shipment Stage + Actual Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Delivery_ Transport Event. Transport Event + The delivery of goods in this shipment stage. + 0..1 + Shipment Stage + Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Receipt_ Transport Event. Transport Event + The receipt of goods in this shipment stage. + 0..1 + Shipment Stage + Receipt + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Storage_ Transport Event. Transport Event + The storage of goods in this shipment stage. + 0..1 + Shipment Stage + Storage + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Acceptance_ Transport Event. Transport Event + The acceptance of goods in this shipment stage. + 0..1 + Shipment Stage + Acceptance + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Terminal Operator_ Party. Party + A terminal operator associated with this shipment stage. + 0..1 + Shipment Stage + Terminal Operator + Party + Party + Party + + + + + + + + + ASBIE + Shipment Stage. Customs Agent_ Party. Party + A customs agent associated with this shipment stage. + 0..1 + Shipment Stage + Customs Agent + Party + Party + Party + + + + + + + + + ASBIE + Shipment Stage. Estimated Transit_ Period. Period + The estimated transit period of this shipment stage. + 0..1 + Shipment Stage + Estimated Transit + Period + Period + Period + + + + + + + + + ASBIE + Shipment Stage. Freight_ Allowance Charge. Allowance Charge + A freight allowance charge for this shipment stage. + 0..n + Shipment Stage + Freight + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Shipment Stage. Freight Charge_ Location. Location + The location associated with a freight charge related to this shipment stage. + 0..1 + Shipment Stage + Freight Charge + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Detention_ Transport Event. Transport Event + The detention of a transport means during loading and unloading operations. + 0..n + Shipment Stage + Detention + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Requested Departure_ Transport Event. Transport Event + The departure requested by the party requesting a transportation service. + 0..1 + Shipment Stage + Requested Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Requested Arrival_ Transport Event. Transport Event + The arrival requested by the party requesting a transportation service. + 0..1 + Shipment Stage + Requested Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Requested Waypoint_ Transport Event. Transport Event + A waypoint requested by the party requesting a transportation service. + 0..n + Shipment Stage + Requested Waypoint + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Planned Departure_ Transport Event. Transport Event + The departure planned by the party providing a transportation service. + 0..1 + Shipment Stage + Planned Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Planned Arrival_ Transport Event. Transport Event + The arrival planned by the party providing a transportation service. + 0..1 + Shipment Stage + Planned Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Planned Waypoint_ Transport Event. Transport Event + A waypoint planned by the party providing a transportation service. + 0..n + Shipment Stage + Planned Waypoint + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Departure_ Transport Event. Transport Event + The actual departure from a specific location during a transportation service. + 0..1 + Shipment Stage + Actual Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Waypoint_ Transport Event. Transport Event + The location of an actual waypoint during a transportation service. + 0..1 + Shipment Stage + Actual Waypoint + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Arrival_ Transport Event. Transport Event + The actual arrival at a specific location during a transportation service. + 0..1 + Shipment Stage + Actual Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Transport Event + A significant occurrence in the course of this shipment of goods. + 0..n + Shipment Stage + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Estimated Departure_ Transport Event. Transport Event + Describes an estimated departure at a location during a transport service. + 0..1 + Shipment Stage + Estimated Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Estimated Arrival_ Transport Event. Transport Event + Describes an estimated arrival at a location during a transport service. + 0..1 + Shipment Stage + Estimated Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Passenger_ Person. Person + A person who travels in a conveyance without participating in its operation. + 0..n + Shipment Stage + Passenger + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Driver_ Person. Person + Describes a person responsible for driving the transport means. + 0..n + Shipment Stage + Driver + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Reporting_ Person. Person + Describes a person being responsible for providing the required administrative reporting relating to a transport. + 0..1 + Shipment Stage + Reporting + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Crew Member_ Person. Person + A person operating or serving aboard a transport means. + 0..n + Shipment Stage + Crew Member + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Security Officer_ Person. Person + The person on board the vessel, accountable to the master, designated by the company as responsible for the security of the ship, including implementation and maintenance of the ship security plan and for the liaison with the company security officer and the port facility security officers. + 0..1 + Shipment Stage + Security Officer + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Master_ Person. Person + The person responsible for the ship's safe and efficient operation, including cargo operations, navigation, crew management and for ensuring that the vessel complies with local and international laws, as well as company and flag state policies. + 0..1 + Shipment Stage + Master + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Ships Surgeon_ Person. Person + The person responsible for the health of the people aboard a ship at sea. + 0..1 + Shipment Stage + Ships Surgeon + Person + Person + Person + + + + + + + + + + + ABIE + Signature. Details + A class to define a signature. + Signature + + + + + + + + + BBIE + Signature. Identifier + An identifier for this signature. + 1 + Signature + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature. Note. Text + Free-form text conveying information that is not contained explicitly in other structures; in particular, information regarding the circumstances in which the signature is being used. + 0..n + Signature + Note + Text + Text. Type + + + + + + + + + BBIE + Signature. Validation Date. Date + The date upon which this signature was verified. + 0..1 + Signature + Validation Date + Date + Date. Type + + + + + + + + + BBIE + Signature. Validation Time. Time + The time at which this signature was verified. + 0..1 + Signature + Validation Time + Time + Time. Type + + + + + + + + + BBIE + Signature. Validator. Identifier + An identifier for the organization, person, service, or server that verified this signature. + 0..1 + Signature + Validator + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature. Canonicalization Method. Text + The method used to perform XML canonicalization of this signature. + 0..1 + Signature + Canonicalization Method + Text + Text. Type + + + + + + + + + BBIE + Signature. Signature Method. Text + Text describing the method of signature. + 0..1 + Signature + Signature Method + Text + Text. Type + + + + + + + + + ASBIE + Signature. Signatory_ Party. Party + The signing party. + 0..1 + Signature + Signatory + Party + Party + Party + + + + + + + + + ASBIE + Signature. Digital Signature_ Attachment. Attachment + The actual encoded signature (e.g., in XMLDsig format). + 0..1 + Signature + Digital Signature + Attachment + Attachment + Attachment + + + + + + + + + ASBIE + Signature. Original_ Document Reference. Document Reference + A reference to the document that the signature applies to. For evidentiary purposes, this may be the document image that the signatory party saw when applying their signature. + 0..1 + Signature + Original + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Statement Line. Details + A class to define a line in a Statement of account. + Statement Line + + + + + + + + + BBIE + Statement Line. Identifier + An identifier for this statement line. + 1 + Statement Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Statement Line + Note + Text + Text. Type + + + + + + + + + BBIE + Statement Line. UUID. Identifier + A universally unique identifier for this statement line. + 0..1 + Statement Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement Line. Balance Brought Forward_ Indicator. Indicator + An indication that this statement line contains an outstanding balance from the previous bill(s) (true) or does not (false). + 0..1 + Statement Line + Balance Brought Forward + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Statement Line. Debit_ Line Amount. Amount + The amount debited on this statement line. + 0..1 + Statement Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Credit_ Line Amount. Amount + The amount credited on this statement line. + 0..1 + Statement Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Balance Amount. Amount + The balance amount on this statement line. + 0..1 + Statement Line + Balance Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Statement Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Statement Line. Payment Means + A means of payment associated with this statement line. + 0..1 + Statement Line + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Statement Line. Payment Terms + A specification of payment terms associated with this statement line. + 0..n + Statement Line + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Statement Line. Buyer_ Customer Party. Customer Party + The buyer associated with this statement line. + 0..1 + Statement Line + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Seller_ Supplier Party. Supplier Party + The seller/supplier associated with this statement line. + 0..1 + Statement Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement Line. Originator_ Customer Party. Customer Party + The originating party. + 0..1 + Statement Line + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Accounting_ Customer Party. Customer Party + The Accounting Customer Party related to the statement information reported on this Statement Line. + 0..1 + Statement Line + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Accounting_ Supplier Party. Supplier Party + The Accounting Supplier Party related to the statement information reported on this Statement Line. + 0..1 + Statement Line + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement Line. Payee_ Party. Party + The payee. + 0..1 + Statement Line + Payee + Party + Party + Party + + + + + + + + + ASBIE + Statement Line. Invoice_ Period. Period + An invoice period to which this statement line applies. + 0..n + Statement Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Statement Line. Billing Reference + A reference to a billing document associated with this statement line. + 0..n + Statement Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Statement Line. Document Reference + A reference to a document associated with this statement line. + 0..n + Statement Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Statement Line. Exchange Rate + The rate of exchange between the currency of the Statement and the currency of the document described in the BillingReference. + 0..1 + Statement Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Statement Line. Allowance Charge + A charge or discount price component associated with this statement line. + 0..n + Statement Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Statement Line. Collected_ Payment. Payment + A collected payment. + 0..n + Statement Line + Collected + Payment + Payment + Payment + + + + + + + + + + + ABIE + Status. Details + A class to describe the condition or position of an object. + Status + + + + + + + + + BBIE + Status. Condition Code. Code + Specifies the status condition of the related object. + 0..1 + Status + Condition Code + Code + Code. Type + + + + + + + + + BBIE + Status. Reference Date. Date + The reference date for this status. + 0..1 + Status + Reference Date + Date + Date. Type + + + + + + + + + BBIE + Status. Reference Time. Time + The reference time for this status. + 0..1 + Status + Reference Time + Time + Time. Type + + + + + + + + + BBIE + Status. Description. Text + Text describing this status. + 0..n + Status + Description + Text + Text. Type + + + + + + + + + BBIE + Status. Status Reason Code. Code + The reason for this status condition or position, expressed as a code. + 0..1 + Status + Status Reason Code + Code + Code. Type + + + + + + + + + BBIE + Status. Status_ Reason. Text + The reason for this status condition or position, expressed as text. + 0..n + Status + Status + Reason + Text + Text. Type + + + + + + + + + BBIE + Status. Sequence Identifier. Identifier + A sequence identifier for this status. + 0..1 + Status + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Status. Text + Provides any textual information related to this status. + 0..n + Status + Text + Text + Text. Type + + + + + + + + + BBIE + Status. Indication_ Indicator. Indicator + Specifies an indicator relevant to a specific status. + 0..1 + Status + Indication + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Status. Percent + A percentage meaningful in the context of this status. + 0..1 + Status + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Status. Reliability Percent. Percent + The reliability of this status, expressed as a percentage. + 0..1 + Status + Reliability Percent + Percent + Percent. Type + + + + + + + + + ASBIE + Status. Condition + Measurements that quantify the condition of the objects covered by the status. + 0..n + Status + Condition + Condition + Condition + + + + + + + + + + + ABIE + Stock Availability Report Line. Details + A class to define a line in a Stock Availability Report describing the availability of an item of sale. + Stock Availability Report Line + + + + + + + + + BBIE + Stock Availability Report Line. Identifier + An identifier for this stock availability line. + 1 + Stock Availability Report Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Stock Availability Report Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Stock Availability Report Line + Note + Text + Text. Type + + + + + + + + + BBIE + Stock Availability Report Line. Quantity + The quantity of the item currently in stock. + 1 + Stock Availability Report Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Stock Availability Report Line. Value. Amount + The monetary value of the quantity of the item currently in stock. + 0..1 + Stock Availability Report Line + Value + Amount + Amount. Type + + + + + + + + + BBIE + Stock Availability Report Line. Availability Date. Date + The date from which the item will be available. A date identical to or earlier than the IssueDate of the Stock Availability Report means that the item is available now + 0..1 + Stock Availability Report Line + Availability Date + Date + Date. Type + + + + + + + + + BBIE + Stock Availability Report Line. Availability Status Code. Code + A code signifying the level of availability of the item. + 0..1 + Stock Availability Report Line + Availability Status Code + Code + Code. Type + + + + + + + + + ASBIE + Stock Availability Report Line. Item + The item associated with this stock availability report line. + 1 + Stock Availability Report Line + Item + Item + Item + + + + + + + + + + + ABIE + Stowage. Details + A class to describe a location on board a means of transport where specified goods or transport equipment have been stowed or are to be stowed. + Stowage + + + + + + + + + BBIE + Stowage. Location Identifier. Identifier + An identifier for the location. + 0..1 + Stowage + Location Identifier + Identifier + Identifier. Type + Cell Location, coded + + + + + + + + + BBIE + Stowage. Location. Text + Text describing the location. + 0..n + Stowage + Location + Text + Text. Type + Cell Location + + + + + + + + + ASBIE + Stowage. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this stowage. + 0..n + Stowage + Measurement + Dimension + Dimension + Dimension + + + + + + + + + + + ABIE + Subcontract Terms. Details + A class to describe subcontract terms for a tendering process. + Subcontract Terms + + + + + + + + + BBIE + Subcontract Terms. Rate + MF: I agree with the query. Rate? + 0..1 + Subcontract Terms + Rate + Rate + Rate. Type + + + + + + + + + BBIE + Subcontract Terms. Unknown_ Price. Indicator + An indicator that the subcontract price is known (true) or not (false). + 0..1 + Subcontract Terms + Unknown + Price + Indicator + Indicator. Type + + + + + + + + + BBIE + Subcontract Terms. Description. Text + Text describing the subcontract terms. + 0..n + Subcontract Terms + Description + Text + Text. Type + + + + + + + + + BBIE + Subcontract Terms. Amount + The monetary amount assigned to the subcontracted task. + 0..1 + Subcontract Terms + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Subcontract Terms. Subcontracting Conditions Code. Code + A code specifying the conditions for subcontracting. + 0..1 + Subcontract Terms + Subcontracting Conditions Code + Code + Code. Type + + + + + + + + + BBIE + Subcontract Terms. Maximum_ Percent. Percent + The maximum percentage allowed to be subcontracted. + 0..1 + Subcontract Terms + Maximum + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Subcontract Terms. Minimum_ Percent. Percent + The minimum percentage allowed to be subcontracted. + 0..1 + Subcontract Terms + Minimum + Percent + Percent + Percent. Type + + + + + + + + + + + ABIE + Subscriber Consumption. Details + The consumption for a specific party for given consumption point provided by a numbers of suppliers. An enterprise can have one utility statement for several parties (e.g. a ministry of defence receiving a telephone bill). In this way each subscriber consumption represent a sub utility statement. + Subscriber Consumption + + + + + + + + + BBIE + Subscriber Consumption. Consumption Identifier. Identifier + The identifier tor this specification. + 0..1 + Subscriber Consumption + Consumption Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Subscriber Consumption. Specification Type Code. Code + The code which specifies the type of this specification, e.g. an on account specification or the yearly specification. + 0..1 + Subscriber Consumption + Specification Type Code + Code + Code. Type + + + + + + + + + BBIE + Subscriber Consumption. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Subscriber Consumption + Note + Text + Text. Type + This is how we have calculating your yearly statement + + + + + + + + + BBIE + Subscriber Consumption. Total Metered Quantity. Quantity + The total quantity consumed, as calculated from meter readings. + 0..1 + Subscriber Consumption + Total Metered Quantity + Quantity + Quantity. Type + 2000.0 + + + + + + + + + ASBIE + Subscriber Consumption. Subscriber_ Party. Party + The party subscribing to the utility. + 0..1 + Subscriber Consumption + Subscriber + Party + Party + Party + + + + + + + + + ASBIE + Subscriber Consumption. Utility_ Consumption Point. Consumption Point + The point at which the utility is consumed. + 1 + Subscriber Consumption + Utility + Consumption Point + Consumption Point + Consumption Point + + + + + + + + + ASBIE + Subscriber Consumption. On Account Payment + The planned prepayments (on account) regarding this subscription. + 0..n + Subscriber Consumption + On Account Payment + On Account Payment + On Account Payment + + + + + + + + + ASBIE + Subscriber Consumption. Consumption + The consumption in case the consumption is from one and only one supplier. + 0..1 + Subscriber Consumption + Consumption + Consumption + Consumption + + + + + + + + + ASBIE + Subscriber Consumption. Supplier Consumption + The consumption in case the consumption is from more than one supplier. + 0..n + Subscriber Consumption + Supplier Consumption + Supplier Consumption + Supplier Consumption + + + + + + + + + + + ABIE + Supplier Consumption. Details + The consumption in case the consumption is for one and only one supplier. + Supplier Consumption + + + + + + + + + BBIE + Supplier Consumption. Description. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Supplier Consumption + Description + Text + Text. Type + This is what you pay for electricity to DONG Energy North Utility + + + + + + + + + ASBIE + Supplier Consumption. Utility Supplier_ Party. Party + The party supplying the utility. + 0..1 + Supplier Consumption + Utility Supplier + Party + Party + Party + + + + + + + + + ASBIE + Supplier Consumption. Utility Customer_ Party. Party + The utility customer. + 0..1 + Supplier Consumption + Utility Customer + Party + Party + Party + + + + + + + + + ASBIE + Supplier Consumption. Consumption + The consumption regarding this supplier + 1 + Supplier Consumption + Consumption + Consumption + Consumption + + + + + + + + + ASBIE + Supplier Consumption. Contract + A contract setting forth conditions regulating the consumption. + 0..1 + Supplier Consumption + Contract + Contract + Contract + + + + + + + + + ASBIE + Supplier Consumption. Consumption Line + The consumption of a utility product. + 1..n + Supplier Consumption + Consumption Line + Consumption Line + Consumption Line + + + + + + + + + + + ABIE + Supplier Party. Details + A class to describe a supplier party. + Supplier Party + + + + + + + + + BBIE + Supplier Party. Customer Assigned_ Account Identifier. Identifier + An identifier for this supplier party, assigned by the customer. + 0..1 + Supplier Party + Customer Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Supplier Party. Additional_ Account Identifier. Identifier + An additional identifier for this supplier party. + 0..n + Supplier Party + Additional + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Supplier Party. Data Sending Capability. Text + Text describing the supplier's ability to send invoice data via a purchase card provider (e.g., VISA, MasterCard, American Express). + 0..1 + Supplier Party + Data Sending Capability + Text + Text. Type + + + + + + + + + ASBIE + Supplier Party. Party + The supplier party itself. + 0..1 + Supplier Party + Party + Party + Party + + + + + + + + + ASBIE + Supplier Party. Despatch_ Contact. Contact + A contact at this supplier party for despatches (pickups). + 0..1 + Supplier Party + Despatch + Contact + Contact + Contact + + + + + + + + + ASBIE + Supplier Party. Accounting_ Contact. Contact + A contact at this supplier party for accounting. + 0..1 + Supplier Party + Accounting + Contact + Contact + Contact + + + + + + + + + ASBIE + Supplier Party. Seller_ Contact. Contact + The primary contact for this supplier party. + 0..1 + Supplier Party + Seller + Contact + Contact + Contact + + + + + + + + + + + ABIE + Tax Category. Details + A class to describe one of the tax categories within a taxation scheme (e.g., High Rate VAT, Low Rate VAT). + Tax Category + + + + + + + + + BBIE + Tax Category. Identifier + An identifier for this tax category. + 0..1 + Tax Category + Identifier + Identifier + Identifier. Type + http://www.unece.org/uncefact/codelist/standard/UNECE_DutyorTaxorFeeCategoryCode_D09B.xsd + + + + + + + + + BBIE + Tax Category. Name + The name of this tax category. + 0..1 + Tax Category + Name + Name + Name. Type + Luxury Goods , Wine Equalization , Exempt + + + + + + + + + BBIE + Tax Category. Percent + The tax rate for this category, expressed as a percentage. + 0..1 + Tax Category + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Tax Category. Base Unit Measure. Measure + A Unit of Measures used as the basic for the tax calculation applied at a certain rate per unit. + 0..1 + Tax Category + Base Unit Measure + Measure + Measure. Type + + + + + + + + + BBIE + Tax Category. Per Unit_ Amount. Amount + Where a tax is applied at a certain rate per unit, the rate per unit applied. + 0..1 + Tax Category + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Category. Tax Exemption Reason Code. Code + The reason for tax being exempted, expressed as a code. + 0..1 + Tax Category + Tax Exemption Reason Code + Code + Code. Type + http://www.unece.org/uncefact/codelist/standard/UNECE_DutyTaxFeeTypeCode_D09B.xsd + + + + + + + + + BBIE + Tax Category. Tax Exemption Reason. Text + The reason for tax being exempted, expressed as text. + 0..n + Tax Category + Tax Exemption Reason + Text + Text. Type + + + + + + + + + BBIE + Tax Category. Tier Range. Text + Where a tax is tiered, the range of taxable amounts that determines the rate of tax applicable to this tax category. + 0..1 + Tax Category + Tier Range + Text + Text. Type + + + + + + + + + BBIE + Tax Category. Tier Rate. Percent + Where a tax is tiered, the tax rate that applies within the specified range of taxable amounts for this tax category. + 0..1 + Tax Category + Tier Rate + Percent + Percent. Type + + + + + + + + + ASBIE + Tax Category. Tax Scheme + The taxation scheme within which this tax category is defined. + 1 + Tax Category + Tax Scheme + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Tax Scheme. Details + A class to describe a taxation scheme (e.g., VAT, State tax, County tax). + Tax Scheme + + + + + + + + + BBIE + Tax Scheme. Identifier + An identifier for this taxation scheme. + 0..1 + Tax Scheme + Identifier + Identifier + Identifier. Type + http://www.unece.org/uncefact/codelist/standard/EDIFICASEU_TaxExemptionReason_D09B.xsd + + + + + + + + + BBIE + Tax Scheme. Name + The name of this taxation scheme. + 0..1 + Tax Scheme + Name + Name + Name. Type + Value Added Tax , Wholesale Tax , Sales Tax , State Tax + + + + + + + + + BBIE + Tax Scheme. Tax Type Code. Code + A code signifying the type of tax. + 0..1 + Tax Scheme + Tax Type Code + Code + Code. Type + Consumption , Sales + + + + + + + + + BBIE + Tax Scheme. Currency Code. Code + A code signifying the currency in which the tax is collected and reported. + 0..1 + Tax Scheme + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Tax Scheme. Jurisdiction Region_ Address. Address + A geographic area in which this taxation scheme applies. + 0..n + Tax Scheme + Jurisdiction Region + Address + Address + Address + + + + + + + + + + + ABIE + Tax Subtotal. Details + A class to define the subtotal for a particular tax category within a particular taxation scheme, such as standard rate within VAT. + Tax Subtotal + + + + + + + + + BBIE + Tax Subtotal. Taxable_ Amount. Amount + The net amount to which the tax percent (rate) is applied to calculate the tax amount. + 0..1 + Tax Subtotal + Taxable + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Tax Amount. Amount + The amount of this tax subtotal. + 1 + Tax Subtotal + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Calculation Sequence. Numeric + The number of this tax subtotal in the sequence of subtotals corresponding to the order in which multiple taxes are applied. If all taxes are applied to the same taxable amount (i.e., their order of application is inconsequential), then CalculationSequenceNumeric is 1 for all tax subtotals applied to a given amount. + 0..1 + Tax Subtotal + Calculation Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Tax Subtotal. Transaction Currency_ Tax Amount. Amount + The amount of this tax subtotal, expressed in the currency used for invoicing. + 0..1 + Tax Subtotal + Transaction Currency + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Percent + The tax rate of the tax category applied to this tax subtotal, expressed as a percentage. + 0..1 + Tax Subtotal + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Tax Subtotal. Base Unit Measure. Measure + The unit of measure on which the tax calculation is based + 0..1 + Tax Subtotal + Base Unit Measure + Measure + Measure. Type + + + + + + + + + BBIE + Tax Subtotal. Per Unit_ Amount. Amount + Where a tax is applied at a certain rate per unit, the rate per unit applied. + 0..1 + Tax Subtotal + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Tier Range. Text + Where a tax is tiered, the range of taxable amounts that determines the rate of tax applicable to this tax subtotal. + 0..1 + Tax Subtotal + Tier Range + Text + Text. Type + + + + + + + + + BBIE + Tax Subtotal. Tier Rate. Percent + Where a tax is tiered, the tax rate that applies within a specified range of taxable amounts for this tax subtotal. + 0..1 + Tax Subtotal + Tier Rate + Percent + Percent. Type + + + + + + + + + ASBIE + Tax Subtotal. Tax Category + The tax category applicable to this subtotal. + 1 + Tax Subtotal + Tax Category + Tax Category + Tax Category + + + + + + + + + + + ABIE + Tax Total. Details + A class to describe the total tax for a particular taxation scheme. + Tax Total + + + + + + + + + BBIE + Tax Total. Tax Amount. Amount + The total tax amount for a particular taxation scheme, e.g., VAT; the sum of the tax subtotals for each tax category within the taxation scheme. + 1 + Tax Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Total. Rounding Amount. Amount + The rounding amount (positive or negative) added to the calculated tax total to produce the rounded TaxAmount. + 0..1 + Tax Total + Rounding Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Total. Tax Evidence_ Indicator. Indicator + An indicator that this total is recognized as legal evidence for taxation purposes (true) or not (false). + 0..1 + Tax Total + Tax Evidence + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Tax Total. Tax Included_ Indicator. Indicator + An indicator that tax is included in the calculation (true) or not (false). + 0..1 + Tax Total + Tax Included + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Tax Total. Tax Subtotal + One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme. + 0..n + Tax Total + Tax Subtotal + Tax Subtotal + Tax Subtotal + + + + + + + + + + + ABIE + Telecommunications Service. Details + A class to describe a telecommunications service (e.g., a telephone call or a video on demand service). + Telecommunications Service + + + + + + + + + BBIE + Telecommunications Service. Identifier + An identifier for this telecommunications service. + 0..1 + Telecommunications Service + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Telecommunications Service. Call_ Date. Date + In the case of a telephone call, the date of the call. + 1 + Telecommunications Service + Call + Date + Date + Date. Type + 2008-01-01 + + + + + + + + + BBIE + Telecommunications Service. Call_ Time. Time + In the case of a telephone call, the time of the call. + 1 + Telecommunications Service + Call + Time + Time + Time. Type + 00:01:00 + + + + + + + + + BBIE + Telecommunications Service. Service Number Called. Text + In the case of a telephone call, the phone number called. + 1 + Telecommunications Service + Service Number Called + Text + Text. Type + 12345679 + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Category. Text + The telecommunications category, expressed as text. + 0..1 + Telecommunications Service + Telecommunications Service Category + Text + Text. Type + Subscription + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Category Code. Code + The telecommunications category, expressed as a code. + 0..1 + Telecommunications Service + Telecommunications Service Category Code + Code + Code. Type + Subscription + + + + + + + + + BBIE + Telecommunications Service. Movie Title. Text + The title of a movie delivered via this telecommunications service. + 0..1 + Telecommunications Service + Movie Title + Text + Text. Type + The Matrix + + + + + + + + + BBIE + Telecommunications Service. Roaming Partner Name. Name + Statement of the roaming partner name. + 0..1 + Telecommunications Service + Roaming Partner Name + Name + Name. Type + + + + + + + + + BBIE + Telecommunications Service. Pay Per View. Text + A pay-per-view delivered via this telecommunications service. + 0..1 + Telecommunications Service + Pay Per View + Text + Text. Type + + + + + + + + + BBIE + Telecommunications Service. Quantity + The number of calls. + 0..1 + Telecommunications Service + Quantity + Quantity + Quantity. Type + 5761 + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Call. Text + The telecommunications call described as a text + 0..1 + Telecommunications Service + Telecommunications Service Call + Text + Text. Type + CallAttempt + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Call Code. Code + The telecommunications call described as a code + 0..1 + Telecommunications Service + Telecommunications Service Call Code + Code + Code. Type + CallAttempt + + + + + + + + + BBIE + Telecommunications Service. Call Base_ Amount. Amount + The amount to be payed as the base for one call + 0..1 + Telecommunications Service + Call Base + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Telecommunications Service. Call Extension_ Amount. Amount + The amount to be payed for the call + 0..1 + Telecommunications Service + Call Extension + Amount + Amount + Amount. Type + 542.44 + + + + + + + + + ASBIE + Telecommunications Service. Price + The price for using the telecommunication service + 0..1 + Telecommunications Service + Price + Price + Price + + + + + + + + + ASBIE + Telecommunications Service. Country + The country to which the service is provided. In case of a telephone call it is the country where the receiver is located. + 0..1 + Telecommunications Service + Country + Country + Country + + + + + + + + + ASBIE + Telecommunications Service. Exchange Rate + A exchanges rates used in the pricing e.g.. when phone calls has crossed border lines. + 0..n + Telecommunications Service + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Telecommunications Service. Allowance Charge + An allowance or charge that applies to the UtilityStatement as a whole. + 0..n + Telecommunications Service + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Telecommunications Service. Tax Total + A total amount of taxes of a particular kind applicable to this telecommunications service. + 0..n + Telecommunications Service + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Telecommunications Service. Call_ Duty. Duty + In the case of a telephone call, a duty on this call. + 0..n + Telecommunications Service + Call + Duty + Duty + Duty + + + + + + + + + ASBIE + Telecommunications Service. Time_ Duty. Duty + A duty on a consumption of time. + 0..n + Telecommunications Service + Time + Duty + Duty + Duty + + + + + + + + + + + ABIE + Telecommunications Supply. Details + A class describing the supply of a telecommunication service, e.g., providing telephone calls. + Telecommunications Supply + + + + + + + + + BBIE + Telecommunications Supply. Telecommunications Supply Type. Text + The type of telecommunications supply, expressed as text. + 0..1 + Telecommunications Supply + Telecommunications Supply Type + Text + Text. Type + Itemized tele Statement + + + + + + + + + BBIE + Telecommunications Supply. Telecommunications Supply Type Code. Code + The type of telecommunications supply, expressed as a code. + 0..1 + Telecommunications Supply + Telecommunications Supply Type Code + Code + Code. Type + TeleExtended + + + + + + + + + BBIE + Telecommunications Supply. Privacy Code. Code + A code signifying the level of confidentiality of this information for this telecommunication supply. + 1 + Telecommunications Supply + Privacy Code + Code + Code. Type + CompanyLevel + + + + + + + + + BBIE + Telecommunications Supply. Description. Text + Text describing the telecommunications supply. + 0..n + Telecommunications Supply + Description + Text + Text. Type + Extended conversation Statement January quarter 2008. + + + + + + + + + BBIE + Telecommunications Supply. Total_ Amount. Amount + The total amount associated with this telecommunications supply. + 0..1 + Telecommunications Supply + Total + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Telecommunications Supply. Telecommunications Supply Line + Outlines the provided telecommunication supply + 1..n + Telecommunications Supply + Telecommunications Supply Line + Telecommunications Supply Line + Telecommunications Supply Line + + + + + + + + + + + ABIE + Telecommunications Supply Line. Details + A class that outlines the telecommunication supply in details + Telecommunications Supply Line + + + + + + + + + BBIE + Telecommunications Supply Line. Identifier + An identifier for this telecommunications supply line. + 1 + Telecommunications Supply Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Telecommunications Supply Line. Phone Number. Text + The phone number used for this telecommunication supply line + 1 + Telecommunications Supply Line + Phone Number + Text + Text. Type + 12345678 + + + + + + + + + BBIE + Telecommunications Supply Line. Description. Text + The description of the telecommunication supply line + 0..n + Telecommunications Supply Line + Description + Text + Text. Type + Additional informations + + + + + + + + + BBIE + Telecommunications Supply Line. Line Extension Amount. Amount + An amount specifying the cost of this telecommunication line + 0..1 + Telecommunications Supply Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Telecommunications Supply Line. Exchange Rate + Exchanges rates used to calculate the amount for this line. + 0..n + Telecommunications Supply Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Telecommunications Supply Line. Allowance Charge + An allowance or charge that applies to this telecommunication supply line. + 0..n + Telecommunications Supply Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Telecommunications Supply Line. Tax Total + A total amount of taxes of a particular kind applicable to this telecommunications supply line + 0..n + Telecommunications Supply Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Telecommunications Supply Line. Telecommunications Service + A telecommunications service (e.g., a telephone call). + 1..n + Telecommunications Supply Line + Telecommunications Service + Telecommunications Service + Telecommunications Service + + + + + + + + + + + ABIE + Temperature. Details + A class to describe a measurement of temperature. + Temperature + + + + + + + + + BBIE + Temperature. Attribute Identifier. Identifier + An identifier for this temperature measurement. + 1 + Temperature + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Temperature. Measure + The value of this temperature measurement. + 1 + Temperature + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Temperature. Description. Text + Text describing this temperature measurement. + 0..n + Temperature + Description + Text + Text. Type + at sea level + + + + + + + + + + + ABIE + Tender Line. Details + A class to define a line in a Tender. + Tender Line + + + + + + + + + BBIE + Tender Line. Identifier + An identifier for this tender line. + 0..1 + Tender Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Tender Line + Note + Text + Text. Type + + + + + + + + + BBIE + Tender Line. Quantity + The quantity of the item quoted in this tender line. + 0..1 + Tender Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Tender Line. Line Extension Amount. Amount + The total amount for this tender line, including allowance charges but net of taxes. + 0..1 + Tender Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tender Line. Total_ Tax Amount. Amount + The total tax amount for this tender line. + 0..1 + Tender Line + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tender Line. Orderable_ Unit. Text + Text describing a unit in which the item described in this tender line can be ordered. + 0..1 + Tender Line + Orderable + Unit + Text + Text. Type + + + + + + + + + BBIE + Tender Line. Content Unit. Quantity + The unit of measure and quantity of the orderable unit. + 0..1 + Tender Line + Content Unit + Quantity + Quantity. Type + If order unit measure identifier is each , then content unit quantity is 1 . + + + + + + + + + BBIE + Tender Line. Order Quantity Increment. Numeric + The number of items that can set the order quantity increments. + 0..1 + Tender Line + Order Quantity Increment + Numeric + Numeric. Type + + + + + + + + + BBIE + Tender Line. Minimum_ Order Quantity. Quantity + The minimum number of items described in this tender line that can be ordered. + 0..1 + Tender Line + Minimum + Order Quantity + Quantity + Quantity. Type + 10 boxes + + + + + + + + + BBIE + Tender Line. Maximum_ Order Quantity. Quantity + The maximum number of items described in this tender line that can be ordered. + 0..1 + Tender Line + Maximum + Order Quantity + Quantity + Quantity. Type + 1 tonne + + + + + + + + + BBIE + Tender Line. Warranty_ Information. Text + Text about a warranty (provided by WarrantyParty) for the good or service described in this tender line. + 0..n + Tender Line + Warranty + Information + Text + Text. Type + Unless specified otherwise and in addition to any rights the Customer may have under statute, Dell warrants to the Customer that Dell branded Products (excluding third party products and software), will be free from defects in materials and workmanship affecting normal use for a period of one year from invoice date ( Standard Warranty ). + + + + + + + + + BBIE + Tender Line. Pack Level Code. Code + A mutually agreed code signifying the level of packaging associated with the item described in this tender line. + 0..1 + Tender Line + Pack Level Code + Code + Code. Type + Consumer Unit, Trading Unit + level 2 , Group 4 + + + + + + + + + ASBIE + Tender Line. Document Reference + A reference to a document associated with this tender line. + 0..n + Tender Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Line. Item + The item associated with this tender line. + 0..1 + Tender Line + Item + Item + Item + + + + + + + + + ASBIE + Tender Line. Offered_ Item Location Quantity. Item Location Quantity + A set of location-specific properties (e.g., price, quantity, lead time) associated with the item described in this tender line. + 0..n + Tender Line + Offered + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Tender Line. Replacement_ Related Item. Related Item + A catalogue item that may be a replacement for the item described in this tender line. + 0..n + Tender Line + Replacement + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Tender Line. Warranty_ Party. Party + The party responsible for any warranty described in this tender line. + 0..1 + Tender Line + Warranty + Party + Party + Party + + + + + + + + + ASBIE + Tender Line. Warranty Validity_ Period. Period + The period for which a warranty associated with the item described in this tender line is valid. + 0..1 + Tender Line + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Tender Line. Sub_ Tender Line. Tender Line + An association to a Sub Tender Line + 0..n + Tender Line + Sub + Tender Line + Tender Line + Tender Line + + + + + + + + + ASBIE + Tender Line. Call For Tenders_ Line Reference. Line Reference + Reference to a Line on a Call For Tenders document. + 0..1 + Tender Line + Call For Tenders + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Tender Line. Call For Tenders_ Document Reference. Document Reference + A class defining references to a Call For Tenders document. + 0..1 + Tender Line + Call For Tenders + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Tender Preparation. Details + A class to describe directions for preparing a tender. + Tender Preparation + + + + + + + + + BBIE + Tender Preparation. Tender Envelope Identifier. Identifier + An identifier for the tender envelope to be used with the tender. + 1 + Tender Preparation + Tender Envelope Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Preparation. Tender Envelope Type Code. Code + A code signifying the type of tender envelope (economical or objective criteria versus technical or subjective criteria). + 0..1 + Tender Preparation + Tender Envelope Type Code + Code + Code. Type + + + + + + + + + BBIE + Tender Preparation. Description. Text + Text describing the tender envelope. + 0..n + Tender Preparation + Description + Text + Text. Type + + + + + + + + + BBIE + Tender Preparation. Open Tender Identifier. Identifier + An identifier for the open tender associated with this tender preparation. + 0..1 + Tender Preparation + Open Tender Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Tender Preparation. Procurement Project Lot + The procurement project lot associated with a particular tenderer. + 0..n + Tender Preparation + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Tender Preparation. Document_ Tender Requirement. Tender Requirement + A reference to the template for a required document in a tendering process. + 0..n + Tender Preparation + Document + Tender Requirement + Tender Requirement + Tender Requirement + Curricula required, Experience required, .... + + + + + + + + + + + ABIE + Tender Requirement. Details + A template for a required document in a tendering process. + Tender Requirement + + + + + + + + + BBIE + Tender Requirement. Name + A name of this tender requirement. + 1 + Tender Requirement + Name + Name + Name. Type + + + + + + + + + BBIE + Tender Requirement. Description. Text + Text describing this tender requirement. + 0..n + Tender Requirement + Description + Text + Text. Type + + + + + + + + + ASBIE + Tender Requirement. Template_ Document Reference. Document Reference + A reference to the template for a required document. + 0..1 + Tender Requirement + Template + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Tender Result. Details + A class to describe the awarding of a tender in a tendering process. + Tender Result + + + + + + + + + BBIE + Tender Result. Tender_ Result Code. Code + A code signifying the result of the tendering process. + 0..1 + Tender Result + Tender + Result Code + Code + Code. Type + + + + + + + + + BBIE + Tender Result. Description. Text + Text describing the result of the tendering process. + 0..n + Tender Result + Description + Text + Text. Type + + + + + + + + + BBIE + Tender Result. Advertisement. Amount + The monetary value of the advertisement for this tendering process. + 0..1 + Tender Result + Advertisement + Amount + Amount. Type + + + + + + + + + BBIE + Tender Result. Award Date. Date + The date on which this result was formalized. + 1 + Tender Result + Award Date + Date + Date. Type + + + + + + + + + BBIE + Tender Result. Award Time. Time + The time at which this result was formalized. + 0..1 + Tender Result + Award Time + Time + Time. Type + + + + + + + + + BBIE + Tender Result. Received_ Tender. Quantity + The total number of tenders received in this tendering process. + 0..1 + Tender Result + Received + Tender + Quantity + Quantity. Type + + + + + + + + + BBIE + Tender Result. Lower_ Tender. Amount + The least expensive tender received in the tendering process. + 0..1 + Tender Result + Lower + Tender + Amount + Amount. Type + + + + + + + + + BBIE + Tender Result. Higher_ Tender. Amount + The most expensive tender received in this tendering process. + 0..1 + Tender Result + Higher + Tender + Amount + Amount. Type + + + + + + + + + BBIE + Tender Result. Start Date. Date + The date on which the awarded contract begins. + 0..1 + Tender Result + Start Date + Date + Date. Type + + + + + + + + + BBIE + Tender Result. Received_ Electronic Tender Quantity. Quantity + The number of electronic tenders received. + 0..1 + Tender Result + Received + Electronic Tender Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Tender Result. Received_ Foreign Tender Quantity. Quantity + The number of foreing tenders received. + 0..1 + Tender Result + Received + Foreign Tender Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Tender Result. Contract + A contract governing this tender result. + 0..1 + Tender Result + Contract + Contract + Contract + + + + + + + + + ASBIE + Tender Result. Awarded_ Tendered Project. Tendered Project + The awarded tendered project associated with this tender result. + 0..1 + Tender Result + Awarded + Tendered Project + Tendered Project + Tendered Project + + + + + + + + + ASBIE + Tender Result. Contract Formalization_ Period. Period + The period during which a contract associated with the awarded project is to be formalized. + 0..1 + Tender Result + Contract Formalization + Period + Period + Period + + + + + + + + + ASBIE + Tender Result. Subcontract Terms + Subcontract terms for this tender result. + 0..n + Tender Result + Subcontract Terms + Subcontract Terms + Subcontract Terms + + + + + + + + + ASBIE + Tender Result. Winning Party + A party that is identified as the awarded by a tender result. + 0..n + Tender Result + Winning Party + Winning Party + Winning Party + + + + + + + + + + + ABIE + Tendered Project. Details + A class to describe a tendered project or project lot. + Tendered Project + + + + + + + + + BBIE + Tendered Project. Variant. Identifier + An identifier for this variant of a tendered project. + 0..1 + Tendered Project + Variant + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendered Project. Fee. Amount + The fee amount for tendered projects. + 0..1 + Tendered Project + Fee + Amount + Amount. Type + + + + + + + + + BBIE + Tendered Project. Fee_ Description. Text + Text describing the fee amount for tendered projects. + 0..n + Tendered Project + Fee + Description + Text + Text. Type + + + + + + + + + BBIE + Tendered Project. Tender Envelope Identifier. Identifier + An identifier for the tender envelope this tendered project belongs to. + 0..1 + Tendered Project + Tender Envelope Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendered Project. Tender Envelope Type Code. Code + A code signifying the type of tender envelope this tendered project belongs to. + 0..1 + Tendered Project + Tender Envelope Type Code + Code + Code. Type + + + + + + + + + ASBIE + Tendered Project. Procurement Project Lot + The procurement project lot to which this Tender Line refers to. If there are no lots, this should not be defined. + 0..1 + Tendered Project + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Tendered Project. Evidence_ Document Reference. Document Reference + A reference to a non-structured evidentiary document supporting this tendered project. + 0..n + Tendered Project + Evidence + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendered Project. Tax Total + A total amount of taxes of a particular kind applicable to the monetary total for this tendered project. + 0..n + Tendered Project + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Tendered Project. Legal_ Monetary Total. Monetary Total + The total amount for this tendered project. + 0..1 + Tendered Project + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Tendered Project. Tender Line + A line in the tender for this tendered project. + 0..n + Tendered Project + Tender Line + Tender Line + Tender Line + + + + + + + + + ASBIE + Tendered Project. Awarding Criterion Response + An association to an Awarding Criterion Response. + 0..n + Tendered Project + Awarding Criterion Response + Awarding Criterion Response + Awarding Criterion Response + + + + + + + + + + + ABIE + Tenderer Party Qualification. Details + A class to describe the qualifications of a tenderer party. + Tenderer Party Qualification + + + + + + + + + ASBIE + Tenderer Party Qualification. Interested_ Procurement Project Lot. Procurement Project Lot + The procurement project lot the party is interested in. + 0..n + Tenderer Party Qualification + Interested + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Tenderer Party Qualification. Main_ Qualifying Party. Qualifying Party + The qualifications of the main tenderer party. + 1 + Tenderer Party Qualification + Main + Qualifying Party + Qualifying Party + Qualifying Party + + + + + + + + + ASBIE + Tenderer Party Qualification. Additional_ Qualifying Party. Qualifying Party + The qualifications of a tenderer party other than the main tenderer party when bidding as a consortium. + 0..n + Tenderer Party Qualification + Additional + Qualifying Party + Qualifying Party + Qualifying Party + + + + + + + + + + + ABIE + Tenderer Qualification Request. Details + The evaluation that the Contracting Authority party requests to fulfill to the tenderers. + Tenderer Qualification Request + + + + + + + + + BBIE + Tenderer Qualification Request. Company Legal Form Code. Code + The legal status requested for potential tenderers, expressed as a code. + 0..1 + Tenderer Qualification Request + Company Legal Form Code + Code + Code. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Company Legal Form. Text + The legal status requested for potential tenderers, expressed as text + 0..1 + Tenderer Qualification Request + Company Legal Form + Text + Text. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Personal Situation. Text + Text describing the personal situation of the economic operators in this tendering process. + 0..n + Tenderer Qualification Request + Personal Situation + Text + Text. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Operating Years. Quantity + Textual description of the legal form required for potential tenderers. + 0..1 + Tenderer Qualification Request + Operating Years + Quantity + Quantity. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Employee. Quantity + Textual description of the legal form required for potential tenderers. + 0..1 + Tenderer Qualification Request + Employee + Quantity + Quantity. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Description. Text + Text describing the evaluation requirements for this tenderer. + 0..n + Tenderer Qualification Request + Description + Text + Text. Type + + + + + + + + + ASBIE + Tenderer Qualification Request. Required Business_ Classification Scheme. Classification Scheme + A classification scheme for the business profile. + 0..n + Tenderer Qualification Request + Required Business + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + ASBIE + Tenderer Qualification Request. Technical_ Evaluation Criterion. Evaluation Criterion + A technical evaluation criterion required for an economic operator in a tendering process. + 0..n + Tenderer Qualification Request + Technical + Evaluation Criterion + Evaluation Criterion + Evaluation Criterion + + + + + + + + + ASBIE + Tenderer Qualification Request. Financial_ Evaluation Criterion. Evaluation Criterion + A financial evaluation criterion required for an economic operator in a tendering process. + 0..n + Tenderer Qualification Request + Financial + Evaluation Criterion + Evaluation Criterion + Evaluation Criterion + + + + + + + + + ASBIE + Tenderer Qualification Request. Specific_ Tenderer Requirement. Tenderer Requirement + A requirement to be met by a tenderer. + 0..n + Tenderer Qualification Request + Specific + Tenderer Requirement + Tenderer Requirement + Tenderer Requirement + Preregistration in a Business Registry + + + + + + + + + ASBIE + Tenderer Qualification Request. Economic Operator Role + A class to describe the tenderer contracting role. + 0..n + Tenderer Qualification Request + Economic Operator Role + Economic Operator Role + Economic Operator Role + + + + + + + + + + + ABIE + Tenderer Requirement. Details + A class to describe an action or statement required of an economic operator participating in a tendering process. + Tenderer Requirement + + + + + + + + + BBIE + Tenderer Requirement. Name + A name of this tenderer requirement. + 0..n + Tenderer Requirement + Name + Name + Name. Type + + + + + + + + + BBIE + Tenderer Requirement. Tenderer Requirement_ Type Code. Code + A code signifying this requirement. + 0..1 + Tenderer Requirement + Tenderer Requirement + Type Code + Code + Code. Type + + + + + + + + + BBIE + Tenderer Requirement. Description. Text + Text describing this requirement. + 0..n + Tenderer Requirement + Description + Text + Text. Type + + + + + + + + + BBIE + Tenderer Requirement. Legal Reference. Text + The legal reference of the exclusion criterion. + 0..1 + Tenderer Requirement + Legal Reference + Text + Text. Type + Art. 45 2 b + + + + + + + + + ASBIE + Tenderer Requirement. Suggested_ Evidence. Evidence + An item of evidence that should be submitted to satisfy this requirement. + 0..n + Tenderer Requirement + Suggested + Evidence + Evidence + Evidence + + + + + + + + + + + ABIE + Tendering Process. Details + A class to describe the process of a formal offer and response to execute work or supply goods at a stated price. + Tendering Process + + + + + + + + + BBIE + Tendering Process. Identifier + An identifier for this tendering process. + 0..1 + Tendering Process + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Process. Original_ Contracting System. Identifier + When reopening a tendering process, the identifier of the original framework agreement or dynamic purchasing system. + 0..1 + Tendering Process + Original + Contracting System + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Process. Description. Text + Text describing the tendering process. + 0..n + Tendering Process + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Process. Negotiation_ Description. Text + Text describing the negotiation to be followed during the tendering process. + 0..n + Tendering Process + Negotiation + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Process. Procedure Code. Code + A code signifying the type of this tendering procedure. + 0..1 + Tendering Process + Procedure Code + Code + Code. Type + Open, Restricted, Negotiated + + + + + + + + + BBIE + Tendering Process. Urgency Code. Code + A code signifying the urgency of this tendering process. + 0..1 + Tendering Process + Urgency Code + Code + Code. Type + Urgent, Normal, Emergency + + + + + + + + + BBIE + Tendering Process. Expense Code. Code + A code signifying the type of expense for this tendering process. + 0..1 + Tendering Process + Expense Code + Code + Code. Type + Normal, Anticipated + + + + + + + + + BBIE + Tendering Process. Part Presentation Code. Code + A code signifying the type of presentation of tenders required (e.g., one lot, multiple lots, or all the lots). + 0..1 + Tendering Process + Part Presentation Code + Code + Code. Type + One Lot, Multiple Lots, All Lots + + + + + + + + + BBIE + Tendering Process. Contracting System Code. Code + A code signifying the type of contracting system (e.g., framework agreement, dynamic purchasing system). If the procedure is individual (nonrepetitive), this code should be omitted. + 0..1 + Tendering Process + Contracting System Code + Code + Code. Type + Framework Agreement, Dynamic Purchasing System + + + + + + + + + BBIE + Tendering Process. Submission Method Code. Code + A code signifying the method to be followed in submitting tenders. + 0..1 + Tendering Process + Submission Method Code + Code + Code. Type + Manual, Electronically, etc. + + + + + + + + + BBIE + Tendering Process. Candidate Reduction_ Constraint. Indicator + An indicator that the number of candidates participating in this process has been reduced (true) or not (false). + 0..1 + Tendering Process + Candidate Reduction + Constraint + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Process. Government Agreement_ Constraint. Indicator + An indicator that the project associated with this tendering process is constrained by a government procurement agreement (true) or not (false). + 0..1 + Tendering Process + Government Agreement + Constraint + Indicator + Indicator. Type + + + + + + + + + ASBIE + Tendering Process. Document Availability_ Period. Period + The period during which documents relating to this tendering process must be completed. + 0..1 + Tendering Process + Document Availability + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Tender Submission Deadline_ Period. Period + The period during which tenders must be delivered. + 0..1 + Tendering Process + Tender Submission Deadline + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Invitation Submission_ Period. Period + The period during which invitations to tender must be completed and delivered. + 0..1 + Tendering Process + Invitation Submission + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Participation Request Reception_ Period. Period + The period during which requests for participation must be completed and delivered. + 0..1 + Tendering Process + Participation Request Reception + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Notice_ Document Reference. Document Reference + A reference to a notice pertaining to this tendering process. + 0..n + Tendering Process + Notice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Process. Additional_ Document Reference. Document Reference + A reference to an additional document. + 0..n + Tendering Process + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Process. Process Justification + A justification for the selection of this tendering process. + 0..n + Tendering Process + Process Justification + Process Justification + Process Justification + + + + + + + + + ASBIE + Tendering Process. Economic Operator Short List + A set of criteria used to create a short list of candidates. + 0..1 + Tendering Process + Economic Operator Short List + Economic Operator Short List + Economic Operator Short List + + + + + + + + + ASBIE + Tendering Process. Open Tender_ Event. Event + Textual description of the legal form required for potential tenderers. + 0..n + Tendering Process + Open Tender + Event + Event + Event + + + + + + + + + ASBIE + Tendering Process. Auction Terms + The terms to be fulfilled by tenderers if an auction is to be executed before the awarding of a tender. + 0..1 + Tendering Process + Auction Terms + Auction Terms + Auction Terms + + + + + + + + + ASBIE + Tendering Process. Framework Agreement + A tendering framework agreement. + 0..1 + Tendering Process + Framework Agreement + Framework Agreement + Framework Agreement + + + + + + + + + + + ABIE + Tendering Terms. Details + A class to describe tendering terms for a tendering process. + Tendering Terms + + + + + + + + + BBIE + Tendering Terms. Awarding Method Type Code. Code + A code signifying the awarding method in a tendering process (e.g., a method favoring the tender with the lowest price or the tender that is most economically advantageous). + 0..1 + Tendering Terms + Awarding Method Type Code + Code + Code. Type + Price, Multiple criteria + + + + + + + + + BBIE + Tendering Terms. Price Evaluation Code. Code + Textual description of the legal form required for potential tenderers. + 0..1 + Tendering Terms + Price Evaluation Code + Code + Code. Type + Unit prices, global price + + + + + + + + + BBIE + Tendering Terms. Maximum Variant_ Quantity. Quantity + Maximum number of variants the tenderer is allowed to present for this tendering project. + 0..1 + Tendering Terms + Maximum Variant + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Tendering Terms. Variant_ Constraint. Indicator + An indicator that variants are allowed and unconstrained in number (true) or not allowed (false). + 0..1 + Tendering Terms + Variant + Constraint + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Terms. Accepted Variants_ Description. Text + Text specifying the things for which variants are accepted. + 0..n + Tendering Terms + Accepted Variants + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Price Revision_ Formula Description. Text + Text describing the formula for price revision. + 0..n + Tendering Terms + Price Revision + Formula Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Funding_ Program Code. Code + The program that funds the tendering process (e.g., "National", "European"), expressed as a code. + 0..1 + Tendering Terms + Funding + Program Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Terms. Funding_ Program. Text + The program that funds the tendering process (e.g., EU 6th Framework Program) expressed as text. + 0..n + Tendering Terms + Funding + Program + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Maximum_ Advertisement. Amount + The maximum advertised monetary value of the tendering process. + 0..1 + Tendering Terms + Maximum + Advertisement + Amount + Amount. Type + + + + + + + + + BBIE + Tendering Terms. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Tendering Terms + Note + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Payment Frequency Code. Code + A code signifying the frequency of payment in the contract associated with the tendering process. + 0..1 + Tendering Terms + Payment Frequency Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Terms. Economic Operator Registry_ URI. Identifier + The Uniform Resource Identifier (URI) of an electronic registry of economic operators. + 0..1 + Tendering Terms + Economic Operator Registry + URI + Identifier + Identifier. Type + Web site + + + + + + + + + BBIE + Tendering Terms. Required Curricula. Indicator + An indicator that tenderers are required to provide a curriculum vitae for each participant in the project (true) or are not so required (false). + 0..1 + Tendering Terms + Required Curricula + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Terms. Other_ Conditions. Indicator + Indicates whether other conditions exist (true) or not (false). If the indicator is true, the description may be provided. + 0..1 + Tendering Terms + Other + Conditions + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Terms. Additional_ Conditions. Text + Other existing conditions. + 0..n + Tendering Terms + Additional + Conditions + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Latest_ Security Clearance Date. Date + The end date until which the candidates can obtain the necessary level of security clearance. + 0..1 + Tendering Terms + Latest + Security Clearance Date + Date + Date. Type + + + + + + + + + BBIE + Tendering Terms. Documentation Fee Amount. Amount + The amount to be paid to obtain the contract documents and additional documentation. + 0..1 + Tendering Terms + Documentation Fee Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Tendering Terms. Penalty_ Clause. Clause + The penalty clauses + 0..n + Tendering Terms + Penalty + Clause + Clause + Clause + + + + + + + + + ASBIE + Tendering Terms. Required_ Financial Guarantee. Financial Guarantee + A financial guarantee of a tenderer or bid submitter's actual entry into a contract in the event that it is the successful bidder. + 0..n + Tendering Terms + Required + Financial Guarantee + Financial Guarantee + Financial Guarantee + + + + + + + + + ASBIE + Tendering Terms. Procurement Legislation_ Document Reference. Document Reference + A reference to a document providing references to procurement legislation applicable to the tendering process. + 0..1 + Tendering Terms + Procurement Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Fiscal Legislation_ Document Reference. Document Reference + A reference to a document providing references to fiscal legislation applicable to the tendering process. + 0..1 + Tendering Terms + Fiscal Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Environmental Legislation_ Document Reference. Document Reference + A reference to a document providing references to environmental legislation applicable to the tendering process. + 0..1 + Tendering Terms + Environmental Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Employment Legislation_ Document Reference. Document Reference + A reference to a document providing references to employment legislation applicable to the tendering process. + 0..1 + Tendering Terms + Employment Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Contractual_ Document Reference. Document Reference + A reference to a document that will become part of the awarded contract. + 0..n + Tendering Terms + Contractual + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Call For Tenders_ Document Reference. Document Reference + A reference to the Call for Tender associated with these tendering terms. + 0..1 + Tendering Terms + Call For Tenders + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Warranty Validity_ Period. Period + The period during which a warranty for work, service, or goods associated with these tendering terms is valid. + 0..1 + Tendering Terms + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Tendering Terms. Payment Terms + A specification of payment terms associated with the tendering process. + 0..n + Tendering Terms + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Tendering Terms. Tenderer Qualification Request + Required set of qualifications for a tenderer in this tendering process. + 0..n + Tendering Terms + Tenderer Qualification Request + Tenderer Qualification Request + Tenderer Qualification Request + + + + + + + + + ASBIE + Tendering Terms. Allowed_ Subcontract Terms. Subcontract Terms + Subcontract terms for the tendering process. + 0..n + Tendering Terms + Allowed + Subcontract Terms + Subcontract Terms + Subcontract Terms + + + + + + + + + ASBIE + Tendering Terms. Tender Preparation + Directions for preparing a tender for the+D2057 tendering process. + 0..n + Tendering Terms + Tender Preparation + Tender Preparation + Tender Preparation + Curricula required, Experience required, .... + + + + + + + + + ASBIE + Tendering Terms. Contract Execution Requirement + A requirement relating to execution of the contract that will be awarded as a result of the tendering process. + 0..n + Tendering Terms + Contract Execution Requirement + Contract Execution Requirement + Contract Execution Requirement + + + + + + + + + ASBIE + Tendering Terms. Awarding Terms + The terms in the tendering process for awarding the contract for a project. + 0..1 + Tendering Terms + Awarding Terms + Awarding Terms + Awarding Terms + + + + + + + + + ASBIE + Tendering Terms. Additional Information_ Party. Party + A party that has additional information about the tendering process. + 0..1 + Tendering Terms + Additional Information + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Document Provider_ Party. Party + The party that has the contract documents for the tendering process. + 0..1 + Tendering Terms + Document Provider + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Tender Recipient_ Party. Party + The party to which tenders should be presented. + 0..1 + Tendering Terms + Tender Recipient + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Contract Responsible_ Party. Party + The party responsible for the execution of the contract. + 0..1 + Tendering Terms + Contract Responsible + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Tender Evaluation_ Party. Party + A party in the contracting authority responsible for evaluating tenders received. + 0..n + Tendering Terms + Tender Evaluation + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Tender Validity_ Period. Period + The period during which tenders submitted for this tendering process must remain valid. + 0..1 + Tendering Terms + Tender Validity + Period + Period + Period + + + + + + + + + ASBIE + Tendering Terms. Contract Acceptance_ Period. Period + The period of time during which the contracting authority may accept a contract. + 0..1 + Tendering Terms + Contract Acceptance + Period + Period + Period + + + + + + + + + ASBIE + Tendering Terms. Appeal Terms + Information about the terms to present for an appeal against a tender award. + 0..1 + Tendering Terms + Appeal Terms + Appeal Terms + Appeal Terms + + + + + + + + + ASBIE + Tendering Terms. Language + One of the default languages specified for the tendering process. + 0..n + Tendering Terms + Language + Language + Language + + + + + + + + + ASBIE + Tendering Terms. Budget Account Line + A budget account line associated with the tendering process. + 0..n + Tendering Terms + Budget Account Line + Budget Account Line + Budget Account Line + + + + + + + + + ASBIE + Tendering Terms. Replaced Notice_ Document Reference. Document Reference + A class defining a reference to the notice that is being replaced. + 0..1 + Tendering Terms + Replaced Notice + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Trade Financing. Details + A class to describe a trade financing instrument. + Trade Financing + + + + + + + + + BBIE + Trade Financing. Identifier + An identifier for this trade financing instrument. + 0..1 + Trade Financing + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Trade Financing. Financing Instrument Code. Code + A code signifying the type of this financing instrument. + 0..1 + Trade Financing + Financing Instrument Code + Code + Code. Type + Factoring , Invoice Financing , Pre-shipment Financing , Letter of Credit , Irrevocable Letter of Credit . + + + + + + + + + + ASBIE + Trade Financing. Contract_ Document Reference. Document Reference + A reference to a contract document. + 0..1 + Trade Financing + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Trade Financing. Document Reference + A reference to a document associated with this trade financing instrument. + 0..n + Trade Financing + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Trade Financing. Financing_ Party. Party + The financing party (bank or other enabled party). + 1 + Trade Financing + Financing + Party + Party + Party + + + + + + + + + ASBIE + Trade Financing. Financing_ Financial Account. Financial Account + An internal bank account used by the bank or its first agent to manage the line of credit granted to the financing requester. + 0..1 + Trade Financing + Financing + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Trade Financing. Clause + A clause applicable to this trade financing instrument. + 0..n + Trade Financing + Clause + Clause + Clause + + + + + + + + + + + ABIE + Trading Terms. Details + A class for describing the terms of a trade agreement. + Trading Terms + + + + + + + + + BBIE + Trading Terms. Information. Text + Text describing the terms of a trade agreement. + 0..n + Trading Terms + Information + Text + Text. Type + Unless credit terms have been expressly agreed by Dell, payment for the products or services shall be made in full before physical delivery of products or services. Customer shall pay for all shipping and handling charges. + + + + + + + + + BBIE + Trading Terms. Reference. Text + A reference quoting the basis of the terms + 0..1 + Trading Terms + Reference + Text + Text. Type + http://www1.ap.dell.com/content/topics/topic.aspx/ap/policy/en/au/sales_terms_au?c=au&l=en&s=gen + + + + + + + + + ASBIE + Trading Terms. Applicable_ Address. Address + The address at which these trading terms apply. + 0..1 + Trading Terms + Applicable + Address + Address + Address + + + + + + + + + + + ABIE + Transaction Conditions. Details + A class to describe purchasing, sales, or payment conditions. + Transaction Conditions + Payment Conditions, Sales Conditions + + + + + + + + + BBIE + Transaction Conditions. Identifier + An identifier for conditions of the transaction, typically purchase/sales conditions. + 0..1 + Transaction Conditions + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transaction Conditions. Action Code. Code + A code signifying a type of action relating to sales or payment conditions. + 0..1 + Transaction Conditions + Action Code + Code + Code. Type + + + + + + + + + BBIE + Transaction Conditions. Description. Text + Text describing the transaction conditions. + 0..n + Transaction Conditions + Description + Text + Text. Type + + + + + + + + + ASBIE + Transaction Conditions. Document Reference + A document associated with these transaction conditions. + 0..n + Transaction Conditions + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Transport Equipment. Details + A class to describe a piece of equipment used to transport goods. + Transport Equipment + Shipping Container, Sea Container, Rail Wagon, Pallet, Trailer, Unit Load Device, ULD + + + + + + + + + BBIE + Transport Equipment. Identifier + An identifier for this piece of transport equipment. + 0..1 + Transport Equipment + Identifier + Identifier + Identifier. Type + OCLU 1234567 + + + + + + + + + BBIE + Transport Equipment. Referenced_ Consignment Identifier. Identifier + An identifier for the consignment contained by this piece of transport equipment. + 0..n + Transport Equipment + Referenced + Consignment Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Equipment. Transport Equipment Type Code. Code + A code signifying the type of this piece of transport equipment. + 0..1 + Transport Equipment + Transport Equipment Type Code + Code + Transport Equipment Type + Transport Equipment Type_ Code. Type + + + + + + + + + BBIE + Transport Equipment. Provider Type Code. Code + A code signifying the type of provider of this piece of transport equipment. + 0..1 + Transport Equipment + Provider Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Owner Type Code. Code + A code signifying the type of owner of this piece of transport equipment. + 0..1 + Transport Equipment + Owner Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Size Type Code. Code + A code signifying the size and type of this piece of piece of transport equipment. When the piece of transport equipment is a shipping container, it is recommended to use ContainerSizeTypeCode for validation. + 0..1 + Transport Equipment + Size Type Code + Code + Code. Type + Container Size Type Code + + + + + + + + + BBIE + Transport Equipment. Disposition Code. Code + A code signifying the current disposition of this piece of transport equipment. + 0..1 + Transport Equipment + Disposition Code + Code + Code. Type + Status + + + + + + + + + BBIE + Transport Equipment. Fullness Indication Code. Code + A code signifying whether this piece of transport equipment is full, partially full, or empty. + 0..1 + Transport Equipment + Fullness Indication Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Refrigeration On_ Indicator. Indicator + An indicator that this piece of transport equipment's refrigeration is on (true) or off (false). + 0..1 + Transport Equipment + Refrigeration On + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Information. Text + Additional information about this piece of transport equipment. + 0..n + Transport Equipment + Information + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Returnability_ Indicator. Indicator + An indicator that this piece of transport equipment is returnable (true) or not (false). + 0..1 + Transport Equipment + Returnability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Legal Status_ Indicator. Indicator + An indication of the legal status of this piece of transport equipment with respect to the Container Convention Code. + 0..1 + Transport Equipment + Legal Status + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Air Flow Percent. Percent + The percent of the airflow within this piece of transport equipment. + 0..1 + Transport Equipment + Air Flow Percent + Percent + Percent. Type + + + + + + + + + BBIE + Transport Equipment. Humidity Percent. Percent + The percent humidity within this piece of transport equipment. + 0..1 + Transport Equipment + Humidity Percent + Percent + Percent. Type + + + + + + + + + BBIE + Transport Equipment. Animal Food_ Approved Indicator. Indicator + An indicator that this piece of transport equipment is approved for animal food (true) or not (false). + 0..1 + Transport Equipment + Animal Food + Approved Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Human Food_ Approved Indicator. Indicator + An indicator that this piece of transport equipment is approved for human food (true) or not (false). + 0..1 + Transport Equipment + Human Food + Approved Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Dangerous Goods_ Approved Indicator. Indicator + An indicator that this piece of transport equipment is approved for dangerous goods (true) or not (false). + 0..1 + Transport Equipment + Dangerous Goods + Approved Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Refrigerated_ Indicator. Indicator + An indicator that this piece of transport equipment is refrigerated (true) or not (false). + 0..1 + Transport Equipment + Refrigerated + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Characteristics. Text + Characteristics of this piece of transport equipment. + 0..1 + Transport Equipment + Characteristics + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Damage_ Remarks. Text + Damage associated with this piece of transport equipment. + 0..n + Transport Equipment + Damage + Remarks + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Description. Text + Text describing this piece of transport equipment. + 0..n + Transport Equipment + Description + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Special_ Transport Requirements. Text + Special transport requirements expressed as text. + 0..n + Transport Equipment + Special + Transport Requirements + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Gross_ Weight. Measure + The gross weight of this piece of transport equipment. + 0..1 + Transport Equipment + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Transport Equipment. Gross_ Volume. Measure + The gross volume of this piece of transport equipment. + 0..1 + Transport Equipment + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Transport Equipment. Tare_ Weight. Measure + The weight of this piece of transport equipment when empty. + 0..1 + Transport Equipment + Tare + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Transport Equipment. Tracking Device Code. Code + A code signifying the tracking device for this piece of transport equipment. + 0..1 + Transport Equipment + Tracking Device Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Power. Indicator + An indicator that this piece of transport equipment can supply power (true) or not (false). + 0..1 + Transport Equipment + Power + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Trace_ Identifier. Identifier + An identifier for use in tracing this piece of transport equipment, such as the EPC number used in RFID. + 0..1 + Transport Equipment + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Transport Equipment. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this piece of transport equipment. + 0..n + Transport Equipment + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Equipment. Transport Equipment Seal + A seal securing the door of a piece of transport equipment. + 0..n + Transport Equipment + Transport Equipment Seal + Transport Equipment Seal + Transport Equipment Seal + + + + + + + + + ASBIE + Transport Equipment. Minimum_ Temperature. Temperature + In the case of a refrigeration unit, the minimum allowable operating temperature for this container. + 0..1 + Transport Equipment + Minimum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Equipment. Maximum_ Temperature. Temperature + In the case of a refrigeration unit, the maximum allowable operating temperature for this container. + 0..1 + Transport Equipment + Maximum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Equipment. Provider_ Party. Party + The party providing this piece of transport equipment. + 0..1 + Transport Equipment + Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Equipment. Loading Proof_ Party. Party + The authorized party responsible for certifying that the goods were loaded into this piece of transport equipment. + 0..1 + Transport Equipment + Loading Proof + Party + Party + Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Supplier Party + The party that supplies this piece of transport equipment. + 0..1 + Transport Equipment + Supplier Party + Supplier Party + Supplier Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Owner_ Party. Party + The party that owns this piece of transport equipment. + 0..1 + Transport Equipment + Owner + Party + Party + Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Operating_ Party. Party + The party that operates this piece of transport equipment. + 0..1 + Transport Equipment + Operating + Party + Party + Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Loading_ Location. Location + The location where this piece of transport equipment is loaded. + 0..1 + Transport Equipment + Loading + Location + Location + Location + Vanning address (WCO ID 068), Stuffing location + + + + + + + + + ASBIE + Transport Equipment. Unloading_ Location. Location + The location where this piece of transport equipment is unloaded. + 0..1 + Transport Equipment + Unloading + Location + Location + Location + + + + + + + + + ASBIE + Transport Equipment. Storage_ Location. Location + The location where this piece of transport equipment is being stored. + 0..1 + Transport Equipment + Storage + Location + Location + Location + + + + + + + + + ASBIE + Transport Equipment. Positioning_ Transport Event. Transport Event + A positioning of this piece of transport equipment. + 0..n + Transport Equipment + Positioning + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Quarantine_ Transport Event. Transport Event + A quarantine of this piece of transport equipment. + 0..n + Transport Equipment + Quarantine + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Delivery_ Transport Event. Transport Event + A delivery of this piece of transport equipment. + 0..n + Transport Equipment + Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Pickup_ Transport Event. Transport Event + A pickup of this piece of transport equipment. + 0..n + Transport Equipment + Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Handling_ Transport Event. Transport Event + A handling of this piece of transport equipment. + 0..n + Transport Equipment + Handling + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Loading_ Transport Event. Transport Event + A loading of this piece of transport equipment. + 0..n + Transport Equipment + Loading + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Transport Event + A transport event associated with this piece of transport equipment. + 0..n + Transport Equipment + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Applicable_ Transport Means. Transport Means + The applicable transport means associated with this piece of transport equipment. + 0..1 + Transport Equipment + Applicable + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Equipment. Haulage_ Trading Terms. Trading Terms + A set of haulage trading terms associated with this piece of transport equipment. + 0..n + Transport Equipment + Haulage + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Transport Equipment. Hazardous Goods Transit + Transit-related information regarding a type of hazardous goods contained in this piece of transport equipment. + 0..n + Transport Equipment + Hazardous Goods Transit + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Transport Equipment. Packaged_ Transport Handling Unit. Transport Handling Unit + A packaged transport handling unit associated with this piece of transport equipment. + 0..n + Transport Equipment + Packaged + Transport Handling Unit + Transport Handling Unit + Transport Handling Unit + + + + + + + + + ASBIE + Transport Equipment. Service_ Allowance Charge. Allowance Charge + A service allowance charge associated with this piece of transport equipment. + 0..n + Transport Equipment + Service + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Transport Equipment. Freight_ Allowance Charge. Allowance Charge + A freight allowance charge associated with this piece of transport equipment. + 0..n + Transport Equipment + Freight + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Transport Equipment. Attached_ Transport Equipment. Transport Equipment + A piece of transport equipment attached to this piece of transport equipment. + 0..n + Transport Equipment + Attached + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transport Equipment. Delivery + The delivery of this piece of transport equipment. + 0..1 + Transport Equipment + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Transport Equipment. Pickup + The pickup of this piece of transport equipment. + 0..1 + Transport Equipment + Pickup + Pickup + Pickup + + + + + + + + + ASBIE + Transport Equipment. Despatch + The despatch of this piece of transport equipment. + 0..1 + Transport Equipment + Despatch + Despatch + Despatch + + + + + + + + + ASBIE + Transport Equipment. Shipment_ Document Reference. Document Reference + A reference to a shipping document associated with this piece of transport equipment. + 0..n + Transport Equipment + Shipment + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Equipment. Contained In_ Transport Equipment. Transport Equipment + A piece of transport equipment contained in this piece of transport equipment. + 0..n + Transport Equipment + Contained In + Transport Equipment + Transport Equipment + Transport Equipment + e.g. pallets inside containers + + + + + + + + + ASBIE + Transport Equipment. Package + A package contained in this piece of transport equipment. + 0..n + Transport Equipment + Package + Package + Package + + + + + + + + + ASBIE + Transport Equipment. Goods Item + A goods item contained in this piece of transport equipment. + 0..n + Transport Equipment + Goods Item + Goods Item + Goods Item + + + + + + + + + + + ABIE + Transport Equipment Seal. Details + A class to describe a device (a transport equipment seal) for securing the doors of a shipping container. + Transport Equipment Seal + Container Seal + + + + + + + + + BBIE + Transport Equipment Seal. Identifier + An identifier for this transport equipment seal. + 1 + Transport Equipment Seal + Identifier + Identifier + Identifier. Type + ACS1234 + + + + + + + + + BBIE + Transport Equipment Seal. Seal Issuer Type Code. Code + A code signifying the type of party that issues and is responsible for this transport equipment seal. + 0..1 + Transport Equipment Seal + Seal Issuer Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment Seal. Condition. Text + The condition of this transport equipment seal. + 0..1 + Transport Equipment Seal + Condition + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment Seal. Seal Status Code. Code + A code signifying the condition of this transport equipment seal. + 0..1 + Transport Equipment Seal + Seal Status Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment Seal. Sealing Party Type. Text + The role of the sealing party. + 0..1 + Transport Equipment Seal + Sealing Party Type + Text + Text. Type + Sealing Party + + + + + + + + + + + ABIE + Transport Event. Details + A class to describe a significant occurrence or happening related to the transportation of goods. + Transport Event + + + + + + + + + BBIE + Transport Event. Identification. Identifier + An identifier for this transport event within an agreed event identification scheme. + 0..1 + Transport Event + Identification + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Event. Occurrence Date. Date + The date of this transport event. + 0..1 + Transport Event + Occurrence Date + Date + Date. Type + + + + + + + + + BBIE + Transport Event. Occurrence Time. Time + The time of this transport event. + 0..1 + Transport Event + Occurrence Time + Time + Time. Type + + + + + + + + + BBIE + Transport Event. Transport Event Type Code. Code + A code signifying the type of this transport event. + 0..1 + Transport Event + Transport Event Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Event. Description. Text + Text describing this transport event. + 0..n + Transport Event + Description + Text + Text. Type + + + + + + + + + BBIE + Transport Event. Completion_ Indicator. Indicator + An indicator that this transport event has been completed (true) or not (false). + 0..1 + Transport Event + Completion + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Transport Event. Reported_ Shipment. Shipment + The shipment involved in this transport event. + 0..1 + Transport Event + Reported + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Transport Event. Current_ Status. Status + The current status of this transport event. + 0..n + Transport Event + Current + Status + Status + Status + + + + + + + + + ASBIE + Transport Event. Contact + A contact associated with this transport event. + 0..n + Transport Event + Contact + Contact + Contact + + + + + + + + + ASBIE + Transport Event. Location + The location associated with this transport event. + 0..1 + Transport Event + Location + Location + Location + + + + + + + + + ASBIE + Transport Event. Signature + A signature that can be used to sign for an entry or an exit at a transport location (e.g., port terminal). + 0..1 + Transport Event + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Event. Period + A period of time associated with this transport event. + 0..n + Transport Event + Period + Period + Period + + + + + + + + + + + ABIE + Transport Execution Terms. Details + A class to describe terms applying to a transport execution plan. + Transport Execution Terms + + + + + + + + + BBIE + Transport Execution Terms. Transport User_ Special Terms. Text + Text describing special terms specified by the transport user. + 0..n + Transport Execution Terms + Transport User + Special Terms + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Terms. Transport Service Provider_ Special Terms. Text + Text describing special terms specified by the transport service provider. + 0..n + Transport Execution Terms + Transport Service Provider + Special Terms + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Terms. Change Conditions. Text + Text describing conditions applying to a change of these transport execution terms. + 0..n + Transport Execution Terms + Change Conditions + Text + Text. Type + + + + + + + + + ASBIE + Transport Execution Terms. Payment Terms + Payment terms associated with the transportation service. + 0..n + Transport Execution Terms + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Delivery Terms + Delivery terms (e.g., Incoterms) associated with the transportation service. + 0..n + Transport Execution Terms + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Transport Execution Terms. Bonus_ Payment Terms. Payment Terms + Terms relating to payment of applicable bonuses associated with the transport service. + 0..1 + Transport Execution Terms + Bonus + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Commission_ Payment Terms. Payment Terms + Terms of payment applying to a commission specified in the transport execution plan. + 0..1 + Transport Execution Terms + Commission + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Penalty_ Payment Terms. Payment Terms + Terms of payment applying to a penalty specified in the transport execution plan. + 0..1 + Transport Execution Terms + Penalty + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Environmental Emission + An environmental emission resulting from the transportation service. + 0..n + Transport Execution Terms + Environmental Emission + Environmental Emission + Environmental Emission + + + + + + + + + ASBIE + Transport Execution Terms. Notification Requirement + A notification requirement related to the transportation service; e.g., a requirement that the transport user should be notified when goods are ready for pickup. + 0..n + Transport Execution Terms + Notification Requirement + Notification Requirement + Notification Requirement + + + + + + + + + ASBIE + Transport Execution Terms. Service Charge_ Payment Terms. Payment Terms + Payment terms for the service charge associated with the transport service. + 0..1 + Transport Execution Terms + Service Charge + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + + + ABIE + Transport Handling Unit. Details + A class to describe a uniquely identifiable unit consisting of one or more packages, goods items, or pieces of transport equipment. + Transport Handling Unit + Logistics Unit, Handling Unit, THU + + + + + + + + + BBIE + Transport Handling Unit. Identifier + An identifier for this transport handling unit. + 0..1 + Transport Handling Unit + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Handling Unit. Transport Handling Unit Type Code. Code + A code signifying the type of this transport handling unit. + 0..1 + Transport Handling Unit + Transport Handling Unit Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Handling Unit. Handling Code. Code + The handling required for this transport handling unit, expressed as a code. + 0..1 + Transport Handling Unit + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Transport Handling Unit. Handling_ Instructions. Text + The handling required for this transport handling unit, expressed as text. + 0..n + Transport Handling Unit + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Transport Handling Unit. Hazardous Risk_ Indicator. Indicator + An indicator that the materials contained in this transport handling unit are subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Transport Handling Unit + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Transport Handling Unit. Total_ Goods Item Quantity. Quantity + The total number of goods items in this transport handling unit. + 0..1 + Transport Handling Unit + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Transport Handling Unit. Total_ Package Quantity. Quantity + The total number of packages in this transport handling unit. + 0..1 + Transport Handling Unit + Total + Package Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Transport Handling Unit. Damage_ Remarks. Text + Text describing damage associated with this transport handling unit. + 0..n + Transport Handling Unit + Damage + Remarks + Text + Text. Type + + + + + + + + + BBIE + Transport Handling Unit. Shipping_ Marks. Text + Text describing the marks and numbers on this transport handling unit. + 0..n + Transport Handling Unit + Shipping + Marks + Text + Text. Type + Marks and Numbers, Shipping Marks + + + + + + + + + BBIE + Transport Handling Unit. Trace_ Identifier. Identifier + An identifier for use in tracing this transport handling unit, such as the EPC number used in RFID. + 0..1 + Transport Handling Unit + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Transport Handling Unit. Handling Unit_ Despatch Line. Despatch Line + A despatch line associated with this transport handling unit. + 0..n + Transport Handling Unit + Handling Unit + Despatch Line + Despatch Line + Despatch Line + + + + + + + + + ASBIE + Transport Handling Unit. Actual_ Package. Package + A package contained in this transport handling unit. + 0..n + Transport Handling Unit + Actual + Package + Package + Package + + + + + + + + + ASBIE + Transport Handling Unit. Received Handling Unit_ Receipt Line. Receipt Line + A receipt line associated with this transport handling unit. + 0..n + Transport Handling Unit + Received Handling Unit + Receipt Line + Receipt Line + Receipt Line + + + + + + + + + ASBIE + Transport Handling Unit. Transport Equipment + A piece of transport equipment associated with this transport handling unit. + 0..n + Transport Handling Unit + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transport Handling Unit. Transport Means + A means of transport associated with this transport handling unit. + 0..n + Transport Handling Unit + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Handling Unit. Hazardous Goods Transit + Transit-related information regarding a type of hazardous goods contained in this transport handling unit. + 0..n + Transport Handling Unit + Hazardous Goods Transit + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Transport Handling Unit. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this transport handling unit. + 0..n + Transport Handling Unit + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Handling Unit. Minimum_ Temperature. Temperature + The minimum required operating temperature of this transport handling unit. + 0..1 + Transport Handling Unit + Minimum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Handling Unit. Maximum_ Temperature. Temperature + The maximum allowable operating temperature of this transport handling unit. + 0..1 + Transport Handling Unit + Maximum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Handling Unit. Goods Item + A goods item contained in this transport handling unit. + 0..n + Transport Handling Unit + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Transport Handling Unit. Floor Space Measurement_ Dimension. Dimension + The floor space measurement dimension associated with this transport handling unit. + 0..1 + Transport Handling Unit + Floor Space Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Handling Unit. Pallet Space Measurement_ Dimension. Dimension + The pallet space measurement dimension associated to this transport handling unit. + 0..1 + Transport Handling Unit + Pallet Space Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Handling Unit. Shipment_ Document Reference. Document Reference + A reference to a shipping document associated with this transport handling unit. + 0..n + Transport Handling Unit + Shipment + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Handling Unit. Status + The status of this transport handling unit. + 0..n + Transport Handling Unit + Status + Status + Status + + + + + + + + + ASBIE + Transport Handling Unit. Customs Declaration + Describes identifiers or references relating to customs procedures. + 0..n + Transport Handling Unit + Customs Declaration + Customs Declaration + Customs Declaration + + + + + + + + + ASBIE + Transport Handling Unit. Referenced_ Shipment. Shipment + A shipment associated with this transport handling unit. + 0..n + Transport Handling Unit + Referenced + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Transport Handling Unit. Package + A package contained in this transport handling unit. + 0..n + Transport Handling Unit + Package + Package + Package + + + + + + + + + + + ABIE + Transport Means. Details + A class to describe a particular vehicle or vessel used for the conveyance of goods or persons. + Transport Means + Conveyance + + + + + + + + + BBIE + Transport Means. Journey Identifier. Identifier + An identifier for the regular service schedule of this means of transport. + 0..1 + Transport Means + Journey Identifier + Identifier + Identifier. Type + Voyage Number, Scheduled Conveyance Identifier (WCO ID 205), Flight Number + + + + + + + + + BBIE + Transport Means. Registration_ Nationality Identifier. Identifier + An identifier for the country in which this means of transport is registered. + 0..1 + Transport Means + Registration + Nationality Identifier + Identifier + Identifier. Type + Nationality of Means of Transport (WCO 175, 178 and 179) + LIB + + + + + + + + + BBIE + Transport Means. Registration_ Nationality. Text + Text describing the country in which this means of transport is registered. + 0..n + Transport Means + Registration + Nationality + Text + Text. Type + Flag of Vessel, Nationality of Ship + Liberia + + + + + + + + + BBIE + Transport Means. Direction Code. Code + A code signifying the direction of this means of transport. + 0..1 + Transport Means + Direction Code + Code + Code. Type + Transit Direction + North , East + + + + + + + + + BBIE + Transport Means. Transport Means Type Code. Code + A code signifying the type of this means of transport (truck, vessel, etc.). + 0..1 + Transport Means + Transport Means Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Means. Trade Service Code. Code + A code signifying the service regularly provided by the carrier operating this means of transport. + 0..1 + Transport Means + Trade Service Code + Code + Code. Type + + + + + + + + + ASBIE + Transport Means. Stowage + The location within the means of transport where goods are to be or have been stowed. + 0..1 + Transport Means + Stowage + Stowage + Stowage + + + + + + + + + ASBIE + Transport Means. Air Transport + An aircraft used for transport. + 0..1 + Transport Means + Air Transport + Air Transport + Air Transport + + + + + + + + + ASBIE + Transport Means. Road Transport + A vehicle used for road transport. + 0..1 + Transport Means + Road Transport + Road Transport + Road Transport + + + + + + + + + ASBIE + Transport Means. Rail Transport + Equipment used for rail transport. + 0..1 + Transport Means + Rail Transport + Rail Transport + Rail Transport + + + + + + + + + ASBIE + Transport Means. Maritime Transport + A vessel used for transport by water (not only by sea). + 0..1 + Transport Means + Maritime Transport + Maritime Transport + Maritime Transport + + + + + + + + + ASBIE + Transport Means. Owner_ Party. Party + The party that owns this means of transport. + 0..1 + Transport Means + Owner + Party + Party + Party + + + + + + + + + ASBIE + Transport Means. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this means of transport. + 0..n + Transport Means + Measurement + Dimension + Dimension + Dimension + + + + + + + + + + + ABIE + Transport Schedule. Details + Describes the location and schedule relating to a transport means. + Transport Schedule + + + + + + + + + BBIE + Transport Schedule. Sequence. Numeric + A number indicating the order of this status in the sequence in which statuses are to be presented. + 1 + Transport Schedule + Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Transport Schedule. Reference Date. Date + The reference date for the transport schedule status. + 0..1 + Transport Schedule + Reference Date + Date + Date. Type + + + + + + + + + BBIE + Transport Schedule. Reference Time. Time + The reference time for the transport schedule status. + 0..1 + Transport Schedule + Reference Time + Time + Time. Type + + + + + + + + + BBIE + Transport Schedule. Reliability Percent. Percent + The reliability of the transport schedule status, expressed as a percentage. + 0..1 + Transport Schedule + Reliability Percent + Percent + Percent. Type + + + + + + + + + BBIE + Transport Schedule. Remarks. Text + Remarks related to the transport schedule status. + 0..n + Transport Schedule + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Transport Schedule. Status_ Location. Location + The location for which status is reported. + 1 + Transport Schedule + Status + Location + Location + Location + + + + + + + + + ASBIE + Transport Schedule. Actual Arrival_ Transport Event. Transport Event + The actual arrival at a location. + 0..1 + Transport Schedule + Actual Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Actual Departure_ Transport Event. Transport Event + The actual departure from a location. + 0..1 + Transport Schedule + Actual Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Estimated Departure_ Transport Event. Transport Event + An estimated departure from a specified location. + 0..1 + Transport Schedule + Estimated Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Estimated Arrival_ Transport Event. Transport Event + An estimated arrival at a specified location. + 0..1 + Transport Schedule + Estimated Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Planned Departure_ Transport Event. Transport Event + The planned departure from a specified location. + 0..1 + Transport Schedule + Planned Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Planned Arrival_ Transport Event. Transport Event + The planned arrival at a specified location. + 0..1 + Transport Schedule + Planned Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + + + ABIE + Transportation Segment. Details + A class to describe one segment or leg in a transportation service. + Transportation Segment + + + + + + + + + BBIE + Transportation Segment. Sequence. Numeric + A number indicating the order of this segment in the sequence of transportation segments making up a transportation service. + 1 + Transportation Segment + Sequence + Numeric + Numeric. Type + 1, 2, 3, 4, etc. + + + + + + + + + BBIE + Transportation Segment. Transport Execution Plan Reference. Identifier + An identifier for the transport execution plan governing this transportation segment. + 0..1 + Transportation Segment + Transport Execution Plan Reference + Identifier + Identifier. Type + + + + + + + + + ASBIE + Transportation Segment. Transportation Service + The transportation service used in this transportation segment. + 1 + Transportation Segment + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transportation Segment. Transport Service Provider_ Party. Party + The transport service provider responsible for carrying out transportation services in this transportation segment. + 1 + Transportation Segment + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transportation Segment. Referenced_ Consignment. Consignment + A consignment referenced in this transportation segment. Such a consignment may have different identifiers than the consignment identifiers being used in the transportation service agreed between the transport user and the transport service provider. + 0..1 + Transportation Segment + Referenced + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Transportation Segment. Shipment Stage + The shipment stage associated with this transportation segment. + 0..n + Transportation Segment + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + + + ABIE + Transportation Service. Details + A class to describe a transportation service. + Transportation Service + + + + + + + + + BBIE + Transportation Service. Transport Service Code. Code + A code signifying the extent of this transportation service (e.g., door-to-door, port-to-port). + 1 + Transportation Service + Transport Service Code + Code + Code. Type + + + + + + + + + BBIE + Transportation Service. Tariff Class Code. Code + A code signifying the tariff class applicable to this transportation service. + 0..1 + Transportation Service + Tariff Class Code + Code + Code. Type + Tariff Class Specifier + + + + + + + + + BBIE + Transportation Service. Priority. Text + The priority of this transportation service. + 0..1 + Transportation Service + Priority + Text + Text. Type + + + + + + + + + BBIE + Transportation Service. Freight Rate Class Code. Code + A code signifying the rate class for freight in this transportation service. + 0..1 + Transportation Service + Freight Rate Class Code + Code + Code. Type + Charge Basis + + + + + + + + + BBIE + Transportation Service. Transportation Service Description. Text + Text describing this transportation service. + 0..n + Transportation Service + Transportation Service Description + Text + Text. Type + + + + + + + + + BBIE + Transportation Service. Transportation Service Details URI. Identifier + The Uniform Resource Identifier (URI) of a document providing additional details regarding this transportation service. + 0..1 + Transportation Service + Transportation Service Details URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Service. Nomination Date. Date + In a transport contract, the deadline date by which this transportation service has to be booked. For example, if this service is scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011. + 0..1 + Transportation Service + Nomination Date + Date + Date. Type + + + + + + + + + BBIE + Transportation Service. Nomination Time. Time + In a transport contract, the deadline time by which this transportation service has to be booked. For example, if this service is scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011 and the nomination time 4 p.m. at the latest. + 0..1 + Transportation Service + Nomination Time + Time + Time. Type + + + + + + + + + BBIE + Transportation Service. Name + The name of this transportation service. + 0..1 + Transportation Service + Name + Name + Name. Type + + + + + + + + + BBIE + Transportation Service. Sequence. Numeric + A number indicating the order of this transportation service in a sequence of transportation services. + 0..1 + Transportation Service + Sequence + Numeric + Numeric. Type + + + + + + + + + ASBIE + Transportation Service. Transport Equipment + A piece of transport equipment used in this transportation service. + 0..n + Transportation Service + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transportation Service. Supported_ Transport Equipment. Transport Equipment + A piece of transport equipment supported in this transportation service. + 0..n + Transportation Service + Supported + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transportation Service. Unsupported_ Transport Equipment. Transport Equipment + A piece of transport equipment that is not supported in this transportation service. + 0..n + Transportation Service + Unsupported + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transportation Service. Commodity Classification + A classification of this transportation service. + 0..n + Transportation Service + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Transportation Service. Supported_ Commodity Classification. Commodity Classification + A classification (e.g., general cargo) for commodities that can be handled in this transportation service. + 0..n + Transportation Service + Supported + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Transportation Service. Unsupported_ Commodity Classification. Commodity Classification + A classification for commodities that cannot be handled in this transportation service. + 0..n + Transportation Service + Unsupported + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Transportation Service. Total Capacity_ Dimension. Dimension + The total capacity or volume available in this transportation service. + 0..1 + Transportation Service + Total Capacity + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transportation Service. Shipment Stage + One of the stages of shipment in this transportation service. + 0..n + Transportation Service + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Transportation Service. Transport Event + One of the transport events taking place in this transportation service. + 0..n + Transportation Service + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Service. Responsible Transport Service Provider_ Party. Party + The transport service provider responsible for this transportation service. + 0..1 + Transportation Service + Responsible Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transportation Service. Environmental Emission + An environmental emission resulting from this transportation service. + 0..n + Transportation Service + Environmental Emission + Environmental Emission + Environmental Emission + + + + + + + + + ASBIE + Transportation Service. Estimated Duration_ Period. Period + The estimated duration of this transportation service. + 0..1 + Transportation Service + Estimated Duration + Period + Period + Period + + + + + + + + + ASBIE + Transportation Service. Scheduled_ Service Frequency. Service Frequency + A class to specify which day of the week a transport service is operational. + 0..n + Transportation Service + Scheduled + Service Frequency + Service Frequency + Service Frequency + + + + + + + + + + + ABIE + Unstructured Price. Details + A simplified version of the Price class intended for applications such as telephone billing. + Unstructured Price + + + + + + + + + BBIE + Unstructured Price. Price Amount. Amount + The price amount. + 0..1 + Unstructured Price + Price Amount + Amount + Amount. Type + 23.45 + + + + + + + + + BBIE + Unstructured Price. Time Amount. Text + The usage time upon which the price is based. + 0..1 + Unstructured Price + Time Amount + Text + Text. Type + + + + + + + + + + + ABIE + Utility Item. Details + A class to describe the consumption of a utility product. + Utility Item + + + + + + + + + BBIE + Utility Item. Identifier + An identifier for this utility item. + 1 + Utility Item + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Utility Item. Subscriber Identifier. Identifier + An identifier for the subscriber to the utility. + 0..1 + Utility Item + Subscriber Identifier + Identifier + Identifier. Type + 98143211 + + + + + + + + + BBIE + Utility Item. Subscriber Type. Text + Identification of the subscriber type, expressed as text.. + 0..1 + Utility Item + Subscriber Type + Text + Text. Type + + + + + + + + + BBIE + Utility Item. Subscriber Type Code. Code + The code identifying for the service type. + 0..1 + Utility Item + Subscriber Type Code + Code + Code. Type + + + + + + + + + BBIE + Utility Item. Description. Text + Text describing the consumption product. + 0..n + Utility Item + Description + Text + Text. Type + Basis price quarter (5.761 kWh per 35,58 cents), Transport of electricity, etc. + + + + + + + + + BBIE + Utility Item. Pack Quantity. Quantity + The unit packaging quantity. + 0..1 + Utility Item + Pack Quantity + Quantity + Quantity. Type + 1 + + + + + + + + + BBIE + Utility Item. Pack Size. Numeric + The number of items in a pack. + 0..1 + Utility Item + Pack Size + Numeric + Numeric. Type + + + + + + + + + BBIE + Utility Item. Consumption Type. Text + The type of product consumed, expressed as text. + 0..1 + Utility Item + Consumption Type + Text + Text. Type + Consumption + + + + + + + + + BBIE + Utility Item. Consumption Type Code. Code + The type of product consumed, expressed as a code. + 0..1 + Utility Item + Consumption Type Code + Code + Code. Type + Consumption + + + + + + + + + BBIE + Utility Item. Current_ Charge Type. Text + Information of the actual payments type for the utility Item + 0..1 + Utility Item + Current + Charge Type + Text + Text. Type + + + + + + + + + BBIE + Utility Item. Current_ Charge Type Code. Code + Information of the actual payments type code expressed as a code + 0..1 + Utility Item + Current + Charge Type Code + Code + Code. Type + + + + + + + + + BBIE + Utility Item. One Time_ Charge Type. Text + Information about the one-time payment type in case everything is paid One time + 0..1 + Utility Item + One Time + Charge Type + Text + Text. Type + + + + + + + + + BBIE + Utility Item. One Time_ Charge Type Code. Code + Information about the one-time payment type code + 0..1 + Utility Item + One Time + Charge Type Code + Code + Code. Type + + + + + + + + + ASBIE + Utility Item. Tax Category + The tax category applicable to this utility item. + 0..1 + Utility Item + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Utility Item. Contract + A contract setting forth conditions applicable to this utility item. + 0..1 + Utility Item + Contract + Contract + Contract + + + + + + + + + + + ABIE + Web Site Access. Details + A class to describe access to a web site. + Web Site Access + + + + + + + + + BBIE + Web Site Access. URI. Identifier + The Uniform Resource Identifier (URI) for this web site; i.e., its Uniform Resource Locator (URL). + 0..1 + Web Site Access + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Web Site Access. Password. Text + A password to the web site. + 1 + Web Site Access + Password + Text + Text. Type + confidence + + + + + + + + + BBIE + Web Site Access. Login. Text + Text describing login details. + 1 + Web Site Access + Login + Text + Text. Type + Utsuser + + + + + + + + + + + ABIE + Winning Party. Details + A party that is identified as the awarded by a tender result. + Winning Party + + + + + + + + + BBIE + Winning Party. Rank. Text + Indicates the rank obtained in the award. + 0..1 + Winning Party + Rank + Text + Text. Type + + + + + + + + + ASBIE + Winning Party. Party + Information about an organization, sub-organization, or individual fulfilling a role in a business process. + 1 + Winning Party + Party + Party + Party + + + + + + + + + + + ABIE + Work Phase Reference. Details + A class that refers to a phase of work. Used for instance to specify what part of the contract the billing is referring to. + Work Phase Reference + + + + + + + + + BBIE + Work Phase Reference. Identifier + An identifier for this phase of work. + 0..1 + Work Phase Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Work Phase Reference. Work Phase Code. Code + A code signifying this phase of work. + 0..1 + Work Phase Reference + Work Phase Code + Code + Code. Type + + + + + + + + + BBIE + Work Phase Reference. Work Phase. Text + Text describing this phase of work. + 0..n + Work Phase Reference + Work Phase + Text + Text. Type + + + + + + + + + BBIE + Work Phase Reference. Progress Percent. Percent + The progress percentage of the work phase. + 0..1 + Work Phase Reference + Progress Percent + Percent + Percent. Type + + + + + + + + + BBIE + Work Phase Reference. Start Date. Date + The date on which this phase of work begins. + 0..1 + Work Phase Reference + Start Date + Date + Date. Type + + + + + + + + + BBIE + Work Phase Reference. End Date. Date + The date on which this phase of work ends. + 0..1 + Work Phase Reference + End Date + Date + Date. Type + + + + + + + + + ASBIE + Work Phase Reference. Work Order_ Document Reference. Document Reference + A reference to a document regarding the work order for the project in which this phase of work takes place. + 0..n + Work Phase Reference + Work Order + Document Reference + Document Reference + Document Reference + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonBasicComponents-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonBasicComponents-2.1.xsd new file mode 100644 index 0000000..00fe6f2 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonBasicComponents-2.1.xsd @@ -0,0 +1,5389 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonExtensionComponents-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonExtensionComponents-2.1.xsd new file mode 100644 index 0000000..e9a236d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonExtensionComponents-2.1.xsd @@ -0,0 +1,223 @@ + + + + + + + + + + + + + A container for all extensions present in the document. + + + + + + + A container for all extensions present in the document. + + + + + + + A single extension for private use. + + + + + + + + + A single extension for private use. + + + + + + + A single extension for private use. + + + + + + + An identifier for the Extension assigned by the creator of the extension. + + + + + + + A name for the Extension assigned by the creator of the extension. + + + + + + + An agency that maintains one or more Extensions. + + + + + + + The name of the agency that maintains the Extension. + + + + + + + The version of the Extension. + + + + + + + A URI for the Agency that maintains the Extension. + + + + + + + A URI for the Extension. + + + + + + + A code for reason the Extension is being included. + + + + + + + A description of the reason for the Extension. + + + + + + + The definition of the extension content. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonSignatureComponents-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonSignatureComponents-2.1.xsd new file mode 100644 index 0000000..c3234b8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonSignatureComponents-2.1.xsd @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + ABIE + UBL Document Signatures. Details + This class collects all signature information for a document. + UBL Document Signatures + + + + + + + + + ASBIE + UBL Document Signatures. Signature Information + Each of these is scaffolding for a single digital signature. + 1..n + UBL Document Signatures + Signature Information + Signature Information + Signature Information + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CoreComponentParameters-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CoreComponentParameters-2.1.xsd new file mode 100644 index 0000000..ba40b5b --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CoreComponentParameters-2.1.xsd @@ -0,0 +1,63 @@ + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-ExtensionContentDataType-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-ExtensionContentDataType-2.1.xsd new file mode 100644 index 0000000..7c10dd0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-ExtensionContentDataType-2.1.xsd @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + Any element in any namespace other than the UBL extension + namespace is allowed to be the apex element of an extension. + Only those elements found in the UBL schemas and in the + trees of schemas imported in this module are validated. + Any element for which there is no schema declaration in any + of the trees of schemas passes validation and is not + treated as a schema constraint violation. + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-QualifiedDataTypes-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-QualifiedDataTypes-2.1.xsd new file mode 100644 index 0000000..e945467 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-QualifiedDataTypes-2.1.xsd @@ -0,0 +1,69 @@ + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-SignatureAggregateComponents-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-SignatureAggregateComponents-2.1.xsd new file mode 100644 index 0000000..b89d450 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-SignatureAggregateComponents-2.1.xsd @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + ABIE + Signature Information. Details + This class captures a single signature and optionally associates to a signature in the document with the corresponding identifier. + Signature Information + + + + + + + + + BBIE + Signature Information. Identifier + This specifies the identifier of the signature distinguishing it from other signatures. + 0..1 + Signature Information + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature Information. Referenced Signature Identifier. Identifier + This associates this signature with the identifier of a signature business object in the document. + 0..1 + Signature Information + Referenced Signature Identifier + Identifier + Identifier. Type + + + + + + + This is a single digital signature as defined by the W3C specification. + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-SignatureBasicComponents-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-SignatureBasicComponents-2.1.xsd new file mode 100644 index 0000000..cc95181 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-SignatureBasicComponents-2.1.xsd @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-UnqualifiedDataTypes-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-UnqualifiedDataTypes-2.1.xsd new file mode 100644 index 0000000..56cb405 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-UnqualifiedDataTypes-2.1.xsd @@ -0,0 +1,553 @@ + + + + + + + + + + UBLUDT000001 + UDT + Amount. Type + 1.0 + A number of monetary units specified using a given unit of currency. + Amount + + + + + + + + UNDT000001-SC2 + SC + Amount. Currency. Identifier + The currency of the amount. + Amount Currency + Identification + Identifier + string + Reference UNECE Rec 9, using 3-letter alphabetic codes. + + + + + + + + + + + UBLUDT000002 + UDT + Binary Object. Type + 1.0 + A set of finite-length sequences of binary octets. + Binary Object + binary + + + + + + + + UNDT000002-SC3 + SC + Binary Object. Mime. Code + The mime type of the binary object. + Binary Object + Mime + Code + string + + + + + + + + + + + UBLUDT000003 + UDT + Graphic. Type + 1.0 + A diagram, graph, mathematical curve, or similar representation. + Graphic + binary + + + + + + + + UNDT000003-SC3 + SC + Graphic. Mime. Code + The mime type of the graphic object. + Graphic + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000004 + UDT + Picture. Type + 1.0 + A diagram, graph, mathematical curve, or similar representation. + Picture + binary + + + + + + + + UNDT000004-SC3 + SC + Picture. Mime. Code + The mime type of the picture object. + Picture + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000005 + UDT + Sound. Type + 1.0 + An audio representation. + Sound + binary + + + + + + + + UNDT000005-SC3 + SC + Sound. Mime. Code + The mime type of the sound object. + Sound + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000006 + UDT + Video. Type + 1.0 + A video representation. + Video + binary + + + + + + + + UNDT000006-SC3 + SC + Video. Mime. Code + The mime type of the video object. + Video + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000007 + UDT + Code. Type + 1.0 + A character string (letters, figures, or symbols) that for brevity and/or language independence may be used to represent or replace a definitive value or text of an attribute, together with relevant supplementary information. + Code + string + Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the code list and thus, are not declared as attributes. + + + + + + + + + + + UBLUDT000008 + UDT + Date Time. Type + 1.0 + A particular point in the progression of time, together with relevant supplementary information. + Date Time + string + Can be used for a date and/or time. + + + + + + + + + + + UBLUDT000009 + UDT + Date. Type + 1.0 + One calendar day according the Gregorian calendar. + Date + string + + + + + + + + + + + UBLUDT0000010 + UDT + Time. Type + 1.0 + An instance of time that occurs every day. + Time + string + + + + + + + + + + + UBLUDT0000011 + UDT + Identifier. Type + 1.0 + A character string to identify and uniquely distinguish one instance of an object in an identification scheme from all other objects in the same scheme, together with relevant supplementary information. + Identifier + string + Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the identifier list and thus, are not declared as attributes. + + + + + + + + + + + UBLUDT0000012 + UDT + Indicator. Type + 1.0 + A list of two mutually exclusive Boolean values that express the only possible states of a property. + Indicator + string + + + + + + + + + + + UBLUDT0000013 + UDT + Measure. Type + 1.0 + A numeric value determined by measuring an object using a specified unit of measure. + Measure + Type + decimal + + + + + + + + UNDT000013-SC2 + SC + Measure. Unit. Code + The type of unit of measure. + Measure Unit + Code + Code + normalizedString + Reference UNECE Rec. 20 and X12 355 + + + + + + + + + + + UBLUDT0000014 + UDT + Numeric. Type + 1.0 + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Numeric + string + + + + + + + + + + + UBLUDT0000015 + UDT + 1.0 + Value. Type + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Value + string + + + + + + + + + + + UBLUDT0000016 + UDT + 1.0 + Percent. Type + Numeric information that is assigned or is determined by calculation, counting, or sequencing and is expressed as a percentage. It does not require a unit of quantity or unit of measure. + Percent + string + + + + + + + + + + + UBLUDT0000017 + UDT + 1.0 + Rate. Type + A numeric expression of a rate that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Rate + string + + + + + + + + + + + UBLUDT0000018 + UDT + Quantity. Type + 1.0 + A counted number of non-monetary units, possibly including a fractional part. + Quantity + decimal + + + + + + + + + + + UBLUDT0000019 + UDT + Text. Type + 1.0 + A character string (i.e. a finite set of characters), generally in the form of words of a language. + Text + string + + + + + + + + + + + UBLUDT0000020 + UDT + Name. Type + 1.0 + A character string that constitutes the distinctive designation of a person, place, thing or concept. + Name + string + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-XAdESv132-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-XAdESv132-2.1.xsd new file mode 100644 index 0000000..1c079b5 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-XAdESv132-2.1.xsd @@ -0,0 +1,476 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-XAdESv141-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-XAdESv141-2.1.xsd new file mode 100644 index 0000000..4be9191 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-XAdESv141-2.1.xsd @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-xmldsig-core-schema-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-xmldsig-core-schema-2.1.xsd new file mode 100644 index 0000000..a0fb04a --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/common/UBL-xmldsig-core-schema-2.1.xsd @@ -0,0 +1,330 @@ + + + + + + + ]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ApplicationResponse-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ApplicationResponse-2.1.xsd new file mode 100644 index 0000000..5713d0d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ApplicationResponse-2.1.xsd @@ -0,0 +1,362 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Application Response. Details + A document to indicate the application's response to a transaction. This may be a business response initiated by a user or a technical response sent automatically by an application. + Application Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Application Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Application Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Application Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Application Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Application Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Application Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Application Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Application Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Application Response. Identifier + An identifier for this document, assigned by the sender. + 1 + Application Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Application Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Application Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Application Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Application Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Application Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Application Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Application Response. Response Date. Date + The date on which the information in the response was created. + 0..1 + Application Response + Response Date + Date + Date. Type + + + + + + + + + BBIE + Application Response. Response Time. Time + The time at which the information in the response was created. + 0..1 + Application Response + Response Time + Time + Time. Type + + + + + + + + + BBIE + Application Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Application Response + Note + Text + Text. Type + + + + + + + + + BBIE + Application Response. Version. Identifier + Identifies the current version of this document. + 0..1 + Application Response + Version + Identifier + Identifier. Type + + + + + + + + + ASBIE + Application Response. Signature + A signature applied to this document. + 0..n + Application Response + Signature + Signature + Signature + + + + + + + + + ASBIE + Application Response. Sender_ Party. Party + The party sending this document. + 1 + Application Response + Sender + Party + Party + Party + + + + + + + + + ASBIE + Application Response. Receiver_ Party. Party + The party receiving this document. + 1 + Application Response + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Application Response. Document Response + A response to a document. + 0..n + Application Response + Document Response + Document Response + Document Response + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-AttachedDocument-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-AttachedDocument-2.1.xsd new file mode 100644 index 0000000..24c048a --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-AttachedDocument-2.1.xsd @@ -0,0 +1,416 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Attached Document. Details + A wrapper that allows a document of any kind to be packaged with the UBL document that references it. + Attached Document + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Attached Document. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Attached Document + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Attached Document. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Attached Document + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Attached Document. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Attached Document + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Attached Document. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Attached Document + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Identifier + An identifier for this document, assigned by the sender. + 1 + Attached Document + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Attached Document + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Attached Document + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Attached Document. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Attached Document + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Attached Document. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Attached Document + Note + Text + Text. Type + + + + + + + + + BBIE + Attached Document. Document Type Code. Code + A code signifying the type of document. + 0..1 + Attached Document + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Attached Document. Document Type. Text + Text specifying the type of document. + 0..1 + Attached Document + Document Type + Text + Text. Type + + + + + + + + + BBIE + Attached Document. Parent_ Document Identifier. Identifier + The Identifier of the parent document. + 1 + Attached Document + Parent + Document Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Parent_ Document Type Code. Code + A code signifying the type of parent document. + 0..1 + Attached Document + Parent + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Attached Document. Parent Document_ Version. Identifier + Indicates the current version of the referred document. + 0..1 + Attached Document + Parent Document + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + ASBIE + Attached Document. Signature + A signature applied to this document. + 0..n + Attached Document + Signature + Signature + Signature + + + + + + + + + ASBIE + Attached Document. Sender_ Party. Party + The party sending this document. + 1 + Attached Document + Sender + Party + Party + Party + + + + + + + + + ASBIE + Attached Document. Receiver_ Party. Party + The party receiving this document. + 1 + Attached Document + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Attached Document. Attachment + An attachment containing the document content. + 1 + Attached Document + Attachment + Attachment + Attachment + + + + + + + + + ASBIE + Attached Document. Parent Document_ Line Reference. Line Reference + A reference to a line in the attached document. + 0..n + Attached Document + Parent Document + Line Reference + Line Reference + Line Reference + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-AwardedNotification-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-AwardedNotification-2.1.xsd new file mode 100644 index 0000000..2bb77ca --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-AwardedNotification-2.1.xsd @@ -0,0 +1,418 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Awarded Notification. Details + The document used to communicate a contract award to the winner. + Awarded Notification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Awarded Notification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Awarded Notification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Awarded Notification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Awarded Notification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Awarded Notification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Awarded Notification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Awarded Notification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Awarded Notification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Awarded Notification. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Awarded Notification + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarded Notification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Awarded Notification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Awarded Notification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Awarded Notification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarded Notification. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Awarded Notification + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarded Notification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Awarded Notification + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Awarded Notification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Awarded Notification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Awarded Notification. Contract Name. Text + The name, expressed as text, of this procurement project. + 0..n + Awarded Notification + Contract Name + Text + Text. Type + + + + + + + + + BBIE + Awarded Notification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Awarded Notification + Note + Text + Text. Type + + + + + + + + + ASBIE + Awarded Notification. Sender_ Party. Party + The party sending this document. + 1 + Awarded Notification + Sender + Party + Party + Party + + + + + + + + + ASBIE + Awarded Notification. Receiver_ Party. Party + The party receiving this document. + 1 + Awarded Notification + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Awarded Notification. Minutes_ Document Reference. Document Reference + A reference to a set of minutes associated with this award. + 0..1 + Awarded Notification + Minutes + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Awarded Notification. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Awarded Notification + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Awarded Notification. Tender Result + The result of the tendering process reported in this notification. + 1..n + Awarded Notification + Tender Result + Tender Result + Tender Result + + + + + + + + + ASBIE + Awarded Notification. Final_ Financial Guarantee. Financial Guarantee + A bond guarantee by the submitter of a tender or bid, required of the tender winner. + 0..n + Awarded Notification + Final + Financial Guarantee + Financial Guarantee + Financial Guarantee + + + + + + + + + ASBIE + Awarded Notification. Signature + A signature applied to this document. + 0..n + Awarded Notification + Signature + Signature + Signature + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-BillOfLading-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-BillOfLading-2.1.xsd new file mode 100644 index 0000000..b446936 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-BillOfLading-2.1.xsd @@ -0,0 +1,540 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Bill Of Lading. Details + A document issued by the party who acts as an agent for a transportation carrier or other agents to the party who gives instructions for the transportation services (shipper, consignor, etc.) stating the details of the transportation, charges, and terms and conditions under which the transportation service is provided. The party issuing this document does not necessarily provide the physical transportation service. The information in the Bill of Lading corresponds to the information on the Forwarding Instructions. It is used for any mode of transport. A Bill of Lading can serve as a contractual document between the parties for the transportation service. The document evidences a contract of carriage by sea and the acceptance of responsibility for the goods by the carrier, by which the carrier undertakes to deliver the goods against surrender of the document. A provision in the document that the goods are to be delivered to the order of a named person, or to order, or to bearer, constitutes such an undertaking. + Bill Of Lading + House Bill of Landing, Master Bill, Bill + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Bill Of Lading. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Bill Of Lading + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Bill Of Lading. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Bill Of Lading + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Bill Of Lading. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Bill Of Lading + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Bill Of Lading. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Bill Of Lading + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Bill Of Lading. Identifier + An identifier for this document, assigned by the sender. + 1 + Bill Of Lading + Identifier + Identifier + Identifier. Type + Bill of Lading Number + + + + + + + + + BBIE + Bill Of Lading. Carrier Assigned_ Identifier. Identifier + Reference number (such as a booking reference number) assigned by a carrier or its agent to identify a specific shipment when cargo space is reserved prior to loading. + 0..1 + Bill Of Lading + Carrier Assigned + Identifier + Identifier + Identifier. Type + Booking Reference Number + + + + + + + + + BBIE + Bill Of Lading. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Bill Of Lading + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Bill Of Lading. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Bill Of Lading + Issue Date + Date + Date. Type + Transport Document Date + + + + + + + + + BBIE + Bill Of Lading. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Bill Of Lading + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Bill Of Lading. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Bill Of Lading + Name + Name + Name. Type + House Bill , Consolidated Bill of Lading , Proforma , Sea Waybill + + + + + + + + + BBIE + Bill Of Lading. Description. Text + Textual description of the document instance. + 0..n + Bill Of Lading + Description + Text + Text. Type + + + + + + + + + BBIE + Bill Of Lading. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Bill Of Lading + Note + Text + Text. Type + + + + + + + + + BBIE + Bill Of Lading. Document Status Code. Code + A code signifying the status of the Bill Of Lading (revision, replacement, etc.). + 0..1 + Bill Of Lading + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Bill Of Lading. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order or Forwarding Instruction. + 0..1 + Bill Of Lading + Shipping Order Identifier + Identifier + Identifier. Type + Freight forwarding instruction, Shippers letter of instruction + + + + + + + + + BBIE + Bill Of Lading. To Order_ Indicator. Indicator + Indicates whether the transport document is consigned to order. + 0..1 + Bill Of Lading + To Order + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Bill Of Lading. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Bill Of Lading + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Bill Of Lading. Declared Carriage_ Value. Amount + Value declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage in case of loss or damage to goods or delayed delivery. + 0..1 + Bill Of Lading + Declared Carriage + Value + Amount + Amount. Type + Interest in Delivery + + + + + + + + + BBIE + Bill Of Lading. Other_ Instruction. Text + Other free-text instructions to the forwarders or carriers related to the shipment. This element should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Bill Of Lading + Other + Instruction + Text + Text. Type + Bill of Lading Remark + + + + + + + + + ASBIE + Bill Of Lading. Consignor_ Party. Party + The party consigning goods as stipulated in the transport contract by the party ordering transport. + 0..1 + Bill Of Lading + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Bill Of Lading. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Bill Of Lading + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Bill Of Lading. Freight Forwarder_ Party. Party + A party combining individual smaller consignments into a single larger shipment (a so-called consolidated consignment or shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Bill Of Lading + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Bill Of Lading. Shipment + An identifiable collection of one or more goods items to be transported between the seller party and the buyer party. + 0..1 + Bill Of Lading + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Bill Of Lading. Document Reference + A reference to another document associated with this document. + 0..n + Bill Of Lading + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Bill Of Lading. Exchange Rate + Information that directly relates to the rate of exchange (conversion) between two currencies. + 0..n + Bill Of Lading + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Bill Of Lading. Document Distribution + A list of interested parties to whom this document is distributed. + 0..n + Bill Of Lading + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Bill Of Lading. Signature + A signature applied to this document. + 0..n + Bill Of Lading + Signature + Signature + Signature + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CallForTenders-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CallForTenders-2.1.xsd new file mode 100644 index 0000000..1d6ad9c --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CallForTenders-2.1.xsd @@ -0,0 +1,513 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Call For Tenders. Details + A document used by a Contracting Party to define a procurement project to buy goods, services, or works during a specified period. + Call For Tenders + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Call For Tenders. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Call For Tenders + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Call For Tenders + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Call For Tenders + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Call For Tenders + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Call For Tenders + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Call For Tenders + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Call For Tenders. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Call For Tenders + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Call For Tenders + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Approval Date. Date + The date, assigned by the contracting party, on which the Call For Tenders was approved. + 0..1 + Call For Tenders + Approval Date + Date + Date. Type + + + + + + + + + BBIE + Call For Tenders. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Call For Tenders + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Call For Tenders. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Call For Tenders + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Call For Tenders. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Call For Tenders + Note + Text + Text. Type + + + + + + + + + BBIE + Call For Tenders. Version. Identifier + Indicates the current version of the Call for Tenders. + 0..1 + Call For Tenders + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Call For Tenders. Previous_ Version. Identifier + Identifies the previous version of the Call for Tenders which is superceded by this version. + 0..1 + Call For Tenders + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + ASBIE + Call For Tenders. Legal_ Document Reference. Document Reference + A reference to a legal document. + 0..1 + Call For Tenders + Legal + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Technical_ Document Reference. Document Reference + A reference to a technical document. + 0..1 + Call For Tenders + Technical + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Call For Tenders + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Signature + A signature applied to this document. + 0..n + Call For Tenders + Signature + Signature + Signature + + + + + + + + + ASBIE + Call For Tenders. Contracting Party + The contracting party. + 1 + Call For Tenders + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Call For Tenders. Originator_ Customer Party. Customer Party + The party who originated Order. + 0..n + Call For Tenders + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Call For Tenders. Receiver_ Party. Party + The party receiving this document. + 0..1 + Call For Tenders + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Call For Tenders. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Call For Tenders + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Call For Tenders. Tendering Process + A description of the tendering process itself. + 0..1 + Call For Tenders + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Call For Tenders. Procurement Project + An overall definition of this procurement project. + 1 + Call For Tenders + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Call For Tenders. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Call For Tenders + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Catalogue-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Catalogue-2.1.xsd new file mode 100644 index 0000000..d89a2fd --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Catalogue-2.1.xsd @@ -0,0 +1,565 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue. Details + A document that describes items, prices, and price validity. + Catalogue + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Catalogue. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue. Action Code. Code + A code signifying whether the transaction is a replacement or an update. + 0..1 + Catalogue + Action Code + Code + Code. Type + Replace , Update . + + + + + + + + + BBIE + Catalogue. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue + Name + Name + Name. Type + winter 2005 collection + + + + + + + + + BBIE + Catalogue. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue. Revision Date. Date + The date, assigned by the seller party, on which the information in the Catalogue was last revised. + 0..1 + Catalogue + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue. Revision Time. Time + The time, assigned by the Seller party, at which the information in the Catalogue was last revised. + 0..1 + Catalogue + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue. Description. Text + Textual description of the document instance. + 0..n + Catalogue + Description + Text + Text. Type + computer accessories for laptops + + + + + + + + + BBIE + Catalogue. Version. Identifier + An identifier for the current version of the Catalogue. + 0..1 + Catalogue + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue. Previous_ Version. Identifier + An identifier for the previous version of the Catalogue that is superseded by this version. + 0..1 + Catalogue + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + BBIE + Catalogue. Line Count. Numeric + The number of Catalogue Lines in the document. + 0..1 + Catalogue + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue. Validity_ Period. Period + A period, assigned by the seller, during which the information in the Catalogue is effective. This may be given as start and end dates or as a duration. + 0..n + Catalogue + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue. Referenced_ Contract. Contract + A contract or framework agreement with which this Catalogue is associated. + 0..n + Catalogue + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue. Source_ Catalogue Reference. Catalogue Reference + A reference to the source catalogue. + 0..1 + Catalogue + Source + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue. Document Reference + A reference to another document associated with this document. + 0..n + Catalogue + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue. Signature + A signature applied to this document. + 0..n + Catalogue + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue. Provider_ Party. Party + The party providing the Catalogue. + 1 + Catalogue + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue. Receiver_ Party. Party + The party receiving the Catalogue. + 1 + Catalogue + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue. Trading Terms + The trading terms associated with this Catalogue. + 0..n + Catalogue + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue. Catalogue Line + A line in a Catalogue describing an item of sale. + 1..n + Catalogue + Catalogue Line + Catalogue Line + Catalogue Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueDeletion-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueDeletion-2.1.xsd new file mode 100644 index 0000000..842a6f6 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueDeletion-2.1.xsd @@ -0,0 +1,465 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Deletion. Details + A document used to cancel an entire Catalogue. + Catalogue Deletion + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Deletion. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Deletion + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Deletion. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Deletion + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Deletion. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue Deletion + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Deletion. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Deletion + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Catalogue Deletion. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Deletion + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Deletion. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Deletion + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Deletion. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Deletion + Name + Name + Name. Type + + + + + + + + + BBIE + Catalogue Deletion. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Deletion + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Deletion. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Deletion + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Deletion. Effective Date. Date + The effective date, assigned by the seller, on which the Catalogue expires. + 0..1 + Catalogue Deletion + Effective Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Deletion. Effective Time. Time + The effective time, assigned by the seller, at which the Catalogue expires. + 0..1 + Catalogue Deletion + Effective Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Deletion. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Deletion + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Deletion. Version. Identifier + Identifies the current version of the Catalogue. + 0..1 + Catalogue Deletion + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Deletion. Description. Text + Textual description of the document instance. + 0..n + Catalogue Deletion + Description + Text + Text. Type + stock no longer provided + + + + + + + + + ASBIE + Catalogue Deletion. Validity_ Period. Period + The period during which the Deletion of the catalogue becomes effective. This may be given as start (after date) and end dates (before date). + 0..n + Catalogue Deletion + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Deletion. Deleted_ Catalogue Reference. Catalogue Reference + A reference to the Catalogue being deleted. + 1 + Catalogue Deletion + Deleted + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Deletion. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue was associated. + 0..n + Catalogue Deletion + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Deletion. Signature + A signature applied to this document. + 0..n + Catalogue Deletion + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Deletion. Receiver_ Party. Party + The party receiving the Catalogue Deletion. + 1 + Catalogue Deletion + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Deletion. Provider_ Party. Party + The party sending the Catalogue Deletion. + 1 + Catalogue Deletion + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Deletion. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Deletion + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Deletion. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue was associated. + 0..1 + Catalogue Deletion + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueItemSpecificationUpdate-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueItemSpecificationUpdate-2.1.xsd new file mode 100644 index 0000000..3aff271 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueItemSpecificationUpdate-2.1.xsd @@ -0,0 +1,533 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Item Specification Update. Details + A document used to update information (e.g., technical descriptions and properties) about Items in an existing Catalogue. + Catalogue Item Specification Update + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Item Specification Update. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Item Specification Update + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Item Specification Update. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Item Specification Update + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Item Specification Update. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Catalogue Item Specification Update + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Item Specification Update. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Item Specification Update + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Item Specification Update + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Item Specification Update + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Item Specification Update + Name + Name + Name. Type + electrical goods - new energy ratings. + + + + + + + + + BBIE + Catalogue Item Specification Update. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Item Specification Update + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Item Specification Update + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Revision Date. Date + The date, assigned by the seller, on which the Catalogue was revised. + 0..1 + Catalogue Item Specification Update + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Revision Time. Time + The time, assigned by the seller, at which the Catalogue was revised. + 0..1 + Catalogue Item Specification Update + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Item Specification Update + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Description. Text + Textual description of the document instance. + 0..n + Catalogue Item Specification Update + Description + Text + Text. Type + ratings based on new environmental standards for EU + + + + + + + + + BBIE + Catalogue Item Specification Update. Version. Identifier + Identifies the current version of the Catalogue. + 0..1 + Catalogue Item Specification Update + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Item Specification Update. Line Count. Numeric + The number of Catalogue Item Specification Update Lines in this document. + 0..1 + Catalogue Item Specification Update + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Item Specification Update. Validity_ Period. Period + A period, assigned by the seller, during which the information in the Catalogue Revision is effective. This may be given as start and end dates or as a duration. + 0..n + Catalogue Item Specification Update + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Item Specification Update. Related_ Catalogue Reference. Catalogue Reference + A reference to the Catalogue being updated. + 1 + Catalogue Item Specification Update + Related + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Item Specification Update. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue is associated. + 0..n + Catalogue Item Specification Update + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Item Specification Update. Signature + A signature applied to this document. + 0..n + Catalogue Item Specification Update + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Item Specification Update. Provider_ Party. Party + The party sending the Catalogue Item Specification Update. + 1 + Catalogue Item Specification Update + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Receiver_ Party. Party + The party receiving the Catalogue Item Specification Update. + 1 + Catalogue Item Specification Update + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Item Specification Update + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue Item Specification Update + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Trading Terms + The trading terms associated with the Catalogue. + 0..1 + Catalogue Item Specification Update + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Item Specification Update. Default_ Language. Language + The default language for the item specifications. + 0..1 + Catalogue Item Specification Update + Default + Language + Language + Language + + + + + + + + + ASBIE + Catalogue Item Specification Update. Catalogue Item Specification Update Line + One or more lines in the Catalogue Item Specification Update, each line updating a specific catalogue item. + 1..n + Catalogue Item Specification Update + Catalogue Item Specification Update Line + Catalogue Item Specification Update Line + Catalogue Item Specification Update Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CataloguePricingUpdate-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CataloguePricingUpdate-2.1.xsd new file mode 100644 index 0000000..8d2b045 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CataloguePricingUpdate-2.1.xsd @@ -0,0 +1,532 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Pricing Update. Details + A document used to update information about prices in an existing Catalogue. + Catalogue Pricing Update + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Pricing Update. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Pricing Update + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Pricing Update. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Pricing Update + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Pricing Update. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Catalogue Pricing Update + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Pricing Update. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Pricing Update + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Pricing Update + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Pricing Update + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Pricing Update + Name + Name + Name. Type + Seasonal Promotion + + + + + + + + + BBIE + Catalogue Pricing Update. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Pricing Update + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Pricing Update + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Revision Date. Date + The date, assigned by the seller, on which the Catalogue was revised. + 0..1 + Catalogue Pricing Update + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Revision Time. Time + The time, assigned by the seller, at which the Catalogue was revised. + 0..1 + Catalogue Pricing Update + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Pricing Update + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Description. Text + Describes the Catalogue Revision. + 0..n + Catalogue Pricing Update + Description + Text + Text. Type + adjustment of prices for Christmas trading period + + + + + + + + + BBIE + Catalogue Pricing Update. Version. Identifier + Indicates the current version of the catalogue. + 0..1 + Catalogue Pricing Update + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Pricing Update. Line Count. Numeric + The number of lines in the document. + 0..1 + Catalogue Pricing Update + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Pricing Update. Validity_ Period. Period + A period, assigned by the seller, during which the information in the Catalogue Revision is effective. This may be given as start and end dates or as a duration. + 0..n + Catalogue Pricing Update + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Pricing Update. Related_ Catalogue Reference. Catalogue Reference + A reference to the Catalogue being updated. + 1 + Catalogue Pricing Update + Related + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Pricing Update. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue is associated. + 0..n + Catalogue Pricing Update + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Pricing Update. Signature + A signature applied to this document. + 0..n + Catalogue Pricing Update + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Pricing Update. Provider_ Party. Party + The party sending the Catalogue Pricing Update. + 1 + Catalogue Pricing Update + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Receiver_ Party. Party + The party receiving the Catalogue Pricing Update. + 1 + Catalogue Pricing Update + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Pricing Update + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue Pricing Update + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Trading Terms + The trading terms associated with the Catalogue. + 0..1 + Catalogue Pricing Update + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Pricing Update. Default_ Language. Language + The default language for the catalogue pricing update. + 0..1 + Catalogue Pricing Update + Default + Language + Language + Language + + + + + + + + + ASBIE + Catalogue Pricing Update. Catalogue Pricing Update Line + One or more lines in the Catalogue Pricing Update, each line updating a specific catalogue item. + 1..n + Catalogue Pricing Update + Catalogue Pricing Update Line + Catalogue Pricing Update Line + Catalogue Pricing Update Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueRequest-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueRequest-2.1.xsd new file mode 100644 index 0000000..d54c80e --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueRequest-2.1.xsd @@ -0,0 +1,571 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Request. Details + A document used to request a Catalogue. + Catalogue Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Request + Name + Name + Name. Type + winter 2005 collection + + + + + + + + + BBIE + Catalogue Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Request + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Request. Description. Text + Textual description of the document instance. + 0..n + Catalogue Request + Description + Text + Text. Type + latest computer accessories for laptops + + + + + + + + + BBIE + Catalogue Request. Pricing Update Request_ Indicator. Indicator + Indicates a request for a pricing update. + 0..1 + Catalogue Request + Pricing Update Request + Indicator + Indicator + Indicator. Type + default is true + + + + + + + + + BBIE + Catalogue Request. Item Update Request_ Indicator. Indicator + Indicates a request for an update of the item specifications. + 0..1 + Catalogue Request + Item Update Request + Indicator + Indicator + Indicator. Type + default is true + + + + + + + + + BBIE + Catalogue Request. Line Count. Numeric + The number of Catalogue Lines in this document. + 0..1 + Catalogue Request + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Request. Validity_ Period. Period + The period, assigned by the Catalogue Managing party, during which the information in the Catalogue requested is to be effective. This may be given as start and end dates or a duration. + 0..n + Catalogue Request + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Request. Signature + A signature applied to this document. + 0..n + Catalogue Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Request. Receiver_ Party. Party + The party receiving the Catalogue Request. + 1 + Catalogue Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Request. Provider_ Party. Party + The party sending the Catalogue Request. + 1 + Catalogue Request + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Request. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Request + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Request. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue Request + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Request. Requested_ Catalogue Reference. Catalogue Reference + A reference to a specific Catalogue; used if the Catalogue Request is for an update. + 0..1 + Catalogue Request + Requested + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Request. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue being requested is associated. + 0..n + Catalogue Request + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Request. Trading Terms + The trading terms associated with the requested Catalogue. + 0..1 + Catalogue Request + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Request. Document Reference + A reference to another document associated with this document. + 0..n + Catalogue Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue Request. Applicable Territory_ Address. Address + A reference to a territory (region, country, city, etc.) to which the requested Catalogue will apply, expressed as an Address. + 0..n + Catalogue Request + Applicable Territory + Address + Address + Address + + + + + + + + + ASBIE + Catalogue Request. Requested_ Language. Language + The language in which the Catalogue is requested to be provided. + 0..1 + Catalogue Request + Requested + Language + Language + Language + + + + + + + + + ASBIE + Catalogue Request. Requested_ Classification Scheme. Classification Scheme + A requested classification scheme for the requested Catalogue. + 0..n + Catalogue Request + Requested + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + ASBIE + Catalogue Request. Catalogue Request Line + An association to specific Catalogue Lines for the catalogue requested. + 0..n + Catalogue Request + Catalogue Request Line + Catalogue Request Line + Catalogue Request Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CertificateOfOrigin-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CertificateOfOrigin-2.1.xsd new file mode 100644 index 0000000..c06c8b5 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CertificateOfOrigin-2.1.xsd @@ -0,0 +1,417 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Certificate Of Origin. Details + A document that describes the Certificate of Origin. + Certificate Of Origin + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Certificate Of Origin. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Certificate Of Origin + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Certificate Of Origin. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Certificate Of Origin + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Certificate Of Origin. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Certificate Of Origin + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Certificate Of Origin. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Certificate Of Origin + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Certificate Of Origin. Identifier + An identifier for this document, assigned by the sender. + 1 + Certificate Of Origin + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Certificate Of Origin + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Certificate Of Origin + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Certificate Of Origin. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Certificate Of Origin + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Certificate Of Origin. Description. Text + Textual description of the document instance. + 0..n + Certificate Of Origin + Description + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Certificate Of Origin + Note + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin. Version. Identifier + Identifies the version of this Certificate of Origin. + 0..1 + Certificate Of Origin + Version + Identifier + Identifier. Type + + + + + + + + + ASBIE + Certificate Of Origin. Signature + A signature applied to this document. + 0..n + Certificate Of Origin + Signature + Signature + Signature + + + + + + + + + ASBIE + Certificate Of Origin. Exporter_ Party. Party + The Party who makes the export declaration, or on whose behalf the export declaration is made, and who is the owner of the goods or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Certificate Of Origin + Exporter + Party + Party + Party + Exporter (WCO ID 41 and 42) + + + + + + + + + ASBIE + Certificate Of Origin. Importer_ Party. Party + The Party who makes an import declaration, or on whose behalf a Customs clearing agent or other authorized person makes an import declaration. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Certificate Of Origin + Importer + Party + Party + Party + Importer (WCO ID 39 and 40) + + + + + + + + + ASBIE + Certificate Of Origin. Endorser Party + The Party providing the endorsement. + 0..n + Certificate Of Origin + Endorser Party + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Certificate Of Origin. Certificate Of Origin Application + Details of the application for a Certificate of Origin. + 1 + Certificate Of Origin + Certificate Of Origin Application + Certificate Of Origin Application + Certificate Of Origin Application + + + + + + + + + ASBIE + Certificate Of Origin. Issuer_ Endorsement. Endorsement + Issuer Endorsement details. + 1 + Certificate Of Origin + Issuer + Endorsement + Endorsement + Endorsement + + + + + + + + + ASBIE + Certificate Of Origin. Embassy_ Endorsement. Endorsement + Embassy Endorsement details. + 0..1 + Certificate Of Origin + Embassy + Endorsement + Endorsement + Endorsement + + + + + + + + + ASBIE + Certificate Of Origin. Insurance_ Endorsement. Endorsement + Insurance Endorsement details. + 0..1 + Certificate Of Origin + Insurance + Endorsement + Endorsement + Endorsement + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ContractAwardNotice-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ContractAwardNotice-2.1.xsd new file mode 100644 index 0000000..5ac44d5 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ContractAwardNotice-2.1.xsd @@ -0,0 +1,493 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Contract Award Notice. Details + A document published by a Contracting Party to announce the awarding of a procurement project. + Contract Award Notice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Contract Award Notice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Contract Award Notice + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Contract Award Notice + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Contract Award Notice + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Contract Award Notice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Contract Award Notice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Contract Award Notice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Contract Award Notice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Contract Award Notice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Contract Award Notice + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Contract Award Notice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Contract Award Notice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Contract Award Notice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Contract Award Notice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Contract Award Notice + Note + Text + Text. Type + + + + + + + + + BBIE + Contract Award Notice. Regulatory Domain. Text + Information about the law that defines the regulatory domain. + 0..n + Contract Award Notice + Regulatory Domain + Text + Text. Type + + + + + + + + + BBIE + Contract Award Notice. Publish Award Indicator. Indicator + An indicator specifying if the notice is published for service contracts within certain service categories (true) or not (false). + 0..1 + Contract Award Notice + Publish Award Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Contract Award Notice. Previous_ Document Reference. Document Reference + A reference to a previously sent document. + 0..n + Contract Award Notice + Previous + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Contract Award Notice. Minutes_ Document Reference. Document Reference + A reference to a set of minutes. + 0..n + Contract Award Notice + Minutes + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Contract Award Notice. Signature + A signature applied to this document. + 0..n + Contract Award Notice + Signature + Signature + Signature + + + + + + + + + ASBIE + Contract Award Notice. Contracting Party + The contracting party. + 1 + Contract Award Notice + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Contract Award Notice. Originator_ Customer Party. Customer Party + The party who originated Order. + 0..1 + Contract Award Notice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Contract Award Notice. Receiver_ Party. Party + The party receiving this document. + 0..1 + Contract Award Notice + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Contract Award Notice. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Contract Award Notice + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Contract Award Notice. Tendering Process + A description of the tendering process itself. + 0..1 + Contract Award Notice + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Contract Award Notice. Procurement Project + An overall definition of this procurement project. + 0..1 + Contract Award Notice + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Contract Award Notice. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Contract Award Notice + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Contract Award Notice. Tender Result + A result of the bid opening in the tendering process. + 1..n + Contract Award Notice + Tender Result + Tender Result + Tender Result + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ContractNotice-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ContractNotice-2.1.xsd new file mode 100644 index 0000000..999585a --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ContractNotice-2.1.xsd @@ -0,0 +1,459 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Contract Notice. Details + A document used by a Contracting party to announce a project to buy goods, services, or works. + Contract Notice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Contract Notice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Contract Notice + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Contract Notice + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Contract Notice + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Contract Notice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Contract Notice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Contract Notice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Contract Notice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Contract Notice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Contract Notice + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Contract Notice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Contract Notice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Contract Notice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Contract Notice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Contract Notice + Note + Text + Text. Type + + + + + + + + + BBIE + Contract Notice. Requested_ Publication Date. Date + The requested publication date for this Contract Notice. + 0..1 + Contract Notice + Requested + Publication Date + Date + Date. Type + + + + + + + + + BBIE + Contract Notice. Regulatory Domain. Text + Information about the law that defines the regulatory domain. + 0..n + Contract Notice + Regulatory Domain + Text + Text. Type + + + + + + + + + ASBIE + Contract Notice. Frequency_ Period. Period + The estimated frequency of future notices. + 0..1 + Contract Notice + Frequency + Period + Period + Period + + + + + + + + + ASBIE + Contract Notice. Signature + A signature applied to this document. + 0..n + Contract Notice + Signature + Signature + Signature + + + + + + + + + ASBIE + Contract Notice. Contracting Party + The contracting party. + 1 + Contract Notice + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Contract Notice. Originator_ Customer Party. Customer Party + A party who originally requested the tender. + 0..n + Contract Notice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Contract Notice. Receiver_ Party. Party + The party receiving this document. + 0..1 + Contract Notice + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Contract Notice. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Contract Notice + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Contract Notice. Tendering Process + A description of the tendering process itself. + 0..1 + Contract Notice + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Contract Notice. Procurement Project + An overall definition of this procurement project. + 1 + Contract Notice + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Contract Notice. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Contract Notice + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CreditNote-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CreditNote-2.1.xsd new file mode 100644 index 0000000..7fda93c --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CreditNote-2.1.xsd @@ -0,0 +1,951 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Credit Note. Details + A document used to specify credits due to the Debtor from the Creditor. + Credit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Credit Note. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Credit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Credit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Credit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Credit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Credit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Credit Note. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Credit Note + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Credit Note. Identifier + An identifier for this document, assigned by the sender. + 1 + Credit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Credit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Credit Note. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Credit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Credit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Credit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Credit Note. Tax Point Date. Date + The date of the Credit Note, used to indicate the point at which tax becomes applicable. + 0..1 + Credit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note. Credit Note Type Code. Code + A code signifying the type of the Credit Note. + 0..1 + Credit Note + Credit Note Type Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Credit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Credit Note. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Credit Note + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Credit Note. + 0..1 + Credit Note + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Credit Note. + 0..1 + Credit Note + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Credit Note. + 0..1 + Credit Note + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Credit Note. + 0..1 + Credit Note + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Accounting Cost Code. Code + The buyer's accounting code, applied to the Credit Note as a whole. + 0..1 + Credit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note. Accounting Cost. Text + The buyer's accounting code, applied to the Credit Note as a whole, expressed as text. + 0..1 + Credit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Credit Note. Line Count. Numeric + The number of Credit Note Lines in the document. + 0..1 + Credit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Credit Note. Buyer_ Reference. Text + A reference provided by the buyer used for internal routing of the document. + 0..1 + Credit Note + Buyer + Reference + Text + Text. Type + + + + + + + + + ASBIE + Credit Note. Invoice_ Period. Period + Associates the Credit Note with Invoicing Periods rather than with a specific Invoice. + 0..n + Credit Note + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Credit Note. Discrepancy_ Response. Response + A reason for the Credit Note as a whole. + 0..n + Credit Note + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Credit Note. Order Reference + The Order associated with this Credit Note. + 0..1 + Credit Note + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Credit Note. Billing Reference + A reference to a billing document associated with this document. + 0..n + Credit Note + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Credit Note. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Credit Note + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Credit Note + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Credit Note + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Credit Note + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Credit Note + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Credit Note + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Signature + A signature applied to this document. + 0..n + Credit Note + Signature + Signature + Signature + + + + + + + + + ASBIE + Credit Note. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Credit Note + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Credit Note. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Credit Note + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Credit Note. Payee_ Party. Party + The payee. + 0..1 + Credit Note + Payee + Party + Party + Party + + + + + + + + + ASBIE + Credit Note. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Credit Note + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Credit Note. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Credit Note + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Credit Note. Tax Representative_ Party. Party + The tax representative. + 0..1 + Credit Note + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Credit Note. Delivery + A delivery associated with this document. + 0..n + Credit Note + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Credit Note. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Credit Note + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Credit Note. Payment Means + Expected means of payment. + 0..n + Credit Note + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Credit Note. Payment Terms + A set of payment terms associated with this document. + 0..n + Credit Note + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Credit Note. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Credit Note + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Credit Note + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Credit Note + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Credit Note + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Credit Note + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Credit Note. Tax Total + The total amount of a specific type of tax. + 0..n + Credit Note + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Credit Note. Legal_ Monetary Total. Monetary Total + The total amount payable on the Credit Note, including allowances, charges, and taxes. + 1 + Credit Note + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Credit Note. Credit Note Line + A Credit Note line. + 1..n + Credit Note + Credit Note Line + Credit Note Line + Credit Note Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DebitNote-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DebitNote-2.1.xsd new file mode 100644 index 0000000..695454b --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DebitNote-2.1.xsd @@ -0,0 +1,916 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Debit Note. Details + A document used to specify debts incurred by the Debtor. + Debit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Debit Note. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Debit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Debit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Debit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Debit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Debit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Debit Note. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Debit Note + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Debit Note. Identifier + An identifier for this document, assigned by the sender. + 1 + Debit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Debit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Debit Note. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Debit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Debit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Debit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Debit Note. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Debit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Debit Note. Tax Point Date. Date + The date of the Debit Note, used to indicate the point at which tax becomes applicable. + 0..1 + Debit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Debit Note + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Debit Note. + 0..1 + Debit Note + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Debit Note. + 0..1 + Debit Note + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Debit Note. + 0..1 + Debit Note + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Debit Note. + 0..1 + Debit Note + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Accounting Cost Code. Code + The Buyer's accounting code, applied to the Credit Note as a whole. + 0..1 + Debit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Debit Note. Accounting Cost. Text + The Buyer's accounting code, applied to the Credit Note as a whole, expressed as text. + 0..1 + Debit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Debit Note. Line Count. Numeric + The number of Debit Note Lines in this document. + 0..1 + Debit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Debit Note. Invoice_ Period. Period + A period (rather than a specific invoice) associated with this document. + 0..n + Debit Note + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Debit Note. Discrepancy_ Response. Response + A reason for the Debit Note as a whole. + 0..n + Debit Note + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Debit Note. Order Reference + A reference to an Order with which this Debit Note is associated. + 0..1 + Debit Note + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Debit Note. Billing Reference + A reference to a billing document associated with this document. + 0..n + Debit Note + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Debit Note. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Debit Note + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Debit Note + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Debit Note + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Debit Note + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Debit Note + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Signature + A signature applied to this document. + 0..n + Debit Note + Signature + Signature + Signature + + + + + + + + + ASBIE + Debit Note. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Debit Note + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Debit Note. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Debit Note + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Debit Note. Payee_ Party. Party + The payee. + 0..1 + Debit Note + Payee + Party + Party + Party + + + + + + + + + ASBIE + Debit Note. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Debit Note + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Debit Note. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Debit Note + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Debit Note. Tax Representative_ Party. Party + The tax representative. + 0..1 + Debit Note + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Debit Note. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Debit Note + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Debit Note. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Debit Note + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Debit Note. Delivery + A delivery associated with this document. + 0..n + Debit Note + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Debit Note. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Debit Note + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Debit Note. Payment Means + Expected means of payment. + 0..n + Debit Note + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Debit Note. Payment Terms + A set of payment terms associated with this document. + 0..n + Debit Note + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Debit Note. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Debit Note + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Debit Note + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Debit Note + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Debit Note + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Tax Total + The total amount of a specific type of tax. + 0..n + Debit Note + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Debit Note. Requested_ Monetary Total. Monetary Total + The total amount payable on the Debit Note, including allowances, charges, and taxes. + 1 + Debit Note + Requested + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Debit Note. Debit Note Line + A Debit Note line. + 1..n + Debit Note + Debit Note Line + Debit Note Line + Debit Note Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DespatchAdvice-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DespatchAdvice-2.1.xsd new file mode 100644 index 0000000..035df0e --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DespatchAdvice-2.1.xsd @@ -0,0 +1,482 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Despatch Advice. Details + A document used to describe the despatch or delivery of goods and services. + Despatch Advice + Ship Note, Dispatch Advice, Consignment Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Despatch Advice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Despatch Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Despatch Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Despatch Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Despatch Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Despatch Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Despatch Advice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Despatch Advice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Identifier + An identifier for this document, assigned by the sender. + 1 + Despatch Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Despatch Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Despatch Advice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Despatch Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Despatch Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Despatch Advice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Despatch Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Despatch Advice. Document Status Code. Code + A code signifying the status of the Despatch Advice with respect to its original state. This code may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancellation or revision. + 0..1 + Despatch Advice + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Despatch Advice. Despatch Advice Type Code. Code + A code signifying the type of the Despatch Advice. + 0..1 + Despatch Advice + Despatch Advice Type Code + Code + Code. Type + + + + + + + + + BBIE + Despatch Advice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Despatch Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Despatch Advice. Line Count. Numeric + The number of Despatch Lines in this document. + 0..1 + Despatch Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Despatch Advice. Order Reference + A reference to an Order with which this Despatch Advice is associated. + 0..n + Despatch Advice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Despatch Advice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Despatch Advice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Despatch Advice. Signature + A signature applied to this document. + 0..n + Despatch Advice + Signature + Signature + Signature + + + + + + + + + ASBIE + Despatch Advice. Despatch_ Supplier Party. Supplier Party + The despatch party. + 1 + Despatch Advice + Despatch + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Despatch Advice. Delivery_ Customer Party. Customer Party + The delivery recipient. + 1 + Despatch Advice + Delivery + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Despatch Advice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Despatch Advice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Despatch Advice. Originator_ Customer Party. Customer Party + A customer party as originator. + 0..1 + Despatch Advice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Shipment + The shipment. + 0..1 + Despatch Advice + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Despatch Advice. Despatch Line + A Despatch Line associated with a kind of item delivered. + 1..n + Despatch Advice + Despatch Line + Despatch Line + Despatch Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DocumentStatus-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DocumentStatus-2.1.xsd new file mode 100644 index 0000000..aab91e4 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DocumentStatus-2.1.xsd @@ -0,0 +1,350 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Document Status. Details + A document used to provide information about document status. + Document Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Document Status. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Document Status + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Document Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Document Status + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Document Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Document Status + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Document Status. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Document Status + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Document Status. Identifier + An identifier for this document, assigned by the sender. + 1 + Document Status + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Document Status + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Document Status. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Document Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Document Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Document Status. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Document Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Document Status. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Document Status + Note + Text + Text. Type + + + + + + + + + ASBIE + Document Status. Signature + A signature applied to this document. + 0..n + Document Status + Signature + Signature + Signature + + + + + + + + + ASBIE + Document Status. Sender_ Party. Party + The party sending this document. + 0..1 + Document Status + Sender + Party + Party + Party + + + + + + + + + ASBIE + Document Status. Receiver_ Party. Party + The party receiving this document. + 0..1 + Document Status + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Document Status. Document Response + A response to the document. + 0..1 + Document Status + Document Response + Document Response + Document Response + + + + + + + + + ASBIE + Document Status. Additional_ Document Response. Document Response + A document linked or related to the document for which the status was requested. + 0..n + Document Status + Additional + Document Response + Document Response + Document Response + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DocumentStatusRequest-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DocumentStatusRequest-2.1.xsd new file mode 100644 index 0000000..0bd9ada --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DocumentStatusRequest-2.1.xsd @@ -0,0 +1,348 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Document Status Request. Details + A document used to request the status of another document. + Document Status Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Document Status Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Document Status Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Document Status Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Document Status Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Document Status Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Document Status Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Document Status Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Document Status Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Document Status Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Document Status Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Document Status Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Document Status Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Document Status Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Document Status Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Document Status Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Document Status Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Document Status Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Document Status Request + Note + Text + Text. Type + + + + + + + + + BBIE + Document Status Request. Tracking Identifier. Identifier + An identifier for tracking status of the business process . + 0..1 + Document Status Request + Tracking Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Document Status Request. Requested_ Document Reference. Document Reference + The document about which status is requested. + 0..1 + Document Status Request + Requested + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Document Status Request. Signature + A signature applied to this document. + 0..n + Document Status Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Document Status Request. Sender_ Party. Party + The party sending this document. + 0..1 + Document Status Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Document Status Request. Receiver_ Party. Party + The party receiving this document. + 0..1 + Document Status Request + Receiver + Party + Party + Party + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ExceptionCriteria-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ExceptionCriteria-2.1.xsd new file mode 100644 index 0000000..3bf5132 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ExceptionCriteria-2.1.xsd @@ -0,0 +1,417 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Exception Criteria. Details + A document used to specify the thresholds for forecast variance, product activity, and performance history beyond which exceptions should be triggered. + Exception Criteria + Exception Criteria + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Exception Criteria. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Exception Criteria + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Exception Criteria. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Exception Criteria + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Exception Criteria. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Exception Criteria + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Exception Criteria. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Exception Criteria + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Exception Criteria. Identifier + An identifier for this document, assigned by the sender. + 1 + Exception Criteria + Identifier + Identifier + Identifier. Type + Exception Criteria Number + + + + + + + + + BBIE + Exception Criteria. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Exception Criteria + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Exception Criteria. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Exception Criteria + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Criteria. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Exception Criteria + Issue Date + Date + Date. Type + Exception Criteria Date + + + + + + + + + BBIE + Exception Criteria. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Exception Criteria + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Exception Criteria. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Exception Criteria + Note + Text + Text. Type + + + + + + + + + BBIE + Exception Criteria. Version. Identifier + Identifies the current version of this document. + 0..1 + Exception Criteria + Version + Identifier + Identifier. Type + + + + + + + + + ASBIE + Exception Criteria. Validity_ Period. Period + The period of time during which the Exception Criteria is valid. + 1 + Exception Criteria + Validity + Period + Period + Period + + + + + + + + + ASBIE + Exception Criteria. Document Reference + A reference to another document associated with this document. + 0..n + Exception Criteria + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Exception Criteria. Signature + A signature applied to this document. + 0..n + Exception Criteria + Signature + Signature + Signature + + + + + + + + + ASBIE + Exception Criteria. Sender_ Party. Party + The party sending this document. + 1 + Exception Criteria + Sender + Party + Party + Party + + + + + + + + + ASBIE + Exception Criteria. Receiver_ Party. Party + The party receiving this document. + 1 + Exception Criteria + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Exception Criteria. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Exception Criteria + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Exception Criteria. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Exception Criteria + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Exception Criteria. Exception Criteria Line + A line expressing an exception criterion setting thresholds beyond which an exception should be triggered. + 1..n + Exception Criteria + Exception Criteria Line + Exception Criteria Line + Exception Criteria Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ExceptionNotification-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ExceptionNotification-2.1.xsd new file mode 100644 index 0000000..a7f21f3 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ExceptionNotification-2.1.xsd @@ -0,0 +1,403 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Exception Notification. Details + A document used to notify an exception in forecast variance, product activity, or performance history. + Exception Notification + ExceptionNotification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Exception Notification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Exception Notification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Exception Notification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Exception Notification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Exception Notification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Exception Notification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Exception Notification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Exception Notification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Exception Notification. Identifier + An identifier for this document, assigned by the sender. + 1 + Exception Notification + Identifier + Identifier + Identifier. Type + Exception Notification Number + + + + + + + + + BBIE + Exception Notification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Exception Notification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Exception Notification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Exception Notification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Notification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Exception Notification + Issue Date + Date + Date. Type + Exception Notification Date + + + + + + + + + BBIE + Exception Notification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Exception Notification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Exception Notification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Exception Notification + Note + Text + Text. Type + + + + + + + + + ASBIE + Exception Notification. Exception Observation_ Period. Period + The period of time during which the exceptions are observed. + 1 + Exception Notification + Exception Observation + Period + Period + Period + + + + + + + + + ASBIE + Exception Notification. Document Reference + A reference to another document associated with this document. + 0..n + Exception Notification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Exception Notification. Signature + A signature applied to this document. + 0..n + Exception Notification + Signature + Signature + Signature + + + + + + + + + ASBIE + Exception Notification. Sender_ Party. Party + The party sending this document. + 1 + Exception Notification + Sender + Party + Party + Party + + + + + + + + + ASBIE + Exception Notification. Receiver_ Party. Party + The party receiving this document. + 1 + Exception Notification + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Exception Notification. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Exception Notification + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Exception Notification. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Exception Notification + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Exception Notification. Exception Notification Line + A line in the Exception Notification. + 1..n + Exception Notification + Exception Notification Line + Exception Notification Line + Exception Notification Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Forecast-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Forecast-2.1.xsd new file mode 100644 index 0000000..9b983af --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Forecast-2.1.xsd @@ -0,0 +1,454 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Forecast. Details + A document used to forecast sales or orders. + Forecast + Forecast + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Forecast. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Forecast + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Forecast. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Forecast + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Forecast. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Forecast + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Forecast. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Forecast + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Forecast. Identifier + An identifier for this document, assigned by the sender. + 1 + Forecast + Identifier + Identifier + Identifier. Type + Forecast Number + + + + + + + + + BBIE + Forecast. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Forecast + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Forecast + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Forecast + Issue Date + Date + Date. Type + Forecast Date + + + + + + + + + BBIE + Forecast. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Forecast + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Forecast + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast. Version. Identifier + Identifies the current version of this document. + 0..1 + Forecast + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast. Based On Consensus_ Indicator. Indicator + Indicates whether the Forecast is based on consensus (true) or not (false). + 0..1 + Forecast + Based On Consensus + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast. Forecast_ Purpose Code. Code + A code signifying the purpose of the Forecast document. + 1 + Forecast + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Forecast. Forecast_ Period. Period + The period to which the Forecast applies. + 1 + Forecast + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Forecast + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Forecast. Signature + A signature applied to this document. + 0..n + Forecast + Signature + Signature + Signature + + + + + + + + + ASBIE + Forecast. Sender_ Party. Party + The party sending this document. + 1 + Forecast + Sender + Party + Party + Party + + + + + + + + + ASBIE + Forecast. Receiver_ Party. Party + The party receiving this document. + 1 + Forecast + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Forecast. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Forecast + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Forecast. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Forecast + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Forecast. Forecast Line + A Forecast Line. + 1..n + Forecast + Forecast Line + Forecast Line + Forecast Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ForecastRevision-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ForecastRevision-2.1.xsd new file mode 100644 index 0000000..ab4eb34 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ForecastRevision-2.1.xsd @@ -0,0 +1,453 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Forecast Revision. Details + A document used to revise a Forecast. + Forecast Revision + Forecast Revision + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Forecast Revision. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Forecast Revision + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Forecast Revision. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Forecast Revision + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Forecast Revision. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Forecast Revision + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Forecast Revision. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Forecast Revision + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Forecast Revision. Identifier + An identifier for this document, assigned by the sender. + 1 + Forecast Revision + Identifier + Identifier + Identifier. Type + Forecast Revision Number + + + + + + + + + BBIE + Forecast Revision. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Forecast Revision + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast Revision. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Forecast Revision + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Forecast Revision + Issue Date + Date + Date. Type + Forecast Date + + + + + + + + + BBIE + Forecast Revision. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Forecast Revision + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Revision. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Forecast Revision + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast Revision. Sequence Number. Identifier + A sequence number, to ensure the proper sequencing of revisions. + 1 + Forecast Revision + Sequence Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision. Revision_ Status Code. Code + Indicates the revision status of this Forecast Revision. + 0..1 + Forecast Revision + Revision + Status Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Revision. Purpose Code. Code + Indicates the purpose of the revision. + 0..1 + Forecast Revision + Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Forecast Revision. Forecast_ Period. Period + The period to which the Forecast applies. + 1 + Forecast Revision + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast Revision. Original_ Document Reference. Document Reference + The Forecast document being revised. + 0..n + Forecast Revision + Original + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Forecast Revision. Signature + A signature applied to this document. + 0..n + Forecast Revision + Signature + Signature + Signature + + + + + + + + + ASBIE + Forecast Revision. Sender_ Party. Party + The party sending this document. + 1 + Forecast Revision + Sender + Party + Party + Party + + + + + + + + + ASBIE + Forecast Revision. Receiver_ Party. Party + The party receiving this document. + 1 + Forecast Revision + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Forecast Revision. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Forecast Revision + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Forecast Revision. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Forecast Revision + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Forecast Revision. Forecast Revision Line + A line that revises a line in the Forecast. + 1..n + Forecast Revision + Forecast Revision Line + Forecast Revision Line + Forecast Revision Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ForwardingInstructions-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ForwardingInstructions-2.1.xsd new file mode 100644 index 0000000..e2ca102 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ForwardingInstructions-2.1.xsd @@ -0,0 +1,517 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Forwarding Instructions. Details + A document issued to a forwarder, giving instructions regarding the action to be taken for the forwarding of goods described therein. Forwarding Instructions is used by any party who gives instructions for the transportation services required for a consignment of goods to any party who is contracted to provide the transportation services. The parties who issue this document are commonly referred to as the shipper or consignor, while the parties who receive this document are forwarders, carriers, shipping agents, etc. This document may also be issued by a forwarder or shipping agent in its capacity as a shipper. This document can be used to arrange for the transportation (1) of different types of goods or cargoes; (2) whether containerized or non-containerized; (3) through different modes of transport including multi-modal; and (4) from any origin to any destination. + Forwarding Instructions + Forwarding Instruction, Freight Forwarding Instruction, Shippers Letter of Instruction, Shipper's Letter of Instruction, Shipping Instruction + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Forwarding Instructions. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Forwarding Instructions + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Forwarding Instructions. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Forwarding Instructions + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Forwarding Instructions. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Forwarding Instructions + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Forwarding Instructions. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Forwarding Instructions + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Forwarding Instructions. Identifier + An identifier for this document, assigned by the sender. + 1 + Forwarding Instructions + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. Carrier Assigned_ Identifier. Identifier + Reference number assigned by a carrier or its agent to identify a specific shipment, such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Forwarding Instructions + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Forwarding Instructions + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Forwarding Instructions + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Forwarding Instructions. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Forwarding Instructions + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forwarding Instructions. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Forwarding Instructions + Name + Name + Name. Type + + + + + + + + + BBIE + Forwarding Instructions. Description. Text + Textual description of the document instance. + 0..n + Forwarding Instructions + Description + Text + Text. Type + + + + + + + + + BBIE + Forwarding Instructions. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Forwarding Instructions + Note + Text + Text. Type + + + + + + + + + BBIE + Forwarding Instructions. Document Status Code. Code + A code signifying the status of the Forwarding Instructions with respect to its original state. This code may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancellation or revision. + 0..1 + Forwarding Instructions + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Forwarding Instructions. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order. + 0..1 + Forwarding Instructions + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. To Order_ Indicator. Indicator + Indicates whether the transport document is consigned to order. + 0..1 + Forwarding Instructions + To Order + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forwarding Instructions. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Forwarding Instructions + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forwarding Instructions. Declared Carriage_ Value. Amount + Value declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage in case of loss or damage to goods or delayed delivery. + 0..1 + Forwarding Instructions + Declared Carriage + Value + Amount + Amount. Type + + + + + + + + + BBIE + Forwarding Instructions. Other_ Instruction. Text + Contains other free-text instructions to the forwarders or carriers related to the shipment. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Forwarding Instructions + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Forwarding Instructions. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Forwarding Instructions + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Forwarding Instructions. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Forwarding Instructions + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Forwarding Instructions. Freight Forwarder_ Party. Party + A party combining individual smaller consignments into a single larger shipment (a so-called consolidated consignment or shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Forwarding Instructions + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Forwarding Instructions. Shipment + An identifiable collection of one or more goods items to be transported between the seller party and the buyer party. + 1 + Forwarding Instructions + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Forwarding Instructions. Document Reference + A reference to another document associated with this document. + 0..n + Forwarding Instructions + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Forwarding Instructions. Exchange Rate + Information about the rate of exchange (conversion) between two currencies. + 0..n + Forwarding Instructions + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Forwarding Instructions. Signature + A signature applied to this document. + 0..n + Forwarding Instructions + Signature + Signature + Signature + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-FreightInvoice-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-FreightInvoice-2.1.xsd new file mode 100644 index 0000000..7b642d1 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-FreightInvoice-2.1.xsd @@ -0,0 +1,867 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Freight Invoice. Details + A document stating the charges incurred for a logistics service. + Freight Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Freight Invoice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Freight Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Freight Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Freight Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Freight Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Freight Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Freight Invoice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Freight Invoice + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Freight Invoice. Identifier + An identifier for this document, assigned by the sender. + 1 + Freight Invoice + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Freight Invoice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Freight Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Freight Invoice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Freight Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Freight Invoice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Freight Invoice + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Freight Invoice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Freight Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Freight Invoice. Invoice Type Code. Code + A code signifying the type of the Freight Invoice. + 0..1 + Freight Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Freight Invoice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Freight Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Freight Invoice. Tax Point Date. Date + The date of the Freight Invoice, used to indicate the point at which tax becomes applicable. + 0..1 + Freight Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Freight Invoice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Freight Invoice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Freight Invoice. + 0..1 + Freight Invoice + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Freight Invoice. + 0..1 + Freight Invoice + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Freight Invoice. + 0..1 + Freight Invoice + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Freight Invoice. + 0..1 + Freight Invoice + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Accounting Cost Code. Code + The buyer's accounting code, applied to the Freight Invoice as a whole. + 0..1 + Freight Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Freight Invoice. Accounting Cost. Text + The buyer's accounting cost centre, applied to the Freight Invoice as a whole, expressed as text. + 0..1 + Freight Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Freight Invoice. Line Count. Numeric + The number of Invoice Lines in the document. + 0..1 + Freight Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Freight Invoice. Invoice_ Period. Period + The time periods to which the Freight Invoice applies. + 0..n + Freight Invoice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Freight Invoice. Shipment + Details about one or more shipments covered by this Freight Invoice. + 1..n + Freight Invoice + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Freight Invoice. Order Reference + Reference to an Order associated with this Freight Invoice. + 0..1 + Freight Invoice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Freight Invoice. Billing Reference + A reference to a billing document associated with this document. + 0..n + Freight Invoice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Freight Invoice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Freight Invoice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Freight Invoice + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Freight Invoice + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Freight Invoice + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Freight Invoice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Signature + A signature applied to this document. + 0..n + Freight Invoice + Signature + Signature + Signature + + + + + + + + + ASBIE + Freight Invoice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Freight Invoice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Freight Invoice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Freight Invoice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Freight Invoice. Payee_ Party. Party + The payee. + 0..1 + Freight Invoice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Freight Invoice. Tax Representative_ Party. Party + The tax representative. + 0..1 + Freight Invoice + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Freight Invoice. Payment Means + Expected means of payment. + 0..n + Freight Invoice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Freight Invoice. Payment Terms + A set of payment terms associated with this document. + 0..n + Freight Invoice + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Freight Invoice. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Freight Invoice + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Freight Invoice. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Freight Invoice + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Freight Invoice. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Freight Invoice + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Freight Invoice + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Freight Invoice + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Freight Invoice + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Tax Total + The total amount of a specific type of tax. + 0..n + Freight Invoice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Freight Invoice. Legal_ Monetary Total. Monetary Total + The total amount payable on the Freight Invoice, including Allowances, Charges, and Taxes. + 1 + Freight Invoice + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Freight Invoice. Invoice Line + An Invoice Line. + 1..n + Freight Invoice + Invoice Line + Invoice Line + Invoice Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-FulfilmentCancellation-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-FulfilmentCancellation-2.1.xsd new file mode 100644 index 0000000..4693f4a --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-FulfilmentCancellation-2.1.xsd @@ -0,0 +1,471 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Fulfilment Cancellation. Details + A document used to cancel an entire fulfilment document (Despatch Advice or Receipt Advice). + Fulfilment Cancellation + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Fulfilment Cancellation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Fulfilment Cancellation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Fulfilment Cancellation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Fulfilment Cancellation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Fulfilment Cancellation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Fulfilment Cancellation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Fulfilment Cancellation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Fulfilment Cancellation + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Identifier + An identifier for this document, assigned by the sender. + 1 + Fulfilment Cancellation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Fulfilment Cancellation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Fulfilment Cancellation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Fulfilment Cancellation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Fulfilment Cancellation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Fulfilment Cancellation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Fulfilment Cancellation + Note + Text + Text. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Cancellation_ Note. Text + The reason for cancellation of the referenced document. + 1..n + Fulfilment Cancellation + Cancellation + Note + Text + Text. Type + + + + + + + + + ASBIE + Fulfilment Cancellation. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Fulfilment Cancellation + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Fulfilment Cancellation + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Order Reference + A reference to an Order document associated with the referenced Despatch or Receipt Advice(s). + 0..n + Fulfilment Cancellation + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Fulfilment Cancellation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Contract + The contracts or framework agreements with which the referenced fulfilment document is associated. + 0..n + Fulfilment Cancellation + Contract + Contract + Contract + + + + + + + + + ASBIE + Fulfilment Cancellation. Signature + A signature applied to this document. + 0..n + Fulfilment Cancellation + Signature + Signature + Signature + + + + + + + + + ASBIE + Fulfilment Cancellation. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Fulfilment Cancellation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Fulfilment Cancellation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Delivery_ Customer Party. Customer Party + The delivery party. + 0..1 + Fulfilment Cancellation + Delivery + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Despatch_ Supplier Party. Supplier Party + The despatch party. + 0..1 + Fulfilment Cancellation + Despatch + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Originator_ Customer Party. Customer Party + The originator party + 0..1 + Fulfilment Cancellation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-GoodsItemItinerary-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-GoodsItemItinerary-2.1.xsd new file mode 100644 index 0000000..06cfe4e --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-GoodsItemItinerary-2.1.xsd @@ -0,0 +1,431 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Goods Item Itinerary. Details + A document providing details relating to a transport service, such as transport movement, identification of equipment and goods, subcontracted service providers, etc. + Goods Item Itinerary + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Goods Item Itinerary. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Goods Item Itinerary + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Goods Item Itinerary + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Goods Item Itinerary + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Goods Item Itinerary + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Identifier + An identifier for this document, assigned by the sender. + 1 + Goods Item Itinerary + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Goods Item Itinerary + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Goods Item Itinerary. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Goods Item Itinerary + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Goods Item Itinerary + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Goods Item Itinerary. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Goods Item Itinerary + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Goods Item Itinerary. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Goods Item Itinerary + Note + Text + Text. Type + + + + + + + + + BBIE + Goods Item Itinerary. Version. Identifier + Identifies a version of a Goods Item Itinerary in order to distinguish updates. + 1 + Goods Item Itinerary + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Transport Execution Plan Reference. Identifier + The Transport Execution Plan associated with this Goods Item Itinerary. + 1 + Goods Item Itinerary + Transport Execution Plan Reference + Identifier + Identifier. Type + + + + + + + + + ASBIE + Goods Item Itinerary. Signature + A signature applied to this document. + 0..n + Goods Item Itinerary + Signature + Signature + Signature + + + + + + + + + ASBIE + Goods Item Itinerary. Sender_ Party. Party + The sender of this Goods Item Itinerary. + 0..1 + Goods Item Itinerary + Sender + Party + Party + Party + + + + + + + + + ASBIE + Goods Item Itinerary. Receiver_ Party. Party + The receiver of this Goods Item Itinerary. + 0..1 + Goods Item Itinerary + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Consignment. Consignment + A consignment being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Transport Equipment. Transport Equipment + Transport equipment being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Package. Package + A package being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Package + Package + Package + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Goods Item. Goods Item + An item of goods being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Goods Item Itinerary. Transportation Segment + A part of a transport service that has its own Transport Execution Plan. A Transportation Segment may cover services other than transport, such as terminal handling, document management, customs procedures, etc. + 1..n + Goods Item Itinerary + Transportation Segment + Transportation Segment + Transportation Segment + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-GuaranteeCertificate-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-GuaranteeCertificate-2.1.xsd new file mode 100644 index 0000000..86bf80b --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-GuaranteeCertificate-2.1.xsd @@ -0,0 +1,481 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Guarantee Certificate. Details + A document to notify the deposit of a bid bond guarantee. + Guarantee Certificate + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Guarantee Certificate. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Guarantee Certificate + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Guarantee Certificate. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Guarantee Certificate + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Guarantee Certificate. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Guarantee Certificate + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Guarantee Certificate. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Guarantee Certificate + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Guarantee Certificate. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Guarantee Certificate + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Guarantee Certificate. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Guarantee Certificate + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Guarantee Certificate. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Guarantee Certificate + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Guarantee Certificate. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Guarantee Certificate + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Guarantee Certificate. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Guarantee Certificate + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Guarantee Certificate. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Guarantee Certificate + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Guarantee Certificate. Guarantee Type Code. Code + A code signifying the type of the guarantee. + 0..1 + Guarantee Certificate + Guarantee Type Code + Code + Code. Type + + + + + + + + + BBIE + Guarantee Certificate. Purpose. Text + A textual description of the purpose of the bid bond guarantee. + 0..n + Guarantee Certificate + Purpose + Text + Text. Type + + + + + + + + + BBIE + Guarantee Certificate. Liability. Amount + The liability amount (a monetary value) in the bid bond guarantee. + 1 + Guarantee Certificate + Liability + Amount + Amount. Type + + + + + + + + + BBIE + Guarantee Certificate. Constitution Code. Code + The code stating the constitution means of the guarantee. + 0..1 + Guarantee Certificate + Constitution Code + Code + Code. Type + + + + + + + + + BBIE + Guarantee Certificate. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Guarantee Certificate + Note + Text + Text. Type + + + + + + + + + ASBIE + Guarantee Certificate. Applicable_ Period. Period + The specified period in the tendering process for which this bid bond guarantee is effective + 0..1 + Guarantee Certificate + Applicable + Period + Period + Period + + + + + + + + + ASBIE + Guarantee Certificate. Applicable_ Regulation. Regulation + A reference to an applicable regulation. + 0..n + Guarantee Certificate + Applicable + Regulation + Regulation + Regulation + + + + + + + + + ASBIE + Guarantee Certificate. Guarantee_ Document Reference. Document Reference + A reference to a legal document. + 0..n + Guarantee Certificate + Guarantee + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Guarantee Certificate. Immobilized Security + Details of an immobilized security. + 0..n + Guarantee Certificate + Immobilized Security + Immobilized Security + Immobilized Security + + + + + + + + + ASBIE + Guarantee Certificate. Signature + A signature applied to this document. + 1..n + Guarantee Certificate + Signature + Signature + Signature + + + + + + + + + ASBIE + Guarantee Certificate. Guarantor_ Party. Party + The guarantee creditor organization that has the authority to charge bid bond guarantee credit. + 1 + Guarantee Certificate + Guarantor + Party + Party + Party + + + + + + + + + ASBIE + Guarantee Certificate. Interested_ Party. Party + The party depositing the bid bond guarantee. + 1 + Guarantee Certificate + Interested + Party + Party + Party + + + + + + + + + ASBIE + Guarantee Certificate. Beneficiary_ Party. Party + The beneficiary of the bid bond guarantee. + 0..1 + Guarantee Certificate + Beneficiary + Party + Party + Party + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-InstructionForReturns-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-InstructionForReturns-2.1.xsd new file mode 100644 index 0000000..20f2f27 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-InstructionForReturns-2.1.xsd @@ -0,0 +1,383 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Instruction For Returns. Details + A document used to initiate a return of goods. The producer is requesting the return of products that are not selling well, either to use in other places or to free up rack or shelf space. + Instruction For Returns + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Instruction For Returns. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Instruction For Returns + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Instruction For Returns. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Instruction For Returns + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Instruction For Returns. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Instruction For Returns + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Instruction For Returns. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Instruction For Returns + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Instruction For Returns. Identifier + An identifier for this document, assigned by the sender. + 1 + Instruction For Returns + Identifier + Identifier + Identifier. Type + Document Number, Instruction for Returns Number + + + + + + + + + BBIE + Instruction For Returns. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Instruction For Returns + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Instruction For Returns. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Instruction For Returns + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Instruction For Returns. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Instruction For Returns + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Instruction For Returns. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Instruction For Returns + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Instruction For Returns. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Instruction For Returns + Note + Text + Text. Type + + + + + + + + + ASBIE + Instruction For Returns. Document Reference + A reference to another document associated with this document. + 0..n + Instruction For Returns + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Instruction For Returns. Signature + A signature applied to this document. + 0..n + Instruction For Returns + Signature + Signature + Signature + + + + + + + + + ASBIE + Instruction For Returns. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Instruction For Returns + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Instruction For Returns. Retailer_ Customer Party. Customer Party + The retailer. + 1 + Instruction For Returns + Retailer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Instruction For Returns. Manufacturer_ Party. Party + The manufacturer. + 0..1 + Instruction For Returns + Manufacturer + Party + Party + Party + + + + + + + + + ASBIE + Instruction For Returns. Shipment + The shipment. + 0..1 + Instruction For Returns + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Instruction For Returns. Instruction For Returns Line + A line providing details about one type of article to be returned. + 1..n + Instruction For Returns + Instruction For Returns Line + Instruction For Returns Line + Instruction For Returns Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-InventoryReport-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-InventoryReport-2.1.xsd new file mode 100644 index 0000000..6319a59 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-InventoryReport-2.1.xsd @@ -0,0 +1,401 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Inventory Report. Details + A report on the quantities of each item that are, or will be, in stock. This document is sent by a Buyer (for example a retailer) to a Seller (for example a producer). + Inventory Report + Storage status report. + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Inventory Report. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Inventory Report + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Inventory Report. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Inventory Report + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Inventory Report. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Inventory Report + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Inventory Report. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Inventory Report + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Inventory Report. Identifier + An identifier for the Inventory Report, assigned by the Issuer. + 1 + Inventory Report + Identifier + Identifier + Identifier. Type + Document Number, Inventory Report Number + + + + + + + + + BBIE + Inventory Report. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Inventory Report + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Inventory Report. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Inventory Report + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Inventory Report. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Inventory Report + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Inventory Report. Issue Time. Time + The time at which the Inventory Report was issued. + 0..1 + Inventory Report + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Inventory Report. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Inventory Report + Note + Text + Text. Type + + + + + + + + + BBIE + Inventory Report. Document_ Currency Code. Code + A code signifying the currency in which the Document is presented. This may be the same currency as the pricing or as the tax. + 0..1 + Inventory Report + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Inventory Report. Inventory_ Period. Period + The period covered by this report. + 0..1 + Inventory Report + Inventory + Period + Period + Period + + + + + + + + + ASBIE + Inventory Report. Document Reference + A reference to another document associated with this document. + 0..n + Inventory Report + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Inventory Report. Signature + A signature applied to this document. + 0..n + Inventory Report + Signature + Signature + Signature + + + + + + + + + ASBIE + Inventory Report. Retailer_ Customer Party. Customer Party + The retailer, who sends this message. + 1 + Inventory Report + Retailer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Inventory Report. Inventory Reporting_ Party. Party + An association to the Party that will really use the Inventory report (normally the branch for which the stock is reported). + 1 + Inventory Report + Inventory Reporting + Party + Party + Party + + + + + + + + + ASBIE + Inventory Report. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Inventory Report + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Inventory Report. Inventory Report Line + A line representing a particular item of sale and associated with a line in the Catalogue. + 1..n + Inventory Report + Inventory Report Line + Inventory Report Line + Inventory Report Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Invoice-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Invoice-2.1.xsd new file mode 100644 index 0000000..931c0fa --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Invoice-2.1.xsd @@ -0,0 +1,1002 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Invoice. Details + A document used to request payment. + Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Invoice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Invoice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Invoice + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Invoice. Identifier + An identifier for this document, assigned by the sender. + 1 + Invoice + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Invoice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Invoice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Invoice + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Invoice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Invoice. Due Date. Date + The date on which Invoice is due. + 0..1 + Invoice + Due Date + Date + Date. Type + + + + + + + + + BBIE + Invoice. Invoice Type Code. Code + A code signifying the type of the Invoice. + 0..1 + Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Invoice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Invoice. Tax Point Date. Date + The date of the Invoice, used to indicate the point at which tax becomes applicable. + 0..1 + Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Invoice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Invoice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Invoice. + 0..1 + Invoice + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Invoice. + 0..1 + Invoice + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Invoice. + 0..1 + Invoice + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Invoice. + 0..1 + Invoice + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Accounting Cost Code. Code + The buyer's accounting code, applied to the Invoice as a whole. + 0..1 + Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Invoice. Accounting Cost. Text + The buyer's accounting code, applied to the Invoice as a whole, expressed as text. + 0..1 + Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Invoice. Line Count. Numeric + The number of lines in the document. + 0..1 + Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Invoice. Buyer_ Reference. Text + A reference provided by the buyer used for internal routing of the document. + 0..1 + Invoice + Buyer + Reference + Text + Text. Type + + + + + + + + + ASBIE + Invoice. Invoice_ Period. Period + A period to which the Invoice applies. + 0..n + Invoice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Invoice. Order Reference + A reference to the Order with which this Invoice is associated. + 0..1 + Invoice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Invoice. Billing Reference + A reference to a billing document associated with this document. + 0..n + Invoice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Invoice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Invoice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Invoice + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Invoice + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Invoice + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Invoice + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Invoice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Project Reference + Information about a project. + 0..n + Invoice + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Invoice. Signature + A signature applied to this document. + 0..n + Invoice + Signature + Signature + Signature + + + + + + + + + ASBIE + Invoice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Invoice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Invoice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Invoice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Invoice. Payee_ Party. Party + The payee. + 0..1 + Invoice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Invoice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Invoice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Invoice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Invoice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Invoice. Tax Representative_ Party. Party + The tax representative. + 0..1 + Invoice + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Invoice. Delivery + A delivery associated with this document. + 0..n + Invoice + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Invoice. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Invoice + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Invoice. Payment Means + Expected means of payment. + 0..n + Invoice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Invoice. Payment Terms + A set of payment terms associated with this document. + 0..n + Invoice + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Invoice. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Invoice + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Invoice. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Invoice + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Invoice. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Invoice + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Invoice + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Invoice + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Invoice + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Tax Total + The total amount of a specific type of tax. + 0..n + Invoice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice. Withholding_ Tax Total. Tax Total + The total withholding tax. + 0..n + Invoice + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice. Legal_ Monetary Total. Monetary Total + The total amount payable on the Invoice, including Allowances, Charges, and Taxes. + 1 + Invoice + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Invoice. Invoice Line + A line describing an invoice item. + 1..n + Invoice + Invoice Line + Invoice Line + Invoice Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ItemInformationRequest-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ItemInformationRequest-2.1.xsd new file mode 100644 index 0000000..af26453 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ItemInformationRequest-2.1.xsd @@ -0,0 +1,402 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Item Information Request. Details + A document used to request product activity, forecast, or performance data. + Item Information Request + Item Information Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Item Information Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Item Information Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Item Information Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Item Information Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Item Information Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Item Information Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Item Information Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Item Information Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Item Information Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Item Information Request + Identifier + Identifier + Identifier. Type + Item Information Request Number + + + + + + + + + BBIE + Item Information Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Item Information Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Item Information Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Item Information Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Information Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Item Information Request + Issue Date + Date + Date. Type + Item Information Request Date + + + + + + + + + BBIE + Item Information Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Item Information Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Item Information Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Item Information Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Item Information Request. Period + The period of time to which the Item Information Request applies. + 1 + Item Information Request + Period + Period + Period + + + + + + + + + ASBIE + Item Information Request. Document Reference + A reference to another document associated with this document. + 0..n + Item Information Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Item Information Request. Signature + A signature applied to this document. + 0..n + Item Information Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Item Information Request. Sender_ Party. Party + The buyer. + 1 + Item Information Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Item Information Request. Receiver_ Party. Party + The seller. + 1 + Item Information Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Item Information Request. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Item Information Request + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Item Information Request. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Item Information Request + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Item Information Request. Item Information Request Line + A line requesting information regarding an item of sale. + 1..n + Item Information Request + Item Information Request Line + Item Information Request Line + Item Information Request Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Order-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Order-2.1.xsd new file mode 100644 index 0000000..197b993 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Order-2.1.xsd @@ -0,0 +1,891 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order. Details + A document used to order goods and services. + Order + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Order. Identifier + An identifier for this document, assigned by the sender. + 1 + Order + Identifier + Identifier + Identifier. Type + Purchase Order Number, Order Number + + + + + + + + + BBIE + Order. Sales_ Order Identifier. Identifier + An identifier for the Order, assigned by the seller. + 0..1 + Order + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order + Issue Date + Date + Date. Type + Order Date + + + + + + + + + BBIE + Order. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order. Order Type Code. Code + A code signifying the type of Order. + 0..1 + Order + Order Type Code + Code + Code. Type + + + + + + + + + BBIE + Order. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order + Note + Text + Text. Type + + + + + + + + + BBIE + Order. Requested Invoice_ Currency Code. Code + A code signifying the currency requested for amount totals in Invoices related to this Order. + 0..1 + Order + Requested Invoice + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Order + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Pricing_ Currency Code. Code + A code signifying the currency used for all prices in the Order. + 0..1 + Order + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Tax_ Currency Code. Code + A code signifying the currency requested for tax amounts in Invoices related to this Order. + 0..1 + Order + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Customer_ Reference. Text + A supplementary reference for the Order. + 0..1 + Order + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order. Accounting Cost Code. Code + The buyer's accounting code, applied to the Order as a whole. + 0..1 + Order + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order. Accounting Cost. Text + The buyer's accounting cost centre, applied to the Order as a whole, expressed as text. + 0..1 + Order + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order. Line Count. Numeric + The number of Order Lines in the document. + 0..1 + Order + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order. Validity_ Period. Period + The period for which the Order is valid. + 0..n + Order + Validity + Period + Period + Period + + + + + + + + + ASBIE + Order. Quotation_ Document Reference. Document Reference + A reference to a Quotation. + 0..1 + Order + Quotation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Order_ Document Reference. Document Reference + A reference to another Order. + 0..n + Order + Order + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Catalogue Reference + A reference to the Catalogue on which this Order is based. + 0..1 + Order + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Order. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Contract + A contracts associated with this Order. + 0..n + Order + Contract + Contract + Contract + + + + + + + + + ASBIE + Order. Project Reference + A project with which this Order is associated. + 0..n + Order + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Order. Signature + A signature applied to this document. + 0..n + Order + Signature + Signature + Signature + + + + + + + + + ASBIE + Order. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Freight Forwarder_ Party. Party + A freight forwarder or carrier. + 0..1 + Order + Freight Forwarder + Party + Party + Party + Carrier + + + + + + + + + ASBIE + Order. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Delivery + A delivery associated with this document. + 0..n + Order + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Order. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Order + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order. Payment Means + Expected means of payment. + 0..n + Order + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Order. Payment Terms + A set of payment terms associated with this document. + 0..n + Order + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Order. Transaction Conditions + A specification of purchasing or sales conditions applying to the whole Order. + 0..1 + Order + Transaction Conditions + Transaction Conditions + Transaction Conditions + Sales condition, procurement condition + + + + + + + + + ASBIE + Order. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Order + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Order + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Order + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Order + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order. Destination_ Country. Country + The country of destination (for customs purposes). + 0..1 + Order + Destination + Country + Country + Country + + + + + + + + + ASBIE + Order. Tax Total + The total amount of a specific type of tax. + 0..n + Order + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Order. Anticipated_ Monetary Total. Monetary Total + The total amount for the Order anticipated by the buyer. + 0..1 + Order + Anticipated + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order. Order Line + A line associated with a line in the Catalogue and specifying a kind of item being ordered. + 1..n + Order + Order Line + Order Line + Order Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderCancellation-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderCancellation-2.1.xsd new file mode 100644 index 0000000..6f6d03f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderCancellation-2.1.xsd @@ -0,0 +1,416 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Cancellation. Details + A document used to cancel an entire Order. + Order Cancellation + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Cancellation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Cancellation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Cancellation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Cancellation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Cancellation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Cancellation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Cancellation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Cancellation + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Identifier + An identifier for this document, assigned by the sender. + 1 + Order Cancellation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Cancellation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Cancellation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Cancellation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Cancellation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Cancellation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Cancellation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Cancellation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Cancellation + Note + Text + Text. Type + + + + + + + + + BBIE + Order Cancellation. Cancellation_ Note. Text + The general reason for cancellation of the referenced order. + 1..n + Order Cancellation + Cancellation + Note + Text + Text. Type + + + + + + + + + ASBIE + Order Cancellation. Order Reference + A reference to the Order being cancelled. While multiple references are allowed, it is considered better practice to cancel only one Order in each Order Cancellation document. + 1..n + Order Cancellation + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Cancellation. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order Cancellation + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Cancellation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Cancellation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Cancellation. Contract + A contract associated with the original Order(s). + 0..n + Order Cancellation + Contract + Contract + Contract + + + + + + + + + ASBIE + Order Cancellation. Signature + A signature applied to this document. + 0..n + Order Cancellation + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Cancellation. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Cancellation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Cancellation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Cancellation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Cancellation. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Cancellation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderChange-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderChange-2.1.xsd new file mode 100644 index 0000000..b568bec --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderChange-2.1.xsd @@ -0,0 +1,869 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Change. Details + A document used to specify changes to an existing Order. + Order Change + Purchase Order Change + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Change. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Change + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Change. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Change + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Change. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Change + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Change. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Change + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Order Change. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Order Change + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Sales_ Order Identifier. Identifier + An identifier for the Order Change, assigned by the seller. + 0..1 + Order Change + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Change + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Change. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Change + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Change + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Change. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Change + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Change. Sequence Number. Identifier + The Order Change Sequence Number assigned by the Buyer to ensure the proper sequencing of changes. + 1 + Order Change + Sequence Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Change + Note + Text + Text. Type + + + + + + + + + BBIE + Order Change. Requested Invoice_ Currency Code. Code + A code signifying he currency requested for amount totals in Invoices related to this Order Change. + 0..1 + Order Change + Requested Invoice + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Order Change + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Pricing_ Currency Code. Code + A code signifying the currency that is used for all prices in the Order Change. + 0..1 + Order Change + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Tax_ Currency Code. Code + A code signifying the currency requested for tax amounts in Invoices related to this Order Change. + 0..1 + Order Change + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Customer_ Reference. Text + A supplementary reference for the transaction (e.g., CRI when using purchasing card). + 0..1 + Order Change + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Change. Accounting Cost Code. Code + The buyer's accounting code, applied to the Order Change as a whole. + 0..1 + Order Change + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Change. Accounting Cost. Text + The buyer's accounting code, applied to the Order Change as a whole, expressed as text. + 0..1 + Order Change + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order Change. Line Count. Numeric + The number of Order Change lines in the document. + 0..1 + Order Change + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order Change. Validity_ Period. Period + A period during which the Order Change is valid. + 0..n + Order Change + Validity + Period + Period + Period + + + + + + + + + ASBIE + Order Change. Order Reference + A reference to the Order being changed. + 1 + Order Change + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Change. Quotation_ Document Reference. Document Reference + A reference to a Quotation. + 0..1 + Order Change + Quotation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order Change + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Change + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Contract + A contract associated with the Order being changed. + 0..n + Order Change + Contract + Contract + Contract + + + + + + + + + ASBIE + Order Change. Signature + A signature applied to this document. + 0..n + Order Change + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Change. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Change + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Change + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Change. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Change + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Freight Forwarder_ Party. Party + A freight forwarder or carrier. + 0..1 + Order Change + Freight Forwarder + Party + Party + Party + + + + + + + + + ASBIE + Order Change. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order Change + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 0..1 + Order Change + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Change. Delivery + A delivery associated with this document. + 0..n + Order Change + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Order Change. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Order Change + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order Change. Payment Means + Expected means of payment. + 0..n + Order Change + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Order Change. Payment Terms + A set of payment terms associated with this document. + 0..n + Order Change + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Order Change. Transaction Conditions + Purchasing, sales, or payment conditions applying to the whole Order being changed. + 0..1 + Order Change + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Order Change. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Order Change + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order Change. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Order Change + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Change. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Order Change + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Change. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Order Change + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Change. Destination_ Country. Country + The country of destination (for customs purposes). + 0..1 + Order Change + Destination + Country + Country + Country + + + + + + + + + ASBIE + Order Change. Tax Total + The total amount of a specific type of tax. + 0..n + Order Change + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Order Change. Anticipated_ Monetary Total. Monetary Total + The amount of change to the total cost of the order anticipated by the buyer. + 0..1 + Order Change + Anticipated + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order Change. Order Line + An association to one or more (changed) Order Lines. + 1..n + Order Change + Order Line + Order Line + Order Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderResponse-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderResponse-2.1.xsd new file mode 100644 index 0000000..379f637 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderResponse-2.1.xsd @@ -0,0 +1,956 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Response. Details + A document used to indicate detailed acceptance or rejection of an Order or to make a counter-offer. + Order Response + Order Acknowledgement, PO Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL. + 0..1 + Order Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Order Response. Identifier + An identifier for this document, assigned by the sender. + 1 + Order Response + Identifier + Identifier + Identifier. Type + Purchase Order Response Number, Acknowledgement of Order Number + + + + + + + + + BBIE + Order Response. Sales_ Order Identifier. Identifier + An identifier for the Order, issued by the Seller. + 0..1 + Order Response + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Response. Order Response Code. Code + A code signifying the type of response for this Order. + 0..1 + Order Response + Order Response Code + Code + Code. Type + + + + + + + + + BBIE + Order Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Response + Note + Text + Text. Type + + + + + + + + + BBIE + Order Response. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Order Response + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Pricing_ Currency Code. Code + A code signifying the currency that is used for all prices in the Order Response. + 0..1 + Order Response + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Tax_ Currency Code. Code + A code signifying the currency that is used for all tax amounts in the Order Response. + 0..1 + Order Response + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Total_ Packages Quantity. Quantity + The total number of packages contained in the Order Response. + 0..1 + Order Response + Total + Packages Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Order Response. Gross_ Weight. Measure + The total gross weight for the Order Response (goods + packaging + transport equipment). + 0..1 + Order Response + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net_ Weight. Measure + The total net weight for the Order Response (goods + packaging). + 0..1 + Order Response + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net Net_ Weight. Measure + The total net weight of the goods in the Order Response excluding packaging. + 0..1 + Order Response + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Gross_ Volume. Measure + The total volume of the goods in the Order Response including packaging. + 0..1 + Order Response + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net_ Volume. Measure + The total volume of the goods in the Order Response excluding packaging. + 0..1 + Order Response + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Customer_ Reference. Text + A supplementary reference assigned by the buyer, e.g., the CRI in a purchasing card transaction. + 0..1 + Order Response + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Response. Accounting Cost Code. Code + An accounting cost code applied to the order as a whole. + 0..1 + Order Response + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Response. Accounting Cost. Text + An accounting cost code applied to the order as a whole, expressed as text. + 0..1 + Order Response + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order Response. Line Count. Numeric + The number of Order Lines in this document. + 0..1 + Order Response + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order Response. Validity_ Period. Period + The period for which the Order Response is valid. + 0..n + Order Response + Validity + Period + Period + Period + + + + + + + + + ASBIE + Order Response. Order Reference + A reference to the Order being responded to. + 1..n + Order Response + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Response. Order_ Document Reference. Document Reference + A reference to an Order other than the one being responded to. + 0..n + Order Response + Order + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order Response + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Response + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Contract + A contract associated with the Order being responded to. + 0..n + Order Response + Contract + Contract + Contract + + + + + + + + + ASBIE + Order Response. Signature + A signature applied to this document. + 0..n + Order Response + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Response. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Response + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Response + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Response + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Freight Forwarder_ Party. Party + A freight forwarder or carrier. + 0..1 + Order Response + Freight Forwarder + Party + Party + Party + + + + + + + + + ASBIE + Order Response. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 0..1 + Order Response + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order Response + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Delivery + A delivery associated with this document. + 0..n + Order Response + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Order Response. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Order Response + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order Response. Payment Means + Expected means of payment. + 0..n + Order Response + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Order Response. Payment Terms + A set of payment terms associated with this document. + 0..n + Order Response + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Order Response. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Order Response + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order Response. Transaction Conditions + A specification of purchasing or sales conditions applying to the whole Order. + 0..1 + Order Response + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Order Response. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Order Response + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Response. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Order Response + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Response. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Order Response + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Response. Destination_ Country. Country + The country of destination (for customs purposes). + 0..1 + Order Response + Destination + Country + Country + Country + + + + + + + + + ASBIE + Order Response. Tax Total + The total amount of a specific type of tax, as calculated by the seller. + 0..n + Order Response + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Order Response. Legal_ Monetary Total. Monetary Total + The total amount of the Order (or counter-offer). + 0..1 + Order Response + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order Response. Order Line + A line associated with a line in the Catalogue and specifying a kind of item being ordered. + 0..n + Order Response + Order Line + Order Line + Order Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderResponseSimple-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderResponseSimple-2.1.xsd new file mode 100644 index 0000000..2bdc970 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderResponseSimple-2.1.xsd @@ -0,0 +1,486 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Response Simple. Details + A document used to indicate simple acceptance or rejection of an entire Order. + Order Response Simple + Order Acknowledgement, PO Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Response Simple. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Response Simple + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Response Simple. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Response Simple + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Response Simple. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Response Simple + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Response Simple. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Response Simple + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response Simple. Identifier + An identifier for this document, assigned by the sender. + 1 + Order Response Simple + Identifier + Identifier + Identifier. Type + Purchase Order Response Number, Acknowledgement of Order Number + + + + + + + + + BBIE + Order Response Simple. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Response Simple + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response Simple. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Response Simple + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response Simple. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Response Simple + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Response Simple. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Response Simple + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Response Simple. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Response Simple + Note + Text + Text. Type + + + + + + + + + BBIE + Order Response Simple. Accepted_ Indicator. Indicator + Indicates whether the Order is accepted (true) or rejected (false). + 1 + Order Response Simple + Accepted + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response Simple. Rejection_ Note. Text + The reason for rejection if the order was not accepted. + 0..n + Order Response Simple + Rejection + Note + Text + Text. Type + Out of Stock , Not able to supply , Unable to fulfill within the contracted conditions , Buyer Account not Recognised + + + + + + + + + BBIE + Order Response Simple. Customer_ Reference. Text + A supplementary reference for the transaction (e.g., when using a purchasing card). + 0..1 + Order Response Simple + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Response Simple. Accounting Cost Code. Code + An accounting cost code applied to the order as a whole. + 0..1 + Order Response Simple + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Response Simple. Accounting Cost. Text + An accounting cost code applied to the order as a whole, expressed as text. + 0..1 + Order Response Simple + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Order Response Simple. Order Reference + A reference to the Order being responded to. + 1 + Order Response Simple + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Response Simple. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Response Simple + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response Simple. Signature + A signature applied to this document. + 0..n + Order Response Simple + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Response Simple. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Response Simple + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response Simple. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Response Simple + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response Simple. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Response Simple + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response Simple. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 0..1 + Order Response Simple + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response Simple. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order Response Simple + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-PackingList-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-PackingList-2.1.xsd new file mode 100644 index 0000000..1828095 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-PackingList-2.1.xsd @@ -0,0 +1,432 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Packing List. Details + A document describing how goods are packed. + Packing List + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Packing List. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Packing List + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Packing List. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Packing List + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Packing List. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Packing List + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Packing List. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Packing List + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Packing List. Identifier + An identifier for this document, assigned by the sender. + 1 + Packing List + Identifier + Identifier + Identifier. Type + Packing List Number + + + + + + + + + BBIE + Packing List. UUID. Identifier + A universally unique identifier for an instance of this document.. + 0..1 + Packing List + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Packing List. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Packing List + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Packing List. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Packing List + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Packing List. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Packing List + Name + Name + Name. Type + + + + + + + + + BBIE + Packing List. Description. Text + Textual description of the document instance. + 0..n + Packing List + Description + Text + Text. Type + + + + + + + + + BBIE + Packing List. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Packing List + Note + Text + Text. Type + + + + + + + + + BBIE + Packing List. Version. Identifier + Version identifier of a Packing List. + 0..1 + Packing List + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Packing List. Other_ Instruction. Text + Contains other free-text-based instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..1 + Packing List + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Packing List. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Packing List + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Packing List. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Packing List + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Packing List. Freight Forwarder_ Party. Party + The party combining individual smaller shipments into a single larger consignment (a so-called consolidated consignment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Packing List + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Packing List. Shipment + A description of the shipment. + 1 + Packing List + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Packing List. Document Reference + A reference to another document associated with this document. + 0..n + Packing List + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Packing List. Document Distribution + A list of interested parties to whom this document is distributed. + 0..n + Packing List + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Packing List. Signature + A signature applied to this document. + 0..n + Packing List + Signature + Signature + Signature + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-PriorInformationNotice-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-PriorInformationNotice-2.1.xsd new file mode 100644 index 0000000..3adf8c3 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-PriorInformationNotice-2.1.xsd @@ -0,0 +1,441 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Prior Information Notice. Details + A document used by a contracting party to declare the intention to buy goods, services, or works during a specified period. + Prior Information Notice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Prior Information Notice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Prior Information Notice + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Prior Information Notice + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Prior Information Notice + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Prior Information Notice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Prior Information Notice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Prior Information Notice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Prior Information Notice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Prior Information Notice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Prior Information Notice + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Prior Information Notice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Prior Information Notice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Prior Information Notice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Prior Information Notice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Prior Information Notice + Note + Text + Text. Type + + + + + + + + + BBIE + Prior Information Notice. Planned Date. Date + The date planned by the Contracting Party for publication of the contract notice. + 0..1 + Prior Information Notice + Planned Date + Date + Date. Type + + + + + + + + + ASBIE + Prior Information Notice. Document Reference + A reference to another document associated with this document. + 0..n + Prior Information Notice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Prior Information Notice. Signature + A signature applied to this document. + 0..n + Prior Information Notice + Signature + Signature + Signature + + + + + + + + + ASBIE + Prior Information Notice. Contracting Party + The contracting party. + 1 + Prior Information Notice + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Prior Information Notice. Originator_ Customer Party. Customer Party + A party who originated the tendering process. + 0..n + Prior Information Notice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Prior Information Notice. Receiver_ Party. Party + The party receiving this document. + 0..1 + Prior Information Notice + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Prior Information Notice. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Prior Information Notice + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Prior Information Notice. Tendering Process + A description of the tendering process itself. + 0..1 + Prior Information Notice + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Prior Information Notice. Procurement Project + An overall definition of this procurement project. + 0..1 + Prior Information Notice + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Prior Information Notice. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Prior Information Notice + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ProductActivity-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ProductActivity-2.1.xsd new file mode 100644 index 0000000..92a5c57 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ProductActivity-2.1.xsd @@ -0,0 +1,387 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Product Activity. Details + A document reporting the movement of goods at specified retail locations for inventory tracking purposes. + Product Activity + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Product Activity. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Product Activity + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Product Activity. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Product Activity + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Product Activity. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Product Activity + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Product Activity. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Product Activity + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Product Activity. Identifier + An identifier for this document, assigned by the sender. + 1 + Product Activity + Identifier + Identifier + Identifier. Type + Product Acvtivity Number + + + + + + + + + BBIE + Product Activity. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Product Activity + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Product Activity. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Product Activity + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Product Activity. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Product Activity + Issue Date + Date + Date. Type + Activity Date + + + + + + + + + BBIE + Product Activity. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Product Activity + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Product Activity. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Product Activity + Note + Text + Text. Type + + + + + + + + + BBIE + Product Activity. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Product Activity + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Product Activity. Activity_ Period. Period + The period covered by this Product Activity report. + 1 + Product Activity + Activity + Period + Period + Period + + + + + + + + + ASBIE + Product Activity. Document Reference + A reference to another document associated with this document. + 0..n + Product Activity + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Product Activity. Signature + A signature applied to this document. + 0..n + Product Activity + Signature + Signature + Signature + + + + + + + + + ASBIE + Product Activity. Sender_ Party. Party + The sender of the Product Activity. + 1 + Product Activity + Sender + Party + Party + Party + + + + + + + + + ASBIE + Product Activity. Receiver_ Party. Party + The receiver of the Product Activity. + 1 + Product Activity + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Product Activity. Supply Chain_ Activity Data Line. Activity Data Line + A line describing the movement of goods to a specific location. + 1..n + Product Activity + Supply Chain + Activity Data Line + Activity Data Line + Activity Data Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Quotation-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Quotation-2.1.xsd new file mode 100644 index 0000000..4cebf29 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Quotation-2.1.xsd @@ -0,0 +1,583 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Quotation. Details + A document used to quote for the provision of goods and services. + Quotation + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Quotation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Quotation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Quotation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Quotation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Quotation. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Quotation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Quotation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Quotation + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Quotation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Quotation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Quotation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Quotation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Quotation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Quotation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Quotation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Quotation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Quotation + Note + Text + Text. Type + + + + + + + + + BBIE + Quotation. Pricing_ Currency Code. Code + A code signifying the currency used for all prices in the Quotation. + 0..1 + Quotation + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Quotation. Line Count. Numeric + The number of Quotation Lines in this document. + 0..1 + Quotation + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Quotation. Validity_ Period. Period + The period for which the Quotation is valid. + 0..1 + Quotation + Validity + Period + Period + Period + + + + + + + + + ASBIE + Quotation. Request For Quotation_ Document Reference. Document Reference + A reference to the Request for Quotation associated with this Quotation. + 0..1 + Quotation + Request For Quotation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Quotation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation. Contract + A contract associated with this Quotation. + 0..n + Quotation + Contract + Contract + Contract + + + + + + + + + ASBIE + Quotation. Signature + A signature applied to this document. + 0..n + Quotation + Signature + Signature + Signature + + + + + + + + + ASBIE + Quotation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Quotation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Quotation. Buyer_ Customer Party. Customer Party + Association to the Buyer. + 0..1 + Quotation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Quotation. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Quotation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Quotation. Delivery + A delivery associated with this document. + 0..n + Quotation + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Quotation. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Quotation + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Quotation. Payment Means + Expected means of payment. + 0..1 + Quotation + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Quotation. Transaction Conditions + A specification of purchasing, sales, or payment conditions applying to Orders related to this Quotation. + 0..1 + Quotation + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Quotation. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Quotation + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Quotation. Destination_ Country. Country + The country of destination of potential orders (for customs purposes). + 0..1 + Quotation + Destination + Country + Country + Country + + + + + + + + + ASBIE + Quotation. Tax Total + The total amount of a specific type of tax. + 0..n + Quotation + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Quotation. Quoted_ Monetary Total. Monetary Total + The total amount of the Quotation. + 1 + Quotation + Quoted + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Quotation. Quotation Line + A line quoting a cost for one kind of item. + 1..n + Quotation + Quotation Line + Quotation Line + Quotation Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ReceiptAdvice-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ReceiptAdvice-2.1.xsd new file mode 100644 index 0000000..1fddbb5 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ReceiptAdvice-2.1.xsd @@ -0,0 +1,485 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Receipt Advice. Details + A document used to describe the receipt of goods and services. + Receipt Advice + Receipt, Delivery Acknowledgement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Receipt Advice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Receipt Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Receipt Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Receipt Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Receipt Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Receipt Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Receipt Advice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Receipt Advice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Identifier + An identifier for this document, assigned by the sender. + 1 + Receipt Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Receipt Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Receipt Advice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Receipt Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Receipt Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Receipt Advice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Receipt Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Receipt Advice. Document Status Code. Code + A code signifying the status of the Receipt Advice with respect to its original state. This code may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancellation or revision. + 0..1 + Receipt Advice + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Receipt Advice. Receipt Advice Type Code. Code + A code signifying the type of the Receipt Advice. + 0..1 + Receipt Advice + Receipt Advice Type Code + Code + Receipt Advice Type + Receipt Advice Type_ Code. Type + + + + + + + + + BBIE + Receipt Advice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Receipt Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Receipt Advice. Line Count. Numeric + The number of Receipt Lines in this document. + 0..1 + Receipt Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Receipt Advice. Order Reference + A reference to an Order associated with this Receipt Advice. + 0..n + Receipt Advice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Receipt Advice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Receipt Advice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Advice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Receipt Advice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Advice. Signature + A signature applied to this document. + 0..n + Receipt Advice + Signature + Signature + Signature + + + + + + + + + ASBIE + Receipt Advice. Delivery_ Customer Party. Customer Party + The customer party. + 1 + Receipt Advice + Delivery + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Receipt Advice. Despatch_ Supplier Party. Supplier Party + The supplier party. + 1 + Receipt Advice + Despatch + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Receipt Advice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Receipt Advice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Receipt Advice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Receipt Advice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Receipt Advice. Shipment + Details about the Shipment. + 0..1 + Receipt Advice + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Receipt Advice. Receipt Line + A line detailing a kind of item received. + 1..n + Receipt Advice + Receipt Line + Receipt Line + Receipt Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Reminder-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Reminder-2.1.xsd new file mode 100644 index 0000000..8e160f6 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Reminder-2.1.xsd @@ -0,0 +1,759 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Reminder. Details + A document used to remind a customer of payments past due. + Reminder + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Reminder. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Reminder + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Reminder. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Reminder + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Reminder. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Reminder + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Reminder. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Reminder + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Reminder. Identifier + An identifier for this document, assigned by the sender. + 1 + Reminder + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Reminder. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Reminder + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Reminder. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Reminder + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Reminder + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Reminder. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Reminder + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Reminder. Reminder Type Code. Code + A code signifying the type of the Reminder. + 0..1 + Reminder + Reminder Type Code + Code + Code. Type + + + + + + + + + BBIE + Reminder. Reminder Sequence. Numeric + The number of the current Reminder in the sequence of reminders relating to the specified payments; the number of reminders previously sent plus one. + 0..1 + Reminder + Reminder Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Reminder. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Reminder + Note + Text + Text. Type + + + + + + + + + BBIE + Reminder. Tax Point Date. Date + The date of the Reminder, used to indicate the point at which tax becomes applicable. + 0..1 + Reminder + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Reminder. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Reminder + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Reminder. + 0..1 + Reminder + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Reminder. + 0..1 + Reminder + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Reminder. + 0..1 + Reminder + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Reminder. + 0..1 + Reminder + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Accounting Cost Code. Code + The buyer's accounting code, applied to the Reminder as a whole. + 0..1 + Reminder + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Reminder. Accounting Cost. Text + The buyer's accounting code, applied to the Reminder as a whole, expressed as text. + 0..1 + Reminder + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Reminder. Line Count. Numeric + The number of Reminder Lines in this document. + 0..1 + Reminder + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Reminder. Reminder_ Period. Period + The periods to which the Reminder applies. + 0..n + Reminder + Reminder + Period + Period + Period + + + + + + + + + ASBIE + Reminder. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Reminder + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Reminder. Signature + A signature applied to this document. + 0..n + Reminder + Signature + Signature + Signature + + + + + + + + + ASBIE + Reminder. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Reminder + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Reminder. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Reminder + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Reminder. Payee_ Party. Party + The payee. + 0..1 + Reminder + Payee + Party + Party + Party + + + + + + + + + ASBIE + Reminder. Tax Representative_ Party. Party + The tax representative. + 0..1 + Reminder + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Reminder. Payment Means + Expected means of payment. + 0..n + Reminder + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Reminder. Payment Terms + A set of payment terms associated with this document. + 0..n + Reminder + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Reminder. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Reminder + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Reminder. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Reminder + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Reminder. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Reminder + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Reminder + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Reminder + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Reminder + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Tax Total + The total amount of a specific type of tax. + 0..n + Reminder + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Reminder. Legal_ Monetary Total. Monetary Total + The total amount payable on the Invoice, including Allowances, Charges, and Taxes. + 1 + Reminder + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Reminder. Reminder Line + A line describing a payment past due. + 1..n + Reminder + Reminder Line + Reminder Line + Reminder Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RemittanceAdvice-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RemittanceAdvice-2.1.xsd new file mode 100644 index 0000000..f92ee30 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RemittanceAdvice-2.1.xsd @@ -0,0 +1,567 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Remittance Advice. Details + A document that specifies details of an actual payment. + Remittance Advice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Remittance Advice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Remittance Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Remittance Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Remittance Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Remittance Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Remittance Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Remittance Advice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Remittance Advice + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Remittance Advice. Identifier + An identifier for this document, assigned by the sender. + 1 + Remittance Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Remittance Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Remittance Advice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Remittance Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Remittance Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Remittance Advice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Remittance Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Remittance Advice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Remittance Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Remittance Advice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Debit Amount. Amount + The totals of all debit amounts for the Remittance Advice. + 0..1 + Remittance Advice + Total + Debit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Credit Amount. Amount + The totals of all credit amounts for the Remittance Advice. + 0..1 + Remittance Advice + Total + Credit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Payment Amount. Amount + The total payable amount for the Remittance Advice (must be positive). + 0..1 + Remittance Advice + Total + Payment Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Payment Order Reference. Text + An internal reference to the order for payment from the payer to the payer's bank. + 0..1 + Remittance Advice + Payment Order Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Payer_ Reference. Text + An internal reference to the payer's order for payment. + 0..1 + Remittance Advice + Payer + Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Invoicing Party_ Reference. Text + An internal reference to the order for payment by the invoicing party. This may have been requested of the payer by the payee to accompany the payer's remittance. + 0..1 + Remittance Advice + Invoicing Party + Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Line Count. Numeric + The number of Remittance Advice Lines in the document. + 0..1 + Remittance Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Remittance Advice. Invoice_ Period. Period + A period (rather than a specific invoice) associated with this document. + 0..n + Remittance Advice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Remittance Advice. Billing Reference + A reference to a billing document associated with this document. + 0..1 + Remittance Advice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Remittance Advice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Remittance Advice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Remittance Advice. Signature + A signature applied to this document. + 0..n + Remittance Advice + Signature + Signature + Signature + + + + + + + + + ASBIE + Remittance Advice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Remittance Advice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Remittance Advice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice. Payee_ Party. Party + The payee. + 0..1 + Remittance Advice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Remittance Advice. Payment Means + Expected means of payment. + 0..1 + Remittance Advice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Remittance Advice. Tax Total + The total amount of a specific type of tax. + 0..n + Remittance Advice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Remittance Advice. Remittance Advice Line + A line specifying a balance. + 1..n + Remittance Advice + Remittance Advice Line + Remittance Advice Line + Remittance Advice Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RequestForQuotation-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RequestForQuotation-2.1.xsd new file mode 100644 index 0000000..35a90c0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RequestForQuotation-2.1.xsd @@ -0,0 +1,519 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Request For Quotation. Details + A document used to request a Quotation for goods and services from a Seller. + Request For Quotation + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Request For Quotation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Request For Quotation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Request For Quotation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Request For Quotation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Request For Quotation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Request For Quotation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Request For Quotation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Request For Quotation + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Request For Quotation. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Request For Quotation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Request For Quotation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Request For Quotation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Request For Quotation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Request For Quotation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Request For Quotation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Request For Quotation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Request For Quotation. Submission Due Date. Date + The due date for submission of the Quotation. + 0..1 + Request For Quotation + Submission Due Date + Date + Date. Type + + + + + + + + + BBIE + Request For Quotation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Request For Quotation + Note + Text + Text. Type + + + + + + + + + BBIE + Request For Quotation. Pricing_ Currency Code. Code + The currency that the Seller should use to price the Quotation. + 0..1 + Request For Quotation + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Request For Quotation. Line Count. Numeric + The number of Request For Quotation Lines in this document. + 0..1 + Request For Quotation + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Request For Quotation. Requested Validity_ Period. Period + The validity period requested for this Quotation. + 0..1 + Request For Quotation + Requested Validity + Period + Period + Period + + + + + + + + + ASBIE + Request For Quotation. Catalogue_ Document Reference. Document Reference + The Catalogue on which this Request for Quotation is based. + 0..1 + Request For Quotation + Catalogue + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Request For Quotation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation. Signature + A signature applied to this document. + 0..n + Request For Quotation + Signature + Signature + Signature + + + + + + + + + ASBIE + Request For Quotation. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Request For Quotation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Request For Quotation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Request For Quotation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Request For Quotation. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Request For Quotation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Request For Quotation. Delivery + A delivery associated with this document. + 0..n + Request For Quotation + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Request For Quotation. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Request For Quotation + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Request For Quotation. Destination_ Country. Country + The country of destination of potential orders (for customs purposes). + 0..1 + Request For Quotation + Destination + Country + Country + Country + + + + + + + + + ASBIE + Request For Quotation. Contract + A contract associated with this Request for Quotation.. + 0..n + Request For Quotation + Contract + Contract + Contract + + + + + + + + + ASBIE + Request For Quotation. Request For Quotation Line + A line specifying a kind of item of sale. + 1..n + Request For Quotation + Request For Quotation Line + Request For Quotation Line + Request For Quotation Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RetailEvent-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RetailEvent-2.1.xsd new file mode 100644 index 0000000..4adee85 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RetailEvent-2.1.xsd @@ -0,0 +1,515 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Retail Event. Details + A document used to specify basic information about retail events (such as promotions, product introductions, and community or environmental events) that affect supply or demand. + Retail Event + Event + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Retail Event. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Retail Event + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Retail Event. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Retail Event + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Retail Event. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Retail Event + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Retail Event. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Retail Event + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Retail Event. Identifier + An identifier for this document, assigned by the sender. + 1 + Retail Event + Identifier + Identifier + Identifier. Type + Retail Event Number + + + + + + + + + BBIE + Retail Event. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Retail Event + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Retail Event. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Retail Event + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Retail Event. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Retail Event + Issue Date + Date + Date. Type + Retail Event Date + + + + + + + + + BBIE + Retail Event. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Retail Event + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Retail Event. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Retail Event + Note + Text + Text. Type + + + + + + + + + BBIE + Retail Event. Retail Event Name. Name + A title, theme, slogan, or other identifier for the event for use by trading partners. + 0..1 + Retail Event + Retail Event Name + Name + Name. Type + + + + + + + + + BBIE + Retail Event. Retail Event Status Code. Code + Describes the logical state of the discrete activity affecting supply or demand in the supply chain + 1 + Retail Event + Retail Event Status Code + Code + Code. Type + + + + + + + + + BBIE + Retail Event. Seller Event Identifier. Identifier + An event tracking identifier assigned by the seller. + 0..1 + Retail Event + Seller Event Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Retail Event. Buyer Event Identifier. Identifier + An event tracking identifier assigned by the buyer. + 0..1 + Retail Event + Buyer Event Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Retail Event. Description. Text + Definition of the discrete activity affecting supply or demand in the supply chain + 0..n + Retail Event + Description + Text + Text. Type + + + + + + + + + ASBIE + Retail Event. Period + The period during which the event takes place. + 1 + Retail Event + Period + Period + Period + + + + + + + + + ASBIE + Retail Event. Original_ Document Reference. Document Reference + A reference to a Forecast document associated with this event. + 0..n + Retail Event + Original + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Retail Event. Signature + A signature applied to this document. + 0..n + Retail Event + Signature + Signature + Signature + + + + + + + + + ASBIE + Retail Event. Sender_ Party. Party + The party sending this document. + 1 + Retail Event + Sender + Party + Party + Party + + + + + + + + + ASBIE + Retail Event. Receiver_ Party. Party + The party receiving this document. + 1 + Retail Event + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Retail Event. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Retail Event + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Retail Event. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Retail Event + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Retail Event. Event Comment + A comment regarding the event. + 0..n + Retail Event + Event Comment + Event Comment + Event Comment + + + + + + + + + ASBIE + Retail Event. Promotional Event + The description of a promotional event associated with this event. + 0..1 + Retail Event + Promotional Event + Promotional Event + Promotional Event + + + + + + + + + ASBIE + Retail Event. Miscellaneous Event + A miscellaneous event associated with this event. + 0..1 + Retail Event + Miscellaneous Event + Miscellaneous Event + Miscellaneous Event + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-SelfBilledCreditNote-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-SelfBilledCreditNote-2.1.xsd new file mode 100644 index 0000000..42fc54f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-SelfBilledCreditNote-2.1.xsd @@ -0,0 +1,918 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Self Billed Credit Note. Details + A credit note created by the debtor in a self billing arrangement with a creditor; Self Billed Credit Note replaces Debit Note in such arrangements. + Self Billed Credit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Self Billed Credit Note. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Self Billed Credit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Self Billed Credit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Self Billed Credit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Self Billed Credit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Self Billed Credit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Self Billed Credit Note. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Self Billed Credit Note + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Self Billed Credit Note. Identifier + An identifier for this document, assigned by the sender. + 1 + Self Billed Credit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Credit Note. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Self Billed Credit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Self Billed Credit Note. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Self Billed Credit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Credit Note. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Self Billed Credit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Credit Note. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Self Billed Credit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Self Billed Credit Note. Tax Point Date. Date + The date of the Self Billed Credit Note, used to indicate the point at which tax becomes applicable. + 0..1 + Self Billed Credit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Credit Note. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Self Billed Credit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Self Billed Credit Note. Document_ Currency Code. Code + A code signifying the default currency for this document. + 1 + Self Billed Credit Note + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Accounting Cost Code. Code + The buyer's accounting code, applied to the Self Billed Credit Note as a whole. + 0..1 + Self Billed Credit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Accounting Cost. Text + The buyer's accounting code, applied to the Self Billed Credit Note as a whole, expressed as text. + 0..1 + Self Billed Credit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Self Billed Credit Note. Line Count. Numeric + The number of Self Billed Credit Note Lines in this document. + 0..1 + Self Billed Credit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Self Billed Credit Note. Invoice_ Period. Period + A period (rather than a specific Invoice) associated with the Self Billed Credit Note. + 0..n + Self Billed Credit Note + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Self Billed Credit Note. Discrepancy_ Response. Response + A reason for the Self Billed Credit Note as a whole. + 0..n + Self Billed Credit Note + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Self Billed Credit Note. Order Reference + The Order associated with this Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Billing Reference + A reference to a billing document associated with this document. + 0..n + Self Billed Credit Note + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Self Billed Credit Note + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Self Billed Credit Note + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Self Billed Credit Note + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Self Billed Credit Note + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Self Billed Credit Note + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Self Billed Credit Note + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Signature + A signature applied to this document. + 0..n + Self Billed Credit Note + Signature + Signature + Signature + + + + + + + + + ASBIE + Self Billed Credit Note. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Self Billed Credit Note + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Credit Note. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Self Billed Credit Note + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Credit Note. Payee_ Party. Party + The payee. + 0..1 + Self Billed Credit Note + Payee + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Credit Note. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Self Billed Credit Note + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Credit Note. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Self Billed Credit Note + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Credit Note. Tax Representative_ Party. Party + The tax representative. + 0..1 + Self Billed Credit Note + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Credit Note. Delivery + A delivery associated with this document. + 0..n + Self Billed Credit Note + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Self Billed Credit Note. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Self Billed Credit Note + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Self Billed Credit Note. Payment Means + Expected means of payment. + 0..n + Self Billed Credit Note + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Self Billed Credit Note. Payment Terms + A set of payment terms associated with this document. + 0..n + Self Billed Credit Note + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Self Billed Credit Note. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Self Billed Credit Note + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Self Billed Credit Note. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Self Billed Credit Note + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Self Billed Credit Note + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Self Billed Credit Note + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Self Billed Credit Note + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Tax Total + The total amount of a specific type of tax. + 0..n + Self Billed Credit Note + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Credit Note. Legal_ Monetary Total. Monetary Total + The total amount payable on the Self Billed Credit Note, including Allowances, Charges, and Taxes. + 1 + Self Billed Credit Note + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Self Billed Credit Note. Credit Note Line + A Self Billed Credit Note Line. + 1..n + Self Billed Credit Note + Credit Note Line + Credit Note Line + Credit Note Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-SelfBilledInvoice-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-SelfBilledInvoice-2.1.xsd new file mode 100644 index 0000000..4162314 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-SelfBilledInvoice-2.1.xsd @@ -0,0 +1,933 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Self Billed Invoice. Details + An Invoice document created by the Customer (rather than the Supplier) in a Self Billing relationship. + Self Billed Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Self Billed Invoice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Self Billed Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Self Billed Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Self Billed Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Self Billed Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Self Billed Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Self Billed Invoice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Self Billed Invoice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Identifier + An identifier for this document, assigned by the sender. + 1 + Self Billed Invoice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Self Billed Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Self Billed Invoice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Self Billed Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Self Billed Invoice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Invoice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Self Billed Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Self Billed Invoice. Tax Point Date. Date + The date of the invoice for tax purposes, in accordance with the applicable tax regulation. + 0..1 + Self Billed Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Invoice. Invoice Type Code. Code + A code signifying the type of invoice. + 0..1 + Self Billed Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Self Billed Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Self Billed Invoice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Self Billed Invoice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Invoice. + 0..1 + Self Billed Invoice + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Invoice. + 0..1 + Self Billed Invoice + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Invoice. + 0..1 + Self Billed Invoice + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Invoice. + 0..1 + Self Billed Invoice + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Accounting Cost Code. Code + An accounting cost code, applied to the Invoice as a whole. + 0..1 + Self Billed Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Accounting Cost. Text + An accounting cost code, applied to the Invoice as a whole, expressed as text. + 0..1 + Self Billed Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Self Billed Invoice. Line Count. Numeric + The number of Invoice Lines in this document. + 0..1 + Self Billed Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Self Billed Invoice. Invoice_ Period. Period + A period to which the Self Billed Invoice applies. + 0..n + Self Billed Invoice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Self Billed Invoice. Order Reference + A reference to the Order with which this Invoice is associated. + 0..1 + Self Billed Invoice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Self Billed Invoice. Billing Reference + A reference to a billing document associated with this document. + 0..n + Self Billed Invoice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Self Billed Invoice. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Self Billed Invoice + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Self Billed Invoice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Self Billed Invoice + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Self Billed Invoice + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Self Billed Invoice + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Self Billed Invoice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Signature + A signature applied to this document. + 0..n + Self Billed Invoice + Signature + Signature + Signature + + + + + + + + + ASBIE + Self Billed Invoice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Self Billed Invoice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Invoice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Self Billed Invoice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Invoice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Self Billed Invoice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Invoice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Self Billed Invoice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Invoice. Payee_ Party. Party + The payee. + 0..1 + Self Billed Invoice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Invoice. Tax Representative_ Party. Party + The tax representative. + 0..1 + Self Billed Invoice + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Invoice. Delivery + A delivery associated with this document. + 0..n + Self Billed Invoice + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Self Billed Invoice. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Self Billed Invoice + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Self Billed Invoice. Payment Means + Expected means of payment. + 0..1 + Self Billed Invoice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Self Billed Invoice. Payment Terms + A set of payment terms associated with this document. + 0..n + Self Billed Invoice + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Self Billed Invoice. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Self Billed Invoice + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Self Billed Invoice. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Self Billed Invoice + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Self Billed Invoice. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Self Billed Invoice + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Self Billed Invoice + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Self Billed Invoice + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Self Billed Invoice + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Tax Total + The total amount of a specific type of tax. + 0..n + Self Billed Invoice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Invoice. Legal_ Monetary Total. Monetary Total + A set of totals associated with this Invoice that are required for the Invoice to be a legal document. + 1 + Self Billed Invoice + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Self Billed Invoice. Invoice Line + A line describing an Invoice Item. + 1..n + Self Billed Invoice + Invoice Line + Invoice Line + Invoice Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Statement-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Statement-2.1.xsd new file mode 100644 index 0000000..e2c1a76 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Statement-2.1.xsd @@ -0,0 +1,600 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Statement. Details + A document used to report the status of orders, billing, and payment. This document is a statement of account, not a summary invoice. + Statement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Statement. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Statement + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Statement. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Statement + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Statement. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Statement + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Statement. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Statement + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Statement. Identifier + An identifier for this document, assigned by the sender. + 1 + Statement + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Statement + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Statement. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Statement + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Statement + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Statement. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Statement + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Statement. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Statement + Note + Text + Text. Type + + + + + + + + + BBIE + Statement. Document_ Currency Code. Code + The default currency for the Statement. + 1 + Statement + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Statement. Total_ Debit Amount. Amount + The total of all debit amounts for the Statement. + 0..1 + Statement + Total + Debit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Total_ Credit Amount. Amount + The total of all credit amounts for the Statement. + 0..1 + Statement + Total + Credit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Total_ Balance Amount. Amount + The total amount for the Statement. + 0..1 + Statement + Total + Balance Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Line Count. Numeric + The number of Statement Lines in the Statement. + 0..1 + Statement + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Statement. Statement Type Code. Code + A code signifying the type of the Statement. + 0..1 + Statement + Statement Type Code + Code + Code. Type + + + + + + + + + ASBIE + Statement. Statement_ Period. Period + A period to which the Statement applies. + 0..1 + Statement + Statement + Period + Period + Period + + + + + + + + + ASBIE + Statement. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Statement + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Statement. Signature + A signature applied to this document. + 0..n + Statement + Signature + Signature + Signature + + + + + + + + + ASBIE + Statement. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Statement + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Statement + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Statement + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Statement + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Statement + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Payee_ Party. Party + The payee. + 0..1 + Statement + Payee + Party + Party + Party + + + + + + + + + ASBIE + Statement. Payment Means + Expected means of payment. + 0..n + Statement + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Statement. Payment Terms + A set of payment terms associated with this document. + 0..n + Statement + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Statement. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Statement + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Statement. Tax Total + The total amount of a specific type of tax. + 0..n + Statement + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Statement. Statement Line + A Statement Line. + 1..n + Statement + Statement Line + Statement Line + Statement Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-StockAvailabilityReport-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-StockAvailabilityReport-2.1.xsd new file mode 100644 index 0000000..9b3a98a --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-StockAvailabilityReport-2.1.xsd @@ -0,0 +1,403 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Stock Availability Report. Details + A report on the quantities of each item that are, or will be, in stock. This document is sent by a Seller (for example a producer) to a Buyer (for example a retailer). + Stock Availability Report + Storage status report. + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Stock Availability Report. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Stock Availability Report + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Stock Availability Report. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Stock Availability Report + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Stock Availability Report. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Stock Availability Report + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Stock Availability Report. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Stock Availability Report + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Stock Availability Report. Identifier + An identifier for this document, assigned by the sender. + 1 + Stock Availability Report + Identifier + Identifier + Identifier. Type + Document Number, Inventory Report Number + + + + + + + + + BBIE + Stock Availability Report. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Stock Availability Report + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Stock Availability Report. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Stock Availability Report + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Stock Availability Report. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Stock Availability Report + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Stock Availability Report. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Stock Availability Report + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Stock Availability Report. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Stock Availability Report + Note + Text + Text. Type + + + + + + + + + BBIE + Stock Availability Report. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Stock Availability Report + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Stock Availability Report. Inventory_ Period. Period + The inventory period covered by the Report. + 0..1 + Stock Availability Report + Inventory + Period + Period + Period + + + + + + + + + ASBIE + Stock Availability Report. Document Reference + A reference to another document associated with this document. + 0..n + Stock Availability Report + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Stock Availability Report. Signature + A signature applied to this document. + 0..n + Stock Availability Report + Signature + Signature + Signature + + + + + + + + + ASBIE + Stock Availability Report. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Stock Availability Report + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Stock Availability Report. Retailer_ Customer Party. Customer Party + The retailer. + 0..1 + Stock Availability Report + Retailer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Stock Availability Report. Inventory Reporting_ Party. Party + The party that will receive and use the Stock Availability Report (normally the branch for which the stock is reported). + 1 + Stock Availability Report + Inventory Reporting + Party + Party + Party + + + + + + + + + ASBIE + Stock Availability Report. Stock Availability Report Line + A line representing a particular item of sale and associated with a line in the Catalogue. + 1..n + Stock Availability Report + Stock Availability Report Line + Stock Availability Report Line + Stock Availability Report Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Tender-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Tender-2.1.xsd new file mode 100644 index 0000000..256c069 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Tender-2.1.xsd @@ -0,0 +1,464 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender. Details + A document whereby an economic operator (the tenderer) makes a formal offer (the tender) to a contracting authority to execute an order for the supply or purchase of goods, or for the execution of work, according to the terms of a proposed contract. + Tender + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tender. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tender. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tender. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tender. Identifier + An identifier for this document, assigned by the sender. + 1 + Tender + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender. Tender Type Code. Code + A code to specify the type of tender (economical or objective criteria versus technical or subjective criteria) + 0..1 + Tender + Tender Type Code + Code + Code. Type + + + + + + + + + BBIE + Tender. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tender + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender. Contract Name. Text + Short title of a contract associated with this Tender. + 0..n + Tender + Contract Name + Text + Text. Type + + + + + + + + + BBIE + Tender. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender + Note + Text + Text. Type + + + + + + + + + ASBIE + Tender. Validity_ Period. Period + The period for which the Tender is valid. + 0..1 + Tender + Validity + Period + Period + Period + + + + + + + + + ASBIE + Tender. Document Reference + A reference to another document associated with this document. + 0..n + Tender + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender. Signature + A signature applied to this document. + 0..n + Tender + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender. Tenderer_ Party. Party + The primary tenderer. + 1 + Tender + Tenderer + Party + Party + Party + + + + + + + + + ASBIE + Tender. Tenderer Qualification_ Document Reference. Document Reference + A reference to the tenderer qualification document that has been used to qualify the tenderer. + 0..1 + Tender + Tenderer Qualification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender. Subcontractor_ Party. Party + A subcontractor or other tenderer participating in the same Tender. + 0..n + Tender + Subcontractor + Party + Party + Party + + + + + + + + + ASBIE + Tender. Contracting Party + The contracting party. + 0..1 + Tender + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tender. Originator_ Customer Party. Customer Party + The party originating the Tender. + 0..1 + Tender + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Tender. Tendered Project + A project with which this Tender is associated. A single Tender can be used to bid for one project, multiple projects, or the global project. + 1..n + Tender + Tendered Project + Tendered Project + Tendered Project + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TenderReceipt-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TenderReceipt-2.1.xsd new file mode 100644 index 0000000..a03f4b9 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TenderReceipt-2.1.xsd @@ -0,0 +1,398 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender Receipt. Details + A document sent by a contracting party to an economic operator acknowledging receipt of a Tender. + Tender Receipt + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender Receipt. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender Receipt + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tender Receipt. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender Receipt + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tender Receipt. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender Receipt + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tender Receipt. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender Receipt + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tender Receipt. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tender Receipt + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Receipt. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender Receipt + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender Receipt. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender Receipt + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Receipt. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tender Receipt + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Receipt. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender Receipt + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender Receipt. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender Receipt + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender Receipt. Contract Name. Text + Short title of a contract associated with this Tender. + 0..n + Tender Receipt + Contract Name + Text + Text. Type + + + + + + + + + BBIE + Tender Receipt. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender Receipt + Note + Text + Text. Type + + + + + + + + + BBIE + Tender Receipt. Registered Date. Date + The date, assigned by the sender, on which the Tender Receipt was created. + 1 + Tender Receipt + Registered Date + Date + Date. Type + + + + + + + + + BBIE + Tender Receipt. Registered Time. Time + The time, assigned by the sender, at which the Tender Receipt was created. + 1 + Tender Receipt + Registered Time + Time + Time. Type + + + + + + + + + ASBIE + Tender Receipt. Tender_ Document Reference. Document Reference + A reference to a received Tender. + 0..n + Tender Receipt + Tender + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Receipt. Signature + A signature applied to this document. + 0..n + Tender Receipt + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender Receipt. Sender_ Party. Party + The party sending this document. + 1 + Tender Receipt + Sender + Party + Party + Party + + + + + + + + + ASBIE + Tender Receipt. Receiver_ Party. Party + The party receiving this document. + 1 + Tender Receipt + Receiver + Party + Party + Party + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TendererQualification-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TendererQualification-2.1.xsd new file mode 100644 index 0000000..ead68e9 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TendererQualification-2.1.xsd @@ -0,0 +1,401 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tenderer Qualification. Details + A document declaring the qualifications of a tenderer. + Tenderer Qualification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tenderer Qualification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tenderer Qualification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tenderer Qualification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tenderer Qualification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tenderer Qualification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tenderer Qualification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tenderer Qualification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tenderer Qualification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tenderer Qualification. Identifier + An identifier for this document, assigned by the sender. + 1 + Tenderer Qualification + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tenderer Qualification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tenderer Qualification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tenderer Qualification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tenderer Qualification + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tenderer Qualification + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tenderer Qualification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tenderer Qualification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tenderer Qualification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tenderer Qualification + Note + Text + Text. Type + + + + + + + + + BBIE + Tenderer Qualification. Version. Identifier + Indicates the current version of the Tenderer Qualification. + 0..1 + Tenderer Qualification + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Tenderer Qualification. Previous_ Version. Identifier + Identifies the previous version of the Tenderer Qualification which is superceded by this version. + 0..1 + Tenderer Qualification + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + ASBIE + Tenderer Qualification. Signature + A signature applied to this document. + 0..n + Tenderer Qualification + Signature + Signature + Signature + + + + + + + + + ASBIE + Tenderer Qualification. Tenderer Party Qualification + A specific qualification of the Tenderer. + 1..n + Tenderer Qualification + Tenderer Party Qualification + Tenderer Party Qualification + Tenderer Party Qualification + + + + + + + + + ASBIE + Tenderer Qualification. Contracting Party + The contracting party. + 0..1 + Tenderer Qualification + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tenderer Qualification. Evidence + An evidentiary document supporting Tenderer qualifications. + 0..n + Tenderer Qualification + Evidence + Evidence + Evidence + + + + + + + + + ASBIE + Tenderer Qualification. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Tenderer Qualification + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TendererQualificationResponse-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TendererQualificationResponse-2.1.xsd new file mode 100644 index 0000000..8d56078 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TendererQualificationResponse-2.1.xsd @@ -0,0 +1,399 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tenderer Qualification Response. Details + A document issued by a procurement organization to notify an economic operator whether it has been admitted to or excluded from the tendering process. + Tenderer Qualification Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tenderer Qualification Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tenderer Qualification Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tenderer Qualification Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tenderer Qualification Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tenderer Qualification Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tenderer Qualification Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tenderer Qualification Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tenderer Qualification Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tenderer Qualification Response. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tenderer Qualification Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tenderer Qualification Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tenderer Qualification Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tenderer Qualification Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tenderer Qualification Response + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Contract Name. Text + Short title of a contract associated with this Tender. + 0..n + Tenderer Qualification Response + Contract Name + Text + Text. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tenderer Qualification Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tenderer Qualification Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tenderer Qualification Response + Note + Text + Text. Type + + + + + + + + + ASBIE + Tenderer Qualification Response. Sender_ Party. Party + The party sending this message. + 1 + Tenderer Qualification Response + Sender + Party + Party + Party + + + + + + + + + ASBIE + Tenderer Qualification Response. Receiver_ Party. Party + The party receiving this message. + 1 + Tenderer Qualification Response + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Tenderer Qualification Response. Resolution_ Document Reference. Document Reference + A document (e.g., meeting minutes) relating to consideration of tenderer qualifications. + 0..1 + Tenderer Qualification Response + Resolution + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tenderer Qualification Response. Qualification Resolution + An association to the resolution that is being notified + 1..n + Tenderer Qualification Response + Qualification Resolution + Qualification Resolution + Qualification Resolution + + + + + + + + + ASBIE + Tenderer Qualification Response. Appeal Terms + Terms of appeal for this tendering process. + 0..1 + Tenderer Qualification Response + Appeal Terms + Appeal Terms + Appeal Terms + + + + + + + + + ASBIE + Tenderer Qualification Response. Signature + A signature applied to this document. + 0..n + Tenderer Qualification Response + Signature + Signature + Signature + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TradeItemLocationProfile-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TradeItemLocationProfile-2.1.xsd new file mode 100644 index 0000000..2b337fd --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TradeItemLocationProfile-2.1.xsd @@ -0,0 +1,415 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Trade Item Location Profile. Details + A document specifying trade item attributes relating to replenishment policies. + Trade Item Location Profile + TradeItem Information Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Trade Item Location Profile. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Trade Item Location Profile + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Trade Item Location Profile. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Trade Item Location Profile + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Trade Item Location Profile. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Trade Item Location Profile + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Trade Item Location Profile. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Trade Item Location Profile + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Trade Item Location Profile. Identifier + An identifier for this document, assigned by the sender. + 1 + Trade Item Location Profile + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Trade Item Location Profile. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Trade Item Location Profile + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Trade Item Location Profile. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Trade Item Location Profile + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Trade Item Location Profile. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Trade Item Location Profile + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Trade Item Location Profile. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Trade Item Location Profile + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Trade Item Location Profile. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Trade Item Location Profile + Note + Text + Text. Type + + + + + + + + + BBIE + Trade Item Location Profile. Profile_ Status Code. Code + A code signifying the status of this Trade Item Location Profile. + 0..1 + Trade Item Location Profile + Profile + Status Code + Code + Code. Type + + + + + + + + + ASBIE + Trade Item Location Profile. Period + An association to Period. + 1 + Trade Item Location Profile + Period + Period + Period + + + + + + + + + ASBIE + Trade Item Location Profile. Document Reference + A reference to another document associated with this document. + 0..n + Trade Item Location Profile + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Trade Item Location Profile. Signature + A signature applied to this document. + 0..n + Trade Item Location Profile + Signature + Signature + Signature + + + + + + + + + ASBIE + Trade Item Location Profile. Sender_ Party. Party + The sender. + 1 + Trade Item Location Profile + Sender + Party + Party + Party + + + + + + + + + ASBIE + Trade Item Location Profile. Receiver_ Party. Party + The receiver. + 1 + Trade Item Location Profile + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Trade Item Location Profile. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Trade Item Location Profile + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Trade Item Location Profile. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Trade Item Location Profile + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Trade Item Location Profile. Item Management Profile + A profile specifying replenishment policies for a particular trade item. + 1..n + Trade Item Location Profile + Item Management Profile + Item Management Profile + Item Management Profile + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportExecutionPlan-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportExecutionPlan-2.1.xsd new file mode 100644 index 0000000..5408981 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportExecutionPlan-2.1.xsd @@ -0,0 +1,769 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Execution Plan. Details + A document used in the negotiation of a transport service between a transport user and a transport service provider. + Transport Execution Plan + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Execution Plan. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Execution Plan + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Execution Plan + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Execution Plan + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Execution Plan + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Execution Plan + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Version. Identifier + Indicates the current version of the Transport Execution Plan. + 0..1 + Transport Execution Plan + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Transport Execution Plan. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Execution Plan + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Execution Plan. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Execution Plan + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transport Execution Plan + Issue Date + Date + Date. Type + Transport Document Date + + + + + + + + + BBIE + Transport Execution Plan. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transport Execution Plan + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Execution Plan. Document Status Code. Code + A code signifying the status of the Transport Execution Plan (updated, cancelled, confirmed, etc.) + 0..1 + Transport Execution Plan + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Transport Execution Plan. Document Status Reason Code. Code + A code signifying a reason associated with the status of a Transport Execution Plan. + 0..1 + Transport Execution Plan + Document Status Reason Code + Code + Code. Type + + + + + + + + + BBIE + Transport Execution Plan. Document Status Reason Description. Text + A reason for the status assigned to the Transport Execution Plan, expressed in text. + 0..n + Transport Execution Plan + Document Status Reason Description + Text + Text. Type + 123 Standard Chartered Tower + + + + + + + + + BBIE + Transport Execution Plan. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Execution Plan + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Plan. Transport User_ Remarks. Text + Remarks from the transport user regarding the transport operations referred to in the Transport Execution Plan. + 0..n + Transport Execution Plan + Transport User + Remarks + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Plan. Transport Service Provider_ Remarks. Text + Remarks from the transport service provider regarding the transport operations referred to in the Transport Execution Plan. + 0..n + Transport Execution Plan + Transport Service Provider + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Transport Execution Plan. Sender_ Party. Party + The party sending this document (can be either the transport user or the transport service provider). + 0..1 + Transport Execution Plan + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Receiver_ Party. Party + The party receiving this document (can be either the transport user or the transport service provider). + 0..1 + Transport Execution Plan + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Transport User_ Party. Party + The party requesting the transport service from a transport service provider. + 1 + Transport Execution Plan + Transport User + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Transport Service Provider_ Party. Party + The party offering the transport service based upon a request from a transport user. + 1 + Transport Execution Plan + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Bill To_ Party. Party + Describes the party that will pay for the transport service(s) provided in a Transport Execution Plan + 0..1 + Transport Execution Plan + Bill To + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Signature + A signature applied to this document. + 0..n + Transport Execution Plan + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Execution Plan. Transport Execution Plan Request_ Document Reference. Document Reference + A reference to a Transport Execution Plan Request. + 0..1 + Transport Execution Plan + Transport Execution Plan Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Transport Execution Plan_ Document Reference. Document Reference + A reference to an original Transport Execution Plan. + 0..1 + Transport Execution Plan + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Transport Service Description_ Document Reference. Document Reference + A reference to the Transport Service Description, which is used by a transport service provider to announce transport services to transport users (buyers). + 0..1 + Transport Execution Plan + Transport Service Description + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Transport Execution Plan + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Transport_ Contract. Contract + A contract related to the Transport Execution Plan. + 0..1 + Transport Execution Plan + Transport + Contract + Contract + Contract + + + + + + + + + ASBIE + Transport Execution Plan. Transport Service Provider Response Required_ Period. Period + Describes the deadline for when the Transport Service Provider will have to respond to a Transport Execution Plan . + 0..1 + Transport Execution Plan + Transport Service Provider Response Required + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Transport User Response Required_ Period. Period + Describes the deadline for when the Transport User will have to respond to a Transport Execution Plan suggested by a Transport Service Provider. + 0..n + Transport Execution Plan + Transport User Response Required + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Validity_ Period. Period + A period during which the Transport Execution Plan is valid. + 0..n + Transport Execution Plan + Validity + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Main_ Transportation Service. Transportation Service + Description of the main transportation service referenced in the Transport Execution Plan. + 0..1 + Transport Execution Plan + Main + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan. Additional_ Transportation Service. Transportation Service + A description of an additional transportation service referenced in the Transport Execution Plan. + 0..n + Transport Execution Plan + Additional + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan. Service Start Time_ Period. Period + The period within which the service must begin. + 0..1 + Transport Execution Plan + Service Start Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Service End Time_ Period. Period + The period during which the service must be completed. + 0..1 + Transport Execution Plan + Service End Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. From_ Location. Location + The location of origin of the transport service referenced in the Transport Execution Plan. + 0..1 + Transport Execution Plan + From + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan. To_ Location. Location + The destination location for the transport service referenced in the Transport Execution Plan. + 0..1 + Transport Execution Plan + To + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan. At_ Location. Location + The location of a transport service (e.g., terminal handling service) that does not require transport movement. + 0..1 + Transport Execution Plan + At + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan. Transport Execution Terms + A description of terms and conditions related to the Transport Execution Plan. + 0..1 + Transport Execution Plan + Transport Execution Terms + Transport Execution Terms + Transport Execution Terms + + + + + + + + + ASBIE + Transport Execution Plan. Consignment + A description of an identifiable collection of goods items to be transported between the consignor and the consignee. This information may be defined within a transport contract. A consignment may comprise more than one shipment (e.g., when consolidated by a freight forwarder). + 1..n + Transport Execution Plan + Consignment + Consignment + Consignment + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportExecutionPlanRequest-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportExecutionPlanRequest-2.1.xsd new file mode 100644 index 0000000..d3663f2 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportExecutionPlanRequest-2.1.xsd @@ -0,0 +1,696 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Execution Plan Request. Details + A document sent by a transport user to request a transport service from a transport service provider. + Transport Execution Plan Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Execution Plan Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Execution Plan Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Execution Plan Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Execution Plan Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Execution Plan Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Execution Plan Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Version. Identifier + An identifier for the current version of the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Transport Execution Plan Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Execution Plan Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Execution Plan Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Execution Plan Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transport Execution Plan Request + Issue Date + Date + Date. Type + Transport Document Date + + + + + + + + + BBIE + Transport Execution Plan Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transport Execution Plan Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Document Status Code. Code + A code signifying the status of the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Document Status Reason Code. Code + A code signifying a reason associated with the status of the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Document Status Reason Code + Code + Code. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Document Status Reason Description. Text + A reason associated with the status of the Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Document Status Reason Description + Text + Text. Type + 123 Standard Chartered Tower + + + + + + + + + BBIE + Transport Execution Plan Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Execution Plan Request + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Transport User_ Remarks. Text + Remarks from the transport user regarding the transport operations referenced in the Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Transport User + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Transport Execution Plan Request. Sender_ Party. Party + The party sending the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Receiver_ Party. Party + The party receiving the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport User_ Party. Party + The party requesting the transport services referenced in the Transport Execution Plan Request. + 1 + Transport Execution Plan Request + Transport User + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Service Provider_ Party. Party + The party providing the transport services referenced in the Transport Execution Plan Request. + 1 + Transport Execution Plan Request + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Payee_ Party. Party + The party that will pay for the transport service(s) referred to in a Transport Execution Plan. + 0..1 + Transport Execution Plan Request + Payee + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Signature + A signature applied to this document. + 0..n + Transport Execution Plan Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Execution Plan_ Document Reference. Document Reference + A reference to an original Transport Execution Plan Document. + 0..1 + Transport Execution Plan Request + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Service Description_ Document Reference. Document Reference + A reference to the Transport Service Description, which is used by a transport service provider to announce transport services to transport users (buyers). + 0..1 + Transport Execution Plan Request + Transport Service Description + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan Request. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Transport Execution Plan Request + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport_ Contract. Contract + A potential contract related to the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Transport + Contract + Contract + Contract + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Service Provider Response Deadline_ Period. Period + A deadline for a response from the Transport Service Provider to this Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Transport Service Provider Response Deadline + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan Request. Main_ Transportation Service. Transportation Service + A description of the main transportation service referenced in the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Main + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan Request. Additional_ Transportation Service. Transportation Service + A description of an additional transportation service referenced in the Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Additional + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan Request. Service Start Time_ Period. Period + The period within which the services referred to in the Transport Execution Plan Request must begin. + 0..1 + Transport Execution Plan Request + Service Start Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan Request. Service End Time_ Period. Period + The period during which the services referred to in the Transport Execution Plan Request must be completed. + 0..1 + Transport Execution Plan Request + Service End Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan Request. From_ Location. Location + The location of origin of the transport service referenced in the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + From + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan Request. To_ Location. Location + The destination location for the transport service referenced in the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + To + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan Request. At_ Location. Location + The location of a transport service (e.g., terminal handling service) that does not require transport movement. + 0..1 + Transport Execution Plan Request + At + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Execution Terms + A description of terms and conditions related to the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Transport Execution Terms + Transport Execution Terms + Transport Execution Terms + + + + + + + + + ASBIE + Transport Execution Plan Request. Consignment + A description of an identifiable collection of goods items to be transported between the consignor and the consignee. This information may be defined within a transport contract. A consignment may comprise more than one shipment (e.g., when consolidated by a freight forwarder). + 1..n + Transport Execution Plan Request + Consignment + Consignment + Consignment + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportProgressStatus-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportProgressStatus-2.1.xsd new file mode 100644 index 0000000..31c0889 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportProgressStatus-2.1.xsd @@ -0,0 +1,396 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Progress Status. Details + A document sent from a Transportation Network Manager to a Transport Service Provider giving the status of the whereabouts and schedule of the transport means involved in a transport service. + Transport Progress Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Progress Status. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Progress Status + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Progress Status + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Progress Status + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Progress Status + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Progress Status + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Progress Status + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Progress Status. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Progress Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Transport Progress Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Progress Status. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Transport Progress Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Progress Status. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Progress Status + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Progress Status. Status Available_ Indicator. Indicator + Indicates whether transport progress information is available. + 0..1 + Transport Progress Status + Status Available + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Transport Progress Status. Signature + A signature applied to this document. + 0..n + Transport Progress Status + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Progress Status. Sender_ Party. Party + The party sending the Transport Progress Status. + 0..1 + Transport Progress Status + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status. Receiver_ Party. Party + The party receiving the Transport Progress Status. + 0..1 + Transport Progress Status + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status. Source Issuer_ Party. Party + The party that is the source of the Transport Progress Status. + 0..1 + Transport Progress Status + Source Issuer + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status. Transport Progress Status Request_ Document Reference. Document Reference + A reference to the Transport Progress Status Request document to which this status report is a response. + 0..1 + Transport Progress Status + Transport Progress Status Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Progress Status. Transport Means + The transport means by which the current transport service is effectuated. + 1 + Transport Progress Status + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Progress Status. Transport Schedule + Describes the status and schedule of the transport means operating the transport service as well as the current location of the transport means. + 0..n + Transport Progress Status + Transport Schedule + Transport Schedule + Transport Schedule + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportProgressStatusRequest-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportProgressStatusRequest-2.1.xsd new file mode 100644 index 0000000..5fd455d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportProgressStatusRequest-2.1.xsd @@ -0,0 +1,345 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Progress Status Request. Details + A document sent from a transport service provider to a transportation network manager requesting a Transport Progress Status. + Transport Progress Status Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Progress Status Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Progress Status Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Progress Status Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Progress Status Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Progress Status Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Progress Status Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Progress Status Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Progress Status Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Progress Status Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Transport Progress Status Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Progress Status Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Transport Progress Status Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Progress Status Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Progress Status Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Transport Progress Status Request. Signature + A signature applied to this document. + 0..n + Transport Progress Status Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Progress Status Request. Sender_ Party. Party + The party sending the Transport Progress Status Request. + 0..1 + Transport Progress Status Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status Request. Receiver_ Party. Party + The party receiving the Transport Progress Status Request. + 0..1 + Transport Progress Status Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status Request. Transport Means + The transport means by which the current transport service is effectuated and for which status is requested. + 1 + Transport Progress Status Request + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Progress Status Request. Status_ Location. Location + A location for which status is requested. + 0..n + Transport Progress Status Request + Status + Location + Location + Location + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportServiceDescription-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportServiceDescription-2.1.xsd new file mode 100644 index 0000000..21a51b3 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportServiceDescription-2.1.xsd @@ -0,0 +1,430 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Service Description. Details + A document sent by a transport service provider to announce the availability of a transport service. + Transport Service Description + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Service Description. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Service Description + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Service Description + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Service Description + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Service Description + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Service Description + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Service Description + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Service Description. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Service Description + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transport Service Description + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Service Description. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transport Service Description + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Service Description. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Service Description + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Service Description. Service Name. Name + A name, assigned by the Transport Service Provider, for the service being announced. + 0..1 + Transport Service Description + Service Name + Name + Name. Type + + + + + + + + + BBIE + Transport Service Description. Response Code. Code + A code signifying a response related to the Transport Service Description. + 0..1 + Transport Service Description + Response Code + Code + Code. Type + + + + + + + + + ASBIE + Transport Service Description. Signature + A signature applied to this document. + 0..n + Transport Service Description + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Service Description. Sender_ Party. Party + The party sending the Transport Service Description. + 0..1 + Transport Service Description + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description. Receiver_ Party. Party + The party receiving the Transport Service Description. + 0..1 + Transport Service Description + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description. Transport Service Description Request_ Document Reference. Document Reference + A Transport Service Description Request to which this Transport Service Description is a response. + 0..1 + Transport Service Description + Transport Service Description Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Service Description. Transport Service Provider_ Party. Party + The transport service provider. + 0..1 + Transport Service Description + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description. Service Charge_ Payment Terms. Payment Terms + The terms of payment under which the transport service would be provided. + 0..1 + Transport Service Description + Service Charge + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Service Description. Validity_ Period. Period + A period during which this Transport Service Description is valid. + 0..1 + Transport Service Description + Validity + Period + Period + Period + + + + + + + + + ASBIE + Transport Service Description. Transportation Service + A transportation service announced in this Transport Service Description. + 0..n + Transport Service Description + Transportation Service + Transportation Service + Transportation Service + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportServiceDescriptionRequest-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportServiceDescriptionRequest-2.1.xsd new file mode 100644 index 0000000..77be8be --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportServiceDescriptionRequest-2.1.xsd @@ -0,0 +1,363 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Service Description Request. Details + A document requesting a Transport Service Description, sent from a party with a transport demand (transport user) to a party providing transport services (transport service provider). + Transport Service Description Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Service Description Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Service Description Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Service Description Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Service Description Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Service Description Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Service Description Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Service Description Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Service Description Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Service Description Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Transport Service Description Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Service Description Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Transport Service Description Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Service Description Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Service Description Request + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Service Description Request. Service Information Preference Code. Code + A code signifying the category of service information requested to be provided in the Transport Service Description. + 0..1 + Transport Service Description Request + Service Information Preference Code + Code + Code. Type + + + + + + + + + ASBIE + Transport Service Description Request. Signature + A signature applied to this document. + 0..n + Transport Service Description Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Service Description Request. Sender_ Party. Party + The party sending the Transport Service Description Request. + 0..1 + Transport Service Description Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description Request. Receiver_ Party. Party + The party receiving the Transport Service Description Request. + 0..1 + Transport Service Description Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description Request. Transport Service Provider_ Party. Party + The transport service provider. + 0..1 + Transport Service Description Request + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description Request. Transportation Service + A transportation service about which information is requested. + 1..n + Transport Service Description Request + Transportation Service + Transportation Service + Transportation Service + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportationStatus-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportationStatus-2.1.xsd new file mode 100644 index 0000000..0290752 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportationStatus-2.1.xsd @@ -0,0 +1,566 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transportation Status. Details + A document to circulate reports of transportation status or changes in status (events) among a group of participants. + Transportation Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transportation Status. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transportation Status + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Transportation Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transportation Status + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Transportation Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transportation Status + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Transportation Status. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transportation Status + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Transportation Status. Identifier + An identifier for this document, assigned by the sender. + 1 + Transportation Status + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Carrier Assigned_ Identifier. Identifier + A reference number assigned by a carrier or its agent to identify a specific shipment, such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Transportation Status + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transportation Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transportation Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transportation Status. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transportation Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transportation Status. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Transportation Status + Name + Name + Name. Type + + + + + + + + + BBIE + Transportation Status. Description. Text + A textual description of transportation status. + 0..n + Transportation Status + Description + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transportation Status + Note + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Shipping Order Identifier. Identifier + A reference number for a shipping order. + 0..1 + Transportation Status + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Other_ Instruction. Text + An instruction regarding this message. + 0..1 + Transportation Status + Other + Instruction + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Transportation Status Type Code. Code + A code signifying the type of status provided in a Transportation Status document. + 0..1 + Transportation Status + Transportation Status Type Code + Code + Code. Type + + + + + + + + + BBIE + Transportation Status. Transport Execution Status Code. Code + A code signifying the overall status of transport service execution. + 0..1 + Transportation Status + Transport Execution Status Code + Code + Code. Type + + + + + + + + + ASBIE + Transportation Status. Consignment + A consignment associated with this Transportation Status report. + 0..n + Transportation Status + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Transportation Status. Transport Event + An event associated with this Transportation Status report. + 0..n + Transportation Status + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Status. Document Reference + A reference to another document associated with this document. + 0..n + Transportation Status + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status. Signature + A signature applied to this document. + 0..n + Transportation Status + Signature + Signature + Signature + + + + + + + + + ASBIE + Transportation Status. Sender_ Party. Party + The party sending this Transportation Status report. + 0..1 + Transportation Status + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status. Receiver_ Party. Party + The party receiving this Transportation Status report. + 0..1 + Transportation Status + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status. Transportation Status Request_ Document Reference. Document Reference + A reference to the Transportation Status Request to which this report is a response. + 0..1 + Transportation Status + Transportation Status Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status. Transport Execution Plan_ Document Reference. Document Reference + A reference to the Transport Execution Plan associated with the transport service whose status is being reported. + 0..1 + Transportation Status + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status. Updated Pickup_ Transport Event. Transport Event + Update of the original plan regarding a pickup of goods. + 0..1 + Transportation Status + Updated Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Status. Updated Delivery_ Transport Event. Transport Event + Update of the original plan regarding a delivery. + 0..1 + Transportation Status + Updated Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Status. Status_ Location. Location + Locations associated with this Transportation Status report. + 0..n + Transportation Status + Status + Location + Location + Location + + + + + + + + + ASBIE + Transportation Status. Status_ Period. Period + A period for which status is provided. + 0..n + Transportation Status + Status + Period + Period + Period + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportationStatusRequest-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportationStatusRequest-2.1.xsd new file mode 100644 index 0000000..daafd1b --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportationStatusRequest-2.1.xsd @@ -0,0 +1,484 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transportation Status Request. Details + A document requesting a Transportation Status report. + Transportation Status Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transportation Status Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transportation Status Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Transportation Status Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transportation Status Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Transportation Status Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transportation Status Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Transportation Status Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transportation Status Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Transportation Status Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transportation Status Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. Carrier Assigned_ Identifier. Identifier + A reference number assigned by a carrier or its agent to identify a specific shipment, such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Transportation Status Request + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transportation Status Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transportation Status Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transportation Status Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transportation Status Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transportation Status Request. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Transportation Status Request + Name + Name + Name. Type + + + + + + + + + BBIE + Transportation Status Request. Description. Text + A textual description of the document instance. + 0..n + Transportation Status Request + Description + Text + Text. Type + + + + + + + + + BBIE + Transportation Status Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transportation Status Request + Note + Text + Text. Type + + + + + + + + + BBIE + Transportation Status Request. Shipping Order Identifier. Identifier + A reference number for a shipping order. + 0..1 + Transportation Status Request + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. Other_ Instruction. Text + An instruction regarding this message. + 0..1 + Transportation Status Request + Other + Instruction + Text + Text. Type + + + + + + + + + BBIE + Transportation Status Request. Transportation Status Type Code. Code + A code signifying the type of status requested in a Transportation Status document. + 0..1 + Transportation Status Request + Transportation Status Type Code + Code + Code. Type + + + + + + + + + ASBIE + Transportation Status Request. Sender_ Party. Party + The party sending this document. + 0..1 + Transportation Status Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status Request. Receiver_ Party. Party + The party receiving this document. + 0..1 + Transportation Status Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status Request. Transport Execution Plan_ Document Reference. Document Reference + A reference to the Transport Execution Plan associated with the transport service for which status is requested. + 0..1 + Transportation Status Request + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status Request. Consignment + A consignment regarding which status is requested. + 0..n + Transportation Status Request + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Transportation Status Request. Document Reference + A reference to another document associated with this document. + 0..n + Transportation Status Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status Request. Signature + A signature applied to this document. + 0..n + Transportation Status Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transportation Status Request. Requested Status_ Location. Location + A location for which status is requested. + 0..n + Transportation Status Request + Requested Status + Location + Location + Location + + + + + + + + + ASBIE + Transportation Status Request. Requested Status_ Period. Period + A period for which status is requested. + 0..n + Transportation Status Request + Requested Status + Period + Period + Period + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-UnawardedNotification-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-UnawardedNotification-2.1.xsd new file mode 100644 index 0000000..7faad71 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-UnawardedNotification-2.1.xsd @@ -0,0 +1,415 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Unawarded Notification. Details + A document communicating to a tenderer that the contract has been awarded to different tenderer. + Unawarded Notification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Unawarded Notification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Unawarded Notification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Unawarded Notification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Unawarded Notification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Unawarded Notification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Unawarded Notification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Unawarded Notification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Unawarded Notification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Unawarded Notification. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Unawarded Notification + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unawarded Notification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Unawarded Notification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Unawarded Notification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Unawarded Notification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Unawarded Notification. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Unawarded Notification + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unawarded Notification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Unawarded Notification + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Unawarded Notification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Unawarded Notification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Unawarded Notification. Contract Name. Text + The name, expressed as text, of this procurement project. + 0..n + Unawarded Notification + Contract Name + Text + Text. Type + + + + + + + + + BBIE + Unawarded Notification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Unawarded Notification + Note + Text + Text. Type + + + + + + + + + ASBIE + Unawarded Notification. Signature + A signature applied to this document. + 0..n + Unawarded Notification + Signature + Signature + Signature + + + + + + + + + ASBIE + Unawarded Notification. Sender_ Party. Party + The party sending this document. + 1 + Unawarded Notification + Sender + Party + Party + Party + + + + + + + + + ASBIE + Unawarded Notification. Receiver_ Party. Party + The party receiving this document. + 1 + Unawarded Notification + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Unawarded Notification. Minutes_ Document Reference. Document Reference + A reference to a set of minutes associated with this award. + 0..1 + Unawarded Notification + Minutes + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Unawarded Notification. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. It can be used to include annex documents such as the minutes of the awarding process meetings. + 0..n + Unawarded Notification + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Unawarded Notification. Tender Result + An association to the Tender Result being notified + 1..n + Unawarded Notification + Tender Result + Tender Result + Tender Result + + + + + + + + + ASBIE + Unawarded Notification. Appeal Terms + Terms of appeal for this tendering process. + 0..1 + Unawarded Notification + Appeal Terms + Appeal Terms + Appeal Terms + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-UtilityStatement-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-UtilityStatement-2.1.xsd new file mode 100644 index 0000000..f3fb458 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-UtilityStatement-2.1.xsd @@ -0,0 +1,490 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Utility Statement. Details + A supplement to an Invoice or Credit Note, containing information on the consumption of services provided by utility suppliers to private and public customers, including electricity, gas, water, and telephone services. + Utility Statement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Utility Statement. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Utility Statement + UBL Version Identifier + Identifier + Identifier. Type + 2.0 + + + + + + + + + BBIE + Utility Statement. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Utility Statement + Customization Identifier + Identifier + Identifier. Type + OIOUBL-2.02 + + + + + + + + + BBIE + Utility Statement. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Utility Statement + Profile Identifier + Identifier + Identifier. Type + Reference-Utility-1.0 + + + + + + + + + BBIE + Utility Statement. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Utility Statement + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Utility Statement. Identifier + An identifier for this document, assigned by the sender. + 1 + Utility Statement + Identifier + Identifier + Identifier. Type + 61014906x-1 + + + + + + + + + BBIE + Utility Statement. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Utility Statement + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Utility Statement. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Utility Statement + UUID + Identifier + Identifier. Type + 9756b4d0-8815-1029-857a-e388fe63f499 + + + + + + + + + BBIE + Utility Statement. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Utility Statement + Issue Date + Date + Date. Type + 2007-12-12 + + + + + + + + + BBIE + Utility Statement. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Utility Statement + Issue Time + Time + Time. Type + 12:32:56 + + + + + + + + + BBIE + Utility Statement. Utility Statement Type Code. Code + A code signifying the type of Utility Statement. + 1 + Utility Statement + Utility Statement Type Code + Code + Code. Type + Electricity + + + + + + + + + BBIE + Utility Statement. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Utility Statement + Note + Text + Text. Type + Concerning account remark + + + + + + + + + BBIE + Utility Statement. Document_ Currency Code. Code + A code signifying the default currency for this document. + 1 + Utility Statement + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Utility Statement. Accounting Cost Code. Code + The buyer's accounting cost code, applied to the UtilityStatement. + 0..1 + Utility Statement + Accounting Cost Code + Code + Code. Type + 5050.0 + + + + + + + + + BBIE + Utility Statement. Accounting Cost. Text + The buyer's accounting cost code, applied to the UtilityStatement, expressed as text. + 0..1 + Utility Statement + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Utility Statement. Parent_ Document Reference. Document Reference + A reference to the parent Invoice or Credit Note. + 1 + Utility Statement + Parent + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Utility Statement. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Utility Statement + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Utility Statement. Signature + A signature applied to this document. + 0..n + Utility Statement + Signature + Signature + Signature + + + + + + + + + ASBIE + Utility Statement. Sender_ Party. Party + The party sending this document. + 1 + Utility Statement + Sender + Party + Party + Party + + + + + + + + + ASBIE + Utility Statement. Receiver_ Party. Party + The party receiving this document. + 1 + Utility Statement + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Utility Statement. Customer Party + The buyer, if different from the receiver of the document. + 0..1 + Utility Statement + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Utility Statement. Subscriber_ Party. Party + The subscriber (user or receiver of the service), if different from the buyer and from the party receiving this document. + 0..1 + Utility Statement + Subscriber + Party + Party + Party + + + + + + + + + ASBIE + Utility Statement. Main_ On Account Payment. On Account Payment + A payment on an account. + 0..n + Utility Statement + Main + On Account Payment + On Account Payment + On Account Payment + + + + + + + + + ASBIE + Utility Statement. Subscriber Consumption + A utility statement for a particular consumption point. + 0..n + Utility Statement + Subscriber Consumption + Subscriber Consumption + Subscriber Consumption + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Waybill-2.1.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Waybill-2.1.xsd new file mode 100644 index 0000000..1aaff39 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Waybill-2.1.xsd @@ -0,0 +1,501 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Waybill. Details + A transport document describing a shipment It is issued by the party who undertakes to provide transportation services, or undertakes to arrange for their provision, to the party who gives instructions for the transportation services (shipper, consignor, etc.). It states the instructions for the beneficiary and may contain the details of the transportation, charges, and terms and conditions under which the transportation service is provided. + Waybill + Consignment Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Waybill. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Waybill + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Waybill. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Waybill + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Waybill. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Waybill + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Waybill. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Waybill + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Waybill. Identifier + An identifier for this document, assigned by the sender. + 1 + Waybill + Identifier + Identifier + Identifier. Type + Master Waybill Number + + + + + + + + + BBIE + Waybill. Carrier Assigned_ Identifier. Identifier + An identifier (in the form of a reference number) assigned by a carrier or its agent to identify a specific shipment. + 0..1 + Waybill + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Waybill + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Waybill + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Waybill. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Waybill + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Waybill. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Waybill + Name + Name + Name. Type + Air Waybill , House Waybill + + + + + + + + + BBIE + Waybill. Description. Text + Text describing the contents of the Waybill. + 0..n + Waybill + Description + Text + Text. Type + + + + + + + + + BBIE + Waybill. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Waybill + Note + Text + Text. Type + + + + + + + + + BBIE + Waybill. Shipping Order Identifier. Identifier + An identifier (in the form of a reference number) of the Shipping Order or Forwarding Instruction associated with this shipment. + 0..1 + Waybill + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Waybill + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Waybill. Declared Carriage_ Value. Amount + Value declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage in case of loss or damage to goods or delayed delivery. + 0..1 + Waybill + Declared Carriage + Value + Amount + Amount. Type + + + + + + + + + BBIE + Waybill. Other_ Instruction. Text + Other free-text instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Waybill + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Waybill. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Waybill + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Waybill. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Waybill + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Waybill. Freight Forwarder_ Party. Party + A party combining individual smaller consignments into a single larger shipment (a so-called consolidated consignment or shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Waybill + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Waybill. Shipment + A description of the shipment. + 1 + Waybill + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Waybill. Document Reference + A reference to another document associated with this document. + 0..n + Waybill + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Waybill. Exchange Rate + Information about the rate of exchange (conversion) between two currencies. + 0..n + Waybill + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Waybill. Document Distribution + A list of interested parties to whom this document is distributed. + 0..n + Waybill + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Waybill. Signature + A signature applied to this document. + 0..n + Waybill + Signature + Signature + Signature + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/CCTS_CCT_SchemaModule-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/CCTS_CCT_SchemaModule-2.2.xsd new file mode 100644 index 0000000..b7e8983 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/CCTS_CCT_SchemaModule-2.2.xsd @@ -0,0 +1,731 @@ + + + + + + + + + + + + + + UNDT000001 + CCT + Amount. Type + 1.0 + A number of monetary units specified in a currency where the unit of the currency is explicit or implied. + Amount + decimal + + + + + + + + UNDT000001-SC2 + SC + Amount Currency. Identifier + The currency of the amount. + Amount Currency + Identification + Identifier + string + Reference UNECE Rec 9, using 3-letter alphabetic codes. + + + + + + + UNDT000001-SC3 + SC + Amount Currency. Code List Version. Identifier + The VersionID of the UN/ECE Rec9 code list. + Amount Currency + Code List Version + Identifier + string + + + + + + + + + + + + UNDT000002 + CCT + Binary Object. Type + 1.0 + A set of finite-length sequences of binary octets. + Binary Object + binary + + + + + + + + UNDT000002-SC2 + SC + Binary Object. Format. Text + The format of the binary content. + Binary Object + Format + Text + string + + + + + + + UNDT000002-SC3 + SC + Binary Object. Mime. Code + The mime type of the binary object. + Binary Object + Mime + Code + string + + + + + + + UNDT000002-SC4 + SC + Binary Object. Encoding. Code + Specifies the decoding algorithm of the binary object. + Binary Object + Encoding + Code + string + + + + + + + UNDT000002-SC5 + SC + Binary Object. Character Set. Code + The character set of the binary object if the mime type is text. + Binary Object + Character Set + Code + string + + + + + + + UNDT000002-SC6 + SC + Binary Object. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the binary object is located. + Binary Object + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000002-SC7 + SC + Binary Object. Filename.Text + The filename of the binary object. + Binary Object + Filename + Text + string + + + + + + + + + + + + UNDT000007 + CCT + Code. Type + 1.0 + A character string (letters, figures, or symbols) that for brevity and/or languange independence may be used to represent or replace a definitive value or text of an attribute together with relevant supplementary information. + Code + string + Should not be used if the character string identifies an instance of an object class or an object in the real world, in which case the Identifier. Type should be used. + + + + + + + + UNDT000007-SC2 + SC + Code List. Identifier + The identification of a list of codes. + Code List + Identification + Identifier + string + + + + + + + UNDT000007-SC3 + SC + Code List. Agency. Identifier + An agency that maintains one or more lists of codes. + Code List + Agency + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000007-SC4 + SC + Code List. Agency Name. Text + The name of the agency that maintains the list of codes. + Code List + Agency Name + Text + string + + + + + + + UNDT000007-SC5 + SC + Code List. Name. Text + The name of a list of codes. + Code List + Name + Text + string + + + + + + + UNDT000007-SC6 + SC + Code List. Version. Identifier + The version of the list of codes. + Code List + Version + Identifier + string + + + + + + + UNDT000007-SC7 + SC + Code. Name. Text + The textual equivalent of the code content component. + Code + Name + Text + string + + + + + + + UNDT000007-SC8 + SC + Language. Identifier + The identifier of the language used in the code name. + Language + Identification + Identifier + string + + + + + + + UNDT000007-SC9 + SC + Code List. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list is located. + Code List + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000007-SC10 + SC + Code List Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list scheme is located. + Code List Scheme + Uniform Resource Identifier + Identifier + string + + + + + + + + + + + + UNDT000008 + CCT + Date Time. Type + 1.0 + A particular point in the progression of time together with the relevant supplementary information. + Date Time + string + Can be used for a date and/or time. + + + + + + + + UNDT000008-SC1 + SC + Date Time. Format. Text + The format of the date time content + Date Time + Format + Text + string + + + + + + + + + + + + UNDT000011 + CCT + Identifier. Type + 1.0 + A character string to identify and distinguish uniquely, one instance of an object in an identification scheme from all other objects in the same scheme together with relevant supplementary information. + Identifier + string + + + + + + + + UNDT000011-SC2 + SC + Identification Scheme. Identifier + The identification of the identification scheme. + Identification Scheme + Identification + Identifier + string + + + + + + + UNDT000011-SC3 + SC + Identification Scheme. Name. Text + The name of the identification scheme. + Identification Scheme + Name + Text + string + + + + + + + UNDT000011-SC4 + SC + Identification Scheme Agency. Identifier + The identification of the agency that maintains the identification scheme. + Identification Scheme Agency + Identification + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000011-SC5 + SC + Identification Scheme Agency. Name. Text + The name of the agency that maintains the identification scheme. + Identification Scheme Agency + Agency Name + Text + string + + + + + + + UNDT000011-SC6 + SC + Identification Scheme. Version. Identifier + The version of the identification scheme. + Identification Scheme + Version + Identifier + string + + + + + + + UNDT000011-SC7 + SC + Identification Scheme Data. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme data is located. + Identification Scheme Data + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000011-SC8 + SC + Identification Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme is located. + Identification Scheme + Uniform Resource Identifier + Identifier + string + + + + + + + + + + + + UNDT000012 + CCT + Indicator. Type + 1.0 + A list of two mutually exclusive Boolean values that express the only possible states of a Property. + Indicator + string + + + + + + + + UNDT000012-SC2 + SC + Indicator. Format. Text + Whether the indicator is numeric, textual or binary. + Indicator + Format + Text + string + + + + + + + + + + + + UNDT000013 + CCT + Measure. Type + 1.0 + A numeric value determined by measuring an object along with the specified unit of measure. + Measure + decimal + + + + + + + + UNDT000013-SC2 + SC + Measure Unit. Code + The type of unit of measure. + Measure Unit + Code + Code + string + Reference UNECE Rec. 20 and X12 355 + + + + + + + UNDT000013-SC3 + SC + Measure Unit. Code List Version. Identifier + The version of the measure unit code list. + Measure Unit + Code List Version + Identifier + string + + + + + + + + + + + + UNDT000014 + CCT + Numeric. Type + 1.0 + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Numeric + string + + + + + + + + UNDT000014-SC2 + SC + Numeric. Format. Text + Whether the number is an integer, decimal, real number or percentage. + Numeric + Format + Text + string + + + + + + + + + + + + UNDT000018 + CCT + Quantity. Type + 1.0 + A counted number of non-monetary units possibly including fractions. + Quantity + decimal + + + + + + + + UNDT000018-SC2 + SC + Quantity. Unit. Code + The unit of the quantity + Quantity + Unit Code + Code + string + + + + + + + UNDT000018-SC3 + SC + Quantity Unit. Code List. Identifier + The quantity unit code list. + Quantity Unit + Code List + Identifier + string + + + + + + + UNDT000018-SC4 + SC + Quantity Unit. Code List Agency. Identifier + The identification of the agency that maintains the quantity unit code list + Quantity Unit + Code List Agency + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000018-SC5 + SC + Quantity Unit. Code List Agency Name. Text + The name of the agency which maintains the quantity unit code list. + Quantity Unit + Code List Agency Name + Text + string + + + + + + + + + + + + UNDT000019 + CCT + Text. Type + 1.0 + A character string (i.e. a finite set of characters) generally in the form of words of a language. + Text + string + + + + + + + + UNDT000019-SC2 + SC + Language. Identifier + The identifier of the language used in the content component. + Language + Identification + Identifier + string + + + + + + + UNDT000019-SC3 + SC + Language. Locale. Identifier + The identification of the locale of the language. + Language + Locale + Identifier + string + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonAggregateComponents-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonAggregateComponents-2.2.xsd new file mode 100644 index 0000000..10e64fa --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonAggregateComponents-2.2.xsd @@ -0,0 +1,43540 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ABIE + Activity Data Line. Details + A class to associate a time period and locations (activity data) with an item for inventory planning purposes. + Activity Data Line + + + + + + + + + BBIE + Activity Data Line. Identifier + An identifier for this activity data line. + 1 + Activity Data Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Activity Data Line. Supply Chain Activity Type Code. Code + A code signifying the type of supply chain activity. + 1 + Activity Data Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + ASBIE + Activity Data Line. Buyer_ Customer Party. Customer Party + The buyer of the item. + 0..1 + Activity Data Line + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Activity Data Line. Seller_ Supplier Party. Supplier Party + The seller of the item. + 0..1 + Activity Data Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Activity Data Line. Activity_ Period. Period + The period during which the activity is realized. + 0..1 + Activity Data Line + Activity + Period + Period + Period + + + + + + + + + ASBIE + Activity Data Line. Activity Origin_ Location. Location + Either the location where the movement of goods is observed or the location from which the goods are moved. + 1 + Activity Data Line + Activity Origin + Location + Location + Location + + + + + + + + + ASBIE + Activity Data Line. Activity Final_ Location. Location + The location to which the goods are moved. + 0..1 + Activity Data Line + Activity Final + Location + Location + Location + + + + + + + + + ASBIE + Activity Data Line. Sales Item + Sales information for an item to which this line applies. + 1..n + Activity Data Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Activity Property. Details + A class to define a name/value pair for a property of an inventory planning activity. + Activity Property + + + + + + + + + BBIE + Activity Property. Name + The name of this activity property. + 1 + Activity Property + Name + Name + Name. Type + + + + + + + + + BBIE + Activity Property. Value. Text + The value of this activity property. + 1 + Activity Property + Value + Text + Text. Type + + + + + + + + + + + ABIE + Address. Details + A class to define common information related to an address. + Address + + + + + + + + + BBIE + Address. Identifier + An identifier for this address within an agreed scheme of address identifiers. + 0..1 + Address + Identifier + Identifier + Identifier. Type + DetailsKey + + + + + + + + + BBIE + Address. Address Type Code. Code + A mutually agreed code signifying the type of this address. + 0..1 + Address + Address Type Code + Code + Code. Type + + + + + + + + + BBIE + Address. Address Format Code. Code + A mutually agreed code signifying the format of this address. + 0..1 + Address + Address Format Code + Code + Code. Type + + + + + + + + + BBIE + Address. Postbox. Text + A post office box number registered for postal delivery by a postal service provider. + 0..1 + Address + Postbox + Text + Text. Type + PostBox, PO Box + 123 + + + + + + + + + BBIE + Address. Floor. Text + An identifiable floor of a building. + 0..1 + Address + Floor + Text + Text. Type + SubPremiseNumber + 30 + + + + + + + + + BBIE + Address. Room. Text + An identifiable room, suite, or apartment of a building. + 0..1 + Address + Room + Text + Text. Type + SubPremiseNumber + Reception + + + + + + + + + BBIE + Address. Street Name. Name + The name of the street, road, avenue, way, etc. to which the number of the building is attached. + 0..1 + Address + Street Name + Name + Name. Type + Thoroughfare + Kwun Tong Road + + + + + + + + + BBIE + Address. Additional_ Street Name. Name + An additional street name used to further clarify the address. + 0..1 + Address + Additional + Street Name + Name + Name. Type + Thoroughfare + Cnr Aberdeen Road + + + + + + + + + BBIE + Address. Block Name. Name + The name of the block (an area surrounded by streets and usually containing several buildings) in which this address is located. + 0..1 + Address + Block Name + Name + Name. Type + Seabird + + + + + + + + + BBIE + Address. Building Name. Name + The name of a building. + 0..1 + Address + Building Name + Name + Name. Type + BuildingName + Plot 421 + + + + + + + + + BBIE + Address. Building Number. Text + The number of a building within the street. + 0..1 + Address + Building Number + Text + Text. Type + PremiseNumber + 388 + + + + + + + + + BBIE + Address. Inhouse_ Mail. Text + The specific identifable location within a building where mail is delivered. + 0..1 + Address + Inhouse + Mail + Text + Text. Type + MailStop + + + + + + + + + BBIE + Address. Department. Text + The department of the addressee. + 0..1 + Address + Department + Text + Text. Type + Department + Accounts Payable + + + + + + + + + BBIE + Address. Mark Attention. Text + The name, expressed as text, of a person or department in an organization to whose attention incoming mail is directed; corresponds to the printed forms "for the attention of", "FAO", and ATTN:". + 0..1 + Address + Mark Attention + Text + Text. Type + + + + + + + + + BBIE + Address. Mark Care. Text + The name, expressed as text, of a person or organization at this address into whose care incoming mail is entrusted; corresponds to the printed forms "care of" and "c/o". + 0..1 + Address + Mark Care + Text + Text. Type + + + + + + + + + BBIE + Address. Plot Identification. Text + An identifier (e.g., a parcel number) for the piece of land associated with this address. + 0..1 + Address + Plot Identification + Text + Text. Type + + + + + + + + + BBIE + Address. City Subdivision Name. Name + The name of the subdivision of a city, town, or village in which this address is located, such as the name of its district or borough. + 0..1 + Address + City Subdivision Name + Name + Name. Type + + + + + + + + + BBIE + Address. City Name. Name + The name of a city, town, or village. + 0..1 + Address + City Name + Name + Name. Type + LocalityName + Hong Kong + + + + + + + + + BBIE + Address. Postal_ Zone. Text + The postal identifier for this address according to the relevant national postal service, such as a ZIP code or Post Code. + 0..1 + Address + Postal + Zone + Text + Text. Type + PostalCodeNumber + SW11 4EW 2500 GG + + + + + + + + + BBIE + Address. Country Subentity. Text + The political or administrative division of a country in which this address is located, such as the name of its county, province, or state, expressed as text. + 0..1 + Address + Country Subentity + Text + Text. Type + AdministrativeArea, State, Country, Shire, Canton + Florida , Tamilnadu + + + + + + + + + BBIE + Address. Country Subentity Code. Code + The political or administrative division of a country in which this address is located, such as a county, province, or state, expressed as a code (typically nationally agreed). + 0..1 + Address + Country Subentity Code + Code + Code. Type + AdministrativeAreaCode, State Code + + + + + + + + + BBIE + Address. Region. Text + The recognized geographic or economic region or group of countries in which this address is located. + 0..1 + Address + Region + Text + Text. Type + LocalityName, Economic Zone + European Union + + + + + + + + + BBIE + Address. District. Text + The district or geographical division of a country or region in which this address is located. + 0..1 + Address + District + Text + Text. Type + LocalityName, Area + East Coast + + + + + + + + + BBIE + Address. Timezone Offset. Text + The time zone in which this address is located (as an offset from Universal Coordinated Time (UTC)) at the time of exchange. + 0..1 + Address + Timezone Offset + Text + Text. Type + +8:00 -3:00 + + + + + + + + + ASBIE + Address. Address Line + An unstructured address line. + 0..n + Address + Address Line + Address Line + Address Line + + + + + + + + + ASBIE + Address. Country + The country in which this address is situated. + 0..1 + Address + Country + Country + Country + + + + + + + + + ASBIE + Address. Location Coordinate + The geographical coordinates of this address. + 0..n + Address + Location Coordinate + Location Coordinate + Location Coordinate + + + + + + + + + + + ABIE + Address Line. Details + A class to define an unstructured address line. + Address Line + + + + + + + + + BBIE + Address Line. Line. Text + An address line expressed as unstructured text. + 1 + Address Line + Line + Text + Text. Type + 123 Standard Chartered Tower + + + + + + + + + + + ABIE + Air Transport. Details + A class to identify a specific aircraft used for transportation. + Air Transport + + + + + + + + + BBIE + Air Transport. Aircraft Identifier. Identifier + An identifer for a specific aircraft. + 1 + Air Transport + Aircraft Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Allowance Charge. Details + A class to describe information about a charge or discount as applied to a price component. + Allowance Charge + + + + + + + + + BBIE + Allowance Charge. Identifier + An identifier for this allowance or charge. + 0..1 + Allowance Charge + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Allowance Charge. Charge_ Indicator. Indicator + An indicator that this AllowanceCharge describes a charge (true) or a discount (false). + 1 + Allowance Charge + Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Allowance Charge. Allowance Charge Reason Code. Code + A mutually agreed code signifying the reason for this allowance or charge. + 0..1 + Allowance Charge + Allowance Charge Reason Code + Code + Allowance Charge Reason + Allowance Charge Reason_ Code. Type + + + + + + + + + BBIE + Allowance Charge. Allowance Charge_ Reason. Text + The reason for this allowance or charge. + 0..n + Allowance Charge + Allowance Charge + Reason + Text + Text. Type + + + + + + + + + BBIE + Allowance Charge. Multiplier_ Factor. Numeric + A number by which the base amount is multiplied to calculate the actual amount of this allowance or charge. + 0..1 + Allowance Charge + Multiplier + Factor + Numeric + Numeric. Type + 0.20 + + + + + + + + + BBIE + Allowance Charge. Prepaid_ Indicator. Indicator + An indicator that this allowance or charge is prepaid (true) or not (false). + 0..1 + Allowance Charge + Prepaid + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Allowance Charge. Sequence. Numeric + A number indicating the order of this allowance or charge in the sequence of calculations applied when there are multiple allowances or charges. + 0..1 + Allowance Charge + Sequence + Numeric + Numeric. Type + 1, 2, 3, 4, etc. + + + + + + + + + BBIE + Allowance Charge. Amount + The monetary amount of this allowance or charge to be applied. + 1 + Allowance Charge + Amount + Amount + Amount. Type + 35,23 + + + + + + + + + BBIE + Allowance Charge. Base_ Amount. Amount + The monetary amount to which the multiplier factor is applied in calculating the amount of this allowance or charge. + 0..1 + Allowance Charge + Base + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Allowance Charge. Accounting Cost Code. Code + The accounting cost centre used by the buyer to account for this allowance or charge, expressed as a code. + 0..1 + Allowance Charge + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Allowance Charge. Accounting Cost. Text + The accounting cost centre used by the buyer to account for this allowance or charge, expressed as text. + 0..1 + Allowance Charge + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Allowance Charge. Per Unit_ Amount. Amount + The allowance or charge per item; the total allowance or charge is calculated by multiplying the per unit amount by the quantity of items, either at the level of the individual transaction line or for the total number of items in the document, depending on the context in which it appears. + 0..1 + Allowance Charge + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Allowance Charge. Tax Category + A tax category applicable to this allowance or charge. + 0..n + Allowance Charge + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Allowance Charge. Tax Total + The total of all the taxes applicable to this allowance or charge. + 0..1 + Allowance Charge + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Allowance Charge. Payment Means + A means of payment for this allowance or charge. + 0..n + Allowance Charge + Payment Means + Payment Means + Payment Means + + + + + + + + + + + ABIE + Appeal Terms. Details + A class to describe the terms and conditions, set by the contracting authority, under which an appeal can be lodged for a tender award. + Appeal Terms + + + + + + + + + BBIE + Appeal Terms. Description. Text + Text describing the terms of an appeal. + 0..n + Appeal Terms + Description + Text + Text. Type + + + + + + + + + ASBIE + Appeal Terms. Presentation_ Period. Period + The period during which an appeal can be presented. + 0..1 + Appeal Terms + Presentation + Period + Period + Period + + + + + + + + + ASBIE + Appeal Terms. Appeal Information_ Party. Party + The party presenting the information for an appeal. + 0..1 + Appeal Terms + Appeal Information + Party + Party + Party + + + + + + + + + ASBIE + Appeal Terms. Appeal Receiver_ Party. Party + The party to whom an appeal should be presented. + 0..1 + Appeal Terms + Appeal Receiver + Party + Party + Party + + + + + + + + + ASBIE + Appeal Terms. Mediation_ Party. Party + The party that has been appointed to mediate any appeal. + 0..1 + Appeal Terms + Mediation + Party + Party + Party + + + + + + + + + + + ABIE + Attachment. Details + A class to describe an attached document. An attachment can refer to an external document or be included with the document being exchanged. + Attachment + + + + + + + + + BBIE + Attachment. Embedded_ Document. Binary Object + A binary large object containing an attached document. + 0..1 + Attachment + Embedded + Document + Binary Object + Binary Object. Type + + + + + + + + + BBIE + Attachment. Embedded_ Document. Text + A clear text object containing an attached document. + 0..1 + Attachment + Embedded + Document + Text + Text. Type + + + + + + + + + ASBIE + Attachment. External Reference + A reference to an attached document that is external to the document(s) being exchanged. + 0..1 + Attachment + External Reference + External Reference + External Reference + + + + + + + + + + + ABIE + Auction Terms. Details + A class to describe the terms to be fulfilled by tenderers if an auction is to be executed before the awarding of a tender. + Auction Terms + + + + + + + + + BBIE + Auction Terms. Auction_ Constraint. Indicator + Indicates whether an electronic auction will be used before the awarding of a contract (true) or not (false). + 0..1 + Auction Terms + Auction + Constraint + Indicator + Indicator. Type + + + + + + + + + BBIE + Auction Terms. Justification_ Description. Text + Text describing a justification for the use of an auction in awarding the tender. + 0..n + Auction Terms + Justification + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Description. Text + Text for tenderers describing terms governing the auction. + 0..n + Auction Terms + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Process_ Description. Text + Text describing the auction process. + 0..n + Auction Terms + Process + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Conditions_ Description. Text + Text describing the conditions under which the tenderers will be able to bid as part of the auction. + 0..n + Auction Terms + Conditions + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Electronic Device_ Description. Text + Text describing an electronic device used for the auction, including associated connectivity specifications. + 0..n + Auction Terms + Electronic Device + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Auction_ URI. Identifier + The Uniform Resource Identifier (URI) of the electronic device used for the auction. + 0..1 + Auction Terms + Auction + URI + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Awarding Criterion. Details + A class to define a criterion from the contracting party that will be taken into account when awarding a contract. An awarding criterion can be objective, when it can be evaluated following a formula, or subjective, when human analysis is required. + Awarding Criterion + + + + + + + + + BBIE + Awarding Criterion. Identifier + Identifies a specific awarding criterion. + 0..1 + Awarding Criterion + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarding Criterion. Awarding Criterion Type Code. Code + A code used to define this awarding criterion. + 0..1 + Awarding Criterion + Awarding Criterion Type Code + Code + Code. Type + + + + + + + + + BBIE + Awarding Criterion. Description. Text + A description of the awarding criterion. + 0..n + Awarding Criterion + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion. Weight Numeric. Numeric + A number defining the comparative weighting assigned to this awarding criterion, to enable formulaic evaluation. + 0..1 + Awarding Criterion + Weight Numeric + Numeric + Numeric. Type + + + + + + + + + BBIE + Awarding Criterion. Weight. Text + A description of the comparative weighting for this awarding criterion. + 0..n + Awarding Criterion + Weight + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion. Calculation Expression. Text + The mathematical expression that will be used to evaluate this criterion. + 0..n + Awarding Criterion + Calculation Expression + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion. Calculation Expression Code. Code + A code identifying the mathematical expression that will be used to evaluate this criterion. + 0..1 + Awarding Criterion + Calculation Expression Code + Code + Code. Type + + + + + + + + + BBIE + Awarding Criterion. Minimum_ Quantity. Quantity + The minimum quantity for an awarding criterion. + 0..1 + Awarding Criterion + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Awarding Criterion. Maximum_ Quantity. Quantity + The maximum quantity for an awarding criterion. + 0..1 + Awarding Criterion + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Awarding Criterion. Minimum_ Amount. Amount + The minimum monetary amount for an awarding criterion. + 0..1 + Awarding Criterion + Minimum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Awarding Criterion. Maximum_ Amount. Amount + The maximum monetary amount for an awarding criterion. + 0..1 + Awarding Criterion + Maximum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Awarding Criterion. Minimum Improvement Bid. Text + Describes the minimum improvement bid for this awarding criterion when used in an auction. + 0..n + Awarding Criterion + Minimum Improvement Bid + Text + Text. Type + + + + + + + + + ASBIE + Awarding Criterion. Subordinate_ Awarding Criterion. Awarding Criterion + Defines any subsidiary awarding criterion. + 0..n + Awarding Criterion + Subordinate + Awarding Criterion + Awarding Criterion + Awarding Criterion + + + + + + + + + + + ABIE + Awarding Criterion Response. Details + Defines the response for an awarding criterion from the tendering party. + Awarding Criterion Response + + + + + + + + + BBIE + Awarding Criterion Response. Identifier + An identification of this awarding criterion response. + 0..1 + Awarding Criterion Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarding Criterion Response. Awarding Criterion Identifier. Identifier + An identifer of the awarding criterion being referred to. + 0..1 + Awarding Criterion Response + Awarding Criterion Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarding Criterion Response. Awarding Criterion_ Description. Text + Describes the awarding criterion. + 0..n + Awarding Criterion Response + Awarding Criterion + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion Response. Description. Text + Describes the awarding criterion response. + 0..n + Awarding Criterion Response + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion Response. Quantity + Specifies the quantity tendered for this awarding criterion. + 0..1 + Awarding Criterion Response + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Awarding Criterion Response. Amount + Specifies the monetary amount tendered for this awarding criterion. + 0..1 + Awarding Criterion Response + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Awarding Criterion Response. Subordinate_ Awarding Criterion Response. Awarding Criterion Response + Defines responses to any subsidiary awarding criterion. + 0..n + Awarding Criterion Response + Subordinate + Awarding Criterion Response + Awarding Criterion Response + Awarding Criterion Response + + + + + + + + + + + ABIE + Awarding Terms. Details + A class to define the terms for awarding a contract. + Awarding Terms + + + + + + + + + BBIE + Awarding Terms. Weighting Algorithm Code. Code + A code signifying the weighting algorithm for awarding criteria. When multiple awarding criteria is used, different weighting and choices management algorithms based upon scores and weights of all award criteria can be used. An algorithm for weighting criteria shall be reported in the call for tenders document. It is used to determine how to perform the final management of tenders based on the results in each of the established award criteria + 0..1 + Awarding Terms + Weighting Algorithm Code + Code + Code. Type + + + + + + + + + BBIE + Awarding Terms. Description. Text + Text describing terms under which the contract is to be awarded. + 0..n + Awarding Terms + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Technical Committee_ Description. Text + Text describing the committee of experts evaluating the subjective criteria for awarding the contract. + 0..n + Awarding Terms + Technical Committee + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Low Tenders_ Description. Text + Text describing the exclusion criterion for abnormally low tenders. + 0..n + Awarding Terms + Low Tenders + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Prize Indicator. Indicator + Indicates whether a prize will be awarded (true) or not (false). + 0..1 + Awarding Terms + Prize Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Awarding Terms. Prize Description. Text + Number and value of the prizes to be awarded. + 0..n + Awarding Terms + Prize Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Payment Description. Text + Details of payments to all participants. + 0..n + Awarding Terms + Payment Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Followup Contract Indicator. Indicator + Indicates if any service contract following the contest will be awarded to the winner or one of the winners of the contest (true) or not (false). + 0..1 + Awarding Terms + Followup Contract Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Awarding Terms. Binding On Buyer Indicator. Indicator + Indicates if the decision is binding on the buyer (true) or not (false). + 0..1 + Awarding Terms + Binding On Buyer Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Awarding Terms. No Further Negotiation Indicator. Indicator + Indicates if no further negotiation is allowed (true) or not (false). + 0..1 + Awarding Terms + No Further Negotiation Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Awarding Terms. Awarding Criterion + Defines a criterion for awarding this tender. + 0..n + Awarding Terms + Awarding Criterion + Awarding Criterion + Awarding Criterion + + + + + + + + + ASBIE + Awarding Terms. Technical Committee_ Person. Person + A member of a committee of experts evaluating the subjective criteria for awarding the contract. + 0..n + Awarding Terms + Technical Committee + Person + Person + Person + + + + + + + + + + + ABIE + Billing Reference. Details + A class to define a reference to a billing document. + Billing Reference + + + + + + + + + ASBIE + Billing Reference. Invoice_ Document Reference. Document Reference + A reference to an invoice. + 0..1 + Billing Reference + Invoice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Self Billed Invoice_ Document Reference. Document Reference + A reference to a self billed invoice. + 0..1 + Billing Reference + Self Billed Invoice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Credit Note_ Document Reference. Document Reference + A reference to a credit note. + 0..1 + Billing Reference + Credit Note + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Self Billed Credit Note_ Document Reference. Document Reference + A reference to a self billed credit note. + 0..1 + Billing Reference + Self Billed Credit Note + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Debit Note_ Document Reference. Document Reference + A reference to a debit note. + 0..1 + Billing Reference + Debit Note + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Reminder_ Document Reference. Document Reference + A reference to a billing reminder. + 0..1 + Billing Reference + Reminder + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Additional_ Document Reference. Document Reference + A reference to an additional document. + 0..1 + Billing Reference + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Billing Reference Line + A reference to a transaction line in the billing document. + 0..n + Billing Reference + Billing Reference Line + Billing Reference Line + Billing Reference Line + + + + + + + + + + + ABIE + Billing Reference Line. Details + A class to define a reference to a transaction line in a billing document. + Billing Reference Line + + + + + + + + + BBIE + Billing Reference Line. Identifier + An identifier for this transaction line in a billing document. + 1 + Billing Reference Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Billing Reference Line. Amount + The monetary amount of the transaction line, including any allowances and charges but excluding taxes. + 0..1 + Billing Reference Line + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Billing Reference Line. Allowance Charge + An allowance or charge applicable to the transaction line. + 0..n + Billing Reference Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Branch. Details + A class to describe a branch or a division of an organization. + Branch + + + + + + + + + BBIE + Branch. Identifier + An identifier for this branch or division of an organization. + 0..1 + Branch + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Branch. Name + The name of this branch or division of an organization. + 0..1 + Branch + Name + Name + Name. Type + + + + + + + + + ASBIE + Branch. Financial Institution + The financial institution that this branch belongs to (if applicable). + 0..1 + Branch + Financial Institution + Financial Institution + Financial Institution + + + + + + + + + ASBIE + Branch. Address + The address of this branch or division. + 0..1 + Branch + Address + Address + Address + + + + + + + + + + + ABIE + Budget Account. Details + A class to define a budget account. + Budget Account + + + + + + + + + BBIE + Budget Account. Identifier + An identifier for the budget account, typically an internal accounting reference. + 0..1 + Budget Account + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Budget Account. Budget Year. Numeric + The number of the year for this budget account, e.g. 2012 + 0..1 + Budget Account + Budget Year + Numeric + Numeric. Type + + + + + + + + + ASBIE + Budget Account. Required_ Classification Scheme. Classification Scheme + A classification scheme required for this budget account. + 0..1 + Budget Account + Required + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + + + ABIE + Budget Account Line. Details + A class to define a budget account line. + Budget Account Line + + + + + + + + + BBIE + Budget Account Line. Identifier + An identifier for this budget account line. + 0..1 + Budget Account Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Budget Account Line. Total_ Amount. Amount + The total monetary amount for this budget account line. + 0..1 + Budget Account Line + Total + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Budget Account Line. Budget Account + An account covering this budget account line. + 0..n + Budget Account Line + Budget Account + Budget Account + Budget Account + + + + + + + + + + + ABIE + Capability. Details + A class to describe a specific capability of an organization. + Capability + + + + + + + + + BBIE + Capability. Capability Type Code. Code + This class can be used as Financial or Technical capabilities. For instance, "Turnover" or "Qualified Engineers" are two possible codes. + 0..1 + Capability + Capability Type Code + Code + Code. Type + + + + + + + + + BBIE + Capability. Description. Text + Text describing this capability. + 0..n + Capability + Description + Text + Text. Type + + + + + + + + + BBIE + Capability. Value. Amount + A monetary amount as a measure of this capability. + 0..1 + Capability + Value + Amount + Amount. Type + + + + + + + + + BBIE + Capability. Value_ Quantity. Quantity + A quantity as a measure of this capability. + 0..1 + Capability + Value + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Capability. Evidence Supplied + The evidence that supports the capability claim. + 0..n + Capability + Evidence Supplied + Evidence Supplied + Evidence Supplied + + + + + + + + + ASBIE + Capability. Validity_ Period. Period + The period of time for which this capability is (or has been) valid. + 0..1 + Capability + Validity + Period + Period + Period + + + + + + + + + ASBIE + Capability. Web Site + A web site where the capability is detailed. + 0..1 + Capability + Web Site + Web Site + Web Site + + + + + + + + + + + ABIE + Card Account. Details + A class to define a credit card, debit card, or charge card account. + Card Account + + + + + + + + + BBIE + Card Account. Primary_ Account Number. Identifier + An identifier of the card (e.g., the Primary Account Number (PAN)). + 1 + Card Account + Primary + Account Number + Identifier + Identifier. Type + 4558 XXXX XXXX XXXX (a real card number) + + + + + + + + + BBIE + Card Account. Network. Identifier + An identifier for the financial service network provider of the card. + 1 + Card Account + Network + Identifier + Identifier. Type + VISA, MasterCard, American Express + + + + + + + + + BBIE + Card Account. Card Type Code. Code + A mutually agreed code signifying the type of card. Examples of types are "debit", "credit" and "purchasing" + 0..1 + Card Account + Card Type Code + Code + Code. Type + Debit Card, Credit Card, Procurement Card + + + + + + + + + BBIE + Card Account. Validity Start Date. Date + The date from which the card is valid. + 0..1 + Card Account + Validity Start Date + Date + Date. Type + + + + + + + + + BBIE + Card Account. Expiry Date. Date + The date on which the card expires. + 0..1 + Card Account + Expiry Date + Date + Date. Type + + + + + + + + + BBIE + Card Account. Issuer. Identifier + An identifier for the institution issuing the card. + 0..1 + Card Account + Issuer + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Issue Number. Identifier + An identifier for the card, specified by the issuer. + 0..1 + Card Account + Issue Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. CV2. Identifier + An identifier for the Card Verification Value (often found on the reverse of the card itself). + 0..1 + Card Account + CV2 + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Card Chip Code. Code + A mutually agreed code to distinguish between CHIP and MAG STRIPE cards. + 0..1 + Card Account + Card Chip Code + Code + Chip + Chip_ Code. Type + + + + + + + + + BBIE + Card Account. Chip_ Application. Identifier + An identifier on the chip card for the application that provides the quoted information; an AID (application ID). + 0..1 + Card Account + Chip + Application + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Holder. Name + The name of the cardholder. + 0..1 + Card Account + Holder + Name + Name. Type + + + + + + + + + + + ABIE + Catalogue Item Specification Update Line. Details + A class to define a line describing the transaction that updates the specification of an item in a catalogue. + Catalogue Item Specification Update Line + + + + + + + + + BBIE + Catalogue Item Specification Update Line. Identifier + An identifier for the line to be updated in a catalogue. + 1 + Catalogue Item Specification Update Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Contractor_ Customer Party. Customer Party + The customer responsible for the contract associated with the catalogue item. + 0..1 + Catalogue Item Specification Update Line + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Seller_ Supplier Party. Supplier Party + The seller/supplier responsible for the contract associated with the catalogue item. + 0..1 + Catalogue Item Specification Update Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Item + The catalogue item to be updated. + 1 + Catalogue Item Specification Update Line + Item + Item + Item + + + + + + + + + + + ABIE + Catalogue Line. Details + A class to define a line in a Catalogue describing a purchasable item. + Catalogue Line + + + + + + + + + BBIE + Catalogue Line. Identifier + An identifier for the line in the catalogue. + 1 + Catalogue Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Catalogue Line. Action Code. Code + A code signifying the action required to synchronize this catalogue line. Recommend codes (delete, update, add) + 0..1 + Catalogue Line + Action Code + Code + Code. Type + Replace , Update , Delete , Add + + + + + + + + + BBIE + Catalogue Line. Life Cycle Status Code. Code + A code signifying the life cycle status of this catalogue line. Examples are pre-order, end of production + 0..1 + Catalogue Line + Life Cycle Status Code + Code + Code. Type + new - announcement only , new and available , deleted - announcement only + + + + + + + + + BBIE + Catalogue Line. Contract Subdivision. Text + A subdivision of a contract or tender covering this catalogue line. + 0..1 + Catalogue Line + Contract Subdivision + Text + Text. Type + Installation , Phase One , Support and Maintenance + + + + + + + + + BBIE + Catalogue Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Line + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Line. Orderable_ Indicator. Indicator + An indicator that this catalogue line describes an orderable item (true) or is included for reference purposes only (false). + 0..1 + Catalogue Line + Orderable + Indicator + Indicator + Indicator. Type + TRUE means orderable, FALSE means not orderable + + + + + + + + + BBIE + Catalogue Line. Orderable_ Unit. Text + A textual description of the units in which the item described in this catalogue line can be ordered. + 0..1 + Catalogue Line + Orderable + Unit + Text + Text. Type + + + + + + + + + BBIE + Catalogue Line. Content Unit. Quantity + The numeric quantity of the ordering unit (and units of measure) of the catalogue line. + 0..1 + Catalogue Line + Content Unit + Quantity + Quantity. Type + If order unit measure identifier is each , then content unit quantity is 1 . + + + + + + + + + BBIE + Catalogue Line. Order Quantity Increment. Numeric + The number of items that can set the order quantity increments. + 0..1 + Catalogue Line + Order Quantity Increment + Numeric + Numeric. Type + + + + + + + + + BBIE + Catalogue Line. Minimum_ Order Quantity. Quantity + The minimum amount of the item described in this catalogue line that can be ordered. + 0..1 + Catalogue Line + Minimum + Order Quantity + Quantity + Quantity. Type + 10 boxes + + + + + + + + + BBIE + Catalogue Line. Maximum_ Order Quantity. Quantity + The maximum amount of the item described in this catalogue line that can be ordered. + 0..1 + Catalogue Line + Maximum + Order Quantity + Quantity + Quantity. Type + 1 tonne + + + + + + + + + BBIE + Catalogue Line. Warranty_ Information. Text + Text about a warranty (provided by WarrantyParty) for the good or service described in this catalogue line. + 0..n + Catalogue Line + Warranty + Information + Text + Text. Type + Unless specified otherwise and in addition to any rights the Customer may have under statute, Dell warrants to the Customer that Dell branded Products (excluding third party products and software), will be free from defects in materials and workmanship affecting normal use for a period of one year from invoice date ( Standard Warranty ). + + + + + + + + + BBIE + Catalogue Line. Pack Level Code. Code + A mutually agreed code signifying the level of packaging associated with the item described in this catalogue line. + 0..1 + Catalogue Line + Pack Level Code + Code + Code. Type + Consumer Unit, Trading Unit + level 2 , Group 4 + + + + + + + + + ASBIE + Catalogue Line. Contractor_ Customer Party. Customer Party + The customer responsible for the contract with which this catalogue line is associated. + 0..1 + Catalogue Line + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Line. Seller_ Supplier Party. Supplier Party + The seller/supplier responsible for the contract with which this catalogue line is associated. + 0..1 + Catalogue Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Line. Warranty_ Party. Party + The party responsible for any warranty associated with the item described in this catalogue line. + 0..1 + Catalogue Line + Warranty + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Line. Warranty Validity_ Period. Period + The period for which a warranty associated with the item in this catalogue line is valid. + 0..1 + Catalogue Line + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Line. Line Validity_ Period. Period + The period for which the information in this catalogue line is valid. + 0..1 + Catalogue Line + Line Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Line. Item Comparison + A combination of price and quantity used to provide price comparisons based on different sizes of order. + 0..n + Catalogue Line + Item Comparison + Item Comparison + Item Comparison + + + + + + + + + ASBIE + Catalogue Line. Component_ Related Item. Related Item + An item that may be a component of the item in this catalogue line. + 0..n + Catalogue Line + Component + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Accessory_ Related Item. Related Item + An item that may be an optional accessory of the item in this catalogue line. + 0..n + Catalogue Line + Accessory + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Required_ Related Item. Related Item + An item that may be required for the item in this catalogue line. + 0..n + Catalogue Line + Required + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Replacement_ Related Item. Related Item + An item that may be a replacement for the item in this catalogue line. + 0..n + Catalogue Line + Replacement + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Complementary_ Related Item. Related Item + An item that may complement the item in this catalogue line. + 0..n + Catalogue Line + Complementary + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Replaced_ Related Item. Related Item + An item in an existing catalogue that is being replaced by the item in this catalogue line. + 0..n + Catalogue Line + Replaced + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Required_ Item Location Quantity. Item Location Quantity + Properties of the item in this catalogue line that are dependent on location and quantity. + 0..n + Catalogue Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Catalogue Line. Document Reference + A reference to a document associated with this catalogue line. + 0..n + Catalogue Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue Line. Item + A specification of the item itself. + 1 + Catalogue Line + Item + Item + Item + + + + + + + + + ASBIE + Catalogue Line. Keyword_ Item Property. Item Property + A property of the item in this catalogue line. + 0..n + Catalogue Line + Keyword + Item Property + Item Property + Item Property + + + + + + + + + ASBIE + Catalogue Line. Call For Tenders_ Line Reference. Line Reference + Reference to a Line on a Call For Tenders document. + 0..1 + Catalogue Line + Call For Tenders + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Catalogue Line. Call For Tenders_ Document Reference. Document Reference + A class defining references to a Call For Tenders document. + 0..1 + Catalogue Line + Call For Tenders + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Catalogue Pricing Update Line. Details + A class to define a line describing a pricing update to a catalogue line. + Catalogue Pricing Update Line + + + + + + + + + BBIE + Catalogue Pricing Update Line. Identifier + An identifier for the catalogue line to be updated. + 1 + Catalogue Pricing Update Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Contractor_ Customer Party. Customer Party + The customer responsible for the contract associated with the catalogue line being updated. + 0..1 + Catalogue Pricing Update Line + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Seller_ Supplier Party. Supplier Party + The seller/supplier responsible for the contract associated with the catalogue line being updated. + 0..1 + Catalogue Pricing Update Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Required_ Item Location Quantity. Item Location Quantity + Updated properties of the item in this catalogue line that are dependent on location and quantity. + 0..n + Catalogue Pricing Update Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + + + ABIE + Catalogue Reference. Details + A class to define a reference to a catalogue. + Catalogue Reference + + + + + + + + + BBIE + Catalogue Reference. Identifier + An identifier for a specific catalogue. + 1 + Catalogue Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Reference. UUID. Identifier + A universally unique identifier for a specific catalogue. + 0..1 + Catalogue Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Reference. Issue Date. Date + The date on which the catalogue was issued. + 0..1 + Catalogue Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Reference. Issue Time. Time + The time at which the catalogue was issued. + 0..1 + Catalogue Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Reference. Revision Date. Date + The date on which the information in the catalogue was last revised. + 0..1 + Catalogue Reference + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Reference. Revision Time. Time + The time at which the information in the catalogue was last revised. + 0..1 + Catalogue Reference + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Reference. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Reference + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Reference. Description. Text + Text describing the catalogue. + 0..n + Catalogue Reference + Description + Text + Text. Type + computer accessories for laptops + + + + + + + + + BBIE + Catalogue Reference. Version. Identifier + An identifier for the current version of the catalogue. + 0..1 + Catalogue Reference + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Reference. Previous_ Version. Identifier + An identifier for the previous version of the catalogue that is superseded by this version. + 0..1 + Catalogue Reference + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + + + ABIE + Catalogue Request Line. Details + A class to define a line describing a request for a catalogue line. + Catalogue Request Line + + + + + + + + + BBIE + Catalogue Request Line. Identifier + An identifier for the requested catalogue line. + 1 + Catalogue Request Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Catalogue Request Line. Contract Subdivision. Text + A subdivision of a contract or tender covering the line being requested. + 0..1 + Catalogue Request Line + Contract Subdivision + Text + Text. Type + Installation , Phase One , Support and Maintenance + + + + + + + + + BBIE + Catalogue Request Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Request Line + Note + Text + Text. Type + + + + + + + + + ASBIE + Catalogue Request Line. Line Validity_ Period. Period + The period for which the information in the requested catalogue line is valid. + 0..1 + Catalogue Request Line + Line Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Request Line. Required_ Item Location Quantity. Item Location Quantity + Properties of the item in the requested catalogue line that are dependent on location and quantity. + 0..n + Catalogue Request Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Catalogue Request Line. Item + The item associated with the requested catalogue line. + 1 + Catalogue Request Line + Item + Item + Item + + + + + + + + + + + ABIE + Certificate. Details + A class to define a certificate applied to the item. Certificated can be a requirement to sell goods or services in a jurisdiction. + Certificate + + + + + + + + + BBIE + Certificate. Identifier + An identifier for this certificate. + 1 + Certificate + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate. Certificate Type Code. Code + The type of this certificate, expressed as a code. The type specifies what array it belongs to, e.g.. Environmental, security, health improvement etc. + 1 + Certificate + Certificate Type Code + Code + Code. Type + + + + + + + + + BBIE + Certificate. Certificate Type. Text + The type of this certificate, expressed as a code. The type specifies what array it belongs to, e.g.. Environmental, security, health improvement etc. + 1 + Certificate + Certificate Type + Text + Text. Type + + + + + + + + + BBIE + Certificate. Remarks. Text + Remarks by the applicant for this certificate. + 0..n + Certificate + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Certificate. Issuer_ Party. Party + The authorized organization that issued this certificate, the provider of the certificate. + 1 + Certificate + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Certificate. Document Reference + A reference to a document relevant to this certificate or an application for this certificate. + 0..n + Certificate + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Certificate. Signature + A signature applied to this certificate. + 0..n + Certificate + Signature + Signature + Signature + + + + + + + + + + + ABIE + Certificate Of Origin Application. Details + A class to define an application for a Certificate of Origin (CoO). + Certificate Of Origin Application + + + + + + + + + BBIE + Certificate Of Origin Application. Reference. Identifier + An identifier for a reference as part of the CoO application. + 1 + Certificate Of Origin Application + Reference + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Certificate Type. Text + The type of CoO being applied for (Ordinary, Re-export, Commonwealth Preferential, etc.). + 1 + Certificate Of Origin Application + Certificate Type + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Application Status Code. Code + A code signifying the status of the application (revision, replacement, etc.). + 0..1 + Certificate Of Origin Application + Application Status Code + Code + Code. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Original_ Job Identifier. Identifier + The latest job number given to the CoO application. This is used by the system to keep track of amendments to or cancellation of any earlier applications. + 1 + Certificate Of Origin Application + Original + Job Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Previous_ Job Identifier. Identifier + An identifier for the previous job used in case the application requires query or change. + 0..1 + Certificate Of Origin Application + Previous + Job Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Remarks. Text + Remarks by the applicant for the CoO. + 0..n + Certificate Of Origin Application + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Certificate Of Origin Application. Shipment + The shipment of goods covered by the CoO. + 1 + Certificate Of Origin Application + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Certificate Of Origin Application. Endorser Party + A party providing an endorsement to the CoO. + 1..n + Certificate Of Origin Application + Endorser Party + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Preparation_ Party. Party + The party (individual, group, or body) that prepared this CoO application. + 1 + Certificate Of Origin Application + Preparation + Party + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Issuer_ Party. Party + The organization authorized to issue the CoO requested by this application. + 1 + Certificate Of Origin Application + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Exporter_ Party. Party + The party making an export declaration, or on behalf of which the export declaration is made, and that is the owner of the goods or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Certificate Of Origin Application + Exporter + Party + Party + Party + Exporter (WCO ID 41 and 42) + + + + + + + + + ASBIE + Certificate Of Origin Application. Importer_ Party. Party + The party making an import declaration, or on behalf of which a customs clearing agent or other authorized person makes an import declaration. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Certificate Of Origin Application + Importer + Party + Party + Party + Importer (WCO ID 39 and 40) + + + + + + + + + ASBIE + Certificate Of Origin Application. Issuing_ Country. Country + The country where the requested CoO will be issued. + 1 + Certificate Of Origin Application + Issuing + Country + Country + Country + + + + + + + + + ASBIE + Certificate Of Origin Application. Document Distribution + An interested party to which the CoO is to be distributed. + 0..n + Certificate Of Origin Application + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Certificate Of Origin Application. Supporting_ Document Reference. Document Reference + A reference to a document supporting this application. + 0..n + Certificate Of Origin Application + Supporting + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Certificate Of Origin Application. Signature + A signature applied to this application. + 0..n + Certificate Of Origin Application + Signature + Signature + Signature + + + + + + + + + + + ABIE + Classification Category. Details + A class to define a category within a classification scheme. + Classification Category + + + + + + + + + BBIE + Classification Category. Name + The name of this category within the classification scheme. + 0..1 + Classification Category + Name + Name + Name. Type + Code List Name + UNSPSC Class , UNSPSC Segment , UNSPSC Family + + + + + + + + + BBIE + Classification Category. Code Value. Text + The value of a code used to identify this category within the classification scheme. + 0..1 + Classification Category + Code Value + Text + Text. Type + Code Value + 3420001, 3273666, HSJJD-213 + + + + + + + + + BBIE + Classification Category. Description. Text + Text describing this category. + 0..n + Classification Category + Description + Text + Text. Type + Code Name + Electrical Goods , Wooden Toys + + + + + + + + + ASBIE + Classification Category. Categorizes_ Classification Category. Classification Category + A recursive description of a subcategory of this category. + 0..n + Classification Category + Categorizes + Classification Category + Classification Category + Classification Category + + + + + + + + + + + ABIE + Classification Scheme. Details + A class to define a classification scheme, such as a taxonomy for classifying goods or services. + Classification Scheme + + + + + + + + + BBIE + Classification Scheme. Identifier + An identifier for this classification scheme. + 1 + Classification Scheme + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. UUID. Identifier + A universally unique identifier for this classification scheme. + 0..1 + Classification Scheme + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Last_ Revision Date. Date + The date on which this classification scheme was last revised. + 0..1 + Classification Scheme + Last + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Classification Scheme. Last_ Revision Time. Time + The time at which this classification scheme was last revised. + 0..1 + Classification Scheme + Last + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Classification Scheme. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Classification Scheme + Note + Text + Text. Type + + + + + + + + + BBIE + Classification Scheme. Name + The name of this classification scheme. + 0..1 + Classification Scheme + Name + Name + Name. Type + UNSPSC + + + + + + + + + BBIE + Classification Scheme. Description. Text + Text describing this classification scheme. + 0..n + Classification Scheme + Description + Text + Text. Type + an open, global multi-sector standard for classification of products and services + + + + + + + + + BBIE + Classification Scheme. Agency Identifier. Identifier + An identifier for the agency that maintains this classification scheme. + 0..1 + Classification Scheme + Agency Identifier + Identifier + Identifier. Type + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + + + BBIE + Classification Scheme. Agency Name. Name + The name of the agency that maintains the classification scheme. + 0..1 + Classification Scheme + Agency Name + Name + Name. Type + + + + + + + + + BBIE + Classification Scheme. Version. Identifier + An identifier for the version of this classification scheme. + 0..1 + Classification Scheme + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. URI. Identifier + The Uniform Resource Identifier (URI) of the documentation for this classification scheme. + 0..1 + Classification Scheme + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Scheme_ URI. Identifier + The Uniform Resource Identifier (URI) of this classification scheme. + 0..1 + Classification Scheme + Scheme + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Language. Identifier + An identifier for the language of this classification scheme. + 0..1 + Classification Scheme + Language + Identifier + Identifier. Type + + + + + + + + + ASBIE + Classification Scheme. Classification Category + A description of a category within this classification scheme. + 1..n + Classification Scheme + Classification Category + Classification Category + Classification Category + + + + + + + + + + + ABIE + Clause. Details + A class to define a clause (a distinct article or provision) in a contract, treaty, will, or other formal or legal written document requiring compliance. + Clause + + + + + + + + + BBIE + Clause. Identifier + An identifier for this clause. + 0..1 + Clause + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Clause. Content. Text + The text of this clause. + 0..n + Clause + Content + Text + Text. Type + + + + + + + + + + + ABIE + Commodity Classification. Details + A class to describe the classification of a commodity. + Commodity Classification + + + + + + + + + BBIE + Commodity Classification. Nature Code. Code + A code defined by a specific maintenance agency signifying the high-level nature of the commodity. + 0..1 + Commodity Classification + Nature Code + Code + Code. Type + wooden products + + + + + + + + + BBIE + Commodity Classification. Cargo Type Code. Code + A mutually agreed code signifying the type of cargo for purposes of commodity classification. + 0..1 + Commodity Classification + Cargo Type Code + Code + Code. Type + Refrigerated + + + + + + + + + BBIE + Commodity Classification. Commodity Code. Code + The harmonized international commodity code for cross border and regulatory (customs and trade statistics) purposes. + 0..1 + Commodity Classification + Commodity Code + Code + Code. Type + Harmonized Code + 1102222883 + + + + + + + + + BBIE + Commodity Classification. Item Classification Code. Code + A code signifying the trade classification of the commodity. + 0..1 + Commodity Classification + Item Classification Code + Code + Code. Type + UN/SPSC Code + 3440234 + + + + + + + + + + + ABIE + Communication. Details + A class to describe a means of communication. + Communication + + + + + + + + + BBIE + Communication. Channel Code. Code + The method of communication, expressed as a code. + 0..1 + Communication + Channel Code + Code + Channel + Channel_ Code. Type + Phone Fax Email + + + + + + + + + BBIE + Communication. Channel. Text + The method of communication, expressed as text. + 0..1 + Communication + Channel + Text + Text. Type + Skype + + + + + + + + + BBIE + Communication. Value. Text + An identifying value (phone number, email address, etc.) for this channel of communication + 0..1 + Communication + Value + Text + Text. Type + +44 1 2345 6789 president@whitehouse.com + + + + + + + + + + + ABIE + Completed Task. Details + A class to describe the completion of a specific task in the tendering process. + Completed Task + + + + + + + + + BBIE + Completed Task. Annual_ Average. Amount + The average monetary amount of a task such as this completed task. + 0..1 + Completed Task + Annual + Average + Amount + Amount. Type + + + + + + + + + BBIE + Completed Task. Total Task. Amount + The actual total monetary amount of this completed task. + 0..1 + Completed Task + Total Task + Amount + Amount. Type + + + + + + + + + BBIE + Completed Task. Party Capacity. Amount + A monetary amount corresponding to the financial capacity of the party that carried out this completed task. + 0..1 + Completed Task + Party Capacity + Amount + Amount. Type + + + + + + + + + BBIE + Completed Task. Description. Text + Text describing this completed task. + 0..n + Completed Task + Description + Text + Text. Type + + + + + + + + + ASBIE + Completed Task. Evidence Supplied + The evidence justifying a designation of "complete" for this task. + 0..n + Completed Task + Evidence Supplied + Evidence Supplied + Evidence Supplied + + + + + + + + + ASBIE + Completed Task. Period + The period in which this completed task was performed. + 0..1 + Completed Task + Period + Period + Period + + + + + + + + + ASBIE + Completed Task. Recipient_ Customer Party. Customer Party + The original customer for this completed task. + 0..1 + Completed Task + Recipient + Customer Party + Customer Party + Customer Party + + + + + + + + + + + ABIE + Condition. Details + A class to define a measurable condition of an object. + Condition + + + + + + + + + BBIE + Condition. Attribute Identifier. Identifier + An identifier for the attribute that applies to the condition. + 1 + Condition + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Condition. Measure + The measurement value. + 0..1 + Condition + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Condition. Description. Text + Text describing the attribute that applies to the condition. + 0..n + Condition + Description + Text + Text. Type + + + + + + + + + BBIE + Condition. Minimum_ Measure. Measure + The minimum value in a range of measurement for this condition. + 0..1 + Condition + Minimum + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Condition. Maximum_ Measure. Measure + The maximum value in a range of measurement for this condition. + 0..1 + Condition + Maximum + Measure + Measure + Measure. Type + + + + + + + + + + + ABIE + Consignment. Details + A class to describe an identifiable collection of one or more goods items to be transported between the consignor and the consignee. This information may be defined within a transport contract. A consignment may comprise more than one shipment (e.g., when consolidated by a freight forwarder). + Consignment + + + + + + + + + BBIE + Consignment. Identifier + An identifier assigned to a collection of goods for both import and export. + 1 + Consignment + Identifier + Identifier + Identifier. Type + Unique consignment reference number (UCR) + + + + + + + + + BBIE + Consignment. Carrier Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the carrier. + 0..1 + Consignment + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Consignee Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the consignee. + 0..1 + Consignment + Consignee Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Consignor Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the consignor. + 0..1 + Consignment + Consignor Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Freight Forwarder Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the freight forwarder. + 0..1 + Consignment + Freight Forwarder Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Broker Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the broker. + 0..1 + Consignment + Broker Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Contracted Carrier Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the contracted carrier. + 0..1 + Consignment + Contracted Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Performing Carrier Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the performing carrier. + 0..1 + Consignment + Performing Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Summary_ Description. Text + A textual summary description of the consignment. + 0..n + Consignment + Summary + Description + Text + Text. Type + + + + + + + + + BBIE + Consignment. Total_ Invoice Amount. Amount + The total of all invoice amounts declared in this consignment. + 0..1 + Consignment + Total + Invoice Amount + Amount + Amount. Type + + + + + + + + + BBIE + Consignment. Declared Customs_ Value. Amount + The total declared value for customs purposes of all the goods in this consignment, regardless of whether they are subject to the same customs procedure, tariff/statistical categorization, country information, or duty regime. + 0..1 + Consignment + Declared Customs + Value + Amount + Amount. Type + + + + + + + + + BBIE + Consignment. Tariff Description. Text + Text describing the tariff applied to this consignment. + 0..n + Consignment + Tariff Description + Text + Text. Type + + + + + + + + + BBIE + Consignment. Tariff Code. Code + A code signifying the tariff applied to this consignment. + 0..1 + Consignment + Tariff Code + Code + Code. Type + Tariff code number (WCO ID 145) + + + + + + + + + BBIE + Consignment. Insurance Premium Amount. Amount + The amount of the premium payable to an insurance company for insuring the goods contained in this consignment. + 0..1 + Consignment + Insurance Premium Amount + Amount + Amount. Type + Insurance Cost + + + + + + + + + BBIE + Consignment. Gross_ Weight. Measure + The total declared weight of the goods in this consignment, including packaging but excluding the carrier's equipment. + 0..1 + Consignment + Gross + Weight + Measure + Measure. Type + Total gross weight (WCO ID 131) + Total cube of all goods items referred to as one consignment. + + + + + + + + + BBIE + Consignment. Net_ Weight. Measure + The total net weight of all the goods items referred to as one consignment. + 0..1 + Consignment + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Net Net_ Weight. Measure + The total net weight of the goods in this consignment, exclusive of packaging. + 0..1 + Consignment + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Chargeable_ Weight. Measure + The weight upon which a charge is to be based. + 0..1 + Consignment + Chargeable + Weight + Measure + Measure. Type + Chargeable Weight. Basis.Measure + + + + + + + + + BBIE + Consignment. Gross_ Volume. Measure + The total volume of the goods referred to as one consignment. + 0..1 + Consignment + Gross + Volume + Measure + Measure. Type + Cube + + + + + + + + + BBIE + Consignment. Net_ Volume. Measure + The total net volume of all goods items referred to as one consignment. + 0..1 + Consignment + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Loading_ Length. Measure + The total length in a means of transport or a piece of transport equipment which, given the width and height of the transport means, will accommodate all of the consignments in a single consolidation. + 0..1 + Consignment + Loading + Length + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Remarks. Text + Remarks concerning the complete consignment, to be printed on the transport document. + 0..n + Consignment + Remarks + Text + Text. Type + + + + + + + + + BBIE + Consignment. Hazardous Risk_ Indicator. Indicator + An indication that the transported goods in this consignment are subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Consignment + Hazardous Risk + Indicator + Indicator + Indicator. Type + Dangerous Goods RID Indicator + default is negative + + + + + + + + + BBIE + Consignment. Animal_ Food Indicator. Indicator + An indication that the transported goods in this consignment are animal foodstuffs (true) or not (false). + 0..1 + Consignment + Animal + Food Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Human_ Food Indicator. Indicator + An indication that the transported goods in this consignment are for human consumption (true) or not (false). + 0..1 + Consignment + Human + Food Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Livestock_ Indicator. Indicator + An indication that the transported goods are livestock (true) or not (false). + 0..1 + Consignment + Livestock + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Bulk Cargo_ Indicator. Indicator + An indication that the transported goods in this consignment are bulk cargoes (true) or not (false). + 0..1 + Consignment + Bulk Cargo + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Containerized_ Indicator. Indicator + An indication that the transported goods in this consignment are containerized cargoes (true) or not (false). + 0..1 + Consignment + Containerized + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. General Cargo_ Indicator. Indicator + An indication that the transported goods in this consignment are general cargoes (true) or not (false). + 0..1 + Consignment + General Cargo + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Special_ Security Indicator. Indicator + An indication that the transported goods in this consignment require special security (true) or not (false). + 0..1 + Consignment + Special + Security Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Third Party Payer_ Indicator. Indicator + An indication that this consignment will be paid for by a third party (true) or not (false). + 0..1 + Consignment + Third Party Payer + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Carrier Service_ Instructions. Text + Service instructions to the carrier, expressed as text. + 0..n + Consignment + Carrier Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Customs Clearance Service_ Instructions. Text + Service instructions for customs clearance, expressed as text. + 0..n + Consignment + Customs Clearance Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Forwarder Service_ Instructions. Text + Service instructions for the forwarder, expressed as text. + 0..n + Consignment + Forwarder Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Special Service_ Instructions. Text + Special service instructions, expressed as text. + 0..n + Consignment + Special Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Sequence Identifier. Identifier + A sequence identifier for this consignment. + 0..1 + Consignment + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Shipping Priority Level Code. Code + A code signifying the priority or level of service required for this consignment. + 0..1 + Consignment + Shipping Priority Level Code + Code + Code. Type + + + + + + + + + BBIE + Consignment. Handling Code. Code + The handling required for this consignment, expressed as a code. + 0..1 + Consignment + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Consignment. Handling_ Instructions. Text + The handling required for this consignment, expressed as text. + 0..n + Consignment + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Information. Text + Free-form text pertinent to this consignment, conveying information that is not contained explicitly in other structures. + 0..n + Consignment + Information + Text + Text. Type + + + + + + + + + BBIE + Consignment. Total_ Goods Item Quantity. Quantity + The total number of goods items in this consignment. + 0..1 + Consignment + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consignment. Total_ Transport Handling Unit Quantity. Quantity + The number of pieces of transport handling equipment (pallets, boxes, cases, etc.) in this consignment. + 0..1 + Consignment + Total + Transport Handling Unit Quantity + Quantity + Quantity. Type + Number of THUs + + + + + + + + + BBIE + Consignment. Insurance_ Value. Amount + The amount covered by insurance for this consignment. + 0..1 + Consignment + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Consignment. Declared For Carriage_ Value. Amount + The value of this consignment, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Consignment + Declared For Carriage + Value + Amount + Amount. Type + Declared value for carriage, Interest in delivery + + + + + + + + + BBIE + Consignment. Declared Statistics_ Value. Amount + The value, declared for statistical purposes, of those goods in this consignment that have the same statistical heading. + 0..1 + Consignment + Declared Statistics + Value + Amount + Amount. Type + Statistical Value + + + + + + + + + BBIE + Consignment. Free On Board_ Value. Amount + The monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Consignment + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Consignment. Special_ Instructions. Text + Special instructions relating to this consignment. + 0..n + Consignment + Special + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Split Consignment_ Indicator. Indicator + An indicator that this consignment has been split in transit (true) or not (false). + 0..1 + Consignment + Split Consignment + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Consignment. Delivery_ Instructions. Text + A set of delivery instructions relating to this consignment. + 0..n + Consignment + Delivery + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Consignment_ Quantity. Quantity + The count in this consignment considering goods items, child consignments, shipments + 0..1 + Consignment + Consignment + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consignment. Consolidatable_ Indicator. Indicator + An indicator that this consignment can be consolidated (true) or not (false). + 0..1 + Consignment + Consolidatable + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Haulage_ Instructions. Text + Instructions regarding haulage of this consignment, expressed as text. + 0..n + Consignment + Haulage + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Loading_ Sequence Identifier. Identifier + An identifier for the loading sequence of this consignment. + 0..1 + Consignment + Loading + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Child Consignment Quantity. Quantity + The quantity of (consolidated) child consignments + 0..1 + Consignment + Child Consignment Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consignment. Total_ Packages Quantity. Quantity + The total number of packages associated with a Consignment. + 0..1 + Consignment + Total + Packages Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Consignment. Consolidated_ Shipment. Shipment + A consolidated shipment (a shipment created by an act of consolidation). + 0..n + Consignment + Consolidated + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Consignment. Customs Declaration + A class describing identifiers or references relating to customs procedures. + 0..n + Consignment + Customs Declaration + Customs Declaration + Customs Declaration + + + + + + + + + ASBIE + Consignment. Requested Pickup_ Transport Event. Transport Event + The pickup of this consignment requested by the party requesting a transportation service (the transport user). + 0..1 + Consignment + Requested Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Requested Delivery_ Transport Event. Transport Event + The delivery of this consignment requested by the party requesting a transportation service (the transport user). + 0..1 + Consignment + Requested Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Planned Pickup_ Transport Event. Transport Event + The pickup of this consignment planned by the party responsible for providing the transportation service (the transport service provider). + 0..1 + Consignment + Planned Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Planned Delivery_ Transport Event. Transport Event + The delivery of this consignment planned by the party responsible for providing the transportation service (the transport service provider). + 0..1 + Consignment + Planned Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Actual Pickup_ Transport Event. Transport Event + The actual pickup of this consignment by the party responsible for providing the transportation service (the transport service provider). + 0..1 + Consignment + Actual Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Actual Delivery_ Transport Event. Transport Event + The actual delivery of this consignment by the party responsible for providing the transportation service (the transport service provider). + 0..1 + Consignment + Actual Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Status + The status of a particular condition associated with this consignment. + 0..n + Consignment + Status + Status + Status + + + + + + + + + ASBIE + Consignment. Child_ Consignment. Consignment + One of the child consignments of which a consolidated consignment is composed. + 0..n + Consignment + Child + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Consignment. Consignee_ Party. Party + A party to which goods are consigned. + 0..1 + Consignment + Consignee + Party + Party + Party + Consignee (WCO ID 51 and 52) + + + + + + + + + ASBIE + Consignment. Exporter_ Party. Party + The party that makes the export declaration, or on behalf of which the export declaration is made, and that is the owner of the goods in this consignment or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Consignment + Exporter + Party + Party + Party + Exporter (WCO ID 41 and 42) + + + + + + + + + ASBIE + Consignment. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Consignment + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Consignment. Importer_ Party. Party + The party that makes an import declaration regarding this consignment, or on behalf of which a customs clearing agent or other authorized person makes an import declaration regarding this consignment. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Consignment + Importer + Party + Party + Party + Importer (WCO ID 39 and 40) + + + + + + + + + ASBIE + Consignment. Carrier_ Party. Party + The party providing the transport of goods in this consignment between named points. + 0..1 + Consignment + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Consignment. Freight Forwarder_ Party. Party + The party combining individual smaller consignments into a single larger shipment (the consolidated shipment), which is sent to a counterpart that mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Consignment + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Consignment. Notify_ Party. Party + The party to be notified upon arrival of goods and when special occurrences (usually pre-defined) take place during a transportation service. + 0..1 + Consignment + Notify + Party + Party + Party + WCO ID 57 and 58 + + + + + + + + + ASBIE + Consignment. Original Despatch_ Party. Party + The original despatch (sender) party for this consignment. + 0..1 + Consignment + Original Despatch + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Final Delivery_ Party. Party + The final delivery party for this consignment. + 0..1 + Consignment + Final Delivery + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Performing Carrier_ Party. Party + The party performing the carriage of this consignment. + 0..1 + Consignment + Performing Carrier + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Substitute Carrier_ Party. Party + A substitute party performing the carriage of this consignment. + 0..1 + Consignment + Substitute Carrier + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Logistics Operator_ Party. Party + The logistics operator party for this consignment. + 0..1 + Consignment + Logistics Operator + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Transport Advisor_ Party. Party + The party providing transport advice this consignment. + 0..1 + Consignment + Transport Advisor + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Hazardous Item Notification_ Party. Party + The party that would be notified of a hazardous item in this consignment. + 0..1 + Consignment + Hazardous Item Notification + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Insurance_ Party. Party + The party holding the insurance for this consignment. + 0..1 + Consignment + Insurance + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Mortgage Holder_ Party. Party + The party holding the mortgage for this consignment. + 0..1 + Consignment + Mortgage Holder + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Bill Of Lading Holder_ Party. Party + The party holding the bill of lading for this consignment. + 0..1 + Consignment + Bill Of Lading Holder + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Original Departure_ Country. Country + The country from which the goods in this consignment were originally exported, without any commercial transaction taking place in intermediate countries. + 0..1 + Consignment + Original Departure + Country + Country + Country + Country of origin (WCO ID 062) + + + + + + + + + ASBIE + Consignment. Final Destination_ Country. Country + The country in which the goods in this consignment are to be delivered to the final consignee or buyer. + 0..1 + Consignment + Final Destination + Country + Country + Country + Ultimate Destination Country, Country of Final Arrival, Country of Destination + + + + + + + + + ASBIE + Consignment. Transit_ Country. Country + One of the countries through which goods or passengers in this consignment are routed between the country of original departure and the country of final destination. + 0..n + Consignment + Transit + Country + Country + Country + Country(ies) of routing (WCO ID 064) + + + + + + + + + ASBIE + Consignment. Transport_ Contract. Contract + A transport contract relating to this consignment. + 0..1 + Consignment + Transport + Contract + Contract + Contract + + + + + + + + + ASBIE + Consignment. Transport Event + A class describing a significant occurrence or happening related to the transportation of goods. + 0..n + Consignment + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Original Despatch_ Transportation Service. Transportation Service + The service for pickup from the consignor under the transport contract for this consignment. + 0..1 + Consignment + Original Despatch + Transportation Service + Transportation Service + Transportation Service + Door-to-door , Pier-to-door + + + + + + + + + ASBIE + Consignment. Final Delivery_ Transportation Service. Transportation Service + The service for delivery to the consignee under the transport contract for this consignment. + 0..1 + Consignment + Final Delivery + Transportation Service + Transportation Service + Transportation Service + Door-to-door , Pier-to-door + + + + + + + + + ASBIE + Consignment. Delivery Terms + The conditions agreed upon between a seller and a buyer with regard to the delivery of goods and/or services (e.g., CIF, FOB, or EXW from the INCOTERMS Terms of Delivery). + 0..1 + Consignment + Delivery Terms + Delivery Terms + Delivery Terms + Trade Terms, INCOTERMS + + + + + + + + + ASBIE + Consignment. Payment Terms + The terms of payment between the parties (such as logistics service client, logistics service provider) in a transaction. + 0..1 + Consignment + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Collect_ Payment Terms. Payment Terms + The terms of payment that apply to the collection of this consignment. + 0..1 + Consignment + Collect + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Disbursement_ Payment Terms. Payment Terms + The terms of payment for disbursement. + 0..1 + Consignment + Disbursement + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Prepaid_ Payment Terms. Payment Terms + The terms of payment for prepayment. + 0..1 + Consignment + Prepaid + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Freight_ Allowance Charge. Allowance Charge + A cost incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage for this consignment. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance to the extent that they relate to the freight costs. + 0..n + Consignment + Freight + Allowance Charge + Allowance Charge + Allowance Charge + Freight Costs + + + + + + + + + ASBIE + Consignment. Extra_ Allowance Charge. Allowance Charge + A charge for extra allowance. + 0..n + Consignment + Extra + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Consignment. Main Carriage_ Shipment Stage. Shipment Stage + A shipment stage during main carriage. + 0..n + Consignment + Main Carriage + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Consignment. Pre Carriage_ Shipment Stage. Shipment Stage + A shipment stage during precarriage (usually refers to movement activity that takes place prior to the container being loaded at a port of loading). + 0..n + Consignment + Pre Carriage + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Consignment. On Carriage_ Shipment Stage. Shipment Stage + A shipment stage during on-carriage (usually refers to movement activity that takes place after the container is discharged at a port of discharge). + 0..n + Consignment + On Carriage + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Consignment. Transport Handling Unit + A transport handling unit used for loose and containerized goods. + 0..n + Consignment + Transport Handling Unit + Transport Handling Unit + Transport Handling Unit + + + + + + + + + ASBIE + Consignment. First Arrival Port_ Location. Location + The first arrival location in a transport. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Consignment + First Arrival Port + Location + Location + Location + + + + + + + + + ASBIE + Consignment. Last Exit Port_ Location. Location + The final exporting location in a transport. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Consignment + Last Exit Port + Location + Location + Location + + + + + + + + + + + ABIE + Consumption. Details + A class to describe the consumption of a utility. + Consumption + + + + + + + + + BBIE + Consumption. Utility Statement Type Code. Code + A code identifying the type of the Utility Statement required for this consumption. Explains the kind of utility the statement is about, e.g.. "gas", "electricity", "telephone" + 0..1 + Consumption + Utility Statement Type Code + Code + Code. Type + Electricity + + + + + + + + + ASBIE + Consumption. Main_ Period. Period + The period of consumption. + 0..1 + Consumption + Main + Period + Period + Period + + + + + + + + + ASBIE + Consumption. Allowance Charge + An allowance or charges that may apply with this consumption. + 0..n + Consumption + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Consumption. Tax Total + The total of taxes for each tax type covering the consumption. + 0..n + Consumption + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Consumption. Energy Water Supply + The details of any energy or water consumption. + 0..1 + Consumption + Energy Water Supply + Energy Water Supply + Energy Water Supply + + + + + + + + + ASBIE + Consumption. Telecommunications Supply + The details of any telecommunications consumption. + 0..1 + Consumption + Telecommunications Supply + Telecommunications Supply + Telecommunications Supply + + + + + + + + + ASBIE + Consumption. Legal_ Monetary Total. Monetary Total + The total amount payable on this consumption, including any allowances, charges, or taxes. + 1 + Consumption + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + + + ABIE + Consumption Average. Details + A class to define an average consumption as a monetary amount. + Consumption Average + + + + + + + + + BBIE + Consumption Average. Average_ Amount. Amount + The average monetary amount of the consumption. + 0..1 + Consumption Average + Average + Amount + Amount + Amount. Type + 1.65 + + + + + + + + + BBIE + Consumption Average. Description. Text + A description of the average consumed. + 0..n + Consumption Average + Description + Text + Text. Type + Average price incl. value added tax per kilowatt-hour in the billing period. + + + + + + + + + + + ABIE + Consumption Correction. Details + The Statement of correction, for examples heating correction. + Consumption Correction + + + + + + + + + BBIE + Consumption Correction. Correction Type. Text + Statement for the correction type. + 0..1 + Consumption Correction + Correction Type + Text + Text. Type + Heating Correction + + + + + + + + + BBIE + Consumption Correction. Correction Type Code. Code + Statement at the code for the correction type. + 0..1 + Consumption Correction + Correction Type Code + Code + Code. Type + HeatingCorrection + + + + + + + + + BBIE + Consumption Correction. Meter Number. Text + Statement for meter number. + 0..1 + Consumption Correction + Meter Number + Text + Text. Type + 530071575 + + + + + + + + + BBIE + Consumption Correction. Gas Pressure. Quantity + Correction of the gas pressure. + 0..1 + Consumption Correction + Gas Pressure + Quantity + Quantity. Type + + + + + + + + + BBIE + Consumption Correction. Actual_ Temperature Reduction. Quantity + Statement for the actuel heating correction temperature. + 0..1 + Consumption Correction + Actual + Temperature Reduction + Quantity + Quantity. Type + -36.69 + + + + + + + + + BBIE + Consumption Correction. Normal_ Temperature Reduction. Quantity + Statement for the standard for heating correction temperature. + 0..1 + Consumption Correction + Normal + Temperature Reduction + Quantity + Quantity. Type + -37.00 + + + + + + + + + BBIE + Consumption Correction. Difference_ Temperature Reduction. Quantity + Deviation from standard heating correction. + 0..1 + Consumption Correction + Difference + Temperature Reduction + Quantity + Quantity. Type + 0.31 + + + + + + + + + BBIE + Consumption Correction. Description. Text + Description related to the corrections. + 0..n + Consumption Correction + Description + Text + Text. Type + + + + + + + + + BBIE + Consumption Correction. Correction Unit Amount. Amount + Correction per MWH per degree C. + 0..1 + Consumption Correction + Correction Unit Amount + Amount + Amount. Type + 0.0000 + + + + + + + + + BBIE + Consumption Correction. Consumption Energy. Quantity + Your consumpt for district heating energy. + 0..1 + Consumption Correction + Consumption Energy + Quantity + Quantity. Type + 563.6240 + + + + + + + + + BBIE + Consumption Correction. Consumption Water. Quantity + Your consumpt for district heating water. + 0..1 + Consumption Correction + Consumption Water + Quantity + Quantity. Type + 13212.14 + + + + + + + + + BBIE + Consumption Correction. Correction Amount. Amount + Your correction for heating correction. + 0..1 + Consumption Correction + Correction Amount + Amount + Amount. Type + 0.00 + + + + + + + + + + + ABIE + Consumption History. Details + A class to describe the measurement of a type of consumption during a particular period, used for the subscriber to get an overview of his consumption + Consumption History + + + + + + + + + BBIE + Consumption History. Meter Number. Text + A text identifier for the meter measuring the consumption. + 0..1 + Consumption History + Meter Number + Text + Text. Type + 61722x + + + + + + + + + BBIE + Consumption History. Quantity + The quantity consumed. + 1 + Consumption History + Quantity + Quantity + Quantity. Type + 7621.00 + + + + + + + + + BBIE + Consumption History. Amount + The monetary amount to be charged for the quantity consumed. + 0..1 + Consumption History + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Consumption History. Consumption Level Code. Code + The consumption level, expressed as a code used explain the consumption quantity, e.g.. diversion from the normal. + 0..1 + Consumption History + Consumption Level Code + Code + Code. Type + B + + + + + + + + + BBIE + Consumption History. Consumption Level Text. Text + The consumption level, expressed as text, used explain the consumption quantity, e.g.. diversion from the normal. + 0..1 + Consumption History + Consumption Level Text + Text + Text. Type + Average + + + + + + + + + BBIE + Consumption History. Description. Text + Text describing the consumption itself. + 0..n + Consumption History + Description + Text + Text. Type + 2004/2005 + + + + + + + + + ASBIE + Consumption History. Period + The period during which the consumption took place. + 1 + Consumption History + Period + Period + Period + + + + + + + + + + + ABIE + Consumption Line. Details + A class to describe a line item for utility consumption. To specify more than one utility item, use separate consumption lines. + Consumption Line + + + + + + + + + BBIE + Consumption Line. Identifier + An identifier for this consumption line. + 1 + Consumption Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Consumption Line. Parent_ Document Line Reference Identifier. Identifier + An identifier for the transaction line on a related document (such as an invoice) that covers this consumption line. + 0..1 + Consumption Line + Parent + Document Line Reference Identifier + Identifier + Identifier. Type + Consumption + + + + + + + + + BBIE + Consumption Line. Invoiced_ Quantity. Quantity + The quantity invoiced. + 1 + Consumption Line + Invoiced + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consumption Line. Line Extension Amount. Amount + The monetary amount, including discount, to be charged for this consumption line. + 1 + Consumption Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Consumption Line. Period + The period of time covered by this consumption line. + 0..1 + Consumption Line + Period + Period + Period + + + + + + + + + ASBIE + Consumption Line. Delivery + A delivery of the utility item on this consumption line. + 0..n + Consumption Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Consumption Line. Allowance Charge + An allowance or charge that applies to this consumption line. + 0..n + Consumption Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Consumption Line. Tax Total + A total amount of taxes of a particular kind applicable to this consumption line. + 0..n + Consumption Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Consumption Line. Utility Item + The utility item consumed. + 1 + Consumption Line + Utility Item + Utility Item + Utility Item + + + + + + + + + ASBIE + Consumption Line. Price + The price associated with this consumption line, expressed in a data structure containing multiple properties. + 0..1 + Consumption Line + Price + Price + Price + + + + + + + + + ASBIE + Consumption Line. Unstructured Price + The price associated with this consumption line expressed in a less structured form that includes just the amount and the time of use. + 0..1 + Consumption Line + Unstructured Price + Unstructured Price + Unstructured Price + + + + + + + + + + + ABIE + Consumption Point. Details + A class to define the point of consumption for a utility, such as a meter. + Consumption Point + + + + + + + + + BBIE + Consumption Point. Identifier + An identifier for this point of consumption. + 1 + Consumption Point + Identifier + Identifier + Identifier. Type + 7411013716x + + + + + + + + + BBIE + Consumption Point. Description. Text + Text describing this consumption point. + 0..n + Consumption Point + Description + Text + Text. Type + Additional informations concerning the consumption point + + + + + + + + + BBIE + Consumption Point. Subscriber Identifier. Identifier + An identifier for the subscriber responsible for the consumption at this consumption point. + 0..1 + Consumption Point + Subscriber Identifier + Identifier + Identifier. Type + 98143211 + + + + + + + + + BBIE + Consumption Point. Subscriber Type. Text + The type of subscriber, expressed as text. + 0..1 + Consumption Point + Subscriber Type + Text + Text. Type + + + + + + + + + BBIE + Consumption Point. Subscriber Type Code. Code + The type of subscriber, expressed as a code. + 0..1 + Consumption Point + Subscriber Type Code + Code + Code. Type + APL + + + + + + + + + BBIE + Consumption Point. Total_ Delivered Quantity. Quantity + The total quantity delivered, calculated at this consumption point. + 0..1 + Consumption Point + Total + Delivered Quantity + Quantity + Quantity. Type + 5761.00 + + + + + + + + + ASBIE + Consumption Point. Address + The address of this consumption point. + 0..1 + Consumption Point + Address + Address + Address + + + + + + + + + ASBIE + Consumption Point. Web Site Access + Access information for the website of this consumption point. + 0..1 + Consumption Point + Web Site Access + Web Site Access + Web Site Access + + + + + + + + + ASBIE + Consumption Point. Utility_ Meter. Meter + A meter at this consumption point. + 0..n + Consumption Point + Utility + Meter + Meter + Meter + + + + + + + + + + + ABIE + Consumption Report. Details + A class to describe utility consumption, including details of the environment in which consumption takes place. + Consumption Report + + + + + + + + + BBIE + Consumption Report. Identifier + An identifier for this consumption report. + 1 + Consumption Report + Identifier + Identifier + Identifier. Type + n/a + + + + + + + + + BBIE + Consumption Report. Consumption Type. Text + The type of consumption, expressed as text. + 0..1 + Consumption Report + Consumption Type + Text + Text. Type + Consumption + + + + + + + + + BBIE + Consumption Report. Consumption Type Code. Code + The type of consumption, expressed as a code. + 0..1 + Consumption Report + Consumption Type Code + Code + Code. Type + Consumption + + + + + + + + + BBIE + Consumption Report. Description. Text + Text reporting utility consumption. + 0..n + Consumption Report + Description + Text + Text. Type + This report contain the latest year consumption + + + + + + + + + BBIE + Consumption Report. Total_ Consumed Quantity. Quantity + The total quantity consumed. + 0..1 + Consumption Report + Total + Consumed Quantity + Quantity + Quantity. Type + 20479.00 + + + + + + + + + BBIE + Consumption Report. Basic_ Consumed Quantity. Quantity + The basic quantity consumed, excluding additional consumption. + 0..1 + Consumption Report + Basic + Consumed Quantity + Quantity + Quantity. Type + 20000.00 + + + + + + + + + BBIE + Consumption Report. Resident_ Occupants Numeric. Numeric + The number of people occupying the residence covered by this report. + 0..1 + Consumption Report + Resident + Occupants Numeric + Numeric + Numeric. Type + 4.0 + + + + + + + + + BBIE + Consumption Report. Consumers_ Energy Level Code. Code + The level of energy consumed, compared to the average for this residence type and the number of people living in the residence, expressed as a code. + 0..1 + Consumption Report + Consumers + Energy Level Code + Code + Code. Type + B + + + + + + + + + BBIE + Consumption Report. Consumers_ Energy Level. Text + The level of energy consumed, compared to the average for this residence type and the number of people living in the residence, expressed as text. + 0..1 + Consumption Report + Consumers + Energy Level + Text + Text. Type + Middel + + + + + + + + + BBIE + Consumption Report. Residence Type. Text + The type of residence (house, apartment, etc.) covered in this report, expressed as text. + 0..1 + Consumption Report + Residence Type + Text + Text. Type + House + + + + + + + + + BBIE + Consumption Report. Residence Type Code. Code + The type of residence (house, apartment, etc.) covered in this report, expressed as a code. + 0..1 + Consumption Report + Residence Type Code + Code + Code. Type + House + + + + + + + + + BBIE + Consumption Report. Heating Type. Text + The type of heating in the residence covered in this report, expressed as text. + 0..1 + Consumption Report + Heating Type + Text + Text. Type + District heating + + + + + + + + + BBIE + Consumption Report. Heating Type Code. Code + The type of heating in the residence covered in this report, expressed as a code. + 0..1 + Consumption Report + Heating Type Code + Code + Code. Type + DistrictHeating + + + + + + + + + ASBIE + Consumption Report. Period + The period of consumption covered in this report. + 0..1 + Consumption Report + Period + Period + Period + + + + + + + + + ASBIE + Consumption Report. Guidance_ Document Reference. Document Reference + A reference to a document providing an explanation of this kind of report. + 0..1 + Consumption Report + Guidance + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Consumption Report. Document Reference + A reference to some other document (for example, this report in another format). + 0..1 + Consumption Report + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Consumption Report. Consumption Report Reference + A reference to a previous consumption report. + 0..n + Consumption Report + Consumption Report Reference + Consumption Report Reference + Consumption Report Reference + + + + + + + + + ASBIE + Consumption Report. Consumption History + A report describing historical parameters relating to a specific instance of consumption. + 0..n + Consumption Report + Consumption History + Consumption History + Consumption History + + + + + + + + + + + ABIE + Consumption Report Reference. Details + A class to define a reference to an earlier consumption report (e.g., last year's consumption). + Consumption Report Reference + + + + + + + + + BBIE + Consumption Report Reference. Consumption_ Report Identifier. Identifier + An identifier for the referenced consumption report. + 1 + Consumption Report Reference + Consumption + Report Identifier + Identifier + Identifier. Type + n/a + + + + + + + + + BBIE + Consumption Report Reference. Consumption Type. Text + The reported consumption type, expressed as text. + 0..1 + Consumption Report Reference + Consumption Type + Text + Text. Type + Consumption + + + + + + + + + BBIE + Consumption Report Reference. Consumption Type Code. Code + The reported consumption type, expressed as a code. + 0..1 + Consumption Report Reference + Consumption Type Code + Code + Code. Type + Consumption + + + + + + + + + BBIE + Consumption Report Reference. Total_ Consumed Quantity. Quantity + The total quantity consumed during the period of the referenced report. + 1 + Consumption Report Reference + Total + Consumed Quantity + Quantity + Quantity. Type + 20479.00 + + + + + + + + + ASBIE + Consumption Report Reference. Period + The period of consumption covered by the referenced report. + 1 + Consumption Report Reference + Period + Period + Period + + + + + + + + + + + ABIE + Contact. Details + A class to describe a contactable person or department in an organization. + Contact + + + + + + + + + BBIE + Contact. Identifier + An identifier for this contact. + 0..1 + Contact + Identifier + Identifier + Identifier. Type + Receivals Clerk + + + + + + + + + BBIE + Contact. Name + The name of this contact. It is recommended that this be used for a functional name and not a personal name. + 0..1 + Contact + Name + Name + Name. Type + Delivery Dock + + + + + + + + + BBIE + Contact. Telephone. Text + The primary telephone number of this contact. + 0..1 + Contact + Telephone + Text + Text. Type + + + + + + + + + BBIE + Contact. Telefax. Text + The primary fax number of this contact. + 0..1 + Contact + Telefax + Text + Text. Type + + + + + + + + + BBIE + Contact. Electronic_ Mail. Text + The primary email address of this contact. + 0..1 + Contact + Electronic + Mail + Text + Text. Type + + + + + + + + + BBIE + Contact. Note. Text + Free-form text conveying information that is not contained explicitly in other structures; in particular, a textual description of the circumstances under which this contact can be used (e.g., "emergency" or "after hours"). + 0..n + Contact + Note + Text + Text. Type + + + + + + + + + ASBIE + Contact. Other_ Communication. Communication + Another means of communication with this contact. + 0..n + Contact + Other + Communication + Communication + Communication + + + + + + + + + + + ABIE + Contract. Details + A class to describe a contract. + Contract + + + + + + + + + BBIE + Contract. Identifier + An identifier for this contract. + 0..1 + Contract + Identifier + Identifier + Identifier. Type + CC23 + + + + + + + + + BBIE + Contract. Issue Date. Date + The date on which this contract was issued. + 0..1 + Contract + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Contract. Issue Time. Time + The time at which this contract was issued. + 0..1 + Contract + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Contract. Nomination Date. Date + In a transportation contract, the deadline date by which the services referred to in the transport execution plan have to be booked. For example, if this service is a carrier service scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011. + 0..1 + Contract + Nomination Date + Date + Date. Type + + + + + + + + + BBIE + Contract. Nomination Time. Time + In a transportation contract, the deadline time by which the services referred to in the transport execution plan have to be booked. For example, if this service is a carrier service scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011 and the nomination time 4 p.m. at the latest. + 0..1 + Contract + Nomination Time + Time + Time. Type + + + + + + + + + BBIE + Contract. Contract Type Code. Code + The type of this contract, expressed as a code, such as "Cost plus award fee" and "Cost plus fixed fee" from UNCEFACT Contract Type code list. + 0..1 + Contract + Contract Type Code + Code + Code. Type + + + + + + + + + BBIE + Contract. Contract Type. Text + The type of this contract, expressed as text, such as "Cost plus award fee" and "Cost plus fixed fee" from UNCEFACT Contract Type code list. + 0..1 + Contract + Contract Type + Text + Text. Type + + + + + + + + + BBIE + Contract. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Contract + Note + Text + Text. Type + Remarks + + + + + + + + + BBIE + Contract. Version. Identifier + An identifier for the current version of this contract. + 0..1 + Contract + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract. Description. Text + Text describing this contract. + 0..n + Contract + Description + Text + Text. Type + + + + + + + + + ASBIE + Contract. Validity_ Period. Period + The period during which this contract is valid. + 0..1 + Contract + Validity + Period + Period + Period + + + + + + + + + ASBIE + Contract. Contract_ Document Reference. Document Reference + A reference to a contract document. + 0..n + Contract + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Contract. Nomination_ Period. Period + In a transportation contract, the period required to book the services specified in the contract before the services can begin. + 0..1 + Contract + Nomination + Period + Period + Period + + + + + + + + + ASBIE + Contract. Contractual_ Delivery. Delivery + In a transportation contract, the delivery of the services required to book the services specified in the contract. + 0..1 + Contract + Contractual + Delivery + Delivery + Delivery + + + + + + + + + + + ABIE + Contract Execution Requirement. Details + A class to describe a requirement for execution of a contract. + Contract Execution Requirement + + + + + + + + + BBIE + Contract Execution Requirement. Name + A name for this requirement. + 0..n + Contract Execution Requirement + Name + Name + Name. Type + + + + + + + + + BBIE + Contract Execution Requirement. Execution Requirement Code. Code + A code signifying the type of party independent of its role. + 0..1 + Contract Execution Requirement + Execution Requirement Code + Code + Code. Type + + + + + + + + + BBIE + Contract Execution Requirement. Description. Text + Text describing this requirement. + 0..n + Contract Execution Requirement + Description + Text + Text. Type + + + + + + + + + + + ABIE + Contract Extension. Details + A class to describe possible extensions to a contract. + Contract Extension + + + + + + + + + BBIE + Contract Extension. Options Description. Text + A description for the possible options that can be carried out during the execution of the contract. + 0..n + Contract Extension + Options Description + Text + Text. Type + + + + + + + + + BBIE + Contract Extension. Minimum_ Number. Numeric + The fixed minimum number of contract extensions or renewals. + 0..1 + Contract Extension + Minimum + Number + Numeric + Numeric. Type + + + + + + + + + BBIE + Contract Extension. Maximum_ Number. Numeric + The maximum allowed number of contract extensions. + 0..1 + Contract Extension + Maximum + Number + Numeric + Numeric. Type + + + + + + + + + BBIE + Contract Extension. Renewals. Indicator + Indicates that the contract can be extended using renewals. + 0..1 + Contract Extension + Renewals + Indicator + Indicator. Type + + + + + + + + + ASBIE + Contract Extension. Option Validity_ Period. Period + The period during which the option for extending the contract is available. + 0..1 + Contract Extension + Option Validity + Period + Period + Period + + + + + + + + + ASBIE + Contract Extension. Renewal + The period allowed for each contract extension. + 0..n + Contract Extension + Renewal + Renewal + Renewal + + + + + + + + + + + ABIE + Contracting Activity. Details + The nature of the type of business of the organization. + Contracting Activity + + + + + + + + + BBIE + Contracting Activity. Activity Type Code. Code + A code specifying the nature of the type of business of the organization. + 0..1 + Contracting Activity + Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Contracting Activity. Activity Type. Text + The nature of the type of business of the organization, expressed as text. + 0..1 + Contracting Activity + Activity Type + Text + Text. Type + + + + + + + + + + + ABIE + Contracting Party. Details + A class to describe an individual, a group, or a body having a procurement role in a tendering process. + Contracting Party + + + + + + + + + BBIE + Contracting Party. Buyer Profile_ URI. Identifier + The buyer profile is typically located on a web site where the contracting party publishes its procurement opportunities + 0..1 + Contracting Party + Buyer Profile + URI + Identifier + Identifier. Type + Buyer Profile + + + + + + + + + ASBIE + Contracting Party. Contracting Party Type + The type of contracting party that is independent of its role. + 0..n + Contracting Party + Contracting Party Type + Contracting Party Type + Contracting Party Type + + + + + + + + + ASBIE + Contracting Party. Contracting Activity + The nature of the type of business of the organization + 0..n + Contracting Party + Contracting Activity + Contracting Activity + Contracting Activity + + + + + + + + + ASBIE + Contracting Party. Party + The contracting party itself. + 1 + Contracting Party + Party + Party + Party + + + + + + + + + + + ABIE + Contracting Party Type. Details + The type of contracting party that is independent of its role. + Contracting Party Type + + + + + + + + + BBIE + Contracting Party Type. Party Type Code. Code + A code specifying the type of party that is independent of its role. + 0..1 + Contracting Party Type + Party Type Code + Code + Code. Type + + + + + + + + + BBIE + Contracting Party Type. Party Type. Text + The type of party that is independent of its role, expressed as text. + 0..1 + Contracting Party Type + Party Type + Text + Text. Type + + + + + + + + + + + ABIE + Contracting System. Details + A class to describe the contracting system. If the procedure is individual (nonrepetitive), this class should not be used. + Contracting System + + + + + + + + + BBIE + Contracting System. Identifier + An identifier for the contracting system. + 0..1 + Contracting System + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contracting System. Contracting System Type. Code + A code signifying the type of contracting system (e.g., framework agreement, dynamic purchasing system). + 0..1 + Contracting System + Contracting System Type + Code + Code. Type + + + + + + + + + BBIE + Contracting System. Description. Text + The description of the contracting system + 0..n + Contracting System + Description + Text + Text. Type + + + + + + + + + + + ABIE + Corporate Registration Scheme. Details + A class to describe a scheme for corporate registration. + Corporate Registration Scheme + + + + + + + + + BBIE + Corporate Registration Scheme. Identifier + An identifier for this registration scheme. + 0..1 + Corporate Registration Scheme + Identifier + Identifier + Identifier. Type + ASIC in Australia + + + + + + + + + BBIE + Corporate Registration Scheme. Name + The name of this registration scheme. + 0..1 + Corporate Registration Scheme + Name + Name + Name. Type + Australian Securities and Investment Commission in Australia + + + + + + + + + BBIE + Corporate Registration Scheme. Corporate Registration Type Code. Code + A code signifying the type of this registration scheme. + 0..1 + Corporate Registration Scheme + Corporate Registration Type Code + Code + Code. Type + ACN + + + + + + + + + ASBIE + Corporate Registration Scheme. Jurisdiction Region_ Address. Address + A geographic area in which this registration scheme applies. + 0..n + Corporate Registration Scheme + Jurisdiction Region + Address + Address + Address + England , Wales + + + + + + + + + + + ABIE + Country. Details + A class to describe a country. + Country + + + + + + + + + BBIE + Country. Identification Code. Code + A code signifying this country. + 0..1 + Country + Identification Code + Code + Country Identification + Country Identification_ Code. Type + + + + + + + + + BBIE + Country. Name + The name of this country. + 0..1 + Country + Name + Name + Name. Type + SOUTH AFRICA + + + + + + + + + + + ABIE + Credit Account. Details + A class to identify a credit account for sales on account. + Credit Account + + + + + + + + + BBIE + Credit Account. Account Identifier. Identifier + An identifier for this credit account. + 1 + Credit Account + Account Identifier + Identifier + Identifier. Type + Customer Code 29 + + + + + + + + + + + ABIE + Credit Note Line. Details + A class to define a line in a Credit Note or Self Billed Credit Note. + Credit Note Line + + + + + + + + + BBIE + Credit Note Line. Identifier + An identifier for this credit note line. + 1 + Credit Note Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note Line. UUID. Identifier + A universally unique identifier for this credit note line. + 0..1 + Credit Note Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Credit Note Line + Note + Text + Text. Type + + + + + + + + + BBIE + Credit Note Line. Credited_ Quantity. Quantity + The quantity of items credited in this credit note line. + 0..1 + Credit Note Line + Credited + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Credit Note Line. Line Extension Amount. Amount + The total amount for this credit note line, including allowance charges but exclusive of taxes. + 0..1 + Credit Note Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Credit Note Line. Tax Point Date. Date + The date of this credit note line, used to indicate the point at which tax becomes applicable. + 0..1 + Credit Note Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this credit note line, expressed as a code. + 0..1 + Credit Note Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note Line. Accounting Cost. Text + The buyer's accounting cost centre for this credit note line, expressed as text. + 0..1 + Credit Note Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Credit Note Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Credit Note Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note Line. Free Of Charge_ Indicator. Indicator + An indicator that this credit note line is free of charge (true) or not (false). The default is false. + 0..1 + Credit Note Line + Free Of Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Credit Note Line. Invoice_ Period. Period + An invoice period to which this credit note line applies. + 0..n + Credit Note Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Credit Note Line. Order Line Reference + A reference to an order line associated with this credit note line. + 0..n + Credit Note Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Credit Note Line. Discrepancy_ Response. Response + A reason for the credit. + 0..n + Credit Note Line + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Credit Note Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this credit note line. + 0..n + Credit Note Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Credit Note Line. Receipt_ Line Reference. Line Reference + A reference to a receipt line associated with this credit note line. + 0..n + Credit Note Line + Receipt + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Credit Note Line. Billing Reference + A reference to a billing document associated with this credit note line. + 0..n + Credit Note Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Credit Note Line. Document Reference + A reference to a document associated with this credit note line. + 0..n + Credit Note Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note Line. Pricing Reference + A reference to pricing and item location information associated with this credit note line. + 0..1 + Credit Note Line + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Credit Note Line. Originator_ Party. Party + The party who originated the Order to which the Credit Note is related. + 0..1 + Credit Note Line + Originator + Party + Party + Party + + + + + + + + + ASBIE + Credit Note Line. Delivery + A delivery associated with this credit note line. + 0..n + Credit Note Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Credit Note Line. Payment Terms + A specification of payment terms associated with this credit note line. + 0..n + Credit Note Line + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Credit Note Line. Tax Total + A total amount of taxes of a particular kind applicable to this credit note line. + 0..n + Credit Note Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Credit Note Line. Allowance Charge + An allowance or charge associated with this credit note. + 0..n + Credit Note Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Credit Note Line. Item + The item associated with this credit note line. + 0..1 + Credit Note Line + Item + Item + Item + + + + + + + + + ASBIE + Credit Note Line. Price + The price of the item associated with this credit note line. + 0..1 + Credit Note Line + Price + Price + Price + Unit Price, Base Price + + + + + + + + + ASBIE + Credit Note Line. Delivery Terms + Terms and conditions of a delivery associated with this credit note line. + 0..n + Credit Note Line + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Credit Note Line. Sub_ Credit Note Line. Credit Note Line + A class defining one or more Credit Note Lines detailing the credit note line. + 0..n + Credit Note Line + Sub + Credit Note Line + Credit Note Line + Credit Note Line + + + + + + + + + ASBIE + Credit Note Line. Item_ Price Extension. Price Extension + The price extension, calculated by multiplying the price per unit by the quantity of items on this credit note line. + 0..1 + Credit Note Line + Item + Price Extension + Price Extension + Price Extension + + + + + + + + + + + ABIE + Customer Party. Details + A class to describe a customer party. + Customer Party + + + + + + + + + BBIE + Customer Party. Customer Assigned_ Account Identifier. Identifier + An identifier for the customer's account, assigned by the customer itself. + 0..1 + Customer Party + Customer Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Customer Party. Supplier Assigned_ Account Identifier. Identifier + An identifier for the customer's account, assigned by the supplier. + 0..1 + Customer Party + Supplier Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Customer Party. Additional_ Account Identifier. Identifier + An identifier for the customer's account, assigned by a third party. + 0..n + Customer Party + Additional + Account Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Customer Party. Party + The customer party itself. + 0..1 + Customer Party + Party + Party + Party + + + + + + + + + ASBIE + Customer Party. Delivery_ Contact. Contact + A customer contact for deliveries. + 0..1 + Customer Party + Delivery + Contact + Contact + Contact + + + + + + + + + ASBIE + Customer Party. Accounting_ Contact. Contact + A customer contact for accounting. + 0..1 + Customer Party + Accounting + Contact + Contact + Contact + + + + + + + + + ASBIE + Customer Party. Buyer_ Contact. Contact + A customer contact for purchasing. + 0..1 + Customer Party + Buyer + Contact + Contact + Contact + + + + + + + + + + + ABIE + Customs Declaration. Details + A class describing identifiers or references relating to customs procedures. + Customs Declaration + Movement Reference Number, Local Reference Number + + + + + + + + + BBIE + Customs Declaration. Identifier + An identifier associated with customs related procedures. + 1 + Customs Declaration + Identifier + Identifier + Identifier. Type + CUST001 3333-44-123 + + + + + + + + + ASBIE + Customs Declaration. Issuer_ Party. Party + Describes the party issuing the customs declaration. + 0..1 + Customs Declaration + Issuer + Party + Party + Party + + + + + + + + + + + ABIE + Debit Note Line. Details + A class to define a line in a Debit Note. + Debit Note Line + + + + + + + + + BBIE + Debit Note Line. Identifier + An identifier for this debit note line. + 1 + Debit Note Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note Line. UUID. Identifier + A universally unique identifier for this debit note line. + 0..1 + Debit Note Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Debit Note Line + Note + Text + Text. Type + + + + + + + + + BBIE + Debit Note Line. Debited_ Quantity. Quantity + The quantity of Items debited in this debit note line. + 0..1 + Debit Note Line + Debited + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Debit Note Line. Line Extension Amount. Amount + The total amount for this debit note line, including allowance charges but net of taxes. + 1 + Debit Note Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Debit Note Line. Tax Point Date. Date + The date of this debit note line, used to indicate the point at which tax becomes applicable. + 0..1 + Debit Note Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this debit note line, expressed as a code. + 0..1 + Debit Note Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Debit Note Line. Accounting Cost. Text + The buyer's accounting cost centre for this debit note line, expressed as text. + 0..1 + Debit Note Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Debit Note Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Debit Note Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Debit Note Line. Discrepancy_ Response. Response + A reason for the debit. + 0..n + Debit Note Line + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Debit Note Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this debit note line. + 0..n + Debit Note Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Debit Note Line. Receipt_ Line Reference. Line Reference + A reference to a receipt line associated with this debit note line. + 0..n + Debit Note Line + Receipt + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Debit Note Line. Billing Reference + A reference to a billing document associated with this debit note line. + 0..n + Debit Note Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Debit Note Line. Document Reference + A reference to a document associated with this debit note line. + 0..n + Debit Note Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note Line. Pricing Reference + A reference to pricing and item location information associated with this debit note line. + 0..1 + Debit Note Line + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Debit Note Line. Delivery + A delivery associated with this debit note line. + 0..n + Debit Note Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Debit Note Line. Tax Total + A total amount of taxes of a particular kind applicable to this debit note line. + 0..n + Debit Note Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Debit Note Line. Allowance Charge + An allowance or charge associated with this debit note. + 0..n + Debit Note Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Debit Note Line. Item + The item associated with this debit note line. + 0..1 + Debit Note Line + Item + Item + Item + + + + + + + + + ASBIE + Debit Note Line. Price + The price of the item associated with this debit note line. + 0..1 + Debit Note Line + Price + Price + Price + Unit Price, Base Price + + + + + + + + + ASBIE + Debit Note Line. Sub_ Debit Note Line. Debit Note Line + A recursive description of a debit note line subsidiary to this debit note line. + 0..n + Debit Note Line + Sub + Debit Note Line + Debit Note Line + Debit Note Line + + + + + + + + + + + ABIE + Declaration. Details + A class to describe a declaration by an economic operator of certain characteristics or capabilities in fulfilment of requirements specified in a call for tenders. + Declaration + + + + + + + + + BBIE + Declaration. Name + The name of this declaration. + 0..n + Declaration + Name + Name + Name. Type + + + + + + + + + BBIE + Declaration. Declaration Type Code. Code + A code signifying the type of this declaration. + 0..1 + Declaration + Declaration Type Code + Code + Code. Type + + + + + + + + + BBIE + Declaration. Description. Text + Text describing this declaration. + 0..n + Declaration + Description + Text + Text. Type + + + + + + + + + ASBIE + Declaration. Evidence Supplied + The evidence supporting this declaration. + 0..n + Declaration + Evidence Supplied + Evidence Supplied + Evidence Supplied + + + + + + + + + + + ABIE + Delivery. Details + A class to describe a delivery. + Delivery + + + + + + + + + BBIE + Delivery. Identifier + An identifier for this delivery. + 0..1 + Delivery + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Delivery. Quantity + The quantity of items, child consignments, shipments in this delivery. + 0..1 + Delivery + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Minimum_ Quantity. Quantity + The minimum quantity of items, child consignments, shipments in this delivery. + 0..1 + Delivery + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Maximum_ Quantity. Quantity + The maximum quantity of items, child consignments, shipments in this delivery. + 0..1 + Delivery + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Actual_ Delivery Date. Date + The actual date of delivery. + 0..1 + Delivery + Actual + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Delivery. Actual_ Delivery Time. Time + The actual time of delivery. + 0..1 + Delivery + Actual + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Delivery. Latest_ Delivery Date. Date + The latest date of delivery allowed by the buyer. + 0..1 + Delivery + Latest + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Delivery. Latest_ Delivery Time. Time + The latest time of delivery allowed by the buyer. + 0..1 + Delivery + Latest + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Delivery. Release. Identifier + An identifier used for approval of access to delivery locations (e.g., port terminals). + 0..1 + Delivery + Release + Identifier + Identifier. Type + + + + + + + + + BBIE + Delivery. Tracking Identifier. Identifier + The delivery Tracking ID (for transport tracking). + 0..1 + Delivery + Tracking Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Delivery. Delivery_ Address. Address + The delivery address. + 0..1 + Delivery + Delivery + Address + Address + Address + + + + + + + + + ASBIE + Delivery. Delivery_ Location. Location + The delivery location. + 0..1 + Delivery + Delivery + Location + Location + Location + + + + + + + + + ASBIE + Delivery. Alternative Delivery_ Location. Location + An alternative delivery location. + 0..1 + Delivery + Alternative Delivery + Location + Location + Location + + + + + + + + + ASBIE + Delivery. Requested Delivery_ Period. Period + The period requested for delivery. + 0..1 + Delivery + Requested Delivery + Period + Period + Period + + + + + + + + + ASBIE + Delivery. Promised Delivery_ Period. Period + The period promised for delivery. + 0..1 + Delivery + Promised Delivery + Period + Period + Period + + + + + + + + + ASBIE + Delivery. Estimated Delivery_ Period. Period + The period estimated for delivery. + 0..1 + Delivery + Estimated Delivery + Period + Period + Period + + + + + + + + + ASBIE + Delivery. Carrier_ Party. Party + The party responsible for delivering the goods. + 0..1 + Delivery + Carrier + Party + Party + Party + + + + + + + + + ASBIE + Delivery. Delivery_ Party. Party + The party to whom the goods are delivered. + 0..1 + Delivery + Delivery + Party + Party + Party + + + + + + + + + ASBIE + Delivery. Notify_ Party. Party + A party to be notified of this delivery. + 0..n + Delivery + Notify + Party + Party + Party + + + + + + + + + ASBIE + Delivery. Despatch + The despatch (pickup) associated with this delivery. + 0..1 + Delivery + Despatch + Despatch + Despatch + + + + + + + + + ASBIE + Delivery. Delivery Terms + Terms and conditions relating to the delivery. + 0..n + Delivery + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Delivery. Minimum_ Delivery Unit. Delivery Unit + The minimum delivery unit for this delivery. + 0..1 + Delivery + Minimum + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Delivery. Maximum_ Delivery Unit. Delivery Unit + The maximum delivery unit for this delivery. + 0..1 + Delivery + Maximum + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Delivery. Shipment + The shipment being delivered. + 0..1 + Delivery + Shipment + Shipment + Shipment + + + + + + + + + + + ABIE + Delivery Channel. Details + A class to describe a delivery channel. + Delivery Channel + + + + + + + + + BBIE + Delivery Channel. Network Identifier. Identifier + An identifier for the network where messages are delivered (e.g. a business network). + 0..1 + Delivery Channel + Network Identifier + Identifier + Identifier. Type + OpenPEPPOL + + + + + + + + + BBIE + Delivery Channel. Participant Identifier. Identifier + An identifier for a registered participant in the network (e.g. according a precise scheme such as IT:VAT, DK:CVR, GLN). + 0..1 + Delivery Channel + Participant Identifier + Identifier + Identifier. Type + 5790002221134 + + + + + + + + + BBIE + Delivery Channel. Test_ Indicator. Indicator + An indicator that the channel is a test channel (true). + 0..1 + Delivery Channel + Test + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Delivery Channel. Digital_ Certificate. Certificate + A digital certificate associated with this delivery channel. + 0..1 + Delivery Channel + Digital + Certificate + Certificate + Certificate + + + + + + + + + ASBIE + Delivery Channel. Digital_ Message Delivery. Message Delivery + A digital message delivery associated with this delivery channel (aka routing information). + 0..1 + Delivery Channel + Digital + Message Delivery + Message Delivery + Message Delivery + + + + + + + + + + + ABIE + Delivery Terms. Details + A class for describing the terms and conditions applying to the delivery of goods. + Delivery Terms + + + + + + + + + BBIE + Delivery Terms. Identifier + An identifier for this description of delivery terms. + 0..1 + Delivery Terms + Identifier + Identifier + Identifier. Type + CIF, FOB, or EXW from the INCOTERMS Terms of Delivery. (2000 version preferred.) + + + + + + + + + BBIE + Delivery Terms. Special_ Terms. Text + A description of any terms or conditions relating to the delivery items. + 0..n + Delivery Terms + Special + Terms + Text + Text. Type + + + + + + + + + BBIE + Delivery Terms. Loss Risk Responsibility Code. Code + A code that identifies one of various responsibilities for loss risk in the execution of the delivery. + 0..1 + Delivery Terms + Loss Risk Responsibility Code + Code + Code. Type + + + + + + + + + BBIE + Delivery Terms. Loss Risk. Text + A description of responsibility for risk of loss in execution of the delivery, expressed as text. + 0..n + Delivery Terms + Loss Risk + Text + Text. Type + + + + + + + + + BBIE + Delivery Terms. Amount + The monetary amount covered by these delivery terms. + 0..1 + Delivery Terms + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Delivery Terms. Delivery_ Location. Location + The location for the contracted delivery. + 0..1 + Delivery Terms + Delivery + Location + Location + Location + + + + + + + + + ASBIE + Delivery Terms. Allowance Charge + An allowance or charge covered by these delivery terms. + 0..1 + Delivery Terms + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Delivery Unit. Details + A class to describe a delivery unit. + Delivery Unit + + + + + + + + + BBIE + Delivery Unit. Batch Quantity. Quantity + The quantity of ordered Items that constitutes a batch for delivery purposes. + 1 + Delivery Unit + Batch Quantity + Quantity + Quantity. Type + 100 units , by the dozen + + + + + + + + + BBIE + Delivery Unit. Consumer_ Unit. Quantity + The quantity of units in the Delivery Unit expressed in the units used by the consumer. + 0..1 + Delivery Unit + Consumer + Unit + Quantity + Quantity. Type + packs of 10 + + + + + + + + + BBIE + Delivery Unit. Hazardous Risk_ Indicator. Indicator + An indication that the transported goods are subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Delivery Unit + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + + + ABIE + Dependent Price Reference. Details + A class to define the price of an item as a percentage of the price of a different item. + Dependent Price Reference + + + + + + + + + BBIE + Dependent Price Reference. Percent + The percentage by which the price of the different item is multiplied to calculate the price of the item. + 0..1 + Dependent Price Reference + Percent + Percent + Percent. Type + + + + + + + + + ASBIE + Dependent Price Reference. Location_ Address. Address + The reference location for this dependent price reference. + 0..1 + Dependent Price Reference + Location + Address + Address + Address + + + + + + + + + ASBIE + Dependent Price Reference. Dependent_ Line Reference. Line Reference + A reference to a line that the price is depended of. + 0..1 + Dependent Price Reference + Dependent + Line Reference + Line Reference + Line Reference + + + + + + + + + + + ABIE + Despatch. Details + A class to describe the despatching of goods (their pickup for delivery). + Despatch + + + + + + + + + BBIE + Despatch. Identifier + An identifier for this despatch event. + 0..1 + Despatch + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch. Requested_ Despatch Date. Date + The despatch (pickup) date requested, normally by the buyer. + 0..1 + Despatch + Requested + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Requested_ Despatch Time. Time + The despatch (pickup) time requested, normally by the buyer. + 0..1 + Despatch + Requested + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Estimated_ Despatch Date. Date + The estimated despatch (pickup) date. + 0..1 + Despatch + Estimated + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Estimated_ Despatch Time. Time + The estimated despatch (pickup) time. + 0..1 + Despatch + Estimated + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Actual_ Despatch Date. Date + The actual despatch (pickup) date. + 0..1 + Despatch + Actual + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Actual_ Despatch Time. Time + The actual despatch (pickup) time. + 0..1 + Despatch + Actual + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Guaranteed_ Despatch Date. Date + The date guaranteed for the despatch (pickup). + 0..1 + Despatch + Guaranteed + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Guaranteed_ Despatch Time. Time + The time guaranteed for the despatch (pickup). + 0..1 + Despatch + Guaranteed + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Release. Identifier + An identifier for the release of the despatch used as security control or cargo control (pick-up). + 0..1 + Despatch + Release + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch. Instructions. Text + Text describing any special instructions applying to the despatch (pickup). + 0..n + Despatch + Instructions + Text + Text. Type + + + + + + + + + ASBIE + Despatch. Despatch_ Address. Address + The address of the despatch (pickup). + 0..1 + Despatch + Despatch + Address + Address + Address + + + + + + + + + ASBIE + Despatch. Despatch_ Location. Location + The location of the despatch (pickup). + 0..1 + Despatch + Despatch + Location + Location + Location + + + + + + + + + ASBIE + Despatch. Despatch_ Party. Party + The party despatching the goods. + 0..1 + Despatch + Despatch + Party + Party + Party + + + + + + + + + ASBIE + Despatch. Carrier_ Party. Party + The party carrying the goods. + 0..1 + Despatch + Carrier + Party + Party + Party + + + + + + + + + ASBIE + Despatch. Notify_ Party. Party + A party to be notified of this despatch (pickup). + 0..n + Despatch + Notify + Party + Party + Party + + + + + + + + + ASBIE + Despatch. Contact + The primary contact for this despatch (pickup). + 0..1 + Despatch + Contact + Contact + Contact + + + + + + + + + ASBIE + Despatch. Estimated Despatch_ Period. Period + The period estimated for the despatch (pickup) of goods. + 0..1 + Despatch + Estimated Despatch + Period + Period + Period + + + + + + + + + ASBIE + Despatch. Requested Despatch_ Period. Period + The period requested for the despatch (pickup) of goods. + 0..1 + Despatch + Requested Despatch + Period + Period + Period + + + + + + + + + + + ABIE + Despatch Line. Details + A class to define a line in a Despatch Advice. + Despatch Line + + + + + + + + + BBIE + Despatch Line. Identifier + An identifier for this despatch line. + 1 + Despatch Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Line. UUID. Identifier + A universally unique identifier for this despatch line. + 0..1 + Despatch Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Despatch Line + Note + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Line Status Code. Code + A code signifying the status of this despatch line with respect to its original state. + 0..1 + Despatch Line + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + BBIE + Despatch Line. Delivered_ Quantity. Quantity + The quantity despatched (picked up). + 0..1 + Despatch Line + Delivered + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Backorder_ Quantity. Quantity + The quantity on back order at the supplier. + 0..1 + Despatch Line + Backorder + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Backorder_ Reason. Text + The reason for the back order. + 0..n + Despatch Line + Backorder + Reason + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Outstanding_ Quantity. Quantity + The quantity outstanding (which will follow in a later despatch). + 0..1 + Despatch Line + Outstanding + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Outstanding_ Reason. Text + The reason for the outstanding quantity. + 0..n + Despatch Line + Outstanding + Reason + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Oversupply_ Quantity. Quantity + The quantity over-supplied, i.e., the quantity over and above that ordered. + 0..1 + Despatch Line + Oversupply + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Despatch Line. Order Line Reference + A reference to an order line associated with this despatch line. + 1..n + Despatch Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Despatch Line. Document Reference + A reference to a document associated with this despatch line. + 0..n + Despatch Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Despatch Line. Item + The item associated with this despatch line. + 1 + Despatch Line + Item + Item + Item + + + + + + + + + ASBIE + Despatch Line. Shipment + A shipment associated with this despatch line. + 0..n + Despatch Line + Shipment + Shipment + Shipment + + + + + + + + + + + ABIE + Digital Agreement Terms. Details + A class to describe the terms and conditions of a digital agreement. + Digital Agreement Terms + Trading Partner Agreement Terms + + + + + + + + + BBIE + Digital Agreement Terms. Description. Text + Text describing the terms and conditions of a digital agreement. + 1..n + Digital Agreement Terms + Description + Text + Text. Type + + + + + + + + + ASBIE + Digital Agreement Terms. Validity_ Period. Period + The period of time for which this digital agreement is valid. + 0..1 + Digital Agreement Terms + Validity + Period + Period + Period + + + + + + + + + ASBIE + Digital Agreement Terms. Adoption_ Period. Period + The period during which a digital agreement must be adopted. + 0..1 + Digital Agreement Terms + Adoption + Period + Period + Period + + + + + + + + + ASBIE + Digital Agreement Terms. Service Level Agreement + The service level agreement which regulates the quality, availability and responsibilities of digital services. + 0..n + Digital Agreement Terms + Service Level Agreement + Service Level Agreement + Service Level Agreement + SLA + + + + + + + + + + + ABIE + Digital Collaboration. Details + A class to describe a digital trade collaboration. + Digital Collaboration + Business Collaboration + + + + + + + + + BBIE + Digital Collaboration. Identifier + An identifier for the digital collaboration. + 0..1 + Digital Collaboration + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Digital Collaboration. Sending_ Digital Service. Digital Service + The sending digital service associated with this digital collaboration. + 0..1 + Digital Collaboration + Sending + Digital Service + Digital Service + Digital Service + + + + + + + + + ASBIE + Digital Collaboration. Receiving_ Digital Service. Digital Service + The receiving digital service associated with this digital collaboration. + 0..1 + Digital Collaboration + Receiving + Digital Service + Digital Service + Digital Service + + + + + + + + + + + ABIE + Digital Process. Details + A class to describe a digital trade process. + Digital Process + Business Process + + + + + + + + + BBIE + Digital Process. Identifier + An identifier for the digital collaboration. + 0..1 + Digital Process + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Digital Process. Description. Text + Text describing the digital process. + 0..n + Digital Process + Description + Text + Text. Type + + + + + + + + + BBIE + Digital Process. Profile Identifier. Identifier + Identifies a user-defined profile of this digital process (e.g. an UBL profile). + 0..1 + Digital Process + Profile Identifier + Identifier + Identifier. Type + urn:www.cenbii.eu:profile:bii05:ver2.0 + + + + + + + + + ASBIE + Digital Process. Digital Collaboration + The digital collaboration associated with this digital process. + 0..n + Digital Process + Digital Collaboration + Digital Collaboration + Digital Collaboration + + + + + + + + + ASBIE + Digital Process. Certification_ Document Reference. Document Reference + A reference to a certification document associated with this digital process. + 0..n + Digital Process + Certification + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Digital Service. Details + A class to describe a specific digital trade service supported by an organization for either sending or receiving business documents on different formats (e.g. UBL, ISO20022, EDIFACT, ...). + Digital Service + Business Transaction + + + + + + + + + BBIE + Digital Service. Identifier + An identifier for the digital service (aka transaction ID). + 0..1 + Digital Service + Identifier + Identifier + Identifier. Type + urn:www.cenbii.eu:transaction:biitrns010:ver2.0 + + + + + + + + + BBIE + Digital Service. Customization Identifier. Identifier + Identifies a user-defined customization of this digital service (e.g. a PEPPOL customization). + 0..1 + Digital Service + Customization Identifier + Identifier + Identifier. Type + urn:www.cenbii.eu:transaction:biitrns010:ver2.0:extended:urn:www.peppol.eu:bis:peppol5a:ver2.0 + + + + + + + + + ASBIE + Digital Service. Digital_ Document Metadata. Document Metadata + The digital document metadata associated with this digital service. + 1..n + Digital Service + Digital + Document Metadata + Document Metadata + Document Metadata + + + + + + + + + ASBIE + Digital Service. Digital_ Delivery Channel. Delivery Channel + The digital delivery channel associated with this digital service. + 0..n + Digital Service + Digital + Delivery Channel + Delivery Channel + Delivery Channel + + + + + + + + + ASBIE + Digital Service. Certification_ Document Reference. Document Reference + A reference to a certification document associated with this digital service. + 0..n + Digital Service + Certification + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Dimension. Details + A class to define a measurable dimension (length, mass, weight, volume, or area) of an item. + Dimension + + + + + + + + + BBIE + Dimension. Attribute Identifier. Identifier + An identifier for the attribute to which the measure applies. + 1 + Dimension + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Dimension. Measure + The measurement value. + 0..1 + Dimension + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Dimension. Description. Text + Text describing the measurement attribute. + 0..n + Dimension + Description + Text + Text. Type + + + + + + + + + BBIE + Dimension. Minimum_ Measure. Measure + The minimum value in a range of measurement of this dimension. + 0..1 + Dimension + Minimum + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Dimension. Maximum_ Measure. Measure + The maximum value in a range of measurement of this dimension. + 0..1 + Dimension + Maximum + Measure + Measure + Measure. Type + + + + + + + + + + + ABIE + Document Distribution. Details + A class to describe the distribution of a document to an interested party. + Document Distribution + + + + + + + + + BBIE + Document Distribution. Document Type Code. Code + The type of document, expressed as a code. + 0..1 + Document Distribution + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Document Distribution. Print_ Qualifier. Text + Text describing the interested party's distribution rights. + 1 + Document Distribution + Print + Qualifier + Text + Text. Type + + + + + + + + + BBIE + Document Distribution. Maximum_ Copies. Numeric + The maximum number of printed copies of the document that the interested party is allowed to make. + 0..1 + Document Distribution + Maximum + Copies + Numeric + Numeric. Type + + + + + + + + + BBIE + Document Distribution. Maximum_ Originals. Numeric + The maximum number of printed originals of the document that the interested party is allowed to make. + 0..1 + Document Distribution + Maximum + Originals + Numeric + Numeric. Type + + + + + + + + + ASBIE + Document Distribution. Party + The interested party to which the document should be distributed. + 1 + Document Distribution + Party + Party + Party + + + + + + + + + + + ABIE + Document Metadata. Details + A class to describe the metadata of a specific business document based on any document format (e.g. UBL, EDIFACT, ...). + Document Metadata + + + + + + + + + BBIE + Document Metadata. Identifier + An identifier for the document. + 0..1 + Document Metadata + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Metadata. Format Identifier. Identifier + An identifier for the document format (e.g. standard business vocabularies). + 1 + Document Metadata + Format Identifier + Identifier + Identifier. Type + UBL, ISO20022, EDIFACT + + + + + + + + + BBIE + Document Metadata. Version Identifier. Identifier + An identifier for a precise version of a document format. + 1 + Document Metadata + Version Identifier + Identifier + Identifier. Type + 2.2 + + + + + + + + + BBIE + Document Metadata. Schema URI. Identifier + The Uniform Resource Identifier (URI) of a schema definition for the business document (e.g. a namespace URI for XML schemas, a message ID for non-xml legacy documents). + 0..1 + Document Metadata + Schema URI + Identifier + Identifier. Type + urn:oasis:names:specification:ubl:schema:xsd:Invoice-2, INVOIC + + + + + + + + + BBIE + Document Metadata. Document Type Code. Code + The type of document, expressed as a code. + 0..1 + Document Metadata + Document Type Code + Code + Code. Type + + + + + + + + + + + ABIE + Document Reference. Details + A class to define a reference to a document. + Document Reference + + + + + + + + + BBIE + Document Reference. Identifier + An identifier for the referenced document. + 1 + Document Reference + Identifier + Identifier + Identifier. Type + PO-001 3333-44-123 + + + + + + + + + BBIE + Document Reference. Copy_ Indicator. Indicator + An indicator that the referenced document is a copy (true) or the original (false). + 0..1 + Document Reference + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Document Reference. UUID. Identifier + A universally unique identifier for this document reference. + 0..1 + Document Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Reference. Issue Date. Date + The date, assigned by the sender of the referenced document, on which the document was issued. + 0..1 + Document Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Document Reference. Issue Time. Time + The time, assigned by the sender of the referenced document, at which the document was issued. + 0..1 + Document Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Document Reference. Document Type Code. Code + The type of document being referenced, expressed as a code. + 0..1 + Document Reference + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Document Reference. Document Type. Text + The type of document being referenced, expressed as text. + 0..1 + Document Reference + Document Type + Text + Text. Type + + + + + + + + + BBIE + Document Reference. XPath. Text + A reference to another place in the same XML document instance in which DocumentReference appears. + 0..n + Document Reference + XPath + Text + Text. Type + + + + + + + + + BBIE + Document Reference. Language. Identifier + An identifier for the language used in the referenced document. + 0..1 + Document Reference + Language + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Reference. Locale Code. Code + A code signifying the locale in which the language in the referenced document is used. + 0..1 + Document Reference + Locale Code + Code + Language + Language_ Code. Type + + + + + + + + + BBIE + Document Reference. Version. Identifier + An identifier for the current version of the referenced document. + 0..1 + Document Reference + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Document Reference. Document Status Code. Code + A code signifying the status of the reference document with respect to its original state. + 0..1 + Document Reference + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Document Reference. Document_ Description. Text + Text describing the referenced document. + 0..n + Document Reference + Document + Description + Text + Text. Type + stock no longer provided + + + + + + + + + ASBIE + Document Reference. Attachment + The referenced document as an attachment to the document from which it is referenced. + 0..1 + Document Reference + Attachment + Attachment + Attachment + + + + + + + + + ASBIE + Document Reference. Validity_ Period. Period + The period for which this document reference is valid. + 0..1 + Document Reference + Validity + Period + Period + Period + + + + + + + + + ASBIE + Document Reference. Issuer_ Party. Party + The party who issued the referenced document. + 0..1 + Document Reference + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Document Reference. Result Of Verification + The result of an attempt to verify a signature associated with the referenced document. + 0..1 + Document Reference + Result Of Verification + Result Of Verification + Result Of Verification + + + + + + + + + + + ABIE + Document Response. Details + A class to describe an application-level response to a document. + Document Response + + + + + + + + + ASBIE + Document Response. Response + A response to the document as a whole. + 1 + Document Response + Response + Response + Response + + + + + + + + + ASBIE + Document Response. Document Reference + A referenced document. + 1..n + Document Response + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Document Response. Issuer_ Party. Party + The party that issued the document. + 0..1 + Document Response + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Document Response. Recipient_ Party. Party + The party for which the document is intended. + 0..1 + Document Response + Recipient + Party + Party + Party + + + + + + + + + ASBIE + Document Response. Line Response + A response to a particular line in the document. + 0..n + Document Response + Line Response + Line Response + Line Response + + + + + + + + + + + ABIE + Duty. Details + The charging rate used for both call charging and time dependent charging + Duty + + + + + + + + + BBIE + Duty. Amount + The amount of this duty. + 1 + Duty + Amount + Amount + Amount. Type + 88.23 + + + + + + + + + BBIE + Duty. Duty. Text + Text describing this duty. + 0..1 + Duty + Duty + Text + Text. Type + ConnectionFee + + + + + + + + + BBIE + Duty. Duty Code. Code + The type of this charge rate, expressed as a code. + 0..1 + Duty + Duty Code + Code + Code. Type + ConnectionFee + + + + + + + + + ASBIE + Duty. Tax Category + The tax category applicable to this duty. + 0..1 + Duty + Tax Category + Tax Category + Tax Category + + + + + + + + + + + ABIE + Economic Operator Party. Details + A class to describe a potential contractor, supplier and service provider responding to a tender. + Economic Operator Party + + + + + + + + + ASBIE + Economic Operator Party. Qualifying Party + The party qualifying this economic operator. + 0..n + Economic Operator Party + Qualifying Party + Qualifying Party + Qualifying Party + + + + + + + + + ASBIE + Economic Operator Party. Economic Operator Role + The role of the party in a tender consortium. + 0..1 + Economic Operator Party + Economic Operator Role + Economic Operator Role + Economic Operator Role + + + + + + + + + ASBIE + Economic Operator Party. Party + The party information about the economic operator in a tender. + 1 + Economic Operator Party + Party + Party + Party + + + + + + + + + + + ABIE + Economic Operator Role. Details + A class to describe the tenderer contracting role. + Economic Operator Role + + + + + + + + + BBIE + Economic Operator Role. Role Code. Code + A code specifying the role of the party. + 0..1 + Economic Operator Role + Role Code + Code + Code. Type + + + + + + + + + BBIE + Economic Operator Role. Role Description. Text + A textual description of the party role. + 0..n + Economic Operator Role + Role Description + Text + Text. Type + + + + + + + + + + + ABIE + Economic Operator Short List. Details + A class to provide information about the preselection of a short list of economic operators for consideration as possible candidates in a tendering process. + Economic Operator Short List + + + + + + + + + BBIE + Economic Operator Short List. Limitation_ Description. Text + Text describing the criteria used to restrict the number of candidates. + 0..n + Economic Operator Short List + Limitation + Description + Text + Text. Type + + + + + + + + + BBIE + Economic Operator Short List. Expected_ Quantity. Quantity + The number of economic operators expected to be on the short list. + 0..1 + Economic Operator Short List + Expected + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Economic Operator Short List. Maximum_ Quantity. Quantity + The maximum number of economic operators on the short list. + 0..1 + Economic Operator Short List + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Economic Operator Short List. Minimum_ Quantity. Quantity + The minimum number of economic operators on the short list. + 0..1 + Economic Operator Short List + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Economic Operator Short List. Pre Selected_ Party. Party + The parties pre-selected allowed to submit tenders in a negotiated procedure. Negotiated procedure is a type of procedure where the contracting authorities can set the parties to be invited in the procurement project + 0..n + Economic Operator Short List + Pre Selected + Party + Party + Party + + + + + + + + + + + ABIE + Emission Calculation Method. Details + A class to define how an environmental emission is calculated. + Emission Calculation Method + + + + + + + + + BBIE + Emission Calculation Method. Calculation Method Code. Code + A code signifying the method used to calculate the emission. + 0..1 + Emission Calculation Method + Calculation Method Code + Code + Code. Type + + + + + + + + + BBIE + Emission Calculation Method. Fullness Indication Code. Code + A code signifying whether a piece of transport equipment is full, partially full, or empty. This indication is used as a parameter when calculating the environmental emission. + 0..1 + Emission Calculation Method + Fullness Indication Code + Code + Code. Type + + + + + + + + + ASBIE + Emission Calculation Method. Measurement From_ Location. Location + A start location from which an environmental emission is calculated. + 0..1 + Emission Calculation Method + Measurement From + Location + Location + Location + + + + + + + + + ASBIE + Emission Calculation Method. Measurement To_ Location. Location + An end location to which an environmental emission is calculated. + 0..1 + Emission Calculation Method + Measurement To + Location + Location + Location + + + + + + + + + + + ABIE + Encryption Certificate Path Chain. Details + Details of a certificate path chain used in encryption. + Encryption Certificate Path Chain + + + + + + + + + BBIE + Encryption Certificate Path Chain. Value. Text + The path chain value manifest in the instance. + 0..1 + Encryption Certificate Path Chain + Value + Text + Text. Type + + + + + + + + + BBIE + Encryption Certificate Path Chain. URI. Identifier + The path chain value references external to the instance. + 0..1 + Encryption Certificate Path Chain + URI + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Encryption Data. Details + Details of an encryption process + Encryption Data + + + + + + + + + BBIE + Encryption Data. Message Format. Text + The format of the encrypted message. + 1 + Encryption Data + Message Format + Text + Text. Type + + + + + + + + + ASBIE + Encryption Data. Encryption Certificate_ Attachment. Attachment + A reference to the certificate used in the encryption process. + 0..1 + Encryption Data + Encryption Certificate + Attachment + Attachment + Attachment + + + + + + + + + ASBIE + Encryption Data. Encryption Certificate Path Chain + A reference to the path chain defined for the encryption process. + 0..n + Encryption Data + Encryption Certificate Path Chain + Encryption Certificate Path Chain + Encryption Certificate Path Chain + + + + + + + + + ASBIE + Encryption Data. Encryption Symmetric Algorithm + A reference to the symmetric algorithm used for the encryption process. + 0..n + Encryption Data + Encryption Symmetric Algorithm + Encryption Symmetric Algorithm + Encryption Symmetric Algorithm + + + + + + + + + + + ABIE + Encryption Symmetric Algorithm. Details + Details of a symmetric algorithm used in encryption. + Encryption Symmetric Algorithm + + + + + + + + + BBIE + Encryption Symmetric Algorithm. Identifier + A human-readable identifier the algorithm. + 0..1 + Encryption Symmetric Algorithm + Identifier + Identifier + Identifier. Type + AES-256 Rijndael CBC + + + + + + + + + BBIE + Encryption Symmetric Algorithm. OID. Identifier + The object identifier for the algorithm. + 0..1 + Encryption Symmetric Algorithm + OID + Identifier + Identifier. Type + 2.16.840.1.101.3.4.1.42 + + + + + + + + + + + ABIE + Endorsement. Details + A class to describe an endorsement of a document. + Endorsement + + + + + + + + + BBIE + Endorsement. Document. Identifier + An identifier for this endorsement. + 1 + Endorsement + Document + Identifier + Identifier. Type + + + + + + + + + BBIE + Endorsement. Approval Status. Text + The status of this endorsement. + 1 + Endorsement + Approval Status + Text + Text. Type + Authentication Code + + + + + + + + + BBIE + Endorsement. Remarks. Text + Remarks provided by the endorsing party. + 0..n + Endorsement + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Endorsement. Endorser Party + The type of party providing this endorsement. + 1 + Endorsement + Endorser Party + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Endorsement. Signature + A signature applied to this endorsement. + 0..n + Endorsement + Signature + Signature + Signature + + + + + + + + + + + ABIE + Endorser Party. Details + A class to describe the party endorsing a document. + Endorser Party + + + + + + + + + BBIE + Endorser Party. Role Code. Code + A code specifying the role of the party providing the endorsement (e.g., issuer, embassy, insurance, etc.). + 1 + Endorser Party + Role Code + Code + Code. Type + + + + + + + + + BBIE + Endorser Party. Sequence. Numeric + A number indicating the order of the endorsement provided by this party in the sequence in which endorsements are to be applied. + 1 + Endorser Party + Sequence + Numeric + Numeric. Type + + + + + + + + + ASBIE + Endorser Party. Party + The party endorsing the application. + 1 + Endorser Party + Party + Party + Party + + + + + + + + + ASBIE + Endorser Party. Signatory_ Contact. Contact + The individual representing the exporter who signs the Certificate of Origin application before submitting it to the issuer party. + 1 + Endorser Party + Signatory + Contact + Contact + Contact + + + + + + + + + + + ABIE + Energy Tax Report. Details + A class to describe energy taxes. + Energy Tax Report + + + + + + + + + BBIE + Energy Tax Report. Tax Energy Amount. Amount + The monetary amount of taxes (and duties). + 0..1 + Energy Tax Report + Tax Energy Amount + Amount + Amount. Type + 3087.90 + + + + + + + + + BBIE + Energy Tax Report. Tax Energy_ On Account Amount. Amount + The monetary amount of taxes (and duties) paid on account. + 0..1 + Energy Tax Report + Tax Energy + On Account Amount + Amount + Amount. Type + 2855.40 + + + + + + + + + BBIE + Energy Tax Report. Tax Energy Balance. Amount + The monetary amount of the balance of taxes owing. + 0..1 + Energy Tax Report + Tax Energy Balance + Amount + Amount. Type + 232.49 + + + + + + + + + ASBIE + Energy Tax Report. Tax Scheme + The relevant taxation scheme. + 1 + Energy Tax Report + Tax Scheme + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Energy Water Supply. Details + A class to describe the supply (and therefore consumption) of an amount of energy or water. + Energy Water Supply + + + + + + + + + ASBIE + Energy Water Supply. Consumption Report + An amount of energy or water consumed. + 0..n + Energy Water Supply + Consumption Report + Consumption Report + Consumption Report + + + + + + + + + ASBIE + Energy Water Supply. Energy Tax Report + A tax on the consumption of energy or water. + 0..n + Energy Water Supply + Energy Tax Report + Energy Tax Report + Energy Tax Report + + + + + + + + + ASBIE + Energy Water Supply. Consumption Average + A consumption average. + 0..n + Energy Water Supply + Consumption Average + Consumption Average + Consumption Average + + + + + + + + + ASBIE + Energy Water Supply. Energy Water_ Consumption Correction. Consumption Correction + Describes any corrections or adjustments to the supply of energy or water. + 0..n + Energy Water Supply + Energy Water + Consumption Correction + Consumption Correction + Consumption Correction + + + + + + + + + + + ABIE + Environmental Emission. Details + A class to describe an environmental emission. + Environmental Emission + + + + + + + + + BBIE + Environmental Emission. Environmental Emission Type Code. Code + A code specifying the type of environmental emission. + 1 + Environmental Emission + Environmental Emission Type Code + Code + Code. Type + + + + + + + + + BBIE + Environmental Emission. Value. Measure + A value measurement for the environmental emission. + 1 + Environmental Emission + Value + Measure + Measure. Type + + + + + + + + + BBIE + Environmental Emission. Description. Text + Text describing this environmental emission. + 0..n + Environmental Emission + Description + Text + Text. Type + + + + + + + + + ASBIE + Environmental Emission. Emission Calculation Method + A method used to calculate the amount of this emission. + 0..n + Environmental Emission + Emission Calculation Method + Emission Calculation Method + Emission Calculation Method + + + + + + + + + + + ABIE + Evaluation Criterion. Details + A class defining the required criterion for a tenderer to be elligible in a tendering process. + Evaluation Criterion + + + + + + + + + BBIE + Evaluation Criterion. Evaluation Criterion Type Code. Code + A code that specifies the criterion; it may be financial, technical or organizational. + 0..1 + Evaluation Criterion + Evaluation Criterion Type Code + Code + Code. Type + + + + + + + + + BBIE + Evaluation Criterion. Description. Text + A description of the criterion. + 0..n + Evaluation Criterion + Description + Text + Text. Type + + + + + + + + + BBIE + Evaluation Criterion. Threshold_ Amount. Amount + Estimated monetary amount of the threshold for the criterion. + 0..1 + Evaluation Criterion + Threshold + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Evaluation Criterion. Threshold_ Quantity. Quantity + Estimated quantity of the threshold for the criterion. + 0..1 + Evaluation Criterion + Threshold + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Evaluation Criterion. Expression Code. Code + A code identifying the expression that will be used to evaluate the criterion. + 0..1 + Evaluation Criterion + Expression Code + Code + Code. Type + + + + + + + + + BBIE + Evaluation Criterion. Expression. Text + The expression that will be used to evaluate the criterion. + 0..n + Evaluation Criterion + Expression + Text + Text. Type + + + + + + + + + ASBIE + Evaluation Criterion. Duration_ Period. Period + Describes the period for which the evaluation criterion is valid. + 0..1 + Evaluation Criterion + Duration + Period + Period + Period + + + + + + + + + ASBIE + Evaluation Criterion. Suggested_ Evidence. Evidence + Describes any evidences that should be used to satisfy the criterion. + 0..n + Evaluation Criterion + Suggested + Evidence + Evidence + Evidence + + + + + + + + + + + ABIE + Event. Details + A class to describe a significant occurrence relating to an object, process, or person. + Event + + + + + + + + + BBIE + Event. Identification. Identifier + An identifier for this event within an agreed event identification scheme. + 0..1 + Event + Identification + Identifier + Identifier. Type + + + + + + + + + BBIE + Event. Occurrence Date. Date + The date of this event. + 0..1 + Event + Occurrence Date + Date + Date. Type + + + + + + + + + BBIE + Event. Occurrence Time. Time + The time of this event. + 0..1 + Event + Occurrence Time + Time + Time. Type + + + + + + + + + BBIE + Event. Type Code. Code + A code signifying the type of this event. + 0..1 + Event + Type Code + Code + Code. Type + + + + + + + + + BBIE + Event. Description. Text + Text describing this event. + 0..n + Event + Description + Text + Text. Type + + + + + + + + + BBIE + Event. Completion_ Indicator. Indicator + An indicator that this event has been completed (true) or not (false). + 0..1 + Event + Completion + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Event. Current_ Status. Status + The current status of this event. + 0..n + Event + Current + Status + Status + Status + + + + + + + + + ASBIE + Event. Contact + Contacts associated with this event. + 0..n + Event + Contact + Contact + Contact + + + + + + + + + ASBIE + Event. Occurence_ Location. Location + The location of this event. + 0..1 + Event + Occurence + Location + Location + Location + + + + + + + + + + + ABIE + Event Comment. Details + A class to define comments about a retail event. + Event Comment + + + + + + + + + BBIE + Event Comment. Comment. Text + Text commenting on the event. + 1 + Event Comment + Comment + Text + Text. Type + + + + + + + + + BBIE + Event Comment. Issue Date. Date + The date on which this comment was made. + 0..1 + Event Comment + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Event Comment. Issue Time. Time + The time at which this comment was made. + 0..1 + Event Comment + Issue Time + Time + Time. Type + + + + + + + + + + + ABIE + Event Line Item. Details + A class to define a line item describing the expected impacts associated with a retail event involving a specific product at a specific location. + Event Line Item + + + + + + + + + BBIE + Event Line Item. Line Number. Numeric + The number of this event line item. + 0..1 + Event Line Item + Line Number + Numeric + Numeric. Type + + + + + + + + + ASBIE + Event Line Item. Participating Locations_ Location. Location + The location of the stores involved in the event described in this line item. + 0..1 + Event Line Item + Participating Locations + Location + Location + Location + + + + + + + + + ASBIE + Event Line Item. Retail Planned Impact + A planned impact of the event described in this line item. + 0..n + Event Line Item + Retail Planned Impact + Retail Planned Impact + Retail Planned Impact + + + + + + + + + ASBIE + Event Line Item. Supply_ Item. Item + The product with which the event is associated. + 1 + Event Line Item + Supply + Item + Item + Item + + + + + + + + + + + ABIE + Event Tactic. Details + A class defining a specific type of action or situation arranged by the Buyer or the Seller to promote the product or products. + Event Tactic + + + + + + + + + BBIE + Event Tactic. Comment. Text + Generic field to add additional information or to specify mutually defined eventTacticTypes that are not currently listed. + 0..1 + Event Tactic + Comment + Text + Text. Type + + + + + + + + + BBIE + Event Tactic. Quantity + The currencies, units, etc. that describes what is need for the event or promotion Usage example: Number of pallets per store for a stack display + 0..1 + Event Tactic + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Event Tactic. Event Tactic Enumeration + The set of codes that describes this event tactic. + 1 + Event Tactic + Event Tactic Enumeration + Event Tactic Enumeration + Event Tactic Enumeration + + + + + + + + + ASBIE + Event Tactic. Period + The period covered by this event tactic. + 0..1 + Event Tactic + Period + Period + Period + + + + + + + + + + + ABIE + Event Tactic Enumeration. Details + A class to define a set of codes that describes a retail tactic. + Event Tactic Enumeration + + + + + + + + + BBIE + Event Tactic Enumeration. Consumer Incentive Tactic Type Code. Code + A code signifying the type of consumer incentive. Examples include:Free Item, Temporary Price reduction + 0..1 + Event Tactic Enumeration + Consumer Incentive Tactic Type Code + Code + Code. Type + + + + + + + + + BBIE + Event Tactic Enumeration. Display Tactic Type Code. Code + A code signifying the type of display. Examples Include: ON_COUNTER_DISPLAY, FLOOR_GRAPHICS FLOOR_STACK_DISPLAY + 0..1 + Event Tactic Enumeration + Display Tactic Type Code + Code + Code. Type + + + + + + + + + BBIE + Event Tactic Enumeration. Feature Tactic Type Code. Code + A code signifying a special feature. Examples Include: BILLBOARD DIRECT_MAIL_AD, FLYER + 0..1 + Event Tactic Enumeration + Feature Tactic Type Code + Code + Code. Type + + + + + + + + + BBIE + Event Tactic Enumeration. Trade Item Packing Labeling Type Code. Code + A code signifying the type of trade item packing and labeling. Examples Include: BONUS_SIZE CO_BRANDED_TRADE_ITEM + 0..1 + Event Tactic Enumeration + Trade Item Packing Labeling Type Code + Code + Code. Type + + + + + + + + + + + ABIE + Evidence. Details + A class to describe an item of evidentiary support for representations of capabilities or the ability to meet tendering requirements, which an economic operator must provide for acceptance into a tendering process. + Evidence + + + + + + + + + BBIE + Evidence. Identifier + An identifier for this item of evidentiary support. + 0..1 + Evidence + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Evidence. Evidence Type Code. Code + A code signifying the type of evidence. + 0..1 + Evidence + Evidence Type Code + Code + Code. Type + + + + + + + + + BBIE + Evidence. Name + The name of the evidence. + 0..1 + Evidence + Name + Name + Name. Type + + + + + + + + + BBIE + Evidence. Description. Text + The textual description for this Evidence. + 0..n + Evidence + Description + Text + Text. Type + + + + + + + + + BBIE + Evidence. Candidate_ Statement. Text + Information about a candidate statement that the contracting authority accepts as a sufficient response. + 0..n + Evidence + Candidate + Statement + Text + Text. Type + + + + + + + + + BBIE + Evidence. Confidentiality Level Code. Code + A code specifying the confidentiality level of this evidence. + 0..1 + Evidence + Confidentiality Level Code + Code + Code. Type + + + + + + + + + ASBIE + Evidence. Evidence Issuing_ Party. Party + A class to describe a party issuing an evidentiary document. + 0..1 + Evidence + Evidence Issuing + Party + Party + Party + + + + + + + + + ASBIE + Evidence. Document Reference + A reference to the evidentiary document. + 0..n + Evidence + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Evidence. Language + Information about a required translation to be part of the response, i.e. the language. + 0..1 + Evidence + Language + Language + Language + + + + + + + + + + + ABIE + Evidence Supplied. Details + A reference to evidence. + Evidence Supplied + + + + + + + + + BBIE + Evidence Supplied. Identifier + The identifier of the referenced evidence. + 1 + Evidence Supplied + Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Exception Criteria Line. Details + A class to define a line in an ExceptionCriteria document that specifies a threshold for forecast variance, product activity, or performance history, the exceeding of which should trigger an exception message. + Exception Criteria Line + + + + + + + + + BBIE + Exception Criteria Line. Identifier + An identifier for this exception criteria line. + 1 + Exception Criteria Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Criteria Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Exception Criteria Line + Note + Text + Text. Type + + + + + + + + + BBIE + Exception Criteria Line. Threshold Value Comparison Code. Code + Type of comparison to be carried out in reference to the set threshold." Allowed values are: EXCEEDS_EXCEPTION_VALUE FALLS_BELOW_EXCEPTION_VALUE + 1 + Exception Criteria Line + Threshold Value Comparison Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Threshold_ Quantity. Quantity + A quantity beyond which an exception will be triggered. + 1 + Exception Criteria Line + Threshold + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Exception Criteria Line. Exception Status Code. Code + A code signifying status specific to a shipment exception. + 0..1 + Exception Criteria Line + Exception Status Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Collaboration_ Priority Code. Code + A collaboratively assigned code signifying priority of the Exception. Possible values are: HIGH, LOW, MEDIUM + 0..1 + Exception Criteria Line + Collaboration + Priority Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Exception_ Resolution Code. Code + Coded representation of possible resolution methods". Possible values are: DEFAULT_TO_AVERAGE_OF_COMPARED_VALUES DEFAULT_TO_BUYERS_VALUE DEFAULT_TO_HIGH_VALUE DEFAULT_TO_LOW_VALUE DEFAULT_TO_SELLERS_VALUE MANUAL_RESOLUTION MUTUALLY_DEFINED + 0..1 + Exception Criteria Line + Exception + Resolution Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Supply Chain Activity Type Code. Code + Establishes the criterion for one of the three types of exceptions. There can be three types of exception criteria: Operational, Metric and Forecast Exceptions. This will be set if this Exception is about an Operational Exception. Description could be: A code used to identify an operational exception. Possible values are: CANCELED_ORDERS EMERGENCY_ORDERS ON_HAND ORDERS RECEIPTS SALES SHIPMENTS + 0..1 + Exception Criteria Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Performance Metric Type Code. Code + A code signifying a measure of performance. + 0..1 + Exception Criteria Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Exception Criteria Line. Effective_ Period. Period + The period during which this exception criteria line is in effect. + 0..1 + Exception Criteria Line + Effective + Period + Period + Period + + + + + + + + + ASBIE + Exception Criteria Line. Supply_ Item. Item + The Trade Item that is the subject of the Exception Criterion. + 1..n + Exception Criteria Line + Supply + Item + Item + Item + + + + + + + + + ASBIE + Exception Criteria Line. Forecast Exception Criterion Line + Establishes the criterion for one of the three types of exceptions. This class provides the criterion for the kind of forecast exception, the identification of the purpose of the forecast, the source of data and the time basis criterion for the exception. + 0..1 + Exception Criteria Line + Forecast Exception Criterion Line + Forecast Exception Criterion Line + Forecast Exception Criterion Line + + + + + + + + + + + ABIE + Exception Notification Line. Details + A class to define a line in an Exception Notification. + Exception Notification Line + + + + + + + + + BBIE + Exception Notification Line. Identifier + An identifier for this exception notification line. + 1 + Exception Notification Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Notification Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Exception Notification Line + Note + Text + Text. Type + + + + + + + + + BBIE + Exception Notification Line. Description. Text + Text describing the exception. + 0..n + Exception Notification Line + Description + Text + Text. Type + + + + + + + + + BBIE + Exception Notification Line. Exception Status Code. Code + A code signifying status specific to a shipment exception. + 0..1 + Exception Notification Line + Exception Status Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Collaboration_ Priority Code. Code + Priority of Exception. + 0..1 + Exception Notification Line + Collaboration + Priority Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Resolution Code. Code + Coded representation of possible resolution methods". Possible values are: DEFAULT_TO_AVERAGE_OF_COMPARED_VALUES DEFAULT_TO_BUYERS_VALUE DEFAULT_TO_HIGH_VALUE DEFAULT_TO_LOW_VALUE DEFAULT_TO_SELLERS_VALUE MANUAL_RESOLUTION MUTUALLY_DEFINED + 0..1 + Exception Notification Line + Resolution Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Compared Value. Measure + The value that was compared with the source value that resulted in the exception + 1 + Exception Notification Line + Compared Value + Measure + Measure. Type + + + + + + + + + BBIE + Exception Notification Line. Source Value. Measure + The value used as the basis of comparison + 1 + Exception Notification Line + Source Value + Measure + Measure. Type + + + + + + + + + BBIE + Exception Notification Line. Variance. Quantity + The variance of a data item from an expected value during a particular time interval. + 0..1 + Exception Notification Line + Variance + Quantity + Quantity. Type + + + + + + + + + BBIE + Exception Notification Line. Supply Chain Activity Type Code. Code + Establishes the criterion for one of the three types of exceptions: Operational, performance metric and forecast. This reports an exception notification about an operational exception. Description could be: A code used to identify an operational exception. Possible values are: CANCELED_ORDERS EMERGENCY_ORDERS ON_HAND ORDERS RECEIPTS SALES SHIPMENTS + 0..1 + Exception Notification Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Performance Metric Type Code. Code + A code used to identify a measure of performance. It defines the type of the Performance Metric on which an exception criteria is being defined + 0..1 + Exception Notification Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Exception Notification Line. Exception Observation_ Period. Period + The period (start-end date) when this exception is observed + 0..1 + Exception Notification Line + Exception Observation + Period + Period + Period + + + + + + + + + ASBIE + Exception Notification Line. Document Reference + A reference to Exception Criteria document can be provided. + 0..n + Exception Notification Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Exception Notification Line. Forecast Exception + A forecast accuracy or comparison exception. + 0..1 + Exception Notification Line + Forecast Exception + Forecast Exception + Forecast Exception + + + + + + + + + ASBIE + Exception Notification Line. Supply_ Item. Item + The product associated with this exception notification line. + 1 + Exception Notification Line + Supply + Item + Item + Item + + + + + + + + + + + ABIE + Exchange Rate. Details + A class to define an exchange rate. + Exchange Rate + + + + + + + + + BBIE + Exchange Rate. Source_ Currency Code. Code + The reference currency for this exchange rate; the currency from which the exchange is being made. + 1 + Exchange Rate + Source + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Source_ Currency Base Rate. Rate + In the case of a source currency with denominations of small value, the unit base. + 0..1 + Exchange Rate + Source + Currency Base Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Target_ Currency Code. Code + The target currency for this exchange rate; the currency to which the exchange is being made. + 1 + Exchange Rate + Target + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Target_ Currency Base Rate. Rate + In the case of a target currency with denominations of small value, the unit base. + 0..1 + Exchange Rate + Target + Currency Base Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Exchange Market Identifier. Identifier + An identifier for the currency exchange market used as the source of this exchange rate. + 0..1 + Exchange Rate + Exchange Market Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Exchange Rate. Calculation Rate. Rate + The factor applied to the source currency to calculate the target currency. + 0..1 + Exchange Rate + Calculation Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Mathematic Operator Code. Code + A code signifying whether the calculation rate is a multiplier or a divisor. + 0..1 + Exchange Rate + Mathematic Operator Code + Code + Operator + Operator_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Date + The date on which the exchange rate was established. + 0..1 + Exchange Rate + Date + Date + Date. Type + + + + + + + + + ASBIE + Exchange Rate. Foreign Exchange_ Contract. Contract + A contract for foreign exchange. + 0..1 + Exchange Rate + Foreign Exchange + Contract + Contract + Contract + + + + + + + + + + + ABIE + External Reference. Details + A class to describe an external object, such as a document stored at a remote location. + External Reference + + + + + + + + + BBIE + External Reference. URI. Identifier + The Uniform Resource Identifier (URI) that identifies the external object as an Internet resource. + 0..1 + External Reference + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + External Reference. Document Hash. Text + A hash value for the externally stored object. + 0..1 + External Reference + Document Hash + Text + Text. Type + + + + + + + + + BBIE + External Reference. Hash Algorithm Method. Text + A hash algorithm used to calculate the hash value of the externally stored object. + 0..1 + External Reference + Hash Algorithm Method + Text + Text. Type + + + + + + + + + BBIE + External Reference. Expiry Date. Date + The date on which availability of the resource can no longer be relied upon. + 0..1 + External Reference + Expiry Date + Date + Date. Type + + + + + + + + + BBIE + External Reference. Expiry Time. Time + The time after which availability of the resource can no longer be relied upon. + 0..1 + External Reference + Expiry Time + Time + Time. Type + + + + + + + + + BBIE + External Reference. Mime Code. Code + A code signifying the mime type of the external object. + 0..1 + External Reference + Mime Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. Format Code. Code + A code signifying the format of the external object. + 0..1 + External Reference + Format Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. Encoding Code. Code + A code signifying the encoding/decoding algorithm used with the external object. + 0..1 + External Reference + Encoding Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. Character Set Code. Code + A code signifying the character set of an external document. + 0..1 + External Reference + Character Set Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. File Name. Name + The file name of the external object. + 0..1 + External Reference + File Name + Name + Name. Type + + + + + + + + + BBIE + External Reference. Description. Text + Text describing the external object. + 0..n + External Reference + Description + Text + Text. Type + computer accessories for laptops + + + + + + + + + + + ABIE + Financial Account. Details + A class to describe a financial account. + Financial Account + + + + + + + + + BBIE + Financial Account. Identifier + The identifier for this financial account; the bank account number. + 0..1 + Financial Account + Identifier + Identifier + Identifier. Type + SWIFT(BIC) and IBAN are defined in ISO 9362 and ISO 13616. + + + + + + + + + BBIE + Financial Account. Name + The name of this financial account. + 0..1 + Financial Account + Name + Name + Name. Type + + + + + + + + + BBIE + Financial Account. Alias_ Name. Name + An alias for the name of this financial account, to be used in place of the actual account name for security reasons. + 0..1 + Financial Account + Alias + Name + Name + Name. Type + + + + + + + + + BBIE + Financial Account. Account Type Code. Code + A code signifying the type of this financial account. + 0..1 + Financial Account + Account Type Code + Code + Code. Type + + + + + + + + + BBIE + Financial Account. Account Format Code. Code + A code signifying the format of this financial account. + 0..1 + Financial Account + Account Format Code + Code + Code. Type + ISO20022 Clearing System Identification Code + + + + + + + + + BBIE + Financial Account. Currency Code. Code + A code signifying the currency in which this financial account is held. + 0..1 + Financial Account + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Financial Account. Payment_ Note. Text + Free-form text applying to the Payment for the owner of this account. + 0..n + Financial Account + Payment + Note + Text + Text. Type + + + + + + + + + ASBIE + Financial Account. Financial Institution_ Branch. Branch + The branch of the financial institution associated with this financial account. + 0..1 + Financial Account + Financial Institution + Branch + Branch + Branch + + + + + + + + + ASBIE + Financial Account. Country + The country in which the holder of the financial account is domiciled. + 0..1 + Financial Account + Country + Country + Country + + + + + + + + + + + ABIE + Financial Guarantee. Details + A class to describe the bond guarantee of a tenderer or bid submitter's actual entry into a contract in the event that it is the successful bidder. + Financial Guarantee + + + + + + + + + BBIE + Financial Guarantee. Guarantee Type Code. Code + A code signifying the type of financial guarantee. For instance "Provisional Guarantee" or "Final Guarantee" + 1 + Financial Guarantee + Guarantee Type Code + Code + Code. Type + + + + + + + + + BBIE + Financial Guarantee. Description. Text + Text describing this financial guarantee. + 0..n + Financial Guarantee + Description + Text + Text. Type + + + + + + + + + BBIE + Financial Guarantee. Liability. Amount + The amount of liability in this financial guarantee. + 0..1 + Financial Guarantee + Liability + Amount + Amount. Type + + + + + + + + + BBIE + Financial Guarantee. Amount. Rate + The rate used to calculate the amount of liability in this financial guarantee. + 0..1 + Financial Guarantee + Amount + Rate + Rate. Type + + + + + + + + + ASBIE + Financial Guarantee. Constitution_ Period. Period + The period during the tendering process to which this financial guarantee has to be settled. + 0..1 + Financial Guarantee + Constitution + Period + Period + Period + + + + + + + + + + + ABIE + Financial Institution. Details + A class to describe a financial institution. + Financial Institution + + + + + + + + + BBIE + Financial Institution. Identifier + An identifier for this financial institution. It is recommended that the ISO 9362 Bank Identification Code (BIC) be used as the ID. + 0..1 + Financial Institution + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Financial Institution. Name + The name of this financial institution. + 0..1 + Financial Institution + Name + Name + Name. Type + + + + + + + + + ASBIE + Financial Institution. Address + The address of this financial institution. + 0..1 + Financial Institution + Address + Address + Address + + + + + + + + + + + ABIE + Forecast Exception. Details + As explained in Exception Criteria Line: Three types of exception criteria can be defined, Operational, Metric or Forecast Exceptions. This class provides criteria for forecast exception type: the identification of the purpose of the forecast, the source of data and the time basis criteria for the exception. + Forecast Exception + + + + + + + + + BBIE + Forecast Exception. Forecast_ Purpose Code. Code + It is either Sales forecast or Order Forecast. Definition can be changed like: "The purpose of the Forecast (either sales or order), about which an exception criteria is being defined". + 1 + Forecast Exception + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Forecast Type Code. Code + A code signifying the type of forecast. Example of values are:BASE PROMOTIONAL SEASONAL TOTAL + 1 + Forecast Exception + Forecast Type Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Issue Date. Date + The date on which the forecast was issued. + 1 + Forecast Exception + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Forecast Exception. Issue Time. Time + The time at which the forecast was issued. + 0..1 + Forecast Exception + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Exception. Data Source Code. Code + A code signifying the partner who provides this information. + 1 + Forecast Exception + Data Source Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Comparison Data Code. Code + A code signifying the partner providing the information in this forecast exception. + 0..1 + Forecast Exception + Comparison Data Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Comparison Forecast Issue Time. Time + The time at which this comparison forecast was issued. + 0..1 + Forecast Exception + Comparison Forecast Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Exception. Comparison Forecast Issue Date. Date + The date on which this comparison forecast was issued. + 0..1 + Forecast Exception + Comparison Forecast Issue Date + Date + Date. Type + + + + + + + + + + + ABIE + Forecast Exception Criterion Line. Details + Establishes the criterion for one of the three types of exceptions. This class provides criteria for the kind of forecast exception, the identification of the purpose of the forecast, the source of data and the time basis criterion for the exception. + Forecast Exception Criterion Line + + + + + + + + + BBIE + Forecast Exception Criterion Line. Forecast_ Purpose Code. Code + A description of the purpose for the forecast that is assigned to each forecast data item exception criterion. + 1 + Forecast Exception Criterion Line + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Forecast Type Code. Code + A description of a Forecast selected from a list. + 1 + Forecast Exception Criterion Line + Forecast Type Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Comparison Data Source Code. Code + If it is a forecast comparison exception, this value indicates the other source of information. + 0..1 + Forecast Exception Criterion Line + Comparison Data Source Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Data Source Code. Code + Indication of the partner who provides the information. + 1 + Forecast Exception Criterion Line + Data Source Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Time Delta Days Quantity. Quantity + Time basis in days for the Exception. + 0..1 + Forecast Exception Criterion Line + Time Delta Days Quantity + Quantity + Quantity. Type + + + + + + + + + + + ABIE + Forecast Line. Details + Detailed information about a particular Forecast Line within a Forecast Document + Forecast Line + + + + + + + + + BBIE + Forecast Line. Identifier + An identifier for this forecast line. + 1 + Forecast Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Forecast Line + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast Line. Frozen Document Indicator. Indicator + An indicator that the status of the forecast is modifiable (true) or not (false). + 0..1 + Forecast Line + Frozen Document Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast Line. Forecast Type Code. Code + A code signifying the type of forecast. Examples: BASE PROMOTIONAL SEASONAL TOTAL + 1 + Forecast Line + Forecast Type Code + Code + Code. Type + seasonal, total + + + + + + + + + ASBIE + Forecast Line. Forecast_ Period. Period + The period to which the forecast applies. + 0..1 + Forecast Line + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast Line. Sales Item + Sales information for the item to which this line applies. + 0..1 + Forecast Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Forecast Revision Line. Details + A class to define a line in a Forecast Revision describing a revision to a line in a Forecast. + Forecast Revision Line + + + + + + + + + BBIE + Forecast Revision Line. Identifier + An identifier for this forecast revision line. + 1 + Forecast Revision Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Forecast Revision Line + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast Revision Line. Description. Text + Text describing the revision to this line. + 0..n + Forecast Revision Line + Description + Text + Text. Type + + + + + + + + + BBIE + Forecast Revision Line. Revised_ Forecast Line Identifier. Identifier + An identifier for the revised forecast line. + 1 + Forecast Revision Line + Revised + Forecast Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision Line. Source Forecast_ Issue Date. Date + The date on which the forecast modified by this revision was generated or created. + 1 + Forecast Revision Line + Source Forecast + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Forecast Revision Line. Source Forecast_ Issue Time. Time + The time at which the forecast modified by this revision was generated or created. + 1 + Forecast Revision Line + Source Forecast + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Revision Line. Adjustment Reason Code. Code + A code signifying the reason for the adjustment specified in this forecast revision line. + 0..1 + Forecast Revision Line + Adjustment Reason Code + Code + Code. Type + + + + + + + + + ASBIE + Forecast Revision Line. Forecast_ Period. Period + The period to which this forecast revision line applies. + 0..1 + Forecast Revision Line + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast Revision Line. Sales Item + Sales information for the item to which this line applies. + 0..1 + Forecast Revision Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Framework Agreement. Details + A class to describe a tendering framework agreement. + Framework Agreement + + + + + + + + + BBIE + Framework Agreement. Expected_ Operator. Quantity + The number of economic operators expected to participate in this framework agreement. + 0..1 + Framework Agreement + Expected + Operator + Quantity + Quantity. Type + + + + + + + + + BBIE + Framework Agreement. Maximum_ Operator. Quantity + The maximum number of economic operators allowed to participate in this framework agreement. + 0..1 + Framework Agreement + Maximum + Operator + Quantity + Quantity. Type + + + + + + + + + BBIE + Framework Agreement. Justification. Text + Text describing the justification for this framework agreement. + 0..n + Framework Agreement + Justification + Text + Text. Type + + + + + + + + + BBIE + Framework Agreement. Frequency. Text + Text describing the frequency with which subsequent contracts will be awarded. + 0..n + Framework Agreement + Frequency + Text + Text. Type + + + + + + + + + ASBIE + Framework Agreement. Duration_ Period. Period + The period during which this framework agreement applies. + 0..1 + Framework Agreement + Duration + Period + Period + Period + + + + + + + + + ASBIE + Framework Agreement. Subsequent Process_ Tender Requirement. Tender Requirement + A tender requirement intended for consumption by downstream tendering processes derived from the establishment of this framework agreement. + 0..n + Framework Agreement + Subsequent Process + Tender Requirement + Tender Requirement + Tender Requirement + Curricula required + + + + + + + + + + + ABIE + Goods Item. Details + A class to describe a separately identifiable quantity of goods of a single product type. + Goods Item + + + + + + + + + BBIE + Goods Item. Identifier + An identifier for this goods item. + 0..1 + Goods Item + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item. Sequence Number. Identifier + A sequence number differentiating a specific goods item within a consignment. + 0..1 + Goods Item + Sequence Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item. Description. Text + Text describing this goods item to identify it for customs, statistical, or transport purposes. + 0..n + Goods Item + Description + Text + Text. Type + Description of goods (WCO ID 137) + + + + + + + + + BBIE + Goods Item. Hazardous Risk_ Indicator. Indicator + An indication that the transported goods item is subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Goods Item + Hazardous Risk + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Goods Item. Declared Customs_ Value. Amount + The total declared value for customs purposes of the goods item. + 0..1 + Goods Item + Declared Customs + Value + Amount + Amount. Type + For Customs Value (WCO ID 108) + + + + + + + + + BBIE + Goods Item. Declared For Carriage_ Value. Amount + The value of this goods item, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Goods Item + Declared For Carriage + Value + Amount + Amount. Type + Interest in delivery, declared value for carriage + + + + + + + + + BBIE + Goods Item. Declared Statistics_ Value. Amount + The total declared value of all the goods items in the same consignment with this goods item that have the same statistical heading. + 0..1 + Goods Item + Declared Statistics + Value + Amount + Amount. Type + Statistical Value (WCO ID 114) + + + + + + + + + BBIE + Goods Item. Free On Board_ Value. Amount + The monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Goods Item + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Goods Item. Insurance_ Value. Amount + The amount covered by insurance for this goods item. + 0..1 + Goods Item + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Goods Item. Value. Amount + The amount on which a duty, tax, or fee will be assessed. + 0..1 + Goods Item + Value + Amount + Amount. Type + + + + + + + + + BBIE + Goods Item. Gross_ Weight. Measure + The weight of this goods item, including packing and packaging but excluding the carrier's equipment. + 0..1 + Goods Item + Gross + Weight + Measure + Measure. Type + Actual Gross Weight + + + + + + + + + BBIE + Goods Item. Net_ Weight. Measure + The weight of this goods item, excluding packing but including packaging that normally accompanies the goods. + 0..1 + Goods Item + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Net Net_ Weight. Measure + The total weight of this goods item, excluding all packing and packaging. + 0..1 + Goods Item + Net Net + Weight + Measure + Measure. Type + Customs Weight (WCO ID 128) + + + + + + + + + BBIE + Goods Item. Chargeable_ Weight. Measure + The weight on which a charge is to be based. + 0..1 + Goods Item + Chargeable + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Gross_ Volume. Measure + The volume of this goods item, normally calculated by multiplying its maximum length, width, and height. + 0..1 + Goods Item + Gross + Volume + Measure + Measure. Type + Volume, Gross Measurement Cube (GMC), Cube (WCO ID 134) + + + + + + + + + BBIE + Goods Item. Net_ Volume. Measure + The volume contained by a goods item, excluding the volume of any packaging material. + 0..1 + Goods Item + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Quantity + The number of units making up this goods item. + 0..1 + Goods Item + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Preference Criterion Code. Code + A code signifying the treatment preference for this goods item according to international trading agreements. + 0..1 + Goods Item + Preference Criterion Code + Code + Code. Type + Preference Criterion is used in the following manner in the paper CO of another country (e.g.): A - The good is wholly obtained or produced entirely in the territory of one or more of the NAFTA countries as reference in Article 415. Note: The purchase of a good in the territory does not necessarily render it wholly obtained or produced . If the good is an agricultural good, see also criterion F and Annex 703.2. (Reference: Article 401(a), 415). B - ... C - ... D - ... E - ... F - The good is an originating agricultural good under preference criterion A,B, or C above and is not subjected to quantitative restriction in the importing NAFTA country because.... Thus, the column Preference Criterion will indicate either A, B, C,... + + + + + + + + + BBIE + Goods Item. Required_ Customs Identifier. Identifier + An identifier for a set of tariff codes required to specify a type of goods for customs, transport, statistical, or other regulatory purposes. + 0..1 + Goods Item + Required + Customs Identifier + Identifier + Identifier. Type + Tariff code extensions (WCO ID 255) + + + + + + + + + BBIE + Goods Item. Customs Status Code. Code + A code assigned by customs to signify the status of this goods item. + 0..1 + Goods Item + Customs Status Code + Code + Code. Type + Customs status of goods (WCO ID 094) + + + + + + + + + BBIE + Goods Item. Customs Tariff Quantity. Quantity + Quantity of the units in this goods item as required by customs for tariff, statistical, or fiscal purposes. + 0..1 + Goods Item + Customs Tariff Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Customs Import_ Classified Indicator. Indicator + An indicator that this goods item has been classified for import by customs (true) or not (false). + 0..1 + Goods Item + Customs Import + Classified Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Goods Item. Chargeable_ Quantity. Quantity + The number of units in the goods item to which charges apply. + 0..1 + Goods Item + Chargeable + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Returnable_ Quantity. Quantity + The number of units in the goods item that may be returned. + 0..1 + Goods Item + Returnable + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Trace_ Identifier. Identifier + An identifier for use in tracing this goods item, such as the EPC number used in RFID. + 0..1 + Goods Item + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Goods Item. Item + Product information relating to a goods item. + 0..n + Goods Item + Item + Item + Item + + + + + + + + + ASBIE + Goods Item. Goods Item Container + The transporting of a goods item in a unit of transport equipment (e.g., container). + 0..n + Goods Item + Goods Item Container + Goods Item Container + Goods Item Container + + + + + + + + + ASBIE + Goods Item. Freight_ Allowance Charge. Allowance Charge + A cost incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance to the extent that they relate to the freight costs. + 0..n + Goods Item + Freight + Allowance Charge + Allowance Charge + Allowance Charge + Freight Costs + + + + + + + + + ASBIE + Goods Item. Invoice Line + Information about an invoice line relating to this goods item. + 0..n + Goods Item + Invoice Line + Invoice Line + Invoice Line + + + + + + + + + ASBIE + Goods Item. Temperature + The temperature of the goods item. + 0..n + Goods Item + Temperature + Temperature + Temperature + maximum, storage, minimum + + + + + + + + + ASBIE + Goods Item. Contained_ Goods Item. Goods Item + A goods item contained in this goods item. + 0..n + Goods Item + Contained + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Goods Item. Origin_ Address. Address + The region in which the goods have been produced or manufactured, according to criteria laid down for the purposes of application of the customs tariff, or of quantitative restrictions, or of any other measure related to trade. + 0..1 + Goods Item + Origin + Address + Address + Address + Region of origin (WCO ID 066) + + + + + + + + + ASBIE + Goods Item. Delivery + The delivery of this goods item. + 0..1 + Goods Item + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Goods Item. Pickup + The pickup of this goods item. + 0..1 + Goods Item + Pickup + Pickup + Pickup + + + + + + + + + ASBIE + Goods Item. Despatch + The despatch of this goods item. + 0..1 + Goods Item + Despatch + Despatch + Despatch + + + + + + + + + ASBIE + Goods Item. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this goods item. + 0..n + Goods Item + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Goods Item. Containing_ Package. Package + A package containing this goods item. + 0..n + Goods Item + Containing + Package + Package + Package + + + + + + + + + ASBIE + Goods Item. Shipment_ Document Reference. Document Reference + A reference to a shipping document associated with this goods item. + 0..1 + Goods Item + Shipment + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Goods Item. Minimum_ Temperature. Temperature + Information about minimum temperature. + 0..1 + Goods Item + Minimum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Goods Item. Maximum_ Temperature. Temperature + Information about maximum temperature. + 0..1 + Goods Item + Maximum + Temperature + Temperature + Temperature + + + + + + + + + + + ABIE + Goods Item Container. Details + A class defining how goods items are split across transport equipment. + Goods Item Container + + + + + + + + + BBIE + Goods Item Container. Identifier + An identifier for this goods item container. + 1 + Goods Item Container + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Container. Quantity + The number of goods items loaded into or onto one piece of transport equipment as a total consignment or part of a consignment. + 0..1 + Goods Item Container + Quantity + Quantity + Quantity. Type + Number of packages stuffed + + + + + + + + + ASBIE + Goods Item Container. Transport Equipment + A piece of transport equipment used to contain a single goods item. + 0..n + Goods Item Container + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + + + ABIE + Hazardous Goods Transit. Details + A class to describe hazardous goods in transit. + Hazardous Goods Transit + + + + + + + + + BBIE + Hazardous Goods Transit. Transport Emergency Card Code. Code + An identifier for a transport emergency card describing the actions to be taken in an emergency in transporting the hazardous goods. It may be the identity number of a hazardous emergency response plan assigned by the appropriate authority. + 0..1 + Hazardous Goods Transit + Transport Emergency Card Code + Code + Code. Type + TREM card + + + + + + + + + BBIE + Hazardous Goods Transit. Packing Criteria Code. Code + A code signifying the packaging requirement for transportation of the hazardous goods as assigned by IATA, IMDB, ADR, RID etc. + 0..1 + Hazardous Goods Transit + Packing Criteria Code + Code + Code. Type + Packing Group + + + + + + + + + BBIE + Hazardous Goods Transit. Hazardous Regulation Code. Code + A code signifying the set of legal regulations governing the transportation of the hazardous goods. + 0..1 + Hazardous Goods Transit + Hazardous Regulation Code + Code + Code. Type + + + + + + + + + BBIE + Hazardous Goods Transit. Inhalation Toxicity Zone Code. Code + A code signifying the Inhalation Toxicity Hazard Zone for the hazardous goods, as defined by the US Department of Transportation. + 0..1 + Hazardous Goods Transit + Inhalation Toxicity Zone Code + Code + Code. Type + + + + + + + + + BBIE + Hazardous Goods Transit. Transport Authorization Code. Code + A code signifying authorization for the transportation of hazardous cargo. + 0..1 + Hazardous Goods Transit + Transport Authorization Code + Code + Code. Type + Permission for Transport + + + + + + + + + ASBIE + Hazardous Goods Transit. Maximum_ Temperature. Temperature + The maximum temperature at which the hazardous goods can safely be transported. + 0..1 + Hazardous Goods Transit + Maximum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Goods Transit. Minimum_ Temperature. Temperature + The minimum temperature at which the hazardous goods can safely be transported. + 0..1 + Hazardous Goods Transit + Minimum + Temperature + Temperature + Temperature + + + + + + + + + + + ABIE + Hazardous Item. Details + A class to describe a hazardous item. + Hazardous Item + + + + + + + + + BBIE + Hazardous Item. Identifier + An identifier for this hazardous item. + 0..1 + Hazardous Item + Identifier + Identifier + Identifier. Type + Round Up + + + + + + + + + BBIE + Hazardous Item. Placard Notation. Text + Text of the placard notation corresponding to the hazard class of this hazardous item. Can also be the hazard identification number of the orange placard (upper part) required on the means of transport. + 0..1 + Hazardous Item + Placard Notation + Text + Text. Type + 5.1 + + + + + + + + + BBIE + Hazardous Item. Placard Endorsement. Text + Text of the placard endorsement that is to be shown on the shipping papers for this hazardous item. Can also be used for the number of the orange placard (lower part) required on the means of transport. + 0..1 + Hazardous Item + Placard Endorsement + Text + Text. Type + 2 + + + + + + + + + BBIE + Hazardous Item. Additional_ Information. Text + Text providing further information about the hazardous substance. + 0..n + Hazardous Item + Additional + Information + Text + Text. Type + Must be stored away from flammable materials N.O.S. or a Waste Characteristics Code in conjunction with an EPA Waste Stream code + + + + + + + + + BBIE + Hazardous Item. UNDG Code. Code + The UN code for this kind of hazardous item. + 0..1 + Hazardous Item + UNDG Code + Code + Code. Type + UN Code + + + + + + + + + BBIE + Hazardous Item. Emergency Procedures Code. Code + A code signifying the emergency procedures for this hazardous item. + 0..1 + Hazardous Item + Emergency Procedures Code + Code + Code. Type + EMG code, EMS Page Number + + + + + + + + + BBIE + Hazardous Item. Medical First Aid Guide Code. Code + A code signifying a medical first aid guide appropriate to this hazardous item. + 0..1 + Hazardous Item + Medical First Aid Guide Code + Code + Code. Type + MFAG page number + + + + + + + + + BBIE + Hazardous Item. Technical_ Name. Name + The full technical name of a specific hazardous substance contained in this goods item. + 0..1 + Hazardous Item + Technical + Name + Name + Name. Type + Granular Sodium Chlorate WeedKiller + + + + + + + + + BBIE + Hazardous Item. Category. Name + The name of the category of hazard that applies to the Item. + 0..1 + Hazardous Item + Category + Name + Name. Type + + + + + + + + + BBIE + Hazardous Item. Hazardous Category Code. Code + A code signifying a kind of hazard for a material. + 0..1 + Hazardous Item + Hazardous Category Code + Code + Code. Type + Hazardous material class code + + + + + + + + + BBIE + Hazardous Item. Upper_ Orange Hazard Placard Identifier. Identifier + The number for the upper part of the orange hazard placard required on the means of transport. + 0..1 + Hazardous Item + Upper + Orange Hazard Placard Identifier + Identifier + Identifier. Type + Hazard identification number (upper part) + + + + + + + + + BBIE + Hazardous Item. Lower_ Orange Hazard Placard Identifier. Identifier + The number for the lower part of the orange hazard placard required on the means of transport. + 0..1 + Hazardous Item + Lower + Orange Hazard Placard Identifier + Identifier + Identifier. Type + Substance identification number (lower part) + + + + + + + + + BBIE + Hazardous Item. Marking Identifier. Identifier + An identifier to the marking of the Hazardous Item + 0..1 + Hazardous Item + Marking Identifier + Identifier + Identifier. Type + Dangerous goods label marking + + + + + + + + + BBIE + Hazardous Item. Hazard Class Identifier. Identifier + An identifier for the hazard class applicable to this hazardous item as defined by the relevant regulation authority (e.g., the IMDG Class Number of the SOLAS Convention of IMO and the ADR/RID Class Number for the road/rail environment). + 0..1 + Hazardous Item + Hazard Class Identifier + Identifier + Identifier. Type + IMDG Class Number, ADR/RID Class Number + + + + + + + + + BBIE + Hazardous Item. Net_ Weight. Measure + The net weight of this hazardous item, excluding packaging. + 0..1 + Hazardous Item + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Hazardous Item. Net_ Volume. Measure + The volume of this hazardous item, excluding packaging and transport equipment. + 0..1 + Hazardous Item + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Hazardous Item. Quantity + The quantity of goods items in this hazardous item that are hazardous. + 0..1 + Hazardous Item + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Hazardous Item. Contact_ Party. Party + The individual, group, or body to be contacted in case of a hazardous incident associated with this item. + 0..1 + Hazardous Item + Contact + Party + Party + Party + + + + + + + + + ASBIE + Hazardous Item. Secondary Hazard + A secondary hazard associated with this hazardous item. + 0..n + Hazardous Item + Secondary Hazard + Secondary Hazard + Secondary Hazard + + + + + + + + + ASBIE + Hazardous Item. Hazardous Goods Transit + Information related to the transit of this kind of hazardous goods. + 0..n + Hazardous Item + Hazardous Goods Transit + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Hazardous Item. Emergency_ Temperature. Temperature + The threshold temperature at which emergency procedures apply in the handling of temperature-controlled goods. + 0..1 + Hazardous Item + Emergency + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Item. Flashpoint_ Temperature. Temperature + The flashpoint temperature of this hazardous item; i.e., the lowest temperature at which vapors above a volatile combustible substance ignite in air when exposed to flame. + 0..1 + Hazardous Item + Flashpoint + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Item. Additional_ Temperature. Temperature + Another temperature relevant to the handling of this hazardous item. + 0..n + Hazardous Item + Additional + Temperature + Temperature + Temperature + + + + + + + + + + + ABIE + Immobilized Security. Details + A class to describe an immobilized security to be used as a guarantee. + Immobilized Security + + + + + + + + + BBIE + Immobilized Security. Immobilization Certificate Identifier. Identifier + An identifier for the certificate of this immobilized security. + 0..1 + Immobilized Security + Immobilization Certificate Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Immobilized Security. Security Identifier. Identifier + An identifier for the security being immobilized. + 0..1 + Immobilized Security + Security Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Immobilized Security. Issue Date. Date + The date on which this immobilized security was issued. + 0..1 + Immobilized Security + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Immobilized Security. Face Value. Amount + The value of the security on the day it was immobilized. + 0..1 + Immobilized Security + Face Value + Amount + Amount. Type + + + + + + + + + BBIE + Immobilized Security. Market Value. Amount + The current market value of the immobilized security. + 0..1 + Immobilized Security + Market Value + Amount + Amount. Type + + + + + + + + + BBIE + Immobilized Security. Shares Number. Quantity + The number of shares immobilized. + 0..1 + Immobilized Security + Shares Number + Quantity + Quantity. Type + + + + + + + + + ASBIE + Immobilized Security. Issuer_ Party. Party + The party issuing the immobilized security certificate. + 0..1 + Immobilized Security + Issuer + Party + Party + Party + + + + + + + + + + + ABIE + Instruction For Returns Line. Details + A class to define a line in an Instruction for Returns. + Instruction For Returns Line + + + + + + + + + BBIE + Instruction For Returns Line. Identifier + An identifier for this instruction for returns line. + 1 + Instruction For Returns Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Instruction For Returns Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Instruction For Returns Line + Note + Text + Text. Type + + + + + + + + + BBIE + Instruction For Returns Line. Quantity + The quantity of goods being returned. + 1 + Instruction For Returns Line + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Instruction For Returns Line. Manufacturer_ Party. Party + The manufacturer of the goods being returned. + 0..1 + Instruction For Returns Line + Manufacturer + Party + Party + Party + + + + + + + + + ASBIE + Instruction For Returns Line. Item + A description of the item being returned. + 1 + Instruction For Returns Line + Item + Item + Item + + + + + + + + + + + ABIE + Inventory Report Line. Details + A class to define a line in an Inventory Report. + Inventory Report Line + + + + + + + + + BBIE + Inventory Report Line. Identifier + An identifier for this inventory report line. + 1 + Inventory Report Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Inventory Report Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Inventory Report Line + Note + Text + Text. Type + + + + + + + + + BBIE + Inventory Report Line. Quantity + The quantity of the item reported that is currently in stock. + 1 + Inventory Report Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Inventory Report Line. Inventory_ Value. Amount + The value of the quantity of the item reported that is currently in stock. + 0..1 + Inventory Report Line + Inventory + Value + Amount + Amount. Type + + + + + + + + + BBIE + Inventory Report Line. Availability Date. Date + The date from which the goods will be available. If not present, the goods are available now. + 0..1 + Inventory Report Line + Availability Date + Date + Date. Type + + + + + + + + + BBIE + Inventory Report Line. Availability Status Code. Code + A code signifying the item's level of availability. + 0..1 + Inventory Report Line + Availability Status Code + Code + Code. Type + + + + + + + + + ASBIE + Inventory Report Line. Item + The item associated with this inventory report line. + 1 + Inventory Report Line + Item + Item + Item + + + + + + + + + ASBIE + Inventory Report Line. Inventory_ Location. Location + The location of the reported quantity of goods. + 0..1 + Inventory Report Line + Inventory + Location + Location + Location + + + + + + + + + + + ABIE + Invoice Line. Details + A class to define a line in an Invoice. + Invoice Line + + + + + + + + + BBIE + Invoice Line. Identifier + An identifier for this invoice line. + 1 + Invoice Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice Line. UUID. Identifier + A universally unique identifier for this invoice line. + 0..1 + Invoice Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Invoice Line + Note + Text + Text. Type + + + + + + + + + BBIE + Invoice Line. Invoiced_ Quantity. Quantity + The quantity (of items) on this invoice line. + 0..1 + Invoice Line + Invoiced + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Invoice Line. Line Extension Amount. Amount + The total amount for this invoice line, including allowance charges but net of taxes. + 1 + Invoice Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Invoice Line. Tax Point Date. Date + The date of this invoice line, used to indicate the point at which tax becomes applicable. + 0..1 + Invoice Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Invoice Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this invoice line, expressed as a code. + 0..1 + Invoice Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Invoice Line. Accounting Cost. Text + The buyer's accounting cost centre for this invoice line, expressed as text. + 0..1 + Invoice Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Invoice Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Invoice Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Invoice Line. Free Of Charge_ Indicator. Indicator + An indicator that this invoice line is free of charge (true) or not (false). The default is false. + 0..1 + Invoice Line + Free Of Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Invoice Line. Invoice_ Period. Period + An invoice period to which this invoice line applies. + 0..n + Invoice Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Invoice Line. Order Line Reference + A reference to an order line associated with this invoice line. + 0..n + Invoice Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Invoice Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this invoice line. + 0..n + Invoice Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Invoice Line. Receipt_ Line Reference. Line Reference + A reference to a receipt line associated with this invoice line. + 0..n + Invoice Line + Receipt + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Invoice Line. Billing Reference + A reference to a billing document associated with this invoice line. + 0..n + Invoice Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Invoice Line. Document Reference + A reference to a document associated with this invoice line. + 0..n + Invoice Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice Line. Pricing Reference + A reference to pricing and item location information associated with this invoice line. + 0..1 + Invoice Line + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Invoice Line. Originator_ Party. Party + The party who originated the Order to which the Invoice is related. + 0..1 + Invoice Line + Originator + Party + Party + Party + + + + + + + + + ASBIE + Invoice Line. Delivery + A delivery associated with this invoice line. + 0..n + Invoice Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Invoice Line. Payment Terms + A specification of payment terms associated with this invoice line. + 0..n + Invoice Line + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Invoice Line. Allowance Charge + An allowance or charge associated with this invoice line. + 0..n + Invoice Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Invoice Line. Tax Total + A total amount of taxes of a particular kind applicable to this invoice line. + 0..n + Invoice Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice Line. Withholding_ Tax Total. Tax Total + A reference to a TaxTotal class describing the amount that has been withhold by the authorities, e.g. if the creditor is in dept because of non paid taxes. + 0..n + Invoice Line + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice Line. Item + The item associated with this invoice line. + 1 + Invoice Line + Item + Item + Item + + + + + + + + + ASBIE + Invoice Line. Price + The price of the item associated with this invoice line. + 0..1 + Invoice Line + Price + Price + Price + Unit Price, Base Price + + + + + + + + + ASBIE + Invoice Line. Delivery Terms + Terms and conditions of the delivery associated with this invoice line. + 0..1 + Invoice Line + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Invoice Line. Sub_ Invoice Line. Invoice Line + An invoice line subsidiary to this invoice line. + 0..n + Invoice Line + Sub + Invoice Line + Invoice Line + Invoice Line + + + + + + + + + ASBIE + Invoice Line. Item_ Price Extension. Price Extension + The price extension, calculated by multiplying the price per unit by the quantity of items on this invoice line. + 0..1 + Invoice Line + Item + Price Extension + Price Extension + Price Extension + + + + + + + + + + + ABIE + Item. Details + A class to describe an item of trade. It includes a generic description applicable to all examples of the item together with optional subsidiary descriptions of any number of actual instances of the type. + Item + article, product, goods item + + + + + + + + + BBIE + Item. Description. Text + Text describing this item. + 0..n + Item + Description + Text + Text. Type + + + + + + + + + BBIE + Item. Pack Quantity. Quantity + The unit packaging quantity; the number of subunits making up this item. + 0..1 + Item + Pack Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item. Pack Size. Numeric + The number of items in a pack of this item. + 0..1 + Item + Pack Size + Numeric + Numeric. Type + + + + + + + + + BBIE + Item. Catalogue_ Indicator. Indicator + An indicator that this item was ordered from a catalogue (true) or not (false). + 0..1 + Item + Catalogue + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Item. Name + A short name optionally given to this item, such as a name from a catalogue, as distinct from a description. + 0..1 + Item + Name + Name + Name. Type + + + + + + + + + BBIE + Item. Hazardous Risk_ Indicator. Indicator + An indication that the transported item, as delivered, is subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Item + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Item. Additional_ Information. Text + Further details regarding this item (e.g., the URL of a relevant web page). + 0..n + Item + Additional + Information + Text + Text. Type + + + + + + + + + BBIE + Item. Keyword. Text + A keyword (search string) for this item, assigned by the seller party. Can also be a synonym for the name of the item. + 0..n + Item + Keyword + Text + Text. Type + + + + + + + + + BBIE + Item. Brand Name. Name + A brand name of this item. + 0..n + Item + Brand Name + Name + Name. Type + Coca-Cola + + + + + + + + + BBIE + Item. Model Name. Name + A model name of this item. + 0..n + Item + Model Name + Name + Name. Type + VW Beetle + + + + + + + + + ASBIE + Item. Buyers_ Item Identification. Item Identification + Identifying information for this item, assigned by the buyer. + 0..1 + Item + Buyers + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Sellers_ Item Identification. Item Identification + Identifying information for this item, assigned by the seller. + 0..1 + Item + Sellers + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Manufacturers_ Item Identification. Item Identification + Identifying information for this item, assigned by the manufacturer. + 0..n + Item + Manufacturers + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Standard_ Item Identification. Item Identification + Identifying information for this item, assigned according to a standard system. + 0..1 + Item + Standard + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Catalogue_ Item Identification. Item Identification + Identifying information for this item, assigned according to a cataloguing system. + 0..1 + Item + Catalogue + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Additional_ Item Identification. Item Identification + An additional identifier for this item. + 0..n + Item + Additional + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Catalogue_ Document Reference. Document Reference + A reference to the catalogue in which this item appears. + 0..1 + Item + Catalogue + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Item. Item Specification_ Document Reference. Document Reference + A reference to a specification document for this item. + 0..n + Item + Item Specification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Item. Origin_ Country. Country + The country of origin of this item. + 0..1 + Item + Origin + Country + Country + Country + + + + + + + + + ASBIE + Item. Commodity Classification + A classification of this item according to a specific system for classifying commodities. + 0..n + Item + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Item. Transaction Conditions + A set of sales conditions applying to this item. + 0..n + Item + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Item. Hazardous Item + Information pertaining to this item as a hazardous item. + 0..n + Item + Hazardous Item + Hazardous Item + Hazardous Item + + + + + + + + + ASBIE + Item. Classified_ Tax Category. Tax Category + A tax category applicable to this item. + 0..n + Item + Classified + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Item. Additional_ Item Property. Item Property + An additional property of this item. + 0..n + Item + Additional + Item Property + Item Property + Item Property + + + + + + + + + ASBIE + Item. Manufacturer_ Party. Party + The manufacturer of this item. + 0..n + Item + Manufacturer + Party + Party + Party + + + + + + + + + ASBIE + Item. Information Content Provider_ Party. Party + The party responsible for specification of this item. + 0..1 + Item + Information Content Provider + Party + Party + Party + + + + + + + + + ASBIE + Item. Origin_ Address. Address + A region (not country) of origin of this item. + 0..n + Item + Origin + Address + Address + Address + + + + + + + + + ASBIE + Item. Item Instance + A trackable, unique instantiation of this item. + 0..n + Item + Item Instance + Item Instance + Item Instance + + + + + + + + + ASBIE + Item. Certificate + A certificate associated with this item. + 0..n + Item + Certificate + Certificate + Certificate + + + + + + + + + ASBIE + Item. Dimension + One of the measurable dimensions (length, mass, weight, or volume) of this item. + 0..n + Item + Dimension + Dimension + Dimension + + + + + + + + + + + ABIE + Item Comparison. Details + A class to provide information about price and quantity of an item for use in price comparisons based on price, quantity, or measurements. + Item Comparison + + + + + + + + + BBIE + Item Comparison. Price Amount. Amount + The price for the Item Comparison + 0..1 + Item Comparison + Price Amount + Amount + Amount. Type + + + + + + + + + BBIE + Item Comparison. Quantity + The quantity for which this comparison is valid. + 0..1 + Item Comparison + Quantity + Quantity + Quantity. Type + per unit + + + + + + + + + + + ABIE + Item Identification. Details + A class for assigning identifying information to an item. + Item Identification + + + + + + + + + BBIE + Item Identification. Identifier + An identifier for the item. + 1 + Item Identification + Identifier + Identifier + Identifier. Type + CUST001 3333-44-123 + + + + + + + + + BBIE + Item Identification. Extended_ Identifier. Identifier + An extended identifier for the item that identifies the item with specific properties, e.g., Item 123 = Chair / Item 123 Ext 45 = brown chair. Two chairs can have the same item number, but one is brown. The other is white. + 0..1 + Item Identification + Extended + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Identification. Barcode_ Symbology Identifier. Identifier + An identifier for a system of barcodes. + 0..1 + Item Identification + Barcode + Symbology Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Item Identification. Physical Attribute + A physical attribute of the item. + 0..n + Item Identification + Physical Attribute + Physical Attribute + Physical Attribute + + + + + + + + + ASBIE + Item Identification. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of the item. + 0..n + Item Identification + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Item Identification. Issuer_ Party. Party + The party that issued this item identification. + 0..1 + Item Identification + Issuer + Party + Party + Party + + + + + + + + + + + ABIE + Item Information Request Line. Details + A class to define a line in an Item Information Request asking a trading partner for item information. + Item Information Request Line + + + + + + + + + BBIE + Item Information Request Line. Time Frequency Code. Code + A code signifying the frequency with which item information should be sent to the requester. + 0..1 + Item Information Request Line + Time Frequency Code + Code + Code. Type + + + + + + + + + BBIE + Item Information Request Line. Supply Chain Activity Type Code. Code + A code used to identify the type of supply chain activity about which information request is issued. Examples: CANCELED_ORDERS EMERGENCY_ORDERS ON_HAND ORDERS + 0..1 + Item Information Request Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Item Information Request Line. Forecast Type Code. Code + The information request can be either about supply chain activity or about forecasts or about performance metrics, so it should be optional + 0..1 + Item Information Request Line + Forecast Type Code + Code + Code. Type + + + + + + + + + BBIE + Item Information Request Line. Performance Metric Type Code. Code + A code signifying a measure of performance. + 0..1 + Item Information Request Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Item Information Request Line. Period + A period for which this information is requested. + 1..n + Item Information Request Line + Period + Period + Period + + + + + + + + + ASBIE + Item Information Request Line. Sales Item + Sales information for the item to which this line applies. + 1..n + Item Information Request Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Item Instance. Details + A class to describe a specific, trackable instance of an item. + Item Instance + + + + + + + + + BBIE + Item Instance. Product Trace_ Identifier. Identifier + An identifier used for tracing this item instance, such as the EPC number used in RFID. + 0..1 + Item Instance + Product Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Instance. Manufacture Date. Date + The date on which this item instance was manufactured. + 0..1 + Item Instance + Manufacture Date + Date + Date. Type + + + + + + + + + BBIE + Item Instance. Manufacture Time. Time + The time at which this item instance was manufactured. + 0..1 + Item Instance + Manufacture Time + Time + Time. Type + + + + + + + + + BBIE + Item Instance. Best Before Date. Date + The date before which it is best to use this item instance. + 0..1 + Item Instance + Best Before Date + Date + Date. Type + + + + + + + + + BBIE + Item Instance. Registration Identifier. Identifier + The registration identifier of this item instance. + 0..1 + Item Instance + Registration Identifier + Identifier + Identifier. Type + car registration or licensing number + + + + + + + + + BBIE + Item Instance. Serial Identifier. Identifier + The serial number of this item instance. + 0..1 + Item Instance + Serial Identifier + Identifier + Identifier. Type + chassis number of a car + + + + + + + + + ASBIE + Item Instance. Additional_ Item Property. Item Property + An additional property of this item instance. + 0..n + Item Instance + Additional + Item Property + Item Property + Item Property + + + + + + + + + ASBIE + Item Instance. Lot Identification + The lot identifier of this item instance (the identifier that allows recall of the item if necessary). + 0..1 + Item Instance + Lot Identification + Lot Identification + Lot Identification + + + + + + + + + + + ABIE + Item Location Quantity. Details + A class for information about pricing structure, lead time, and location associated with an item. + Item Location Quantity + + + + + + + + + BBIE + Item Location Quantity. Lead Time. Measure + The lead time, i.e., the time taken from the time at which an item is ordered to the time of its delivery. + 0..1 + Item Location Quantity + Lead Time + Measure + Measure. Type + 2 days , 24 hours + + + + + + + + + BBIE + Item Location Quantity. Minimum_ Quantity. Quantity + The minimum quantity that can be ordered to qualify for a specific price. + 0..1 + Item Location Quantity + Minimum + Quantity + Quantity + Quantity. Type + 10 boxes , 1 carton , 1000 sheets + + + + + + + + + BBIE + Item Location Quantity. Maximum_ Quantity. Quantity + The maximum quantity that can be ordered to qualify for a specific price. + 0..1 + Item Location Quantity + Maximum + Quantity + Quantity + Quantity. Type + 10 boxes , 1 carton , 1000 sheets + + + + + + + + + BBIE + Item Location Quantity. Hazardous Risk_ Indicator. Indicator + An indication that the transported item, as delivered, in the stated quantity to the stated location, is subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Item Location Quantity + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Item Location Quantity. Trading Restrictions. Text + Text describing trade restrictions on the quantity of this item or on the item itself. + 0..n + Item Location Quantity + Trading Restrictions + Text + Text. Type + not for export + + + + + + + + + ASBIE + Item Location Quantity. Applicable Territory_ Address. Address + The applicable sales territory. + 0..n + Item Location Quantity + Applicable Territory + Address + Address + Address + + + + + + + + + ASBIE + Item Location Quantity. Price + The price associated with the given location. + 0..1 + Item Location Quantity + Price + Price + Price + + + + + + + + + ASBIE + Item Location Quantity. Delivery Unit + A delivery unit in which the item is located. + 0..n + Item Location Quantity + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Item Location Quantity. Applicable_ Tax Category. Tax Category + A tax category applicable to this item location quantity. + 0..n + Item Location Quantity + Applicable + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Item Location Quantity. Package + The package to which this price applies. + 0..1 + Item Location Quantity + Package + Package + Package + + + + + + + + + ASBIE + Item Location Quantity. Allowance Charge + An allowance or charge associated with this item location quantity. + 0..n + Item Location Quantity + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Item Location Quantity. Dependent Price Reference + The price of the item as a percentage of the price of some other item. + 0..1 + Item Location Quantity + Dependent Price Reference + Dependent Price Reference + Dependent Price Reference + + + + + + + + + + + ABIE + Item Management Profile. Details + A class to define a management profile for an item. + Item Management Profile + + + + + + + + + BBIE + Item Management Profile. Frozen Period Days. Numeric + The number of days in the future that an order forecast quantity automatically becomes a confirmed order for a product. + 0..1 + Item Management Profile + Frozen Period Days + Numeric + Numeric. Type + + + + + + + + + BBIE + Item Management Profile. Minimum_ Inventory Quantity. Quantity + The quantity of the item that should trigger a replenishment order to avoid depleting the safety stock. + 0..1 + Item Management Profile + Minimum + Inventory Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item Management Profile. Multiple_ Order Quantity. Quantity + The order quantity multiples in which the product may be ordered. + 0..1 + Item Management Profile + Multiple + Order Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item Management Profile. Order Interval Days. Numeric + The number of days between regular replenishment orders for the product. + 0..1 + Item Management Profile + Order Interval Days + Numeric + Numeric. Type + + + + + + + + + BBIE + Item Management Profile. Replenishment Owner Description. Text + The trading partner maintaining this item management profile. + 0..n + Item Management Profile + Replenishment Owner Description + Text + Text. Type + + + + + + + + + BBIE + Item Management Profile. Target Service Percent. Percent + The Unit Service Level the trading partners expect to be maintained, expressed as a percentage. Unite Service Level (USL) is a term used in Inventory Management, which is sometimes known as "fill rate", counts the average number of units short expressed as the percentage of the order quantity. + 0..1 + Item Management Profile + Target Service Percent + Percent + Percent. Type + + + + + + + + + BBIE + Item Management Profile. Target_ Inventory Quantity. Quantity + The target inventory quantity. + 0..1 + Item Management Profile + Target + Inventory Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Item Management Profile. Effective_ Period. Period + The period during which this profile is effective. + 1 + Item Management Profile + Effective + Period + Period + Period + + + + + + + + + ASBIE + Item Management Profile. Item + The item associated with this item management profile. + 1 + Item Management Profile + Item + Item + Item + + + + + + + + + ASBIE + Item Management Profile. Item Location Quantity + A set of location-specific properties (e.g., price and quantity) associated with the item. + 0..1 + Item Management Profile + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + + + ABIE + Item Property. Details + A class to describe a specific property of an item. + Item Property + + + + + + + + + BBIE + Item Property. Identifier + An identifier for this property of an item. + 0..1 + Item Property + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Property. Name + The name of this item property. + 1 + Item Property + Name + Name + Name. Type + Energy Rating , Collar Size , Fat Content + + + + + + + + + BBIE + Item Property. Name Code. Code + The name of this item property, expressed as a code. + 0..1 + Item Property + Name Code + Code + Code. Type + + + + + + + + + BBIE + Item Property. Test Method. Text + The method of testing the value of this item property. + 0..1 + Item Property + Test Method + Text + Text. Type + 100 watts , 15 European , 20% +/- 5% + + + + + + + + + BBIE + Item Property. Value. Text + The value of this item property, expressed as text. + 0..1 + Item Property + Value + Text + Text. Type + 100 watts , 15 European , 20% +/- 5% + + + + + + + + + BBIE + Item Property. Value_ Quantity. Quantity + The value of this item property, expressed as a quantity. + 0..1 + Item Property + Value + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item Property. Value Qualifier. Text + Text qualifying the value of the property. + 0..n + Item Property + Value Qualifier + Text + Text. Type + + + + + + + + + BBIE + Item Property. Importance Code. Code + A code signifying the importance of this property in using it to describe a related Item. + 0..1 + Item Property + Importance Code + Code + Code. Type + + + + + + + + + BBIE + Item Property. List Value. Text + The value expressed as a text in case the property is a value in a list. For example, a colour. + 0..n + Item Property + List Value + Text + Text. Type + + + + + + + + + ASBIE + Item Property. Usability_ Period. Period + The period during which this item property is valid. + 0..1 + Item Property + Usability + Period + Period + Period + + + + + + + + + ASBIE + Item Property. Item Property Group + A description of the property group to which this item property belongs. + 0..n + Item Property + Item Property Group + Item Property Group + Item Property Group + + + + + + + + + ASBIE + Item Property. Range_ Dimension. Dimension + The range of values for the dimensions of this property. + 0..1 + Item Property + Range + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Item Property. Item Property Range + A range of values for this item property. + 0..1 + Item Property + Item Property Range + Item Property Range + Item Property Range + + + + + + + + + + + ABIE + Item Property Group. Details + A class to describe a property group or classification. + Item Property Group + + + + + + + + + BBIE + Item Property Group. Identifier + An identifier for this group of item properties. + 1 + Item Property Group + Identifier + Identifier + Identifier. Type + 233-004 + + + + + + + + + BBIE + Item Property Group. Name + The name of this item property group. + 0..1 + Item Property Group + Name + Name + Name. Type + Electrical Specifications , Dietary Content + + + + + + + + + BBIE + Item Property Group. Importance Code. Code + A code signifying the importance of this property group in using it to describe a required Item. + 0..1 + Item Property Group + Importance Code + Code + Code. Type + + + + + + + + + + + ABIE + Item Property Range. Details + A class to describe a range of values for an item property. + Item Property Range + + + + + + + + + BBIE + Item Property Range. Minimum_ Value. Text + The minimum value in this range of values. + 0..1 + Item Property Range + Minimum + Value + Text + Text. Type + + + + + + + + + BBIE + Item Property Range. Maximum_ Value. Text + The maximum value in this range of values. + 0..1 + Item Property Range + Maximum + Value + Text + Text. Type + + + + + + + + + + + ABIE + Language. Details + A class to describe a language. + Language + + + + + + + + + BBIE + Language. Identifier + An identifier for this language. + 0..1 + Language + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Language. Name + The name of this language. + 0..1 + Language + Name + Name + Name. Type + + + + + + + + + BBIE + Language. Locale Code. Code + A code signifying the locale in which this language is used. + 0..1 + Language + Locale Code + Code + Language + Language_ Code. Type + + + + + + + + + + + ABIE + Legislation. Details + A class to describe a reference to a piece of legislation. + Legislation + + + + + + + + + BBIE + Legislation. Identifier + An identifier to refer to the legislation. + 0..1 + Legislation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Legislation. Title. Text + The title of the legislation. + 0..n + Legislation + Title + Text + Text. Type + + + + + + + + + BBIE + Legislation. Description. Text + The textual description of the legislation. + 0..n + Legislation + Description + Text + Text. Type + + + + + + + + + BBIE + Legislation. Jurisdiction Level. Text + The jurisdiction level for the legislation. + 0..n + Legislation + Jurisdiction Level + Text + Text. Type + + + + + + + + + BBIE + Legislation. Article. Text + The article of the legislation. + 0..n + Legislation + Article + Text + Text. Type + + + + + + + + + BBIE + Legislation. URI. Identifier + A URI to the legislation. + 0..n + Legislation + URI + Identifier + Identifier. Type + + + + + + + + + ASBIE + Legislation. Language + The language of the legislation. + 0..n + Legislation + Language + Language + Language + + + + + + + + + ASBIE + Legislation. Jurisdiction Region_ Address. Address + The geopolitical region in which this legislation applies. + 0..n + Legislation + Jurisdiction Region + Address + Address + Address + + + + + + + + + + + ABIE + Line Item. Details + A class to describe a line item. + Line Item + + + + + + + + + BBIE + Line Item. Identifier + An identifier for this line item, assigned by the buyer. + 1 + Line Item + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. Sales_ Order Identifier. Identifier + An identifier for this line item, assigned by the seller. + 0..1 + Line Item + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. UUID. Identifier + A universally unique identifier for this line item. + 0..1 + Line Item + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Line Item + Note + Text + Text. Type + + + + + + + + + BBIE + Line Item. Line Status Code. Code + A code signifying the status of this line item with respect to its original state. + 0..1 + Line Item + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + BBIE + Line Item. Quantity + The quantity of items associated with this line item. + 0..1 + Line Item + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Line Extension Amount. Amount + The total amount for this line item, including allowance charges but net of taxes. + 0..1 + Line Item + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Line Item. Total_ Tax Amount. Amount + The total tax amount for this line item. + 0..1 + Line Item + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Line Item. Minimum_ Quantity. Quantity + The minimum quantity of the item associated with this line. + 0..1 + Line Item + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Maximum_ Quantity. Quantity + The maximum quantity of the item associated with this line. + 0..1 + Line Item + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Minimum_ Backorder. Quantity + The minimum back order quantity of the item associated with this line (where back order is allowed). + 0..1 + Line Item + Minimum + Backorder + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Maximum_ Backorder. Quantity + The maximum back order quantity of the item associated with this line (where back order is allowed). + 0..1 + Line Item + Maximum + Backorder + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Inspection Method Code. Code + A code signifying the inspection requirements for the item associated with this line item. + 0..1 + Line Item + Inspection Method Code + Code + Code. Type + + + + + + + + + BBIE + Line Item. Partial Delivery Indicator. Indicator + An indicator that a partial delivery is allowed (true) or not (false). + 0..1 + Line Item + Partial Delivery Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Line Item. Back Order Allowed Indicator. Indicator + An indicator that back order is allowed (true) or not (false). + 0..1 + Line Item + Back Order Allowed Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Line Item. Accounting Cost Code. Code + The buyer's accounting cost centre for this line item, expressed as a code. + 0..1 + Line Item + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Line Item. Accounting Cost. Text + The buyer's accounting cost centre for this line item, expressed as text. + 0..1 + Line Item + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Line Item. Warranty_ Information. Text + Text describing a warranty (provided by WarrantyParty) for the good or service described in this line item. + 0..n + Line Item + Warranty + Information + Text + Text. Type + Unless specified otherwise and in addition to any rights the Customer may have under statute, Dell warrants to the Customer that Dell branded Products (excluding third party products and software), will be free from defects in materials and workmanship affecting normal use for a period of one year from invoice date ( Standard Warranty ). + + + + + + + + + ASBIE + Line Item. Delivery + A delivery associated with this line item. + 0..n + Line Item + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Line Item. Delivery Terms + Terms and conditions of the delivery associated with this line item. + 0..1 + Line Item + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Line Item. Originator_ Party. Party + The party who originated the Order associated with this line item. + 0..1 + Line Item + Originator + Party + Party + Party + + + + + + + + + ASBIE + Line Item. Ordered Shipment + An ordered shipment associated with this line item. + 0..n + Line Item + Ordered Shipment + Ordered Shipment + Ordered Shipment + + + + + + + + + ASBIE + Line Item. Pricing Reference + A reference to pricing and item location information associated with this line item. + 0..1 + Line Item + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Line Item. Allowance Charge + An allowance or charge associated with this line item. + 0..n + Line Item + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Line Item. Price + The price of the item of trade associated with this line item. + 0..1 + Line Item + Price + Price + Price + + + + + + + + + ASBIE + Line Item. Item + The item of trade associated with this line item. + 1 + Line Item + Item + Item + Item + + + + + + + + + ASBIE + Line Item. Sub_ Line Item. Line Item + The subsidiary line items that constitute the main line item, such as in a bill of materials. + 0..n + Line Item + Sub + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Line Item. Warranty Validity_ Period. Period + The period during which the warranty associated with this line item is valid. + 0..1 + Line Item + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Line Item. Warranty_ Party. Party + The party responsible for any warranty associated with this line item. + 0..1 + Line Item + Warranty + Party + Party + Party + + + + + + + + + ASBIE + Line Item. Tax Total + A total amount of taxes of a particular kind applicable to this item. + 0..n + Line Item + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Line Item. Item_ Price Extension. Price Extension + The price extension, calculated by multiplying the price per unit by the quantity of items. + 0..1 + Line Item + Item + Price Extension + Price Extension + Price Extension + + + + + + + + + ASBIE + Line Item. Line Reference + A reference to a line in a document associated with this line item. + 0..n + Line Item + Line Reference + Line Reference + Line Reference + + + + + + + + + + + ABIE + Line Reference. Details + A class to define a reference to a line in a document. + Line Reference + + + + + + + + + BBIE + Line Reference. Line Identifier. Identifier + Identifies the referenced line in the document. + 1 + Line Reference + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Reference. UUID. Identifier + A universally unique identifier for this line reference. + 0..1 + Line Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Reference. Line Status Code. Code + A code signifying the status of the referenced line with respect to its original state. + 0..1 + Line Reference + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + ASBIE + Line Reference. Document Reference + A reference to the document containing the referenced line. + 0..1 + Line Reference + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Line Response. Details + A class to describe responses to a line in a document. + Line Response + + + + + + + + + ASBIE + Line Response. Line Reference + A reference to the line being responded to. + 1 + Line Response + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Line Response. Response + A response to the referenced line. + 1..n + Line Response + Response + Response + Response + + + + + + + + + + + ABIE + Location. Details + A class to describe a location. + Location + + + + + + + + + BBIE + Location. Identifier + An identifier for this location, e.g., the EAN Location Number, GLN. + 0..1 + Location + Identifier + Identifier + Identifier. Type + 5790002221134 + + + + + + + + + BBIE + Location. Description. Text + Text describing this location. + 0..n + Location + Description + Text + Text. Type + + + + + + + + + BBIE + Location. Conditions. Text + Free-form text describing the physical conditions of the location. + 0..n + Location + Conditions + Text + Text. Type + + + + + + + + + BBIE + Location. Country Subentity. Text + A territorial division of a country, such as a county or state, expressed as text. + 0..1 + Location + Country Subentity + Text + Text. Type + AdministrativeArea, State, Country, Shire, Canton + Florida , Tamilnadu + + + + + + + + + BBIE + Location. Country Subentity Code. Code + A territorial division of a country, such as a county or state, expressed as a code. + 0..1 + Location + Country Subentity Code + Code + Code. Type + AdministrativeAreaCode, State Code + + + + + + + + + BBIE + Location. Location Type Code. Code + A code signifying the type of location. + 0..1 + Location + Location Type Code + Code + Code. Type + + + + + + + + + BBIE + Location. Information_ URI. Identifier + The Uniform Resource Identifier (URI) of a document providing information about this location. + 0..1 + Location + Information + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Location. Name + The name of this location. + 0..1 + Location + Name + Name + Name. Type + winter 2005 collection + + + + + + + + + ASBIE + Location. Validity_ Period. Period + A period during which this location can be used (e.g., for delivery). + 0..n + Location + Validity + Period + Period + Period + + + + + + + + + ASBIE + Location. Address + The address of this location. + 0..1 + Location + Address + Address + Address + + + + + + + + + ASBIE + Location. Subsidiary_ Location. Location + A location subsidiary to this location. + 0..n + Location + Subsidiary + Location + Location + Location + + + + + + + + + ASBIE + Location. Location Coordinate + The geographical coordinates of this location. + 0..n + Location + Location Coordinate + Location Coordinate + Location Coordinate + + + + + + + + + + + ABIE + Location Coordinate. Details + A class for defining a set of geographical coordinates (apparently misnamed). + Location Coordinate + + + + + + + + + BBIE + Location Coordinate. Coordinate System Code. Code + A code signifying the location system used. + 0..1 + Location Coordinate + Coordinate System Code + Code + Code. Type + + + + + + + + + BBIE + Location Coordinate. Latitude_ Degrees. Measure + The degree component of a latitude measured in degrees and minutes. + 0..1 + Location Coordinate + Latitude + Degrees + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Latitude_ Minutes. Measure + The minutes component of a latitude measured in degrees and minutes (modulo 60). + 0..1 + Location Coordinate + Latitude + Minutes + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Latitude Direction Code. Code + A code signifying the direction of latitude measurement from the equator (north or south). + 0..1 + Location Coordinate + Latitude Direction Code + Code + Latitude Direction + Latitude Direction_ Code. Type + + + + + + + + + BBIE + Location Coordinate. Longitude_ Degrees. Measure + The degree component of a longitude measured in degrees and minutes. + 0..1 + Location Coordinate + Longitude + Degrees + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Longitude_ Minutes. Measure + The minutes component of a longitude measured in degrees and minutes (modulo 60). + 0..1 + Location Coordinate + Longitude + Minutes + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Longitude Direction Code. Code + A code signifying the direction of longitude measurement from the prime meridian (east or west). + 0..1 + Location Coordinate + Longitude Direction Code + Code + Longitude Direction + Longitude Direction_ Code. Type + + + + + + + + + BBIE + Location Coordinate. Altitude. Measure + The altitude of the location. + 0..1 + Location Coordinate + Altitude + Measure + Measure. Type + + + + + + + + + + + ABIE + Lot Distribution. Details + A class defining how to treat different lots in a single procurement. + Lot Distribution + + + + + + + + + BBIE + Lot Distribution. Maximum Lots Awarded. Numeric + The maximum number of lots that can be awarded to a single tenderer. + 0..1 + Lot Distribution + Maximum Lots Awarded + Numeric + Numeric. Type + + + + + + + + + BBIE + Lot Distribution. Maximum Lots Submitted. Numeric + The maximum number of lots to which a tenderer can submit an offer to. + 0..1 + Lot Distribution + Maximum Lots Submitted + Numeric + Numeric. Type + + + + + + + + + BBIE + Lot Distribution. Grouping Lots. Text + Description on how to combine lots when submitting a tender. + 0..n + Lot Distribution + Grouping Lots + Text + Text. Type + + + + + + + + + + + ABIE + Lot Identification. Details + A class for defining a lot identifier (the identifier of a set of item instances that would be used in case of a recall of that item). + Lot Identification + + + + + + + + + BBIE + Lot Identification. Lot Number. Identifier + An identifier for the lot. + 0..1 + Lot Identification + Lot Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Lot Identification. Expiry Date. Date + The expiry date of the lot. + 0..1 + Lot Identification + Expiry Date + Date + Date. Type + + + + + + + + + ASBIE + Lot Identification. Additional_ Item Property. Item Property + An additional property of the lot. + 0..n + Lot Identification + Additional + Item Property + Item Property + Item Property + + + + + + + + + + + ABIE + Maritime Transport. Details + A class to describe a vessel used for transport by water (including sea, river, and canal). + Maritime Transport + + + + + + + + + BBIE + Maritime Transport. Vessel Identifier. Identifier + An identifier for a specific vessel. + 0..1 + Maritime Transport + Vessel Identifier + Identifier + Identifier. Type + Lloyds Number, Registration Number (WCO ID 167) + International Maritime Organisation number of a vessel + + + + + + + + + BBIE + Maritime Transport. Vessel Name. Name + The name of the vessel. + 0..1 + Maritime Transport + Vessel Name + Name + Name. Type + Ships Name + + + + + + + + + BBIE + Maritime Transport. Radio Call Sign Identifier. Identifier + The radio call sign of the vessel. + 0..1 + Maritime Transport + Radio Call Sign Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Maritime Transport. Ships Requirements. Text + Information about what services a vessel will require when it arrives at a port, such as refueling, maintenance, waste disposal etc. + 0..n + Maritime Transport + Ships Requirements + Text + Text. Type + + + + + + + + + BBIE + Maritime Transport. Gross Tonnage. Measure + Gross tonnage is calculated by measuring a ship's volume (from keel to funnel, to the outside of the hull framing) and applying a mathematical formula and is used to determine things such as a ship's manning regulations, safety rules, registration fees and port dues. + 0..1 + Maritime Transport + Gross Tonnage + Measure + Measure. Type + + + + + + + + + BBIE + Maritime Transport. Net Tonnage. Measure + Net tonnage is calculated by measuring a ship's internal volume and applying a mathematical formula and is used to calculate the port duties. + 0..1 + Maritime Transport + Net Tonnage + Measure + Measure. Type + + + + + + + + + ASBIE + Maritime Transport. Registry Certificate_ Document Reference. Document Reference + The certificate issued to the ship by the ships registry in a given flag state. + 0..1 + Maritime Transport + Registry Certificate + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Maritime Transport. Registry Port_ Location. Location + The port in which a vessel is registered or permanently based. + 0..1 + Maritime Transport + Registry Port + Location + Location + Location + + + + + + + + + + + ABIE + Message Delivery. Details + A class to describe how a message is delivered (routed). + Message Delivery + + + + + + + + + BBIE + Message Delivery. Protocol Identifier. Identifier + An identifier for the protocol to be used within this message delivery. + 0..1 + Message Delivery + Protocol Identifier + Identifier + Identifier. Type + AS2, ebMS2, AS4, WS-RM + + + + + + + + + BBIE + Message Delivery. Envelope Type Code. Code + A code signifying the type of envelope to be used within this message delivery (e.g. OASIS BDX Business Document Envelope). + 0..1 + Message Delivery + Envelope Type Code + Code + Code. Type + BDE + + + + + + + + + BBIE + Message Delivery. Endpoint URI. Identifier + The Uniform Resource Identifier (URI) of the access point (e.g. an HTTP URL including the port). + 0..1 + Message Delivery + Endpoint URI + Identifier + Identifier. Type + https://services.enterprise.com/participant-id/rx + + + + + + + + + + + ABIE + Meter. Details + A class to describe a meter and its readings. + Meter + + + + + + + + + BBIE + Meter. Meter Number. Text + The meter number, expressed as text. + 0..1 + Meter + Meter Number + Text + Text. Type + 61722x + + + + + + + + + BBIE + Meter. Meter Name. Name + The name of this meter, which serves as an identifier to distinguish a main meter from a submeter. + 0..1 + Meter + Meter Name + Name + Name. Type + + + + + + + + + BBIE + Meter. Meter Constant. Text + The factor by which readings of this meter must be multiplied to calculate consumption, expressed as text. + 0..1 + Meter + Meter Constant + Text + Text. Type + 1.000 + + + + + + + + + BBIE + Meter. Meter Constant Code. Code + A code signifying the formula to be used in applying the meter constant. + 0..1 + Meter + Meter Constant Code + Code + Code. Type + Factor + + + + + + + + + BBIE + Meter. Total_ Delivered Quantity. Quantity + The quantity delivered; the total quantity consumed as calculated from the meter readings. + 0..1 + Meter + Total + Delivered Quantity + Quantity + Quantity. Type + 5761.00 + + + + + + + + + ASBIE + Meter. Meter Reading + A reading of this meter. + 0..n + Meter + Meter Reading + Meter Reading + Meter Reading + + + + + + + + + ASBIE + Meter. Meter Property + A property of this meter. + 0..n + Meter + Meter Property + Meter Property + Meter Property + + + + + + + + + + + ABIE + Meter Property. Details + The name of this meter property. + Meter Property + + + + + + + + + BBIE + Meter Property. Name + The name of this meter property, expressed as a code. + 0..1 + Meter Property + Name + Name + Name. Type + Energy Rating , Collar Size , Fat Content + + + + + + + + + BBIE + Meter Property. Name Code. Code + The value of this meter property, expressed as text. + 0..1 + Meter Property + Name Code + Code + Code. Type + + + + + + + + + BBIE + Meter Property. Value. Text + The value of this meter property, expressed as a quantity. + 0..1 + Meter Property + Value + Text + Text. Type + 100 watts , 15 European , 20% +/- 5% + + + + + + + + + BBIE + Meter Property. Value_ Quantity. Quantity + The value of this meter property, expressed as a quantity. + 0..1 + Meter Property + Value + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Meter Property. Value Qualifier. Text + An additional value to qualify the value of the meter + 0..n + Meter Property + Value Qualifier + Text + Text. Type + + + + + + + + + + + ABIE + Meter Reading. Details + A class to describe a meter reading. + Meter Reading + + + + + + + + + BBIE + Meter Reading. Identifier + An identifier for this meter reading. + 0..1 + Meter Reading + Identifier + Identifier + Identifier. Type + 7411013716x + + + + + + + + + BBIE + Meter Reading. Meter Reading Type. Text + The type of this meter reading, expressed as text. + 0..1 + Meter Reading + Meter Reading Type + Text + Text. Type + Electricity + + + + + + + + + BBIE + Meter Reading. Meter Reading Type Code. Code + The type of this meter reading, expressed as a code. + 0..1 + Meter Reading + Meter Reading Type Code + Code + Code. Type + Electricity + + + + + + + + + BBIE + Meter Reading. Previous_ Meter Reading Date. Date + The date of the previous meter reading. + 1 + Meter Reading + Previous + Meter Reading Date + Date + Date. Type + 2006-09-01 + + + + + + + + + BBIE + Meter Reading. Previous_ Meter Quantity. Quantity + The quantity of the previous meter reading. + 1 + Meter Reading + Previous + Meter Quantity + Quantity + Quantity. Type + 122604.00 + + + + + + + + + BBIE + Meter Reading. Latest_ Meter Reading Date. Date + The date of the latest meter reading. + 1 + Meter Reading + Latest + Meter Reading Date + Date + Date. Type + 2006-09-01 + + + + + + + + + BBIE + Meter Reading. Latest_ Meter Quantity. Quantity + The quantity of the latest meter reading. + 1 + Meter Reading + Latest + Meter Quantity + Quantity + Quantity. Type + 128365.00 + + + + + + + + + BBIE + Meter Reading. Previous Meter Reading_ Method. Text + The method used for the previous meter reading, expressed as text. + 0..1 + Meter Reading + Previous Meter Reading + Method + Text + Text. Type + Manuel + + + + + + + + + BBIE + Meter Reading. Previous Meter Reading_ Method Code. Code + The method used for the previous meter reading, expressed as a code. + 0..1 + Meter Reading + Previous Meter Reading + Method Code + Code + Code. Type + Estimated + + + + + + + + + BBIE + Meter Reading. Latest Meter Reading_ Method. Text + The method used for the latest meter reading, expressed as text. + 0..1 + Meter Reading + Latest Meter Reading + Method + Text + Text. Type + Manuel + + + + + + + + + BBIE + Meter Reading. Latest Meter Reading_ Method Code. Code + The method used for the latest meter reading, expressed as a code. + 0..1 + Meter Reading + Latest Meter Reading + Method Code + Code + Code. Type + Estimated + + + + + + + + + BBIE + Meter Reading. Meter Reading_ Comments. Text + Text containing comments on this meter reading. + 0..n + Meter Reading + Meter Reading + Comments + Text + Text. Type + The last stated meterstand is estimated + + + + + + + + + BBIE + Meter Reading. Delivered_ Quantity. Quantity + Consumption in the period from PreviousMeterReadingDate to LatestMeterReadingDate. + 1 + Meter Reading + Delivered + Quantity + Quantity + Quantity. Type + + + + + + + + + + + ABIE + Miscellaneous Event. Details + A class to describe a miscellaneous event associated with a retail event. + Miscellaneous Event + + + + + + + + + BBIE + Miscellaneous Event. Miscellaneous Event Type Code. Code + A code signifying the type of this miscellaneous event. Examples are: ASSORTMENT_CHARGE DISASTER FORECAST_DECREASE FORECAST_INCREASE FREIGHT_FLOW_ALLOCATION INVENTORY_POLICY_CHANGE LOCATION_CLOSING LOCATION_OPENING OTHER OUT_OF_STOCK PACKAGING_LABELING_CHANGE PRICE_DECREASE PRICE_INCREASE STORE_FORMAT_OR_PLANOGRAM_CHANGE TEST_MARKET WEATHER + 1 + Miscellaneous Event + Miscellaneous Event Type Code + Code + Code. Type + + + + + + + + + ASBIE + Miscellaneous Event. Event Line Item + An event line item for this miscellaneous retail event. + 1..n + Miscellaneous Event + Event Line Item + Event Line Item + Event Line Item + + + + + + + + + + + ABIE + Monetary Total. Details + A class to define a monetary total. + Monetary Total + + + + + + + + + BBIE + Monetary Total. Line Extension Amount. Amount + The monetary amount of an extended transaction line, net of tax and settlement discounts, but inclusive of any applicable rounding amount. + 0..1 + Monetary Total + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Tax Exclusive Amount. Amount + The monetary amount of an extended transaction line, exclusive of taxes. + 0..1 + Monetary Total + Tax Exclusive Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Tax Inclusive Amount. Amount + The monetary amount including taxes; the sum of payable amount and prepaid amount. + 0..1 + Monetary Total + Tax Inclusive Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Allowance_ Total Amount. Amount + The total monetary amount of all allowances. + 0..1 + Monetary Total + Allowance + Total Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Charge_ Total Amount. Amount + The total monetary amount of all charges. + 0..1 + Monetary Total + Charge + Total Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Withholding Tax_ Total Amount. Amount + The total withholding tax amount. + 0..1 + Monetary Total + Withholding Tax + Total Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Prepaid Amount. Amount + The total prepaid monetary amount. + 0..1 + Monetary Total + Prepaid Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Rounding Amount. Amount + The rounding amount (positive or negative) added to produce the line extension amount. + 0..1 + Monetary Total + Payable + Rounding Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Amount. Amount + The amount of the monetary total to be paid. + 1 + Monetary Total + Payable + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Alternative Amount. Amount + The amount of the monetary total to be paid, expressed in an alternative currency. + 0..1 + Monetary Total + Payable + Alternative Amount + Amount + Amount. Type + + + + + + + + + + + ABIE + Notification Requirement. Details + A class to describe a notification requirement. + Notification Requirement + + + + + + + + + BBIE + Notification Requirement. Notification Type Code. Code + A code signifying the type of notification (e.g., pickup status). + 1 + Notification Requirement + Notification Type Code + Code + Code. Type + + + + + + + + + BBIE + Notification Requirement. Post Event Notification Duration. Measure + The length of time between the occurrence of a given event and the issuance of a notification. + 0..1 + Notification Requirement + Post Event Notification Duration + Measure + Measure. Type + + + + + + + + + BBIE + Notification Requirement. Pre Event Notification Duration. Measure + The length of time to elapse between the issuance of a notification and the occurrence of the event it relates to. + 0..1 + Notification Requirement + Pre Event Notification Duration + Measure + Measure. Type + + + + + + + + + ASBIE + Notification Requirement. Notify_ Party. Party + A party to be notified. + 0..n + Notification Requirement + Notify + Party + Party + Party + + + + + + + + + ASBIE + Notification Requirement. Notification_ Period. Period + A period during which a notification should be issued. + 0..n + Notification Requirement + Notification + Period + Period + Period + + + + + + + + + ASBIE + Notification Requirement. Notification_ Location. Location + A location at which a notification should be issued. + 0..n + Notification Requirement + Notification + Location + Location + Location + + + + + + + + + + + ABIE + On Account Payment. Details + A scheduled prepayment (on-account payment) for a estimated utility consumption + On Account Payment + + + + + + + + + BBIE + On Account Payment. Estimated_ Consumed Quantity. Quantity + The estimated consumed quantity covered by the payment. + 1 + On Account Payment + Estimated + Consumed Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + On Account Payment. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + On Account Payment + Note + Text + Text. Type + We make a reservation for price regulations. You will receive you next yearly statement about one year from today. + + + + + + + + + ASBIE + On Account Payment. Payment Terms + A specification of payment terms associated with this payment. + 1..n + On Account Payment + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + + + ABIE + Order Line. Details + A class to define a line in an order document (e.g., Order, Order Change, or Order Response) describing an item being ordered. + Order Line + + + + + + + + + BBIE + Order Line. Substitution Status Code. Code + A code signifying the substitution status of the item on this order line. The order line may indicate that the substitute is proposed by the buyer (in Order) or by the seller (in Order Response) or that a substitution has been made by the seller (in Order Response). + 0..1 + Order Line + Substitution Status Code + Code + Substitution Status + Substitution Status_ Code. Type + + + + + + + + + BBIE + Order Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Order Line + Note + Text + Text. Type + + + + + + + + + ASBIE + Order Line. Line Item + The line item itself. + 1 + Order Line + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Seller Proposed Substitute_ Line Item. Line Item + In Order Response, a line item proposed by the seller describing a product that might substitute for the product described in this order line. + 0..n + Order Line + Seller Proposed Substitute + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Seller Substituted_ Line Item. Line Item + In Order Response, a line item that has replaced the original order line item. The specified quantity and pricing may differ from those in the original line item, but when a line item is substituted by the seller, it is assumed that other information, such as shipment details, will remain the same. + 0..n + Order Line + Seller Substituted + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Buyer Proposed Substitute_ Line Item. Line Item + A description of an item proposed by the buyer as a possible alternative to the item associated with this order line. + 0..n + Order Line + Buyer Proposed Substitute + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Catalogue_ Line Reference. Line Reference + A reference to a catalogue line associated with this order line. + 0..1 + Order Line + Catalogue + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Order Line. Quotation_ Line Reference. Line Reference + A reference to a quotation line associated with this order line. + 0..1 + Order Line + Quotation + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Order Line. Order Line Reference + A reference to another order line, such as in a replacement order or another line on the same order that is related. + 0..n + Order Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Order Line. Document Reference + A reference to a document associated with this order line. + 0..n + Order Line + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Order Line Reference. Details + A class to define a reference to an order line. + Order Line Reference + + + + + + + + + BBIE + Order Line Reference. Line Identifier. Identifier + An identifier for the referenced order line, assigned by the buyer. + 1 + Order Line Reference + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. Sales Order_ Line Identifier. Identifier + An identifier for the referenced order line, assigned by the seller. + 0..1 + Order Line Reference + Sales Order + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. UUID. Identifier + A universally unique identifier for this order line reference. + 0..1 + Order Line Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. Line Status Code. Code + A code signifying the status of the referenced order line with respect to its original state. + 0..1 + Order Line Reference + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + ASBIE + Order Line Reference. Order Reference + A reference to the Order containing the referenced order line. + 0..1 + Order Line Reference + Order Reference + Order Reference + Order Reference + + + + + + + + + + + ABIE + Order Reference. Details + A class to define a reference to an Order. + Order Reference + + + + + + + + + BBIE + Order Reference. Identifier + An identifier for this order reference, assigned by the buyer. + 1 + Order Reference + Identifier + Identifier + Identifier. Type + PO-001 3333-44-123 + + + + + + + + + BBIE + Order Reference. Sales_ Order Identifier. Identifier + An identifier for this order reference, assigned by the seller. + 0..1 + Order Reference + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Reference. Copy_ Indicator. Indicator + Indicates whether the referenced Order is a copy (true) or the original (false). + 0..1 + Order Reference + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Reference. UUID. Identifier + A universally unique identifier for this order reference. + 0..1 + Order Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Reference. Issue Date. Date + The date on which the referenced Order was issued. + 0..1 + Order Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Reference. Issue Time. Time + The time at which the referenced Order was issued. + 0..1 + Order Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Reference. Customer_ Reference. Text + Text used for tagging purchasing card transactions. + 0..1 + Order Reference + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Reference. Order Type Code. Code + A code signifying the type of the referenced Order. + 0..1 + Order Reference + Order Type Code + Code + Code. Type + + + + + + + + + ASBIE + Order Reference. Document Reference + A document associated with this reference to an Order. + 0..1 + Order Reference + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Ordered Shipment. Details + A class to describe an ordered shipment. + Ordered Shipment + + + + + + + + + ASBIE + Ordered Shipment. Shipment + The ordered shipment. + 1 + Ordered Shipment + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Ordered Shipment. Package + A package in this ordered shipment. + 0..n + Ordered Shipment + Package + Package + Package + + + + + + + + + + + ABIE + Package. Details + A class to describe a package. + Package + + + + + + + + + BBIE + Package. Identifier + An identifier for this package. + 0..1 + Package + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Package. Quantity + The quantity of items contained in this package. + 0..1 + Package + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Package. Returnable Material_ Indicator. Indicator + An indicator that the packaging material is returnable (true) or not (false). + 0..1 + Package + Returnable Material + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Package. Package Level Code. Code + A code signifying a level of packaging. + 0..1 + Package + Package Level Code + Code + Code. Type + + + + + + + + + BBIE + Package. Packaging Type Code. Code + A code signifying a type of packaging. + 0..1 + Package + Packaging Type Code + Code + Packaging Type + Packaging Type_ Code. Type + Package classification code + + + + + + + + + BBIE + Package. Packing Material. Text + Text describing the packaging material. + 0..n + Package + Packing Material + Text + Text. Type + + + + + + + + + BBIE + Package. Trace_ Identifier. Identifier + An identifier for use in tracing this package, such as the EPC number used in RFID. + 0..1 + Package + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Package. Contained_ Package. Package + A package contained within this package. + 0..n + Package + Contained + Package + Package + Package + + + + + + + + + ASBIE + Package. Containing_ Transport Equipment. Transport Equipment + The piece of transport equipment containing this package. + 0..1 + Package + Containing + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Package. Goods Item + A goods item included in this package. + 0..n + Package + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Package. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this package. + 0..n + Package + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Package. Delivery Unit + A delivery unit within this package. + 0..n + Package + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Package. Delivery + The delivery of this package. + 0..1 + Package + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Package. Pickup + The pickup of this package. + 0..1 + Package + Pickup + Pickup + Pickup + + + + + + + + + ASBIE + Package. Despatch + The despatch of this package. + 0..1 + Package + Despatch + Despatch + Despatch + + + + + + + + + + + ABIE + Participant Party. Details + A class to describe a participant party. + Participant Party + + + + + + + + + BBIE + Participant Party. Initiating Party_ Indicator. Indicator + An indicator that this party is playing the role of the initiator within a transaction (true) or not (false). + 0..1 + Participant Party + Initiating Party + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Participant Party. Private Party_ Indicator. Indicator + An indicator that this party is a private entity (true) or not (false). + 0..1 + Participant Party + Private Party + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Participant Party. Public Party_ Indicator. Indicator + An indicator that this party is a public (governmental) entity (true) or not (false). + 0..1 + Participant Party + Public Party + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Participant Party. Service Provider Party_ Indicator. Indicator + An indicator that this party is a service provider (true) or not (false). + 0..1 + Participant Party + Service Provider Party + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Participant Party. Party + The participant party itself. + 1 + Participant Party + Party + Party + Party + + + + + + + + + ASBIE + Participant Party. Legal_ Contact. Contact + A legal contact associated to this participant for sending legal notices. + 0..1 + Participant Party + Legal + Contact + Contact + Contact + + + + + + + + + ASBIE + Participant Party. Technical_ Contact. Contact + A technical contact associated to this participant. + 0..1 + Participant Party + Technical + Contact + Contact + Contact + + + + + + + + + ASBIE + Participant Party. Support_ Contact. Contact + A support contact associated to this participant. + 0..1 + Participant Party + Support + Contact + Contact + Contact + + + + + + + + + ASBIE + Participant Party. Commercial_ Contact. Contact + A commercial contact associated to this participant. + 0..1 + Participant Party + Commercial + Contact + Contact + Contact + + + + + + + + + + + ABIE + Party. Details + A class to describe an organization, sub-organization, or individual fulfilling a role in a business process. + Party + + + + + + + + + BBIE + Party. Mark Care_ Indicator. Indicator + An indicator that this party is "care of" (c/o) (true) or not (false). + 0..1 + Party + Mark Care + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party. Mark Attention_ Indicator. Indicator + An indicator that this party is "for the attention of" (FAO) (true) or not (false). + 0..1 + Party + Mark Attention + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party. Website_ URI. Identifier + The Uniform Resource Identifier (URI) that identifies this party's web site; i.e., the web site's Uniform Resource Locator (URL). + 0..1 + Party + Website + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Party. Logo Reference. Identifier + An identifier for this party's logo. + 0..1 + Party + Logo Reference + Identifier + Identifier. Type + http://www2.coca-cola.com/images/logo.gif + + + + + + + + + BBIE + Party. Endpoint Identifier. Identifier + An identifier for the end point of the routing service (e.g., EAN Location Number, GLN). + 0..1 + Party + Endpoint Identifier + Identifier + Identifier. Type + 5790002221134 + + + + + + + + + BBIE + Party. Industry Classification Code. Code + This party's Industry Classification Code. + 0..1 + Party + Industry Classification Code + Code + Code. Type + Public authority , NAIC codes + + + + + + + + + ASBIE + Party. Party Identification + An identifier for this party. + 0..n + Party + Party Identification + Party Identification + Party Identification + + + + + + + + + ASBIE + Party. Party Name + A name for this party. + 0..n + Party + Party Name + Party Name + Party Name + + + + + + + + + ASBIE + Party. Language + The language associated with this party. + 0..1 + Party + Language + Language + Language + + + + + + + + + ASBIE + Party. Postal_ Address. Address + The party's postal address. + 0..1 + Party + Postal + Address + Address + Address + + + + + + + + + ASBIE + Party. Physical_ Location. Location + The physical location of this party. + 0..1 + Party + Physical + Location + Location + Location + + + + + + + + + ASBIE + Party. Party Tax Scheme + A tax scheme applying to this party. + 0..n + Party + Party Tax Scheme + Party Tax Scheme + Party Tax Scheme + + + + + + + + + ASBIE + Party. Party Legal Entity + A description of this party as a legal entity. + 0..n + Party + Party Legal Entity + Party Legal Entity + Party Legal Entity + + + + + + + + + ASBIE + Party. Contact + The primary contact for this party. + 0..1 + Party + Contact + Contact + Contact + + + + + + + + + ASBIE + Party. Person + A person associated with this party. + 0..n + Party + Person + Person + Person + + + + + + + + + ASBIE + Party. Agent_ Party. Party + A party who acts as an agent for this party. + 0..1 + Party + Agent + Party + Party + Party + Customs Broker + + + + + + + + + ASBIE + Party. Service Provider Party + A party providing a service to this party. + 0..n + Party + Service Provider Party + Service Provider Party + Service Provider Party + + + + + + + + + ASBIE + Party. Power Of Attorney + A power of attorney associated with this party. + 0..n + Party + Power Of Attorney + Power Of Attorney + Power Of Attorney + + + + + + + + + ASBIE + Party. Financial Account + The financial account associated with this party. + 0..1 + Party + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Party. Additional_ Web Site. Web Site + An additional web site associated with this party (e.g. a satellite web site). + 0..n + Party + Additional + Web Site + Web Site + Web Site + + + + + + + + + ASBIE + Party. Social Media Profile + A social media profile associated with this party. + 0..n + Party + Social Media Profile + Social Media Profile + Social Media Profile + + + + + + + + + + + ABIE + Party Identification. Details + A class to define an identifier for a party. + Party Identification + + + + + + + + + BBIE + Party Identification. Identifier + An identifier for the party. + 1 + Party Identification + Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Party Legal Entity. Details + A class to describe a party as a legal entity. + Party Legal Entity + + + + + + + + + BBIE + Party Legal Entity. Registration_ Name. Name + The name of the party as registered with the relevant legal authority. + 0..1 + Party Legal Entity + Registration + Name + Name + Name. Type + Microsoft Corporation + + + + + + + + + BBIE + Party Legal Entity. Company Identifier. Identifier + An identifier for the party as registered within a company registration scheme. + 0..1 + Party Legal Entity + Company Identifier + Identifier + Identifier. Type + Business Registration Number, Company Number + 3556625 + + + + + + + + + BBIE + Party Legal Entity. Registration_ Date. Date + The registration date of the CompanyID. + 0..1 + Party Legal Entity + Registration + Date + Date + Date. Type + + + + + + + + + BBIE + Party Legal Entity. Registration Expiration_ Date. Date + The date upon which a registration expires (e.g., registration for an import/export license). + 0..1 + Party Legal Entity + Registration Expiration + Date + Date + Date. Type + + + + + + + + + BBIE + Party Legal Entity. Company Legal Form Code. Code + A code signifying the party's legal status. + 0..1 + Party Legal Entity + Company Legal Form Code + Code + Code. Type + Legal Status + + + + + + + + + BBIE + Party Legal Entity. Company Legal Form. Text + The company legal status, expressed as a text. + 0..1 + Party Legal Entity + Company Legal Form + Text + Text. Type + + + + + + + + + BBIE + Party Legal Entity. Sole Proprietorship Indicator. Indicator + An indicator that the company is owned and controlled by one person (true) or not (false). + 0..1 + Party Legal Entity + Sole Proprietorship Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party Legal Entity. Company Liquidation Status Code. Code + A code signifying the party's liquidation status. + 0..1 + Party Legal Entity + Company Liquidation Status Code + Code + Code. Type + + + + + + + + + BBIE + Party Legal Entity. Corporate Stock_ Amount. Amount + The number of shares in the capital stock of a corporation. + 0..1 + Party Legal Entity + Corporate Stock + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Party Legal Entity. Fully Paid Shares Indicator. Indicator + An indicator that all shares of corporate stock have been paid by shareholders (true) or not (false). + 0..1 + Party Legal Entity + Fully Paid Shares Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Party Legal Entity. Registration_ Address. Address + The registered address of the party within a corporate registration scheme. + 0..1 + Party Legal Entity + Registration + Address + Address + Address + + + + + + + + + ASBIE + Party Legal Entity. Corporate Registration Scheme + The corporate registration scheme used to register the party. + 0..1 + Party Legal Entity + Corporate Registration Scheme + Corporate Registration Scheme + Corporate Registration Scheme + + + + + + + + + ASBIE + Party Legal Entity. Head Office_ Party. Party + The head office of the legal entity + 0..1 + Party Legal Entity + Head Office + Party + Party + Party + + + + + + + + + ASBIE + Party Legal Entity. Shareholder Party + A party owning shares in this legal entity. + 0..n + Party Legal Entity + Shareholder Party + Shareholder Party + Shareholder Party + + + + + + + + + + + ABIE + Party Name. Details + A class for defining the name of a party. + Party Name + + + + + + + + + BBIE + Party Name. Name + The name of the party. + 1 + Party Name + Name + Name + Name. Type + Microsoft + + + + + + + + + + + ABIE + Party Tax Scheme. Details + A class to describe a taxation scheme applying to a party. + Party Tax Scheme + + + + + + + + + BBIE + Party Tax Scheme. Registration_ Name. Name + The name of the party as registered with the relevant fiscal authority. + 0..1 + Party Tax Scheme + Registration + Name + Name + Name. Type + Microsoft Corporation + + + + + + + + + BBIE + Party Tax Scheme. Company Identifier. Identifier + An identifier for the party assigned for tax purposes by the taxation authority. + 0..1 + Party Tax Scheme + Company Identifier + Identifier + Identifier. Type + VAT Number + 3556625 + + + + + + + + + BBIE + Party Tax Scheme. Tax Level Code. Code + A code signifying the tax level applicable to the party within this taxation scheme. + 0..1 + Party Tax Scheme + Tax Level Code + Code + Code. Type + + + + + + + + + BBIE + Party Tax Scheme. Exemption Reason Code. Code + A reason for the party's exemption from tax, expressed as a code. + 0..1 + Party Tax Scheme + Exemption Reason Code + Code + Code. Type + + + + + + + + + BBIE + Party Tax Scheme. Exemption_ Reason. Text + A reason for the party's exemption from tax, expressed as text. + 0..n + Party Tax Scheme + Exemption + Reason + Text + Text. Type + + + + + + + + + ASBIE + Party Tax Scheme. Registration_ Address. Address + The address of the party as registered for tax purposes. + 0..1 + Party Tax Scheme + Registration + Address + Address + Address + + + + + + + + + ASBIE + Party Tax Scheme. Tax Scheme + The taxation scheme applicable to the party. + 1 + Party Tax Scheme + Tax Scheme + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Payment. Details + A class to describe a payment. + Payment + + + + + + + + + BBIE + Payment. Identifier + An identifier for this payment. + 0..1 + Payment + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment. Paid_ Amount. Amount + The amount of this payment. + 0..1 + Payment + Paid + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment. Received_ Date. Date + The date on which this payment was received. + 0..1 + Payment + Received + Date + Date + Date. Type + + + + + + + + + BBIE + Payment. Paid_ Date. Date + The date on which this payment was made. + 0..1 + Payment + Paid + Date + Date + Date. Type + + + + + + + + + BBIE + Payment. Paid_ Time. Time + The time at which this payment was made. + 0..1 + Payment + Paid + Time + Time + Time. Type + + + + + + + + + BBIE + Payment. Instruction Identifier. Identifier + An identifier for the payment instruction. + 0..1 + Payment + Instruction Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Payment Mandate. Details + A class to describe a payment mandate. + Payment Mandate + + + + + + + + + BBIE + Payment Mandate. Identifier + An identifier for this payment mandate. + 0..1 + Payment Mandate + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Mandate. Mandate Type Code. Code + A code signifying the type of this payment mandate. + 0..1 + Payment Mandate + Mandate Type Code + Code + Code. Type + + + + + + + + + BBIE + Payment Mandate. Maximum Payment Instructions. Numeric + The number of maximum payment instructions allowed within the validity period. + 0..1 + Payment Mandate + Maximum Payment Instructions + Numeric + Numeric. Type + + + + + + + + + BBIE + Payment Mandate. Maximum_ Paid Amount. Amount + The maximum amount to be paid within a single instruction. + 0..1 + Payment Mandate + Maximum + Paid Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Mandate. Signature Identifier. Identifier + An identifier for a signature applied by a signatory party. + 0..1 + Payment Mandate + Signature Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Payment Mandate. Payer_ Party. Party + The payer party (if different from the debtor). + 0..1 + Payment Mandate + Payer + Party + Party + Party + + + + + + + + + ASBIE + Payment Mandate. Payer_ Financial Account. Financial Account + The payer's financial account. + 0..1 + Payment Mandate + Payer + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Mandate. Validity_ Period. Period + The period during which this mandate is valid. + 0..1 + Payment Mandate + Validity + Period + Period + Period + + + + + + + + + ASBIE + Payment Mandate. Payment Reversal_ Period. Period + The period of the reverse payment. + 0..1 + Payment Mandate + Payment Reversal + Period + Period + Period + + + + + + + + + ASBIE + Payment Mandate. Clause + A clause applicable to this payment mandate. + 0..n + Payment Mandate + Clause + Clause + Clause + + + + + + + + + + + ABIE + Payment Means. Details + A class to describe a means of payment. + Payment Means + + + + + + + + + BBIE + Payment Means. Identifier + An identifier for this means of payment. + 0..1 + Payment Means + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Means. Payment Means Code. Code + A code signifying the type of this means of payment. + 1 + Payment Means + Payment Means Code + Code + Payment Means + Payment Means_ Code. Type + + + + + + + + + BBIE + Payment Means. Payment Due Date. Date + The date on which payment is due for this means of payment. + 0..1 + Payment Means + Payment Due Date + Date + Date. Type + + + + + + + + + BBIE + Payment Means. Payment Channel Code. Code + A code signifying the payment channel for this means of payment. + 0..1 + Payment Means + Payment Channel Code + Code + Code. Type + + + + + + + + + BBIE + Payment Means. Instruction Identifier. Identifier + An identifier for the payment instruction. + 0..1 + Payment Means + Instruction Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Means. Instruction_ Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Payment Means + Instruction + Note + Text + Text. Type + + + + + + + + + BBIE + Payment Means. Payment Identifier. Identifier + An identifier for a payment made using this means of payment. + 0..n + Payment Means + Payment Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Payment Means. Card Account + A credit card, debit card, or charge card account that constitutes this means of payment. + 0..1 + Payment Means + Card Account + Card Account + Card Account + + + + + + + + + ASBIE + Payment Means. Payer_ Financial Account. Financial Account + The payer's financial account. + 0..1 + Payment Means + Payer + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Means. Payee_ Financial Account. Financial Account + The payee's financial account. + 0..1 + Payment Means + Payee + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Means. Credit Account + A credit account associated with this means of payment. + 0..1 + Payment Means + Credit Account + Credit Account + Credit Account + + + + + + + + + ASBIE + Payment Means. Payment Mandate + The payment mandate associated with this means of payment. + 0..1 + Payment Means + Payment Mandate + Payment Mandate + Payment Mandate + + + + + + + + + ASBIE + Payment Means. Trade Financing + A trade finance agreement applicable to this means of payment. + 0..1 + Payment Means + Trade Financing + Trade Financing + Trade Financing + + + + + + + + + + + ABIE + Payment Terms. Details + A class to describe a set of payment terms. + Payment Terms + + + + + + + + + BBIE + Payment Terms. Identifier + An identifier for this set of payment terms. + 0..1 + Payment Terms + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Payment Means Identifier. Identifier + An identifier for a means of payment associated with these payment terms. + 0..n + Payment Terms + Payment Means Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Prepaid Payment Reference Identifier. Identifier + An identifier for a reference to a prepaid payment. + 0..1 + Payment Terms + Prepaid Payment Reference Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Payment Terms + Note + Text + Text. Type + + + + + + + + + BBIE + Payment Terms. Reference_ Event Code. Code + A code signifying the event during which these terms are offered. + 0..1 + Payment Terms + Reference + Event Code + Code + Code. Type + + + + + + + + + BBIE + Payment Terms. Settlement_ Discount Percent. Percent + The percentage for the settlement discount that is offered for payment under these payment terms. + 0..1 + Payment Terms + Settlement + Discount Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Penalty_ Surcharge Percent. Percent + The penalty for payment after the settlement period, expressed as a percentage of the payment. + 0..1 + Payment Terms + Penalty + Surcharge Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Payment Percent. Percent + The part of a payment, expressed as a percent, relevant for these payment terms. + 0..1 + Payment Terms + Payment Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Amount + The monetary amount covered by these payment terms. + 0..1 + Payment Terms + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Terms. Settlement_ Discount Amount. Amount + The amount of a settlement discount offered for payment under these payment terms. + 0..1 + Payment Terms + Settlement + Discount Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Terms. Penalty_ Amount. Amount + The monetary amount of the penalty for payment after the settlement period. + 0..1 + Payment Terms + Penalty + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Terms. Payment Terms Details URI. Identifier + The Uniform Resource Identifier (URI) of a document providing additional details regarding these payment terms. + 0..1 + Payment Terms + Payment Terms Details URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Payment Due Date. Date + The due date for these payment terms. + 0..1 + Payment Terms + Payment Due Date + Date + Date. Type + + + + + + + + + BBIE + Payment Terms. Installment Due Date. Date + The due date for an installment payment for these payment terms. + 0..1 + Payment Terms + Installment Due Date + Date + Date. Type + + + + + + + + + BBIE + Payment Terms. Invoicing Party_ Reference. Text + A reference to the payment terms used by the invoicing party. This may have been requested of the payer by the payee to accompany its remittance. + 0..1 + Payment Terms + Invoicing Party + Reference + Text + Text. Type + + + + + + + + + ASBIE + Payment Terms. Settlement_ Period. Period + The period during which settlement may occur. + 0..1 + Payment Terms + Settlement + Period + Period + Period + + + + + + + + + ASBIE + Payment Terms. Penalty_ Period. Period + The period during which penalties may apply. + 0..1 + Payment Terms + Penalty + Period + Period + Period + + + + + + + + + ASBIE + Payment Terms. Exchange Rate + The currency exchange rate for purposes of these payment terms. + 0..1 + Payment Terms + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Payment Terms. Validity_ Period. Period + The period during which these payment terms are valid. + 0..1 + Payment Terms + Validity + Period + Period + Period + + + + + + + + + + + ABIE + Performance Data Line. Details + A class to define a line in a Performance History. + Performance Data Line + + + + + + + + + BBIE + Performance Data Line. Identifier + An identifier for this performance data line. + 1 + Performance Data Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Performance Data Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Performance Data Line + Note + Text + Text. Type + + + + + + + + + BBIE + Performance Data Line. Performance Value. Quantity + The value of the reported attribute. + 1 + Performance Data Line + Performance Value + Quantity + Quantity. Type + + + + + + + + + BBIE + Performance Data Line. Performance Metric Type Code. Code + A code signifying the measure of performance applicable to the reported attribute. + 1 + Performance Data Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Performance Data Line. Period + The period to which this performance data line applies. + 0..1 + Performance Data Line + Period + Period + Period + + + + + + + + + ASBIE + Performance Data Line. Item + The item whose performance is reported in this data line. + 0..1 + Performance Data Line + Item + Item + Item + + + + + + + + + + + ABIE + Period. Details + A class to describe a period of time. + Period + + + + + + + + + BBIE + Period. Start Date. Date + The date on which this period begins. + 0..1 + Period + Start Date + Date + Date. Type + + + + + + + + + BBIE + Period. Start Time. Time + The time at which this period begins. + 0..1 + Period + Start Time + Time + Time. Type + + + + + + + + + BBIE + Period. End Date. Date + The date on which this period ends. + 0..1 + Period + End Date + Date + Date. Type + + + + + + + + + BBIE + Period. End Time. Time + The time at which this period ends. + 0..1 + Period + End Time + Time + Time. Type + + + + + + + + + BBIE + Period. Duration. Measure + The duration of this period, expressed as an ISO 8601 code. + 0..1 + Period + Duration + Measure + Measure. Type + + + + + + + + + BBIE + Period. Description Code. Code + A description of this period, expressed as a code. + 0..n + Period + Description Code + Code + Code. Type + + + + + + + + + BBIE + Period. Description. Text + A description of this period, expressed as text. + 0..n + Period + Description + Text + Text. Type + + + + + + + + + + + ABIE + Person. Details + A class to describe a person. + Person + + + + + + + + + BBIE + Person. Identifier + An identifier for this person. + 0..1 + Person + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Person. First_ Name. Name + This person's given name. + 0..1 + Person + First + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Family_ Name. Name + This person's family name. + 0..1 + Person + Family + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Title. Text + This person's title of address (e.g., Mr, Ms, Dr, Sir). + 0..1 + Person + Title + Text + Text. Type + + + + + + + + + BBIE + Person. Middle_ Name. Name + This person's middle name(s) or initials. + 0..1 + Person + Middle + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Other_ Name. Name + This person's second family name. + 0..1 + Person + Other + Name + Name + Name. Type + Delivery Dock + + + + + + + + + BBIE + Person. Name Suffix. Text + A suffix to this person's name (e.g., PhD, OBE, Jr). + 0..1 + Person + Name Suffix + Text + Text. Type + + + + + + + + + BBIE + Person. Job Title. Text + This person's job title (for a particular role) within an organization. + 0..1 + Person + Job Title + Text + Text. Type + + + + + + + + + BBIE + Person. Nationality. Identifier + An identifier for this person's nationality. + 0..1 + Person + Nationality + Identifier + Identifier. Type + + + + + + + + + BBIE + Person. Gender Code. Code + A code (e.g., ISO 5218) signifying the gender of this person. + 0..1 + Person + Gender Code + Code + Code. Type + + + + + + + + + BBIE + Person. Birth Date. Date + This person's date of birth. + 0..1 + Person + Birth Date + Date + Date. Type + + + + + + + + + BBIE + Person. Birthplace Name. Name + The name of the place where this person was born, expressed as text. + 0..1 + Person + Birthplace Name + Name + Name. Type + + + + + + + + + BBIE + Person. Organization_ Department. Text + The department or subdivision of an organization that this person belongs to (in a particular role). + 0..1 + Person + Organization + Department + Text + Text. Type + + + + + + + + + BBIE + Person. Role Code. Code + A code stating the person's role + 0..1 + Person + Role Code + Code + Code. Type + + + + + + + + + ASBIE + Person. Citizenship_ Country. Country + The country of the person's citizenship. + 0..1 + Person + Citizenship + Country + Country + Country + + + + + + + + + ASBIE + Person. Contact + Contact information for this person. + 0..1 + Person + Contact + Contact + Contact + + + + + + + + + ASBIE + Person. Financial Account + The financial account associated with this person. + 0..1 + Person + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Person. Identity_ Document Reference. Document Reference + A reference to a document that can precisely identify this person (e.g., a driver's license). + 0..n + Person + Identity + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Person. Residence_ Address. Address + This person's address of residence. + 0..1 + Person + Residence + Address + Address + Address + + + + + + + + + + + ABIE + Physical Attribute. Details + A class to describe a physical attribute. + Physical Attribute + + + + + + + + + BBIE + Physical Attribute. Attribute Identifier. Identifier + An identifier for this physical attribute. + 1 + Physical Attribute + Attribute Identifier + Identifier + Identifier. Type + colour style + + + + + + + + + BBIE + Physical Attribute. Position Code. Code + A code signifying the position of this physical attribute. + 0..1 + Physical Attribute + Position Code + Code + Code. Type + + + + + + + + + BBIE + Physical Attribute. Description Code. Code + A description of the physical attribute, expressed as a code. + 0..1 + Physical Attribute + Description Code + Code + Code. Type + XXL , Small + + + + + + + + + BBIE + Physical Attribute. Description. Text + A description of the physical attribute, expressed as text. + 0..n + Physical Attribute + Description + Text + Text. Type + + + + + + + + + + + ABIE + Pickup. Details + A class to describe a pickup for delivery. + Pickup + Collection + + + + + + + + + BBIE + Pickup. Identifier + An identifier for this pickup. + 0..1 + Pickup + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Pickup. Actual_ Pickup Date. Date + The actual pickup date. + 0..1 + Pickup + Actual + Pickup Date + Date + Date. Type + + + + + + + + + BBIE + Pickup. Actual_ Pickup Time. Time + The actual pickup time. + 0..1 + Pickup + Actual + Pickup Time + Time + Time. Type + + + + + + + + + BBIE + Pickup. Earliest_ Pickup Date. Date + The earliest pickup date. + 0..1 + Pickup + Earliest + Pickup Date + Date + Date. Type + + + + + + + + + BBIE + Pickup. Earliest_ Pickup Time. Time + The earliest pickup time. + 0..1 + Pickup + Earliest + Pickup Time + Time + Time. Type + + + + + + + + + BBIE + Pickup. Latest_ Pickup Date. Date + The latest pickup date. + 0..1 + Pickup + Latest + Pickup Date + Date + Date. Type + + + + + + + + + BBIE + Pickup. Latest_ Pickup Time. Time + The latest pickup time. + 0..1 + Pickup + Latest + Pickup Time + Time + Time. Type + + + + + + + + + ASBIE + Pickup. Pickup_ Location. Location + The pickup location. + 0..1 + Pickup + Pickup + Location + Location + Location + + + + + + + + + ASBIE + Pickup. Pickup_ Party. Party + The party responsible for picking up a delivery. + 0..1 + Pickup + Pickup + Party + Party + Party + + + + + + + + + + + ABIE + Post Award Process. Details + A class to describe a post award process. These processes following the agreement on a contract for supply of goods or services ( for example, after the awarding of a tender). + Post Award Process + + + + + + + + + BBIE + Post Award Process. Electronic Catalogue Usage. Indicator + An indicator to specify whether an electronic catalogue will be used during the post award phase. + 0..1 + Post Award Process + Electronic Catalogue Usage + Indicator + Indicator. Type + + + + + + + + + BBIE + Post Award Process. Electronic Invoice Accepted. Indicator + An indicator on whether the electronic invoice is allowed for this process. + 0..1 + Post Award Process + Electronic Invoice Accepted + Indicator + Indicator. Type + + + + + + + + + BBIE + Post Award Process. Electronic Order Usage. Indicator + An indicator on whether electronic ordering shall be used in the post award process. + 0..1 + Post Award Process + Electronic Order Usage + Indicator + Indicator. Type + + + + + + + + + BBIE + Post Award Process. Electronic Payment Usage. Indicator + An indicator on whether electronic payment shall be used in the post award process. + 0..n + Post Award Process + Electronic Payment Usage + Indicator + Indicator. Type + + + + + + + + + + + ABIE + Power Of Attorney. Details + A class to describe a power of attorney. + Power Of Attorney + + + + + + + + + BBIE + Power Of Attorney. Identifier + An identifier for this power of attorney. + 0..1 + Power Of Attorney + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Power Of Attorney. Issue Date. Date + The date on which this power of attorney was issued. + 0..1 + Power Of Attorney + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Power Of Attorney. Issue Time. Time + The time at which this power of attorney was issued. + 0..1 + Power Of Attorney + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Power Of Attorney. Description. Text + Text describing this power of attorney. + 0..n + Power Of Attorney + Description + Text + Text. Type + + + + + + + + + ASBIE + Power Of Attorney. Notary_ Party. Party + The party notarizing this power of attorney. + 0..1 + Power Of Attorney + Notary + Party + Party + Party + + + + + + + + + ASBIE + Power Of Attorney. Agent_ Party. Party + The party who acts as an agent or fiduciary for the principal and who holds this power of attorney on behalf of the principal. + 1 + Power Of Attorney + Agent + Party + Party + Party + + + + + + + + + ASBIE + Power Of Attorney. Witness_ Party. Party + An association to a WitnessParty. + 0..n + Power Of Attorney + Witness + Party + Party + Party + + + + + + + + + ASBIE + Power Of Attorney. Mandate_ Document Reference. Document Reference + A reference to a mandate associated with this power of attorney. + 0..n + Power Of Attorney + Mandate + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Price. Details + A class to describe a price, expressed in a data structure containing multiple properties (compare with UnstructuredPrice). + Price + + + + + + + + + BBIE + Price. Price Amount. Amount + The amount of the price. + 1 + Price + Price Amount + Amount + Amount. Type + unit price + 23.45 + + + + + + + + + BBIE + Price. Base_ Quantity. Quantity + The quantity at which this price applies. + 0..1 + Price + Base + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Price. Price Change_ Reason. Text + A reason for a price change. + 0..n + Price + Price Change + Reason + Text + Text. Type + Clearance of old stock , New contract applies + + + + + + + + + BBIE + Price. Price Type Code. Code + The type of price, expressed as a code. + 0..1 + Price + Price Type Code + Code + Code. Type + + + + + + + + + BBIE + Price. Price Type. Text + The type of price, expressed as text. + 0..1 + Price + Price Type + Text + Text. Type + retail, wholesale, discount, contract + + + + + + + + + BBIE + Price. Orderable Unit Factor. Rate + The factor by which the base price unit can be converted to the orderable unit. + 0..1 + Price + Orderable Unit Factor + Rate + Rate. Type + Nails are priced by weight but ordered by quantity. So this would say how many nails per kilo + + + + + + + + + ASBIE + Price. Validity_ Period. Period + A period during which this price is valid. + 0..n + Price + Validity + Period + Period + Period + + + + + + + + + ASBIE + Price. Price List + Information about a price list applicable to this price. + 0..1 + Price + Price List + Price List + Price List + + + + + + + + + ASBIE + Price. Allowance Charge + An allowance or charge associated with this price. + 0..n + Price + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Price. Pricing_ Exchange Rate. Exchange Rate + The exchange rate applicable to this price, if it differs from the exchange rate applicable to the document as a whole. + 0..1 + Price + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Price Extension. Details + A class to describe a price extension, calculated by multiplying the price per unit by the quantity of items. + Price Extension + + + + + + + + + BBIE + Price Extension. Amount + The amount of this price extension. + 1 + Price Extension + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Price Extension. Tax Total + A total amount of taxes of a particular kind applicable to this price extension. + 0..n + Price Extension + Tax Total + Tax Total + Tax Total + + + + + + + + + + + ABIE + Price List. Details + A class to describe a price list. + Price List + + + + + + + + + BBIE + Price List. Identifier + An identifier for this price list. + 0..1 + Price List + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Price List. Status Code. Code + A code signifying whether this price list is an original, copy, revision, or cancellation. + 0..1 + Price List + Status Code + Code + Code. Type + new - announcement only , new and available , deleted - announcement only + + + + + + + + + ASBIE + Price List. Validity_ Period. Period + A period during which this price list is valid. + 0..n + Price List + Validity + Period + Period + Period + + + + + + + + + ASBIE + Price List. Previous_ Price List. Price List + The previous price list. + 0..1 + Price List + Previous + Price List + Price List + Price List + + + + + + + + + + + ABIE + Pricing Reference. Details + A reference to the basis for pricing. This may be based on a catalogue or a quoted amount from a price list and include some alternative pricing conditions. + Pricing Reference + + + + + + + + + ASBIE + Pricing Reference. Original_ Item Location Quantity. Item Location Quantity + An original set of location-specific properties (e.g., price and quantity) associated with this item. + 0..1 + Pricing Reference + Original + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Pricing Reference. Alternative Condition_ Price. Price + The price expressed in terms other than the actual price, e.g., the list price v. the contracted price, or the price in bags v. the price in kilos, or the list price in bags v. the contracted price in kilos. + 0..n + Pricing Reference + Alternative Condition + Price + Price + Price + + + + + + + + + + + ABIE + Process Justification. Details + A class to describe a justification for the choice of tendering process. + Process Justification + + + + + + + + + BBIE + Process Justification. Previous_ Cancellation Reason Code. Code + A code signifying the type of the previous tendering process (which is now being cancelled). + 0..1 + Process Justification + Previous + Cancellation Reason Code + Code + Code. Type + + + + + + + + + BBIE + Process Justification. Process_ Reason Code. Code + The reason why the contracting authority has followed a particular tendering procedure for the awarding of a contract, expressed as a code. + 0..1 + Process Justification + Process + Reason Code + Code + Code. Type + + + + + + + + + BBIE + Process Justification. Process_ Reason. Text + The reason why the contracting authority has followed a particular tendering procedure for the awarding of a contract, expressed as text. + 0..n + Process Justification + Process + Reason + Text + Text. Type + + + + + + + + + BBIE + Process Justification. Description. Text + Text providing justification for the selection of this process. + 0..n + Process Justification + Description + Text + Text. Type + + + + + + + + + + + ABIE + Procurement Project. Details + A class to describe a project to procure goods, works, or services. + Procurement Project + + + + + + + + + BBIE + Procurement Project. Identifier + An identifier for this procurement project. + 0..1 + Procurement Project + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Procurement Project. Name + A name of this procurement project. + 0..n + Procurement Project + Name + Name + Name. Type + + + + + + + + + BBIE + Procurement Project. Description. Text + Text describing this procurement project. + 0..n + Procurement Project + Description + Text + Text. Type + + + + + + + + + BBIE + Procurement Project. Procurement_ Type Code. Code + A code signifying the type of procurement project (e.g., goods, works, services). + 0..1 + Procurement Project + Procurement + Type Code + Code + Code. Type + + + + + + + + + BBIE + Procurement Project. Procurement Sub_ Type Code. Code + A code signifying the subcategory of the type of work for this project (e.g., land surveying, IT consulting). + 0..1 + Procurement Project + Procurement Sub + Type Code + Code + Code. Type + + + + + + + + + BBIE + Procurement Project. Quality Control Code. Code + The indication of whether or not the control quality is included in the works project. + 0..1 + Procurement Project + Quality Control Code + Code + Code. Type + + + + + + + + + BBIE + Procurement Project. Required_ Fee. Amount + The amount of the reimbursement fee for concession procurement projects. + 0..1 + Procurement Project + Required + Fee + Amount + Amount. Type + + + + + + + + + BBIE + Procurement Project. Fee_ Description. Text + Text describing the reimbursement fee for concession procurement projects. + 0..n + Procurement Project + Fee + Description + Text + Text. Type + + + + + + + + + BBIE + Procurement Project. Requested_ Delivery Date. Date + The requested delivery date for this procurement project. + 0..1 + Procurement Project + Requested + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Procurement Project. Estimated_ Overall Contract. Quantity + The estimated overall quantity for this procurement project. + 0..1 + Procurement Project + Estimated + Overall Contract + Quantity + Quantity. Type + + + + + + + + + BBIE + Procurement Project. Note. Text + Free-form text applying to the Procurement Project. This element may contain additional information about the lot/contract that is not contained explicitly in another structure. + 0..n + Procurement Project + Note + Text + Text. Type + + + + + + + + + ASBIE + Procurement Project. Requested Tender Total + Budget monetary amounts for the project as whole. + 0..1 + Procurement Project + Requested Tender Total + Requested Tender Total + Requested Tender Total + + + + + + + + + ASBIE + Procurement Project. Main_ Commodity Classification. Commodity Classification + An association to the main classification category for the deliverable requested. + 0..n + Procurement Project + Main + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Procurement Project. Additional_ Commodity Classification. Commodity Classification + An association to additional classification categories for the deliverable requested. + 0..n + Procurement Project + Additional + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Procurement Project. Realized_ Location. Location + A place where this procurement project will be physically realized. + 0..n + Procurement Project + Realized + Location + Location + Location + + + + + + + + + ASBIE + Procurement Project. Planned_ Period. Period + The period during which this procurement project is planned to take place. + 0..1 + Procurement Project + Planned + Period + Period + Period + + + + + + + + + ASBIE + Procurement Project. Contract Extension + The contract extension for this tendering process. + 0..1 + Procurement Project + Contract Extension + Contract Extension + Contract Extension + + + + + + + + + ASBIE + Procurement Project. Request For Tender Line + A good or service this project is intended to procure. + 0..n + Procurement Project + Request For Tender Line + Request For Tender Line + Request For Tender Line + + + + + + + + + + + ABIE + Procurement Project Lot. Details + A class to describe one of the parts of a procurement project that is being subdivided to allow the contracting party to award different lots to different economic operators under different contracts. + Procurement Project Lot + + + + + + + + + BBIE + Procurement Project Lot. Identifier + An identifier for this procurement project lot. + 1 + Procurement Project Lot + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Procurement Project Lot. Tendering Terms + Tendering terms for this procurement project lot. + 0..1 + Procurement Project Lot + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Procurement Project Lot. Procurement Project + A description of the procurement project to be divided. + 0..1 + Procurement Project Lot + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + + + ABIE + Procurement Project Lot Reference. Details + A class to reference to a lot identifier. + Procurement Project Lot Reference + + + + + + + + + BBIE + Procurement Project Lot Reference. Identifier + An identifier for this procurement project lot. + 1 + Procurement Project Lot Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Project Reference. Details + A class to define a reference to a procurement project. + Project Reference + + + + + + + + + BBIE + Project Reference. Identifier + An identifier for the referenced project. + 1 + Project Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Project Reference. UUID. Identifier + A universally unique identifier for the referenced project. + 0..1 + Project Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Project Reference. Issue Date. Date + The date on which the referenced project was issued. + 0..1 + Project Reference + Issue Date + Date + Date. Type + + + + + + + + + ASBIE + Project Reference. Work Phase Reference + A specific phase of work in the referenced project. + 0..n + Project Reference + Work Phase Reference + Work Phase Reference + Work Phase Reference + + + + + + + + + + + ABIE + Promotional Event. Details + Agree can be renamed as PromotionalEvents + Promotional Event + + + + + + + + + BBIE + Promotional Event. Promotional Event Type Code. Code + A code signifying the type of this promotional event. Examples can be: Holiday, Seasonal Event, Store Closing, Trade Item Introduction + 1 + Promotional Event + Promotional Event Type Code + Code + Code. Type + + + + + + + + + BBIE + Promotional Event. Submission. Date + The date on which a proposal for this promotional event was submitted. + 0..1 + Promotional Event + Submission + Date + Date. Type + + + + + + + + + BBIE + Promotional Event. First Shipment Availibility Date. Date + The first day that products will be available to ship from buyer to seller if the proposal for this promotional event is accepted. + 0..1 + Promotional Event + First Shipment Availibility Date + Date + Date. Type + + + + + + + + + BBIE + Promotional Event. Latest_ Proposal Acceptance Date. Date + The deadline for acceptance of this promotional event. + 0..1 + Promotional Event + Latest + Proposal Acceptance Date + Date + Date. Type + + + + + + + + + ASBIE + Promotional Event. Promotional Specification + A specification for a promotional event. + 1..n + Promotional Event + Promotional Specification + Promotional Specification + Promotional Specification + + + + + + + + + + + ABIE + Promotional Event Line Item. Details + A class to describe a line item associated with a promotional event. + Promotional Event Line Item + + + + + + + + + BBIE + Promotional Event Line Item. Amount + The amount associated with this promotional event line item. + 1 + Promotional Event Line Item + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Promotional Event Line Item. Event Line Item + A line item describing the expected impacts associated with this promotional event for a specific product at a specific location. + 1 + Promotional Event Line Item + Event Line Item + Event Line Item + Event Line Item + + + + + + + + + + + ABIE + Promotional Specification. Details + A class to describe a promotional event as a set of item locations that share a set of promotional tactics. + Promotional Specification + + + + + + + + + BBIE + Promotional Specification. Specification Identifier. Identifier + An identifier for this promotional specification. + 0..1 + Promotional Specification + Specification Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Promotional Specification. Promotional Event Line Item + A line item for a promotional event involving a specific product at a specific location; it describes the expected impacts associated with the event and specifies the promotional price of the item." + 1..n + Promotional Specification + Promotional Event Line Item + Promotional Event Line Item + Promotional Event Line Item + + + + + + + + + ASBIE + Promotional Specification. Event Tactic + An event tactic associated with this promotion. + 0..n + Promotional Specification + Event Tactic + Event Tactic + Event Tactic + + + + + + + + + + + ABIE + Qualification Resolution. Details + A class to describe the acceptance or rejection of an economic operator in a tendering process. + Qualification Resolution + + + + + + + + + BBIE + Qualification Resolution. Admission Code. Code + An indicator that the economic operator has been accepted into the tendering process (true) or rejected from the tendering process (false). + 1 + Qualification Resolution + Admission Code + Code + Code. Type + + + + + + + + + BBIE + Qualification Resolution. Exclusion Reason. Text + Text describing a reason for an exclusion from the tendering process. + 0..n + Qualification Resolution + Exclusion Reason + Text + Text. Type + + + + + + + + + BBIE + Qualification Resolution. Resolution. Text + Text describing this qualification resolution. + 0..n + Qualification Resolution + Resolution + Text + Text. Type + + + + + + + + + BBIE + Qualification Resolution. Resolution Date. Date + The date on which this qualification resolution was formalized. + 1 + Qualification Resolution + Resolution Date + Date + Date. Type + + + + + + + + + BBIE + Qualification Resolution. Resolution Time. Time + The time at which this qualification resolution was formalized. + 0..1 + Qualification Resolution + Resolution Time + Time + Time. Type + + + + + + + + + ASBIE + Qualification Resolution. Procurement Project Lot + The Procurement project lot to which this tenderer is accepted or rejected. + 0..1 + Qualification Resolution + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + + + ABIE + Qualifying Party. Details + A class to describe the distinctive features or characteristics qualifying an economic operator to be a party in a tendering process (e.g., number of employees, number of operating units, type of business, technical and financial capabilities, completed projects). + Qualifying Party + + + + + + + + + BBIE + Qualifying Party. Participation. Percent + The extent to which this party is expected to participate in the tendering process, expressed as a percentage. + 0..1 + Qualifying Party + Participation + Percent + Percent. Type + + + + + + + + + BBIE + Qualifying Party. Personal Situation. Text + Text describing the personal situation of the qualifying party. + 0..n + Qualifying Party + Personal Situation + Text + Text. Type + + + + + + + + + BBIE + Qualifying Party. Operating Years. Quantity + The number of years that this qualifying party has been in operation. + 0..1 + Qualifying Party + Operating Years + Quantity + Quantity. Type + + + + + + + + + BBIE + Qualifying Party. Employee. Quantity + The number of people employed by this qualifying party. + 0..1 + Qualifying Party + Employee + Quantity + Quantity. Type + + + + + + + + + BBIE + Qualifying Party. Business Classification Evidence. Identifier + An identifier for an item of evidence to support the classification of this qualifying party. + 0..1 + Qualifying Party + Business Classification Evidence + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualifying Party. Business Identity Evidence. Identifier + An identifier for an item of evidence to support the business identity of this qualifying party. + 0..1 + Qualifying Party + Business Identity Evidence + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualifying Party. Tenderer Role Code. Code + A code stating the Tenderer Role. + 0..1 + Qualifying Party + Tenderer Role Code + Code + Code. Type + + + + + + + + + ASBIE + Qualifying Party. Business_ Classification Scheme. Classification Scheme + The classification scheme used for the business profile. + 0..1 + Qualifying Party + Business + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + ASBIE + Qualifying Party. Technical_ Capability. Capability + A technical capability of this qualifying party. + 0..n + Qualifying Party + Technical + Capability + Capability + Capability + + + + + + + + + ASBIE + Qualifying Party. Financial_ Capability. Capability + A financial capability of this qualifying party. + 0..n + Qualifying Party + Financial + Capability + Capability + Capability + + + + + + + + + ASBIE + Qualifying Party. Completed Task + A former task completed by this qualifying party. + 0..n + Qualifying Party + Completed Task + Completed Task + Completed Task + + + + + + + + + ASBIE + Qualifying Party. Declaration + A declaration by this qualifying party. of certain characteristics or capabilities in fulfilment of requirements specified in a call for tenders. + 0..n + Qualifying Party + Declaration + Declaration + Declaration + + + + + + + + + ASBIE + Qualifying Party. Party + The qualifying party itself. + 0..1 + Qualifying Party + Party + Party + Party + + + + + + + + + ASBIE + Qualifying Party. Economic Operator Role + A class to describe the tenderer contracting role. + 0..1 + Qualifying Party + Economic Operator Role + Economic Operator Role + Economic Operator Role + + + + + + + + + + + ABIE + Quotation Line. Details + A class to define a line in a Quotation. + Quotation Line + + + + + + + + + BBIE + Quotation Line. Identifier + An identifier for this quotation line. + 0..1 + Quotation Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Quotation Line + Note + Text + Text. Type + + + + + + + + + BBIE + Quotation Line. Quantity + The quantity of the item quoted. + 0..1 + Quotation Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Quotation Line. Line Extension Amount. Amount + The total amount for this quotation line, including allowance charges but net of taxes. + 0..1 + Quotation Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Quotation Line. Total_ Tax Amount. Amount + The total tax amount for this quotation line. + 0..1 + Quotation Line + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Quotation Line. Request For Quotation Line Identifier. Identifier + An identifier for the line in the Request for Quotation to which this line is a response. + 0..1 + Quotation Line + Request For Quotation Line Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Quotation Line. Document Reference + A reference to a document associated with this quotation line. + 0..n + Quotation Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation Line. Line Item + The item that is the subject of this quotation line. + 1 + Quotation Line + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Quotation Line. Seller Proposed Substitute_ Line Item. Line Item + An item proposed by the seller as a substitute for the item that is the subject of this quotation line. + 0..n + Quotation Line + Seller Proposed Substitute + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Quotation Line. Alternative_ Line Item. Line Item + An item proposed by the seller as an alternative to the item that is the subject of this quotation line. + 0..n + Quotation Line + Alternative + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Quotation Line. Request_ Line Reference. Line Reference + A reference to the line in the Request for Quotation to which this line is a response. + 0..1 + Quotation Line + Request + Line Reference + Line Reference + Line Reference + + + + + + + + + + + ABIE + Rail Transport. Details + A class defining details about a train wagon used as a means of transport. + Rail Transport + + + + + + + + + BBIE + Rail Transport. Train Identifier. Identifier + An identifier for the train used as the means of transport. + 1 + Rail Transport + Train Identifier + Identifier + Identifier. Type + Train Number (WCO ID 167) + + + + + + + + + BBIE + Rail Transport. Rail Car Identifier. Identifier + An identifier for the rail car on the train used as the means of transport. + 0..1 + Rail Transport + Rail Car Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Receipt Line. Details + A class to define a line in a Receipt Advice. + Receipt Line + + + + + + + + + BBIE + Receipt Line. Identifier + An identifier for this receipt line. + 1 + Receipt Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Line. UUID. Identifier + A universally unique identifier for this receipt line. + 0..1 + Receipt Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Receipt Line + Note + Text + Text. Type + + + + + + + + + BBIE + Receipt Line. Received_ Quantity. Quantity + The quantity received. + 0..1 + Receipt Line + Received + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Short_ Quantity. Quantity + The quantity received short; the difference between the quantity reported despatched and the quantity actually received. + 0..1 + Receipt Line + Short + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Shortage Action Code. Code + A code signifying the action that the delivery party wishes the despatch party to take as the result of a shortage. + 0..1 + Receipt Line + Shortage Action Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Rejected_ Quantity. Quantity + The quantity rejected. + 0..1 + Receipt Line + Rejected + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Reject Reason Code. Code + The reason for a rejection, expressed as a code. + 0..1 + Receipt Line + Reject Reason Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Reject_ Reason. Text + The reason for a rejection, expressed as text. + 0..n + Receipt Line + Reject + Reason + Text + Text. Type + + + + + + + + + BBIE + Receipt Line. Reject Action Code. Code + A code signifying the action that the delivery party wishes the despatch party to take as the result of a rejection. + 0..1 + Receipt Line + Reject Action Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Quantity Discrepancy Code. Code + A code signifying the type of a discrepancy in quantity. + 0..1 + Receipt Line + Quantity Discrepancy Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Oversupply_ Quantity. Quantity + The quantity over-supplied, i.e., the quantity over and above the quantity ordered. + 0..1 + Receipt Line + Oversupply + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Received_ Date. Date + The date on which the goods or services were received. + 0..1 + Receipt Line + Received + Date + Date + Date. Type + + + + + + + + + BBIE + Receipt Line. Timing Complaint Code. Code + A complaint about the timing of delivery, expressed as a code. + 0..1 + Receipt Line + Timing Complaint Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Timing Complaint. Text + A complaint about the timing of delivery, expressed as text. + 0..1 + Receipt Line + Timing Complaint + Text + Text. Type + + + + + + + + + ASBIE + Receipt Line. Order Line Reference + A reference to the order line associated with this receipt line. + 0..1 + Receipt Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Receipt Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this receipt line. + 0..n + Receipt Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Receipt Line. Document Reference + A reference to a document associated with this receipt line. + 0..n + Receipt Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Line. Item + An item associated with this receipt line. + 0..n + Receipt Line + Item + Item + Item + + + + + + + + + ASBIE + Receipt Line. Shipment + A shipment associated with this receipt line. + 0..n + Receipt Line + Shipment + Shipment + Shipment + + + + + + + + + + + ABIE + Regulation. Details + A class to describe a regulation. + Regulation + Points to regulation at atomic level + + + + + + + + + BBIE + Regulation. Name + A name for this regulation. + 1 + Regulation + Name + Name + Name. Type + + + + + + + + + BBIE + Regulation. Legal Reference. Text + Text describing a legal reference. + 0..1 + Regulation + Legal Reference + Text + Text. Type + Art. 45 2 b + + + + + + + + + BBIE + Regulation. Ontology URI. Identifier + The Uniform Resource Identifier (URI) of an ontology related to this regulation. + 0..1 + Regulation + Ontology URI + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Related Item. Details + A class to describe the relationship to an item different from the item associated with the item line in which RelatedItem is used. + Related Item + + + + + + + + + BBIE + Related Item. Identifier + An identifier for the related item. + 0..1 + Related Item + Identifier + Identifier + Identifier. Type + First , Second + + + + + + + + + BBIE + Related Item. Quantity + The quantity that applies to the relationship. + 0..1 + Related Item + Quantity + Quantity + Quantity. Type + 6 , 10mg per Kilo + + + + + + + + + BBIE + Related Item. Description. Text + Text describing the relationship. + 0..n + Related Item + Description + Text + Text. Type + If used in wet conditions or extreme environments + + + + + + + + + + + ABIE + Reminder Line. Details + A class to define a line in a Reminder document. + Reminder Line + + + + + + + + + BBIE + Reminder Line. Identifier + An identifier for this reminder line. + 1 + Reminder Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Reminder Line + Note + Text + Text. Type + + + + + + + + + BBIE + Reminder Line. UUID. Identifier + A universally unique identifier for this reminder line. + 0..1 + Reminder Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder Line. Balance Brought Forward_ Indicator. Indicator + An indication that this reminder line contains a balance brought forward (true) or does not (false). + 0..1 + Reminder Line + Balance Brought Forward + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Reminder Line. Debit_ Line Amount. Amount + The amount debited on this reminder line. + 0..1 + Reminder Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Credit_ Line Amount. Amount + The amount credited on this reminder line. + 0..1 + Reminder Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this reminder line, expressed as a code. + 0..1 + Reminder Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Reminder Line. Accounting Cost. Text + The buyer's accounting cost centre for this reminder line, expressed as text. + 0..1 + Reminder Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Reminder Line. Penalty_ Surcharge Percent. Percent + The penalty for late payment, expressed as a percentage. + 0..1 + Reminder Line + Penalty + Surcharge Percent + Percent + Percent. Type + + + + + + + + + BBIE + Reminder Line. Amount + The amount on this reminder line. + 0..1 + Reminder Line + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Reminder Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Reminder Line. Reminder_ Period. Period + A period to which this reminder line applies. + 0..n + Reminder Line + Reminder + Period + Period + Period + + + + + + + + + ASBIE + Reminder Line. Billing Reference + A reference to a billing document associated with this reminder line. + 0..n + Reminder Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Reminder Line. Exchange Rate + The rate of exchange between the currency of the Reminder and the currency of the document described in the BillingReference. + 0..1 + Reminder Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Remittance Advice Line. Details + A class to define a line in a Remittance Advice. + Remittance Advice Line + + + + + + + + + BBIE + Remittance Advice Line. Identifier + An identifier for this remittance advice line. + 1 + Remittance Advice Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Remittance Advice Line + Note + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice Line. UUID. Identifier + A universally unique identifier for this remittance advice line. + 0..1 + Remittance Advice Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice Line. Debit_ Line Amount. Amount + The amount debited on this remittance advice line. + 0..1 + Remittance Advice Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Credit_ Line Amount. Amount + The amount credited on this remittance advice line. + 0..1 + Remittance Advice Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Balance Amount. Amount + The monetary balance associated with this remittance advice line. + 0..1 + Remittance Advice Line + Balance Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Remittance Advice Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Remittance Advice Line. Invoicing Party_ Reference. Text + A reference to the order for payment used by the invoicing party. This may have been requested of the payer by the payee to accompany its remittance. + 0..1 + Remittance Advice Line + Invoicing Party + Reference + Text + Text. Type + + + + + + + + + ASBIE + Remittance Advice Line. Accounting_ Supplier Party. Supplier Party + The Accounting Supplier Party related to the remittance information reported on this Remittance Advice Line. + 0..1 + Remittance Advice Line + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice Line. Accounting_ Customer Party. Customer Party + The Accounting Customer Party related to the remittance information reported on this Remittance Advice Line. + 0..1 + Remittance Advice Line + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Buyer_ Customer Party. Customer Party + The buyer associated with this remittance advice line. + 0..1 + Remittance Advice Line + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Seller_ Supplier Party. Supplier Party + The seller/supplier associated with this remittance advice line. + 0..1 + Remittance Advice Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice Line. Originator_ Customer Party. Customer Party + The originating party. + 0..1 + Remittance Advice Line + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Payee_ Party. Party + The payee. + 0..1 + Remittance Advice Line + Payee + Party + Party + Party + + + + + + + + + ASBIE + Remittance Advice Line. Invoice_ Period. Period + An invoice period to which this remittance advice line applies. + 0..n + Remittance Advice Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Remittance Advice Line. Billing Reference + A reference to a billing document associated with this remittance advice line. + 0..n + Remittance Advice Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Remittance Advice Line. Document Reference + A reference to a document associated with this remittance advice line. + 0..n + Remittance Advice Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Remittance Advice Line. Exchange Rate + The rate of exchange between the currency of the Remittance Advice and the currency of the document described in the BillingReference. + 0..1 + Remittance Advice Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Renewal. Details + A class to describe the renewal of a commercial arrangement, such as a contract or licence fee. + Renewal + + + + + + + + + BBIE + Renewal. Amount + The monetary amount of this renewal. + 0..1 + Renewal + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Renewal. Period + The period for which the arrangement is now valid + 0..1 + Renewal + Period + Period + Period + + + + + + + + + + + ABIE + Request For Quotation Line. Details + A class to define a line in a Request for Quotation. + Request For Quotation Line + + + + + + + + + BBIE + Request For Quotation Line. Identifier + An identifier for this line in the request for quotation. + 0..1 + Request For Quotation Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation Line. UUID. Identifier + A universally unique identifier for this line in the request for quotation. + 0..1 + Request For Quotation Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Request For Quotation Line + Note + Text + Text. Type + + + + + + + + + BBIE + Request For Quotation Line. Optional_ Line Item Indicator. Indicator + An indication whether this line is optional (true) or not (false) for purposes of this request for quotation. + 0..1 + Request For Quotation Line + Optional + Line Item Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Request For Quotation Line. Privacy Code. Code + A code signifying the level of confidentiality of this request for quotation line. + 0..1 + Request For Quotation Line + Privacy Code + Code + Code. Type + + + + + + + + + BBIE + Request For Quotation Line. Security Classification Code. Code + A code signifying the security classification of this request for quotation line. + 0..1 + Request For Quotation Line + Security Classification Code + Code + Code. Type + + + + + + + + + ASBIE + Request For Quotation Line. Document Reference + A document associated with this request for quotation line. + 0..n + Request For Quotation Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation Line. Line Item + A description of the item for which a quotation is requested. + 1 + Request For Quotation Line + Line Item + Line Item + Line Item + + + + + + + + + + + ABIE + Request For Tender Line. Details + A class to define a line in a Request for Tender describing an item of goods or a service solicited in the Request for Tender. + Request For Tender Line + + + + + + + + + BBIE + Request For Tender Line. Identifier + An identifier for this request for tender line. + 0..1 + Request For Tender Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Tender Line. UUID. Identifier + A universally unique identifier for this request for tender line. + 0..1 + Request For Tender Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Tender Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Request For Tender Line + Note + Text + Text. Type + + + + + + + + + BBIE + Request For Tender Line. Quantity + The quantity of the item for which a tender is requested in this line. + 0..1 + Request For Tender Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Request For Tender Line. Minimum_ Quantity. Quantity + The minimum quantity of the item associated with this request for tender line. + 0..1 + Request For Tender Line + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Request For Tender Line. Maximum_ Quantity. Quantity + The maximum quantity of the item associated with this request for tender line. + 0..1 + Request For Tender Line + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Request For Tender Line. Tax Included_ Indicator. Indicator + Indicates whether the amounts are taxes included (true) or not (false). + 0..1 + Request For Tender Line + Tax Included + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Request For Tender Line. Minimum_ Amount. Amount + The minimum amount allowed for this deliverable. + 0..1 + Request For Tender Line + Minimum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Request For Tender Line. Maximum_ Amount. Amount + The maximum amount allowed for this deliverable. + 0..1 + Request For Tender Line + Maximum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Request For Tender Line. Estimated_ Amount. Amount + The estimated total amount of the deliverable. + 0..1 + Request For Tender Line + Estimated + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Request For Tender Line. Document Reference + A reference to a document associated with this request for tender line. + 0..n + Request For Tender Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Tender Line. Delivery_ Period. Period + An applicable period for the deliverable or set of deliverables in this tendering process. + 0..n + Request For Tender Line + Delivery + Period + Period + Period + + + + + + + + + ASBIE + Request For Tender Line. Required_ Item Location Quantity. Item Location Quantity + Properties of the item specified in this request for tender line that are dependent on location and quantity. + 0..n + Request For Tender Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Request For Tender Line. Warranty Validity_ Period. Period + The period during which a warranty to be associated with this request for tender line must apply. + 0..1 + Request For Tender Line + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Request For Tender Line. Item + An item for which a tender is requested. + 1 + Request For Tender Line + Item + Item + Item + + + + + + + + + ASBIE + Request For Tender Line. Sub_ Request For Tender Line. Request For Tender Line + A subsidiary request for tender line. + 0..n + Request For Tender Line + Sub + Request For Tender Line + Request For Tender Line + Request For Tender Line + + + + + + + + + + + ABIE + Requested Tender Total. Details + A class defining budgeted monetary amounts. + Requested Tender Total + + + + + + + + + BBIE + Requested Tender Total. Estimated_ Overall Contract. Amount + The estimated overall monetary amount of a contract. + 0..1 + Requested Tender Total + Estimated + Overall Contract + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Total_ Amount. Amount + The monetary amount of the total budget including net amount, taxes, and material and instalment costs. + 0..1 + Requested Tender Total + Total + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Tax Included_ Indicator. Indicator + Indicates whether the amounts are taxes included (true) or not (false). + 0..1 + Requested Tender Total + Tax Included + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Requested Tender Total. Minimum_ Amount. Amount + The minimum monetary amount of the budget. + 0..1 + Requested Tender Total + Minimum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Maximum_ Amount. Amount + The maximum monetary amount of the budget. + 0..1 + Requested Tender Total + Maximum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Monetary Scope. Text + A description of the monetary scope of the budget. + 0..n + Requested Tender Total + Monetary Scope + Text + Text. Type + + + + + + + + + BBIE + Requested Tender Total. Average_ Subsequent Contract. Amount + The average monetary amount for the subsequent contracts following this budget amount. + 0..1 + Requested Tender Total + Average + Subsequent Contract + Amount + Amount. Type + + + + + + + + + ASBIE + Requested Tender Total. Applicable_ Tax Category. Tax Category + Describes the categories of taxes that apply to the budget amount. + 0..n + Requested Tender Total + Applicable + Tax Category + Tax Category + Tax Category + + + + + + + + + + + ABIE + Response. Details + A class to describe an application-level response to a document. + Response + + + + + + + + + BBIE + Response. Reference. Identifier + An identifier for the section (or line) of the document to which this response applies. + 0..1 + Response + Reference + Identifier + Identifier. Type + + + + + + + + + BBIE + Response. Response Code. Code + A code signifying the type of response. + 0..1 + Response + Response Code + Code + Code. Type + + + + + + + + + BBIE + Response. Description. Text + Text describing this response. + 0..n + Response + Description + Text + Text. Type + + + + + + + + + BBIE + Response. Effective Date. Date + The date upon which this response is valid. + 0..1 + Response + Effective Date + Date + Date. Type + + + + + + + + + BBIE + Response. Effective Time. Time + The time at which this response is valid. + 0..1 + Response + Effective Time + Time + Time. Type + + + + + + + + + ASBIE + Response. Status + A status report associated with this response. + 0..n + Response + Status + Status + Status + + + + + + + + + + + ABIE + Response Value. Details + A class to describe the criterion requirement response value. + Response Value + + + + + + + + + BBIE + Response Value. Identifier + An identifier to refer to the criterion requirement response value. + 0..1 + Response Value + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Response Value. Description. Text + A description of the response value to the criterion requirement. + 0..n + Response Value + Description + Text + Text. Type + + + + + + + + + BBIE + Response Value. Response Text. Text + A text or name used as a reply to the criterion requirement. + 0..n + Response Value + Response Text + Text + Text. Type + + + + + + + + + BBIE + Response Value. Response Amount. Amount + An amount used as a reply to the criterion requirement. + 0..1 + Response Value + Response Amount + Amount + Amount. Type + + + + + + + + + BBIE + Response Value. Response Binary Object. Binary Object + A binary graphic, picture, sound or video object used as a reply to the criterion requirement. + 0..1 + Response Value + Response Binary Object + Binary Object + Binary Object. Type + + + + + + + + + BBIE + Response Value. Response Code. Code + A code used as a reply to the criterion requirement. + 0..1 + Response Value + Response Code + Code + Code. Type + + + + + + + + + BBIE + Response Value. Response Date. Date + A date used as a reply to the criterion requirement. + 0..1 + Response Value + Response Date + Date + Date. Type + + + + + + + + + BBIE + Response Value. Response Identifier. Identifier + An identifier used as a reply to the criterion requirement. + 0..1 + Response Value + Response Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Response Value. Response Indicator. Indicator + An indicator used as a reply to the criterion requirement. + 0..1 + Response Value + Response Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Response Value. Response Measure. Measure + A measure used as a reply to the criterion requirement. + 0..1 + Response Value + Response Measure + Measure + Measure. Type + + + + + + + + + BBIE + Response Value. Response Numeric. Numeric + A number, rate or percent used as a reply to the criterion requirement. + 0..1 + Response Value + Response Numeric + Numeric + Numeric. Type + + + + + + + + + BBIE + Response Value. Response Quantity. Quantity + A quantity used as a reply to the criterion requirement. + 0..1 + Response Value + Response Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Response Value. Response Time. Time + A time used as a reply to the criterion requirement. + 0..1 + Response Value + Response Time + Time + Time. Type + + + + + + + + + BBIE + Response Value. Response URI. Identifier + A URI value used as a reply to the criterion requirement. + 0..1 + Response Value + Response URI + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Result Of Verification. Details + A class to describe the result of an attempt to verify a signature. + Result Of Verification + + + + + + + + + BBIE + Result Of Verification. Validator. Identifier + An identifier for the organization, person, service, or server that verified the signature. + 0..1 + Result Of Verification + Validator + Identifier + Identifier. Type + + + + + + + + + BBIE + Result Of Verification. Validation_ Result Code. Code + A code signifying the result of the verification. + 0..1 + Result Of Verification + Validation + Result Code + Code + Code. Type + + + + + + + + + BBIE + Result Of Verification. Validation Date. Date + The date upon which verification took place. + 0..1 + Result Of Verification + Validation Date + Date + Date. Type + + + + + + + + + BBIE + Result Of Verification. Validation Time. Time + The time at which verification took place. + 0..1 + Result Of Verification + Validation Time + Time + Time. Type + + + + + + + + + BBIE + Result Of Verification. Validate_ Process. Text + The verification process. + 0..1 + Result Of Verification + Validate + Process + Text + Text. Type + + + + + + + + + BBIE + Result Of Verification. Validate_ Tool. Text + The tool used to verify the signature. + 0..1 + Result Of Verification + Validate + Tool + Text + Text. Type + + + + + + + + + BBIE + Result Of Verification. Validate_ Tool Version. Text + The version of the tool used to verify the signature. + 0..1 + Result Of Verification + Validate + Tool Version + Text + Text. Type + + + + + + + + + ASBIE + Result Of Verification. Signatory_ Party. Party + The signing party. + 0..1 + Result Of Verification + Signatory + Party + Party + Party + + + + + + + + + + + ABIE + Retail Planned Impact. Details + A class to describe a planned effect of a retail event (e.g., a promotion or a change in inventory policy) upon supply or demand. + Retail Planned Impact + + + + + + + + + BBIE + Retail Planned Impact. Amount + Estimated monetary value of the planned event as an impact + 1 + Retail Planned Impact + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Retail Planned Impact. Forecast_ Purpose Code. Code + It will have impact on either Sales forecast or Order Forecast + 1 + Retail Planned Impact + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Retail Planned Impact. Forecast Type Code. Code + A code signifying the type of forecast. Examples of values are: BASE PROMOTIONAL SEASONAL TOTAL + 1 + Retail Planned Impact + Forecast Type Code + Code + Code. Type + + + + + + + + + ASBIE + Retail Planned Impact. Period + The period to which this impact applies. + 0..1 + Retail Planned Impact + Period + Period + Period + + + + + + + + + + + ABIE + Road Transport. Details + A class for identifying a vehicle used for road transport. + Road Transport + + + + + + + + + BBIE + Road Transport. License Plate Identifier. Identifier + The license plate identifier of this vehicle. + 1 + Road Transport + License Plate Identifier + Identifier + Identifier. Type + Vehicle registration number (WCO ID 167) + + + + + + + + + + + ABIE + Sales Item. Details + A class to describe information related to an item in a sales context + Sales Item + + + + + + + + + BBIE + Sales Item. Quantity + The quantity the given information are related to + 1 + Sales Item + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Sales Item. Activity Property + A class to describe the activity (for example "sales", "movement", ...) related to the item. + 0..n + Sales Item + Activity Property + Activity Property + Activity Property + + + + + + + + + ASBIE + Sales Item. Tax Exclusive_ Price. Price + A price for this sales item, exclusive of tax. + 0..n + Sales Item + Tax Exclusive + Price + Price + Price + + + + + + + + + ASBIE + Sales Item. Tax Inclusive_ Price. Price + A price for this sales item, including tax. + 0..n + Sales Item + Tax Inclusive + Price + Price + Price + + + + + + + + + ASBIE + Sales Item. Item + The sales item itself. + 1 + Sales Item + Item + Item + Item + + + + + + + + + + + ABIE + Secondary Hazard. Details + A class to describe a secondary hazard associated with a hazardous item. + Secondary Hazard + + + + + + + + + BBIE + Secondary Hazard. Identifier + An identifier for this secondary hazard. + 0..1 + Secondary Hazard + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Secondary Hazard. Placard Notation. Text + Text of the placard notation corresponding to the hazard class of this secondary hazard. Can also be the hazard identification number of the orange placard (upper part) required on the means of transport. + 0..1 + Secondary Hazard + Placard Notation + Text + Text. Type + 5.1 + + + + + + + + + BBIE + Secondary Hazard. Placard Endorsement. Text + Text of the placard endorsement for this secondary hazard that is to be shown on the shipping papers for a hazardous item. Can also be used for the number of the orange placard (lower part) required on the means of transport. + 0..1 + Secondary Hazard + Placard Endorsement + Text + Text. Type + 2 + + + + + + + + + BBIE + Secondary Hazard. Emergency Procedures Code. Code + A code signifying the emergency procedures for this secondary hazard. + 0..1 + Secondary Hazard + Emergency Procedures Code + Code + Code. Type + EMG code, EMS Page Number + + + + + + + + + BBIE + Secondary Hazard. Extension. Text + Additional information about the hazardous substance, which can be used (for example) to specify the type of regulatory requirements that apply to this secondary hazard. + 0..n + Secondary Hazard + Extension + Text + Text. Type + N.O.S. or a Waste Characteristics Code in conjunction with an EPA Waste Stream code + + + + + + + + + + + ABIE + Service Frequency. Details + A class to specify which day of the week a transport service is operational. + Service Frequency + + + + + + + + + BBIE + Service Frequency. Week Day. Code + A day of the week, expressed as code. + 1 + Service Frequency + Week Day + Code + Week Day + Week Day_ Code. Type + + + + + + + + + + + ABIE + Service Level Agreement. Details + A class to describe a service level agreement which regulates the quality, availability and responsibilities of digital services. + Service Level Agreement + SLA + + + + + + + + + BBIE + Service Level Agreement. Identifier + An identifier for this service level agreement. + 0..1 + Service Level Agreement + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Service Level Agreement. Service Type Code. Code + A specific type of service subject to this service level agreement. + 0..1 + Service Level Agreement + Service Type Code + Code + Code. Type + AP, SMP + + + + + + + + + BBIE + Service Level Agreement. Service Type. Text + A specific type of service subject to this service level agreement, expressed as text. + 0..n + Service Level Agreement + Service Type + Text + Text. Type + + + + + + + + + BBIE + Service Level Agreement. Availability_ Time Percent. Percent + The availability percentage (e.g. 98.5% of the time). + 0..1 + Service Level Agreement + Availability + Time Percent + Percent + Percent. Type + Time Service Factor + 98.5 + + + + + + + + + BBIE + Service Level Agreement. Monday Availability_ Indicator. Indicator + Indicates whether this service is available on monday (true) or not (false). + 0..1 + Service Level Agreement + Monday Availability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Service Level Agreement. Tuesday Availability_ Indicator. Indicator + Indicates whether this service is available on tuesday (true) or not (false). + 0..1 + Service Level Agreement + Tuesday Availability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Service Level Agreement. Wednesday Availability_ Indicator. Indicator + Indicates whether this service is available on wednesday (true) or not (false). + 0..1 + Service Level Agreement + Wednesday Availability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Service Level Agreement. Thursday Availability_ Indicator. Indicator + Indicates whether this service is available on thursday (true) or not (false). + 0..1 + Service Level Agreement + Thursday Availability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Service Level Agreement. Friday Availability_ Indicator. Indicator + Indicates whether this service is available on friday (true) or not (false). + 0..1 + Service Level Agreement + Friday Availability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Service Level Agreement. Saturday Availability_ Indicator. Indicator + Indicates whether this service is available on saturday (true) or not (false). + 0..1 + Service Level Agreement + Saturday Availability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Service Level Agreement. Sunday Availability_ Indicator. Indicator + Indicates whether this service is available on sunday (true) or not (false). + 0..1 + Service Level Agreement + Sunday Availability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Service Level Agreement. Minimum_ Response Time Duration. Measure + The response time for aknowledgment (e.g. to send a receipt to a sending Access Point within 300 seconds). + 0..1 + Service Level Agreement + Minimum + Response Time Duration + Measure + Measure. Type + 300 + + + + + + + + + BBIE + Service Level Agreement. Minimum_ Down Time Schedule Duration. Measure + The minimum down time schedule for programmed maintenance (e.g. scheduled 3 days before). + 0..1 + Service Level Agreement + Minimum + Down Time Schedule Duration + Measure + Measure. Type + 3 + + + + + + + + + BBIE + Service Level Agreement. Maximum_ Incident Notification Duration. Measure + The maximum length of time between the occurrence of an incident and the issuance of a notification (e.g. within 4 hours). + 0..1 + Service Level Agreement + Maximum + Incident Notification Duration + Measure + Measure. Type + 4 + + + + + + + + + BBIE + Service Level Agreement. Maximum_ Data Loss Duration. Measure + The maximum data loss permitted (e.g. last 24 hours). + 0..1 + Service Level Agreement + Maximum + Data Loss Duration + Measure + Measure. Type + 24 + + + + + + + + + BBIE + Service Level Agreement. Mean_ Time To Recover Duration. Measure + The time taken to recover after an outage of service (e.g. 3 hours). + 0..1 + Service Level Agreement + Mean + Time To Recover Duration + Measure + Measure. Type + MTTR + 3 + + + + + + + + + ASBIE + Service Level Agreement. Service Availability_ Period. Period + The period for which the service is available. + 0..n + Service Level Agreement + Service Availability + Period + Period + Period + Uptime + + + + + + + + + ASBIE + Service Level Agreement. Service Maintenance_ Period. Period + The period of time designated in advance by the technical staff, during which preventive maintenance that could cause disruption of service may be performed. + 0..n + Service Level Agreement + Service Maintenance + Period + Period + Period + Downtime + + + + + + + + + + + ABIE + Service Provider Party. Details + A class to describe a party contracting to provide services, such as transportation, finance, etc. + Service Provider Party + + + + + + + + + BBIE + Service Provider Party. Identifier + An identifier for this service provider. + 0..1 + Service Provider Party + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Service Provider Party. Service Type Code. Code + The type of service provided, expressed as a code. + 0..1 + Service Provider Party + Service Type Code + Code + Code. Type + + + + + + + + + BBIE + Service Provider Party. Service Type. Text + The type of service provided, expressed as text. + 0..n + Service Provider Party + Service Type + Text + Text. Type + + + + + + + + + ASBIE + Service Provider Party. Party + The party providing the service. + 1 + Service Provider Party + Party + Party + Party + + + + + + + + + ASBIE + Service Provider Party. Seller_ Contact. Contact + The contact for the service provider. + 0..1 + Service Provider Party + Seller + Contact + Contact + Contact + + + + + + + + + + + ABIE + Shareholder Party. Details + A class to describe a shareholder party. + Shareholder Party + + + + + + + + + BBIE + Shareholder Party. Partecipation. Percent + The shareholder participation, expressed as a percentage. + 0..1 + Shareholder Party + Partecipation + Percent + Percent. Type + + + + + + + + + ASBIE + Shareholder Party. Party + The shareholder party. + 0..1 + Shareholder Party + Party + Party + Party + + + + + + + + + + + ABIE + Shipment. Details + A class defining an identifiable collection of one or more goods items to be transported between the seller party and the buyer party. This information may be defined within a commercial contract. A shipment can be transported in different consignments (e.g., split for logistical purposes). + Shipment + + + + + + + + + BBIE + Shipment. Identifier + An identifier for this shipment. + 1 + Shipment + Identifier + Identifier + Identifier. Type + Waybill Number + + + + + + + + + BBIE + Shipment. Shipping Priority Level Code. Code + A code signifying the priority or level of service required for this shipment. + 0..1 + Shipment + Shipping Priority Level Code + Code + Code. Type + Service Level, Service Priority + + + + + + + + + BBIE + Shipment. Handling Code. Code + The handling required for this shipment, expressed as a code. + 0..1 + Shipment + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Shipment. Handling_ Instructions. Text + The handling required for this shipment, expressed as text. + 0..n + Shipment + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Information. Text + Free-form text pertinent to this shipment, conveying information that is not contained explicitly in other structures. + 0..n + Shipment + Information + Text + Text. Type + + + + + + + + + BBIE + Shipment. Gross_ Weight. Measure + The total gross weight of a shipment; the weight of the goods plus packaging plus transport equipment. + 0..1 + Shipment + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net_ Weight. Measure + The net weight of this shipment, excluding packaging. + 0..1 + Shipment + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net Net_ Weight. Measure + The total net weight of this shipment, excluding packaging and transport equipment. + 0..1 + Shipment + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Gross_ Volume. Measure + The total volume of the goods in this shipment, including packaging. + 0..1 + Shipment + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net_ Volume. Measure + The total volume of the goods in this shipment, excluding packaging and transport equipment. + 0..1 + Shipment + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Total_ Goods Item Quantity. Quantity + The total number of goods items in this shipment. + 0..1 + Shipment + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Shipment. Total_ Transport Handling Unit Quantity. Quantity + The number of pieces of transport handling equipment (pallets, boxes, cases, etc.) in this shipment. + 0..1 + Shipment + Total + Transport Handling Unit Quantity + Quantity + Quantity. Type + Number of THUs + + + + + + + + + BBIE + Shipment. Insurance_ Value. Amount + The amount covered by insurance for this shipment. + 0..1 + Shipment + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Shipment. Declared Customs_ Value. Amount + The total declared value for customs purposes of those goods in this shipment that are subject to the same customs procedure and have the same tariff/statistical heading, country information, and duty regime. + 0..1 + Shipment + Declared Customs + Value + Amount + Amount. Type + + + + + + + + + BBIE + Shipment. Declared For Carriage_ Value. Amount + The value of this shipment, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Shipment + Declared For Carriage + Value + Amount + Amount. Type + Declared value for carriage, Interest in delivery + + + + + + + + + BBIE + Shipment. Declared Statistics_ Value. Amount + The value, declared for statistical purposes, of those goods in this shipment that have the same statistical heading. + 0..1 + Shipment + Declared Statistics + Value + Amount + Amount. Type + Statistical Value + + + + + + + + + BBIE + Shipment. Free On Board_ Value. Amount + The monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Shipment + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Shipment. Special_ Instructions. Text + Special instructions relating to this shipment. + 0..n + Shipment + Special + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Delivery_ Instructions. Text + Delivery instructions relating to this shipment. + 0..n + Shipment + Delivery + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Split Consignment_ Indicator. Indicator + An indicator that the consignment has been split in transit (true) or not (false). + 0..1 + Shipment + Split Consignment + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Shipment. Consignment_ Quantity. Quantity + The total number of consignments within this shipment. + 0..1 + Shipment + Consignment + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Shipment. Consignment + A consignment covering this shipment. + 0..n + Shipment + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Shipment. Goods Item + A goods item included in this shipment. + 0..n + Shipment + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Shipment. Shipment Stage + A stage in the transport movement of this shipment. + 0..n + Shipment + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Shipment. Delivery + The delivery of this shipment. + 0..1 + Shipment + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Shipment. Transport Handling Unit + A transport handling unit associated with this shipment. + 0..n + Shipment + Transport Handling Unit + Transport Handling Unit + Transport Handling Unit + + + + + + + + + ASBIE + Shipment. Return_ Address. Address + The address to which a shipment should be returned. + 0..1 + Shipment + Return + Address + Address + Address + + + + + + + + + ASBIE + Shipment. Origin_ Address. Address + The region in which the goods have been produced or manufactured, according to criteria laid down for the purposes of application of the customs tariff, or of quantitative restrictions, or of any other measure related to trade. + 0..1 + Shipment + Origin + Address + Address + Address + + + + + + + + + ASBIE + Shipment. First Arrival Port_ Location. Location + The first arrival location of a shipment. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Shipment + First Arrival Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment. Last Exit Port_ Location. Location + The final exporting location for a shipment. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Shipment + Last Exit Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment. Export_ Country. Country + The country from which the goods were originally exported, without any commercial transaction taking place in intermediate countries. + 0..1 + Shipment + Export + Country + Country + Country + Country of exportation (WCO ID 062) + + + + + + + + + ASBIE + Shipment. Freight_ Allowance Charge. Allowance Charge + A cost incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance to the extent that they relate to the freight costs. + 0..n + Shipment + Freight + Allowance Charge + Allowance Charge + Allowance Charge + Freight Costs + + + + + + + + + + + ABIE + Shipment Stage. Details + A class to describe one stage of movement in a transport of goods. + Shipment Stage + + + + + + + + + BBIE + Shipment Stage. Identifier + An identifier for this shipment stage. + 0..1 + Shipment Stage + Identifier + Identifier + Identifier. Type + 1 , 2 , etc.. + + + + + + + + + BBIE + Shipment Stage. Transport Mode Code. Code + A code signifying the method of transport used for this shipment stage. + 0..1 + Shipment Stage + Transport Mode Code + Code + Transport Mode + Transport Mode_ Code. Type + + + + + + + + + BBIE + Shipment Stage. Transport Means Type Code. Code + A code signifying the kind of transport means (truck, vessel, etc.) used for this shipment stage. + 0..1 + Shipment Stage + Transport Means Type Code + Code + Code. Type + + + + + + + + + BBIE + Shipment Stage. Transit_ Direction Code. Code + A code signifying the direction of transit in this shipment stage. + 0..1 + Shipment Stage + Transit + Direction Code + Code + Code. Type + + + + + + + + + BBIE + Shipment Stage. Pre Carriage_ Indicator. Indicator + An indicator that this stage takes place before the main carriage of the shipment (true) or not (false). + 0..1 + Shipment Stage + Pre Carriage + Indicator + Indicator + Indicator. Type + Truck delivery to wharf + + + + + + + + + BBIE + Shipment Stage. On Carriage_ Indicator. Indicator + An indicator that this stage takes place after the main carriage of the shipment (true) or not (false). + 0..1 + Shipment Stage + On Carriage + Indicator + Indicator + Indicator. Type + Truck delivery from wharf + + + + + + + + + BBIE + Shipment Stage. Estimated_ Delivery Date. Date + The estimated date of delivery in this shipment stage. + 0..1 + Shipment Stage + Estimated + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Shipment Stage. Estimated_ Delivery Time. Time + The estimated time of delivery in this shipment stage. + 0..1 + Shipment Stage + Estimated + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Shipment Stage. Required_ Delivery Date. Date + The delivery date required by the buyer in this shipment stage. + 0..1 + Shipment Stage + Required + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Shipment Stage. Required_ Delivery Time. Time + The delivery time required by the buyer in this shipment stage. + 0..1 + Shipment Stage + Required + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Shipment Stage. Loading_ Sequence Identifier. Identifier + An identifier for the loading sequence (of consignments) associated with this shipment stage. + 0..1 + Shipment Stage + Loading + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Shipment Stage. Successive_ Sequence Identifier. Identifier + Identifies the successive loading sequence (of consignments) associated with a shipment stage. + 0..1 + Shipment Stage + Successive + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Shipment Stage. Instructions. Text + Text of instructions applicable to a shipment stage. + 0..n + Shipment Stage + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment Stage. Demurrage_ Instructions. Text + Text of instructions relating to demurrage (the case in which a vessel is prevented from loading or discharging cargo within the stipulated laytime). + 0..n + Shipment Stage + Demurrage + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment Stage. Crew Quantity. Quantity + The total number of crew aboard a transport means. + 0..1 + Shipment Stage + Crew Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Shipment Stage. Passenger Quantity. Quantity + The total number of passengers aboard a transport means. + 0..1 + Shipment Stage + Passenger Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Shipment Stage. Transit_ Period. Period + The period during which this shipment stage actually took place. + 0..1 + Shipment Stage + Transit + Period + Period + Period + + + + + + + + + ASBIE + Shipment Stage. Carrier_ Party. Party + A carrier party responsible for this shipment stage. + 0..n + Shipment Stage + Carrier + Party + Party + Party + + + + + + + + + ASBIE + Shipment Stage. Transport Means + The means of transport used in this shipment stage. + 0..1 + Shipment Stage + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Shipment Stage. Loading Port_ Location. Location + The location of loading for a shipment stage. + 0..1 + Shipment Stage + Loading Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Unloading Port_ Location. Location + The location of unloading for a shipment stage. + 0..1 + Shipment Stage + Unloading Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Transship Port_ Location. Location + The location of transshipment relating to a shipment stage. + 0..1 + Shipment Stage + Transship Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Loading_ Transport Event. Transport Event + The loading of goods in this shipment stage. + 0..1 + Shipment Stage + Loading + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Examination_ Transport Event. Transport Event + The examination of shipments in this shipment stage. + 0..1 + Shipment Stage + Examination + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Availability_ Transport Event. Transport Event + The making available of shipments in this shipment stage. + 0..1 + Shipment Stage + Availability + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Exportation_ Transport Event. Transport Event + The export event associated with this shipment stage. + 0..1 + Shipment Stage + Exportation + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Discharge_ Transport Event. Transport Event + The discharge event associated with this shipment stage. + 0..1 + Shipment Stage + Discharge + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Warehousing_ Transport Event. Transport Event + The warehousing event associated with this shipment stage. + 0..1 + Shipment Stage + Warehousing + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Takeover_ Transport Event. Transport Event + The receiver's takeover of the goods in this shipment stage. + 0..1 + Shipment Stage + Takeover + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Optional Takeover_ Transport Event. Transport Event + The optional takeover of the goods in this shipment stage. + 0..1 + Shipment Stage + Optional Takeover + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Dropoff_ Transport Event. Transport Event + The dropping off of goods in this shipment stage. + 0..1 + Shipment Stage + Dropoff + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Pickup_ Transport Event. Transport Event + The pickup of goods in this shipment stage. + 0..1 + Shipment Stage + Actual Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Delivery_ Transport Event. Transport Event + The delivery of goods in this shipment stage. + 0..1 + Shipment Stage + Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Receipt_ Transport Event. Transport Event + The receipt of goods in this shipment stage. + 0..1 + Shipment Stage + Receipt + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Storage_ Transport Event. Transport Event + The storage of goods in this shipment stage. + 0..1 + Shipment Stage + Storage + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Acceptance_ Transport Event. Transport Event + The acceptance of goods in this shipment stage. + 0..1 + Shipment Stage + Acceptance + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Terminal Operator_ Party. Party + A terminal operator associated with this shipment stage. + 0..1 + Shipment Stage + Terminal Operator + Party + Party + Party + + + + + + + + + ASBIE + Shipment Stage. Customs Agent_ Party. Party + A customs agent associated with this shipment stage. + 0..1 + Shipment Stage + Customs Agent + Party + Party + Party + + + + + + + + + ASBIE + Shipment Stage. Estimated Transit_ Period. Period + The estimated transit period of this shipment stage. + 0..1 + Shipment Stage + Estimated Transit + Period + Period + Period + + + + + + + + + ASBIE + Shipment Stage. Freight_ Allowance Charge. Allowance Charge + A freight allowance charge for this shipment stage. + 0..n + Shipment Stage + Freight + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Shipment Stage. Freight Charge_ Location. Location + The location associated with a freight charge related to this shipment stage. + 0..1 + Shipment Stage + Freight Charge + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Detention_ Transport Event. Transport Event + The detention of a transport means during loading and unloading operations. + 0..n + Shipment Stage + Detention + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Requested Departure_ Transport Event. Transport Event + The departure requested by the party requesting a transportation service. + 0..1 + Shipment Stage + Requested Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Requested Arrival_ Transport Event. Transport Event + The arrival requested by the party requesting a transportation service. + 0..1 + Shipment Stage + Requested Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Requested Waypoint_ Transport Event. Transport Event + A waypoint requested by the party requesting a transportation service. + 0..n + Shipment Stage + Requested Waypoint + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Planned Departure_ Transport Event. Transport Event + The departure planned by the party providing a transportation service. + 0..1 + Shipment Stage + Planned Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Planned Arrival_ Transport Event. Transport Event + The arrival planned by the party providing a transportation service. + 0..1 + Shipment Stage + Planned Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Planned Waypoint_ Transport Event. Transport Event + A waypoint planned by the party providing a transportation service. + 0..n + Shipment Stage + Planned Waypoint + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Departure_ Transport Event. Transport Event + The actual departure from a specific location during a transportation service. + 0..1 + Shipment Stage + Actual Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Waypoint_ Transport Event. Transport Event + The location of an actual waypoint during a transportation service. + 0..1 + Shipment Stage + Actual Waypoint + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Arrival_ Transport Event. Transport Event + The actual arrival at a specific location during a transportation service. + 0..1 + Shipment Stage + Actual Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Transport Event + A significant occurrence in the course of this shipment of goods. + 0..n + Shipment Stage + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Estimated Departure_ Transport Event. Transport Event + Describes an estimated departure at a location during a transport service. + 0..1 + Shipment Stage + Estimated Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Estimated Arrival_ Transport Event. Transport Event + Describes an estimated arrival at a location during a transport service. + 0..1 + Shipment Stage + Estimated Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Passenger_ Person. Person + A person who travels in a conveyance without participating in its operation. + 0..n + Shipment Stage + Passenger + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Driver_ Person. Person + Describes a person responsible for driving the transport means. + 0..n + Shipment Stage + Driver + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Reporting_ Person. Person + Describes a person being responsible for providing the required administrative reporting relating to a transport. + 0..1 + Shipment Stage + Reporting + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Crew Member_ Person. Person + A person operating or serving aboard a transport means. + 0..n + Shipment Stage + Crew Member + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Security Officer_ Person. Person + The person on board the vessel, accountable to the master, designated by the company as responsible for the security of the ship, including implementation and maintenance of the ship security plan and for the liaison with the company security officer and the port facility security officers. + 0..1 + Shipment Stage + Security Officer + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Master_ Person. Person + The person responsible for the ship's safe and efficient operation, including cargo operations, navigation, crew management and for ensuring that the vessel complies with local and international laws, as well as company and flag state policies. + 0..1 + Shipment Stage + Master + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Ships Surgeon_ Person. Person + The person responsible for the health of the people aboard a ship at sea. + 0..1 + Shipment Stage + Ships Surgeon + Person + Person + Person + + + + + + + + + + + ABIE + Signature. Details + A class to define a signature. + Signature + + + + + + + + + BBIE + Signature. Identifier + An identifier for this signature. + 1 + Signature + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature. Note. Text + Free-form text conveying information that is not contained explicitly in other structures; in particular, information regarding the circumstances in which the signature is being used. + 0..n + Signature + Note + Text + Text. Type + + + + + + + + + BBIE + Signature. Validation Date. Date + The date upon which this signature was verified. + 0..1 + Signature + Validation Date + Date + Date. Type + + + + + + + + + BBIE + Signature. Validation Time. Time + The time at which this signature was verified. + 0..1 + Signature + Validation Time + Time + Time. Type + + + + + + + + + BBIE + Signature. Validator. Identifier + An identifier for the organization, person, service, or server that verified this signature. + 0..1 + Signature + Validator + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature. Canonicalization Method. Text + The method used to perform XML canonicalization of this signature. + 0..1 + Signature + Canonicalization Method + Text + Text. Type + + + + + + + + + BBIE + Signature. Signature Method. Text + Text describing the method of signature. + 0..1 + Signature + Signature Method + Text + Text. Type + + + + + + + + + ASBIE + Signature. Signatory_ Party. Party + The signing party. + 0..1 + Signature + Signatory + Party + Party + Party + + + + + + + + + ASBIE + Signature. Digital Signature_ Attachment. Attachment + The actual encoded signature (e.g., in XMLDsig format). + 0..1 + Signature + Digital Signature + Attachment + Attachment + Attachment + + + + + + + + + ASBIE + Signature. Original_ Document Reference. Document Reference + A reference to the document that the signature applies to. For evidentiary purposes, this may be the document image that the signatory party saw when applying their signature. + 0..1 + Signature + Original + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Social Media Profile. Details + A class to describe a social media profile. + Social Media Profile + + + + + + + + + BBIE + Social Media Profile. Identifier + An identifier for a specific social media. + 0..1 + Social Media Profile + Identifier + Identifier + Identifier. Type + FB + + + + + + + + + BBIE + Social Media Profile. Name + The common name of the social media. + 0..1 + Social Media Profile + Name + Name + Name. Type + Facebook + + + + + + + + + BBIE + Social Media Profile. Social Media Type Code. Code + A code that specifies the type of social media. + 0..1 + Social Media Profile + Social Media Type Code + Code + Code. Type + BusinessNetwork, SocialNetwork, ... + + + + + + + + + BBIE + Social Media Profile. URI. Identifier + The Uniform Resource Identifier (URI) of a party profile in the social media; i.e., its Uniform Resource Locator (URL). + 1 + Social Media Profile + URI + Identifier + Identifier. Type + https://www.facebook.com/oasis.open/ + + + + + + + + + + + ABIE + Statement Line. Details + A class to define a line in a Statement of account. + Statement Line + + + + + + + + + BBIE + Statement Line. Identifier + An identifier for this statement line. + 1 + Statement Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Statement Line + Note + Text + Text. Type + + + + + + + + + BBIE + Statement Line. UUID. Identifier + A universally unique identifier for this statement line. + 0..1 + Statement Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement Line. Balance Brought Forward_ Indicator. Indicator + An indication that this statement line contains an outstanding balance from the previous bill(s) (true) or does not (false). + 0..1 + Statement Line + Balance Brought Forward + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Statement Line. Debit_ Line Amount. Amount + The amount debited on this statement line. + 0..1 + Statement Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Credit_ Line Amount. Amount + The amount credited on this statement line. + 0..1 + Statement Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Balance Amount. Amount + The balance amount on this statement line. + 0..1 + Statement Line + Balance Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Statement Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Statement Line. Payment Means + A means of payment associated with this statement line. + 0..1 + Statement Line + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Statement Line. Payment Terms + A specification of payment terms associated with this statement line. + 0..n + Statement Line + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Statement Line. Buyer_ Customer Party. Customer Party + The buyer associated with this statement line. + 0..1 + Statement Line + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Seller_ Supplier Party. Supplier Party + The seller/supplier associated with this statement line. + 0..1 + Statement Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement Line. Originator_ Customer Party. Customer Party + The originating party. + 0..1 + Statement Line + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Accounting_ Customer Party. Customer Party + The Accounting Customer Party related to the statement information reported on this Statement Line. + 0..1 + Statement Line + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Accounting_ Supplier Party. Supplier Party + The Accounting Supplier Party related to the statement information reported on this Statement Line. + 0..1 + Statement Line + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement Line. Payee_ Party. Party + The payee. + 0..1 + Statement Line + Payee + Party + Party + Party + + + + + + + + + ASBIE + Statement Line. Invoice_ Period. Period + An invoice period to which this statement line applies. + 0..n + Statement Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Statement Line. Billing Reference + A reference to a billing document associated with this statement line. + 0..n + Statement Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Statement Line. Document Reference + A reference to a document associated with this statement line. + 0..n + Statement Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Statement Line. Exchange Rate + The rate of exchange between the currency of the Statement and the currency of the document described in the BillingReference. + 0..1 + Statement Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Statement Line. Allowance Charge + A charge or discount price component associated with this statement line. + 0..n + Statement Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Statement Line. Collected_ Payment. Payment + A collected payment. + 0..n + Statement Line + Collected + Payment + Payment + Payment + + + + + + + + + + + ABIE + Status. Details + A class to describe the condition or position of an object. + Status + + + + + + + + + BBIE + Status. Condition Code. Code + Specifies the status condition of the related object. + 0..1 + Status + Condition Code + Code + Code. Type + + + + + + + + + BBIE + Status. Reference Date. Date + The reference date for this status. + 0..1 + Status + Reference Date + Date + Date. Type + + + + + + + + + BBIE + Status. Reference Time. Time + The reference time for this status. + 0..1 + Status + Reference Time + Time + Time. Type + + + + + + + + + BBIE + Status. Description. Text + Text describing this status. + 0..n + Status + Description + Text + Text. Type + + + + + + + + + BBIE + Status. Status Reason Code. Code + The reason for this status condition or position, expressed as a code. + 0..1 + Status + Status Reason Code + Code + Code. Type + + + + + + + + + BBIE + Status. Status_ Reason. Text + The reason for this status condition or position, expressed as text. + 0..n + Status + Status + Reason + Text + Text. Type + + + + + + + + + BBIE + Status. Sequence Identifier. Identifier + A sequence identifier for this status. + 0..1 + Status + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Status. Text + Provides any textual information related to this status. + 0..n + Status + Text + Text + Text. Type + + + + + + + + + BBIE + Status. Indication_ Indicator. Indicator + Specifies an indicator relevant to a specific status. + 0..1 + Status + Indication + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Status. Percent + A percentage meaningful in the context of this status. + 0..1 + Status + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Status. Reliability Percent. Percent + The reliability of this status, expressed as a percentage. + 0..1 + Status + Reliability Percent + Percent + Percent. Type + + + + + + + + + ASBIE + Status. Condition + Measurements that quantify the condition of the objects covered by the status. + 0..n + Status + Condition + Condition + Condition + + + + + + + + + + + ABIE + Stock Availability Report Line. Details + A class to define a line in a Stock Availability Report describing the availability of an item of sale. + Stock Availability Report Line + + + + + + + + + BBIE + Stock Availability Report Line. Identifier + An identifier for this stock availability line. + 1 + Stock Availability Report Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Stock Availability Report Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Stock Availability Report Line + Note + Text + Text. Type + + + + + + + + + BBIE + Stock Availability Report Line. Quantity + The quantity of the item currently in stock. + 1 + Stock Availability Report Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Stock Availability Report Line. Value. Amount + The monetary value of the quantity of the item currently in stock. + 0..1 + Stock Availability Report Line + Value + Amount + Amount. Type + + + + + + + + + BBIE + Stock Availability Report Line. Availability Date. Date + The date from which the item will be available. A date identical to or earlier than the IssueDate of the Stock Availability Report means that the item is available now + 0..1 + Stock Availability Report Line + Availability Date + Date + Date. Type + + + + + + + + + BBIE + Stock Availability Report Line. Availability Status Code. Code + A code signifying the level of availability of the item. + 0..1 + Stock Availability Report Line + Availability Status Code + Code + Code. Type + + + + + + + + + ASBIE + Stock Availability Report Line. Item + The item associated with this stock availability report line. + 1 + Stock Availability Report Line + Item + Item + Item + + + + + + + + + + + ABIE + Stowage. Details + A class to describe a location on board a means of transport where specified goods or transport equipment have been stowed or are to be stowed. + Stowage + + + + + + + + + BBIE + Stowage. Location Identifier. Identifier + An identifier for the location. + 0..1 + Stowage + Location Identifier + Identifier + Identifier. Type + Cell Location, coded + + + + + + + + + BBIE + Stowage. Location. Text + Text describing the location. + 0..n + Stowage + Location + Text + Text. Type + Cell Location + + + + + + + + + ASBIE + Stowage. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this stowage. + 0..n + Stowage + Measurement + Dimension + Dimension + Dimension + + + + + + + + + + + ABIE + Subcontract Terms. Details + A class to describe subcontract terms for a tendering process. + Subcontract Terms + + + + + + + + + BBIE + Subcontract Terms. Rate + The precise percentage allowed to be subcontracted. + 0..1 + Subcontract Terms + Rate + Rate + Rate. Type + + + + + + + + + BBIE + Subcontract Terms. Unknown_ Price. Indicator + An indicator that the subcontract price is known (true) or not (false). + 0..1 + Subcontract Terms + Unknown + Price + Indicator + Indicator. Type + + + + + + + + + BBIE + Subcontract Terms. Description. Text + Text describing the subcontract terms. + 0..n + Subcontract Terms + Description + Text + Text. Type + + + + + + + + + BBIE + Subcontract Terms. Amount + The monetary amount assigned to the subcontracted task. + 0..1 + Subcontract Terms + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Subcontract Terms. Subcontracting Conditions Code. Code + A code specifying the conditions for subcontracting. + 0..1 + Subcontract Terms + Subcontracting Conditions Code + Code + Code. Type + + + + + + + + + BBIE + Subcontract Terms. Maximum_ Percent. Percent + The maximum percentage allowed to be subcontracted. + 0..1 + Subcontract Terms + Maximum + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Subcontract Terms. Minimum_ Percent. Percent + The minimum percentage allowed to be subcontracted. + 0..1 + Subcontract Terms + Minimum + Percent + Percent + Percent. Type + + + + + + + + + + + ABIE + Subscriber Consumption. Details + The consumption for a specific party for given consumption point provided by a numbers of suppliers. An enterprise can have one utility statement for several parties (e.g. a ministry of defence receiving a telephone bill). In this way each subscriber consumption represent a sub utility statement. + Subscriber Consumption + + + + + + + + + BBIE + Subscriber Consumption. Consumption Identifier. Identifier + The identifier tor this specification. + 0..1 + Subscriber Consumption + Consumption Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Subscriber Consumption. Specification Type Code. Code + The code which specifies the type of this specification, e.g. an on account specification or the yearly specification. + 0..1 + Subscriber Consumption + Specification Type Code + Code + Code. Type + + + + + + + + + BBIE + Subscriber Consumption. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Subscriber Consumption + Note + Text + Text. Type + This is how we have calculating your yearly statement + + + + + + + + + BBIE + Subscriber Consumption. Total Metered Quantity. Quantity + The total quantity consumed, as calculated from meter readings. + 0..1 + Subscriber Consumption + Total Metered Quantity + Quantity + Quantity. Type + 2000.0 + + + + + + + + + ASBIE + Subscriber Consumption. Subscriber_ Party. Party + The party subscribing to the utility. + 0..1 + Subscriber Consumption + Subscriber + Party + Party + Party + + + + + + + + + ASBIE + Subscriber Consumption. Utility_ Consumption Point. Consumption Point + The point at which the utility is consumed. + 1 + Subscriber Consumption + Utility + Consumption Point + Consumption Point + Consumption Point + + + + + + + + + ASBIE + Subscriber Consumption. On Account Payment + The planned prepayments (on account) regarding this subscription. + 0..n + Subscriber Consumption + On Account Payment + On Account Payment + On Account Payment + + + + + + + + + ASBIE + Subscriber Consumption. Consumption + The consumption in case the consumption is from one and only one supplier. + 0..1 + Subscriber Consumption + Consumption + Consumption + Consumption + + + + + + + + + ASBIE + Subscriber Consumption. Supplier Consumption + The consumption in case the consumption is from more than one supplier. + 0..n + Subscriber Consumption + Supplier Consumption + Supplier Consumption + Supplier Consumption + + + + + + + + + + + ABIE + Supplier Consumption. Details + The consumption in case the consumption is for one and only one supplier. + Supplier Consumption + + + + + + + + + BBIE + Supplier Consumption. Description. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Supplier Consumption + Description + Text + Text. Type + This is what you pay for electricity to DONG Energy North Utility + + + + + + + + + ASBIE + Supplier Consumption. Utility Supplier_ Party. Party + The party supplying the utility. + 0..1 + Supplier Consumption + Utility Supplier + Party + Party + Party + + + + + + + + + ASBIE + Supplier Consumption. Utility Customer_ Party. Party + The utility customer. + 0..1 + Supplier Consumption + Utility Customer + Party + Party + Party + + + + + + + + + ASBIE + Supplier Consumption. Consumption + The consumption regarding this supplier + 1 + Supplier Consumption + Consumption + Consumption + Consumption + + + + + + + + + ASBIE + Supplier Consumption. Contract + A contract setting forth conditions regulating the consumption. + 0..1 + Supplier Consumption + Contract + Contract + Contract + + + + + + + + + ASBIE + Supplier Consumption. Consumption Line + The consumption of a utility product. + 1..n + Supplier Consumption + Consumption Line + Consumption Line + Consumption Line + + + + + + + + + + + ABIE + Supplier Party. Details + A class to describe a supplier party. + Supplier Party + + + + + + + + + BBIE + Supplier Party. Customer Assigned_ Account Identifier. Identifier + An identifier for this supplier party, assigned by the customer. + 0..1 + Supplier Party + Customer Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Supplier Party. Additional_ Account Identifier. Identifier + An additional identifier for this supplier party. + 0..n + Supplier Party + Additional + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Supplier Party. Data Sending Capability. Text + Text describing the supplier's ability to send invoice data via a purchase card provider (e.g., VISA, MasterCard, American Express). + 0..1 + Supplier Party + Data Sending Capability + Text + Text. Type + + + + + + + + + ASBIE + Supplier Party. Party + The supplier party itself. + 0..1 + Supplier Party + Party + Party + Party + + + + + + + + + ASBIE + Supplier Party. Despatch_ Contact. Contact + A contact at this supplier party for despatches (pickups). + 0..1 + Supplier Party + Despatch + Contact + Contact + Contact + + + + + + + + + ASBIE + Supplier Party. Accounting_ Contact. Contact + A contact at this supplier party for accounting. + 0..1 + Supplier Party + Accounting + Contact + Contact + Contact + + + + + + + + + ASBIE + Supplier Party. Seller_ Contact. Contact + The primary contact for this supplier party. + 0..1 + Supplier Party + Seller + Contact + Contact + Contact + + + + + + + + + + + ABIE + Tax Category. Details + A class to describe one of the tax categories within a taxation scheme (e.g., High Rate VAT, Low Rate VAT). + Tax Category + + + + + + + + + BBIE + Tax Category. Identifier + An identifier for this tax category. + 0..1 + Tax Category + Identifier + Identifier + Identifier. Type + http://www.unece.org/uncefact/codelist/standard/UNECE_DutyorTaxorFeeCategoryCode_D09B.xsd + + + + + + + + + BBIE + Tax Category. Name + The name of this tax category. + 0..1 + Tax Category + Name + Name + Name. Type + Luxury Goods , Wine Equalization , Exempt + + + + + + + + + BBIE + Tax Category. Percent + The tax rate for this category, expressed as a percentage. + 0..1 + Tax Category + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Tax Category. Base Unit Measure. Measure + A Unit of Measures used as the basic for the tax calculation applied at a certain rate per unit. + 0..1 + Tax Category + Base Unit Measure + Measure + Measure. Type + + + + + + + + + BBIE + Tax Category. Per Unit_ Amount. Amount + Where a tax is applied at a certain rate per unit, the rate per unit applied. + 0..1 + Tax Category + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Category. Tax Exemption Reason Code. Code + The reason for tax being exempted, expressed as a code. + 0..1 + Tax Category + Tax Exemption Reason Code + Code + Code. Type + http://www.unece.org/uncefact/codelist/standard/UNECE_DutyTaxFeeTypeCode_D09B.xsd + + + + + + + + + BBIE + Tax Category. Tax Exemption Reason. Text + The reason for tax being exempted, expressed as text. + 0..n + Tax Category + Tax Exemption Reason + Text + Text. Type + + + + + + + + + BBIE + Tax Category. Tier Range. Text + Where a tax is tiered, the range of taxable amounts that determines the rate of tax applicable to this tax category. + 0..1 + Tax Category + Tier Range + Text + Text. Type + + + + + + + + + BBIE + Tax Category. Tier Rate. Percent + Where a tax is tiered, the tax rate that applies within the specified range of taxable amounts for this tax category. + 0..1 + Tax Category + Tier Rate + Percent + Percent. Type + + + + + + + + + ASBIE + Tax Category. Tax Scheme + The taxation scheme within which this tax category is defined. + 1 + Tax Category + Tax Scheme + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Tax Scheme. Details + A class to describe a taxation scheme (e.g., VAT, State tax, County tax). + Tax Scheme + + + + + + + + + BBIE + Tax Scheme. Identifier + An identifier for this taxation scheme. + 0..1 + Tax Scheme + Identifier + Identifier + Identifier. Type + http://www.unece.org/uncefact/codelist/standard/EDIFICASEU_TaxExemptionReason_D09B.xsd + + + + + + + + + BBIE + Tax Scheme. Name + The name of this taxation scheme. + 0..1 + Tax Scheme + Name + Name + Name. Type + Value Added Tax , Wholesale Tax , Sales Tax , State Tax + + + + + + + + + BBIE + Tax Scheme. Tax Type Code. Code + A code signifying the type of tax. + 0..1 + Tax Scheme + Tax Type Code + Code + Code. Type + Consumption , Sales + + + + + + + + + BBIE + Tax Scheme. Currency Code. Code + A code signifying the currency in which the tax is collected and reported. + 0..1 + Tax Scheme + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Tax Scheme. Jurisdiction Region_ Address. Address + A geographic area in which this taxation scheme applies. + 0..n + Tax Scheme + Jurisdiction Region + Address + Address + Address + + + + + + + + + + + ABIE + Tax Subtotal. Details + A class to define the subtotal for a particular tax category within a particular taxation scheme, such as standard rate within VAT. + Tax Subtotal + + + + + + + + + BBIE + Tax Subtotal. Taxable_ Amount. Amount + The net amount to which the tax percent (rate) is applied to calculate the tax amount. + 0..1 + Tax Subtotal + Taxable + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Tax Amount. Amount + The amount of this tax subtotal. + 1 + Tax Subtotal + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Calculation Sequence. Numeric + The number of this tax subtotal in the sequence of subtotals corresponding to the order in which multiple taxes are applied. If all taxes are applied to the same taxable amount (i.e., their order of application is inconsequential), then CalculationSequenceNumeric is 1 for all tax subtotals applied to a given amount. + 0..1 + Tax Subtotal + Calculation Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Tax Subtotal. Transaction Currency_ Tax Amount. Amount + The amount of this tax subtotal, expressed in the currency used for invoicing. + 0..1 + Tax Subtotal + Transaction Currency + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Percent + The tax rate of the tax category applied to this tax subtotal, expressed as a percentage. + 0..1 + Tax Subtotal + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Tax Subtotal. Base Unit Measure. Measure + The unit of measure on which the tax calculation is based + 0..1 + Tax Subtotal + Base Unit Measure + Measure + Measure. Type + + + + + + + + + BBIE + Tax Subtotal. Per Unit_ Amount. Amount + Where a tax is applied at a certain rate per unit, the rate per unit applied. + 0..1 + Tax Subtotal + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Tier Range. Text + Where a tax is tiered, the range of taxable amounts that determines the rate of tax applicable to this tax subtotal. + 0..1 + Tax Subtotal + Tier Range + Text + Text. Type + + + + + + + + + BBIE + Tax Subtotal. Tier Rate. Percent + Where a tax is tiered, the tax rate that applies within a specified range of taxable amounts for this tax subtotal. + 0..1 + Tax Subtotal + Tier Rate + Percent + Percent. Type + + + + + + + + + ASBIE + Tax Subtotal. Tax Category + The tax category applicable to this subtotal. + 1 + Tax Subtotal + Tax Category + Tax Category + Tax Category + + + + + + + + + + + ABIE + Tax Total. Details + A class to describe the total tax for a particular taxation scheme. + Tax Total + + + + + + + + + BBIE + Tax Total. Tax Amount. Amount + The total tax amount for a particular taxation scheme, e.g., VAT; the sum of the tax subtotals for each tax category within the taxation scheme. + 1 + Tax Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Total. Rounding Amount. Amount + The rounding amount (positive or negative) added to the calculated tax total to produce the rounded TaxAmount. + 0..1 + Tax Total + Rounding Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Total. Tax Evidence_ Indicator. Indicator + An indicator that this total is recognized as legal evidence for taxation purposes (true) or not (false). + 0..1 + Tax Total + Tax Evidence + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Tax Total. Tax Included_ Indicator. Indicator + An indicator that tax is included in the calculation (true) or not (false). + 0..1 + Tax Total + Tax Included + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Tax Total. Tax Subtotal + One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme. + 0..n + Tax Total + Tax Subtotal + Tax Subtotal + Tax Subtotal + + + + + + + + + + + ABIE + Telecommunications Service. Details + A class to describe a telecommunications service (e.g., a telephone call or a video on demand service). + Telecommunications Service + + + + + + + + + BBIE + Telecommunications Service. Identifier + An identifier for this telecommunications service. + 0..1 + Telecommunications Service + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Telecommunications Service. Call_ Date. Date + In the case of a telephone call, the date of the call. + 1 + Telecommunications Service + Call + Date + Date + Date. Type + 2008-01-01 + + + + + + + + + BBIE + Telecommunications Service. Call_ Time. Time + In the case of a telephone call, the time of the call. + 1 + Telecommunications Service + Call + Time + Time + Time. Type + 00:01:00 + + + + + + + + + BBIE + Telecommunications Service. Service Number Called. Text + In the case of a telephone call, the phone number called. + 1 + Telecommunications Service + Service Number Called + Text + Text. Type + 12345679 + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Category. Text + The telecommunications category, expressed as text. + 0..1 + Telecommunications Service + Telecommunications Service Category + Text + Text. Type + Subscription + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Category Code. Code + The telecommunications category, expressed as a code. + 0..1 + Telecommunications Service + Telecommunications Service Category Code + Code + Code. Type + Subscription + + + + + + + + + BBIE + Telecommunications Service. Movie Title. Text + The title of a movie delivered via this telecommunications service. + 0..1 + Telecommunications Service + Movie Title + Text + Text. Type + The Matrix + + + + + + + + + BBIE + Telecommunications Service. Roaming Partner Name. Name + Statement of the roaming partner name. + 0..1 + Telecommunications Service + Roaming Partner Name + Name + Name. Type + + + + + + + + + BBIE + Telecommunications Service. Pay Per View. Text + A pay-per-view delivered via this telecommunications service. + 0..1 + Telecommunications Service + Pay Per View + Text + Text. Type + + + + + + + + + BBIE + Telecommunications Service. Quantity + The number of calls. + 0..1 + Telecommunications Service + Quantity + Quantity + Quantity. Type + 5761 + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Call. Text + The telecommunications call described as a text + 0..1 + Telecommunications Service + Telecommunications Service Call + Text + Text. Type + CallAttempt + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Call Code. Code + The telecommunications call described as a code + 0..1 + Telecommunications Service + Telecommunications Service Call Code + Code + Code. Type + CallAttempt + + + + + + + + + BBIE + Telecommunications Service. Call Base_ Amount. Amount + The amount to be payed as the base for one call + 0..1 + Telecommunications Service + Call Base + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Telecommunications Service. Call Extension_ Amount. Amount + The amount to be payed for the call + 0..1 + Telecommunications Service + Call Extension + Amount + Amount + Amount. Type + 542.44 + + + + + + + + + ASBIE + Telecommunications Service. Price + The price for using the telecommunication service + 0..1 + Telecommunications Service + Price + Price + Price + + + + + + + + + ASBIE + Telecommunications Service. Country + The country to which the service is provided. In case of a telephone call it is the country where the receiver is located. + 0..1 + Telecommunications Service + Country + Country + Country + + + + + + + + + ASBIE + Telecommunications Service. Exchange Rate + A exchanges rates used in the pricing e.g.. when phone calls has crossed border lines. + 0..n + Telecommunications Service + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Telecommunications Service. Allowance Charge + An allowance or charge that applies to the UtilityStatement as a whole. + 0..n + Telecommunications Service + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Telecommunications Service. Tax Total + A total amount of taxes of a particular kind applicable to this telecommunications service. + 0..n + Telecommunications Service + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Telecommunications Service. Call_ Duty. Duty + In the case of a telephone call, a duty on this call. + 0..n + Telecommunications Service + Call + Duty + Duty + Duty + + + + + + + + + ASBIE + Telecommunications Service. Time_ Duty. Duty + A duty on a consumption of time. + 0..n + Telecommunications Service + Time + Duty + Duty + Duty + + + + + + + + + + + ABIE + Telecommunications Supply. Details + A class describing the supply of a telecommunication service, e.g., providing telephone calls. + Telecommunications Supply + + + + + + + + + BBIE + Telecommunications Supply. Telecommunications Supply Type. Text + The type of telecommunications supply, expressed as text. + 0..1 + Telecommunications Supply + Telecommunications Supply Type + Text + Text. Type + Itemized tele Statement + + + + + + + + + BBIE + Telecommunications Supply. Telecommunications Supply Type Code. Code + The type of telecommunications supply, expressed as a code. + 0..1 + Telecommunications Supply + Telecommunications Supply Type Code + Code + Code. Type + TeleExtended + + + + + + + + + BBIE + Telecommunications Supply. Privacy Code. Code + A code signifying the level of confidentiality of this information for this telecommunication supply. + 1 + Telecommunications Supply + Privacy Code + Code + Code. Type + CompanyLevel + + + + + + + + + BBIE + Telecommunications Supply. Description. Text + Text describing the telecommunications supply. + 0..n + Telecommunications Supply + Description + Text + Text. Type + Extended conversation Statement January quarter 2008. + + + + + + + + + BBIE + Telecommunications Supply. Total_ Amount. Amount + The total amount associated with this telecommunications supply. + 0..1 + Telecommunications Supply + Total + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Telecommunications Supply. Telecommunications Supply Line + Outlines the provided telecommunication supply + 1..n + Telecommunications Supply + Telecommunications Supply Line + Telecommunications Supply Line + Telecommunications Supply Line + + + + + + + + + + + ABIE + Telecommunications Supply Line. Details + A class that outlines the telecommunication supply in details + Telecommunications Supply Line + + + + + + + + + BBIE + Telecommunications Supply Line. Identifier + An identifier for this telecommunications supply line. + 1 + Telecommunications Supply Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Telecommunications Supply Line. Phone Number. Text + The phone number used for this telecommunication supply line + 1 + Telecommunications Supply Line + Phone Number + Text + Text. Type + 12345678 + + + + + + + + + BBIE + Telecommunications Supply Line. Description. Text + The description of the telecommunication supply line + 0..n + Telecommunications Supply Line + Description + Text + Text. Type + Additional informations + + + + + + + + + BBIE + Telecommunications Supply Line. Line Extension Amount. Amount + An amount specifying the cost of this telecommunication line + 0..1 + Telecommunications Supply Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Telecommunications Supply Line. Exchange Rate + Exchanges rates used to calculate the amount for this line. + 0..n + Telecommunications Supply Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Telecommunications Supply Line. Allowance Charge + An allowance or charge that applies to this telecommunication supply line. + 0..n + Telecommunications Supply Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Telecommunications Supply Line. Tax Total + A total amount of taxes of a particular kind applicable to this telecommunications supply line + 0..n + Telecommunications Supply Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Telecommunications Supply Line. Telecommunications Service + A telecommunications service (e.g., a telephone call). + 1..n + Telecommunications Supply Line + Telecommunications Service + Telecommunications Service + Telecommunications Service + + + + + + + + + + + ABIE + Temperature. Details + A class to describe a measurement of temperature. + Temperature + + + + + + + + + BBIE + Temperature. Attribute Identifier. Identifier + An identifier for this temperature measurement. + 1 + Temperature + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Temperature. Measure + The value of this temperature measurement. + 1 + Temperature + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Temperature. Description. Text + Text describing this temperature measurement. + 0..n + Temperature + Description + Text + Text. Type + at sea level + + + + + + + + + + + ABIE + Tender Line. Details + A class to define a line in a Tender. + Tender Line + + + + + + + + + BBIE + Tender Line. Identifier + An identifier for this tender line. + 0..1 + Tender Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Tender Line + Note + Text + Text. Type + + + + + + + + + BBIE + Tender Line. Quantity + The quantity of the item quoted in this tender line. + 0..1 + Tender Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Tender Line. Line Extension Amount. Amount + The total amount for this tender line, including allowance charges but net of taxes. + 0..1 + Tender Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tender Line. Total_ Tax Amount. Amount + The total tax amount for this tender line. + 0..1 + Tender Line + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tender Line. Orderable_ Unit. Text + Text describing a unit in which the item described in this tender line can be ordered. + 0..1 + Tender Line + Orderable + Unit + Text + Text. Type + + + + + + + + + BBIE + Tender Line. Content Unit. Quantity + The unit of measure and quantity of the orderable unit. + 0..1 + Tender Line + Content Unit + Quantity + Quantity. Type + If order unit measure identifier is each , then content unit quantity is 1 . + + + + + + + + + BBIE + Tender Line. Order Quantity Increment. Numeric + The number of items that can set the order quantity increments. + 0..1 + Tender Line + Order Quantity Increment + Numeric + Numeric. Type + + + + + + + + + BBIE + Tender Line. Minimum_ Order Quantity. Quantity + The minimum number of items described in this tender line that can be ordered. + 0..1 + Tender Line + Minimum + Order Quantity + Quantity + Quantity. Type + 10 boxes + + + + + + + + + BBIE + Tender Line. Maximum_ Order Quantity. Quantity + The maximum number of items described in this tender line that can be ordered. + 0..1 + Tender Line + Maximum + Order Quantity + Quantity + Quantity. Type + 1 tonne + + + + + + + + + BBIE + Tender Line. Warranty_ Information. Text + Text about a warranty (provided by WarrantyParty) for the good or service described in this tender line. + 0..n + Tender Line + Warranty + Information + Text + Text. Type + Unless specified otherwise and in addition to any rights the Customer may have under statute, Dell warrants to the Customer that Dell branded Products (excluding third party products and software), will be free from defects in materials and workmanship affecting normal use for a period of one year from invoice date ( Standard Warranty ). + + + + + + + + + BBIE + Tender Line. Pack Level Code. Code + A mutually agreed code signifying the level of packaging associated with the item described in this tender line. + 0..1 + Tender Line + Pack Level Code + Code + Code. Type + Consumer Unit, Trading Unit + level 2 , Group 4 + + + + + + + + + ASBIE + Tender Line. Document Reference + A reference to a document associated with this tender line. + 0..n + Tender Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Line. Item + The item associated with this tender line. + 0..1 + Tender Line + Item + Item + Item + + + + + + + + + ASBIE + Tender Line. Offered_ Item Location Quantity. Item Location Quantity + A set of location-specific properties (e.g., price, quantity, lead time) associated with the item described in this tender line. + 0..n + Tender Line + Offered + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Tender Line. Replacement_ Related Item. Related Item + A catalogue item that may be a replacement for the item described in this tender line. + 0..n + Tender Line + Replacement + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Tender Line. Warranty_ Party. Party + The party responsible for any warranty described in this tender line. + 0..1 + Tender Line + Warranty + Party + Party + Party + + + + + + + + + ASBIE + Tender Line. Warranty Validity_ Period. Period + The period for which a warranty associated with the item described in this tender line is valid. + 0..1 + Tender Line + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Tender Line. Sub_ Tender Line. Tender Line + An association to a Sub Tender Line + 0..n + Tender Line + Sub + Tender Line + Tender Line + Tender Line + + + + + + + + + ASBIE + Tender Line. Call For Tenders_ Line Reference. Line Reference + Reference to a Line on a Call For Tenders document. + 0..1 + Tender Line + Call For Tenders + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Tender Line. Call For Tenders_ Document Reference. Document Reference + A class defining references to a Call For Tenders document. + 0..1 + Tender Line + Call For Tenders + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Tender Preparation. Details + A class to describe directions for preparing a tender. + Tender Preparation + + + + + + + + + BBIE + Tender Preparation. Tender Envelope Identifier. Identifier + An identifier for the tender envelope to be used with the tender. + 1 + Tender Preparation + Tender Envelope Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Preparation. Tender Envelope Type Code. Code + A code signifying the type of tender envelope (economical or objective criteria versus technical or subjective criteria). + 0..1 + Tender Preparation + Tender Envelope Type Code + Code + Code. Type + + + + + + + + + BBIE + Tender Preparation. Description. Text + Text describing the tender envelope. + 0..n + Tender Preparation + Description + Text + Text. Type + + + + + + + + + BBIE + Tender Preparation. Open Tender Identifier. Identifier + An identifier for the open tender associated with this tender preparation. + 0..1 + Tender Preparation + Open Tender Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Tender Preparation. Procurement Project Lot + The procurement project lot associated with a particular tenderer. + 0..n + Tender Preparation + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Tender Preparation. Document_ Tender Requirement. Tender Requirement + A reference to the template for a required document in a tendering process. + 0..n + Tender Preparation + Document + Tender Requirement + Tender Requirement + Tender Requirement + Curricula required, Experience required, .... + + + + + + + + + ASBIE + Tender Preparation. Tender_ Encryption Data. Encryption Data + A reference to the details of the encryption process used for the tender. + 0..n + Tender Preparation + Tender + Encryption Data + Encryption Data + Encryption Data + + + + + + + + + + + ABIE + Tender Requirement. Details + A template for a required document in a tendering process. + Tender Requirement + + + + + + + + + BBIE + Tender Requirement. Name + A name of this tender requirement. + 1 + Tender Requirement + Name + Name + Name. Type + + + + + + + + + BBIE + Tender Requirement. Description. Text + Text describing this tender requirement. + 0..n + Tender Requirement + Description + Text + Text. Type + + + + + + + + + ASBIE + Tender Requirement. Template_ Document Reference. Document Reference + A reference to the template for a required document. + 0..1 + Tender Requirement + Template + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Tender Result. Details + A class to describe the awarding of a tender in a tendering process. + Tender Result + + + + + + + + + BBIE + Tender Result. Award Identifier. Identifier + An identifier for this tender result. + 0..1 + Tender Result + Award Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Result. Tender_ Result Code. Code + A code signifying the result of the tendering process. + 0..1 + Tender Result + Tender + Result Code + Code + Code. Type + + + + + + + + + BBIE + Tender Result. Description. Text + Text describing the result of the tendering process. + 0..n + Tender Result + Description + Text + Text. Type + + + + + + + + + BBIE + Tender Result. Advertisement. Amount + The monetary value of the advertisement for this tendering process. + 0..1 + Tender Result + Advertisement + Amount + Amount. Type + + + + + + + + + BBIE + Tender Result. Award Date. Date + The date on which this result was formalized. + 1 + Tender Result + Award Date + Date + Date. Type + + + + + + + + + BBIE + Tender Result. Award Time. Time + The time at which this result was formalized. + 0..1 + Tender Result + Award Time + Time + Time. Type + + + + + + + + + BBIE + Tender Result. Received_ Tender Quantity. Quantity + The total number of tenders received in this tendering process. + 0..1 + Tender Result + Received + Tender Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Tender Result. Lower_ Tender Amount. Amount + The least expensive tender received in the tendering process. + 0..1 + Tender Result + Lower + Tender Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tender Result. Higher_ Tender Amount. Amount + The most expensive tender received in this tendering process. + 0..1 + Tender Result + Higher + Tender Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tender Result. Start Date. Date + The date on which the awarded contract begins. + 0..1 + Tender Result + Start Date + Date + Date. Type + + + + + + + + + BBIE + Tender Result. Received_ Electronic Tender Quantity. Quantity + The number of electronic tenders received. + 0..1 + Tender Result + Received + Electronic Tender Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Tender Result. Received_ Foreign Tender Quantity. Quantity + The number of foreing tenders received. + 0..1 + Tender Result + Received + Foreign Tender Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Tender Result. Contract + A contract governing this tender result. + 0..1 + Tender Result + Contract + Contract + Contract + + + + + + + + + ASBIE + Tender Result. Awarded_ Tendered Project. Tendered Project + The awarded tendered project associated with this tender result. + 0..1 + Tender Result + Awarded + Tendered Project + Tendered Project + Tendered Project + + + + + + + + + ASBIE + Tender Result. Contract Formalization_ Period. Period + The period during which a contract associated with the awarded project is to be formalized. + 0..1 + Tender Result + Contract Formalization + Period + Period + Period + + + + + + + + + ASBIE + Tender Result. Subcontract Terms + Subcontract terms for this tender result. + 0..n + Tender Result + Subcontract Terms + Subcontract Terms + Subcontract Terms + + + + + + + + + ASBIE + Tender Result. Winning Party + A party that is identified as the awarded by a tender result. + 0..n + Tender Result + Winning Party + Winning Party + Winning Party + + + + + + + + + + + ABIE + Tendered Project. Details + A class to describe a tendered project or project lot. + Tendered Project + + + + + + + + + BBIE + Tendered Project. Variant. Identifier + An identifier for this variant of a tendered project. + 0..1 + Tendered Project + Variant + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendered Project. Fee. Amount + The fee amount for tendered projects. + 0..1 + Tendered Project + Fee + Amount + Amount. Type + + + + + + + + + BBIE + Tendered Project. Fee_ Description. Text + Text describing the fee amount for tendered projects. + 0..n + Tendered Project + Fee + Description + Text + Text. Type + + + + + + + + + BBIE + Tendered Project. Tender Envelope Identifier. Identifier + An identifier for the tender envelope this tendered project belongs to. + 0..1 + Tendered Project + Tender Envelope Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendered Project. Tender Envelope Type Code. Code + A code signifying the type of tender envelope this tendered project belongs to. + 0..1 + Tendered Project + Tender Envelope Type Code + Code + Code. Type + + + + + + + + + ASBIE + Tendered Project. Procurement Project Lot + The procurement project lot to which this Tender Line refers to. If there are no lots, this should not be defined. + 0..1 + Tendered Project + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Tendered Project. Evidence_ Document Reference. Document Reference + A reference to a non-structured evidentiary document supporting this tendered project. + 0..n + Tendered Project + Evidence + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendered Project. Tax Total + A total amount of taxes of a particular kind applicable to the monetary total for this tendered project. + 0..n + Tendered Project + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Tendered Project. Legal_ Monetary Total. Monetary Total + The total amount for this tendered project. + 0..1 + Tendered Project + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Tendered Project. Tender Line + A line in the tender for this tendered project. + 0..n + Tendered Project + Tender Line + Tender Line + Tender Line + + + + + + + + + ASBIE + Tendered Project. Awarding Criterion Response + An association to an Awarding Criterion Response. + 0..n + Tendered Project + Awarding Criterion Response + Awarding Criterion Response + Awarding Criterion Response + + + + + + + + + + + ABIE + Tenderer Party Qualification. Details + A class to describe the qualifications of a tenderer party. + Tenderer Party Qualification + + + + + + + + + ASBIE + Tenderer Party Qualification. Interested_ Procurement Project Lot. Procurement Project Lot + The procurement project lot the party is interested in. + 0..n + Tenderer Party Qualification + Interested + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Tenderer Party Qualification. Main_ Qualifying Party. Qualifying Party + The qualifications of the main tenderer party. + 1 + Tenderer Party Qualification + Main + Qualifying Party + Qualifying Party + Qualifying Party + + + + + + + + + ASBIE + Tenderer Party Qualification. Additional_ Qualifying Party. Qualifying Party + The qualifications of a tenderer party other than the main tenderer party when bidding as a consortium. + 0..n + Tenderer Party Qualification + Additional + Qualifying Party + Qualifying Party + Qualifying Party + + + + + + + + + + + ABIE + Tenderer Qualification Request. Details + The evaluation that the Contracting Authority party requests to fulfill to the tenderers. + Tenderer Qualification Request + + + + + + + + + BBIE + Tenderer Qualification Request. Company Legal Form Code. Code + The legal status requested for potential tenderers, expressed as a code. + 0..1 + Tenderer Qualification Request + Company Legal Form Code + Code + Code. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Company Legal Form. Text + The legal status requested for potential tenderers, expressed as text + 0..1 + Tenderer Qualification Request + Company Legal Form + Text + Text. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Personal Situation. Text + Text describing the personal situation of the economic operators in this tendering process. + 0..n + Tenderer Qualification Request + Personal Situation + Text + Text. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Operating Years. Quantity + Textual description of the legal form required for potential tenderers. + 0..1 + Tenderer Qualification Request + Operating Years + Quantity + Quantity. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Employee. Quantity + Textual description of the legal form required for potential tenderers. + 0..1 + Tenderer Qualification Request + Employee + Quantity + Quantity. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Description. Text + Text describing the evaluation requirements for this tenderer. + 0..n + Tenderer Qualification Request + Description + Text + Text. Type + + + + + + + + + ASBIE + Tenderer Qualification Request. Required Business_ Classification Scheme. Classification Scheme + A classification scheme for the business profile. + 0..n + Tenderer Qualification Request + Required Business + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + ASBIE + Tenderer Qualification Request. Technical_ Evaluation Criterion. Evaluation Criterion + A technical evaluation criterion required for an economic operator in a tendering process. + 0..n + Tenderer Qualification Request + Technical + Evaluation Criterion + Evaluation Criterion + Evaluation Criterion + + + + + + + + + ASBIE + Tenderer Qualification Request. Financial_ Evaluation Criterion. Evaluation Criterion + A financial evaluation criterion required for an economic operator in a tendering process. + 0..n + Tenderer Qualification Request + Financial + Evaluation Criterion + Evaluation Criterion + Evaluation Criterion + + + + + + + + + ASBIE + Tenderer Qualification Request. Specific_ Tenderer Requirement. Tenderer Requirement + A requirement to be met by a tenderer. + 0..n + Tenderer Qualification Request + Specific + Tenderer Requirement + Tenderer Requirement + Tenderer Requirement + Preregistration in a Business Registry + + + + + + + + + ASBIE + Tenderer Qualification Request. Economic Operator Role + A class to describe the tenderer contracting role. + 0..n + Tenderer Qualification Request + Economic Operator Role + Economic Operator Role + Economic Operator Role + + + + + + + + + + + ABIE + Tenderer Requirement. Details + A class to describe an action or statement required of an economic operator participating in a tendering process. + Tenderer Requirement + + + + + + + + + BBIE + Tenderer Requirement. Name + A name of this tenderer requirement. + 0..n + Tenderer Requirement + Name + Name + Name. Type + + + + + + + + + BBIE + Tenderer Requirement. Tenderer Requirement_ Type Code. Code + A code signifying this requirement. + 0..1 + Tenderer Requirement + Tenderer Requirement + Type Code + Code + Code. Type + + + + + + + + + BBIE + Tenderer Requirement. Description. Text + Text describing this requirement. + 0..n + Tenderer Requirement + Description + Text + Text. Type + + + + + + + + + BBIE + Tenderer Requirement. Legal Reference. Text + The legal reference of the exclusion criterion. + 0..1 + Tenderer Requirement + Legal Reference + Text + Text. Type + Art. 45 2 b + + + + + + + + + ASBIE + Tenderer Requirement. Suggested_ Evidence. Evidence + An item of evidence that should be submitted to satisfy this requirement. + 0..n + Tenderer Requirement + Suggested + Evidence + Evidence + Evidence + + + + + + + + + + + ABIE + Tendering Criterion. Details + A class to describe an item of criterion support for representations of capabilities or the ability to meet tendering requirements, which an economic operator must provide for acceptance into a tendering process. + Tendering Criterion + + + + + + + + + BBIE + Tendering Criterion. Identifier + An identifier for this item of criterion support. + 0..1 + Tendering Criterion + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Criterion. Criterion Type Code. Code + A code signifying the type of criterion. + 0..1 + Tendering Criterion + Criterion Type Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Criterion. Name + The name of the criterion. + 0..1 + Tendering Criterion + Name + Name + Name. Type + + + + + + + + + BBIE + Tendering Criterion. Description. Text + The textual description for this criterion. + 0..n + Tendering Criterion + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Criterion. Weight Numeric. Numeric + A weighting to provide for automatic scoring of the criterion. + 0..1 + Tendering Criterion + Weight Numeric + Numeric + Numeric. Type + + + + + + + + + BBIE + Tendering Criterion. Fulfilment Indicator. Indicator + An indication that this criterion has been fulfilled. + 0..1 + Tendering Criterion + Fulfilment Indicator + Indicator + Indicator. Type + TRUE means fulfilled, FALSE means not fulfilled + + + + + + + + + BBIE + Tendering Criterion. Fulfilment Indicator Type Code. Code + A code signifying how this criterion has been fulfilled. + + 0..1 + Tendering Criterion + Fulfilment Indicator Type Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Criterion. Evaluation Method Type Code. Code + A code signifying the type of Evaluation. + 0..1 + Tendering Criterion + Evaluation Method Type Code + Code + Code. Type + Weight + + + + + + + + + BBIE + Tendering Criterion. Weighting Consideration Description. Text + The textual description of the Weighting Description + 0..n + Tendering Criterion + Weighting Consideration Description + Text + Text. Type + + + + + + + + + ASBIE + Tendering Criterion. Sub_ Tendering Criterion. Tendering Criterion + One or more tendering subcriteria. + 0..n + Tendering Criterion + Sub + Tendering Criterion + Tendering Criterion + Tendering Criterion + + + + + + + + + ASBIE + Tendering Criterion. Legislation + The legislation reference for the criterion. + 0..n + Tendering Criterion + Legislation + Legislation + Legislation + + + + + + + + + ASBIE + Tendering Criterion. Tendering Criterion Property Group + The sets of properties that can be used to fulfil the tendering criterion. + 1..n + Tendering Criterion + Tendering Criterion Property Group + Tendering Criterion Property Group + Tendering Criterion Property Group + + + + + + + + + + + ABIE + Tendering Criterion Property. Details + A class to describe the criterion properties. + Tendering Criterion Property + + + + + + + + + BBIE + Tendering Criterion Property. Identifier + An identifier to refer to the criterion property. + 0..1 + Tendering Criterion Property + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Criterion Property. Name + The name of the criterion property. + 0..1 + Tendering Criterion Property + Name + Name + Name. Type + + + + + + + + + BBIE + Tendering Criterion Property. Description. Text + A description of the criterion property. + 0..n + Tendering Criterion Property + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Criterion Property. Type Code. Code + A mutually agreed code signifying the type of the property. + 0..1 + Tendering Criterion Property + Type Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Criterion Property. Value Data Type Code. Code + The data type of the numeric value and any constraints on the data type metadata. + 0..1 + Tendering Criterion Property + Value Data Type Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Criterion Property. Value Unit Code. Code + The unit of measure of the numeric value as a quantity or measure. + 0..1 + Tendering Criterion Property + Value Unit Code + Code + Unit Of Measure + Unit Of Measure_ Code. Type + + + + + + + + + BBIE + Tendering Criterion Property. Value Currency Code. Code + The currency of the numeric value as an amount. + 0..1 + Tendering Criterion Property + Value Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Tendering Criterion Property. Expected_ Amount. Amount + The expected amount that the responder has to provide in the criterion response. + 0..1 + Tendering Criterion Property + Expected + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tendering Criterion Property. Expected_ Identifier. Identifier + The expected identifier that the responder has to provide in the criterion response. + 0..1 + Tendering Criterion Property + Expected + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Criterion Property. Expected_ Code. Code + The expected code that the responder has to provide in the criterion response. + 0..1 + Tendering Criterion Property + Expected + Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Criterion Property. Expected_ Value. Numeric + The expected value that the responder has to provide in the criterion response. + 0..1 + Tendering Criterion Property + Expected + Value + Numeric + Numeric. Type + + + + + + + + + BBIE + Tendering Criterion Property. Expected_ Description. Text + The description of the of the expected + 0..1 + Tendering Criterion Property + Expected + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Criterion Property. Maximum_ Amount. Amount + The maximum amount the response must have. + 0..1 + Tendering Criterion Property + Maximum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tendering Criterion Property. Minimum_ Amount. Amount + The minimum amount the response must have. + 0..1 + Tendering Criterion Property + Minimum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tendering Criterion Property. Maximum_ Value. Numeric + The maximum value the response must have. + 0..1 + Tendering Criterion Property + Maximum + Value + Numeric + Numeric. Type + + + + + + + + + BBIE + Tendering Criterion Property. Minimum_ Value. Numeric + The minimum value the response must have. + 0..1 + Tendering Criterion Property + Minimum + Value + Numeric + Numeric. Type + + + + + + + + + BBIE + Tendering Criterion Property. Translation Type Code. Code + The type of Transation that the requirement shall be translated for example certified translation + 0..1 + Tendering Criterion Property + Translation Type Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Criterion Property. Certification Level Description. Text + The description of the level of the expected certification + 0..n + Tendering Criterion Property + Certification Level Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Criterion Property. Copy Quality Type Code. Code + The type of Copy quality, expressed as a code. + 0..1 + Tendering Criterion Property + Copy Quality Type Code + Code + Code. Type + + + + + + + + + ASBIE + Tendering Criterion Property. Applicable_ Period. Period + The period to which this criterion property shall apply. + 0..n + Tendering Criterion Property + Applicable + Period + Period + Period + + + + + + + + + ASBIE + Tendering Criterion Property. Template_ Evidence. Evidence + An evidence that can be used to meet this criterion property. + 0..n + Tendering Criterion Property + Template + Evidence + Evidence + Evidence + + + + + + + + + + + ABIE + Tendering Criterion Property Group. Details + A class to describe a group of tendering criteria + Tendering Criterion Property Group + + + + + + + + + BBIE + Tendering Criterion Property Group. Identifier + An identifier for the group of criteria. + 0..1 + Tendering Criterion Property Group + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Criterion Property Group. Name + The name of the group. + 0..1 + Tendering Criterion Property Group + Name + Name + Name. Type + + + + + + + + + BBIE + Tendering Criterion Property Group. Description. Text + The textual description for this group. + 0..n + Tendering Criterion Property Group + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Criterion Property Group. Property Group Type Code. Code + A code signifying the type of the property group + 0..1 + Tendering Criterion Property Group + Property Group Type Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Criterion Property Group. Fulfilment Indicator. Indicator + An indication that this group of criteria have been fulfilled. + 0..1 + Tendering Criterion Property Group + Fulfilment Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Criterion Property Group. Fulfilment Indicator Type Code. Code + A code signifying how this group of criteria have been fulfilled. + 0..1 + Tendering Criterion Property Group + Fulfilment Indicator Type Code + Code + Code. Type + + + + + + + + + ASBIE + Tendering Criterion Property Group. Tendering Criterion Property + All the criteria properties comprising the tendering criterion. + 1..n + Tendering Criterion Property Group + Tendering Criterion Property + Tendering Criterion Property + Tendering Criterion Property + + + + + + + + + ASBIE + Tendering Criterion Property Group. Subsidiary_ Tendering Criterion Property Group. Tendering Criterion Property Group + Subsidiary tendering criteria groups comprising this tendering criterion. + 0..n + Tendering Criterion Property Group + Subsidiary + Tendering Criterion Property Group + Tendering Criterion Property Group + Tendering Criterion Property Group + + + + + + + + + + + ABIE + Tendering Criterion Response. Details + A class to describe a response to a criterion property. + Tendering Criterion Response + + + + + + + + + BBIE + Tendering Criterion Response. Identifier + An identifier for this criterion property response. + 0..1 + Tendering Criterion Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Criterion Response. Name + The name of the criterion property response + 0..1 + Tendering Criterion Response + Name + Name + Name. Type + + + + + + + + + BBIE + Tendering Criterion Response. Description. Text + A description of the criterion response + 0..n + Tendering Criterion Response + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Criterion Response. Validated Criterion Property Identifier. Identifier + An identifier for this item of criterion support. + 0..1 + Tendering Criterion Response + Validated Criterion Property Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Criterion Response. Confidentiality Level Code. Code + A code specifying the confidentiality level of the response to this criterion. + 0..1 + Tendering Criterion Response + Confidentiality Level Code + Code + Code. Type + + + + + + + + + ASBIE + Tendering Criterion Response. Response Value + The criterion requirement property values. + 0..n + Tendering Criterion Response + Response Value + Response Value + Response Value + + + + + + + + + ASBIE + Tendering Criterion Response. Applicable_ Period. Period + The period to which this criterion property response applies. + 0..n + Tendering Criterion Response + Applicable + Period + Period + Period + + + + + + + + + ASBIE + Tendering Criterion Response. Evidence Supplied + A reference to the evidence supporting this criterion property response. + 0..n + Tendering Criterion Response + Evidence Supplied + Evidence Supplied + Evidence Supplied + + + + + + + + + + + ABIE + Tendering Process. Details + A class to describe the process of a formal offer and response to execute work or supply goods at a stated price. + Tendering Process + + + + + + + + + BBIE + Tendering Process. Identifier + An identifier for this tendering process. + 0..1 + Tendering Process + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Process. Original_ Contracting System. Identifier + When reopening a tendering process, the identifier of the original framework agreement or dynamic purchasing system. + 0..1 + Tendering Process + Original + Contracting System + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Process. Description. Text + Text describing the tendering process. + 0..n + Tendering Process + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Process. Negotiation_ Description. Text + Text describing the negotiation to be followed during the tendering process. + 0..n + Tendering Process + Negotiation + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Process. Procedure Code. Code + A code signifying the type of this tendering procedure. + 0..1 + Tendering Process + Procedure Code + Code + Code. Type + Open, Restricted, Negotiated + + + + + + + + + BBIE + Tendering Process. Urgency Code. Code + A code signifying the urgency of this tendering process. + 0..1 + Tendering Process + Urgency Code + Code + Code. Type + Urgent, Normal, Emergency + + + + + + + + + BBIE + Tendering Process. Expense Code. Code + A code signifying the type of expense for this tendering process. + 0..1 + Tendering Process + Expense Code + Code + Code. Type + Normal, Anticipated + + + + + + + + + BBIE + Tendering Process. Part Presentation Code. Code + A code signifying the type of presentation of tenders required (e.g., one lot, multiple lots, or all the lots). + 0..1 + Tendering Process + Part Presentation Code + Code + Code. Type + One Lot, Multiple Lots, All Lots + + + + + + + + + BBIE + Tendering Process. Contracting System Code. Code + A code signifying the type of contracting system (e.g., framework agreement, dynamic purchasing system). If the procedure is individual (nonrepetitive), this code should be omitted. + 0..1 + Tendering Process + Contracting System Code + Code + Code. Type + Framework Agreement, Dynamic Purchasing System + + + + + + + + + BBIE + Tendering Process. Submission Method Code. Code + A code signifying the method to be followed in submitting tenders. + 0..1 + Tendering Process + Submission Method Code + Code + Code. Type + Manual, Electronically, etc. + + + + + + + + + BBIE + Tendering Process. Candidate Reduction_ Constraint. Indicator + An indicator that the number of candidates participating in this process has been reduced (true) or not (false). + 0..1 + Tendering Process + Candidate Reduction + Constraint + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Process. Government Agreement_ Constraint. Indicator + An indicator that the project associated with this tendering process is constrained by a government procurement agreement (true) or not (false). + 0..1 + Tendering Process + Government Agreement + Constraint + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Process. Access Tools_ URI. Identifier + The URI where the tools for electronic communication related with the tendering process can be found. + 0..1 + Tendering Process + Access Tools + URI + Identifier + Identifier. Type + + + + + + + + + ASBIE + Tendering Process. Document Availability_ Period. Period + The period during which documents relating to this tendering process must be completed. + 0..1 + Tendering Process + Document Availability + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Tender Submission Deadline_ Period. Period + The period during which tenders must be delivered. + 0..1 + Tendering Process + Tender Submission Deadline + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Invitation Submission_ Period. Period + The period during which invitations to tender must be completed and delivered. + 0..1 + Tendering Process + Invitation Submission + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Participation Request Reception_ Period. Period + The period during which requests for participation must be completed and delivered. + 0..1 + Tendering Process + Participation Request Reception + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Notice_ Document Reference. Document Reference + A reference to a notice pertaining to this tendering process. + 0..n + Tendering Process + Notice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Process. Additional_ Document Reference. Document Reference + A reference to an additional document. + 0..n + Tendering Process + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Process. Process Justification + A justification for the selection of this tendering process. + 0..n + Tendering Process + Process Justification + Process Justification + Process Justification + + + + + + + + + ASBIE + Tendering Process. Economic Operator Short List + A set of criteria used to create a short list of candidates. + 0..n + Tendering Process + Economic Operator Short List + Economic Operator Short List + Economic Operator Short List + + + + + + + + + ASBIE + Tendering Process. Open Tender_ Event. Event + Textual description of the legal form required for potential tenderers. + 0..n + Tendering Process + Open Tender + Event + Event + Event + + + + + + + + + ASBIE + Tendering Process. Auction Terms + The terms to be fulfilled by tenderers if an auction is to be executed before the awarding of a tender. + 0..1 + Tendering Process + Auction Terms + Auction Terms + Auction Terms + + + + + + + + + ASBIE + Tendering Process. Framework Agreement + A tendering framework agreement. + 0..1 + Tendering Process + Framework Agreement + Framework Agreement + Framework Agreement + + + + + + + + + ASBIE + Tendering Process. Contracting System + A reference to a contracting system. Only when the procedure is repetitive. + 0..n + Tendering Process + Contracting System + Contracting System + Contracting System + + + + + + + + + + + ABIE + Tendering Terms. Details + A class to describe tendering terms for a tendering process. + Tendering Terms + + + + + + + + + BBIE + Tendering Terms. Awarding Method Type Code. Code + A code signifying the awarding method in a tendering process (e.g., a method favoring the tender with the lowest price or the tender that is most economically advantageous). + 0..1 + Tendering Terms + Awarding Method Type Code + Code + Code. Type + Price, Multiple criteria + + + + + + + + + BBIE + Tendering Terms. Price Evaluation Code. Code + Textual description of the legal form required for potential tenderers. + 0..1 + Tendering Terms + Price Evaluation Code + Code + Code. Type + Unit prices, global price + + + + + + + + + BBIE + Tendering Terms. Maximum Variant_ Quantity. Quantity + Maximum number of variants the tenderer is allowed to present for this tendering project. + 0..1 + Tendering Terms + Maximum Variant + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Tendering Terms. Variant_ Constraint. Indicator + An indicator that variants are allowed and unconstrained in number (true) or not allowed (false). + 0..1 + Tendering Terms + Variant + Constraint + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Terms. Accepted Variants_ Description. Text + Text specifying the things for which variants are accepted. + 0..n + Tendering Terms + Accepted Variants + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Price Revision_ Formula Description. Text + Text describing the formula for price revision. + 0..n + Tendering Terms + Price Revision + Formula Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Funding_ Program Code. Code + The program that funds the tendering process (e.g., "National", "European"), expressed as a code. + 0..1 + Tendering Terms + Funding + Program Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Terms. Funding_ Program. Text + The program that funds the tendering process (e.g., EU 6th Framework Program) expressed as text. + 0..n + Tendering Terms + Funding + Program + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Maximum_ Advertisement. Amount + The maximum advertised monetary value of the tendering process. + 0..1 + Tendering Terms + Maximum + Advertisement + Amount + Amount. Type + + + + + + + + + BBIE + Tendering Terms. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Tendering Terms + Note + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Payment Frequency Code. Code + A code signifying the frequency of payment in the contract associated with the tendering process. + 0..1 + Tendering Terms + Payment Frequency Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Terms. Economic Operator Registry_ URI. Identifier + The Uniform Resource Identifier (URI) of an electronic registry of economic operators. + 0..1 + Tendering Terms + Economic Operator Registry + URI + Identifier + Identifier. Type + Web site + + + + + + + + + BBIE + Tendering Terms. Required Curricula. Indicator + An indicator that tenderers are required to provide a curriculum vitae for each participant in the project (true) or are not so required (false). + 0..1 + Tendering Terms + Required Curricula + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Terms. Other_ Conditions. Indicator + Indicates whether other conditions exist (true) or not (false). If the indicator is true, the description may be provided. + 0..1 + Tendering Terms + Other + Conditions + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Terms. Recurring_ Procurement. Indicator + Indicates whether the procurement is recurring (true) or not (false). + 0..1 + Tendering Terms + Recurring + Procurement + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Terms. Estimated Timing_ Further Publication. Text + The description of the estimated timing for further notices to be published. + 0..n + Tendering Terms + Estimated Timing + Further Publication + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Additional_ Conditions. Text + Other existing conditions. + 0..n + Tendering Terms + Additional + Conditions + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Latest_ Security Clearance Date. Date + The end date until which the candidates can obtain the necessary level of security clearance. + 0..1 + Tendering Terms + Latest + Security Clearance Date + Date + Date. Type + + + + + + + + + BBIE + Tendering Terms. Documentation Fee Amount. Amount + The amount to be paid to obtain the contract documents and additional documentation. + 0..1 + Tendering Terms + Documentation Fee Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Tendering Terms. Penalty_ Clause. Clause + The penalty clauses + 0..n + Tendering Terms + Penalty + Clause + Clause + Clause + + + + + + + + + ASBIE + Tendering Terms. Required_ Financial Guarantee. Financial Guarantee + A financial guarantee of a tenderer or bid submitter's actual entry into a contract in the event that it is the successful bidder. + 0..n + Tendering Terms + Required + Financial Guarantee + Financial Guarantee + Financial Guarantee + + + + + + + + + ASBIE + Tendering Terms. Procurement Legislation_ Document Reference. Document Reference + A reference to a document providing references to procurement legislation applicable to the tendering process. + 0..1 + Tendering Terms + Procurement Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Fiscal Legislation_ Document Reference. Document Reference + A reference to a document providing references to fiscal legislation applicable to the tendering process. + 0..1 + Tendering Terms + Fiscal Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Environmental Legislation_ Document Reference. Document Reference + A reference to a document providing references to environmental legislation applicable to the tendering process. + 0..1 + Tendering Terms + Environmental Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Employment Legislation_ Document Reference. Document Reference + A reference to a document providing references to employment legislation applicable to the tendering process. + 0..1 + Tendering Terms + Employment Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Contractual_ Document Reference. Document Reference + A reference to a document that will become part of the awarded contract. + 0..n + Tendering Terms + Contractual + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Call For Tenders_ Document Reference. Document Reference + A reference to the Call for Tender associated with these tendering terms. + 0..1 + Tendering Terms + Call For Tenders + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Warranty Validity_ Period. Period + The period during which a warranty for work, service, or goods associated with these tendering terms is valid. + 0..1 + Tendering Terms + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Tendering Terms. Payment Terms + A specification of payment terms associated with the tendering process. + 0..n + Tendering Terms + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Tendering Terms. Tenderer Qualification Request + Required set of qualifications for a tenderer in this tendering process. + 0..n + Tendering Terms + Tenderer Qualification Request + Tenderer Qualification Request + Tenderer Qualification Request + + + + + + + + + ASBIE + Tendering Terms. Allowed_ Subcontract Terms. Subcontract Terms + Subcontract terms for the tendering process. + 0..n + Tendering Terms + Allowed + Subcontract Terms + Subcontract Terms + Subcontract Terms + + + + + + + + + ASBIE + Tendering Terms. Tender Preparation + Directions for preparing a tender for the+D2057 tendering process. + 0..n + Tendering Terms + Tender Preparation + Tender Preparation + Tender Preparation + Curricula required, Experience required, .... + + + + + + + + + ASBIE + Tendering Terms. Contract Execution Requirement + A requirement relating to execution of the contract that will be awarded as a result of the tendering process. + 0..n + Tendering Terms + Contract Execution Requirement + Contract Execution Requirement + Contract Execution Requirement + + + + + + + + + ASBIE + Tendering Terms. Awarding Terms + The terms in the tendering process for awarding the contract for a project. + 0..1 + Tendering Terms + Awarding Terms + Awarding Terms + Awarding Terms + + + + + + + + + ASBIE + Tendering Terms. Additional Information_ Party. Party + A party that has additional information about the tendering process. + 0..1 + Tendering Terms + Additional Information + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Document Provider_ Party. Party + The party that has the contract documents for the tendering process. + 0..1 + Tendering Terms + Document Provider + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Tender Recipient_ Party. Party + The party to which tenders should be presented. + 0..1 + Tendering Terms + Tender Recipient + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Contract Responsible_ Party. Party + The party responsible for the execution of the contract. + 0..1 + Tendering Terms + Contract Responsible + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Tender Evaluation_ Party. Party + A party in the contracting authority responsible for evaluating tenders received. + 0..n + Tendering Terms + Tender Evaluation + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Tender Validity_ Period. Period + The period during which tenders submitted for this tendering process must remain valid. + 0..1 + Tendering Terms + Tender Validity + Period + Period + Period + + + + + + + + + ASBIE + Tendering Terms. Contract Acceptance_ Period. Period + The period of time during which the contracting authority may accept a contract. + 0..1 + Tendering Terms + Contract Acceptance + Period + Period + Period + + + + + + + + + ASBIE + Tendering Terms. Appeal Terms + Information about the terms to present for an appeal against a tender award. + 0..1 + Tendering Terms + Appeal Terms + Appeal Terms + Appeal Terms + + + + + + + + + ASBIE + Tendering Terms. Language + One of the default languages specified for the tendering process. + 0..n + Tendering Terms + Language + Language + Language + + + + + + + + + ASBIE + Tendering Terms. Budget Account Line + A budget account line associated with the tendering process. + 0..n + Tendering Terms + Budget Account Line + Budget Account Line + Budget Account Line + + + + + + + + + ASBIE + Tendering Terms. Replaced Notice_ Document Reference. Document Reference + A class defining a reference to the notice that is being replaced. + 0..1 + Tendering Terms + Replaced Notice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Lot Distribution + List of specific ways to tender to the lots of the procurement project. + 0..1 + Tendering Terms + Lot Distribution + Lot Distribution + Lot Distribution + + + + + + + + + ASBIE + Tendering Terms. Post Award Process + Information about the post-award process. + 0..1 + Tendering Terms + Post Award Process + Post Award Process + Post Award Process + + + + + + + + + ASBIE + Tendering Terms. Economic Operator Short List + A set of criteria used to create a short list of candidates. + 0..1 + Tendering Terms + Economic Operator Short List + Economic Operator Short List + Economic Operator Short List + + + + + + + + + + + ABIE + Trade Financing. Details + A class to describe a trade financing instrument. + Trade Financing + + + + + + + + + BBIE + Trade Financing. Identifier + An identifier for this trade financing instrument. + 0..1 + Trade Financing + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Trade Financing. Financing Instrument Code. Code + A code signifying the type of this financing instrument. + 0..1 + Trade Financing + Financing Instrument Code + Code + Code. Type + Factoring , Invoice Financing , Pre-shipment Financing , Letter of Credit , Irrevocable Letter of Credit . + + + + + + + + + + ASBIE + Trade Financing. Contract_ Document Reference. Document Reference + A reference to a contract document. + 0..1 + Trade Financing + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Trade Financing. Document Reference + A reference to a document associated with this trade financing instrument. + 0..n + Trade Financing + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Trade Financing. Financing_ Party. Party + The financing party (bank or other enabled party). + 1 + Trade Financing + Financing + Party + Party + Party + + + + + + + + + ASBIE + Trade Financing. Financing_ Financial Account. Financial Account + An internal bank account used by the bank or its first agent to manage the line of credit granted to the financing requester. + 0..1 + Trade Financing + Financing + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Trade Financing. Clause + A clause applicable to this trade financing instrument. + 0..n + Trade Financing + Clause + Clause + Clause + + + + + + + + + + + ABIE + Trading Terms. Details + A class for describing the terms of a trade agreement. + Trading Terms + + + + + + + + + BBIE + Trading Terms. Information. Text + Text describing the terms of a trade agreement. + 0..n + Trading Terms + Information + Text + Text. Type + Unless credit terms have been expressly agreed by Dell, payment for the products or services shall be made in full before physical delivery of products or services. Customer shall pay for all shipping and handling charges. + + + + + + + + + BBIE + Trading Terms. Reference. Text + A reference quoting the basis of the terms + 0..1 + Trading Terms + Reference + Text + Text. Type + http://www1.ap.dell.com/content/topics/topic.aspx/ap/policy/en/au/sales_terms_au + + + + + + + + + ASBIE + Trading Terms. Applicable_ Address. Address + The address at which these trading terms apply. + 0..1 + Trading Terms + Applicable + Address + Address + Address + + + + + + + + + + + ABIE + Transaction Conditions. Details + A class to describe purchasing, sales, or payment conditions. + Transaction Conditions + Payment Conditions, Sales Conditions + + + + + + + + + BBIE + Transaction Conditions. Identifier + An identifier for conditions of the transaction, typically purchase/sales conditions. + 0..1 + Transaction Conditions + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transaction Conditions. Action Code. Code + A code signifying a type of action relating to sales or payment conditions. + 0..1 + Transaction Conditions + Action Code + Code + Code. Type + + + + + + + + + BBIE + Transaction Conditions. Description. Text + Text describing the transaction conditions. + 0..n + Transaction Conditions + Description + Text + Text. Type + + + + + + + + + ASBIE + Transaction Conditions. Document Reference + A document associated with these transaction conditions. + 0..n + Transaction Conditions + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Transport Equipment. Details + A class to describe a piece of equipment used to transport goods. + Transport Equipment + Shipping Container, Sea Container, Rail Wagon, Pallet, Trailer, Unit Load Device, ULD + + + + + + + + + BBIE + Transport Equipment. Identifier + An identifier for this piece of transport equipment. + 0..1 + Transport Equipment + Identifier + Identifier + Identifier. Type + OCLU 1234567 + + + + + + + + + BBIE + Transport Equipment. Referenced_ Consignment Identifier. Identifier + An identifier for the consignment contained by this piece of transport equipment. + 0..n + Transport Equipment + Referenced + Consignment Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Equipment. Transport Equipment Type Code. Code + A code signifying the type of this piece of transport equipment. + 0..1 + Transport Equipment + Transport Equipment Type Code + Code + Transport Equipment Type + Transport Equipment Type_ Code. Type + + + + + + + + + BBIE + Transport Equipment. Provider Type Code. Code + A code signifying the type of provider of this piece of transport equipment. + 0..1 + Transport Equipment + Provider Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Owner Type Code. Code + A code signifying the type of owner of this piece of transport equipment. + 0..1 + Transport Equipment + Owner Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Size Type Code. Code + A code signifying the size and type of this piece of piece of transport equipment. When the piece of transport equipment is a shipping container, it is recommended to use ContainerSizeTypeCode for validation. + 0..1 + Transport Equipment + Size Type Code + Code + Code. Type + Container Size Type Code + + + + + + + + + BBIE + Transport Equipment. Disposition Code. Code + A code signifying the current disposition of this piece of transport equipment. + 0..1 + Transport Equipment + Disposition Code + Code + Code. Type + Status + + + + + + + + + BBIE + Transport Equipment. Fullness Indication Code. Code + A code signifying whether this piece of transport equipment is full, partially full, or empty. + 0..1 + Transport Equipment + Fullness Indication Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Refrigeration On_ Indicator. Indicator + An indicator that this piece of transport equipment's refrigeration is on (true) or off (false). + 0..1 + Transport Equipment + Refrigeration On + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Information. Text + Additional information about this piece of transport equipment. + 0..n + Transport Equipment + Information + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Returnability_ Indicator. Indicator + An indicator that this piece of transport equipment is returnable (true) or not (false). + 0..1 + Transport Equipment + Returnability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Legal Status_ Indicator. Indicator + An indication of the legal status of this piece of transport equipment with respect to the Container Convention Code. + 0..1 + Transport Equipment + Legal Status + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Air Flow Percent. Percent + The percent of the airflow within this piece of transport equipment. + 0..1 + Transport Equipment + Air Flow Percent + Percent + Percent. Type + + + + + + + + + BBIE + Transport Equipment. Humidity Percent. Percent + The percent humidity within this piece of transport equipment. + 0..1 + Transport Equipment + Humidity Percent + Percent + Percent. Type + + + + + + + + + BBIE + Transport Equipment. Animal Food_ Approved Indicator. Indicator + An indicator that this piece of transport equipment is approved for animal food (true) or not (false). + 0..1 + Transport Equipment + Animal Food + Approved Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Human Food_ Approved Indicator. Indicator + An indicator that this piece of transport equipment is approved for human food (true) or not (false). + 0..1 + Transport Equipment + Human Food + Approved Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Dangerous Goods_ Approved Indicator. Indicator + An indicator that this piece of transport equipment is approved for dangerous goods (true) or not (false). + 0..1 + Transport Equipment + Dangerous Goods + Approved Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Refrigerated_ Indicator. Indicator + An indicator that this piece of transport equipment is refrigerated (true) or not (false). + 0..1 + Transport Equipment + Refrigerated + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Characteristics. Text + Characteristics of this piece of transport equipment. + 0..1 + Transport Equipment + Characteristics + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Damage_ Remarks. Text + Damage associated with this piece of transport equipment. + 0..n + Transport Equipment + Damage + Remarks + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Description. Text + Text describing this piece of transport equipment. + 0..n + Transport Equipment + Description + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Special_ Transport Requirements. Text + Special transport requirements expressed as text. + 0..n + Transport Equipment + Special + Transport Requirements + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Gross_ Weight. Measure + The gross weight of this piece of transport equipment. + 0..1 + Transport Equipment + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Transport Equipment. Gross_ Volume. Measure + The gross volume of this piece of transport equipment. + 0..1 + Transport Equipment + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Transport Equipment. Tare_ Weight. Measure + The weight of this piece of transport equipment when empty. + 0..1 + Transport Equipment + Tare + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Transport Equipment. Tracking Device Code. Code + A code signifying the tracking device for this piece of transport equipment. + 0..1 + Transport Equipment + Tracking Device Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Power. Indicator + An indicator that this piece of transport equipment can supply power (true) or not (false). + 0..1 + Transport Equipment + Power + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Trace_ Identifier. Identifier + An identifier for use in tracing this piece of transport equipment, such as the EPC number used in RFID. + 0..1 + Transport Equipment + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Transport Equipment. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this piece of transport equipment. + 0..n + Transport Equipment + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Equipment. Transport Equipment Seal + A seal securing the door of a piece of transport equipment. + 0..n + Transport Equipment + Transport Equipment Seal + Transport Equipment Seal + Transport Equipment Seal + + + + + + + + + ASBIE + Transport Equipment. Minimum_ Temperature. Temperature + In the case of a refrigeration unit, the minimum allowable operating temperature for this container. + 0..1 + Transport Equipment + Minimum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Equipment. Maximum_ Temperature. Temperature + In the case of a refrigeration unit, the maximum allowable operating temperature for this container. + 0..1 + Transport Equipment + Maximum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Equipment. Provider_ Party. Party + The party providing this piece of transport equipment. + 0..1 + Transport Equipment + Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Equipment. Loading Proof_ Party. Party + The authorized party responsible for certifying that the goods were loaded into this piece of transport equipment. + 0..1 + Transport Equipment + Loading Proof + Party + Party + Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Supplier Party + The party that supplies this piece of transport equipment. + 0..1 + Transport Equipment + Supplier Party + Supplier Party + Supplier Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Owner_ Party. Party + The party that owns this piece of transport equipment. + 0..1 + Transport Equipment + Owner + Party + Party + Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Operating_ Party. Party + The party that operates this piece of transport equipment. + 0..1 + Transport Equipment + Operating + Party + Party + Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Loading_ Location. Location + The location where this piece of transport equipment is loaded. + 0..1 + Transport Equipment + Loading + Location + Location + Location + Vanning address (WCO ID 068), Stuffing location + + + + + + + + + ASBIE + Transport Equipment. Unloading_ Location. Location + The location where this piece of transport equipment is unloaded. + 0..1 + Transport Equipment + Unloading + Location + Location + Location + + + + + + + + + ASBIE + Transport Equipment. Storage_ Location. Location + The location where this piece of transport equipment is being stored. + 0..1 + Transport Equipment + Storage + Location + Location + Location + + + + + + + + + ASBIE + Transport Equipment. Positioning_ Transport Event. Transport Event + A positioning of this piece of transport equipment. + 0..n + Transport Equipment + Positioning + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Quarantine_ Transport Event. Transport Event + A quarantine of this piece of transport equipment. + 0..n + Transport Equipment + Quarantine + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Delivery_ Transport Event. Transport Event + A delivery of this piece of transport equipment. + 0..n + Transport Equipment + Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Pickup_ Transport Event. Transport Event + A pickup of this piece of transport equipment. + 0..n + Transport Equipment + Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Handling_ Transport Event. Transport Event + A handling of this piece of transport equipment. + 0..n + Transport Equipment + Handling + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Loading_ Transport Event. Transport Event + A loading of this piece of transport equipment. + 0..n + Transport Equipment + Loading + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Transport Event + A transport event associated with this piece of transport equipment. + 0..n + Transport Equipment + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Applicable_ Transport Means. Transport Means + The applicable transport means associated with this piece of transport equipment. + 0..1 + Transport Equipment + Applicable + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Equipment. Haulage_ Trading Terms. Trading Terms + A set of haulage trading terms associated with this piece of transport equipment. + 0..n + Transport Equipment + Haulage + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Transport Equipment. Hazardous Goods Transit + Transit-related information regarding a type of hazardous goods contained in this piece of transport equipment. + 0..n + Transport Equipment + Hazardous Goods Transit + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Transport Equipment. Packaged_ Transport Handling Unit. Transport Handling Unit + A packaged transport handling unit associated with this piece of transport equipment. + 0..n + Transport Equipment + Packaged + Transport Handling Unit + Transport Handling Unit + Transport Handling Unit + + + + + + + + + ASBIE + Transport Equipment. Service_ Allowance Charge. Allowance Charge + A service allowance charge associated with this piece of transport equipment. + 0..n + Transport Equipment + Service + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Transport Equipment. Freight_ Allowance Charge. Allowance Charge + A freight allowance charge associated with this piece of transport equipment. + 0..n + Transport Equipment + Freight + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Transport Equipment. Attached_ Transport Equipment. Transport Equipment + A piece of transport equipment attached to this piece of transport equipment. + 0..n + Transport Equipment + Attached + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transport Equipment. Delivery + The delivery of this piece of transport equipment. + 0..1 + Transport Equipment + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Transport Equipment. Pickup + The pickup of this piece of transport equipment. + 0..1 + Transport Equipment + Pickup + Pickup + Pickup + + + + + + + + + ASBIE + Transport Equipment. Despatch + The despatch of this piece of transport equipment. + 0..1 + Transport Equipment + Despatch + Despatch + Despatch + + + + + + + + + ASBIE + Transport Equipment. Shipment_ Document Reference. Document Reference + A reference to a shipping document associated with this piece of transport equipment. + 0..n + Transport Equipment + Shipment + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Equipment. Contained In_ Transport Equipment. Transport Equipment + A piece of transport equipment contained in this piece of transport equipment. + 0..n + Transport Equipment + Contained In + Transport Equipment + Transport Equipment + Transport Equipment + e.g. pallets inside containers + + + + + + + + + ASBIE + Transport Equipment. Package + A package contained in this piece of transport equipment. + 0..n + Transport Equipment + Package + Package + Package + + + + + + + + + ASBIE + Transport Equipment. Goods Item + A goods item contained in this piece of transport equipment. + 0..n + Transport Equipment + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Transport Equipment. Verified Gross Mass + The verified gross mass of this piece of transport equipment. + 0..1 + Transport Equipment + Verified Gross Mass + Verified Gross Mass + Verified Gross Mass + + + + + + + + + + + ABIE + Transport Equipment Seal. Details + A class to describe a device (a transport equipment seal) for securing the doors of a shipping container. + Transport Equipment Seal + Container Seal + + + + + + + + + BBIE + Transport Equipment Seal. Identifier + An identifier for this transport equipment seal. + 1 + Transport Equipment Seal + Identifier + Identifier + Identifier. Type + ACS1234 + + + + + + + + + BBIE + Transport Equipment Seal. Seal Issuer Type Code. Code + A code signifying the type of party that issues and is responsible for this transport equipment seal. + 0..1 + Transport Equipment Seal + Seal Issuer Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment Seal. Condition. Text + The condition of this transport equipment seal. + 0..1 + Transport Equipment Seal + Condition + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment Seal. Seal Status Code. Code + A code signifying the condition of this transport equipment seal. + 0..1 + Transport Equipment Seal + Seal Status Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment Seal. Sealing Party Type. Text + The role of the sealing party. + 0..1 + Transport Equipment Seal + Sealing Party Type + Text + Text. Type + Sealing Party + + + + + + + + + + + ABIE + Transport Event. Details + A class to describe a significant occurrence or happening related to the transportation of goods. + Transport Event + + + + + + + + + BBIE + Transport Event. Identification. Identifier + An identifier for this transport event within an agreed event identification scheme. + 0..1 + Transport Event + Identification + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Event. Occurrence Date. Date + The date of this transport event. + 0..1 + Transport Event + Occurrence Date + Date + Date. Type + + + + + + + + + BBIE + Transport Event. Occurrence Time. Time + The time of this transport event. + 0..1 + Transport Event + Occurrence Time + Time + Time. Type + + + + + + + + + BBIE + Transport Event. Transport Event Type Code. Code + A code signifying the type of this transport event. + 0..1 + Transport Event + Transport Event Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Event. Description. Text + Text describing this transport event. + 0..n + Transport Event + Description + Text + Text. Type + + + + + + + + + BBIE + Transport Event. Completion_ Indicator. Indicator + An indicator that this transport event has been completed (true) or not (false). + 0..1 + Transport Event + Completion + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Transport Event. Reported_ Shipment. Shipment + The shipment involved in this transport event. + 0..1 + Transport Event + Reported + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Transport Event. Current_ Status. Status + The current status of this transport event. + 0..n + Transport Event + Current + Status + Status + Status + + + + + + + + + ASBIE + Transport Event. Contact + A contact associated with this transport event. + 0..n + Transport Event + Contact + Contact + Contact + + + + + + + + + ASBIE + Transport Event. Location + The location associated with this transport event. + 0..1 + Transport Event + Location + Location + Location + + + + + + + + + ASBIE + Transport Event. Signature + A signature that can be used to sign for an entry or an exit at a transport location (e.g., port terminal). + 0..1 + Transport Event + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Event. Period + A period of time associated with this transport event. + 0..n + Transport Event + Period + Period + Period + + + + + + + + + + + ABIE + Transport Execution Terms. Details + A class to describe terms applying to a transport execution plan. + Transport Execution Terms + + + + + + + + + BBIE + Transport Execution Terms. Transport User_ Special Terms. Text + Text describing special terms specified by the transport user. + 0..n + Transport Execution Terms + Transport User + Special Terms + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Terms. Transport Service Provider_ Special Terms. Text + Text describing special terms specified by the transport service provider. + 0..n + Transport Execution Terms + Transport Service Provider + Special Terms + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Terms. Change Conditions. Text + Text describing conditions applying to a change of these transport execution terms. + 0..n + Transport Execution Terms + Change Conditions + Text + Text. Type + + + + + + + + + ASBIE + Transport Execution Terms. Payment Terms + Payment terms associated with the transportation service. + 0..n + Transport Execution Terms + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Delivery Terms + Delivery terms (e.g., Incoterms) associated with the transportation service. + 0..n + Transport Execution Terms + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Transport Execution Terms. Bonus_ Payment Terms. Payment Terms + Terms relating to payment of applicable bonuses associated with the transport service. + 0..1 + Transport Execution Terms + Bonus + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Commission_ Payment Terms. Payment Terms + Terms of payment applying to a commission specified in the transport execution plan. + 0..1 + Transport Execution Terms + Commission + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Penalty_ Payment Terms. Payment Terms + Terms of payment applying to a penalty specified in the transport execution plan. + 0..1 + Transport Execution Terms + Penalty + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Environmental Emission + An environmental emission resulting from the transportation service. + 0..n + Transport Execution Terms + Environmental Emission + Environmental Emission + Environmental Emission + + + + + + + + + ASBIE + Transport Execution Terms. Notification Requirement + A notification requirement related to the transportation service; e.g., a requirement that the transport user should be notified when goods are ready for pickup. + 0..n + Transport Execution Terms + Notification Requirement + Notification Requirement + Notification Requirement + + + + + + + + + ASBIE + Transport Execution Terms. Service Charge_ Payment Terms. Payment Terms + Payment terms for the service charge associated with the transport service. + 0..1 + Transport Execution Terms + Service Charge + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + + + ABIE + Transport Handling Unit. Details + A class to describe a uniquely identifiable unit consisting of one or more packages, goods items, or pieces of transport equipment. + Transport Handling Unit + Logistics Unit, Handling Unit, THU + + + + + + + + + BBIE + Transport Handling Unit. Identifier + An identifier for this transport handling unit. + 0..1 + Transport Handling Unit + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Handling Unit. Transport Handling Unit Type Code. Code + A code signifying the type of this transport handling unit. + 0..1 + Transport Handling Unit + Transport Handling Unit Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Handling Unit. Handling Code. Code + The handling required for this transport handling unit, expressed as a code. + 0..1 + Transport Handling Unit + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Transport Handling Unit. Handling_ Instructions. Text + The handling required for this transport handling unit, expressed as text. + 0..n + Transport Handling Unit + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Transport Handling Unit. Hazardous Risk_ Indicator. Indicator + An indicator that the materials contained in this transport handling unit are subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Transport Handling Unit + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Transport Handling Unit. Total_ Goods Item Quantity. Quantity + The total number of goods items in this transport handling unit. + 0..1 + Transport Handling Unit + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Transport Handling Unit. Total_ Package Quantity. Quantity + The total number of packages in this transport handling unit. + 0..1 + Transport Handling Unit + Total + Package Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Transport Handling Unit. Damage_ Remarks. Text + Text describing damage associated with this transport handling unit. + 0..n + Transport Handling Unit + Damage + Remarks + Text + Text. Type + + + + + + + + + BBIE + Transport Handling Unit. Shipping_ Marks. Text + Text describing the marks and numbers on this transport handling unit. + 0..n + Transport Handling Unit + Shipping + Marks + Text + Text. Type + Marks and Numbers, Shipping Marks + + + + + + + + + BBIE + Transport Handling Unit. Trace_ Identifier. Identifier + An identifier for use in tracing this transport handling unit, such as the EPC number used in RFID. + 0..1 + Transport Handling Unit + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Transport Handling Unit. Handling Unit_ Despatch Line. Despatch Line + A despatch line associated with this transport handling unit. + 0..n + Transport Handling Unit + Handling Unit + Despatch Line + Despatch Line + Despatch Line + + + + + + + + + ASBIE + Transport Handling Unit. Actual_ Package. Package + A package contained in this transport handling unit. + 0..n + Transport Handling Unit + Actual + Package + Package + Package + + + + + + + + + ASBIE + Transport Handling Unit. Received Handling Unit_ Receipt Line. Receipt Line + A receipt line associated with this transport handling unit. + 0..n + Transport Handling Unit + Received Handling Unit + Receipt Line + Receipt Line + Receipt Line + + + + + + + + + ASBIE + Transport Handling Unit. Transport Equipment + A piece of transport equipment associated with this transport handling unit. + 0..n + Transport Handling Unit + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transport Handling Unit. Transport Means + A means of transport associated with this transport handling unit. + 0..n + Transport Handling Unit + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Handling Unit. Hazardous Goods Transit + Transit-related information regarding a type of hazardous goods contained in this transport handling unit. + 0..n + Transport Handling Unit + Hazardous Goods Transit + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Transport Handling Unit. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this transport handling unit. + 0..n + Transport Handling Unit + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Handling Unit. Minimum_ Temperature. Temperature + The minimum required operating temperature of this transport handling unit. + 0..1 + Transport Handling Unit + Minimum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Handling Unit. Maximum_ Temperature. Temperature + The maximum allowable operating temperature of this transport handling unit. + 0..1 + Transport Handling Unit + Maximum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Handling Unit. Goods Item + A goods item contained in this transport handling unit. + 0..n + Transport Handling Unit + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Transport Handling Unit. Floor Space Measurement_ Dimension. Dimension + The floor space measurement dimension associated with this transport handling unit. + 0..1 + Transport Handling Unit + Floor Space Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Handling Unit. Pallet Space Measurement_ Dimension. Dimension + The pallet space measurement dimension associated to this transport handling unit. + 0..1 + Transport Handling Unit + Pallet Space Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Handling Unit. Shipment_ Document Reference. Document Reference + A reference to a shipping document associated with this transport handling unit. + 0..n + Transport Handling Unit + Shipment + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Handling Unit. Status + The status of this transport handling unit. + 0..n + Transport Handling Unit + Status + Status + Status + + + + + + + + + ASBIE + Transport Handling Unit. Customs Declaration + Describes identifiers or references relating to customs procedures. + 0..n + Transport Handling Unit + Customs Declaration + Customs Declaration + Customs Declaration + + + + + + + + + ASBIE + Transport Handling Unit. Referenced_ Shipment. Shipment + A shipment associated with this transport handling unit. + 0..n + Transport Handling Unit + Referenced + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Transport Handling Unit. Package + A package contained in this transport handling unit. + 0..n + Transport Handling Unit + Package + Package + Package + + + + + + + + + + + ABIE + Transport Means. Details + A class to describe a particular vehicle or vessel used for the conveyance of goods or persons. + Transport Means + Conveyance + + + + + + + + + BBIE + Transport Means. Journey Identifier. Identifier + An identifier for the regular service schedule of this means of transport. + 0..1 + Transport Means + Journey Identifier + Identifier + Identifier. Type + Voyage Number, Scheduled Conveyance Identifier (WCO ID 205), Flight Number + + + + + + + + + BBIE + Transport Means. Registration_ Nationality Identifier. Identifier + An identifier for the country in which this means of transport is registered. + 0..1 + Transport Means + Registration + Nationality Identifier + Identifier + Identifier. Type + Nationality of Means of Transport (WCO 175, 178 and 179) + LIB + + + + + + + + + BBIE + Transport Means. Registration_ Nationality. Text + Text describing the country in which this means of transport is registered. + 0..n + Transport Means + Registration + Nationality + Text + Text. Type + Flag of Vessel, Nationality of Ship + Liberia + + + + + + + + + BBIE + Transport Means. Direction Code. Code + A code signifying the direction of this means of transport. + 0..1 + Transport Means + Direction Code + Code + Code. Type + Transit Direction + North , East + + + + + + + + + BBIE + Transport Means. Transport Means Type Code. Code + A code signifying the type of this means of transport (truck, vessel, etc.). + 0..1 + Transport Means + Transport Means Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Means. Trade Service Code. Code + A code signifying the service regularly provided by the carrier operating this means of transport. + 0..1 + Transport Means + Trade Service Code + Code + Code. Type + + + + + + + + + ASBIE + Transport Means. Stowage + The location within the means of transport where goods are to be or have been stowed. + 0..1 + Transport Means + Stowage + Stowage + Stowage + + + + + + + + + ASBIE + Transport Means. Air Transport + An aircraft used for transport. + 0..1 + Transport Means + Air Transport + Air Transport + Air Transport + + + + + + + + + ASBIE + Transport Means. Road Transport + A vehicle used for road transport. + 0..1 + Transport Means + Road Transport + Road Transport + Road Transport + + + + + + + + + ASBIE + Transport Means. Rail Transport + Equipment used for rail transport. + 0..1 + Transport Means + Rail Transport + Rail Transport + Rail Transport + + + + + + + + + ASBIE + Transport Means. Maritime Transport + A vessel used for transport by water (not only by sea). + 0..1 + Transport Means + Maritime Transport + Maritime Transport + Maritime Transport + + + + + + + + + ASBIE + Transport Means. Owner_ Party. Party + The party that owns this means of transport. + 0..1 + Transport Means + Owner + Party + Party + Party + + + + + + + + + ASBIE + Transport Means. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this means of transport. + 0..n + Transport Means + Measurement + Dimension + Dimension + Dimension + + + + + + + + + + + ABIE + Transport Schedule. Details + Describes the location and schedule relating to a transport means. + Transport Schedule + + + + + + + + + BBIE + Transport Schedule. Sequence. Numeric + A number indicating the order of this status in the sequence in which statuses are to be presented. + 1 + Transport Schedule + Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Transport Schedule. Reference Date. Date + The reference date for the transport schedule status. + 0..1 + Transport Schedule + Reference Date + Date + Date. Type + + + + + + + + + BBIE + Transport Schedule. Reference Time. Time + The reference time for the transport schedule status. + 0..1 + Transport Schedule + Reference Time + Time + Time. Type + + + + + + + + + BBIE + Transport Schedule. Reliability Percent. Percent + The reliability of the transport schedule status, expressed as a percentage. + 0..1 + Transport Schedule + Reliability Percent + Percent + Percent. Type + + + + + + + + + BBIE + Transport Schedule. Remarks. Text + Remarks related to the transport schedule status. + 0..n + Transport Schedule + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Transport Schedule. Status_ Location. Location + The location for which status is reported. + 1 + Transport Schedule + Status + Location + Location + Location + + + + + + + + + ASBIE + Transport Schedule. Actual Arrival_ Transport Event. Transport Event + The actual arrival at a location. + 0..1 + Transport Schedule + Actual Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Actual Departure_ Transport Event. Transport Event + The actual departure from a location. + 0..1 + Transport Schedule + Actual Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Estimated Departure_ Transport Event. Transport Event + An estimated departure from a specified location. + 0..1 + Transport Schedule + Estimated Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Estimated Arrival_ Transport Event. Transport Event + An estimated arrival at a specified location. + 0..1 + Transport Schedule + Estimated Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Planned Departure_ Transport Event. Transport Event + The planned departure from a specified location. + 0..1 + Transport Schedule + Planned Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Planned Arrival_ Transport Event. Transport Event + The planned arrival at a specified location. + 0..1 + Transport Schedule + Planned Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + + + ABIE + Transportation Segment. Details + A class to describe one segment or leg in a transportation service. + Transportation Segment + + + + + + + + + BBIE + Transportation Segment. Sequence. Numeric + A number indicating the order of this segment in the sequence of transportation segments making up a transportation service. + 1 + Transportation Segment + Sequence + Numeric + Numeric. Type + 1, 2, 3, 4, etc. + + + + + + + + + BBIE + Transportation Segment. Transport Execution Plan Reference. Identifier + An identifier for the transport execution plan governing this transportation segment. + 0..1 + Transportation Segment + Transport Execution Plan Reference + Identifier + Identifier. Type + + + + + + + + + ASBIE + Transportation Segment. Transportation Service + The transportation service used in this transportation segment. + 1 + Transportation Segment + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transportation Segment. Transport Service Provider_ Party. Party + The transport service provider responsible for carrying out transportation services in this transportation segment. + 1 + Transportation Segment + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transportation Segment. Referenced_ Consignment. Consignment + A consignment referenced in this transportation segment. Such a consignment may have different identifiers than the consignment identifiers being used in the transportation service agreed between the transport user and the transport service provider. + 0..1 + Transportation Segment + Referenced + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Transportation Segment. Shipment Stage + The shipment stage associated with this transportation segment. + 0..n + Transportation Segment + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + + + ABIE + Transportation Service. Details + A class to describe a transportation service. + Transportation Service + + + + + + + + + BBIE + Transportation Service. Transport Service Code. Code + A code signifying the extent of this transportation service (e.g., door-to-door, port-to-port). + 1 + Transportation Service + Transport Service Code + Code + Code. Type + + + + + + + + + BBIE + Transportation Service. Tariff Class Code. Code + A code signifying the tariff class applicable to this transportation service. + 0..1 + Transportation Service + Tariff Class Code + Code + Code. Type + Tariff Class Specifier + + + + + + + + + BBIE + Transportation Service. Priority. Text + The priority of this transportation service. + 0..1 + Transportation Service + Priority + Text + Text. Type + + + + + + + + + BBIE + Transportation Service. Freight Rate Class Code. Code + A code signifying the rate class for freight in this transportation service. + 0..1 + Transportation Service + Freight Rate Class Code + Code + Code. Type + Charge Basis + + + + + + + + + BBIE + Transportation Service. Transportation Service Description. Text + Text describing this transportation service. + 0..n + Transportation Service + Transportation Service Description + Text + Text. Type + + + + + + + + + BBIE + Transportation Service. Transportation Service Details URI. Identifier + The Uniform Resource Identifier (URI) of a document providing additional details regarding this transportation service. + 0..1 + Transportation Service + Transportation Service Details URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Service. Nomination Date. Date + In a transport contract, the deadline date by which this transportation service has to be booked. For example, if this service is scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011. + 0..1 + Transportation Service + Nomination Date + Date + Date. Type + + + + + + + + + BBIE + Transportation Service. Nomination Time. Time + In a transport contract, the deadline time by which this transportation service has to be booked. For example, if this service is scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011 and the nomination time 4 p.m. at the latest. + 0..1 + Transportation Service + Nomination Time + Time + Time. Type + + + + + + + + + BBIE + Transportation Service. Name + The name of this transportation service. + 0..1 + Transportation Service + Name + Name + Name. Type + + + + + + + + + BBIE + Transportation Service. Sequence. Numeric + A number indicating the order of this transportation service in a sequence of transportation services. + 0..1 + Transportation Service + Sequence + Numeric + Numeric. Type + + + + + + + + + ASBIE + Transportation Service. Transport Equipment + A piece of transport equipment used in this transportation service. + 0..n + Transportation Service + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transportation Service. Supported_ Transport Equipment. Transport Equipment + A piece of transport equipment supported in this transportation service. + 0..n + Transportation Service + Supported + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transportation Service. Unsupported_ Transport Equipment. Transport Equipment + A piece of transport equipment that is not supported in this transportation service. + 0..n + Transportation Service + Unsupported + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transportation Service. Commodity Classification + A classification of this transportation service. + 0..n + Transportation Service + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Transportation Service. Supported_ Commodity Classification. Commodity Classification + A classification (e.g., general cargo) for commodities that can be handled in this transportation service. + 0..n + Transportation Service + Supported + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Transportation Service. Unsupported_ Commodity Classification. Commodity Classification + A classification for commodities that cannot be handled in this transportation service. + 0..n + Transportation Service + Unsupported + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Transportation Service. Total Capacity_ Dimension. Dimension + The total capacity or volume available in this transportation service. + 0..1 + Transportation Service + Total Capacity + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transportation Service. Shipment Stage + One of the stages of shipment in this transportation service. + 0..n + Transportation Service + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Transportation Service. Transport Event + One of the transport events taking place in this transportation service. + 0..n + Transportation Service + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Service. Responsible Transport Service Provider_ Party. Party + The transport service provider responsible for this transportation service. + 0..1 + Transportation Service + Responsible Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transportation Service. Environmental Emission + An environmental emission resulting from this transportation service. + 0..n + Transportation Service + Environmental Emission + Environmental Emission + Environmental Emission + + + + + + + + + ASBIE + Transportation Service. Estimated Duration_ Period. Period + The estimated duration of this transportation service. + 0..1 + Transportation Service + Estimated Duration + Period + Period + Period + + + + + + + + + ASBIE + Transportation Service. Scheduled_ Service Frequency. Service Frequency + A class to specify which day of the week a transport service is operational. + 0..n + Transportation Service + Scheduled + Service Frequency + Service Frequency + Service Frequency + + + + + + + + + + + ABIE + Unstructured Price. Details + A simplified version of the Price class intended for applications such as telephone billing. + Unstructured Price + + + + + + + + + BBIE + Unstructured Price. Price Amount. Amount + The price amount. + 0..1 + Unstructured Price + Price Amount + Amount + Amount. Type + 23.45 + + + + + + + + + BBIE + Unstructured Price. Time Amount. Text + The usage time upon which the price is based. + 0..1 + Unstructured Price + Time Amount + Text + Text. Type + + + + + + + + + + + ABIE + Utility Item. Details + A class to describe the consumption of a utility product. + Utility Item + + + + + + + + + BBIE + Utility Item. Identifier + An identifier for this utility item. + 1 + Utility Item + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Utility Item. Subscriber Identifier. Identifier + An identifier for the subscriber to the utility. + 0..1 + Utility Item + Subscriber Identifier + Identifier + Identifier. Type + 98143211 + + + + + + + + + BBIE + Utility Item. Subscriber Type. Text + Identification of the subscriber type, expressed as text.. + 0..1 + Utility Item + Subscriber Type + Text + Text. Type + + + + + + + + + BBIE + Utility Item. Subscriber Type Code. Code + The code identifying for the service type. + 0..1 + Utility Item + Subscriber Type Code + Code + Code. Type + + + + + + + + + BBIE + Utility Item. Description. Text + Text describing the consumption product. + 0..n + Utility Item + Description + Text + Text. Type + Basis price quarter (5.761 kWh per 35,58 cents), Transport of electricity, etc. + + + + + + + + + BBIE + Utility Item. Pack Quantity. Quantity + The unit packaging quantity. + 0..1 + Utility Item + Pack Quantity + Quantity + Quantity. Type + 1 + + + + + + + + + BBIE + Utility Item. Pack Size. Numeric + The number of items in a pack. + 0..1 + Utility Item + Pack Size + Numeric + Numeric. Type + + + + + + + + + BBIE + Utility Item. Consumption Type. Text + The type of product consumed, expressed as text. + 0..1 + Utility Item + Consumption Type + Text + Text. Type + Consumption + + + + + + + + + BBIE + Utility Item. Consumption Type Code. Code + The type of product consumed, expressed as a code. + 0..1 + Utility Item + Consumption Type Code + Code + Code. Type + Consumption + + + + + + + + + BBIE + Utility Item. Current_ Charge Type. Text + Information of the actual payments type for the utility Item + 0..1 + Utility Item + Current + Charge Type + Text + Text. Type + + + + + + + + + BBIE + Utility Item. Current_ Charge Type Code. Code + Information of the actual payments type code expressed as a code + 0..1 + Utility Item + Current + Charge Type Code + Code + Code. Type + + + + + + + + + BBIE + Utility Item. One Time_ Charge Type. Text + Information about the one-time payment type in case everything is paid One time + 0..1 + Utility Item + One Time + Charge Type + Text + Text. Type + + + + + + + + + BBIE + Utility Item. One Time_ Charge Type Code. Code + Information about the one-time payment type code + 0..1 + Utility Item + One Time + Charge Type Code + Code + Code. Type + + + + + + + + + ASBIE + Utility Item. Tax Category + The tax category applicable to this utility item. + 0..1 + Utility Item + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Utility Item. Contract + A contract setting forth conditions applicable to this utility item. + 0..1 + Utility Item + Contract + Contract + Contract + + + + + + + + + + + ABIE + Verified Gross Mass. Details + A class to describe a verified gross mass (VGM) measure and its documentation. + Verified Gross Mass + VGM + + + + + + + + + BBIE + Verified Gross Mass. Identifier + An identifier for this mass measure. + 0..1 + Verified Gross Mass + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Verified Gross Mass. Weighing Date. Date + The weighing date. + 0..1 + Verified Gross Mass + Weighing Date + Date + Date. Type + + + + + + + + + BBIE + Verified Gross Mass. Weighing Time. Time + The weighing time. + 0..1 + Verified Gross Mass + Weighing Time + Time + Time. Type + + + + + + + + + BBIE + Verified Gross Mass. Weighing Method Code. Code + A code signifying the weighing method used (e.g. according the SOLAS Convention). + 1 + Verified Gross Mass + Weighing Method Code + Code + Weighing Method + Weighing Method_ Code. Type + 1, 2 + + + + + + + + + BBIE + Verified Gross Mass. Weighing Device Identifier. Identifier + An identifier for the weighing device used for executing the weight measurement. + 0..1 + Verified Gross Mass + Weighing Device Identifier + Identifier + Identifier. Type + WeighScale-01 + + + + + + + + + BBIE + Verified Gross Mass. Weighing Device Type. Text + Text describing the weighing device type used for executing the weight measurement. + 0..1 + Verified Gross Mass + Weighing Device Type + Text + Text. Type + Truck Scale, Weighbridge + + + + + + + + + BBIE + Verified Gross Mass. Gross_ Mass. Measure + The total verified gross mass of a packed container which includes the cargo weight, block and bracing materials and container tare. + 1 + Verified Gross Mass + Gross + Mass + Measure + Measure. Type + VGM + + + + + + + + + ASBIE + Verified Gross Mass. Weighing_ Party. Party + The party executing the weight measure. + 0..1 + Verified Gross Mass + Weighing + Party + Party + Party + + + + + + + + + ASBIE + Verified Gross Mass. Shipper_ Party. Party + The party playing the role of the Shipper (BCO, FF or NVOCC) who is responsible for the VGM (e.g. according the SOLAS Convention). + 0..1 + Verified Gross Mass + Shipper + Party + Party + Party + + + + + + + + + ASBIE + Verified Gross Mass. Responsible_ Party. Party + The party responsible for signing the VGM on behalf of the Shipper. + 0..1 + Verified Gross Mass + Responsible + Party + Party + Party + + + + + + + + + ASBIE + Verified Gross Mass. Document Reference + A reference to the VGM documentary evidence. + 1..n + Verified Gross Mass + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Web Site. Details + A class to describe a web site. + Web Site + + + + + + + + + BBIE + Web Site. Identifier + An identifier for a specific web site. + 0..1 + Web Site + Identifier + Identifier + Identifier. Type + UBL + + + + + + + + + BBIE + Web Site. Name + The common name of the web site. + 0..1 + Web Site + Name + Name + Name. Type + UBL Online Community + + + + + + + + + BBIE + Web Site. Description. Text + Text describing the web site. + 0..n + Web Site + Description + Text + Text. Type + Online community for the Universal Business Language (UBL) OASIS Standard + + + + + + + + + BBIE + Web Site. Web Site Type Code. Code + A code that specifies the type web site. + 0..1 + Web Site + Web Site Type Code + Code + Code. Type + Satellite, Portal, Operative, Industry, ... + + + + + + + + + BBIE + Web Site. URI. Identifier + The Uniform Resource Identifier (URI) of the web site; i.e., its Uniform Resource Locator (URL). + 1 + Web Site + URI + Identifier + Identifier. Type + http://ubl.xml.org/ + + + + + + + + + ASBIE + Web Site. Web Site Access + Access information for the website (e.g. guest credentials). + 0..n + Web Site + Web Site Access + Web Site Access + Web Site Access + + + + + + + + + + + ABIE + Web Site Access. Details + A class to describe access to a web site. + Web Site Access + + + + + + + + + BBIE + Web Site Access. URI. Identifier + The Uniform Resource Identifier (URI) for this web site; i.e., its Uniform Resource Locator (URL). + 0..1 + Web Site Access + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Web Site Access. Password. Text + A password to the web site. + 1 + Web Site Access + Password + Text + Text. Type + confidence + + + + + + + + + BBIE + Web Site Access. Login. Text + Text describing login details. + 1 + Web Site Access + Login + Text + Text. Type + Utsuser + + + + + + + + + + + ABIE + Winning Party. Details + A party that is identified as the awarded by a tender result. + Winning Party + + + + + + + + + BBIE + Winning Party. Rank. Text + Indicates the rank obtained in the award. + 0..1 + Winning Party + Rank + Text + Text. Type + + + + + + + + + ASBIE + Winning Party. Party + Information about an organization, sub-organization, or individual fulfilling a role in a business process. + 1 + Winning Party + Party + Party + Party + + + + + + + + + + + ABIE + Work Phase Reference. Details + A class that refers to a phase of work. Used for instance to specify what part of the contract the billing is referring to. + Work Phase Reference + + + + + + + + + BBIE + Work Phase Reference. Identifier + An identifier for this phase of work. + 0..1 + Work Phase Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Work Phase Reference. Work Phase Code. Code + A code signifying this phase of work. + 0..1 + Work Phase Reference + Work Phase Code + Code + Code. Type + + + + + + + + + BBIE + Work Phase Reference. Work Phase. Text + Text describing this phase of work. + 0..n + Work Phase Reference + Work Phase + Text + Text. Type + + + + + + + + + BBIE + Work Phase Reference. Progress Percent. Percent + The progress percentage of the work phase. + 0..1 + Work Phase Reference + Progress Percent + Percent + Percent. Type + + + + + + + + + BBIE + Work Phase Reference. Start Date. Date + The date on which this phase of work begins. + 0..1 + Work Phase Reference + Start Date + Date + Date. Type + + + + + + + + + BBIE + Work Phase Reference. End Date. Date + The date on which this phase of work ends. + 0..1 + Work Phase Reference + End Date + Date + Date. Type + + + + + + + + + ASBIE + Work Phase Reference. Work Order_ Document Reference. Document Reference + A reference to a document regarding the work order for the project in which this phase of work takes place. + 0..n + Work Phase Reference + Work Order + Document Reference + Document Reference + Document Reference + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonBasicComponents-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonBasicComponents-2.2.xsd new file mode 100644 index 0000000..e4950de --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonBasicComponents-2.2.xsd @@ -0,0 +1,6007 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonExtensionComponents-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonExtensionComponents-2.2.xsd new file mode 100644 index 0000000..942f75b --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonExtensionComponents-2.2.xsd @@ -0,0 +1,225 @@ + + + + + + + + + + + + + A container for all extensions present in the document. + + + + + + + A container for all extensions present in the document. + + + + + + + A single extension for private use. + + + + + + + + + A single extension for private use. + + + + + + + A single extension for private use. + + + + + + + An identifier for the Extension assigned by the creator of the extension. + + + + + + + A name for the Extension assigned by the creator of the extension. + + + + + + + An agency that maintains one or more Extensions. + + + + + + + The name of the agency that maintains the Extension. + + + + + + + The version of the Extension. + + + + + + + A URI for the Agency that maintains the Extension. + + + + + + + A URI for the Extension. + + + + + + + A code for reason the Extension is being included. + + + + + + + A description of the reason for the Extension. + + + + + + + The definition of the extension content. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonSignatureComponents-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonSignatureComponents-2.2.xsd new file mode 100644 index 0000000..f66a30f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonSignatureComponents-2.2.xsd @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + ABIE + UBL Document Signatures. Details + This class collects all signature information for a document. + UBL Document Signatures + + + + + + + + + ASBIE + UBL Document Signatures. Signature Information + Each of these is scaffolding for a single digital signature. + 1..n + UBL Document Signatures + Signature Information + Signature Information + Signature Information + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-ExtensionContentDataType-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-ExtensionContentDataType-2.2.xsd new file mode 100644 index 0000000..c00c2e0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-ExtensionContentDataType-2.2.xsd @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + Any element in any namespace other than the UBL extension + namespace is allowed to be the apex element of an extension. + Only those elements found in the UBL schemas and in the + trees of schemas imported in this module are validated. + Any element for which there is no schema declaration in any + of the trees of schemas passes validation and is not + treated as a schema constraint violation. + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-QualifiedDataTypes-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-QualifiedDataTypes-2.2.xsd new file mode 100644 index 0000000..c8ba0e8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-QualifiedDataTypes-2.2.xsd @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-SignatureAggregateComponents-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-SignatureAggregateComponents-2.2.xsd new file mode 100644 index 0000000..bac5b67 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-SignatureAggregateComponents-2.2.xsd @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + ABIE + Signature Information. Details + This class captures a single signature and optionally associates to a signature in the document with the corresponding identifier. + Signature Information + + + + + + + + + BBIE + Signature Information. Identifier + This specifies the identifier of the signature distinguishing it from other signatures. + 0..1 + Signature Information + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature Information. Referenced Signature Identifier. Identifier + This associates this signature with the identifier of a signature business object in the document. + 0..1 + Signature Information + Referenced Signature Identifier + Identifier + Identifier. Type + + + + + + + This is a single digital signature as defined by the W3C specification. + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-SignatureBasicComponents-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-SignatureBasicComponents-2.2.xsd new file mode 100644 index 0000000..c4d081f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-SignatureBasicComponents-2.2.xsd @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-UnqualifiedDataTypes-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-UnqualifiedDataTypes-2.2.xsd new file mode 100644 index 0000000..018e64e --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-UnqualifiedDataTypes-2.2.xsd @@ -0,0 +1,553 @@ + + + + + + + + + + UBLUDT000001 + UDT + Amount. Type + 1.0 + A number of monetary units specified using a given unit of currency. + Amount + + + + + + + + UNDT000001-SC2 + SC + Amount. Currency. Identifier + The currency of the amount. + Amount Currency + Identification + Identifier + string + Reference UNECE Rec 9, using 3-letter alphabetic codes. + + + + + + + + + + + UBLUDT000002 + UDT + Binary Object. Type + 1.0 + A set of finite-length sequences of binary octets. + Binary Object + binary + + + + + + + + UNDT000002-SC3 + SC + Binary Object. Mime. Code + The mime type of the binary object. + Binary Object + Mime + Code + string + + + + + + + + + + + UBLUDT000003 + UDT + Graphic. Type + 1.0 + A diagram, graph, mathematical curve, or similar representation. + Graphic + binary + + + + + + + + UNDT000003-SC3 + SC + Graphic. Mime. Code + The mime type of the graphic object. + Graphic + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000004 + UDT + Picture. Type + 1.0 + A diagram, graph, mathematical curve, or similar representation. + Picture + binary + + + + + + + + UNDT000004-SC3 + SC + Picture. Mime. Code + The mime type of the picture object. + Picture + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000005 + UDT + Sound. Type + 1.0 + An audio representation. + Sound + binary + + + + + + + + UNDT000005-SC3 + SC + Sound. Mime. Code + The mime type of the sound object. + Sound + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000006 + UDT + Video. Type + 1.0 + A video representation. + Video + binary + + + + + + + + UNDT000006-SC3 + SC + Video. Mime. Code + The mime type of the video object. + Video + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000007 + UDT + Code. Type + 1.0 + A character string (letters, figures, or symbols) that for brevity and/or language independence may be used to represent or replace a definitive value or text of an attribute, together with relevant supplementary information. + Code + string + Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the code list and thus, are not declared as attributes. + + + + + + + + + + + UBLUDT000008 + UDT + Date Time. Type + 1.0 + A particular point in the progression of time, together with relevant supplementary information. + Date Time + string + Can be used for a date and/or time. + + + + + + + + + + + UBLUDT000009 + UDT + Date. Type + 1.0 + One calendar day according the Gregorian calendar. + Date + string + + + + + + + + + + + UBLUDT0000010 + UDT + Time. Type + 1.0 + An instance of time that occurs every day. + Time + string + + + + + + + + + + + UBLUDT0000011 + UDT + Identifier. Type + 1.0 + A character string to identify and uniquely distinguish one instance of an object in an identification scheme from all other objects in the same scheme, together with relevant supplementary information. + Identifier + string + Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the identifier list and thus, are not declared as attributes. + + + + + + + + + + + UBLUDT0000012 + UDT + Indicator. Type + 1.0 + A list of two mutually exclusive Boolean values that express the only possible states of a property. + Indicator + string + + + + + + + + + + + UBLUDT0000013 + UDT + Measure. Type + 1.0 + A numeric value determined by measuring an object using a specified unit of measure. + Measure + Type + decimal + + + + + + + + UNDT000013-SC2 + SC + Measure. Unit. Code + The type of unit of measure. + Measure Unit + Code + Code + normalizedString + Reference UNECE Rec. 20 and X12 355 + + + + + + + + + + + UBLUDT0000014 + UDT + Numeric. Type + 1.0 + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Numeric + string + + + + + + + + + + + UBLUDT0000015 + UDT + 1.0 + Value. Type + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Value + string + + + + + + + + + + + UBLUDT0000016 + UDT + 1.0 + Percent. Type + Numeric information that is assigned or is determined by calculation, counting, or sequencing and is expressed as a percentage. It does not require a unit of quantity or unit of measure. + Percent + string + + + + + + + + + + + UBLUDT0000017 + UDT + 1.0 + Rate. Type + A numeric expression of a rate that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Rate + string + + + + + + + + + + + UBLUDT0000018 + UDT + Quantity. Type + 1.0 + A counted number of non-monetary units, possibly including a fractional part. + Quantity + decimal + + + + + + + + + + + UBLUDT0000019 + UDT + Text. Type + 1.0 + A character string (i.e. a finite set of characters), generally in the form of words of a language. + Text + string + + + + + + + + + + + UBLUDT0000020 + UDT + Name. Type + 1.0 + A character string that constitutes the distinctive designation of a person, place, thing or concept. + Name + string + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-XAdES01903v132-201601-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-XAdES01903v132-201601-2.2.xsd new file mode 100644 index 0000000..b8874c4 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-XAdES01903v132-201601-2.2.xsd @@ -0,0 +1,542 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-XAdES01903v141-201601-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-XAdES01903v141-201601-2.2.xsd new file mode 100644 index 0000000..77ee564 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-XAdES01903v141-201601-2.2.xsd @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig-core-schema-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig-core-schema-2.2.xsd new file mode 100644 index 0000000..cdd5999 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig-core-schema-2.2.xsd @@ -0,0 +1,331 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig1-schema-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig1-schema-2.2.xsd new file mode 100644 index 0000000..d7deed0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig1-schema-2.2.xsd @@ -0,0 +1,37 @@ + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig11-schema-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig11-schema-2.2.xsd new file mode 100644 index 0000000..f2300a3 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig11-schema-2.2.xsd @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ApplicationResponse-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ApplicationResponse-2.2.xsd new file mode 100644 index 0000000..8147add --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ApplicationResponse-2.2.xsd @@ -0,0 +1,363 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Application Response. Details + A document to indicate the application's response to a transaction. This may be a business response initiated by a user or a technical response sent automatically by an application. + Application Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Application Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Application Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Application Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Application Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Application Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Application Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Application Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Application Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Application Response. Identifier + An identifier for this document, assigned by the sender. + 1 + Application Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Application Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Application Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Application Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Application Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Application Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Application Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Application Response. Response Date. Date + The date on which the information in the response was created. + 0..1 + Application Response + Response Date + Date + Date. Type + + + + + + + + + BBIE + Application Response. Response Time. Time + The time at which the information in the response was created. + 0..1 + Application Response + Response Time + Time + Time. Type + + + + + + + + + BBIE + Application Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Application Response + Note + Text + Text. Type + + + + + + + + + BBIE + Application Response. Version. Identifier + Identifies the current version of this document. + 0..1 + Application Response + Version + Identifier + Identifier. Type + + + + + + + + + ASBIE + Application Response. Signature + A signature applied to this document. + 0..n + Application Response + Signature + Signature + Signature + + + + + + + + + ASBIE + Application Response. Sender_ Party. Party + The party sending this document. + 1 + Application Response + Sender + Party + Party + Party + + + + + + + + + ASBIE + Application Response. Receiver_ Party. Party + The party receiving this document. + 1 + Application Response + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Application Response. Document Response + A response to a document. + 0..n + Application Response + Document Response + Document Response + Document Response + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-AttachedDocument-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-AttachedDocument-2.2.xsd new file mode 100644 index 0000000..19b9b17 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-AttachedDocument-2.2.xsd @@ -0,0 +1,417 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Attached Document. Details + A wrapper that allows a document of any kind to be packaged with the UBL document that references it. + Attached Document + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Attached Document. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Attached Document + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Attached Document. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Attached Document + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Attached Document. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Attached Document + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Attached Document. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Attached Document + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Identifier + An identifier for this document, assigned by the sender. + 1 + Attached Document + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Attached Document + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Attached Document + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Attached Document. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Attached Document + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Attached Document. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Attached Document + Note + Text + Text. Type + + + + + + + + + BBIE + Attached Document. Document Type Code. Code + A code signifying the type of document. + 0..1 + Attached Document + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Attached Document. Document Type. Text + Text specifying the type of document. + 0..1 + Attached Document + Document Type + Text + Text. Type + + + + + + + + + BBIE + Attached Document. Parent_ Document Identifier. Identifier + The Identifier of the parent document. + 1 + Attached Document + Parent + Document Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Parent_ Document Type Code. Code + A code signifying the type of parent document. + 0..1 + Attached Document + Parent + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Attached Document. Parent Document_ Version. Identifier + Indicates the current version of the referred document. + 0..1 + Attached Document + Parent Document + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + ASBIE + Attached Document. Signature + A signature applied to this document. + 0..n + Attached Document + Signature + Signature + Signature + + + + + + + + + ASBIE + Attached Document. Sender_ Party. Party + The party sending this document. + 1 + Attached Document + Sender + Party + Party + Party + + + + + + + + + ASBIE + Attached Document. Receiver_ Party. Party + The party receiving this document. + 1 + Attached Document + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Attached Document. Attachment + An attachment containing the document content. + 1 + Attached Document + Attachment + Attachment + Attachment + + + + + + + + + ASBIE + Attached Document. Parent Document_ Line Reference. Line Reference + A reference to a line in the attached document. + 0..n + Attached Document + Parent Document + Line Reference + Line Reference + Line Reference + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-AwardedNotification-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-AwardedNotification-2.2.xsd new file mode 100644 index 0000000..6bc8b69 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-AwardedNotification-2.2.xsd @@ -0,0 +1,419 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Awarded Notification. Details + The document used to communicate a contract award to the winner. + Awarded Notification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Awarded Notification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Awarded Notification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Awarded Notification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Awarded Notification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Awarded Notification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Awarded Notification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Awarded Notification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Awarded Notification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Awarded Notification. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Awarded Notification + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarded Notification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Awarded Notification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Awarded Notification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Awarded Notification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarded Notification. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Awarded Notification + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarded Notification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Awarded Notification + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Awarded Notification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Awarded Notification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Awarded Notification. Contract Name. Name + The name, expressed as text, of this procurement project. + 0..n + Awarded Notification + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Awarded Notification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Awarded Notification + Note + Text + Text. Type + + + + + + + + + ASBIE + Awarded Notification. Sender_ Party. Party + The party sending this document. + 1 + Awarded Notification + Sender + Party + Party + Party + + + + + + + + + ASBIE + Awarded Notification. Receiver_ Party. Party + The party receiving this document. + 1 + Awarded Notification + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Awarded Notification. Minutes_ Document Reference. Document Reference + A reference to a set of minutes associated with this award. + 0..1 + Awarded Notification + Minutes + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Awarded Notification. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Awarded Notification + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Awarded Notification. Tender Result + The result of the tendering process reported in this notification. + 1..n + Awarded Notification + Tender Result + Tender Result + Tender Result + + + + + + + + + ASBIE + Awarded Notification. Final_ Financial Guarantee. Financial Guarantee + A bond guarantee by the submitter of a tender or bid, required of the tender winner. + 0..n + Awarded Notification + Final + Financial Guarantee + Financial Guarantee + Financial Guarantee + + + + + + + + + ASBIE + Awarded Notification. Signature + A signature applied to this document. + 0..n + Awarded Notification + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-BillOfLading-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-BillOfLading-2.2.xsd new file mode 100644 index 0000000..37465dc --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-BillOfLading-2.2.xsd @@ -0,0 +1,541 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Bill Of Lading. Details + A document issued by the party who acts as an agent for a transportation carrier or other agents to the party who gives instructions for the transportation services (shipper, consignor, etc.) stating the details of the transportation, charges, and terms and conditions under which the transportation service is provided. The party issuing this document does not necessarily provide the physical transportation service. The information in the Bill of Lading corresponds to the information on the Forwarding Instructions. It is used for any mode of transport. A Bill of Lading can serve as a contractual document between the parties for the transportation service. The document evidences a contract of carriage by sea and the acceptance of responsibility for the goods by the carrier, by which the carrier undertakes to deliver the goods against surrender of the document. A provision in the document that the goods are to be delivered to the order of a named person, or to order, or to bearer, constitutes such an undertaking. + Bill Of Lading + House Bill of Landing, Master Bill, Bill + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Bill Of Lading. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Bill Of Lading + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Bill Of Lading. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Bill Of Lading + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Bill Of Lading. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Bill Of Lading + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Bill Of Lading. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Bill Of Lading + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Bill Of Lading. Identifier + An identifier for this document, assigned by the sender. + 1 + Bill Of Lading + Identifier + Identifier + Identifier. Type + Bill of Lading Number + + + + + + + + + BBIE + Bill Of Lading. Carrier Assigned_ Identifier. Identifier + Reference number (such as a booking reference number) assigned by a carrier or its agent to identify a specific shipment when cargo space is reserved prior to loading. + 0..1 + Bill Of Lading + Carrier Assigned + Identifier + Identifier + Identifier. Type + Booking Reference Number + + + + + + + + + BBIE + Bill Of Lading. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Bill Of Lading + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Bill Of Lading. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Bill Of Lading + Issue Date + Date + Date. Type + Transport Document Date + + + + + + + + + BBIE + Bill Of Lading. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Bill Of Lading + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Bill Of Lading. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Bill Of Lading + Name + Name + Name. Type + House Bill , Consolidated Bill of Lading , Proforma , Sea Waybill + + + + + + + + + BBIE + Bill Of Lading. Description. Text + Textual description of the document instance. + 0..n + Bill Of Lading + Description + Text + Text. Type + + + + + + + + + BBIE + Bill Of Lading. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Bill Of Lading + Note + Text + Text. Type + + + + + + + + + BBIE + Bill Of Lading. Document Status Code. Code + A code signifying the status of the Bill Of Lading (revision, replacement, etc.). + 0..1 + Bill Of Lading + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Bill Of Lading. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order or Forwarding Instruction. + 0..1 + Bill Of Lading + Shipping Order Identifier + Identifier + Identifier. Type + Freight forwarding instruction, Shippers letter of instruction + + + + + + + + + BBIE + Bill Of Lading. To Order_ Indicator. Indicator + Indicates whether the transport document is consigned to order. + 0..1 + Bill Of Lading + To Order + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Bill Of Lading. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Bill Of Lading + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Bill Of Lading. Declared Carriage_ Value. Amount + Value declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage in case of loss or damage to goods or delayed delivery. + 0..1 + Bill Of Lading + Declared Carriage + Value + Amount + Amount. Type + Interest in Delivery + + + + + + + + + BBIE + Bill Of Lading. Other_ Instruction. Text + Other free-text instructions to the forwarders or carriers related to the shipment. This element should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Bill Of Lading + Other + Instruction + Text + Text. Type + Bill of Lading Remark + + + + + + + + + ASBIE + Bill Of Lading. Consignor_ Party. Party + The party consigning goods as stipulated in the transport contract by the party ordering transport. + 0..1 + Bill Of Lading + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Bill Of Lading. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Bill Of Lading + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Bill Of Lading. Freight Forwarder_ Party. Party + A party combining individual smaller consignments into a single larger shipment (a so-called consolidated consignment or shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Bill Of Lading + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Bill Of Lading. Shipment + An identifiable collection of one or more goods items to be transported between the seller party and the buyer party. + 0..1 + Bill Of Lading + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Bill Of Lading. Document Reference + A reference to another document associated with this document. + 0..n + Bill Of Lading + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Bill Of Lading. Exchange Rate + Information that directly relates to the rate of exchange (conversion) between two currencies. + 0..n + Bill Of Lading + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Bill Of Lading. Document Distribution + A list of interested parties to whom this document is distributed. + 0..n + Bill Of Lading + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Bill Of Lading. Signature + A signature applied to this document. + 0..n + Bill Of Lading + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-BusinessCard-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-BusinessCard-2.2.xsd new file mode 100644 index 0000000..a4760a2 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-BusinessCard-2.2.xsd @@ -0,0 +1,406 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Business Card. Details + A document used to provide information about a business party and its business capabilities. + Business Card + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Business Card. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Business Card + UBL Version Identifier + Identifier + Identifier. Type + 2.2 + + + + + + + + + BBIE + Business Card. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Business Card + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Business Card. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Business Card + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Business Card. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Business Card + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Business Card. Identifier + An identifier for this document, assigned by the sender. + 1 + Business Card + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Business Card. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Business Card + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Business Card. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Business Card + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Business Card. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Business Card + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Business Card. Version Identifier. Identifier + Identifies the current version of this business card. + 0..1 + Business Card + Version Identifier + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Business Card. Previous Version Identifier. Identifier + Identifies the previous version of this business card. + 0..1 + Business Card + Previous Version Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Business Card. Brief_ Description. Text + Textual description of the document instance. + 0..n + Business Card + Brief + Description + Text + Text. Type + + + + + + + + + ASBIE + Business Card. Signature + A signature applied to this document. + 0..n + Business Card + Signature + Signature + Signature + + + + + + + + + ASBIE + Business Card. Sender_ Party. Party + The party sending this business card. This party could be the owner of this business card or a third-party acting on behalf of the owner (e.g. business network). + 0..1 + Business Card + Sender + Party + Party + Party + + + + + + + + + ASBIE + Business Card. Receiver_ Party. Party + The party receiving this business card. + 0..1 + Business Card + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Business Card. Business_ Party. Party + The party owning this business card. + 1 + Business Card + Business + Party + Party + Party + + + + + + + + + ASBIE + Business Card. Brochure_ Document Reference. Document Reference + A reference to a company brochure document. + 0..n + Business Card + Brochure + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Business Card. Additional_ Document Reference. Document Reference + A reference to an additional document (e.g. presentations). + 0..n + Business Card + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Business Card. Business_ Capability. Capability + The business capabilities of the party. + 0..n + Business Card + Business + Capability + Capability + Capability + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CallForTenders-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CallForTenders-2.2.xsd new file mode 100644 index 0000000..e4cac8d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CallForTenders-2.2.xsd @@ -0,0 +1,552 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Call For Tenders. Details + A document used by a Contracting Party to define a procurement project to buy goods, services, or works during a specified period. + Call For Tenders + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Call For Tenders. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Call For Tenders + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Call For Tenders + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Call For Tenders + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Call For Tenders + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Call For Tenders + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Call For Tenders + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Call For Tenders. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Call For Tenders + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Call For Tenders + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Approval Date. Date + The date, assigned by the contracting party, on which the Call For Tenders was approved. + 0..1 + Call For Tenders + Approval Date + Date + Date. Type + + + + + + + + + BBIE + Call For Tenders. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Call For Tenders + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Call For Tenders. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Call For Tenders + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Call For Tenders. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Call For Tenders + Note + Text + Text. Type + + + + + + + + + BBIE + Call For Tenders. Version. Identifier + Indicates the current version of the Call for Tenders. + 0..1 + Call For Tenders + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Call For Tenders. Previous_ Version. Identifier + Identifies the previous version of the Call for Tenders which is superceded by this version. + 0..1 + Call For Tenders + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + ASBIE + Call For Tenders. Legal_ Document Reference. Document Reference + A reference to a legal document. + 0..1 + Call For Tenders + Legal + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Technical_ Document Reference. Document Reference + A reference to a technical document. + 0..1 + Call For Tenders + Technical + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Required_ Document Reference. Document Reference + A reference to a required document. + 0..n + Call For Tenders + Required + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Provided_ Document Reference. Document Reference + A reference to a provided document. + 0..n + Call For Tenders + Provided + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Call For Tenders + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Signature + A signature applied to this document. + 0..n + Call For Tenders + Signature + Signature + Signature + + + + + + + + + ASBIE + Call For Tenders. Contracting Party + The contracting party or parties in case of joint procurement. + 1..n + Call For Tenders + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Call For Tenders. Originator_ Customer Party. Customer Party + The party who originated Order. + 0..n + Call For Tenders + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Call For Tenders. Receiver_ Party. Party + The party receiving this document. + 0..1 + Call For Tenders + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Call For Tenders. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Call For Tenders + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Call For Tenders. Tendering Process + A description of the tendering process itself. + 0..1 + Call For Tenders + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Call For Tenders. Procurement Project + An overall definition of this procurement project. + 1 + Call For Tenders + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Call For Tenders. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Call For Tenders + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Catalogue-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Catalogue-2.2.xsd new file mode 100644 index 0000000..fe89b7c --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Catalogue-2.2.xsd @@ -0,0 +1,566 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue. Details + A document that describes items, prices, and price validity. + Catalogue + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Catalogue. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue. Action Code. Code + A code signifying whether the transaction is a replacement or an update. + 0..1 + Catalogue + Action Code + Code + Code. Type + Replace , Update . + + + + + + + + + BBIE + Catalogue. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue + Name + Name + Name. Type + winter 2005 collection + + + + + + + + + BBIE + Catalogue. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue. Revision Date. Date + The date, assigned by the seller party, on which the information in the Catalogue was last revised. + 0..1 + Catalogue + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue. Revision Time. Time + The time, assigned by the Seller party, at which the information in the Catalogue was last revised. + 0..1 + Catalogue + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue. Description. Text + Textual description of the document instance. + 0..n + Catalogue + Description + Text + Text. Type + computer accessories for laptops + + + + + + + + + BBIE + Catalogue. Version. Identifier + An identifier for the current version of the Catalogue. + 0..1 + Catalogue + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue. Previous_ Version. Identifier + An identifier for the previous version of the Catalogue that is superseded by this version. + 0..1 + Catalogue + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + BBIE + Catalogue. Line Count. Numeric + The number of Catalogue Lines in the document. + 0..1 + Catalogue + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue. Validity_ Period. Period + A period, assigned by the seller, during which the information in the Catalogue is effective. This may be given as start and end dates or as a duration. + 0..n + Catalogue + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue. Referenced_ Contract. Contract + A contract or framework agreement with which this Catalogue is associated. + 0..n + Catalogue + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue. Source_ Catalogue Reference. Catalogue Reference + A reference to the source catalogue. + 0..1 + Catalogue + Source + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue. Document Reference + A reference to another document associated with this document. + 0..n + Catalogue + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue. Signature + A signature applied to this document. + 0..n + Catalogue + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue. Provider_ Party. Party + The party providing the Catalogue. + 1 + Catalogue + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue. Receiver_ Party. Party + The party receiving the Catalogue. + 1 + Catalogue + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue. Trading Terms + The trading terms associated with this Catalogue. + 0..n + Catalogue + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue. Catalogue Line + A line in a Catalogue describing an item of sale. + 1..n + Catalogue + Catalogue Line + Catalogue Line + Catalogue Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueDeletion-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueDeletion-2.2.xsd new file mode 100644 index 0000000..e88b024 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueDeletion-2.2.xsd @@ -0,0 +1,466 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Deletion. Details + A document used to cancel an entire Catalogue. + Catalogue Deletion + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Deletion. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Deletion + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Deletion. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Deletion + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Deletion. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue Deletion + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Deletion. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Deletion + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Catalogue Deletion. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Deletion + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Deletion. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Deletion + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Deletion. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Deletion + Name + Name + Name. Type + + + + + + + + + BBIE + Catalogue Deletion. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Deletion + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Deletion. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Deletion + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Deletion. Effective Date. Date + The effective date, assigned by the seller, on which the Catalogue expires. + 0..1 + Catalogue Deletion + Effective Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Deletion. Effective Time. Time + The effective time, assigned by the seller, at which the Catalogue expires. + 0..1 + Catalogue Deletion + Effective Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Deletion. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Deletion + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Deletion. Version. Identifier + Identifies the current version of the Catalogue. + 0..1 + Catalogue Deletion + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Deletion. Description. Text + Textual description of the document instance. + 0..n + Catalogue Deletion + Description + Text + Text. Type + stock no longer provided + + + + + + + + + ASBIE + Catalogue Deletion. Validity_ Period. Period + The period during which the Deletion of the catalogue becomes effective. This may be given as start (after date) and end dates (before date). + 0..n + Catalogue Deletion + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Deletion. Deleted_ Catalogue Reference. Catalogue Reference + A reference to the Catalogue being deleted. + 1 + Catalogue Deletion + Deleted + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Deletion. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue was associated. + 0..n + Catalogue Deletion + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Deletion. Signature + A signature applied to this document. + 0..n + Catalogue Deletion + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Deletion. Receiver_ Party. Party + The party receiving the Catalogue Deletion. + 1 + Catalogue Deletion + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Deletion. Provider_ Party. Party + The party sending the Catalogue Deletion. + 1 + Catalogue Deletion + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Deletion. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Deletion + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Deletion. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue was associated. + 0..1 + Catalogue Deletion + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueItemSpecificationUpdate-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueItemSpecificationUpdate-2.2.xsd new file mode 100644 index 0000000..12dbfb3 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueItemSpecificationUpdate-2.2.xsd @@ -0,0 +1,534 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Item Specification Update. Details + A document used to update information (e.g., technical descriptions and properties) about Items in an existing Catalogue. + Catalogue Item Specification Update + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Item Specification Update. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Item Specification Update + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Item Specification Update. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Item Specification Update + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Item Specification Update. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Catalogue Item Specification Update + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Item Specification Update. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Item Specification Update + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Item Specification Update + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Item Specification Update + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Item Specification Update + Name + Name + Name. Type + electrical goods - new energy ratings. + + + + + + + + + BBIE + Catalogue Item Specification Update. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Item Specification Update + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Item Specification Update + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Revision Date. Date + The date, assigned by the seller, on which the Catalogue was revised. + 0..1 + Catalogue Item Specification Update + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Revision Time. Time + The time, assigned by the seller, at which the Catalogue was revised. + 0..1 + Catalogue Item Specification Update + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Item Specification Update + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Description. Text + Textual description of the document instance. + 0..n + Catalogue Item Specification Update + Description + Text + Text. Type + ratings based on new environmental standards for EU + + + + + + + + + BBIE + Catalogue Item Specification Update. Version. Identifier + Identifies the current version of the Catalogue. + 0..1 + Catalogue Item Specification Update + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Item Specification Update. Line Count. Numeric + The number of Catalogue Item Specification Update Lines in this document. + 0..1 + Catalogue Item Specification Update + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Item Specification Update. Validity_ Period. Period + A period, assigned by the seller, during which the information in the Catalogue Revision is effective. This may be given as start and end dates or as a duration. + 0..n + Catalogue Item Specification Update + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Item Specification Update. Related_ Catalogue Reference. Catalogue Reference + A reference to the Catalogue being updated. + 1 + Catalogue Item Specification Update + Related + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Item Specification Update. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue is associated. + 0..n + Catalogue Item Specification Update + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Item Specification Update. Signature + A signature applied to this document. + 0..n + Catalogue Item Specification Update + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Item Specification Update. Provider_ Party. Party + The party sending the Catalogue Item Specification Update. + 1 + Catalogue Item Specification Update + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Receiver_ Party. Party + The party receiving the Catalogue Item Specification Update. + 1 + Catalogue Item Specification Update + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Item Specification Update + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue Item Specification Update + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Trading Terms + The trading terms associated with the Catalogue. + 0..1 + Catalogue Item Specification Update + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Item Specification Update. Default_ Language. Language + The default language for the item specifications. + 0..1 + Catalogue Item Specification Update + Default + Language + Language + Language + + + + + + + + + ASBIE + Catalogue Item Specification Update. Catalogue Item Specification Update Line + One or more lines in the Catalogue Item Specification Update, each line updating a specific catalogue item. + 1..n + Catalogue Item Specification Update + Catalogue Item Specification Update Line + Catalogue Item Specification Update Line + Catalogue Item Specification Update Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CataloguePricingUpdate-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CataloguePricingUpdate-2.2.xsd new file mode 100644 index 0000000..c461a3c --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CataloguePricingUpdate-2.2.xsd @@ -0,0 +1,533 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Pricing Update. Details + A document used to update information about prices in an existing Catalogue. + Catalogue Pricing Update + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Pricing Update. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Pricing Update + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Pricing Update. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Pricing Update + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Pricing Update. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Catalogue Pricing Update + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Pricing Update. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Pricing Update + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Pricing Update + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Pricing Update + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Pricing Update + Name + Name + Name. Type + Seasonal Promotion + + + + + + + + + BBIE + Catalogue Pricing Update. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Pricing Update + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Pricing Update + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Revision Date. Date + The date, assigned by the seller, on which the Catalogue was revised. + 0..1 + Catalogue Pricing Update + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Revision Time. Time + The time, assigned by the seller, at which the Catalogue was revised. + 0..1 + Catalogue Pricing Update + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Pricing Update + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Description. Text + Describes the Catalogue Revision. + 0..n + Catalogue Pricing Update + Description + Text + Text. Type + adjustment of prices for Christmas trading period + + + + + + + + + BBIE + Catalogue Pricing Update. Version. Identifier + Indicates the current version of the catalogue. + 0..1 + Catalogue Pricing Update + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Pricing Update. Line Count. Numeric + The number of lines in the document. + 0..1 + Catalogue Pricing Update + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Pricing Update. Validity_ Period. Period + A period, assigned by the seller, during which the information in the Catalogue Revision is effective. This may be given as start and end dates or as a duration. + 0..n + Catalogue Pricing Update + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Pricing Update. Related_ Catalogue Reference. Catalogue Reference + A reference to the Catalogue being updated. + 1 + Catalogue Pricing Update + Related + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Pricing Update. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue is associated. + 0..n + Catalogue Pricing Update + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Pricing Update. Signature + A signature applied to this document. + 0..n + Catalogue Pricing Update + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Pricing Update. Provider_ Party. Party + The party sending the Catalogue Pricing Update. + 1 + Catalogue Pricing Update + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Receiver_ Party. Party + The party receiving the Catalogue Pricing Update. + 1 + Catalogue Pricing Update + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Pricing Update + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue Pricing Update + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Trading Terms + The trading terms associated with the Catalogue. + 0..1 + Catalogue Pricing Update + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Pricing Update. Default_ Language. Language + The default language for the catalogue pricing update. + 0..1 + Catalogue Pricing Update + Default + Language + Language + Language + + + + + + + + + ASBIE + Catalogue Pricing Update. Catalogue Pricing Update Line + One or more lines in the Catalogue Pricing Update, each line updating a specific catalogue item. + 1..n + Catalogue Pricing Update + Catalogue Pricing Update Line + Catalogue Pricing Update Line + Catalogue Pricing Update Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueRequest-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueRequest-2.2.xsd new file mode 100644 index 0000000..34c3416 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueRequest-2.2.xsd @@ -0,0 +1,572 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Request. Details + A document used to request a Catalogue. + Catalogue Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Request + Name + Name + Name. Type + winter 2005 collection + + + + + + + + + BBIE + Catalogue Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Request + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Request. Description. Text + Textual description of the document instance. + 0..n + Catalogue Request + Description + Text + Text. Type + latest computer accessories for laptops + + + + + + + + + BBIE + Catalogue Request. Pricing Update Request_ Indicator. Indicator + Indicates a request for a pricing update. + 0..1 + Catalogue Request + Pricing Update Request + Indicator + Indicator + Indicator. Type + default is true + + + + + + + + + BBIE + Catalogue Request. Item Update Request_ Indicator. Indicator + Indicates a request for an update of the item specifications. + 0..1 + Catalogue Request + Item Update Request + Indicator + Indicator + Indicator. Type + default is true + + + + + + + + + BBIE + Catalogue Request. Line Count. Numeric + The number of Catalogue Lines in this document. + 0..1 + Catalogue Request + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Request. Validity_ Period. Period + The period, assigned by the Catalogue Managing party, during which the information in the Catalogue requested is to be effective. This may be given as start and end dates or a duration. + 0..n + Catalogue Request + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Request. Signature + A signature applied to this document. + 0..n + Catalogue Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Request. Receiver_ Party. Party + The party receiving the Catalogue Request. + 1 + Catalogue Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Request. Provider_ Party. Party + The party sending the Catalogue Request. + 1 + Catalogue Request + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Request. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Request + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Request. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue Request + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Request. Requested_ Catalogue Reference. Catalogue Reference + A reference to a specific Catalogue; used if the Catalogue Request is for an update. + 0..1 + Catalogue Request + Requested + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Request. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue being requested is associated. + 0..n + Catalogue Request + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Request. Trading Terms + The trading terms associated with the requested Catalogue. + 0..1 + Catalogue Request + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Request. Document Reference + A reference to another document associated with this document. + 0..n + Catalogue Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue Request. Applicable Territory_ Address. Address + A reference to a territory (region, country, city, etc.) to which the requested Catalogue will apply, expressed as an Address. + 0..n + Catalogue Request + Applicable Territory + Address + Address + Address + + + + + + + + + ASBIE + Catalogue Request. Requested_ Language. Language + The language in which the Catalogue is requested to be provided. + 0..1 + Catalogue Request + Requested + Language + Language + Language + + + + + + + + + ASBIE + Catalogue Request. Requested_ Classification Scheme. Classification Scheme + A requested classification scheme for the requested Catalogue. + 0..n + Catalogue Request + Requested + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + ASBIE + Catalogue Request. Catalogue Request Line + An association to specific Catalogue Lines for the catalogue requested. + 0..n + Catalogue Request + Catalogue Request Line + Catalogue Request Line + Catalogue Request Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CertificateOfOrigin-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CertificateOfOrigin-2.2.xsd new file mode 100644 index 0000000..850d8fb --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CertificateOfOrigin-2.2.xsd @@ -0,0 +1,418 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Certificate Of Origin. Details + A document that describes the Certificate of Origin. + Certificate Of Origin + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Certificate Of Origin. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Certificate Of Origin + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Certificate Of Origin. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Certificate Of Origin + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Certificate Of Origin. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Certificate Of Origin + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Certificate Of Origin. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Certificate Of Origin + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Certificate Of Origin. Identifier + An identifier for this document, assigned by the sender. + 1 + Certificate Of Origin + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Certificate Of Origin + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Certificate Of Origin + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Certificate Of Origin. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Certificate Of Origin + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Certificate Of Origin. Description. Text + Textual description of the document instance. + 0..n + Certificate Of Origin + Description + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Certificate Of Origin + Note + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin. Version. Identifier + Identifies the version of this Certificate of Origin. + 0..1 + Certificate Of Origin + Version + Identifier + Identifier. Type + + + + + + + + + ASBIE + Certificate Of Origin. Signature + A signature applied to this document. + 0..n + Certificate Of Origin + Signature + Signature + Signature + + + + + + + + + ASBIE + Certificate Of Origin. Exporter_ Party. Party + The Party who makes the export declaration, or on whose behalf the export declaration is made, and who is the owner of the goods or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Certificate Of Origin + Exporter + Party + Party + Party + Exporter (WCO ID 41 and 42) + + + + + + + + + ASBIE + Certificate Of Origin. Importer_ Party. Party + The Party who makes an import declaration, or on whose behalf a Customs clearing agent or other authorized person makes an import declaration. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Certificate Of Origin + Importer + Party + Party + Party + Importer (WCO ID 39 and 40) + + + + + + + + + ASBIE + Certificate Of Origin. Endorser Party + The Party providing the endorsement. + 0..n + Certificate Of Origin + Endorser Party + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Certificate Of Origin. Certificate Of Origin Application + Details of the application for a Certificate of Origin. + 1 + Certificate Of Origin + Certificate Of Origin Application + Certificate Of Origin Application + Certificate Of Origin Application + + + + + + + + + ASBIE + Certificate Of Origin. Issuer_ Endorsement. Endorsement + Issuer Endorsement details. + 1 + Certificate Of Origin + Issuer + Endorsement + Endorsement + Endorsement + + + + + + + + + ASBIE + Certificate Of Origin. Embassy_ Endorsement. Endorsement + Embassy Endorsement details. + 0..1 + Certificate Of Origin + Embassy + Endorsement + Endorsement + Endorsement + + + + + + + + + ASBIE + Certificate Of Origin. Insurance_ Endorsement. Endorsement + Insurance Endorsement details. + 0..1 + Certificate Of Origin + Insurance + Endorsement + Endorsement + Endorsement + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ContractAwardNotice-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ContractAwardNotice-2.2.xsd new file mode 100644 index 0000000..587285e --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ContractAwardNotice-2.2.xsd @@ -0,0 +1,512 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Contract Award Notice. Details + A document published by a Contracting Party to announce the awarding of a procurement project. + Contract Award Notice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Contract Award Notice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Contract Award Notice + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Contract Award Notice + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Contract Award Notice + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Contract Award Notice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Contract Award Notice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Contract Award Notice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Contract Award Notice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Contract Award Notice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Contract Award Notice + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Contract Award Notice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Contract Award Notice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Contract Award Notice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Contract Award Notice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Contract Award Notice + Note + Text + Text. Type + + + + + + + + + BBIE + Contract Award Notice. Regulatory Domain. Text + Information about the law that defines the regulatory domain. + 0..n + Contract Award Notice + Regulatory Domain + Text + Text. Type + + + + + + + + + BBIE + Contract Award Notice. Publish Award Indicator. Indicator + An indicator specifying if the notice is published for service contracts within certain service categories (true) or not (false). + 0..1 + Contract Award Notice + Publish Award Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Contract Award Notice. Notice_ Language Code. Code + The language used for this contract award notice. + 0..1 + Contract Award Notice + Notice + Language Code + Code + Language + Language_ Code. Type + + + + + + + + + ASBIE + Contract Award Notice. Previous_ Document Reference. Document Reference + A reference to a previously sent document. + 0..n + Contract Award Notice + Previous + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Contract Award Notice. Minutes_ Document Reference. Document Reference + A reference to a set of minutes. + 0..n + Contract Award Notice + Minutes + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Contract Award Notice. Signature + A signature applied to this document. + 0..n + Contract Award Notice + Signature + Signature + Signature + + + + + + + + + ASBIE + Contract Award Notice. Contracting Party + The contracting party or parties in case of joint procurement. + 1..n + Contract Award Notice + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Contract Award Notice. Originator_ Customer Party. Customer Party + The party who originated Order. + 0..1 + Contract Award Notice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Contract Award Notice. Receiver_ Party. Party + The party receiving this document. + 0..1 + Contract Award Notice + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Contract Award Notice. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Contract Award Notice + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Contract Award Notice. Tendering Process + A description of the tendering process itself. + 0..1 + Contract Award Notice + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Contract Award Notice. Procurement Project + An overall definition of this procurement project. + 0..1 + Contract Award Notice + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Contract Award Notice. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Contract Award Notice + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Contract Award Notice. Tender Result + A result of the bid opening in the tendering process. + 1..n + Contract Award Notice + Tender Result + Tender Result + Tender Result + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ContractNotice-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ContractNotice-2.2.xsd new file mode 100644 index 0000000..8ce6e8c --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ContractNotice-2.2.xsd @@ -0,0 +1,494 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Contract Notice. Details + A document used by a Contracting party to announce a project to buy goods, services, or works. + Contract Notice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Contract Notice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Contract Notice + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Contract Notice + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Contract Notice + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Contract Notice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Contract Notice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Contract Notice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Contract Notice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Contract Notice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Contract Notice + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Contract Notice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Contract Notice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Contract Notice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Contract Notice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Contract Notice + Note + Text + Text. Type + + + + + + + + + BBIE + Contract Notice. Requested_ Publication Date. Date + The requested publication date for this Contract Notice. + 0..1 + Contract Notice + Requested + Publication Date + Date + Date. Type + + + + + + + + + BBIE + Contract Notice. Regulatory Domain. Text + Information about the law that defines the regulatory domain. + 0..n + Contract Notice + Regulatory Domain + Text + Text. Type + + + + + + + + + BBIE + Contract Notice. Notice Type Code. Code + The type of notice (PIN, Qualification, Reduce time...) + 0..1 + Contract Notice + Notice Type Code + Code + Code. Type + + + + + + + + + BBIE + Contract Notice. Notice_ Language Code. Code + The language used for this contract notice. + 0..1 + Contract Notice + Notice + Language Code + Code + Language + Language_ Code. Type + + + + + + + + + ASBIE + Contract Notice. Frequency_ Period. Period + The estimated frequency of future notices. + 0..1 + Contract Notice + Frequency + Period + Period + Period + + + + + + + + + ASBIE + Contract Notice. Signature + A signature applied to this document. + 0..n + Contract Notice + Signature + Signature + Signature + + + + + + + + + ASBIE + Contract Notice. Contracting Party + The contracting party or parties in case of joint procurement. + 1..n + Contract Notice + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Contract Notice. Originator_ Customer Party. Customer Party + A party who originally requested the tender. + 0..n + Contract Notice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Contract Notice. Receiver_ Party. Party + The party receiving this document. + 0..1 + Contract Notice + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Contract Notice. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Contract Notice + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Contract Notice. Tendering Process + A description of the tendering process itself. + 0..1 + Contract Notice + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Contract Notice. Procurement Project + An overall definition of this procurement project. + 1 + Contract Notice + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Contract Notice. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Contract Notice + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CreditNote-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CreditNote-2.2.xsd new file mode 100644 index 0000000..6e77340 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CreditNote-2.2.xsd @@ -0,0 +1,1001 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Credit Note. Details + A document used to specify credits due to the Debtor from the Creditor. + Credit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Credit Note. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Credit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Credit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Credit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Credit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Credit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Credit Note. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Credit Note + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Credit Note. Identifier + An identifier for this document, assigned by the sender. + 1 + Credit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Credit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Credit Note. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Credit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Credit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Credit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Credit Note. Due Date. Date + The date on which this Credit Note is due. + 0..1 + Credit Note + Due Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note. Tax Point Date. Date + The date of the Credit Note, used to indicate the point at which tax becomes applicable. + 0..1 + Credit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note. Credit Note Type Code. Code + A code signifying the type of the Credit Note. + 0..1 + Credit Note + Credit Note Type Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Credit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Credit Note. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Credit Note + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Credit Note. + 0..1 + Credit Note + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Credit Note. + 0..1 + Credit Note + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Credit Note. + 0..1 + Credit Note + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Credit Note. + 0..1 + Credit Note + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Accounting Cost Code. Code + The buyer's accounting code, applied to the Credit Note as a whole. + 0..1 + Credit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note. Accounting Cost. Text + The buyer's accounting code, applied to the Credit Note as a whole, expressed as text. + 0..1 + Credit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Credit Note. Line Count. Numeric + The number of Credit Note Lines in the document. + 0..1 + Credit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Credit Note. Buyer_ Reference. Text + A reference provided by the buyer used for internal routing of the document. + 0..1 + Credit Note + Buyer + Reference + Text + Text. Type + + + + + + + + + ASBIE + Credit Note. Invoice_ Period. Period + Associates the Credit Note with Invoicing Periods rather than with a specific Invoice. + 0..n + Credit Note + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Credit Note. Discrepancy_ Response. Response + A reason for the Credit Note as a whole. + 0..n + Credit Note + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Credit Note. Order Reference + The Order associated with this Credit Note. + 0..1 + Credit Note + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Credit Note. Billing Reference + A reference to a billing document associated with this document. + 0..n + Credit Note + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Credit Note. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Credit Note + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Credit Note + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Credit Note + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Credit Note + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Credit Note + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Credit Note + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Project Reference + A reference to a project associated with this document. + 0..n + Credit Note + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Credit Note. Signature + A signature applied to this document. + 0..n + Credit Note + Signature + Signature + Signature + + + + + + + + + ASBIE + Credit Note. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Credit Note + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Credit Note. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Credit Note + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Credit Note. Payee_ Party. Party + The payee. + 0..1 + Credit Note + Payee + Party + Party + Party + + + + + + + + + ASBIE + Credit Note. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Credit Note + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Credit Note. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Credit Note + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Credit Note. Tax Representative_ Party. Party + The tax representative. + 0..1 + Credit Note + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Credit Note. Delivery + A delivery associated with this document. + 0..n + Credit Note + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Credit Note. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Credit Note + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Credit Note. Payment Means + Expected means of payment. + 0..n + Credit Note + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Credit Note. Payment Terms + A set of payment terms associated with this document. + 0..n + Credit Note + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Credit Note. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Credit Note + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Credit Note + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Credit Note + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Credit Note + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Credit Note + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Credit Note. Tax Total + The total amount of a specific type of tax. + 0..n + Credit Note + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Credit Note. Withholding_ Tax Total. Tax Total + The total withholding tax. + 0..n + Credit Note + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Credit Note. Legal_ Monetary Total. Monetary Total + The total amount payable on the Credit Note, including allowances, charges, and taxes. + 1 + Credit Note + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Credit Note. Credit Note Line + A Credit Note line. + 1..n + Credit Note + Credit Note Line + Credit Note Line + Credit Note Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DebitNote-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DebitNote-2.2.xsd new file mode 100644 index 0000000..169b70d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DebitNote-2.2.xsd @@ -0,0 +1,934 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Debit Note. Details + A document used to specify debts incurred by the Debtor. + Debit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Debit Note. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Debit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Debit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Debit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Debit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Debit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Debit Note. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Debit Note + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Debit Note. Identifier + An identifier for this document, assigned by the sender. + 1 + Debit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Debit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Debit Note. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Debit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Debit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Debit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Debit Note. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Debit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Debit Note. Tax Point Date. Date + The date of the Debit Note, used to indicate the point at which tax becomes applicable. + 0..1 + Debit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Debit Note + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Debit Note. + 0..1 + Debit Note + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Debit Note. + 0..1 + Debit Note + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Debit Note. + 0..1 + Debit Note + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Debit Note. + 0..1 + Debit Note + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Accounting Cost Code. Code + The Buyer's accounting code, applied to the Credit Note as a whole. + 0..1 + Debit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Debit Note. Accounting Cost. Text + The Buyer's accounting code, applied to the Credit Note as a whole, expressed as text. + 0..1 + Debit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Debit Note. Line Count. Numeric + The number of Debit Note Lines in this document. + 0..1 + Debit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Debit Note. Invoice_ Period. Period + A period (rather than a specific invoice) associated with this document. + 0..n + Debit Note + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Debit Note. Discrepancy_ Response. Response + A reason for the Debit Note as a whole. + 0..n + Debit Note + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Debit Note. Order Reference + A reference to an Order with which this Debit Note is associated. + 0..1 + Debit Note + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Debit Note. Billing Reference + A reference to a billing document associated with this document. + 0..n + Debit Note + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Debit Note. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Debit Note + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Debit Note + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Debit Note + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Debit Note + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Debit Note + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Signature + A signature applied to this document. + 0..n + Debit Note + Signature + Signature + Signature + + + + + + + + + ASBIE + Debit Note. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Debit Note + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Debit Note. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Debit Note + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Debit Note. Payee_ Party. Party + The payee. + 0..1 + Debit Note + Payee + Party + Party + Party + + + + + + + + + ASBIE + Debit Note. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Debit Note + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Debit Note. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Debit Note + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Debit Note. Tax Representative_ Party. Party + The tax representative. + 0..1 + Debit Note + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Debit Note. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Debit Note + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Debit Note. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Debit Note + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Debit Note. Delivery + A delivery associated with this document. + 0..n + Debit Note + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Debit Note. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Debit Note + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Debit Note. Payment Means + Expected means of payment. + 0..n + Debit Note + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Debit Note. Payment Terms + A set of payment terms associated with this document. + 0..n + Debit Note + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Debit Note. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Debit Note + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Debit Note + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Debit Note + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Debit Note + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Tax Total + The total amount of a specific type of tax. + 0..n + Debit Note + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Debit Note. Withholding_ Tax Total. Tax Total + The total withholding tax. + 0..n + Debit Note + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Debit Note. Requested_ Monetary Total. Monetary Total + The total amount payable on the Debit Note, including allowances, charges, and taxes. + 1 + Debit Note + Requested + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Debit Note. Debit Note Line + A Debit Note line. + 1..n + Debit Note + Debit Note Line + Debit Note Line + Debit Note Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DespatchAdvice-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DespatchAdvice-2.2.xsd new file mode 100644 index 0000000..f193254 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DespatchAdvice-2.2.xsd @@ -0,0 +1,483 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Despatch Advice. Details + A document used to describe the despatch or delivery of goods and services. + Despatch Advice + Ship Note, Dispatch Advice, Consignment Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Despatch Advice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Despatch Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Despatch Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Despatch Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Despatch Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Despatch Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Despatch Advice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Despatch Advice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Identifier + An identifier for this document, assigned by the sender. + 1 + Despatch Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Despatch Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Despatch Advice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Despatch Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Despatch Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Despatch Advice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Despatch Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Despatch Advice. Document Status Code. Code + A code signifying the status of the Despatch Advice with respect to its original state. This code may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancellation or revision. + 0..1 + Despatch Advice + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Despatch Advice. Despatch Advice Type Code. Code + A code signifying the type of the Despatch Advice. + 0..1 + Despatch Advice + Despatch Advice Type Code + Code + Code. Type + + + + + + + + + BBIE + Despatch Advice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Despatch Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Despatch Advice. Line Count. Numeric + The number of Despatch Lines in this document. + 0..1 + Despatch Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Despatch Advice. Order Reference + A reference to an Order with which this Despatch Advice is associated. + 0..n + Despatch Advice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Despatch Advice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Despatch Advice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Despatch Advice. Signature + A signature applied to this document. + 0..n + Despatch Advice + Signature + Signature + Signature + + + + + + + + + ASBIE + Despatch Advice. Despatch_ Supplier Party. Supplier Party + The despatch party. + 1 + Despatch Advice + Despatch + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Despatch Advice. Delivery_ Customer Party. Customer Party + The delivery recipient. + 1 + Despatch Advice + Delivery + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Despatch Advice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Despatch Advice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Despatch Advice. Originator_ Customer Party. Customer Party + A customer party as originator. + 0..1 + Despatch Advice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Shipment + The shipment. + 0..1 + Despatch Advice + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Despatch Advice. Despatch Line + A Despatch Line associated with a kind of item delivered. + 1..n + Despatch Advice + Despatch Line + Despatch Line + Despatch Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DigitalAgreement-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DigitalAgreement-2.2.xsd new file mode 100644 index 0000000..db04353 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DigitalAgreement-2.2.xsd @@ -0,0 +1,422 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Digital Agreement. Details + A document used to support business parties agreeing on a set of digital processes, terms and conditions to ensure interoperability. + Digital Agreement + Trading Partner Agreement, TPA + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Digital Agreement. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Digital Agreement + UBL Version Identifier + Identifier + Identifier. Type + 2.2 + + + + + + + + + BBIE + Digital Agreement. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Digital Agreement + Customization Identifier + Identifier + Identifier. Type + EESPA + + + + + + + + + BBIE + Digital Agreement. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Digital Agreement + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Digital Agreement. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Digital Agreement + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Digital Agreement. Identifier + An identifier for this document, assigned by the sender. + 1 + Digital Agreement + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Digital Agreement. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Digital Agreement + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Digital Agreement. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Digital Agreement + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Digital Agreement. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Digital Agreement + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Digital Agreement. Agreement Type Code. Code + A code signifying the type of digital agreement (e.g. bi-lateral, multi-lateral). + 0..1 + Digital Agreement + Agreement Type Code + Code + Code. Type + multi-lateral + + + + + + + + + BBIE + Digital Agreement. Version Identifier. Identifier + Identifies the current version of this digital agreement. + 1 + Digital Agreement + Version Identifier + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Digital Agreement. Previous Version Identifier. Identifier + Identifies the previous version of this digital agreement. + 0..1 + Digital Agreement + Previous Version Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Digital Agreement. Required_ Response Message Level Code. Code + A code signifying the minimum response message level the parties are required to provide (e.g. EESPA response message level). + 0..1 + Digital Agreement + Required + Response Message Level Code + Code + Code. Type + RM2 + + + + + + + + + ASBIE + Digital Agreement. Signature + A signature applied to this document. + 0..n + Digital Agreement + Signature + Signature + Signature + + + + + + + + + ASBIE + Digital Agreement. Governor_ Party. Party + The party governing the agreement (e.g. a multi-lateral digital agreement). + 0..1 + Digital Agreement + Governor + Party + Party + Party + + + + + + + + + ASBIE + Digital Agreement. Participant Party + The business parties agreeing on a set of digital processes, terms and conditions to ensure interoperability. + 1..n + Digital Agreement + Participant Party + Participant Party + Participant Party + + + + + + + + + ASBIE + Digital Agreement. Agreement_ Country. Country + The country to which this digital agreement applies. + 0..n + Digital Agreement + Agreement + Country + Country + Country + + + + + + + + + ASBIE + Digital Agreement. Required Certification_ Document Reference. Document Reference + A reference to a certification document required by this digital agreement. + 0..n + Digital Agreement + Required Certification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Digital Agreement. Digital Agreement Terms + A reference to digital agreement terms and conditions. + 0..1 + Digital Agreement + Digital Agreement Terms + Digital Agreement Terms + Digital Agreement Terms + + + + + + + + + ASBIE + Digital Agreement. Digital Process + The digital processes in scope of this digital agreement. + 1..n + Digital Agreement + Digital Process + Digital Process + Digital Process + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DigitalCapability-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DigitalCapability-2.2.xsd new file mode 100644 index 0000000..7d3fc81 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DigitalCapability-2.2.xsd @@ -0,0 +1,350 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Digital Capability. Details + A document used to provide information about a business party and its digital trade capabilities. + Digital Capability + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Digital Capability. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Digital Capability + UBL Version Identifier + Identifier + Identifier. Type + 2.2 + + + + + + + + + BBIE + Digital Capability. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Digital Capability + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Digital Capability. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Digital Capability + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Digital Capability. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Digital Capability + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Digital Capability. Identifier + An identifier for this document, assigned by the sender. + 1 + Digital Capability + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Digital Capability. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Digital Capability + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Digital Capability. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Digital Capability + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Digital Capability. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Digital Capability + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Digital Capability. Version Identifier. Identifier + Identifies the current version of party's digital capabilities. + 0..1 + Digital Capability + Version Identifier + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Digital Capability. Previous Version Identifier. Identifier + Identifies the previous version of party's digital capabilities. + 0..1 + Digital Capability + Previous Version Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + ASBIE + Digital Capability. Signature + A signature applied to this document. + 0..n + Digital Capability + Signature + Signature + Signature + + + + + + + + + ASBIE + Digital Capability. Sender_ Party. Party + The party sending these digital capabilities. This party could be the owner of these digital capabilities or a third-party acting on behalf of the owner (e.g. service provider). + 0..1 + Digital Capability + Sender + Party + Party + Party + + + + + + + + + ASBIE + Digital Capability. Receiver_ Party. Party + The party receiving these digital capabilities. + 0..1 + Digital Capability + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Digital Capability. Business_ Party. Party + The party owning these digital capabilities. + 1 + Digital Capability + Business + Party + Party + Party + + + + + + + + + ASBIE + Digital Capability. Digital Process + The digital trade processes supported by the party. + 1..n + Digital Capability + Digital Process + Digital Process + Digital Process + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DocumentStatus-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DocumentStatus-2.2.xsd new file mode 100644 index 0000000..f57a46c --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DocumentStatus-2.2.xsd @@ -0,0 +1,351 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Document Status. Details + A document used to provide information about document status. + Document Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Document Status. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Document Status + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Document Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Document Status + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Document Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Document Status + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Document Status. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Document Status + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Document Status. Identifier + An identifier for this document, assigned by the sender. + 1 + Document Status + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Document Status + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Document Status. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Document Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Document Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Document Status. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Document Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Document Status. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Document Status + Note + Text + Text. Type + + + + + + + + + ASBIE + Document Status. Signature + A signature applied to this document. + 0..n + Document Status + Signature + Signature + Signature + + + + + + + + + ASBIE + Document Status. Sender_ Party. Party + The party sending this document. + 0..1 + Document Status + Sender + Party + Party + Party + + + + + + + + + ASBIE + Document Status. Receiver_ Party. Party + The party receiving this document. + 0..1 + Document Status + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Document Status. Document Response + A response to the document. + 0..1 + Document Status + Document Response + Document Response + Document Response + + + + + + + + + ASBIE + Document Status. Additional_ Document Response. Document Response + A document linked or related to the document for which the status was requested. + 0..n + Document Status + Additional + Document Response + Document Response + Document Response + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DocumentStatusRequest-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DocumentStatusRequest-2.2.xsd new file mode 100644 index 0000000..b1c6548 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DocumentStatusRequest-2.2.xsd @@ -0,0 +1,349 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Document Status Request. Details + A document used to request the status of another document. + Document Status Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Document Status Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Document Status Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Document Status Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Document Status Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Document Status Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Document Status Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Document Status Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Document Status Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Document Status Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Document Status Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Document Status Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Document Status Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Document Status Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Document Status Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Document Status Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Document Status Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Document Status Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Document Status Request + Note + Text + Text. Type + + + + + + + + + BBIE + Document Status Request. Tracking Identifier. Identifier + An identifier for tracking status of the business process . + 0..1 + Document Status Request + Tracking Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Document Status Request. Requested_ Document Reference. Document Reference + The document about which status is requested. + 0..1 + Document Status Request + Requested + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Document Status Request. Signature + A signature applied to this document. + 0..n + Document Status Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Document Status Request. Sender_ Party. Party + The party sending this document. + 0..1 + Document Status Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Document Status Request. Receiver_ Party. Party + The party receiving this document. + 0..1 + Document Status Request + Receiver + Party + Party + Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Enquiry-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Enquiry-2.2.xsd new file mode 100644 index 0000000..00f840b --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Enquiry-2.2.xsd @@ -0,0 +1,385 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Enquiry. Details + A document sent by a requestor to a responder resquesting information about a particular business process. + Enquiry + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Enquiry. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Enquiry + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Enquiry. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Enquiry + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Enquiry. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Enquiry + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Enquiry. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Enquiry + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Enquiry. Identifier + An identifier for this document, assigned by the requestor. + 0..1 + Enquiry + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Enquiry. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Enquiry + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Enquiry. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Enquiry + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Enquiry. Issue Date. Date + The date, assigned by the requestor, at which this enquiry was issued. + 1 + Enquiry + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Enquiry. Issue Time. Time + The time, assigned by the requestor, at which this enquiry was issued. + 0..1 + Enquiry + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Enquiry. Latest_ Reply Date. Date + The date, assigned by the requestor, by which this enquiry shall be replied. + 0..1 + Enquiry + Latest + Reply Date + Date + Date. Type + + + + + + + + + BBIE + Enquiry. Latest_ Reply Time. Time + The time, assigned by the requestor, by which this enquiry shall be replied. + 0..1 + Enquiry + Latest + Reply Time + Time + Time. Type + + + + + + + + + BBIE + Enquiry. Description. Text + Free-form text-only description pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Enquiry + Description + Text + Text. Type + + + + + + + + + ASBIE + Enquiry. Signature + A signature applied to this document. + 0..n + Enquiry + Signature + Signature + Signature + + + + + + + + + ASBIE + Enquiry. Requestor_ Party. Party + The party issuing the enquiry. + 1 + Enquiry + Requestor + Party + Party + Party + + + + + + + + + ASBIE + Enquiry. Responder_ Party. Party + The party that has to respond to the enquiry. + 1 + Enquiry + Responder + Party + Party + Party + + + + + + + + + ASBIE + Enquiry. Additional_ Document Reference. Document Reference + References to relevant documents for the enquiry such as the Contract folder or the lot in the eTendering. + 0..n + Enquiry + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Enquiry. Attachment + Attachment that includes file-based enquiry. + 0..n + Enquiry + Attachment + Attachment + Attachment + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-EnquiryResponse-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-EnquiryResponse-2.2.xsd new file mode 100644 index 0000000..8f1e0dc --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-EnquiryResponse-2.2.xsd @@ -0,0 +1,368 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Enquiry Response. Details + A document sent by a responder to a requester answering a particular enqury. + Enquiry Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Enquiry Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Enquiry Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Enquiry Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Enquiry Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Enquiry Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Enquiry Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Enquiry Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Enquiry Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Enquiry Response. Identifier + An identifier for this document, assigned by the responder. + 0..1 + Enquiry Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Enquiry Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Enquiry Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Enquiry Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Enquiry Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Enquiry Response. Issue Date. Date + The date, assigned by the responder, at which this enquiry response was issued. + 1 + Enquiry Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Enquiry Response. Issue Time. Time + The time, assigned by the responder, at which this enquiry response was issued. + 0..1 + Enquiry Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Enquiry Response. Description. Text + Free-form text-only enquiry response description pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Enquiry Response + Description + Text + Text. Type + + + + + + + + + ASBIE + Enquiry Response. Signature + A signature applied to this document. + 0..n + Enquiry Response + Signature + Signature + Signature + + + + + + + + + ASBIE + Enquiry Response. Requestor_ Party. Party + The party issuing the enquiry. + 1 + Enquiry Response + Requestor + Party + Party + Party + + + + + + + + + ASBIE + Enquiry Response. Responder_ Party. Party + The party that has to respond to the enquiry. + 1 + Enquiry Response + Responder + Party + Party + Party + + + + + + + + + ASBIE + Enquiry Response. Parent_ Document Reference. Document Reference + Reference to the enquiry that this response refers to. + 1 + Enquiry Response + Parent + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Enquiry Response. Additional_ Document Reference. Document Reference + References to relevant documents for the response such as the Contract folder or the lot in the eTendering. + 0..n + Enquiry Response + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Enquiry Response. Attachment + Attachment that includes file-based response. + 0..n + Enquiry Response + Attachment + Attachment + Attachment + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExceptionCriteria-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExceptionCriteria-2.2.xsd new file mode 100644 index 0000000..31599ba --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExceptionCriteria-2.2.xsd @@ -0,0 +1,418 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Exception Criteria. Details + A document used to specify the thresholds for forecast variance, product activity, and performance history beyond which exceptions should be triggered. + Exception Criteria + Exception Criteria + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Exception Criteria. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Exception Criteria + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Exception Criteria. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Exception Criteria + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Exception Criteria. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Exception Criteria + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Exception Criteria. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Exception Criteria + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Exception Criteria. Identifier + An identifier for this document, assigned by the sender. + 1 + Exception Criteria + Identifier + Identifier + Identifier. Type + Exception Criteria Number + + + + + + + + + BBIE + Exception Criteria. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Exception Criteria + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Exception Criteria. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Exception Criteria + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Criteria. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Exception Criteria + Issue Date + Date + Date. Type + Exception Criteria Date + + + + + + + + + BBIE + Exception Criteria. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Exception Criteria + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Exception Criteria. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Exception Criteria + Note + Text + Text. Type + + + + + + + + + BBIE + Exception Criteria. Version. Identifier + Identifies the current version of this document. + 0..1 + Exception Criteria + Version + Identifier + Identifier. Type + + + + + + + + + ASBIE + Exception Criteria. Validity_ Period. Period + The period of time during which the Exception Criteria is valid. + 1 + Exception Criteria + Validity + Period + Period + Period + + + + + + + + + ASBIE + Exception Criteria. Document Reference + A reference to another document associated with this document. + 0..n + Exception Criteria + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Exception Criteria. Signature + A signature applied to this document. + 0..n + Exception Criteria + Signature + Signature + Signature + + + + + + + + + ASBIE + Exception Criteria. Sender_ Party. Party + The party sending this document. + 1 + Exception Criteria + Sender + Party + Party + Party + + + + + + + + + ASBIE + Exception Criteria. Receiver_ Party. Party + The party receiving this document. + 1 + Exception Criteria + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Exception Criteria. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Exception Criteria + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Exception Criteria. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Exception Criteria + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Exception Criteria. Exception Criteria Line + A line expressing an exception criterion setting thresholds beyond which an exception should be triggered. + 1..n + Exception Criteria + Exception Criteria Line + Exception Criteria Line + Exception Criteria Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExceptionNotification-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExceptionNotification-2.2.xsd new file mode 100644 index 0000000..b74b127 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExceptionNotification-2.2.xsd @@ -0,0 +1,404 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Exception Notification. Details + A document used to notify an exception in forecast variance, product activity, or performance history. + Exception Notification + ExceptionNotification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Exception Notification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Exception Notification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Exception Notification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Exception Notification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Exception Notification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Exception Notification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Exception Notification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Exception Notification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Exception Notification. Identifier + An identifier for this document, assigned by the sender. + 1 + Exception Notification + Identifier + Identifier + Identifier. Type + Exception Notification Number + + + + + + + + + BBIE + Exception Notification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Exception Notification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Exception Notification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Exception Notification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Notification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Exception Notification + Issue Date + Date + Date. Type + Exception Notification Date + + + + + + + + + BBIE + Exception Notification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Exception Notification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Exception Notification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Exception Notification + Note + Text + Text. Type + + + + + + + + + ASBIE + Exception Notification. Exception Observation_ Period. Period + The period of time during which the exceptions are observed. + 1 + Exception Notification + Exception Observation + Period + Period + Period + + + + + + + + + ASBIE + Exception Notification. Document Reference + A reference to another document associated with this document. + 0..n + Exception Notification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Exception Notification. Signature + A signature applied to this document. + 0..n + Exception Notification + Signature + Signature + Signature + + + + + + + + + ASBIE + Exception Notification. Sender_ Party. Party + The party sending this document. + 1 + Exception Notification + Sender + Party + Party + Party + + + + + + + + + ASBIE + Exception Notification. Receiver_ Party. Party + The party receiving this document. + 1 + Exception Notification + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Exception Notification. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Exception Notification + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Exception Notification. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Exception Notification + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Exception Notification. Exception Notification Line + A line in the Exception Notification. + 1..n + Exception Notification + Exception Notification Line + Exception Notification Line + Exception Notification Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExpressionOfInterestRequest-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExpressionOfInterestRequest-2.2.xsd new file mode 100644 index 0000000..c6c31f1 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExpressionOfInterestRequest-2.2.xsd @@ -0,0 +1,428 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Expression Of Interest Request. Details + An expression of interest to a tendering process. An Economic Operator can demonstrate interest in a tendering process issuing an Expression Of Interest document to the contracting party. Upon reception, the Contracting Party registers the interest of the Economic Operator sending the relevant information for the tendering process. + Expression Of Interest Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Expression Of Interest Request. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Expression Of Interest Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Expression Of Interest Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Expression Of Interest Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Expression Of Interest Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Expression Of Interest Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Expression Of Interest Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Expression Of Interest Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Expression Of Interest Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Request. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Expression Of Interest Request + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Expression Of Interest Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Expression Of Interest Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Expression Of Interest Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Expression Of Interest Request. Contract Name. Name + Short title of a contract associated with this Expression of Interest. + 0..n + Expression Of Interest Request + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Expression Of Interest Request. Preferred Language_ Locale Code. Code + A code signifying the locale in which the language in the required documents is preferred. + 0..1 + Expression Of Interest Request + Preferred Language + Locale Code + Code + Language + Language_ Code. Type + + + + + + + + + BBIE + Expression Of Interest Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Expression Of Interest Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Expression Of Interest Request. Validity_ Period. Period + The period for which the expression of interest is valid. + 0..1 + Expression Of Interest Request + Validity + Period + Period + Period + + + + + + + + + ASBIE + Expression Of Interest Request. Document Reference + A reference to another document associated with this document. + 0..n + Expression Of Interest Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Expression Of Interest Request. Signature + A signature applied to this document. + 0..n + Expression Of Interest Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Expression Of Interest Request. Economic Operator Party + The Economic Operator issuing the expression of interest. + 1 + Expression Of Interest Request + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Expression Of Interest Request. Contracting Party + The Contracting Party or the contracting parties in case of joint procurement. + 1..n + Expression Of Interest Request + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Expression Of Interest Request. Procurement Project + An overall definition of this procurement project. + 0..1 + Expression Of Interest Request + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Expression Of Interest Request. Procurement Project Lot Reference + One of the procurement project lots into which this contract can be split. + 0..n + Expression Of Interest Request + Procurement Project Lot Reference + Procurement Project Lot Reference + Procurement Project Lot Reference + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExpressionOfInterestResponse-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExpressionOfInterestResponse-2.2.xsd new file mode 100644 index 0000000..775cb21 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExpressionOfInterestResponse-2.2.xsd @@ -0,0 +1,414 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Expression Of Interest Response. Details + An expression of interest confirmation issued by a Contracting Party in reply to an expression of interest. The purpose of this document is to inform the Economic Operator he has been registered as an interested party. + Expression Of Interest Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Expression Of Interest Response. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Expression Of Interest Response + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Expression Of Interest Response + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Expression Of Interest Response + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Expression Of Interest Response + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Response. Identifier + An identifier for this document, assigned by the sender. + 1 + Expression Of Interest Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Expression Of Interest Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Expression Of Interest Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Expression Of Interest Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Response. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Expression Of Interest Response + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Expression Of Interest Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Expression Of Interest Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Expression Of Interest Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Expression Of Interest Response. Contract Name. Name + Short title of a contract associated with this Expression of Interest. + 0..n + Expression Of Interest Response + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Expression Of Interest Response. Tender Language_ Locale Code. Code + A code signifying the language required for the tender. + 0..1 + Expression Of Interest Response + Tender Language + Locale Code + Code + Language + Language_ Code. Type + + + + + + + + + BBIE + Expression Of Interest Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Expression Of Interest Response + Note + Text + Text. Type + + + + + + + + + ASBIE + Expression Of Interest Response. Expression Of Interest_ Document Reference. Document Reference + A reference to the expression of interest document associated with this document. + 0..n + Expression Of Interest Response + Expression Of Interest + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Expression Of Interest Response. Signature + A signature applied to this document. + 0..n + Expression Of Interest Response + Signature + Signature + Signature + + + + + + + + + ASBIE + Expression Of Interest Response. Economic Operator Party + The economic operator that issued the expression of interest and is receiving the confirmation. + 1 + Expression Of Interest Response + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Expression Of Interest Response. Contracting Party + The contracting party or parties in case of joint procurement. + 1..n + Expression Of Interest Response + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Expression Of Interest Response. Procurement Project + An overall definition of this procurement project. + 0..1 + Expression Of Interest Response + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Expression Of Interest Response. Procurement Project Lot Reference + One of the procurement project lots into which this contract can be split. + 0..n + Expression Of Interest Response + Procurement Project Lot Reference + Procurement Project Lot Reference + Procurement Project Lot Reference + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Forecast-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Forecast-2.2.xsd new file mode 100644 index 0000000..deff753 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Forecast-2.2.xsd @@ -0,0 +1,455 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Forecast. Details + A document used to forecast sales or orders. + Forecast + Forecast + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Forecast. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Forecast + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Forecast. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Forecast + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Forecast. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Forecast + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Forecast. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Forecast + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Forecast. Identifier + An identifier for this document, assigned by the sender. + 1 + Forecast + Identifier + Identifier + Identifier. Type + Forecast Number + + + + + + + + + BBIE + Forecast. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Forecast + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Forecast + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Forecast + Issue Date + Date + Date. Type + Forecast Date + + + + + + + + + BBIE + Forecast. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Forecast + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Forecast + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast. Version. Identifier + Identifies the current version of this document. + 0..1 + Forecast + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast. Based On Consensus_ Indicator. Indicator + Indicates whether the Forecast is based on consensus (true) or not (false). + 0..1 + Forecast + Based On Consensus + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast. Forecast_ Purpose Code. Code + A code signifying the purpose of the Forecast document. + 1 + Forecast + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Forecast. Forecast_ Period. Period + The period to which the Forecast applies. + 1 + Forecast + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Forecast + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Forecast. Signature + A signature applied to this document. + 0..n + Forecast + Signature + Signature + Signature + + + + + + + + + ASBIE + Forecast. Sender_ Party. Party + The party sending this document. + 1 + Forecast + Sender + Party + Party + Party + + + + + + + + + ASBIE + Forecast. Receiver_ Party. Party + The party receiving this document. + 1 + Forecast + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Forecast. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Forecast + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Forecast. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Forecast + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Forecast. Forecast Line + A Forecast Line. + 1..n + Forecast + Forecast Line + Forecast Line + Forecast Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ForecastRevision-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ForecastRevision-2.2.xsd new file mode 100644 index 0000000..38f5c2f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ForecastRevision-2.2.xsd @@ -0,0 +1,454 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Forecast Revision. Details + A document used to revise a Forecast. + Forecast Revision + Forecast Revision + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Forecast Revision. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Forecast Revision + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Forecast Revision. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Forecast Revision + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Forecast Revision. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Forecast Revision + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Forecast Revision. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Forecast Revision + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Forecast Revision. Identifier + An identifier for this document, assigned by the sender. + 1 + Forecast Revision + Identifier + Identifier + Identifier. Type + Forecast Revision Number + + + + + + + + + BBIE + Forecast Revision. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Forecast Revision + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast Revision. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Forecast Revision + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Forecast Revision + Issue Date + Date + Date. Type + Forecast Date + + + + + + + + + BBIE + Forecast Revision. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Forecast Revision + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Revision. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Forecast Revision + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast Revision. Sequence Number. Identifier + A sequence number, to ensure the proper sequencing of revisions. + 1 + Forecast Revision + Sequence Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision. Revision_ Status Code. Code + Indicates the revision status of this Forecast Revision. + 0..1 + Forecast Revision + Revision + Status Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Revision. Purpose Code. Code + Indicates the purpose of the revision. + 0..1 + Forecast Revision + Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Forecast Revision. Forecast_ Period. Period + The period to which the Forecast applies. + 1 + Forecast Revision + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast Revision. Original_ Document Reference. Document Reference + The Forecast document being revised. + 0..n + Forecast Revision + Original + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Forecast Revision. Signature + A signature applied to this document. + 0..n + Forecast Revision + Signature + Signature + Signature + + + + + + + + + ASBIE + Forecast Revision. Sender_ Party. Party + The party sending this document. + 1 + Forecast Revision + Sender + Party + Party + Party + + + + + + + + + ASBIE + Forecast Revision. Receiver_ Party. Party + The party receiving this document. + 1 + Forecast Revision + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Forecast Revision. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Forecast Revision + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Forecast Revision. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Forecast Revision + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Forecast Revision. Forecast Revision Line + A line that revises a line in the Forecast. + 1..n + Forecast Revision + Forecast Revision Line + Forecast Revision Line + Forecast Revision Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ForwardingInstructions-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ForwardingInstructions-2.2.xsd new file mode 100644 index 0000000..a4f2ebc --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ForwardingInstructions-2.2.xsd @@ -0,0 +1,534 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Forwarding Instructions. Details + A document issued to a forwarder, giving instructions regarding the action to be taken for the forwarding of goods described therein. Forwarding Instructions is used by any party who gives instructions for the transportation services required for a consignment of goods to any party who is contracted to provide the transportation services. The parties who issue this document are commonly referred to as the shipper or consignor, while the parties who receive this document are forwarders, carriers, shipping agents, etc. This document may also be issued by a forwarder or shipping agent in its capacity as a shipper. This document can be used to arrange for the transportation (1) of different types of goods or cargoes; (2) whether containerized or non-containerized; (3) through different modes of transport including multi-modal; and (4) from any origin to any destination. + Forwarding Instructions + Forwarding Instruction, Freight Forwarding Instruction, Shippers Letter of Instruction, Shipper's Letter of Instruction, Shipping Instruction + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Forwarding Instructions. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Forwarding Instructions + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Forwarding Instructions. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Forwarding Instructions + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Forwarding Instructions. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Forwarding Instructions + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Forwarding Instructions. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Forwarding Instructions + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Forwarding Instructions. Identifier + An identifier for this document, assigned by the sender. + 1 + Forwarding Instructions + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. Carrier Assigned_ Identifier. Identifier + Reference number assigned by a carrier or its agent to identify a specific shipment, such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Forwarding Instructions + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Forwarding Instructions + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Forwarding Instructions + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Forwarding Instructions. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Forwarding Instructions + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forwarding Instructions. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Forwarding Instructions + Name + Name + Name. Type + + + + + + + + + BBIE + Forwarding Instructions. Description. Text + Textual description of the document instance. + 0..n + Forwarding Instructions + Description + Text + Text. Type + + + + + + + + + BBIE + Forwarding Instructions. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Forwarding Instructions + Note + Text + Text. Type + + + + + + + + + BBIE + Forwarding Instructions. Document Status Code. Code + A code signifying the status of the Forwarding Instructions with respect to its original state. This code may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancellation or revision. + 0..1 + Forwarding Instructions + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Forwarding Instructions. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order. + 0..1 + Forwarding Instructions + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. To Order_ Indicator. Indicator + Indicates whether the transport document is consigned to order. + 0..1 + Forwarding Instructions + To Order + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forwarding Instructions. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Forwarding Instructions + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forwarding Instructions. Declared Carriage_ Value. Amount + Value declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage in case of loss or damage to goods or delayed delivery. + 0..1 + Forwarding Instructions + Declared Carriage + Value + Amount + Amount. Type + + + + + + + + + BBIE + Forwarding Instructions. Other_ Instruction. Text + Contains other free-text instructions to the forwarders or carriers related to the shipment. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Forwarding Instructions + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Forwarding Instructions. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Forwarding Instructions + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Forwarding Instructions. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Forwarding Instructions + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Forwarding Instructions. Freight Forwarder_ Party. Party + A party combining individual smaller consignments into a single larger shipment (a so-called consolidated consignment or shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Forwarding Instructions + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Forwarding Instructions. Shipment + An identifiable collection of one or more goods items to be transported between the seller party and the buyer party. + 1 + Forwarding Instructions + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Forwarding Instructions. Document Reference + A reference to another document associated with this document. + 0..n + Forwarding Instructions + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Forwarding Instructions. Exchange Rate + Information about the rate of exchange (conversion) between two currencies. + 0..n + Forwarding Instructions + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Forwarding Instructions. Document Distribution + A list of interested parties to whom this document is distributed. + 0..n + Forwarding Instructions + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Forwarding Instructions. Signature + A signature applied to this document. + 0..n + Forwarding Instructions + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-FreightInvoice-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-FreightInvoice-2.2.xsd new file mode 100644 index 0000000..2c43e41 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-FreightInvoice-2.2.xsd @@ -0,0 +1,917 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Freight Invoice. Details + A document stating the charges incurred for a logistics service. + Freight Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Freight Invoice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Freight Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Freight Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Freight Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Freight Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Freight Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Freight Invoice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Freight Invoice + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Freight Invoice. Identifier + An identifier for this document, assigned by the sender. + 1 + Freight Invoice + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Freight Invoice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Freight Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Freight Invoice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Freight Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Freight Invoice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Freight Invoice + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Freight Invoice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Freight Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Freight Invoice. Due Date. Date + The date on which Invoice is due. + 0..1 + Freight Invoice + Due Date + Date + Date. Type + + + + + + + + + BBIE + Freight Invoice. Invoice Type Code. Code + A code signifying the type of the Freight Invoice. + 0..1 + Freight Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Freight Invoice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Freight Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Freight Invoice. Tax Point Date. Date + The date of the Freight Invoice, used to indicate the point at which tax becomes applicable. + 0..1 + Freight Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Freight Invoice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Freight Invoice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Freight Invoice. + 0..1 + Freight Invoice + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Freight Invoice. + 0..1 + Freight Invoice + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Freight Invoice. + 0..1 + Freight Invoice + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Freight Invoice. + 0..1 + Freight Invoice + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Accounting Cost Code. Code + The buyer's accounting code, applied to the Freight Invoice as a whole. + 0..1 + Freight Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Freight Invoice. Accounting Cost. Text + The buyer's accounting cost centre, applied to the Freight Invoice as a whole, expressed as text. + 0..1 + Freight Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Freight Invoice. Line Count. Numeric + The number of Invoice Lines in the document. + 0..1 + Freight Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Freight Invoice. Invoice_ Period. Period + The time periods to which the Freight Invoice applies. + 0..n + Freight Invoice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Freight Invoice. Shipment + Details about one or more shipments covered by this Freight Invoice. + 1..n + Freight Invoice + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Freight Invoice. Order Reference + Reference to an Order associated with this Freight Invoice. + 0..1 + Freight Invoice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Freight Invoice. Billing Reference + A reference to a billing document associated with this document. + 0..n + Freight Invoice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Freight Invoice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Freight Invoice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Freight Invoice + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Freight Invoice + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Freight Invoice + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Freight Invoice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Project Reference + A reference to a project associated with this document. + 0..n + Freight Invoice + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Freight Invoice. Signature + A signature applied to this document. + 0..n + Freight Invoice + Signature + Signature + Signature + + + + + + + + + ASBIE + Freight Invoice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Freight Invoice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Freight Invoice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Freight Invoice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Freight Invoice. Payee_ Party. Party + The payee. + 0..1 + Freight Invoice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Freight Invoice. Tax Representative_ Party. Party + The tax representative. + 0..1 + Freight Invoice + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Freight Invoice. Payment Means + Expected means of payment. + 0..n + Freight Invoice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Freight Invoice. Payment Terms + A set of payment terms associated with this document. + 0..n + Freight Invoice + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Freight Invoice. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Freight Invoice + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Freight Invoice. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Freight Invoice + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Freight Invoice. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Freight Invoice + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Freight Invoice + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Freight Invoice + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Freight Invoice + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Tax Total + The total amount of a specific type of tax. + 0..n + Freight Invoice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Freight Invoice. Withholding_ Tax Total. Tax Total + The total withholding tax. + 0..n + Freight Invoice + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Freight Invoice. Legal_ Monetary Total. Monetary Total + The total amount payable on the Freight Invoice, including Allowances, Charges, and Taxes. + 1 + Freight Invoice + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Freight Invoice. Invoice Line + An Invoice Line. + 1..n + Freight Invoice + Invoice Line + Invoice Line + Invoice Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-FulfilmentCancellation-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-FulfilmentCancellation-2.2.xsd new file mode 100644 index 0000000..c1ab4c0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-FulfilmentCancellation-2.2.xsd @@ -0,0 +1,472 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Fulfilment Cancellation. Details + A document used to cancel an entire fulfilment document (Despatch Advice or Receipt Advice). + Fulfilment Cancellation + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Fulfilment Cancellation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Fulfilment Cancellation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Fulfilment Cancellation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Fulfilment Cancellation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Fulfilment Cancellation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Fulfilment Cancellation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Fulfilment Cancellation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Fulfilment Cancellation + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Identifier + An identifier for this document, assigned by the sender. + 1 + Fulfilment Cancellation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Fulfilment Cancellation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Fulfilment Cancellation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Fulfilment Cancellation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Fulfilment Cancellation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Fulfilment Cancellation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Fulfilment Cancellation + Note + Text + Text. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Cancellation_ Note. Text + The reason for cancellation of the referenced document. + 1..n + Fulfilment Cancellation + Cancellation + Note + Text + Text. Type + + + + + + + + + ASBIE + Fulfilment Cancellation. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Fulfilment Cancellation + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Fulfilment Cancellation + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Order Reference + A reference to an Order document associated with the referenced Despatch or Receipt Advice(s). + 0..n + Fulfilment Cancellation + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Fulfilment Cancellation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Contract + The contracts or framework agreements with which the referenced fulfilment document is associated. + 0..n + Fulfilment Cancellation + Contract + Contract + Contract + + + + + + + + + ASBIE + Fulfilment Cancellation. Signature + A signature applied to this document. + 0..n + Fulfilment Cancellation + Signature + Signature + Signature + + + + + + + + + ASBIE + Fulfilment Cancellation. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Fulfilment Cancellation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Fulfilment Cancellation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Delivery_ Customer Party. Customer Party + The delivery party. + 0..1 + Fulfilment Cancellation + Delivery + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Despatch_ Supplier Party. Supplier Party + The despatch party. + 0..1 + Fulfilment Cancellation + Despatch + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Originator_ Customer Party. Customer Party + The originator party + 0..1 + Fulfilment Cancellation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-GoodsItemItinerary-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-GoodsItemItinerary-2.2.xsd new file mode 100644 index 0000000..18d9966 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-GoodsItemItinerary-2.2.xsd @@ -0,0 +1,432 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Goods Item Itinerary. Details + A document providing details relating to a transport service, such as transport movement, identification of equipment and goods, subcontracted service providers, etc. + Goods Item Itinerary + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Goods Item Itinerary. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Goods Item Itinerary + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Goods Item Itinerary + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Goods Item Itinerary + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Goods Item Itinerary + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Identifier + An identifier for this document, assigned by the sender. + 1 + Goods Item Itinerary + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Goods Item Itinerary + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Goods Item Itinerary. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Goods Item Itinerary + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Goods Item Itinerary + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Goods Item Itinerary. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Goods Item Itinerary + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Goods Item Itinerary. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Goods Item Itinerary + Note + Text + Text. Type + + + + + + + + + BBIE + Goods Item Itinerary. Version. Identifier + Identifies a version of a Goods Item Itinerary in order to distinguish updates. + 1 + Goods Item Itinerary + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Transport Execution Plan Reference. Identifier + The Transport Execution Plan associated with this Goods Item Itinerary. + 1 + Goods Item Itinerary + Transport Execution Plan Reference + Identifier + Identifier. Type + + + + + + + + + ASBIE + Goods Item Itinerary. Signature + A signature applied to this document. + 0..n + Goods Item Itinerary + Signature + Signature + Signature + + + + + + + + + ASBIE + Goods Item Itinerary. Sender_ Party. Party + The sender of this Goods Item Itinerary. + 0..1 + Goods Item Itinerary + Sender + Party + Party + Party + + + + + + + + + ASBIE + Goods Item Itinerary. Receiver_ Party. Party + The receiver of this Goods Item Itinerary. + 0..1 + Goods Item Itinerary + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Consignment. Consignment + A consignment being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Transport Equipment. Transport Equipment + Transport equipment being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Package. Package + A package being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Package + Package + Package + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Goods Item. Goods Item + An item of goods being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Goods Item Itinerary. Transportation Segment + A part of a transport service that has its own Transport Execution Plan. A Transportation Segment may cover services other than transport, such as terminal handling, document management, customs procedures, etc. + 1..n + Goods Item Itinerary + Transportation Segment + Transportation Segment + Transportation Segment + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-GuaranteeCertificate-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-GuaranteeCertificate-2.2.xsd new file mode 100644 index 0000000..3d27d6d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-GuaranteeCertificate-2.2.xsd @@ -0,0 +1,482 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Guarantee Certificate. Details + A document to notify the deposit of a bid bond guarantee. + Guarantee Certificate + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Guarantee Certificate. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Guarantee Certificate + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Guarantee Certificate. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Guarantee Certificate + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Guarantee Certificate. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Guarantee Certificate + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Guarantee Certificate. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Guarantee Certificate + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Guarantee Certificate. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Guarantee Certificate + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Guarantee Certificate. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Guarantee Certificate + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Guarantee Certificate. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Guarantee Certificate + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Guarantee Certificate. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Guarantee Certificate + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Guarantee Certificate. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Guarantee Certificate + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Guarantee Certificate. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Guarantee Certificate + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Guarantee Certificate. Guarantee Type Code. Code + A code signifying the type of the guarantee. + 0..1 + Guarantee Certificate + Guarantee Type Code + Code + Code. Type + + + + + + + + + BBIE + Guarantee Certificate. Purpose. Text + A textual description of the purpose of the bid bond guarantee. + 0..n + Guarantee Certificate + Purpose + Text + Text. Type + + + + + + + + + BBIE + Guarantee Certificate. Liability. Amount + The liability amount (a monetary value) in the bid bond guarantee. + 1 + Guarantee Certificate + Liability + Amount + Amount. Type + + + + + + + + + BBIE + Guarantee Certificate. Constitution Code. Code + The code stating the constitution means of the guarantee. + 0..1 + Guarantee Certificate + Constitution Code + Code + Code. Type + + + + + + + + + BBIE + Guarantee Certificate. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Guarantee Certificate + Note + Text + Text. Type + + + + + + + + + ASBIE + Guarantee Certificate. Applicable_ Period. Period + The specified period in the tendering process for which this bid bond guarantee is effective + 0..1 + Guarantee Certificate + Applicable + Period + Period + Period + + + + + + + + + ASBIE + Guarantee Certificate. Applicable_ Regulation. Regulation + A reference to an applicable regulation. + 0..n + Guarantee Certificate + Applicable + Regulation + Regulation + Regulation + + + + + + + + + ASBIE + Guarantee Certificate. Guarantee_ Document Reference. Document Reference + A reference to a legal document. + 0..n + Guarantee Certificate + Guarantee + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Guarantee Certificate. Immobilized Security + Details of an immobilized security. + 0..n + Guarantee Certificate + Immobilized Security + Immobilized Security + Immobilized Security + + + + + + + + + ASBIE + Guarantee Certificate. Signature + A signature applied to this document. + 0..n + Guarantee Certificate + Signature + Signature + Signature + + + + + + + + + ASBIE + Guarantee Certificate. Guarantor_ Party. Party + The guarantee creditor organization that has the authority to charge bid bond guarantee credit. + 1 + Guarantee Certificate + Guarantor + Party + Party + Party + + + + + + + + + ASBIE + Guarantee Certificate. Interested_ Party. Party + The party depositing the bid bond guarantee. + 1 + Guarantee Certificate + Interested + Party + Party + Party + + + + + + + + + ASBIE + Guarantee Certificate. Beneficiary_ Party. Party + The beneficiary of the bid bond guarantee. + 0..1 + Guarantee Certificate + Beneficiary + Party + Party + Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-InstructionForReturns-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-InstructionForReturns-2.2.xsd new file mode 100644 index 0000000..9ce3a48 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-InstructionForReturns-2.2.xsd @@ -0,0 +1,384 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Instruction For Returns. Details + A document used to initiate a return of goods. The producer is requesting the return of products that are not selling well, either to use in other places or to free up rack or shelf space. + Instruction For Returns + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Instruction For Returns. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Instruction For Returns + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Instruction For Returns. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Instruction For Returns + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Instruction For Returns. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Instruction For Returns + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Instruction For Returns. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Instruction For Returns + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Instruction For Returns. Identifier + An identifier for this document, assigned by the sender. + 1 + Instruction For Returns + Identifier + Identifier + Identifier. Type + Document Number, Instruction for Returns Number + + + + + + + + + BBIE + Instruction For Returns. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Instruction For Returns + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Instruction For Returns. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Instruction For Returns + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Instruction For Returns. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Instruction For Returns + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Instruction For Returns. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Instruction For Returns + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Instruction For Returns. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Instruction For Returns + Note + Text + Text. Type + + + + + + + + + ASBIE + Instruction For Returns. Document Reference + A reference to another document associated with this document. + 0..n + Instruction For Returns + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Instruction For Returns. Signature + A signature applied to this document. + 0..n + Instruction For Returns + Signature + Signature + Signature + + + + + + + + + ASBIE + Instruction For Returns. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Instruction For Returns + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Instruction For Returns. Retailer_ Customer Party. Customer Party + The retailer. + 1 + Instruction For Returns + Retailer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Instruction For Returns. Manufacturer_ Party. Party + The manufacturer. + 0..1 + Instruction For Returns + Manufacturer + Party + Party + Party + + + + + + + + + ASBIE + Instruction For Returns. Shipment + The shipment. + 0..1 + Instruction For Returns + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Instruction For Returns. Instruction For Returns Line + A line providing details about one type of article to be returned. + 1..n + Instruction For Returns + Instruction For Returns Line + Instruction For Returns Line + Instruction For Returns Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-InventoryReport-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-InventoryReport-2.2.xsd new file mode 100644 index 0000000..788a932 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-InventoryReport-2.2.xsd @@ -0,0 +1,402 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Inventory Report. Details + A report on the quantities of each item that are, or will be, in stock. This document is sent by a Buyer (for example a retailer) to a Seller (for example a producer). + Inventory Report + Storage status report. + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Inventory Report. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Inventory Report + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Inventory Report. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Inventory Report + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Inventory Report. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Inventory Report + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Inventory Report. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Inventory Report + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Inventory Report. Identifier + An identifier for the Inventory Report, assigned by the Issuer. + 1 + Inventory Report + Identifier + Identifier + Identifier. Type + Document Number, Inventory Report Number + + + + + + + + + BBIE + Inventory Report. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Inventory Report + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Inventory Report. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Inventory Report + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Inventory Report. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Inventory Report + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Inventory Report. Issue Time. Time + The time at which the Inventory Report was issued. + 0..1 + Inventory Report + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Inventory Report. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Inventory Report + Note + Text + Text. Type + + + + + + + + + BBIE + Inventory Report. Document_ Currency Code. Code + A code signifying the currency in which the Document is presented. This may be the same currency as the pricing or as the tax. + 0..1 + Inventory Report + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Inventory Report. Inventory_ Period. Period + The period covered by this report. + 0..1 + Inventory Report + Inventory + Period + Period + Period + + + + + + + + + ASBIE + Inventory Report. Document Reference + A reference to another document associated with this document. + 0..n + Inventory Report + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Inventory Report. Signature + A signature applied to this document. + 0..n + Inventory Report + Signature + Signature + Signature + + + + + + + + + ASBIE + Inventory Report. Retailer_ Customer Party. Customer Party + The retailer, who sends this message. + 1 + Inventory Report + Retailer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Inventory Report. Inventory Reporting_ Party. Party + An association to the Party that will really use the Inventory report (normally the branch for which the stock is reported). + 1 + Inventory Report + Inventory Reporting + Party + Party + Party + + + + + + + + + ASBIE + Inventory Report. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Inventory Report + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Inventory Report. Inventory Report Line + A line representing a particular item of sale and associated with a line in the Catalogue. + 1..n + Inventory Report + Inventory Report Line + Inventory Report Line + Inventory Report Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Invoice-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Invoice-2.2.xsd new file mode 100644 index 0000000..bcbec8a --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Invoice-2.2.xsd @@ -0,0 +1,1003 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Invoice. Details + A document used to request payment. + Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Invoice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Invoice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Invoice + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Invoice. Identifier + An identifier for this document, assigned by the sender. + 1 + Invoice + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Invoice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Invoice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Invoice + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Invoice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Invoice. Due Date. Date + The date on which Invoice is due. + 0..1 + Invoice + Due Date + Date + Date. Type + + + + + + + + + BBIE + Invoice. Invoice Type Code. Code + A code signifying the type of the Invoice. + 0..1 + Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Invoice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Invoice. Tax Point Date. Date + The date of the Invoice, used to indicate the point at which tax becomes applicable. + 0..1 + Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Invoice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Invoice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Invoice. + 0..1 + Invoice + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Invoice. + 0..1 + Invoice + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Invoice. + 0..1 + Invoice + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Invoice. + 0..1 + Invoice + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Accounting Cost Code. Code + The buyer's accounting code, applied to the Invoice as a whole. + 0..1 + Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Invoice. Accounting Cost. Text + The buyer's accounting code, applied to the Invoice as a whole, expressed as text. + 0..1 + Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Invoice. Line Count. Numeric + The number of lines in the document. + 0..1 + Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Invoice. Buyer_ Reference. Text + A reference provided by the buyer used for internal routing of the document. + 0..1 + Invoice + Buyer + Reference + Text + Text. Type + + + + + + + + + ASBIE + Invoice. Invoice_ Period. Period + A period to which the Invoice applies. + 0..n + Invoice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Invoice. Order Reference + A reference to the Order with which this Invoice is associated. + 0..1 + Invoice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Invoice. Billing Reference + A reference to a billing document associated with this document. + 0..n + Invoice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Invoice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Invoice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Invoice + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Invoice + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Invoice + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Invoice + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Invoice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Project Reference + Information about a project. + 0..n + Invoice + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Invoice. Signature + A signature applied to this document. + 0..n + Invoice + Signature + Signature + Signature + + + + + + + + + ASBIE + Invoice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Invoice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Invoice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Invoice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Invoice. Payee_ Party. Party + The payee. + 0..1 + Invoice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Invoice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Invoice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Invoice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Invoice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Invoice. Tax Representative_ Party. Party + The tax representative. + 0..1 + Invoice + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Invoice. Delivery + A delivery associated with this document. + 0..n + Invoice + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Invoice. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Invoice + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Invoice. Payment Means + Expected means of payment. + 0..n + Invoice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Invoice. Payment Terms + A set of payment terms associated with this document. + 0..n + Invoice + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Invoice. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Invoice + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Invoice. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Invoice + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Invoice. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Invoice + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Invoice + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Invoice + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Invoice + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Tax Total + The total amount of a specific type of tax. + 0..n + Invoice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice. Withholding_ Tax Total. Tax Total + The total withholding tax. + 0..n + Invoice + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice. Legal_ Monetary Total. Monetary Total + The total amount payable on the Invoice, including Allowances, Charges, and Taxes. + 1 + Invoice + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Invoice. Invoice Line + A line describing an invoice item. + 1..n + Invoice + Invoice Line + Invoice Line + Invoice Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ItemInformationRequest-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ItemInformationRequest-2.2.xsd new file mode 100644 index 0000000..765ccb8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ItemInformationRequest-2.2.xsd @@ -0,0 +1,403 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Item Information Request. Details + A document used to request product activity, forecast, or performance data. + Item Information Request + Item Information Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Item Information Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Item Information Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Item Information Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Item Information Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Item Information Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Item Information Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Item Information Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Item Information Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Item Information Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Item Information Request + Identifier + Identifier + Identifier. Type + Item Information Request Number + + + + + + + + + BBIE + Item Information Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Item Information Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Item Information Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Item Information Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Information Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Item Information Request + Issue Date + Date + Date. Type + Item Information Request Date + + + + + + + + + BBIE + Item Information Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Item Information Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Item Information Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Item Information Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Item Information Request. Period + The period of time to which the Item Information Request applies. + 1 + Item Information Request + Period + Period + Period + + + + + + + + + ASBIE + Item Information Request. Document Reference + A reference to another document associated with this document. + 0..n + Item Information Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Item Information Request. Signature + A signature applied to this document. + 0..n + Item Information Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Item Information Request. Sender_ Party. Party + The buyer. + 1 + Item Information Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Item Information Request. Receiver_ Party. Party + The seller. + 1 + Item Information Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Item Information Request. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Item Information Request + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Item Information Request. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Item Information Request + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Item Information Request. Item Information Request Line + A line requesting information regarding an item of sale. + 1..n + Item Information Request + Item Information Request Line + Item Information Request Line + Item Information Request Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Order-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Order-2.2.xsd new file mode 100644 index 0000000..e7ff1fc --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Order-2.2.xsd @@ -0,0 +1,892 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order. Details + A document used to order goods and services. + Order + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Order. Identifier + An identifier for this document, assigned by the sender. + 1 + Order + Identifier + Identifier + Identifier. Type + Purchase Order Number, Order Number + + + + + + + + + BBIE + Order. Sales_ Order Identifier. Identifier + An identifier for the Order, assigned by the seller. + 0..1 + Order + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order + Issue Date + Date + Date. Type + Order Date + + + + + + + + + BBIE + Order. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order. Order Type Code. Code + A code signifying the type of Order. + 0..1 + Order + Order Type Code + Code + Code. Type + + + + + + + + + BBIE + Order. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order + Note + Text + Text. Type + + + + + + + + + BBIE + Order. Requested Invoice_ Currency Code. Code + A code signifying the currency requested for amount totals in Invoices related to this Order. + 0..1 + Order + Requested Invoice + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Order + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Pricing_ Currency Code. Code + A code signifying the currency used for all prices in the Order. + 0..1 + Order + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Tax_ Currency Code. Code + A code signifying the currency requested for tax amounts in Invoices related to this Order. + 0..1 + Order + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Customer_ Reference. Text + A supplementary reference for the Order. + 0..1 + Order + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order. Accounting Cost Code. Code + The buyer's accounting code, applied to the Order as a whole. + 0..1 + Order + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order. Accounting Cost. Text + The buyer's accounting cost centre, applied to the Order as a whole, expressed as text. + 0..1 + Order + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order. Line Count. Numeric + The number of Order Lines in the document. + 0..1 + Order + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order. Validity_ Period. Period + The period for which the Order is valid. + 0..n + Order + Validity + Period + Period + Period + + + + + + + + + ASBIE + Order. Quotation_ Document Reference. Document Reference + A reference to a Quotation. + 0..1 + Order + Quotation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Order_ Document Reference. Document Reference + A reference to another Order. + 0..n + Order + Order + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Catalogue Reference + A reference to the Catalogue on which this Order is based. + 0..1 + Order + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Order. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Contract + A contracts associated with this Order. + 0..n + Order + Contract + Contract + Contract + + + + + + + + + ASBIE + Order. Project Reference + A project with which this Order is associated. + 0..n + Order + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Order. Signature + A signature applied to this document. + 0..n + Order + Signature + Signature + Signature + + + + + + + + + ASBIE + Order. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Freight Forwarder_ Party. Party + A freight forwarder or carrier. + 0..1 + Order + Freight Forwarder + Party + Party + Party + Carrier + + + + + + + + + ASBIE + Order. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Delivery + A delivery associated with this document. + 0..n + Order + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Order. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Order + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order. Payment Means + Expected means of payment. + 0..n + Order + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Order. Payment Terms + A set of payment terms associated with this document. + 0..n + Order + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Order. Transaction Conditions + A specification of purchasing or sales conditions applying to the whole Order. + 0..1 + Order + Transaction Conditions + Transaction Conditions + Transaction Conditions + Sales condition, procurement condition + + + + + + + + + ASBIE + Order. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Order + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Order + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Order + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Order + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order. Destination_ Country. Country + The country of destination (for customs purposes). + 0..1 + Order + Destination + Country + Country + Country + + + + + + + + + ASBIE + Order. Tax Total + The total amount of a specific type of tax. + 0..n + Order + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Order. Anticipated_ Monetary Total. Monetary Total + The total amount for the Order anticipated by the buyer. + 0..1 + Order + Anticipated + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order. Order Line + A line associated with a line in the Catalogue and specifying a kind of item being ordered. + 1..n + Order + Order Line + Order Line + Order Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderCancellation-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderCancellation-2.2.xsd new file mode 100644 index 0000000..953e630 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderCancellation-2.2.xsd @@ -0,0 +1,417 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Cancellation. Details + A document used to cancel an entire Order. + Order Cancellation + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Cancellation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Cancellation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Cancellation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Cancellation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Cancellation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Cancellation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Cancellation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Cancellation + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Identifier + An identifier for this document, assigned by the sender. + 1 + Order Cancellation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Cancellation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Cancellation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Cancellation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Cancellation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Cancellation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Cancellation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Cancellation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Cancellation + Note + Text + Text. Type + + + + + + + + + BBIE + Order Cancellation. Cancellation_ Note. Text + The general reason for cancellation of the referenced order. + 1..n + Order Cancellation + Cancellation + Note + Text + Text. Type + + + + + + + + + ASBIE + Order Cancellation. Order Reference + A reference to the Order being cancelled. While multiple references are allowed, it is considered better practice to cancel only one Order in each Order Cancellation document. + 1..n + Order Cancellation + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Cancellation. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order Cancellation + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Cancellation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Cancellation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Cancellation. Contract + A contract associated with the original Order(s). + 0..n + Order Cancellation + Contract + Contract + Contract + + + + + + + + + ASBIE + Order Cancellation. Signature + A signature applied to this document. + 0..n + Order Cancellation + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Cancellation. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Cancellation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Cancellation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Cancellation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Cancellation. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Cancellation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderChange-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderChange-2.2.xsd new file mode 100644 index 0000000..d986dfb --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderChange-2.2.xsd @@ -0,0 +1,870 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Change. Details + A document used to specify changes to an existing Order. + Order Change + Purchase Order Change + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Change. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Change + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Change. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Change + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Change. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Change + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Change. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Change + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Order Change. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Order Change + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Sales_ Order Identifier. Identifier + An identifier for the Order Change, assigned by the seller. + 0..1 + Order Change + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Change + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Change. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Change + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Change + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Change. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Change + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Change. Sequence Number. Identifier + The Order Change Sequence Number assigned by the Buyer to ensure the proper sequencing of changes. + 1 + Order Change + Sequence Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Change + Note + Text + Text. Type + + + + + + + + + BBIE + Order Change. Requested Invoice_ Currency Code. Code + A code signifying he currency requested for amount totals in Invoices related to this Order Change. + 0..1 + Order Change + Requested Invoice + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Order Change + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Pricing_ Currency Code. Code + A code signifying the currency that is used for all prices in the Order Change. + 0..1 + Order Change + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Tax_ Currency Code. Code + A code signifying the currency requested for tax amounts in Invoices related to this Order Change. + 0..1 + Order Change + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Customer_ Reference. Text + A supplementary reference for the transaction (e.g., CRI when using purchasing card). + 0..1 + Order Change + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Change. Accounting Cost Code. Code + The buyer's accounting code, applied to the Order Change as a whole. + 0..1 + Order Change + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Change. Accounting Cost. Text + The buyer's accounting code, applied to the Order Change as a whole, expressed as text. + 0..1 + Order Change + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order Change. Line Count. Numeric + The number of Order Change lines in the document. + 0..1 + Order Change + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order Change. Validity_ Period. Period + A period during which the Order Change is valid. + 0..n + Order Change + Validity + Period + Period + Period + + + + + + + + + ASBIE + Order Change. Order Reference + A reference to the Order being changed. + 1 + Order Change + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Change. Quotation_ Document Reference. Document Reference + A reference to a Quotation. + 0..1 + Order Change + Quotation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order Change + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Change + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Contract + A contract associated with the Order being changed. + 0..n + Order Change + Contract + Contract + Contract + + + + + + + + + ASBIE + Order Change. Signature + A signature applied to this document. + 0..n + Order Change + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Change. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Change + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Change + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Change. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Change + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Freight Forwarder_ Party. Party + A freight forwarder or carrier. + 0..1 + Order Change + Freight Forwarder + Party + Party + Party + + + + + + + + + ASBIE + Order Change. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order Change + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 0..1 + Order Change + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Change. Delivery + A delivery associated with this document. + 0..n + Order Change + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Order Change. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Order Change + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order Change. Payment Means + Expected means of payment. + 0..n + Order Change + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Order Change. Payment Terms + A set of payment terms associated with this document. + 0..n + Order Change + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Order Change. Transaction Conditions + Purchasing, sales, or payment conditions applying to the whole Order being changed. + 0..1 + Order Change + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Order Change. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Order Change + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order Change. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Order Change + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Change. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Order Change + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Change. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Order Change + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Change. Destination_ Country. Country + The country of destination (for customs purposes). + 0..1 + Order Change + Destination + Country + Country + Country + + + + + + + + + ASBIE + Order Change. Tax Total + The total amount of a specific type of tax. + 0..n + Order Change + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Order Change. Anticipated_ Monetary Total. Monetary Total + The amount of change to the total cost of the order anticipated by the buyer. + 0..1 + Order Change + Anticipated + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order Change. Order Line + An association to one or more (changed) Order Lines. + 1..n + Order Change + Order Line + Order Line + Order Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderResponse-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderResponse-2.2.xsd new file mode 100644 index 0000000..00709f3 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderResponse-2.2.xsd @@ -0,0 +1,976 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Response. Details + A document used to indicate detailed acceptance or rejection of an Order or to make a counter-offer. + Order Response + Order Acknowledgement, PO Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL. + 0..1 + Order Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Order Response. Identifier + An identifier for this document, assigned by the sender. + 1 + Order Response + Identifier + Identifier + Identifier. Type + Purchase Order Response Number, Acknowledgement of Order Number + + + + + + + + + BBIE + Order Response. Sales_ Order Identifier. Identifier + An identifier for the Order, issued by the Seller. + 0..1 + Order Response + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Response. Order Response Code. Code + A code signifying the type of response for this Order. + 0..1 + Order Response + Order Response Code + Code + Code. Type + + + + + + + + + BBIE + Order Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Response + Note + Text + Text. Type + + + + + + + + + BBIE + Order Response. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Order Response + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Pricing_ Currency Code. Code + A code signifying the currency that is used for all prices in the Order Response. + 0..1 + Order Response + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Tax_ Currency Code. Code + A code signifying the currency that is used for all tax amounts in the Order Response. + 0..1 + Order Response + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Total_ Packages Quantity. Quantity + The total number of packages contained in the Order Response. + 0..1 + Order Response + Total + Packages Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Order Response. Gross_ Weight. Measure + The total gross weight for the Order Response (goods + packaging + transport equipment). + 0..1 + Order Response + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net_ Weight. Measure + The total net weight for the Order Response (goods + packaging). + 0..1 + Order Response + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net Net_ Weight. Measure + The total net weight of the goods in the Order Response excluding packaging. + 0..1 + Order Response + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Gross_ Volume. Measure + The total volume of the goods in the Order Response including packaging. + 0..1 + Order Response + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net_ Volume. Measure + The total volume of the goods in the Order Response excluding packaging. + 0..1 + Order Response + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Customer_ Reference. Text + A supplementary reference assigned by the buyer, e.g., the CRI in a purchasing card transaction. + 0..1 + Order Response + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Response. Accounting Cost Code. Code + An accounting cost code applied to the order as a whole. + 0..1 + Order Response + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Response. Accounting Cost. Text + An accounting cost code applied to the order as a whole, expressed as text. + 0..1 + Order Response + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order Response. Line Count. Numeric + The number of Order Lines in this document. + 0..1 + Order Response + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order Response. Validity_ Period. Period + The period for which the Order Response is valid. + 0..n + Order Response + Validity + Period + Period + Period + + + + + + + + + ASBIE + Order Response. Order Reference + A reference to the Order being responded to. + 1..n + Order Response + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Response. Order_ Document Reference. Document Reference + A reference to an Order other than the one being responded to. + 0..n + Order Response + Order + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Order Change_ Document Reference. Document Reference + A reference to an Order Change being responded to. + 0..n + Order Response + Order Change + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order Response + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Response + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Contract + A contract associated with the Order being responded to. + 0..n + Order Response + Contract + Contract + Contract + + + + + + + + + ASBIE + Order Response. Signature + A signature applied to this document. + 0..n + Order Response + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Response. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Response + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Response + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Response + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Freight Forwarder_ Party. Party + A freight forwarder or carrier. + 0..1 + Order Response + Freight Forwarder + Party + Party + Party + + + + + + + + + ASBIE + Order Response. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 0..1 + Order Response + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order Response + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Delivery + A delivery associated with this document. + 0..n + Order Response + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Order Response. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Order Response + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order Response. Payment Means + Expected means of payment. + 0..n + Order Response + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Order Response. Payment Terms + A set of payment terms associated with this document. + 0..n + Order Response + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Order Response. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Order Response + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order Response. Transaction Conditions + A specification of purchasing or sales conditions applying to the whole Order. + 0..1 + Order Response + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Order Response. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Order Response + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Response. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Order Response + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Response. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Order Response + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Response. Destination_ Country. Country + The country of destination (for customs purposes). + 0..1 + Order Response + Destination + Country + Country + Country + + + + + + + + + ASBIE + Order Response. Tax Total + The total amount of a specific type of tax, as calculated by the seller. + 0..n + Order Response + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Order Response. Legal_ Monetary Total. Monetary Total + The total amount of the Order (or counter-offer). + 0..1 + Order Response + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order Response. Order Line + A line associated with a line in the Catalogue and specifying a kind of item being ordered. + 0..n + Order Response + Order Line + Order Line + Order Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderResponseSimple-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderResponseSimple-2.2.xsd new file mode 100644 index 0000000..2a30835 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderResponseSimple-2.2.xsd @@ -0,0 +1,506 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Response Simple. Details + A document used to indicate simple acceptance or rejection of an entire Order. + Order Response Simple + Order Acknowledgement, PO Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Response Simple. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Response Simple + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Response Simple. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Response Simple + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Response Simple. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Response Simple + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Response Simple. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Response Simple + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response Simple. Identifier + An identifier for this document, assigned by the sender. + 1 + Order Response Simple + Identifier + Identifier + Identifier. Type + Purchase Order Response Number, Acknowledgement of Order Number + + + + + + + + + BBIE + Order Response Simple. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Response Simple + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response Simple. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Response Simple + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response Simple. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Response Simple + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Response Simple. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Response Simple + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Response Simple. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Response Simple + Note + Text + Text. Type + + + + + + + + + BBIE + Order Response Simple. Accepted_ Indicator. Indicator + Indicates whether the Order is accepted (true) or rejected (false). + 1 + Order Response Simple + Accepted + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response Simple. Rejection_ Note. Text + The reason for rejection if the order was not accepted. + 0..n + Order Response Simple + Rejection + Note + Text + Text. Type + Out of Stock , Not able to supply , Unable to fulfill within the contracted conditions , Buyer Account not Recognised + + + + + + + + + BBIE + Order Response Simple. Customer_ Reference. Text + A supplementary reference for the transaction (e.g., when using a purchasing card). + 0..1 + Order Response Simple + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Response Simple. Accounting Cost Code. Code + An accounting cost code applied to the order as a whole. + 0..1 + Order Response Simple + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Response Simple. Accounting Cost. Text + An accounting cost code applied to the order as a whole, expressed as text. + 0..1 + Order Response Simple + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Order Response Simple. Order Reference + A reference to the Order being responded to. + 1 + Order Response Simple + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Response Simple. Order Change_ Document Reference. Document Reference + A reference to an Order Change being responded to. + 0..n + Order Response Simple + Order Change + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response Simple. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Response Simple + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response Simple. Signature + A signature applied to this document. + 0..n + Order Response Simple + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Response Simple. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Response Simple + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response Simple. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Response Simple + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response Simple. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Response Simple + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response Simple. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 0..1 + Order Response Simple + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response Simple. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order Response Simple + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-PackingList-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-PackingList-2.2.xsd new file mode 100644 index 0000000..b880d75 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-PackingList-2.2.xsd @@ -0,0 +1,433 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Packing List. Details + A document describing how goods are packed. + Packing List + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Packing List. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Packing List + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Packing List. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Packing List + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Packing List. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Packing List + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Packing List. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Packing List + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Packing List. Identifier + An identifier for this document, assigned by the sender. + 1 + Packing List + Identifier + Identifier + Identifier. Type + Packing List Number + + + + + + + + + BBIE + Packing List. UUID. Identifier + A universally unique identifier for an instance of this document.. + 0..1 + Packing List + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Packing List. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Packing List + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Packing List. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Packing List + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Packing List. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Packing List + Name + Name + Name. Type + + + + + + + + + BBIE + Packing List. Description. Text + Textual description of the document instance. + 0..n + Packing List + Description + Text + Text. Type + + + + + + + + + BBIE + Packing List. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Packing List + Note + Text + Text. Type + + + + + + + + + BBIE + Packing List. Version. Identifier + Version identifier of a Packing List. + 0..1 + Packing List + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Packing List. Other_ Instruction. Text + Contains other free-text-based instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..1 + Packing List + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Packing List. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Packing List + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Packing List. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Packing List + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Packing List. Freight Forwarder_ Party. Party + The party combining individual smaller shipments into a single larger consignment (a so-called consolidated consignment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Packing List + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Packing List. Shipment + A description of the shipment. + 1 + Packing List + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Packing List. Document Reference + A reference to another document associated with this document. + 0..n + Packing List + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Packing List. Document Distribution + A list of interested parties to whom this document is distributed. + 0..n + Packing List + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Packing List. Signature + A signature applied to this document. + 0..n + Packing List + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-PriorInformationNotice-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-PriorInformationNotice-2.2.xsd new file mode 100644 index 0000000..a9d2595 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-PriorInformationNotice-2.2.xsd @@ -0,0 +1,476 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Prior Information Notice. Details + A document used by a contracting party to declare the intention to buy goods, services, or works during a specified period. + Prior Information Notice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Prior Information Notice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Prior Information Notice + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Prior Information Notice + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Prior Information Notice + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Prior Information Notice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Prior Information Notice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Prior Information Notice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Prior Information Notice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Prior Information Notice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Prior Information Notice + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Prior Information Notice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Prior Information Notice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Prior Information Notice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Prior Information Notice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Prior Information Notice + Note + Text + Text. Type + + + + + + + + + BBIE + Prior Information Notice. Planned Date. Date + The date planned by the Contracting Party for publication of the contract notice. + 0..1 + Prior Information Notice + Planned Date + Date + Date. Type + + + + + + + + + BBIE + Prior Information Notice. Notice Type Code. Code + The type of notice (PIN, Qualification, Reduce time...) + 0..1 + Prior Information Notice + Notice Type Code + Code + Code. Type + + + + + + + + + BBIE + Prior Information Notice. Notice_ Language Code. Code + The language used for this prior information notice. + 0..1 + Prior Information Notice + Notice + Language Code + Code + Language + Language_ Code. Type + + + + + + + + + ASBIE + Prior Information Notice. Document Reference + A reference to another document associated with this document. + 0..n + Prior Information Notice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Prior Information Notice. Signature + A signature applied to this document. + 0..n + Prior Information Notice + Signature + Signature + Signature + + + + + + + + + ASBIE + Prior Information Notice. Contracting Party + The contracting party or parties in case of joint procurement. + 1..n + Prior Information Notice + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Prior Information Notice. Originator_ Customer Party. Customer Party + A party who originated the tendering process. + 0..n + Prior Information Notice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Prior Information Notice. Receiver_ Party. Party + The party receiving this document. + 0..1 + Prior Information Notice + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Prior Information Notice. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Prior Information Notice + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Prior Information Notice. Tendering Process + A description of the tendering process itself. + 0..1 + Prior Information Notice + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Prior Information Notice. Procurement Project + An overall definition of this procurement project. + 0..1 + Prior Information Notice + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Prior Information Notice. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Prior Information Notice + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ProductActivity-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ProductActivity-2.2.xsd new file mode 100644 index 0000000..f1a929c --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ProductActivity-2.2.xsd @@ -0,0 +1,388 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Product Activity. Details + A document reporting the movement of goods at specified retail locations for inventory tracking purposes. + Product Activity + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Product Activity. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Product Activity + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Product Activity. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Product Activity + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Product Activity. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Product Activity + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Product Activity. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Product Activity + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Product Activity. Identifier + An identifier for this document, assigned by the sender. + 1 + Product Activity + Identifier + Identifier + Identifier. Type + Product Acvtivity Number + + + + + + + + + BBIE + Product Activity. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Product Activity + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Product Activity. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Product Activity + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Product Activity. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Product Activity + Issue Date + Date + Date. Type + Activity Date + + + + + + + + + BBIE + Product Activity. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Product Activity + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Product Activity. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Product Activity + Note + Text + Text. Type + + + + + + + + + BBIE + Product Activity. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Product Activity + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Product Activity. Activity_ Period. Period + The period covered by this Product Activity report. + 1 + Product Activity + Activity + Period + Period + Period + + + + + + + + + ASBIE + Product Activity. Document Reference + A reference to another document associated with this document. + 0..n + Product Activity + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Product Activity. Signature + A signature applied to this document. + 0..n + Product Activity + Signature + Signature + Signature + + + + + + + + + ASBIE + Product Activity. Sender_ Party. Party + The sender of the Product Activity. + 1 + Product Activity + Sender + Party + Party + Party + + + + + + + + + ASBIE + Product Activity. Receiver_ Party. Party + The receiver of the Product Activity. + 1 + Product Activity + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Product Activity. Supply Chain_ Activity Data Line. Activity Data Line + A line describing the movement of goods to a specific location. + 1..n + Product Activity + Supply Chain + Activity Data Line + Activity Data Line + Activity Data Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-QualificationApplicationRequest-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-QualificationApplicationRequest-2.2.xsd new file mode 100644 index 0000000..83d13bb --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-QualificationApplicationRequest-2.2.xsd @@ -0,0 +1,520 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Qualification Application Request. Details + A document issued by a procurement organization to notify an economic operator whether it has been admitted to or excluded from the tendering process. + Qualification Application Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Qualification Application Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Qualification Application Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Qualification Application Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Qualification Application Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Qualification Application Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Qualification Application Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Qualification Application Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Qualification Application Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Qualification Application Request. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Qualification Application Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualification Application Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Qualification Application Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Qualification Application Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Qualification Application Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualification Application Request. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Qualification Application Request + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualification Application Request. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Qualification Application Request + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Qualification Application Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Qualification Application Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Qualification Application Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Qualification Application Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Qualification Application Request. Version. Identifier + Indicates the current version of the Qualification Application Request. + 0..1 + Qualification Application Request + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Qualification Application Request. Previous_ Version. Identifier + Identifies the previous version of the Qualification Application Request which is superceded by this version. + 0..1 + Qualification Application Request + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + BBIE + Qualification Application Request. Procedure Code. Code + A code signifying the type of this tendering procedure. + 0..1 + Qualification Application Request + Procedure Code + Code + Code. Type + Open, Restricted, Negotiated + + + + + + + + + BBIE + Qualification Application Request. Qualification Application Type Code. Code + A code specifying the type of the Qualification Application. + 0..1 + Qualification Application Request + Qualification Application Type Code + Code + Code. Type + "Regulated", "Self-contained" + + + + + + + + + BBIE + Qualification Application Request. Weight Scoring Methodology Note. Text + Free-form text to describing information about Weight Scoring Methodology. + 0..n + Qualification Application Request + Weight Scoring Methodology Note + Text + Text. Type + + + + + + + + + BBIE + Qualification Application Request. Weighting Type Code. Code + A code specifying the type of the Weighting. + 0..1 + Qualification Application Request + Weighting Type Code + Code + Code. Type + "Regulated", "Self-contained" + + + + + + + + + BBIE + Qualification Application Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Qualification Application Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Qualification Application Request. Contracting Party + The contracting party. + 1..n + Qualification Application Request + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Qualification Application Request. Economic Operator Party + The Economic Operator receiving the Qualification Application Resquest. + 0..n + Qualification Application Request + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Qualification Application Request. Procurement Project + An overall definition of this procurement project. + 0..1 + Qualification Application Request + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Qualification Application Request. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Qualification Application Request + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Qualification Application Request. Tendering Criterion + A criterion supporting Tenderer qualifications. + 0..n + Qualification Application Request + Tendering Criterion + Tendering Criterion + Tendering Criterion + + + + + + + + + ASBIE + Qualification Application Request. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Qualification Application Request + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Qualification Application Request. Signature + A signature applied to this document. + 0..n + Qualification Application Request + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-QualificationApplicationResponse-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-QualificationApplicationResponse-2.2.xsd new file mode 100644 index 0000000..3795a1b --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-QualificationApplicationResponse-2.2.xsd @@ -0,0 +1,570 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Qualification Application Response. Details + A document issued by a procurement organization to notify an economic operator whether it has been admitted to or excluded from the tendering process. + Qualification Application Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Qualification Application Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Qualification Application Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Qualification Application Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Qualification Application Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Qualification Application Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Qualification Application Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Qualification Application Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Qualification Application Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Qualification Application Response. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Qualification Application Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualification Application Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Qualification Application Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Qualification Application Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Qualification Application Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualification Application Response. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Qualification Application Response + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualification Application Response. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Qualification Application Response + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Qualification Application Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Qualification Application Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Qualification Application Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Qualification Application Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Qualification Application Response. Economic Operator Group Name. Name + Economic Operator Group Name associated with this Qualification. + 0..1 + Qualification Application Response + Economic Operator Group Name + Name + Name. Type + + + + + + + + + BBIE + Qualification Application Response. Version. Identifier + Indicates the current version of the Qualification Application Response. + 0..1 + Qualification Application Response + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Qualification Application Response. Previous_ Version. Identifier + Identifies the previous version of the Qualification Application Response which is superceded by this version. + 0..1 + Qualification Application Response + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + BBIE + Qualification Application Response. Procedure Code. Code + A code signifying the type of this tendering procedure. + 0..1 + Qualification Application Response + Procedure Code + Code + Code. Type + Open, Restricted, Negotiated + + + + + + + + + BBIE + Qualification Application Response. Qualification Application Type Code. Code + A code specifying the type of the Qualification Application. + 0..1 + Qualification Application Response + Qualification Application Type Code + Code + Code. Type + "Regulated", "Self-contained" + + + + + + + + + BBIE + Qualification Application Response. Weight Scoring Methodology Note. Text + Free-form text to describe Weight Scoring Methodology. + 0..n + Qualification Application Response + Weight Scoring Methodology Note + Text + Text. Type + + + + + + + + + BBIE + Qualification Application Response. Weighting Type Code. Code + A code specifying the Weighting type + 0..1 + Qualification Application Response + Weighting Type Code + Code + Code. Type + "Regulated", "Self-contained" + + + + + + + + + BBIE + Qualification Application Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Qualification Application Response + Note + Text + Text. Type + + + + + + + + + ASBIE + Qualification Application Response. Contracting Party + The contracting party. + 1..n + Qualification Application Response + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Qualification Application Response. Economic Operator Party + The Economic Operator issuing the Qualification Application Response. + 1..n + Qualification Application Response + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Qualification Application Response. Procurement Project + An overall definition of this procurement project. + 0..1 + Qualification Application Response + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Qualification Application Response. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Qualification Application Response + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Qualification Application Response. Tendering Criterion + The criterion as described in the Qualification Application Request. + 0..n + Qualification Application Response + Tendering Criterion + Tendering Criterion + Tendering Criterion + + + + + + + + + ASBIE + Qualification Application Response. Tendering Criterion Response + Each criterion requirement response. + 1..n + Qualification Application Response + Tendering Criterion Response + Tendering Criterion Response + Tendering Criterion Response + + + + + + + + + ASBIE + Qualification Application Response. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Qualification Application Response + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Qualification Application Response. Evidence + The evidence supporting this criterion requirement response. + 0..n + Qualification Application Response + Evidence + Evidence + Evidence + + + + + + + + + ASBIE + Qualification Application Response. Signature + A signature applied to this document. + 0..n + Qualification Application Response + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Quotation-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Quotation-2.2.xsd new file mode 100644 index 0000000..45b122e --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Quotation-2.2.xsd @@ -0,0 +1,584 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Quotation. Details + A document used to quote for the provision of goods and services. + Quotation + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Quotation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Quotation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Quotation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Quotation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Quotation. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Quotation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Quotation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Quotation + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Quotation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Quotation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Quotation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Quotation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Quotation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Quotation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Quotation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Quotation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Quotation + Note + Text + Text. Type + + + + + + + + + BBIE + Quotation. Pricing_ Currency Code. Code + A code signifying the currency used for all prices in the Quotation. + 0..1 + Quotation + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Quotation. Line Count. Numeric + The number of Quotation Lines in this document. + 0..1 + Quotation + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Quotation. Validity_ Period. Period + The period for which the Quotation is valid. + 0..1 + Quotation + Validity + Period + Period + Period + + + + + + + + + ASBIE + Quotation. Request For Quotation_ Document Reference. Document Reference + A reference to the Request for Quotation associated with this Quotation. + 0..1 + Quotation + Request For Quotation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Quotation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation. Contract + A contract associated with this Quotation. + 0..n + Quotation + Contract + Contract + Contract + + + + + + + + + ASBIE + Quotation. Signature + A signature applied to this document. + 0..n + Quotation + Signature + Signature + Signature + + + + + + + + + ASBIE + Quotation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Quotation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Quotation. Buyer_ Customer Party. Customer Party + Association to the Buyer. + 0..1 + Quotation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Quotation. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Quotation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Quotation. Delivery + A delivery associated with this document. + 0..n + Quotation + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Quotation. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Quotation + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Quotation. Payment Means + Expected means of payment. + 0..1 + Quotation + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Quotation. Transaction Conditions + A specification of purchasing, sales, or payment conditions applying to Orders related to this Quotation. + 0..1 + Quotation + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Quotation. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Quotation + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Quotation. Destination_ Country. Country + The country of destination of potential orders (for customs purposes). + 0..1 + Quotation + Destination + Country + Country + Country + + + + + + + + + ASBIE + Quotation. Tax Total + The total amount of a specific type of tax. + 0..n + Quotation + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Quotation. Quoted_ Monetary Total. Monetary Total + The total amount of the Quotation. + 1 + Quotation + Quoted + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Quotation. Quotation Line + A line quoting a cost for one kind of item. + 1..n + Quotation + Quotation Line + Quotation Line + Quotation Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ReceiptAdvice-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ReceiptAdvice-2.2.xsd new file mode 100644 index 0000000..fbc00a8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ReceiptAdvice-2.2.xsd @@ -0,0 +1,486 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Receipt Advice. Details + A document used to describe the receipt of goods and services. + Receipt Advice + Receipt, Delivery Acknowledgement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Receipt Advice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Receipt Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Receipt Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Receipt Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Receipt Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Receipt Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Receipt Advice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Receipt Advice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Identifier + An identifier for this document, assigned by the sender. + 1 + Receipt Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Receipt Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Receipt Advice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Receipt Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Receipt Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Receipt Advice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Receipt Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Receipt Advice. Document Status Code. Code + A code signifying the status of the Receipt Advice with respect to its original state. This code may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancellation or revision. + 0..1 + Receipt Advice + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Receipt Advice. Receipt Advice Type Code. Code + A code signifying the type of the Receipt Advice. + 0..1 + Receipt Advice + Receipt Advice Type Code + Code + Receipt Advice Type + Receipt Advice Type_ Code. Type + + + + + + + + + BBIE + Receipt Advice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Receipt Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Receipt Advice. Line Count. Numeric + The number of Receipt Lines in this document. + 0..1 + Receipt Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Receipt Advice. Order Reference + A reference to an Order associated with this Receipt Advice. + 0..n + Receipt Advice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Receipt Advice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Receipt Advice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Advice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Receipt Advice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Advice. Signature + A signature applied to this document. + 0..n + Receipt Advice + Signature + Signature + Signature + + + + + + + + + ASBIE + Receipt Advice. Delivery_ Customer Party. Customer Party + The customer party. + 1 + Receipt Advice + Delivery + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Receipt Advice. Despatch_ Supplier Party. Supplier Party + The supplier party. + 1 + Receipt Advice + Despatch + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Receipt Advice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Receipt Advice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Receipt Advice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Receipt Advice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Receipt Advice. Shipment + Details about the Shipment. + 0..1 + Receipt Advice + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Receipt Advice. Receipt Line + A line detailing a kind of item received. + 1..n + Receipt Advice + Receipt Line + Receipt Line + Receipt Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Reminder-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Reminder-2.2.xsd new file mode 100644 index 0000000..728f3c6 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Reminder-2.2.xsd @@ -0,0 +1,760 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Reminder. Details + A document used to remind a customer of payments past due. + Reminder + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Reminder. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Reminder + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Reminder. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Reminder + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Reminder. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Reminder + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Reminder. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Reminder + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Reminder. Identifier + An identifier for this document, assigned by the sender. + 1 + Reminder + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Reminder. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Reminder + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Reminder. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Reminder + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Reminder + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Reminder. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Reminder + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Reminder. Reminder Type Code. Code + A code signifying the type of the Reminder. + 0..1 + Reminder + Reminder Type Code + Code + Code. Type + + + + + + + + + BBIE + Reminder. Reminder Sequence. Numeric + The number of the current Reminder in the sequence of reminders relating to the specified payments; the number of reminders previously sent plus one. + 0..1 + Reminder + Reminder Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Reminder. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Reminder + Note + Text + Text. Type + + + + + + + + + BBIE + Reminder. Tax Point Date. Date + The date of the Reminder, used to indicate the point at which tax becomes applicable. + 0..1 + Reminder + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Reminder. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Reminder + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Reminder. + 0..1 + Reminder + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Reminder. + 0..1 + Reminder + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Reminder. + 0..1 + Reminder + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Reminder. + 0..1 + Reminder + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Accounting Cost Code. Code + The buyer's accounting code, applied to the Reminder as a whole. + 0..1 + Reminder + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Reminder. Accounting Cost. Text + The buyer's accounting code, applied to the Reminder as a whole, expressed as text. + 0..1 + Reminder + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Reminder. Line Count. Numeric + The number of Reminder Lines in this document. + 0..1 + Reminder + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Reminder. Reminder_ Period. Period + The periods to which the Reminder applies. + 0..n + Reminder + Reminder + Period + Period + Period + + + + + + + + + ASBIE + Reminder. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Reminder + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Reminder. Signature + A signature applied to this document. + 0..n + Reminder + Signature + Signature + Signature + + + + + + + + + ASBIE + Reminder. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Reminder + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Reminder. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Reminder + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Reminder. Payee_ Party. Party + The payee. + 0..1 + Reminder + Payee + Party + Party + Party + + + + + + + + + ASBIE + Reminder. Tax Representative_ Party. Party + The tax representative. + 0..1 + Reminder + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Reminder. Payment Means + Expected means of payment. + 0..n + Reminder + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Reminder. Payment Terms + A set of payment terms associated with this document. + 0..n + Reminder + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Reminder. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Reminder + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Reminder. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Reminder + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Reminder. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Reminder + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Reminder + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Reminder + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Reminder + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Tax Total + The total amount of a specific type of tax. + 0..n + Reminder + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Reminder. Legal_ Monetary Total. Monetary Total + The total amount payable on the Invoice, including Allowances, Charges, and Taxes. + 1 + Reminder + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Reminder. Reminder Line + A line describing a payment past due. + 1..n + Reminder + Reminder Line + Reminder Line + Reminder Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RemittanceAdvice-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RemittanceAdvice-2.2.xsd new file mode 100644 index 0000000..c684c79 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RemittanceAdvice-2.2.xsd @@ -0,0 +1,568 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Remittance Advice. Details + A document that specifies details of an actual payment. + Remittance Advice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Remittance Advice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Remittance Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Remittance Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Remittance Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Remittance Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Remittance Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Remittance Advice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Remittance Advice + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Remittance Advice. Identifier + An identifier for this document, assigned by the sender. + 1 + Remittance Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Remittance Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Remittance Advice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Remittance Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Remittance Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Remittance Advice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Remittance Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Remittance Advice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Remittance Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Remittance Advice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Debit Amount. Amount + The totals of all debit amounts for the Remittance Advice. + 0..1 + Remittance Advice + Total + Debit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Credit Amount. Amount + The totals of all credit amounts for the Remittance Advice. + 0..1 + Remittance Advice + Total + Credit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Payment Amount. Amount + The total payable amount for the Remittance Advice (must be positive). + 0..1 + Remittance Advice + Total + Payment Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Payment Order Reference. Text + An internal reference to the order for payment from the payer to the payer's bank. + 0..1 + Remittance Advice + Payment Order Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Payer_ Reference. Text + An internal reference to the payer's order for payment. + 0..1 + Remittance Advice + Payer + Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Invoicing Party_ Reference. Text + An internal reference to the order for payment by the invoicing party. This may have been requested of the payer by the payee to accompany the payer's remittance. + 0..1 + Remittance Advice + Invoicing Party + Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Line Count. Numeric + The number of Remittance Advice Lines in the document. + 0..1 + Remittance Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Remittance Advice. Invoice_ Period. Period + A period (rather than a specific invoice) associated with this document. + 0..n + Remittance Advice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Remittance Advice. Billing Reference + A reference to a billing document associated with this document. + 0..1 + Remittance Advice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Remittance Advice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Remittance Advice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Remittance Advice. Signature + A signature applied to this document. + 0..n + Remittance Advice + Signature + Signature + Signature + + + + + + + + + ASBIE + Remittance Advice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Remittance Advice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Remittance Advice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice. Payee_ Party. Party + The payee. + 0..1 + Remittance Advice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Remittance Advice. Payment Means + Expected means of payment. + 0..1 + Remittance Advice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Remittance Advice. Tax Total + The total amount of a specific type of tax. + 0..n + Remittance Advice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Remittance Advice. Remittance Advice Line + A line specifying a balance. + 1..n + Remittance Advice + Remittance Advice Line + Remittance Advice Line + Remittance Advice Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RequestForQuotation-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RequestForQuotation-2.2.xsd new file mode 100644 index 0000000..2eb84ed --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RequestForQuotation-2.2.xsd @@ -0,0 +1,520 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Request For Quotation. Details + A document used to request a Quotation for goods and services from a Seller. + Request For Quotation + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Request For Quotation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Request For Quotation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Request For Quotation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Request For Quotation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Request For Quotation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Request For Quotation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Request For Quotation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Request For Quotation + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Request For Quotation. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Request For Quotation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Request For Quotation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Request For Quotation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Request For Quotation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Request For Quotation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Request For Quotation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Request For Quotation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Request For Quotation. Submission Due Date. Date + The due date for submission of the Quotation. + 0..1 + Request For Quotation + Submission Due Date + Date + Date. Type + + + + + + + + + BBIE + Request For Quotation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Request For Quotation + Note + Text + Text. Type + + + + + + + + + BBIE + Request For Quotation. Pricing_ Currency Code. Code + The currency that the Seller should use to price the Quotation. + 0..1 + Request For Quotation + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Request For Quotation. Line Count. Numeric + The number of Request For Quotation Lines in this document. + 0..1 + Request For Quotation + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Request For Quotation. Requested Validity_ Period. Period + The validity period requested for this Quotation. + 0..1 + Request For Quotation + Requested Validity + Period + Period + Period + + + + + + + + + ASBIE + Request For Quotation. Catalogue_ Document Reference. Document Reference + The Catalogue on which this Request for Quotation is based. + 0..1 + Request For Quotation + Catalogue + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Request For Quotation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation. Signature + A signature applied to this document. + 0..n + Request For Quotation + Signature + Signature + Signature + + + + + + + + + ASBIE + Request For Quotation. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Request For Quotation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Request For Quotation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Request For Quotation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Request For Quotation. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Request For Quotation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Request For Quotation. Delivery + A delivery associated with this document. + 0..n + Request For Quotation + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Request For Quotation. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Request For Quotation + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Request For Quotation. Destination_ Country. Country + The country of destination of potential orders (for customs purposes). + 0..1 + Request For Quotation + Destination + Country + Country + Country + + + + + + + + + ASBIE + Request For Quotation. Contract + A contract associated with this Request for Quotation.. + 0..n + Request For Quotation + Contract + Contract + Contract + + + + + + + + + ASBIE + Request For Quotation. Request For Quotation Line + A line specifying a kind of item of sale. + 1..n + Request For Quotation + Request For Quotation Line + Request For Quotation Line + Request For Quotation Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RetailEvent-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RetailEvent-2.2.xsd new file mode 100644 index 0000000..db64a3e --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RetailEvent-2.2.xsd @@ -0,0 +1,516 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Retail Event. Details + A document used to specify basic information about retail events (such as promotions, product introductions, and community or environmental events) that affect supply or demand. + Retail Event + Event + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Retail Event. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Retail Event + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Retail Event. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Retail Event + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Retail Event. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Retail Event + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Retail Event. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Retail Event + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Retail Event. Identifier + An identifier for this document, assigned by the sender. + 1 + Retail Event + Identifier + Identifier + Identifier. Type + Retail Event Number + + + + + + + + + BBIE + Retail Event. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Retail Event + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Retail Event. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Retail Event + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Retail Event. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Retail Event + Issue Date + Date + Date. Type + Retail Event Date + + + + + + + + + BBIE + Retail Event. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Retail Event + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Retail Event. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Retail Event + Note + Text + Text. Type + + + + + + + + + BBIE + Retail Event. Retail Event Name. Name + A title, theme, slogan, or other identifier for the event for use by trading partners. + 0..1 + Retail Event + Retail Event Name + Name + Name. Type + + + + + + + + + BBIE + Retail Event. Retail Event Status Code. Code + Describes the logical state of the discrete activity affecting supply or demand in the supply chain + 1 + Retail Event + Retail Event Status Code + Code + Code. Type + + + + + + + + + BBIE + Retail Event. Seller Event Identifier. Identifier + An event tracking identifier assigned by the seller. + 0..1 + Retail Event + Seller Event Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Retail Event. Buyer Event Identifier. Identifier + An event tracking identifier assigned by the buyer. + 0..1 + Retail Event + Buyer Event Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Retail Event. Description. Text + Definition of the discrete activity affecting supply or demand in the supply chain + 0..n + Retail Event + Description + Text + Text. Type + + + + + + + + + ASBIE + Retail Event. Period + The period during which the event takes place. + 1 + Retail Event + Period + Period + Period + + + + + + + + + ASBIE + Retail Event. Original_ Document Reference. Document Reference + A reference to a Forecast document associated with this event. + 0..n + Retail Event + Original + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Retail Event. Signature + A signature applied to this document. + 0..n + Retail Event + Signature + Signature + Signature + + + + + + + + + ASBIE + Retail Event. Sender_ Party. Party + The party sending this document. + 1 + Retail Event + Sender + Party + Party + Party + + + + + + + + + ASBIE + Retail Event. Receiver_ Party. Party + The party receiving this document. + 1 + Retail Event + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Retail Event. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Retail Event + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Retail Event. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Retail Event + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Retail Event. Event Comment + A comment regarding the event. + 0..n + Retail Event + Event Comment + Event Comment + Event Comment + + + + + + + + + ASBIE + Retail Event. Promotional Event + The description of a promotional event associated with this event. + 0..1 + Retail Event + Promotional Event + Promotional Event + Promotional Event + + + + + + + + + ASBIE + Retail Event. Miscellaneous Event + A miscellaneous event associated with this event. + 0..1 + Retail Event + Miscellaneous Event + Miscellaneous Event + Miscellaneous Event + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-SelfBilledCreditNote-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-SelfBilledCreditNote-2.2.xsd new file mode 100644 index 0000000..096b7e3 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-SelfBilledCreditNote-2.2.xsd @@ -0,0 +1,1001 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Self Billed Credit Note. Details + A credit note created by the debtor in a self billing arrangement with a creditor; Self Billed Credit Note replaces Debit Note in such arrangements. + Self Billed Credit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Self Billed Credit Note. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Self Billed Credit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Self Billed Credit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Self Billed Credit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Self Billed Credit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Self Billed Credit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Self Billed Credit Note. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Self Billed Credit Note + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Self Billed Credit Note. Identifier + An identifier for this document, assigned by the sender. + 1 + Self Billed Credit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Credit Note. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Self Billed Credit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Self Billed Credit Note. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Self Billed Credit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Credit Note. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Self Billed Credit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Credit Note. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Self Billed Credit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Self Billed Credit Note. Due Date. Date +   The date on which SelfBilledCreditNote is due. + 0..1 + Self Billed Credit Note + Due Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Credit Note. Tax Point Date. Date + The date of the Self Billed Credit Note, used to indicate the point at which tax becomes applicable. + 0..1 + Self Billed Credit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Credit Note. Credit Note Type Code. Code + A code signifying the type of Selfbilled CreditNote + 0..1 + Self Billed Credit Note + Credit Note Type Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Self Billed Credit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Self Billed Credit Note. Document_ Currency Code. Code + A code signifying the default currency for this document. + 1 + Self Billed Credit Note + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Accounting Cost Code. Code + The buyer's accounting code, applied to the Self Billed Credit Note as a whole. + 0..1 + Self Billed Credit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Accounting Cost. Text + The buyer's accounting code, applied to the Self Billed Credit Note as a whole, expressed as text. + 0..1 + Self Billed Credit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Self Billed Credit Note. Line Count. Numeric + The number of Self Billed Credit Note Lines in this document. + 0..1 + Self Billed Credit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Self Billed Credit Note. Buyer_ Reference. Text + A reference provided by the buyer used for internal routing of the document. + 0..1 + Self Billed Credit Note + Buyer + Reference + Text + Text. Type + + + + + + + + + ASBIE + Self Billed Credit Note. Invoice_ Period. Period + A period (rather than a specific Invoice) associated with the Self Billed Credit Note. + 0..n + Self Billed Credit Note + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Self Billed Credit Note. Discrepancy_ Response. Response + A reason for the Self Billed Credit Note as a whole. + 0..n + Self Billed Credit Note + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Self Billed Credit Note. Order Reference + The Order associated with this Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Billing Reference + A reference to a billing document associated with this document. + 0..n + Self Billed Credit Note + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Self Billed Credit Note + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Self Billed Credit Note + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Self Billed Credit Note + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Self Billed Credit Note + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Self Billed Credit Note + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Self Billed Credit Note + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Project Reference + A reference to a project associated with this document. + 0..n + Self Billed Credit Note + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Signature + A signature applied to this document. + 0..n + Self Billed Credit Note + Signature + Signature + Signature + + + + + + + + + ASBIE + Self Billed Credit Note. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Self Billed Credit Note + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Credit Note. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Self Billed Credit Note + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Credit Note. Payee_ Party. Party + The payee. + 0..1 + Self Billed Credit Note + Payee + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Credit Note. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Self Billed Credit Note + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Credit Note. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Self Billed Credit Note + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Credit Note. Tax Representative_ Party. Party + The tax representative. + 0..1 + Self Billed Credit Note + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Credit Note. Delivery + A delivery associated with this document. + 0..n + Self Billed Credit Note + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Self Billed Credit Note. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Self Billed Credit Note + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Self Billed Credit Note. Payment Means + Expected means of payment. + 0..n + Self Billed Credit Note + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Self Billed Credit Note. Payment Terms + A set of payment terms associated with this document. + 0..n + Self Billed Credit Note + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Self Billed Credit Note. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Self Billed Credit Note + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Self Billed Credit Note. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Self Billed Credit Note + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Self Billed Credit Note + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Self Billed Credit Note + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Self Billed Credit Note + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Tax Total + The total amount of a specific type of tax. + 0..n + Self Billed Credit Note + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Credit Note. Withholding_ Tax Total. Tax Total + The total withholding tax. + 0..n + Self Billed Credit Note + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Credit Note. Legal_ Monetary Total. Monetary Total + The total amount payable on the Self Billed Credit Note, including Allowances, Charges, and Taxes. + 1 + Self Billed Credit Note + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Self Billed Credit Note. Credit Note Line + A Self Billed Credit Note Line. + 1..n + Self Billed Credit Note + Credit Note Line + Credit Note Line + Credit Note Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-SelfBilledInvoice-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-SelfBilledInvoice-2.2.xsd new file mode 100644 index 0000000..072ebe4 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-SelfBilledInvoice-2.2.xsd @@ -0,0 +1,1000 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Self Billed Invoice. Details + An Invoice document created by the Customer (rather than the Supplier) in a Self Billing relationship. + Self Billed Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Self Billed Invoice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Self Billed Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Self Billed Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Self Billed Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Self Billed Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Self Billed Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Self Billed Invoice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Self Billed Invoice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Identifier + An identifier for this document, assigned by the sender. + 1 + Self Billed Invoice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Self Billed Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Self Billed Invoice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Self Billed Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Self Billed Invoice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Invoice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Self Billed Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Self Billed Invoice. Due Date. Date +   The date on which Invoice is due. + 0..1 + Self Billed Invoice + Due Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Invoice. Tax Point Date. Date + The date of the invoice for tax purposes, in accordance with the applicable tax regulation. + 0..1 + Self Billed Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Invoice. Invoice Type Code. Code + A code signifying the type of invoice. + 0..1 + Self Billed Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Self Billed Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Self Billed Invoice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Self Billed Invoice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Invoice. + 0..1 + Self Billed Invoice + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Invoice. + 0..1 + Self Billed Invoice + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Invoice. + 0..1 + Self Billed Invoice + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Invoice. + 0..1 + Self Billed Invoice + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Accounting Cost Code. Code + An accounting cost code, applied to the Invoice as a whole. + 0..1 + Self Billed Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Accounting Cost. Text + An accounting cost code, applied to the Invoice as a whole, expressed as text. + 0..1 + Self Billed Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Self Billed Invoice. Line Count. Numeric + The number of Invoice Lines in this document. + 0..1 + Self Billed Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Self Billed Invoice. Buyer_ Reference. Text + A reference provided by the buyer used for internal routing of the document. + 0..1 + Self Billed Invoice + Buyer + Reference + Text + Text. Type + + + + + + + + + ASBIE + Self Billed Invoice. Invoice_ Period. Period + A period to which the Self Billed Invoice applies. + 0..n + Self Billed Invoice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Self Billed Invoice. Order Reference + A reference to the Order with which this Invoice is associated. + 0..1 + Self Billed Invoice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Self Billed Invoice. Billing Reference + A reference to a billing document associated with this document. + 0..n + Self Billed Invoice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Self Billed Invoice. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Self Billed Invoice + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Self Billed Invoice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Self Billed Invoice + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Self Billed Invoice + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Self Billed Invoice + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Self Billed Invoice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Project Reference + A reference to a project associated with this document. + 0..n + Self Billed Invoice + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Self Billed Invoice. Signature + A signature applied to this document. + 0..n + Self Billed Invoice + Signature + Signature + Signature + + + + + + + + + ASBIE + Self Billed Invoice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Self Billed Invoice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Invoice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Self Billed Invoice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Invoice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Self Billed Invoice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Invoice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Self Billed Invoice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Invoice. Payee_ Party. Party + The payee. + 0..1 + Self Billed Invoice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Invoice. Tax Representative_ Party. Party + The tax representative. + 0..1 + Self Billed Invoice + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Invoice. Delivery + A delivery associated with this document. + 0..n + Self Billed Invoice + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Self Billed Invoice. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Self Billed Invoice + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Self Billed Invoice. Payment Means + Expected means of payment. + 0..1 + Self Billed Invoice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Self Billed Invoice. Payment Terms + A set of payment terms associated with this document. + 0..n + Self Billed Invoice + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Self Billed Invoice. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Self Billed Invoice + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Self Billed Invoice. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Self Billed Invoice + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Self Billed Invoice. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Self Billed Invoice + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Self Billed Invoice + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Self Billed Invoice + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Self Billed Invoice + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Tax Total + The total amount of a specific type of tax. + 0..n + Self Billed Invoice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Invoice. Withholding_ Tax Total. Tax Total + The total withholding tax. + 0..n + Self Billed Invoice + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Invoice. Legal_ Monetary Total. Monetary Total + A set of totals associated with this Invoice that are required for the Invoice to be a legal document. + 1 + Self Billed Invoice + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Self Billed Invoice. Invoice Line + A line describing an Invoice Item. + 1..n + Self Billed Invoice + Invoice Line + Invoice Line + Invoice Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Statement-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Statement-2.2.xsd new file mode 100644 index 0000000..22924d8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Statement-2.2.xsd @@ -0,0 +1,601 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Statement. Details + A document used to report the status of orders, billing, and payment. This document is a statement of account, not a summary invoice. + Statement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Statement. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Statement + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Statement. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Statement + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Statement. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Statement + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Statement. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Statement + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Statement. Identifier + An identifier for this document, assigned by the sender. + 1 + Statement + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Statement + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Statement. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Statement + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Statement + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Statement. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Statement + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Statement. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Statement + Note + Text + Text. Type + + + + + + + + + BBIE + Statement. Document_ Currency Code. Code + The default currency for the Statement. + 1 + Statement + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Statement. Total_ Debit Amount. Amount + The total of all debit amounts for the Statement. + 0..1 + Statement + Total + Debit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Total_ Credit Amount. Amount + The total of all credit amounts for the Statement. + 0..1 + Statement + Total + Credit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Total_ Balance Amount. Amount + The total amount for the Statement. + 0..1 + Statement + Total + Balance Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Line Count. Numeric + The number of Statement Lines in the Statement. + 0..1 + Statement + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Statement. Statement Type Code. Code + A code signifying the type of the Statement. + 0..1 + Statement + Statement Type Code + Code + Code. Type + + + + + + + + + ASBIE + Statement. Statement_ Period. Period + A period to which the Statement applies. + 0..1 + Statement + Statement + Period + Period + Period + + + + + + + + + ASBIE + Statement. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Statement + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Statement. Signature + A signature applied to this document. + 0..n + Statement + Signature + Signature + Signature + + + + + + + + + ASBIE + Statement. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Statement + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Statement + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Statement + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Statement + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Statement + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Payee_ Party. Party + The payee. + 0..1 + Statement + Payee + Party + Party + Party + + + + + + + + + ASBIE + Statement. Payment Means + Expected means of payment. + 0..n + Statement + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Statement. Payment Terms + A set of payment terms associated with this document. + 0..n + Statement + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Statement. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Statement + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Statement. Tax Total + The total amount of a specific type of tax. + 0..n + Statement + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Statement. Statement Line + A Statement Line. + 1..n + Statement + Statement Line + Statement Line + Statement Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-StockAvailabilityReport-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-StockAvailabilityReport-2.2.xsd new file mode 100644 index 0000000..422f459 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-StockAvailabilityReport-2.2.xsd @@ -0,0 +1,404 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Stock Availability Report. Details + A report on the quantities of each item that are, or will be, in stock. This document is sent by a Seller (for example a producer) to a Buyer (for example a retailer). + Stock Availability Report + Storage status report. + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Stock Availability Report. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Stock Availability Report + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Stock Availability Report. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Stock Availability Report + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Stock Availability Report. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Stock Availability Report + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Stock Availability Report. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Stock Availability Report + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Stock Availability Report. Identifier + An identifier for this document, assigned by the sender. + 1 + Stock Availability Report + Identifier + Identifier + Identifier. Type + Document Number, Inventory Report Number + + + + + + + + + BBIE + Stock Availability Report. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Stock Availability Report + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Stock Availability Report. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Stock Availability Report + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Stock Availability Report. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Stock Availability Report + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Stock Availability Report. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Stock Availability Report + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Stock Availability Report. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Stock Availability Report + Note + Text + Text. Type + + + + + + + + + BBIE + Stock Availability Report. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Stock Availability Report + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Stock Availability Report. Inventory_ Period. Period + The inventory period covered by the Report. + 0..1 + Stock Availability Report + Inventory + Period + Period + Period + + + + + + + + + ASBIE + Stock Availability Report. Document Reference + A reference to another document associated with this document. + 0..n + Stock Availability Report + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Stock Availability Report. Signature + A signature applied to this document. + 0..n + Stock Availability Report + Signature + Signature + Signature + + + + + + + + + ASBIE + Stock Availability Report. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Stock Availability Report + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Stock Availability Report. Retailer_ Customer Party. Customer Party + The retailer. + 0..1 + Stock Availability Report + Retailer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Stock Availability Report. Inventory Reporting_ Party. Party + The party that will receive and use the Stock Availability Report (normally the branch for which the stock is reported). + 1 + Stock Availability Report + Inventory Reporting + Party + Party + Party + + + + + + + + + ASBIE + Stock Availability Report. Stock Availability Report Line + A line representing a particular item of sale and associated with a line in the Catalogue. + 1..n + Stock Availability Report + Stock Availability Report Line + Stock Availability Report Line + Stock Availability Report Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Tender-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Tender-2.2.xsd new file mode 100644 index 0000000..374d2a8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Tender-2.2.xsd @@ -0,0 +1,484 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender. Details + A document whereby an economic operator (the tenderer) makes a formal offer (the tender) to a contracting authority to execute an order for the supply or purchase of goods, or for the execution of work, according to the terms of a proposed contract. + Tender + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tender. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tender. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tender. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tender. Identifier + An identifier for this document, assigned by the sender. + 1 + Tender + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender. Tender Type Code. Code + A code to specify the type of tender (economical or objective criteria versus technical or subjective criteria) + 0..1 + Tender + Tender Type Code + Code + Code. Type + + + + + + + + + BBIE + Tender. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tender + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Tender + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Tender. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender + Note + Text + Text. Type + + + + + + + + + ASBIE + Tender. Validity_ Period. Period + The period for which the Tender is valid. + 0..1 + Tender + Validity + Period + Period + Period + + + + + + + + + ASBIE + Tender. Call For Tender_ Document Reference. Document Reference + A reference to the call for tender document of which this tender result of. + 0..1 + Tender + Call For Tender + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender. Document Reference + A reference to another document associated with this document. + 0..n + Tender + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender. Signature + A signature applied to this document. + 0..n + Tender + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender. Tenderer_ Party. Party + The primary tenderer. + 1..n + Tender + Tenderer + Party + Party + Party + + + + + + + + + ASBIE + Tender. Tenderer Qualification_ Document Reference. Document Reference + A reference to the tenderer qualification document that has been used to qualify the tenderer. + 0..1 + Tender + Tenderer Qualification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender. Subcontractor_ Party. Party + A subcontractor or other tenderer participating in the same Tender. + 0..n + Tender + Subcontractor + Party + Party + Party + + + + + + + + + ASBIE + Tender. Contracting Party + The contracting party. + 0..n + Tender + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tender. Originator_ Customer Party. Customer Party + The party originating the Tender. + 0..1 + Tender + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Tender. Tendered Project + A project with which this Tender is associated. A single Tender can be used to bid for one project, multiple projects, or the global project. + 1..n + Tender + Tendered Project + Tendered Project + Tendered Project + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderContract-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderContract-2.2.xsd new file mode 100644 index 0000000..015d3da --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderContract-2.2.xsd @@ -0,0 +1,509 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender Contract. Details + A document published by a Contracting Party to announce the awarding of a procurement project. + Tender Contract + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender Contract. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender Contract + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Contract. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender Contract + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Contract. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender Contract + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Contract. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender Contract + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Contract. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tender Contract + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Contract. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender Contract + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender Contract. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender Contract + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Contract. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tender Contract + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Contract. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender Contract + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender Contract. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender Contract + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender Contract. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Tender Contract + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Tender Contract. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender Contract + Note + Text + Text. Type + + + + + + + + + BBIE + Tender Contract. Regulatory Domain. Text + Information about the law that defines the regulatory domain. + 0..n + Tender Contract + Regulatory Domain + Text + Text. Type + + + + + + + + + BBIE + Tender Contract. Publish Award Indicator. Indicator + An indicator specifying if the notice is published for service contracts within certain service categories (true) or not (false). + 0..1 + Tender Contract + Publish Award Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Tender Contract. Previous_ Document Reference. Document Reference + A reference to a previously sent document. + 0..n + Tender Contract + Previous + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Contract. Contract_ Document Reference. Document Reference + A reference to a set of minutes. + 0..n + Tender Contract + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Contract. Signature + A signature applied to this document. + 0..n + Tender Contract + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender Contract. Contracting Party + The contracting party. + 1..n + Tender Contract + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tender Contract. Economic Operator Party + The Economic Operator issuing the inquiry on the status of a tendering process. + 1..n + Tender Contract + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Tender Contract. Receiver_ Party. Party + The party receiving this document. + 0..1 + Tender Contract + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Tender Contract. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Tender Contract + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Tender Contract. Tendering Process + A description of the tendering process itself. + 0..1 + Tender Contract + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Tender Contract. Procurement Project + An overall definition of this procurement project. + 0..1 + Tender Contract + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Tender Contract. Procurement Project Lot + Lots that were awarded to the economic operator that can be grouped in the same contract. + 0..n + Tender Contract + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Tender Contract. Tender Result + A result of the bid opening in the tendering process. + 1..n + Tender Contract + Tender Result + Tender Result + Tender Result + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderReceipt-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderReceipt-2.2.xsd new file mode 100644 index 0000000..37e6bad --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderReceipt-2.2.xsd @@ -0,0 +1,399 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender Receipt. Details + A document sent by a contracting party to an economic operator acknowledging receipt of a Tender. + Tender Receipt + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender Receipt. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender Receipt + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tender Receipt. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender Receipt + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tender Receipt. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender Receipt + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tender Receipt. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender Receipt + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tender Receipt. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tender Receipt + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Receipt. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender Receipt + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender Receipt. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender Receipt + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Receipt. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tender Receipt + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Receipt. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender Receipt + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender Receipt. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender Receipt + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender Receipt. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Tender Receipt + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Tender Receipt. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender Receipt + Note + Text + Text. Type + + + + + + + + + BBIE + Tender Receipt. Registered Date. Date + The date, assigned by the sender, on which the Tender Receipt was created. + 1 + Tender Receipt + Registered Date + Date + Date. Type + + + + + + + + + BBIE + Tender Receipt. Registered Time. Time + The time, assigned by the sender, at which the Tender Receipt was created. + 1 + Tender Receipt + Registered Time + Time + Time. Type + + + + + + + + + ASBIE + Tender Receipt. Tender_ Document Reference. Document Reference + A reference to a received Tender. + 0..n + Tender Receipt + Tender + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Receipt. Signature + A signature applied to this document. + 0..n + Tender Receipt + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender Receipt. Sender_ Party. Party + The party sending this document. + 1 + Tender Receipt + Sender + Party + Party + Party + + + + + + + + + ASBIE + Tender Receipt. Receiver_ Party. Party + The party receiving this document. + 1 + Tender Receipt + Receiver + Party + Party + Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderStatus-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderStatus-2.2.xsd new file mode 100644 index 0000000..00e7795 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderStatus-2.2.xsd @@ -0,0 +1,579 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender Status. Details + A document sent by the Contracting Party to an Economic Operator describing the status of a tendering procedure. + Tender Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender Status. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender Status + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tender Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender Status + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tender Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender Status + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tender Status. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender Status + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tender Status. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tender Status + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Status. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender Status + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender Status. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Status. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Tender Status + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Status. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender Status. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender Status. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Tender Status + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Tender Status. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender Status + Note + Text + Text. Type + + + + + + + + + BBIE + Tender Status. Procedure Code. Code + A code signifying the type of this tendering procedure. + 0..1 + Tender Status + Procedure Code + Code + Code. Type + Open, Restricted, Negotiated + + + + + + + + + ASBIE + Tender Status. Tender Submission Deadline_ Period. Period + The period during which tenders must be delivered. + 0..1 + Tender Status + Tender Submission Deadline + Period + Period + Period + + + + + + + + + ASBIE + Tender Status. Invitation Submission_ Period. Period + The period during which invitations to tender must be completed and delivered. + 0..1 + Tender Status + Invitation Submission + Period + Period + Period + + + + + + + + + ASBIE + Tender Status. Participation Request Reception_ Period. Period + The period during which requests for participation must be completed and delivered. + 0..1 + Tender Status + Participation Request Reception + Period + Period + Period + + + + + + + + + ASBIE + Tender Status. Procurement Legislation_ Document Reference. Document Reference + A reference to a document providing references to procurement legislation applicable to the tendering process. + 0..1 + Tender Status + Procurement Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Status. Fiscal Legislation_ Document Reference. Document Reference + A reference to a document providing references to fiscal legislation applicable to the tendering process. + 0..1 + Tender Status + Fiscal Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Status. Environmental Legislation_ Document Reference. Document Reference + A reference to a document providing references to environmental legislation applicable to the tendering process. + 0..1 + Tender Status + Environmental Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Status. Employment Legislation_ Document Reference. Document Reference + A reference to a document providing references to employment legislation applicable to the tendering process. + 0..1 + Tender Status + Employment Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Status. Tender Status Inquiry_ Document Reference. Document Reference + A reference to a received Tender status inquiry. + 0..n + Tender Status + Tender Status Inquiry + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Status. Signature + A signature applied to this document. + 0..n + Tender Status + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender Status. Contracting Party + The Contracting Party issuing the information about the tender status. + 1 + Tender Status + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tender Status. Economic Operator Party + The Economic Operator receiving the tender status information. + 1 + Tender Status + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Tender Status. Document Provider_ Party. Party + The party that has the contract documents for the tendering process. + 0..1 + Tender Status + Document Provider + Party + Party + Party + + + + + + + + + ASBIE + Tender Status. Tender Recipient_ Party. Party + The party to which tenders should be presented. + 0..1 + Tender Status + Tender Recipient + Party + Party + Party + + + + + + + + + ASBIE + Tender Status. Procurement Project + An overall definition of this procurement project. + 0..1 + Tender Status + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Tender Status. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Tender Status + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderStatusRequest-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderStatusRequest-2.2.xsd new file mode 100644 index 0000000..1719418 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderStatusRequest-2.2.xsd @@ -0,0 +1,378 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender Status Request. Details + A document sent by an Economic Operator asking about the details and status of a tendering procedure. + Tender Status Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender Status Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender Status Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tender Status Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender Status Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tender Status Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender Status Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tender Status Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender Status Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tender Status Request. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tender Status Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Status Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender Status Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender Status Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender Status Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Status Request. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Tender Status Request + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Status Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender Status Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender Status Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender Status Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender Status Request. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Tender Status Request + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Tender Status Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender Status Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Tender Status Request. Signature + A signature applied to this document. + 0..n + Tender Status Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender Status Request. Contracting Party + The Contracting Party eceiving the tender status inquiry. + 1..n + Tender Status Request + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tender Status Request. Economic Operator Party + The Economic Operator issuing the inquiry on the status of a tendering process. + 1 + Tender Status Request + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Tender Status Request. Procurement Project + An overall definition of this procurement project. + 0..1 + Tender Status Request + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Tender Status Request. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Tender Status Request + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderWithdrawal-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderWithdrawal-2.2.xsd new file mode 100644 index 0000000..8e63ae7 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderWithdrawal-2.2.xsd @@ -0,0 +1,401 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender Withdrawal. Details + A document sent by an Economic Operator to a Contracting Party with the intention of withdrawing a previously sent Tender document. + Tender Withdrawal + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender Withdrawal. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender Withdrawal + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tender Withdrawal. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender Withdrawal + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tender Withdrawal. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender Withdrawal + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tender Withdrawal. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender Withdrawal + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tender Withdrawal. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tender Withdrawal + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Withdrawal. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender Withdrawal + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender Withdrawal. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender Withdrawal + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Withdrawal. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Tender Withdrawal + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Withdrawal. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender Withdrawal + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender Withdrawal. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender Withdrawal + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender Withdrawal. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Tender Withdrawal + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Tender Withdrawal. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender Withdrawal + Note + Text + Text. Type + + + + + + + + + BBIE + Tender Withdrawal. Withdraw Offer. Indicator + Indicates whether the referred tender has to be withdrawn (true) or not (false). + 0..1 + Tender Withdrawal + Withdraw Offer + Indicator + Indicator. Type + + + + + + + + + ASBIE + Tender Withdrawal. Tender_ Document Reference. Document Reference + A reference to a received Tender. + 0..n + Tender Withdrawal + Tender + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Withdrawal. Tender Notification_ Document Reference. Document Reference + A reference to the Tender Receipt Notification. + 0..n + Tender Withdrawal + Tender Notification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Withdrawal. Signature + A signature applied to this document. + 0..n + Tender Withdrawal + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender Withdrawal. Contracting Party + The Contracting Party or parties in case of joint procurement. + 1..n + Tender Withdrawal + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tender Withdrawal. Tenderer_ Party. Party + The economic operator or the main tenderer in case of a consortium that is withdrawing the tender. + 1 + Tender Withdrawal + Tenderer + Party + Party + Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TendererQualification-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TendererQualification-2.2.xsd new file mode 100644 index 0000000..c7dd6fb --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TendererQualification-2.2.xsd @@ -0,0 +1,402 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tenderer Qualification. Details + A document declaring the qualifications of a tenderer. + Tenderer Qualification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tenderer Qualification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tenderer Qualification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tenderer Qualification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tenderer Qualification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tenderer Qualification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tenderer Qualification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tenderer Qualification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tenderer Qualification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tenderer Qualification. Identifier + An identifier for this document, assigned by the sender. + 1 + Tenderer Qualification + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tenderer Qualification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tenderer Qualification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tenderer Qualification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tenderer Qualification + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tenderer Qualification + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tenderer Qualification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tenderer Qualification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tenderer Qualification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tenderer Qualification + Note + Text + Text. Type + + + + + + + + + BBIE + Tenderer Qualification. Version. Identifier + Indicates the current version of the Tenderer Qualification. + 0..1 + Tenderer Qualification + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Tenderer Qualification. Previous_ Version. Identifier + Identifies the previous version of the Tenderer Qualification which is superceded by this version. + 0..1 + Tenderer Qualification + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + ASBIE + Tenderer Qualification. Signature + A signature applied to this document. + 0..n + Tenderer Qualification + Signature + Signature + Signature + + + + + + + + + ASBIE + Tenderer Qualification. Tenderer Party Qualification + A specific qualification of the Tenderer. + 1..n + Tenderer Qualification + Tenderer Party Qualification + Tenderer Party Qualification + Tenderer Party Qualification + + + + + + + + + ASBIE + Tenderer Qualification. Contracting Party + The contracting party. + 0..1 + Tenderer Qualification + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tenderer Qualification. Evidence + An evidentiary document supporting Tenderer qualifications. + 0..n + Tenderer Qualification + Evidence + Evidence + Evidence + + + + + + + + + ASBIE + Tenderer Qualification. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Tenderer Qualification + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TendererQualificationResponse-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TendererQualificationResponse-2.2.xsd new file mode 100644 index 0000000..f9d8917 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TendererQualificationResponse-2.2.xsd @@ -0,0 +1,400 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tenderer Qualification Response. Details + A document issued by a procurement organization to notify an economic operator whether it has been admitted to or excluded from the tendering process. + Tenderer Qualification Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tenderer Qualification Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tenderer Qualification Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tenderer Qualification Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tenderer Qualification Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tenderer Qualification Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tenderer Qualification Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tenderer Qualification Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tenderer Qualification Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tenderer Qualification Response. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tenderer Qualification Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tenderer Qualification Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tenderer Qualification Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tenderer Qualification Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tenderer Qualification Response + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Tenderer Qualification Response + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tenderer Qualification Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tenderer Qualification Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tenderer Qualification Response + Note + Text + Text. Type + + + + + + + + + ASBIE + Tenderer Qualification Response. Sender_ Party. Party + The party sending this message. + 1 + Tenderer Qualification Response + Sender + Party + Party + Party + + + + + + + + + ASBIE + Tenderer Qualification Response. Receiver_ Party. Party + The party receiving this message. + 1 + Tenderer Qualification Response + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Tenderer Qualification Response. Resolution_ Document Reference. Document Reference + A document (e.g., meeting minutes) relating to consideration of tenderer qualifications. + 0..1 + Tenderer Qualification Response + Resolution + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tenderer Qualification Response. Qualification Resolution + An association to the resolution that is being notified + 1..n + Tenderer Qualification Response + Qualification Resolution + Qualification Resolution + Qualification Resolution + + + + + + + + + ASBIE + Tenderer Qualification Response. Appeal Terms + Terms of appeal for this tendering process. + 0..1 + Tenderer Qualification Response + Appeal Terms + Appeal Terms + Appeal Terms + + + + + + + + + ASBIE + Tenderer Qualification Response. Signature + A signature applied to this document. + 0..n + Tenderer Qualification Response + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TradeItemLocationProfile-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TradeItemLocationProfile-2.2.xsd new file mode 100644 index 0000000..d05453f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TradeItemLocationProfile-2.2.xsd @@ -0,0 +1,416 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Trade Item Location Profile. Details + A document specifying trade item attributes relating to replenishment policies. + Trade Item Location Profile + TradeItem Information Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Trade Item Location Profile. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Trade Item Location Profile + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Trade Item Location Profile. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Trade Item Location Profile + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Trade Item Location Profile. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Trade Item Location Profile + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Trade Item Location Profile. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Trade Item Location Profile + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Trade Item Location Profile. Identifier + An identifier for this document, assigned by the sender. + 1 + Trade Item Location Profile + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Trade Item Location Profile. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Trade Item Location Profile + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Trade Item Location Profile. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Trade Item Location Profile + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Trade Item Location Profile. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Trade Item Location Profile + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Trade Item Location Profile. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Trade Item Location Profile + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Trade Item Location Profile. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Trade Item Location Profile + Note + Text + Text. Type + + + + + + + + + BBIE + Trade Item Location Profile. Profile_ Status Code. Code + A code signifying the status of this Trade Item Location Profile. + 0..1 + Trade Item Location Profile + Profile + Status Code + Code + Code. Type + + + + + + + + + ASBIE + Trade Item Location Profile. Period + An association to Period. + 1 + Trade Item Location Profile + Period + Period + Period + + + + + + + + + ASBIE + Trade Item Location Profile. Document Reference + A reference to another document associated with this document. + 0..n + Trade Item Location Profile + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Trade Item Location Profile. Signature + A signature applied to this document. + 0..n + Trade Item Location Profile + Signature + Signature + Signature + + + + + + + + + ASBIE + Trade Item Location Profile. Sender_ Party. Party + The sender. + 1 + Trade Item Location Profile + Sender + Party + Party + Party + + + + + + + + + ASBIE + Trade Item Location Profile. Receiver_ Party. Party + The receiver. + 1 + Trade Item Location Profile + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Trade Item Location Profile. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Trade Item Location Profile + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Trade Item Location Profile. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Trade Item Location Profile + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Trade Item Location Profile. Item Management Profile + A profile specifying replenishment policies for a particular trade item. + 1..n + Trade Item Location Profile + Item Management Profile + Item Management Profile + Item Management Profile + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportExecutionPlan-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportExecutionPlan-2.2.xsd new file mode 100644 index 0000000..299074d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportExecutionPlan-2.2.xsd @@ -0,0 +1,770 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Execution Plan. Details + A document used in the negotiation of a transport service between a transport user and a transport service provider. + Transport Execution Plan + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Execution Plan. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Execution Plan + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Execution Plan + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Execution Plan + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Execution Plan + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Execution Plan + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Version. Identifier + Indicates the current version of the Transport Execution Plan. + 0..1 + Transport Execution Plan + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Transport Execution Plan. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Execution Plan + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Execution Plan. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Execution Plan + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transport Execution Plan + Issue Date + Date + Date. Type + Transport Document Date + + + + + + + + + BBIE + Transport Execution Plan. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transport Execution Plan + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Execution Plan. Document Status Code. Code + A code signifying the status of the Transport Execution Plan (updated, cancelled, confirmed, etc.) + 0..1 + Transport Execution Plan + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Transport Execution Plan. Document Status Reason Code. Code + A code signifying a reason associated with the status of a Transport Execution Plan. + 0..1 + Transport Execution Plan + Document Status Reason Code + Code + Code. Type + + + + + + + + + BBIE + Transport Execution Plan. Document Status Reason Description. Text + A reason for the status assigned to the Transport Execution Plan, expressed in text. + 0..n + Transport Execution Plan + Document Status Reason Description + Text + Text. Type + 123 Standard Chartered Tower + + + + + + + + + BBIE + Transport Execution Plan. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Execution Plan + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Plan. Transport User_ Remarks. Text + Remarks from the transport user regarding the transport operations referred to in the Transport Execution Plan. + 0..n + Transport Execution Plan + Transport User + Remarks + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Plan. Transport Service Provider_ Remarks. Text + Remarks from the transport service provider regarding the transport operations referred to in the Transport Execution Plan. + 0..n + Transport Execution Plan + Transport Service Provider + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Transport Execution Plan. Sender_ Party. Party + The party sending this document (can be either the transport user or the transport service provider). + 0..1 + Transport Execution Plan + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Receiver_ Party. Party + The party receiving this document (can be either the transport user or the transport service provider). + 0..1 + Transport Execution Plan + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Transport User_ Party. Party + The party requesting the transport service from a transport service provider. + 1 + Transport Execution Plan + Transport User + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Transport Service Provider_ Party. Party + The party offering the transport service based upon a request from a transport user. + 1 + Transport Execution Plan + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Bill To_ Party. Party + Describes the party that will pay for the transport service(s) provided in a Transport Execution Plan + 0..1 + Transport Execution Plan + Bill To + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Signature + A signature applied to this document. + 0..n + Transport Execution Plan + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Execution Plan. Transport Execution Plan Request_ Document Reference. Document Reference + A reference to a Transport Execution Plan Request. + 0..1 + Transport Execution Plan + Transport Execution Plan Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Transport Execution Plan_ Document Reference. Document Reference + A reference to an original Transport Execution Plan. + 0..1 + Transport Execution Plan + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Transport Service Description_ Document Reference. Document Reference + A reference to the Transport Service Description, which is used by a transport service provider to announce transport services to transport users (buyers). + 0..1 + Transport Execution Plan + Transport Service Description + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Transport Execution Plan + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Transport_ Contract. Contract + A contract related to the Transport Execution Plan. + 0..1 + Transport Execution Plan + Transport + Contract + Contract + Contract + + + + + + + + + ASBIE + Transport Execution Plan. Transport Service Provider Response Required_ Period. Period + Describes the deadline for when the Transport Service Provider will have to respond to a Transport Execution Plan . + 0..1 + Transport Execution Plan + Transport Service Provider Response Required + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Transport User Response Required_ Period. Period + Describes the deadline for when the Transport User will have to respond to a Transport Execution Plan suggested by a Transport Service Provider. + 0..n + Transport Execution Plan + Transport User Response Required + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Validity_ Period. Period + A period during which the Transport Execution Plan is valid. + 0..n + Transport Execution Plan + Validity + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Main_ Transportation Service. Transportation Service + Description of the main transportation service referenced in the Transport Execution Plan. + 0..1 + Transport Execution Plan + Main + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan. Additional_ Transportation Service. Transportation Service + A description of an additional transportation service referenced in the Transport Execution Plan. + 0..n + Transport Execution Plan + Additional + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan. Service Start Time_ Period. Period + The period within which the service must begin. + 0..1 + Transport Execution Plan + Service Start Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Service End Time_ Period. Period + The period during which the service must be completed. + 0..1 + Transport Execution Plan + Service End Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. From_ Location. Location + The location of origin of the transport service referenced in the Transport Execution Plan. + 0..1 + Transport Execution Plan + From + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan. To_ Location. Location + The destination location for the transport service referenced in the Transport Execution Plan. + 0..1 + Transport Execution Plan + To + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan. At_ Location. Location + The location of a transport service (e.g., terminal handling service) that does not require transport movement. + 0..1 + Transport Execution Plan + At + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan. Transport Execution Terms + A description of terms and conditions related to the Transport Execution Plan. + 0..1 + Transport Execution Plan + Transport Execution Terms + Transport Execution Terms + Transport Execution Terms + + + + + + + + + ASBIE + Transport Execution Plan. Consignment + A description of an identifiable collection of goods items to be transported between the consignor and the consignee. This information may be defined within a transport contract. A consignment may comprise more than one shipment (e.g., when consolidated by a freight forwarder). + 1..n + Transport Execution Plan + Consignment + Consignment + Consignment + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportExecutionPlanRequest-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportExecutionPlanRequest-2.2.xsd new file mode 100644 index 0000000..13fdba2 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportExecutionPlanRequest-2.2.xsd @@ -0,0 +1,697 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Execution Plan Request. Details + A document sent by a transport user to request a transport service from a transport service provider. + Transport Execution Plan Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Execution Plan Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Execution Plan Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Execution Plan Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Execution Plan Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Execution Plan Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Execution Plan Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Version. Identifier + An identifier for the current version of the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Transport Execution Plan Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Execution Plan Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Execution Plan Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Execution Plan Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transport Execution Plan Request + Issue Date + Date + Date. Type + Transport Document Date + + + + + + + + + BBIE + Transport Execution Plan Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transport Execution Plan Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Document Status Code. Code + A code signifying the status of the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Document Status Reason Code. Code + A code signifying a reason associated with the status of the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Document Status Reason Code + Code + Code. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Document Status Reason Description. Text + A reason associated with the status of the Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Document Status Reason Description + Text + Text. Type + 123 Standard Chartered Tower + + + + + + + + + BBIE + Transport Execution Plan Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Execution Plan Request + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Transport User_ Remarks. Text + Remarks from the transport user regarding the transport operations referenced in the Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Transport User + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Transport Execution Plan Request. Sender_ Party. Party + The party sending the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Receiver_ Party. Party + The party receiving the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport User_ Party. Party + The party requesting the transport services referenced in the Transport Execution Plan Request. + 1 + Transport Execution Plan Request + Transport User + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Service Provider_ Party. Party + The party providing the transport services referenced in the Transport Execution Plan Request. + 1 + Transport Execution Plan Request + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Payee_ Party. Party + The party that will pay for the transport service(s) referred to in a Transport Execution Plan. + 0..1 + Transport Execution Plan Request + Payee + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Signature + A signature applied to this document. + 0..n + Transport Execution Plan Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Execution Plan_ Document Reference. Document Reference + A reference to an original Transport Execution Plan Document. + 0..1 + Transport Execution Plan Request + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Service Description_ Document Reference. Document Reference + A reference to the Transport Service Description, which is used by a transport service provider to announce transport services to transport users (buyers). + 0..1 + Transport Execution Plan Request + Transport Service Description + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan Request. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Transport Execution Plan Request + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport_ Contract. Contract + A potential contract related to the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Transport + Contract + Contract + Contract + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Service Provider Response Deadline_ Period. Period + A deadline for a response from the Transport Service Provider to this Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Transport Service Provider Response Deadline + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan Request. Main_ Transportation Service. Transportation Service + A description of the main transportation service referenced in the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Main + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan Request. Additional_ Transportation Service. Transportation Service + A description of an additional transportation service referenced in the Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Additional + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan Request. Service Start Time_ Period. Period + The period within which the services referred to in the Transport Execution Plan Request must begin. + 0..1 + Transport Execution Plan Request + Service Start Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan Request. Service End Time_ Period. Period + The period during which the services referred to in the Transport Execution Plan Request must be completed. + 0..1 + Transport Execution Plan Request + Service End Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan Request. From_ Location. Location + The location of origin of the transport service referenced in the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + From + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan Request. To_ Location. Location + The destination location for the transport service referenced in the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + To + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan Request. At_ Location. Location + The location of a transport service (e.g., terminal handling service) that does not require transport movement. + 0..1 + Transport Execution Plan Request + At + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Execution Terms + A description of terms and conditions related to the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Transport Execution Terms + Transport Execution Terms + Transport Execution Terms + + + + + + + + + ASBIE + Transport Execution Plan Request. Consignment + A description of an identifiable collection of goods items to be transported between the consignor and the consignee. This information may be defined within a transport contract. A consignment may comprise more than one shipment (e.g., when consolidated by a freight forwarder). + 1..n + Transport Execution Plan Request + Consignment + Consignment + Consignment + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportProgressStatus-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportProgressStatus-2.2.xsd new file mode 100644 index 0000000..41d8090 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportProgressStatus-2.2.xsd @@ -0,0 +1,397 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Progress Status. Details + A document sent from a Transportation Network Manager to a Transport Service Provider giving the status of the whereabouts and schedule of the transport means involved in a transport service. + Transport Progress Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Progress Status. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Progress Status + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Progress Status + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Progress Status + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Progress Status + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Progress Status + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Progress Status + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Progress Status. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Progress Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Transport Progress Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Progress Status. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Transport Progress Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Progress Status. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Progress Status + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Progress Status. Status Available_ Indicator. Indicator + Indicates whether transport progress information is available. + 0..1 + Transport Progress Status + Status Available + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Transport Progress Status. Signature + A signature applied to this document. + 0..n + Transport Progress Status + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Progress Status. Sender_ Party. Party + The party sending the Transport Progress Status. + 0..1 + Transport Progress Status + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status. Receiver_ Party. Party + The party receiving the Transport Progress Status. + 0..1 + Transport Progress Status + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status. Source Issuer_ Party. Party + The party that is the source of the Transport Progress Status. + 0..1 + Transport Progress Status + Source Issuer + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status. Transport Progress Status Request_ Document Reference. Document Reference + A reference to the Transport Progress Status Request document to which this status report is a response. + 0..1 + Transport Progress Status + Transport Progress Status Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Progress Status. Transport Means + The transport means by which the current transport service is effectuated. + 1 + Transport Progress Status + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Progress Status. Transport Schedule + Describes the status and schedule of the transport means operating the transport service as well as the current location of the transport means. + 0..n + Transport Progress Status + Transport Schedule + Transport Schedule + Transport Schedule + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportProgressStatusRequest-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportProgressStatusRequest-2.2.xsd new file mode 100644 index 0000000..73cbc17 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportProgressStatusRequest-2.2.xsd @@ -0,0 +1,346 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Progress Status Request. Details + A document sent from a transport service provider to a transportation network manager requesting a Transport Progress Status. + Transport Progress Status Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Progress Status Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Progress Status Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Progress Status Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Progress Status Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Progress Status Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Progress Status Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Progress Status Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Progress Status Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Progress Status Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Transport Progress Status Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Progress Status Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Transport Progress Status Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Progress Status Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Progress Status Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Transport Progress Status Request. Signature + A signature applied to this document. + 0..n + Transport Progress Status Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Progress Status Request. Sender_ Party. Party + The party sending the Transport Progress Status Request. + 0..1 + Transport Progress Status Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status Request. Receiver_ Party. Party + The party receiving the Transport Progress Status Request. + 0..1 + Transport Progress Status Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status Request. Transport Means + The transport means by which the current transport service is effectuated and for which status is requested. + 1 + Transport Progress Status Request + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Progress Status Request. Status_ Location. Location + A location for which status is requested. + 0..n + Transport Progress Status Request + Status + Location + Location + Location + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportServiceDescription-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportServiceDescription-2.2.xsd new file mode 100644 index 0000000..73e9914 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportServiceDescription-2.2.xsd @@ -0,0 +1,431 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Service Description. Details + A document sent by a transport service provider to announce the availability of a transport service. + Transport Service Description + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Service Description. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Service Description + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Service Description + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Service Description + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Service Description + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Service Description + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Service Description + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Service Description. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Service Description + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transport Service Description + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Service Description. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transport Service Description + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Service Description. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Service Description + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Service Description. Service Name. Name + A name, assigned by the Transport Service Provider, for the service being announced. + 0..1 + Transport Service Description + Service Name + Name + Name. Type + + + + + + + + + BBIE + Transport Service Description. Response Code. Code + A code signifying a response related to the Transport Service Description. + 0..1 + Transport Service Description + Response Code + Code + Code. Type + + + + + + + + + ASBIE + Transport Service Description. Signature + A signature applied to this document. + 0..n + Transport Service Description + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Service Description. Sender_ Party. Party + The party sending the Transport Service Description. + 0..1 + Transport Service Description + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description. Receiver_ Party. Party + The party receiving the Transport Service Description. + 0..1 + Transport Service Description + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description. Transport Service Description Request_ Document Reference. Document Reference + A Transport Service Description Request to which this Transport Service Description is a response. + 0..1 + Transport Service Description + Transport Service Description Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Service Description. Transport Service Provider_ Party. Party + The transport service provider. + 0..1 + Transport Service Description + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description. Service Charge_ Payment Terms. Payment Terms + The terms of payment under which the transport service would be provided. + 0..1 + Transport Service Description + Service Charge + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Service Description. Validity_ Period. Period + A period during which this Transport Service Description is valid. + 0..1 + Transport Service Description + Validity + Period + Period + Period + + + + + + + + + ASBIE + Transport Service Description. Transportation Service + A transportation service announced in this Transport Service Description. + 0..n + Transport Service Description + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportServiceDescriptionRequest-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportServiceDescriptionRequest-2.2.xsd new file mode 100644 index 0000000..ea0e7e1 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportServiceDescriptionRequest-2.2.xsd @@ -0,0 +1,364 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Service Description Request. Details + A document requesting a Transport Service Description, sent from a party with a transport demand (transport user) to a party providing transport services (transport service provider). + Transport Service Description Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Service Description Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Service Description Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Service Description Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Service Description Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Service Description Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Service Description Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Service Description Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Service Description Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Service Description Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Transport Service Description Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Service Description Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Transport Service Description Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Service Description Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Service Description Request + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Service Description Request. Service Information Preference Code. Code + A code signifying the category of service information requested to be provided in the Transport Service Description. + 0..1 + Transport Service Description Request + Service Information Preference Code + Code + Code. Type + + + + + + + + + ASBIE + Transport Service Description Request. Signature + A signature applied to this document. + 0..n + Transport Service Description Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Service Description Request. Sender_ Party. Party + The party sending the Transport Service Description Request. + 0..1 + Transport Service Description Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description Request. Receiver_ Party. Party + The party receiving the Transport Service Description Request. + 0..1 + Transport Service Description Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description Request. Transport Service Provider_ Party. Party + The transport service provider. + 0..1 + Transport Service Description Request + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description Request. Transportation Service + A transportation service about which information is requested. + 1..n + Transport Service Description Request + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportationStatus-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportationStatus-2.2.xsd new file mode 100644 index 0000000..cfa7cff --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportationStatus-2.2.xsd @@ -0,0 +1,567 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transportation Status. Details + A document to circulate reports of transportation status or changes in status (events) among a group of participants. + Transportation Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transportation Status. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transportation Status + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Transportation Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transportation Status + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Transportation Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transportation Status + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Transportation Status. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transportation Status + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Transportation Status. Identifier + An identifier for this document, assigned by the sender. + 1 + Transportation Status + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Carrier Assigned_ Identifier. Identifier + A reference number assigned by a carrier or its agent to identify a specific shipment, such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Transportation Status + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transportation Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transportation Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transportation Status. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transportation Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transportation Status. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Transportation Status + Name + Name + Name. Type + + + + + + + + + BBIE + Transportation Status. Description. Text + A textual description of transportation status. + 0..n + Transportation Status + Description + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transportation Status + Note + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Shipping Order Identifier. Identifier + A reference number for a shipping order. + 0..1 + Transportation Status + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Other_ Instruction. Text + An instruction regarding this message. + 0..1 + Transportation Status + Other + Instruction + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Transportation Status Type Code. Code + A code signifying the type of status provided in a Transportation Status document. + 0..1 + Transportation Status + Transportation Status Type Code + Code + Code. Type + + + + + + + + + BBIE + Transportation Status. Transport Execution Status Code. Code + A code signifying the overall status of transport service execution. + 0..1 + Transportation Status + Transport Execution Status Code + Code + Code. Type + + + + + + + + + ASBIE + Transportation Status. Consignment + A consignment associated with this Transportation Status report. + 0..n + Transportation Status + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Transportation Status. Transport Event + An event associated with this Transportation Status report. + 0..n + Transportation Status + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Status. Document Reference + A reference to another document associated with this document. + 0..n + Transportation Status + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status. Signature + A signature applied to this document. + 0..n + Transportation Status + Signature + Signature + Signature + + + + + + + + + ASBIE + Transportation Status. Sender_ Party. Party + The party sending this Transportation Status report. + 0..1 + Transportation Status + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status. Receiver_ Party. Party + The party receiving this Transportation Status report. + 0..1 + Transportation Status + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status. Transportation Status Request_ Document Reference. Document Reference + A reference to the Transportation Status Request to which this report is a response. + 0..1 + Transportation Status + Transportation Status Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status. Transport Execution Plan_ Document Reference. Document Reference + A reference to the Transport Execution Plan associated with the transport service whose status is being reported. + 0..1 + Transportation Status + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status. Updated Pickup_ Transport Event. Transport Event + Update of the original plan regarding a pickup of goods. + 0..1 + Transportation Status + Updated Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Status. Updated Delivery_ Transport Event. Transport Event + Update of the original plan regarding a delivery. + 0..1 + Transportation Status + Updated Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Status. Status_ Location. Location + Locations associated with this Transportation Status report. + 0..n + Transportation Status + Status + Location + Location + Location + + + + + + + + + ASBIE + Transportation Status. Status_ Period. Period + A period for which status is provided. + 0..n + Transportation Status + Status + Period + Period + Period + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportationStatusRequest-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportationStatusRequest-2.2.xsd new file mode 100644 index 0000000..f051cec --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportationStatusRequest-2.2.xsd @@ -0,0 +1,485 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transportation Status Request. Details + A document requesting a Transportation Status report. + Transportation Status Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transportation Status Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transportation Status Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Transportation Status Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transportation Status Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Transportation Status Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transportation Status Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Transportation Status Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transportation Status Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Transportation Status Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transportation Status Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. Carrier Assigned_ Identifier. Identifier + A reference number assigned by a carrier or its agent to identify a specific shipment, such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Transportation Status Request + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transportation Status Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transportation Status Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transportation Status Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transportation Status Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transportation Status Request. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Transportation Status Request + Name + Name + Name. Type + + + + + + + + + BBIE + Transportation Status Request. Description. Text + A textual description of the document instance. + 0..n + Transportation Status Request + Description + Text + Text. Type + + + + + + + + + BBIE + Transportation Status Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transportation Status Request + Note + Text + Text. Type + + + + + + + + + BBIE + Transportation Status Request. Shipping Order Identifier. Identifier + A reference number for a shipping order. + 0..1 + Transportation Status Request + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. Other_ Instruction. Text + An instruction regarding this message. + 0..1 + Transportation Status Request + Other + Instruction + Text + Text. Type + + + + + + + + + BBIE + Transportation Status Request. Transportation Status Type Code. Code + A code signifying the type of status requested in a Transportation Status document. + 0..1 + Transportation Status Request + Transportation Status Type Code + Code + Code. Type + + + + + + + + + ASBIE + Transportation Status Request. Sender_ Party. Party + The party sending this document. + 0..1 + Transportation Status Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status Request. Receiver_ Party. Party + The party receiving this document. + 0..1 + Transportation Status Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status Request. Transport Execution Plan_ Document Reference. Document Reference + A reference to the Transport Execution Plan associated with the transport service for which status is requested. + 0..1 + Transportation Status Request + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status Request. Consignment + A consignment regarding which status is requested. + 0..n + Transportation Status Request + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Transportation Status Request. Document Reference + A reference to another document associated with this document. + 0..n + Transportation Status Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status Request. Signature + A signature applied to this document. + 0..n + Transportation Status Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transportation Status Request. Requested Status_ Location. Location + A location for which status is requested. + 0..n + Transportation Status Request + Requested Status + Location + Location + Location + + + + + + + + + ASBIE + Transportation Status Request. Requested Status_ Period. Period + A period for which status is requested. + 0..n + Transportation Status Request + Requested Status + Period + Period + Period + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnawardedNotification-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnawardedNotification-2.2.xsd new file mode 100644 index 0000000..c1bf68e --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnawardedNotification-2.2.xsd @@ -0,0 +1,416 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Unawarded Notification. Details + A document communicating to a tenderer that the contract has been awarded to different tenderer. + Unawarded Notification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Unawarded Notification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Unawarded Notification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Unawarded Notification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Unawarded Notification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Unawarded Notification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Unawarded Notification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Unawarded Notification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Unawarded Notification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Unawarded Notification. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Unawarded Notification + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unawarded Notification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Unawarded Notification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Unawarded Notification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Unawarded Notification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Unawarded Notification. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Unawarded Notification + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unawarded Notification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Unawarded Notification + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Unawarded Notification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Unawarded Notification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Unawarded Notification. Contract Name. Name + The name, expressed as text, of this procurement project. + 0..n + Unawarded Notification + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Unawarded Notification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Unawarded Notification + Note + Text + Text. Type + + + + + + + + + ASBIE + Unawarded Notification. Signature + A signature applied to this document. + 0..n + Unawarded Notification + Signature + Signature + Signature + + + + + + + + + ASBIE + Unawarded Notification. Sender_ Party. Party + The party sending this document. + 1 + Unawarded Notification + Sender + Party + Party + Party + + + + + + + + + ASBIE + Unawarded Notification. Receiver_ Party. Party + The party receiving this document. + 1 + Unawarded Notification + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Unawarded Notification. Minutes_ Document Reference. Document Reference + A reference to a set of minutes associated with this award. + 0..1 + Unawarded Notification + Minutes + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Unawarded Notification. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. It can be used to include annex documents such as the minutes of the awarding process meetings. + 0..n + Unawarded Notification + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Unawarded Notification. Tender Result + An association to the Tender Result being notified + 1..n + Unawarded Notification + Tender Result + Tender Result + Tender Result + + + + + + + + + ASBIE + Unawarded Notification. Appeal Terms + Terms of appeal for this tendering process. + 0..1 + Unawarded Notification + Appeal Terms + Appeal Terms + Appeal Terms + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnsubscribeFromProcedureRequest-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnsubscribeFromProcedureRequest-2.2.xsd new file mode 100644 index 0000000..cebf196 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnsubscribeFromProcedureRequest-2.2.xsd @@ -0,0 +1,361 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Unsubscribe From Procedure Request. Details + A request to unsubscribe from a tendering procedure. Economic Operators can subscribe to a tendering procedure using the Expression Of Interest. Upon subscription, the Economic Operator keeps receiving relevant documentation for the tendering process. The unsubscribe to procedure document allows the Economic Operator to be removed from the list of interested parties. + Unsubscribe From Procedure Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Unsubscribe From Procedure Request. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Unsubscribe From Procedure Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Unsubscribe From Procedure Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Unsubscribe From Procedure Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Unsubscribe From Procedure Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Unsubscribe From Procedure Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Unsubscribe From Procedure Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Unsubscribe From Procedure Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Unsubscribe From Procedure Request + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Unsubscribe From Procedure Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Unsubscribe From Procedure Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Unsubscribe From Procedure Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Unsubscribe From Procedure Request. Signature + A signature applied to this document. + 0..n + Unsubscribe From Procedure Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Unsubscribe From Procedure Request. Economic Operator Party + The Economic Operator issuing this unsubscribe request. + 1 + Unsubscribe From Procedure Request + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Unsubscribe From Procedure Request. Contracting Party + The Contracting Party. + 1 + Unsubscribe From Procedure Request + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Unsubscribe From Procedure Request. Procurement Project + An overall definition of this procurement project. + 0..1 + Unsubscribe From Procedure Request + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Unsubscribe From Procedure Request. Procurement Project Lot Reference + One of the procurement project lots into which this contract can be split. + 0..n + Unsubscribe From Procedure Request + Procurement Project Lot Reference + Procurement Project Lot Reference + Procurement Project Lot Reference + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnsubscribeFromProcedureResponse-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnsubscribeFromProcedureResponse-2.2.xsd new file mode 100644 index 0000000..faae09c --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnsubscribeFromProcedureResponse-2.2.xsd @@ -0,0 +1,380 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Unsubscribe From Procedure Response. Details + A document sent from a Contracting Party to the Economic Operator confirming that the latter has been unsubscribed from a tendering procedure. + Unsubscribe From Procedure Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Unsubscribe From Procedure Response. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Unsubscribe From Procedure Response + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Unsubscribe From Procedure Response + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Unsubscribe From Procedure Response + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Unsubscribe From Procedure Response + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Identifier + An identifier for this document, assigned by the sender. + 1 + Unsubscribe From Procedure Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Unsubscribe From Procedure Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Unsubscribe From Procedure Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Unsubscribe From Procedure Response + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Unsubscribe From Procedure Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Unsubscribe From Procedure Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Unsubscribe From Procedure Response + Note + Text + Text. Type + + + + + + + + + ASBIE + Unsubscribe From Procedure Response. Unsubscribe To Procedure_ Document Reference. Document Reference + A reference to the unsubscribe to procedure document associated with this confirmation. + 0..1 + Unsubscribe From Procedure Response + Unsubscribe To Procedure + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Unsubscribe From Procedure Response. Signature + A signature applied to this document. + 0..n + Unsubscribe From Procedure Response + Signature + Signature + Signature + + + + + + + + + ASBIE + Unsubscribe From Procedure Response. Economic Operator Party + The Economic Operator receiving this unsubscribe to procedure confirmation. + 1 + Unsubscribe From Procedure Response + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Unsubscribe From Procedure Response. Contracting Party + The Contracting Party. + 1 + Unsubscribe From Procedure Response + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Unsubscribe From Procedure Response. Procurement Project + An overall definition of this procurement project. + 0..1 + Unsubscribe From Procedure Response + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Unsubscribe From Procedure Response. Procurement Project Lot Reference + One of the procurement project lots into which this contract can be split. + 0..n + Unsubscribe From Procedure Response + Procurement Project Lot Reference + Procurement Project Lot Reference + Procurement Project Lot Reference + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UtilityStatement-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UtilityStatement-2.2.xsd new file mode 100644 index 0000000..dd38610 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UtilityStatement-2.2.xsd @@ -0,0 +1,491 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Utility Statement. Details + A supplement to an Invoice or Credit Note, containing information on the consumption of services provided by utility suppliers to private and public customers, including electricity, gas, water, and telephone services. + Utility Statement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Utility Statement. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Utility Statement + UBL Version Identifier + Identifier + Identifier. Type + 2.0 + + + + + + + + + BBIE + Utility Statement. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Utility Statement + Customization Identifier + Identifier + Identifier. Type + OIOUBL-2.02 + + + + + + + + + BBIE + Utility Statement. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Utility Statement + Profile Identifier + Identifier + Identifier. Type + Reference-Utility-1.0 + + + + + + + + + BBIE + Utility Statement. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Utility Statement + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Utility Statement. Identifier + An identifier for this document, assigned by the sender. + 1 + Utility Statement + Identifier + Identifier + Identifier. Type + 61014906x-1 + + + + + + + + + BBIE + Utility Statement. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Utility Statement + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Utility Statement. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Utility Statement + UUID + Identifier + Identifier. Type + 9756b4d0-8815-1029-857a-e388fe63f499 + + + + + + + + + BBIE + Utility Statement. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Utility Statement + Issue Date + Date + Date. Type + 2007-12-12 + + + + + + + + + BBIE + Utility Statement. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Utility Statement + Issue Time + Time + Time. Type + 12:32:56 + + + + + + + + + BBIE + Utility Statement. Utility Statement Type Code. Code + A code signifying the type of Utility Statement. + 1 + Utility Statement + Utility Statement Type Code + Code + Code. Type + Electricity + + + + + + + + + BBIE + Utility Statement. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Utility Statement + Note + Text + Text. Type + Concerning account remark + + + + + + + + + BBIE + Utility Statement. Document_ Currency Code. Code + A code signifying the default currency for this document. + 1 + Utility Statement + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Utility Statement. Accounting Cost Code. Code + The buyer's accounting cost code, applied to the UtilityStatement. + 0..1 + Utility Statement + Accounting Cost Code + Code + Code. Type + 5050.0 + + + + + + + + + BBIE + Utility Statement. Accounting Cost. Text + The buyer's accounting cost code, applied to the UtilityStatement, expressed as text. + 0..1 + Utility Statement + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Utility Statement. Parent_ Document Reference. Document Reference + A reference to the parent Invoice or Credit Note. + 1 + Utility Statement + Parent + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Utility Statement. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Utility Statement + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Utility Statement. Signature + A signature applied to this document. + 0..n + Utility Statement + Signature + Signature + Signature + + + + + + + + + ASBIE + Utility Statement. Sender_ Party. Party + The party sending this document. + 1 + Utility Statement + Sender + Party + Party + Party + + + + + + + + + ASBIE + Utility Statement. Receiver_ Party. Party + The party receiving this document. + 1 + Utility Statement + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Utility Statement. Customer Party + The buyer, if different from the receiver of the document. + 0..1 + Utility Statement + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Utility Statement. Subscriber_ Party. Party + The subscriber (user or receiver of the service), if different from the buyer and from the party receiving this document. + 0..1 + Utility Statement + Subscriber + Party + Party + Party + + + + + + + + + ASBIE + Utility Statement. Main_ On Account Payment. On Account Payment + A payment on an account. + 0..n + Utility Statement + Main + On Account Payment + On Account Payment + On Account Payment + + + + + + + + + ASBIE + Utility Statement. Subscriber Consumption + A utility statement for a particular consumption point. + 0..n + Utility Statement + Subscriber Consumption + Subscriber Consumption + Subscriber Consumption + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Waybill-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Waybill-2.2.xsd new file mode 100644 index 0000000..6888321 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Waybill-2.2.xsd @@ -0,0 +1,502 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Waybill. Details + A transport document describing a shipment It is issued by the party who undertakes to provide transportation services, or undertakes to arrange for their provision, to the party who gives instructions for the transportation services (shipper, consignor, etc.). It states the instructions for the beneficiary and may contain the details of the transportation, charges, and terms and conditions under which the transportation service is provided. + Waybill + Consignment Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Waybill. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Waybill + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Waybill. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Waybill + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Waybill. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Waybill + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Waybill. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Waybill + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Waybill. Identifier + An identifier for this document, assigned by the sender. + 1 + Waybill + Identifier + Identifier + Identifier. Type + Master Waybill Number + + + + + + + + + BBIE + Waybill. Carrier Assigned_ Identifier. Identifier + An identifier (in the form of a reference number) assigned by a carrier or its agent to identify a specific shipment. + 0..1 + Waybill + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Waybill + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Waybill + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Waybill. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Waybill + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Waybill. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Waybill + Name + Name + Name. Type + Air Waybill , House Waybill + + + + + + + + + BBIE + Waybill. Description. Text + Text describing the contents of the Waybill. + 0..n + Waybill + Description + Text + Text. Type + + + + + + + + + BBIE + Waybill. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Waybill + Note + Text + Text. Type + + + + + + + + + BBIE + Waybill. Shipping Order Identifier. Identifier + An identifier (in the form of a reference number) of the Shipping Order or Forwarding Instruction associated with this shipment. + 0..1 + Waybill + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Waybill + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Waybill. Declared Carriage_ Value. Amount + Value declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage in case of loss or damage to goods or delayed delivery. + 0..1 + Waybill + Declared Carriage + Value + Amount + Amount. Type + + + + + + + + + BBIE + Waybill. Other_ Instruction. Text + Other free-text instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Waybill + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Waybill. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Waybill + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Waybill. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Waybill + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Waybill. Freight Forwarder_ Party. Party + A party combining individual smaller consignments into a single larger shipment (a so-called consolidated consignment or shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Waybill + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Waybill. Shipment + A description of the shipment. + 1 + Waybill + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Waybill. Document Reference + A reference to another document associated with this document. + 0..n + Waybill + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Waybill. Exchange Rate + Information about the rate of exchange (conversion) between two currencies. + 0..n + Waybill + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Waybill. Document Distribution + A list of interested parties to whom this document is distributed. + 0..n + Waybill + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Waybill. Signature + A signature applied to this document. + 0..n + Waybill + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-WeightStatement-2.2.xsd b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-WeightStatement-2.2.xsd new file mode 100644 index 0000000..41bea90 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-WeightStatement-2.2.xsd @@ -0,0 +1,368 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Weight Statement. Details + A document used to report weight or verified mass measurements in the transport chain. + Weight Statement + Weight Declaration, Weight Certificate + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Weight Statement. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Weight Statement + UBL Version Identifier + Identifier + Identifier. Type + 2.2 + + + + + + + + + BBIE + Weight Statement. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Weight Statement + Customization Identifier + Identifier + Identifier. Type + SMDG + + + + + + + + + BBIE + Weight Statement. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Weight Statement + Profile Identifier + Identifier + Identifier. Type + SOLAS + + + + + + + + + BBIE + Weight Statement. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Weight Statement + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Weight Statement. Identifier + An identifier for this document, assigned by the sender. + 1 + Weight Statement + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Weight Statement. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Weight Statement + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Weight Statement. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Weight Statement + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Weight Statement. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Weight Statement + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Weight Statement. Weight Statement Type Code. Code + A code signifying the type of Weight Statement. + 0..1 + Weight Statement + Weight Statement Type Code + Code + Code. Type + VGM, WeightCertificate + + + + + + + + + ASBIE + Weight Statement. Signature + A signature applied to this document. + 0..n + Weight Statement + Signature + Signature + Signature + + + + + + + + + ASBIE + Weight Statement. Sender_ Party. Party + The party sending this weight statement (e.g. Weighing Station, Shipper, Freight Forwarder, Carrier, ...). + 1 + Weight Statement + Sender + Party + Party + Party + + + + + + + + + ASBIE + Weight Statement. Receiver_ Party. Party + The party receiving this weight statement (e.g. Carrier, Terminal Operator, ...). + 1 + Weight Statement + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Weight Statement. Weighing_ Party. Party + The party executing the weight measure (e.g. Weighing Station). + 0..1 + Weight Statement + Weighing + Party + Party + Party + + + + + + + + + ASBIE + Weight Statement. Shipper_ Party. Party + The party playing the role of the Shipper (BCO, FF or NVOCC) who is responsible for the VGM (e.g. according the SOLAS Convention). + 0..1 + Weight Statement + Shipper + Party + Party + Party + + + + + + + + + ASBIE + Weight Statement. Responsible_ Party. Party + The party responsible for signing the VGM on behalf of the Shipper. + 0..1 + Weight Statement + Responsible + Party + Party + Party + + + + + + + + + ASBIE + Weight Statement. Shipment + The relevant shipment information with details on the transport equipment weight or mass measurements, including verified gross mass (VGM) information. + 1 + Weight Statement + Shipment + Shipment + Shipment + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/base_ubl.pot b/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/base_ubl.pot new file mode 100644 index 0000000..a14dbe2 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/base_ubl.pot @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_ubl +#: model:ir.model,name:base_ubl.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%(tax_name)s'" +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%(tax_name)s'" +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE code on unit of measure '%s'" +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file does not contain the version for validating the content " +"according to the schema." +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file is not valid against the official XML Schema Definition. " +"The XML file and the full error have been written in the server logs. Here " +"is the error, which may give you an idea on the cause of the problem : " +"%(error)s." +msgstr "" diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/bs.po b/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/bs.po new file mode 100644 index 0000000..946822a --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/bs.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_ubl +#: model:ir.model,name:base_ubl.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Uobičajene metode za generiranje i parsiranje UBL XML datoteka" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%(tax_name)s'" +msgstr "Nedostaje UNECE kategorija poreza na '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%(tax_name)s'" +msgstr "Nedostaje UNECE tip poreza na '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE code on unit of measure '%s'" +msgstr "Nedostaje UNECE šifra jedinice mjere za '%s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file does not contain the version for validating the content " +"according to the schema." +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file is not valid against the official XML Schema Definition. " +"The XML file and the full error have been written in the server logs. Here " +"is the error, which may give you an idea on the cause of the problem : " +"%(error)s." +msgstr "" diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/es.po b/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/es.po new file mode 100644 index 0000000..2e25393 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/es.po @@ -0,0 +1,70 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-08-07 11:09+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_ubl +#: model:ir.model,name:base_ubl.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Métodos habituales para generar y analizar archivos XML UBL" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%(tax_name)s'" +msgstr "" +"Falta la categoría fiscal de la UNECE (CEPE) en el impuesto '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%(tax_name)s'" +msgstr "Falta el tipo de impuesto UNECE en el impuesto '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE code on unit of measure '%s'" +msgstr "Falta el código UNECE en la unidad de medida '%s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file does not contain the version for validating the content " +"according to the schema." +msgstr "" +"El archivo UBL XML no contiene la versión para validar el contenido según el " +"esquema." + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file is not valid against the official XML Schema Definition. " +"The XML file and the full error have been written in the server logs. Here " +"is the error, which may give you an idea on the cause of the problem : " +"%(error)s." +msgstr "" +"El archivo UBL XML no es válido frente a la definición de esquema XML " +"oficial. El archivo XML y el error completo se han escrito en los registros " +"del servidor. Aquí está el error, que puede darle una idea de la causa del " +"problema: %(error)s." diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/fr.po b/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/fr.po new file mode 100644 index 0000000..3ba71e6 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/fr.po @@ -0,0 +1,101 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-12 13:37+0000\n" +"PO-Revision-Date: 2024-04-22 12:35+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_ubl +#: model:ir.model,name:base_ubl.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Méthodes courantes pour générer et analyser les fichiers UBL XML" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%(tax_name)s'" +msgstr "Catégorie de taxe UNECE manquante '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%(tax_name)s'" +msgstr "Type de taxe UNECE manquante sur la taxe '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE code on unit of measure '%s'" +msgstr "Code UNECE manquant pour l'unité de mesure '%s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file does not contain the version for validating the content " +"according to the schema." +msgstr "" +"Le fichier XML UBL ne contient pas la version permettant de valider le " +"contenu selon le schéma." + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file is not valid against the official XML Schema Definition. " +"The XML file and the full error have been written in the server logs. Here " +"is the error, which may give you an idea on the cause of the problem : " +"%(error)s." +msgstr "" +"Le fichier XML UBL est invalid par rapport à son schéma de définition " +"officiel. Le fichier XML ainsi que l'erreur complète se trouvent dans les " +"logs serveur. Voici l'erreur qui peut donner une idée de la cause du " +"problème : %(error)s." + +#~ msgid "Display Name" +#~ msgstr "Afficher Nom" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Dernière modification le" + +#, python-format +#~ msgid "Missing UNECE Tax Category on tax '%s'" +#~ msgstr "Catégorie de taxe UNECE manquante pour la taxe '%s'" + +#, python-format +#~ msgid "Missing UNECE Tax Type on tax '%s'" +#~ msgstr "Type de taxe UNECE manquant pour la taxe '%s'" + +#, python-format +#~ msgid "" +#~ "The UBL XML file is not valid against the official XML Schema Definition. " +#~ "The XML file and the full error have been written in the server logs. " +#~ "Here is the error, which may give you an idea on the cause of the " +#~ "problem : %s." +#~ msgstr "" +#~ "Le fichier XML UBL n'est pas valide par rapport à la définition " +#~ "officielle du schéma XML. Le fichier XML et l'erreur complète ont été " +#~ "écrits dans les journaux du serveur. Voici l'erreur, qui peut vous donner " +#~ "une idée de la cause du problème : %s." diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/hr.po b/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/hr.po new file mode 100644 index 0000000..54715f1 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/hr.po @@ -0,0 +1,93 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-06-02 12:09+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_ubl +#: model:ir.model,name:base_ubl.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Uobičajene metode za generiranje i parsiranje UBL XML datoteka" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%(tax_name)s'" +msgstr "Nedostaje UNECE kategorija poreza na '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%(tax_name)s'" +msgstr "Nedostaje UNECE tip poreza na '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE code on unit of measure '%s'" +msgstr "Nedostaje UNECE šifra jedinice mjere za '%s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file does not contain the version for validating the content " +"according to the schema." +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file is not valid against the official XML Schema Definition. " +"The XML file and the full error have been written in the server logs. Here " +"is the error, which may give you an idea on the cause of the problem : " +"%(error)s." +msgstr "" + +#~ msgid "Display Name" +#~ msgstr "Naziv" + +#, fuzzy +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Zadnja modifikacija" + +#, python-format +#~ msgid "Missing UNECE Tax Category on tax '%s'" +#~ msgstr "Nedostaje UNECE kategorija poreza na porezu '%s'" + +#, python-format +#~ msgid "Missing UNECE Tax Type on tax '%s'" +#~ msgstr "Nedostaje UNECE tip poreza na porezu '%s'" + +#, python-format +#~ msgid "" +#~ "The UBL XML file is not valid against the official XML Schema Definition. " +#~ "The XML file and the full error have been written in the server logs. " +#~ "Here is the error, which may give you an idea on the cause of the " +#~ "problem : %s." +#~ msgstr "" +#~ "UBL datoteka nije valjana prema službenoj XML schemi. XML datoteka i puni " +#~ "opis greške je zapisan u serverski log. Ovo je greška, možda imate ideju " +#~ "što nije u redu ili što je uzrok problemu: %s." diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/it.po b/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/it.po new file mode 100644 index 0000000..112bfd5 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/it.po @@ -0,0 +1,69 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_ubl +#: model:ir.model,name:base_ubl.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Metodi comuni per generare ed elaborare file UBL e XML" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%(tax_name)s'" +msgstr "Categoria imposta UNECE non presente nell'imposta %(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%(tax_name)s'" +msgstr "Categoria imposta UNECE non presente nell'imposta '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE code on unit of measure '%s'" +msgstr "Codice UNECE mancante nell'unità di misura '%s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file does not contain the version for validating the content " +"according to the schema." +msgstr "" +"Il file UBL XML non contiene la versione per validare il contenuto in " +"accordo allo schema." + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file is not valid against the official XML Schema Definition. " +"The XML file and the full error have been written in the server logs. Here " +"is the error, which may give you an idea on the cause of the problem : " +"%(error)s." +msgstr "" +"Il file XML generato non è valido per la definizione dello schema XML " +"ufficiale. Il file XML generato e l'errore completo sono stati scritti nel " +"log del server. Qui c'è l'errore, che potrebbe aiutare a capire la causa del " +"problema: %(error)s." diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/nl.po b/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/nl.po new file mode 100644 index 0000000..07825ed --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/i18n/nl.po @@ -0,0 +1,96 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-12-13 02:36+0000\n" +"Last-Translator: Bosd \n" +"Language-Team: none\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: base_ubl +#: model:ir.model,name:base_ubl.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "" +"Gemeenschappelijke methode voor het genereren en verwerken van UBL XML " +"bestanden" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%(tax_name)s'" +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%(tax_name)s'" +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE code on unit of measure '%s'" +msgstr "Ontbrekende UNECE code op maateenheid '%s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file does not contain the version for validating the content " +"according to the schema." +msgstr "" +"Het UBL XML bestand bevat geen versie informatie volgens het overeenkomstig " +"schema." + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file is not valid against the official XML Schema Definition. " +"The XML file and the full error have been written in the server logs. Here " +"is the error, which may give you an idea on the cause of the problem : " +"%(error)s." +msgstr "" + +#~ msgid "Display Name" +#~ msgstr "Weergave naam" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Laatst gewijzigd op" + +#, python-format +#~ msgid "Missing UNECE Tax Category on tax '%s'" +#~ msgstr "Ontbrekende UNECE belastings categorie '%s'" + +#, python-format +#~ msgid "Missing UNECE Tax Type on tax '%s'" +#~ msgstr "Ontbrekend UNECE belastingstype op belasting '%s'" + +#, python-format +#~ msgid "" +#~ "The UBL XML file is not valid against the official XML Schema Definition. " +#~ "The XML file and the full error have been written in the server logs. " +#~ "Here is the error, which may give you an idea on the cause of the " +#~ "problem : %s." +#~ msgstr "" +#~ "Het UBL XML bestand voldoet niet aan de officiele XML schma definitie. " +#~ "Het XML bestand en de volledige foutomschrijving zijn opgenomen in de " +#~ "errorlog van de server. De volgende foutmelding kan een hint zijn " +#~ "richting de oorzaak van het probleem: '%s'." diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/models/__init__.py b/odoo-bringout-oca-edi-base_ubl/base_ubl/models/__init__.py new file mode 100644 index 0000000..7ec1c77 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import ubl diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/models/ubl.py b/odoo-bringout-oca-edi-base_ubl/base_ubl/models/ubl.py new file mode 100644 index 0000000..a1bc8db --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/models/ubl.py @@ -0,0 +1,832 @@ +# © 2016-2017 Akretion (Alexis de Lattre ) +# Copyright 2019 Onestein () +# Copyright 2020 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +import logging +from io import BytesIO + +from lxml import etree + +from odoo import _, api, models +from odoo.exceptions import UserError +from odoo.tools import file_open, float_is_zero, float_round + +logger = logging.getLogger(__name__) + + +class BaseUbl(models.AbstractModel): + _name = "base.ubl" + _description = "Common methods to generate and parse UBL XML files" + + # ==================== METHODS TO GENERATE UBL files + + @api.model + def _ubl_add_country(self, country, parent_node, ns, version="2.1"): + country_root = etree.SubElement(parent_node, ns["cac"] + "Country") + country_code = etree.SubElement(country_root, ns["cbc"] + "IdentificationCode") + country_code.text = country.code + country_name = etree.SubElement(country_root, ns["cbc"] + "Name") + country_name.text = country.name + + @api.model + def _ubl_add_address(self, partner, node_name, parent_node, ns, version="2.1"): + address = etree.SubElement(parent_node, ns["cac"] + node_name) + if partner.street or partner.street2: + streetname = etree.SubElement(address, ns["cbc"] + "StreetName") + streetname.text = partner.street or partner.street2 + if partner.street and partner.street2: + addstreetname = etree.SubElement( + address, ns["cbc"] + "AdditionalStreetName" + ) + addstreetname.text = partner.street2 + # if oca/partner-contact/partner_address_street3 is installed + if hasattr(partner, "street3") and partner.street3: + # In an address, the real street is usually put in the last field + if partner.street and partner.street2: + # The first field is usually the Department + department = etree.SubElement(address, ns["cbc"] + "Department") + department.text = partner.street + streetname.text = partner.street2 + addstreetname.text = partner.street3 + elif partner.street or partner.street2: + addstreetname = etree.SubElement( + address, ns["cbc"] + "AdditionalStreetName" + ) + addstreetname.text = partner.street3 + else: + streetname = etree.SubElement(address, ns["cbc"] + "StreetName") + streetname.text = partner.street3 + if partner.city: + city = etree.SubElement(address, ns["cbc"] + "CityName") + city.text = partner.city + if partner.zip: + zip_code = etree.SubElement(address, ns["cbc"] + "PostalZone") + zip_code.text = partner.zip + if partner.state_id: + state = etree.SubElement(address, ns["cbc"] + "CountrySubentity") + state.text = partner.state_id.name + state_code = etree.SubElement(address, ns["cbc"] + "CountrySubentityCode") + state_code.text = partner.state_id.code + if partner.country_id: + self._ubl_add_country(partner.country_id, address, ns, version=version) + else: + logger.warning("UBL: missing country on partner %s", partner.name) + + @api.model + def _ubl_get_contact_id(self, partner): + return False + + @api.model + def _ubl_add_contact( + self, partner, parent_node, ns, node_name="Contact", version="2.1" + ): + contact = etree.SubElement(parent_node, ns["cac"] + node_name) + contact_id_text = self._ubl_get_contact_id(partner) + if contact_id_text: + contact_id = etree.SubElement(contact, ns["cbc"] + "ID") + contact_id.text = contact_id_text + if partner.parent_id: + contact_name = etree.SubElement(contact, ns["cbc"] + "Name") + contact_name.text = partner.name or partner.parent_id.name + phone = partner.phone or partner.commercial_partner_id.phone + if phone: + telephone = etree.SubElement(contact, ns["cbc"] + "Telephone") + telephone.text = phone + email = partner.email or partner.commercial_partner_id.email + if email: + electronicmail = etree.SubElement(contact, ns["cbc"] + "ElectronicMail") + electronicmail.text = email + + @api.model + def _ubl_add_language(self, lang_code, parent_node, ns, version="2.1"): + langs = self.env["res.lang"].search([("code", "=", lang_code)]) + if not langs: + return + lang = langs[0] + lang_root = etree.SubElement(parent_node, ns["cac"] + "Language") + lang_name = etree.SubElement(lang_root, ns["cbc"] + "Name") + lang_name.text = lang.name + lang_code = etree.SubElement(lang_root, ns["cbc"] + "LocaleCode") + lang_code.text = lang.code + + @api.model + def _ubl_get_party_identification(self, commercial_partner): + """This method is designed to be inherited in localisation modules + Should return a dict with key=SchemeName, value=Identifier""" + return {} + + @api.model + def _ubl_add_party_identification( + self, commercial_partner, parent_node, ns, version="2.1" + ): + id_dict = self._ubl_get_party_identification(commercial_partner) + if id_dict: + party_identification = etree.SubElement( + parent_node, ns["cac"] + "PartyIdentification" + ) + for scheme_name, party_id_text in id_dict.items(): + party_identification_id = etree.SubElement( + party_identification, ns["cbc"] + "ID", schemeName=scheme_name + ) + party_identification_id.text = party_id_text + return + + @api.model + def _ubl_get_tax_scheme_dict_from_partner(self, commercial_partner): + tax_scheme_dict = {"id": "VAT", "name": False, "type_code": False} + return tax_scheme_dict + + @api.model + def _ubl_add_party_tax_scheme( + self, commercial_partner, parent_node, ns, version="2.1" + ): + if commercial_partner.vat: + party_tax_scheme = etree.SubElement( + parent_node, ns["cac"] + "PartyTaxScheme" + ) + registration_name = etree.SubElement( + party_tax_scheme, ns["cbc"] + "RegistrationName" + ) + registration_name.text = commercial_partner.name + company_id = etree.SubElement(party_tax_scheme, ns["cbc"] + "CompanyID") + company_id.text = commercial_partner.vat + tax_scheme_dict = self._ubl_get_tax_scheme_dict_from_partner( + commercial_partner + ) + self._ubl_add_tax_scheme( + tax_scheme_dict, party_tax_scheme, ns, version=version + ) + + @api.model + def _ubl_add_party_legal_entity( + self, commercial_partner, parent_node, ns, version="2.1" + ): + party_legal_entity = etree.SubElement( + parent_node, ns["cac"] + "PartyLegalEntity" + ) + registration_name = etree.SubElement( + party_legal_entity, ns["cbc"] + "RegistrationName" + ) + registration_name.text = commercial_partner.name + self._ubl_add_address( + commercial_partner, + "RegistrationAddress", + party_legal_entity, + ns, + version=version, + ) + + @api.model + def _ubl_add_party( + self, partner, company, node_name, parent_node, ns, version="2.1" + ): + commercial_partner = partner.commercial_partner_id + party = etree.SubElement(parent_node, ns["cac"] + node_name) + if commercial_partner.website: + website = etree.SubElement(party, ns["cbc"] + "WebsiteURI") + website.text = commercial_partner.website + self._ubl_add_party_identification( + commercial_partner, party, ns, version=version + ) + party_name = etree.SubElement(party, ns["cac"] + "PartyName") + name = etree.SubElement(party_name, ns["cbc"] + "Name") + name.text = commercial_partner.name + if partner.lang: + self._ubl_add_language(partner.lang, party, ns, version=version) + self._ubl_add_address(partner, "PostalAddress", party, ns, version=version) + self._ubl_add_party_tax_scheme(commercial_partner, party, ns, version=version) + if commercial_partner.is_company or company: + self._ubl_add_party_legal_entity( + commercial_partner, party, ns, version="2.1" + ) + self._ubl_add_contact(partner, party, ns, version=version) + + def _ubl_get_customer_assigned_id(self, partner): + return partner.commercial_partner_id.ref + + @api.model + def _ubl_add_customer_party( + self, partner, company, node_name, parent_node, ns, version="2.1" + ): + """Please read the docstring of the method _ubl_add_supplier_party""" + if company: + if partner: + assert ( + partner.commercial_partner_id == company.partner_id + ), "partner is wrong" + else: + partner = company.partner_id + customer_party_root = etree.SubElement(parent_node, ns["cac"] + node_name) + partner_ref = self._ubl_get_customer_assigned_id(partner) + if partner_ref: + customer_ref = etree.SubElement( + customer_party_root, ns["cbc"] + "SupplierAssignedAccountID" + ) + customer_ref.text = partner_ref + self._ubl_add_party( + partner, company, "Party", customer_party_root, ns, version=version + ) + # TODO: rewrite support for AccountingContact + add DeliveryContact + # Additional optional args + if partner and not company and partner.parent_id: + self._ubl_add_contact( + partner, + customer_party_root, + ns, + node_name="AccountingContact", + version=version, + ) + return customer_party_root + + @api.model + def _ubl_add_supplier_party( + self, partner, company, node_name, parent_node, ns, version="2.1" + ): + """The company argument has been added to properly handle the + 'ref' field. + In Odoo, we only have one ref field, in which we are supposed + to enter the reference that our company gives to its + customers/suppliers. We unfortunately don't have a native field to + enter the reference that our suppliers/customers give to us. + So, to set the fields CustomerAssignedAccountID and + SupplierAssignedAccountID, I need to know if the partner for + which we want to build the party block is our company or a + regular partner: + 1) if it is a regular partner, call the method that way: + self._ubl_add_supplier_party(partner, False, ...) + 2) if it is our company, call the method that way: + self._ubl_add_supplier_party(False, company, ...) + """ + if company: + if partner: + assert ( + partner.commercial_partner_id == company.partner_id + ), "partner is wrong" + else: + partner = company.partner_id + supplier_party_root = etree.SubElement(parent_node, ns["cac"] + node_name) + partner_ref = self._ubl_get_customer_assigned_id(partner) + if partner_ref: + supplier_ref = etree.SubElement( + supplier_party_root, ns["cbc"] + "CustomerAssignedAccountID" + ) + supplier_ref.text = partner_ref + self._ubl_add_party( + partner, company, "Party", supplier_party_root, ns, version=version + ) + return supplier_party_root + + @api.model + def _ubl_add_delivery(self, delivery_partner, parent_node, ns, version="2.1"): + delivery = etree.SubElement(parent_node, ns["cac"] + "Delivery") + delivery_location = etree.SubElement(delivery, ns["cac"] + "DeliveryLocation") + self._ubl_add_address( + delivery_partner, "Address", delivery_location, ns, version=version + ) + self._ubl_add_party( + delivery_partner, False, "DeliveryParty", delivery, ns, version=version + ) + + @api.model + def _ubl_add_delivery_terms(self, incoterm, parent_node, ns, version="2.1"): + delivery_term = etree.SubElement(parent_node, ns["cac"] + "DeliveryTerms") + delivery_term_id = etree.SubElement( + delivery_term, ns["cbc"] + "ID", schemeAgencyID="6", schemeID="INCOTERM" + ) + delivery_term_id.text = incoterm.code + + @api.model + def _ubl_add_payment_terms(self, payment_term, parent_node, ns, version="2.1"): + pay_term_root = etree.SubElement(parent_node, ns["cac"] + "PaymentTerms") + pay_term_note = etree.SubElement(pay_term_root, ns["cbc"] + "Note") + pay_term_note.text = payment_term.name + + @api.model + def _ubl_add_line_item( + self, + line_number, + name, + product, + type_, + quantity, + uom, + parent_node, + ns, + seller=False, + currency=False, + price_subtotal=False, + qty_precision=3, + price_precision=2, + taxes=None, + version="2.1", + ): + line_item = etree.SubElement(parent_node, ns["cac"] + "LineItem") + line_item_id = etree.SubElement(line_item, ns["cbc"] + "ID") + line_item_id.text = str(line_number) + if not uom.unece_code: + raise UserError(_("Missing UNECE code on unit of measure '%s'") % uom.name) + quantity_node = etree.SubElement( + line_item, ns["cbc"] + "Quantity", unitCode=uom.unece_code + ) + quantity_node.text = str(quantity) + if currency and price_subtotal: + line_amount = etree.SubElement( + line_item, ns["cbc"] + "LineExtensionAmount", currencyID=currency.name + ) + line_amount.text = str(price_subtotal) + price_unit = 0.0 + # Use price_subtotal/qty to compute price_unit to be sure + # to get a *tax_excluded* price unit + if not float_is_zero(quantity, precision_digits=qty_precision): + price_unit = float_round( + price_subtotal / float(quantity), precision_digits=price_precision + ) + price = etree.SubElement(line_item, ns["cac"] + "Price") + price_amount = etree.SubElement( + price, ns["cbc"] + "PriceAmount", currencyID=currency.name + ) + price_amount.text = str(price_unit) + base_qty = etree.SubElement( + price, ns["cbc"] + "BaseQuantity", unitCode=uom.unece_code + ) + base_qty.text = "1" # What else could it be ? + self._ubl_add_item( + name, + product, + line_item, + ns, + type_=type_, + seller=seller, + version=version, + taxes=taxes, + ) + + def _ubl_get_seller_code_from_product(self, product): + """Inherit and overwrite if another custom product code is required""" + return product.default_code + + def _ubl_get_customer_product_code(self, product, customer): + """Inherit and overwrite to return the customer product sku either from + product, invoice_line or customer (product.customer_sku, + invoice_line.customer_sku, customer.product_sku)""" + return "" + + @api.model + def _ubl_add_item( + self, + name, + product, + parent_node, + ns, + type_="purchase", + seller=False, + customer=False, + taxes=None, + version="2.1", + ): + """Beware that product may be False (in particular on invoices)""" + assert type_ in ("sale", "purchase"), "Wrong type param" + assert name, "name is a required arg" + item = etree.SubElement(parent_node, ns["cac"] + "Item") + product_name = False + seller_code = False + if product: + if type_ == "purchase": + if seller: + sellers = product._select_seller( + partner_id=seller, quantity=0.0, date=None, uom_id=False + ) + if sellers: + product_name = sellers[0].product_name + seller_code = sellers[0].product_code + if not seller_code: + seller_code = self._ubl_get_seller_code_from_product(product) + if not product_name: + variant = ", ".join(product.attribute_line_ids.mapped("value_ids.name")) + product_name = ( + variant and "{} ({})".format(product.name, variant) or product.name + ) + description = etree.SubElement(item, ns["cbc"] + "Description") + description.text = name + name_node = etree.SubElement(item, ns["cbc"] + "Name") + name_node.text = product_name or name.split("\n")[0] + + customer_code = self._ubl_get_customer_product_code(product, customer) + if customer_code: + buyer_identification = etree.SubElement( + item, ns["cac"] + "BuyersItemIdentification" + ) + buyer_identification_id = etree.SubElement( + buyer_identification, ns["cbc"] + "ID" + ) + buyer_identification_id.text = customer_code + if seller_code: + seller_identification = etree.SubElement( + item, ns["cac"] + "SellersItemIdentification" + ) + seller_identification_id = etree.SubElement( + seller_identification, ns["cbc"] + "ID" + ) + seller_identification_id.text = seller_code + if product: + if product.barcode: + std_identification = etree.SubElement( + item, ns["cac"] + "StandardItemIdentification" + ) + std_identification_id = etree.SubElement( + std_identification, + ns["cbc"] + "ID", + schemeAgencyID="6", + schemeID="0160", # GTIN = 0160 + ) + std_identification_id.text = product.barcode + # I'm not 100% sure, but it seems that ClassifiedTaxCategory + # contains the taxes of the product without taking into + # account the fiscal position + if type_ == "sale": + taxes = product.taxes_id.filtered( + lambda t: t.unece_type_id.code == "VAT" + ) + else: + taxes = product.supplier_taxes_id.filtered( + lambda t: t.unece_type_id.code == "VAT" + ) + skip_taxes = self.env.context.get("ubl_add_item__skip_taxes") + if taxes and not skip_taxes: + for tax in taxes: + self._ubl_add_tax_category( + tax, + item, + ns, + node_name="ClassifiedTaxCategory", + version=version, + ) + for attribute_value in product.attribute_line_ids.mapped("value_ids"): + item_property = etree.SubElement( + item, ns["cac"] + "AdditionalItemProperty" + ) + property_name = etree.SubElement(item_property, ns["cbc"] + "Name") + property_name.text = attribute_value.attribute_id.name + property_value = etree.SubElement(item_property, ns["cbc"] + "Value") + property_value.text = attribute_value.name + return item + + @api.model + def _ubl_add_tax_subtotal( + self, + taxable_amount, + tax_amount, + tax, + currency_code, + parent_node, + ns, + version="2.1", + ): + prec = self.env["decimal.precision"].precision_get("Account") + tax_subtotal = etree.SubElement(parent_node, ns["cac"] + "TaxSubtotal") + if not float_is_zero(taxable_amount, precision_digits=prec): + taxable_amount_node = etree.SubElement( + tax_subtotal, ns["cbc"] + "TaxableAmount", currencyID=currency_code + ) + taxable_amount_node.text = "%0.*f" % (prec, taxable_amount) + tax_amount_node = etree.SubElement( + tax_subtotal, ns["cbc"] + "TaxAmount", currencyID=currency_code + ) + tax_amount_node.text = "%0.*f" % (prec, tax_amount) + if tax.amount_type == "percent" and not float_is_zero( + tax.amount, precision_digits=prec + 3 + ): + percent = etree.SubElement(tax_subtotal, ns["cbc"] + "Percent") + percent.text = str(float_round(tax.amount, precision_digits=2)) + self._ubl_add_tax_category(tax, tax_subtotal, ns, version=version) + + @api.model + def _ubl_add_tax_category( + self, tax, parent_node, ns, node_name="TaxCategory", version="2.1" + ): + tax_category = etree.SubElement(parent_node, ns["cac"] + node_name) + if not tax.unece_categ_id: + raise UserError( + _( + "Missing UNECE Tax Category on tax '%(tax_name)s'", + tax_name=tax.name, + ) + ) + tax_category_id = etree.SubElement( + tax_category, ns["cbc"] + "ID", schemeID="UN/ECE 5305", schemeAgencyID="6" + ) + tax_category_id.text = tax.unece_categ_code + tax_name = etree.SubElement(tax_category, ns["cbc"] + "Name") + tax_name.text = tax.name + tax_percent = etree.SubElement(tax_category, ns["cbc"] + "Percent") + if tax.amount_type == "percent": + tax_percent.text = str(tax.amount) + else: + tax_percent.text = "0" + if tax.unece_categ_code == "E": + tax_exmption_reason = etree.SubElement( + tax_category, ns["cbc"] + "TaxExemptionReason" + ) + tax_exmption_reason.text = "Exempt" + tax_scheme_dict = self._ubl_get_tax_scheme_dict_from_tax(tax) + self._ubl_add_tax_scheme(tax_scheme_dict, tax_category, ns, version=version) + + @api.model + def _ubl_get_tax_scheme_dict_from_tax(self, tax): + if not tax.unece_type_id: + raise UserError( + _( + "Missing UNECE Tax Type on tax '%(tax_name)s'", + tax_name=tax.name, + ) + ) + # Peppol BIS Billing 3.0 supports only VAT taxes + tax_scheme_dict = { + "id": "VAT", # tax.unece_type_code, + "name": False, + "type_code": False, + } + return tax_scheme_dict + + @api.model + def _ubl_add_tax_scheme(self, tax_scheme_dict, parent_node, ns, version="2.1"): + tax_scheme = etree.SubElement(parent_node, ns["cac"] + "TaxScheme") + if tax_scheme_dict.get("id"): + tax_scheme_id = etree.SubElement( + tax_scheme, ns["cbc"] + "ID", schemeID="UN/ECE 5153", schemeAgencyID="6" + ) + tax_scheme_id.text = tax_scheme_dict["id"] + if tax_scheme_dict.get("name"): + tax_scheme_name = etree.SubElement(tax_scheme, ns["cbc"] + "Name") + tax_scheme_name.text = tax_scheme_dict["name"] + if tax_scheme_dict.get("type_code"): + tax_scheme_type_code = etree.SubElement( + tax_scheme, ns["cbc"] + "TaxTypeCode" + ) + tax_scheme_type_code.text = tax_scheme_dict["type_code"] + + @api.model + def _ubl_get_nsmap_namespace(self, doc_name, version="2.1"): + nsmap = { + None: "urn:oasis:names:specification:ubl:schema:xsd:" + doc_name, + "cac": "urn:oasis:names:specification:ubl:" + "schema:xsd:CommonAggregateComponents-2", + "cbc": "urn:oasis:names:specification:ubl:schema:xsd:" + "CommonBasicComponents-2", + } + ns = { + "cac": "{urn:oasis:names:specification:ubl:schema:xsd:" + "CommonAggregateComponents-2}", + "cbc": "{urn:oasis:names:specification:ubl:schema:xsd:" + "CommonBasicComponents-2}", + } + return nsmap, ns + + @api.model + def _ubl_get_version(self, xml_root, root_name, ns): + version_xpath = xml_root.xpath( + "/%s/cbc:UBLVersionID" % root_name, namespaces=ns + ) + if not version_xpath: + raise UserError( + _( + "The UBL XML file does not contain the version " + "for validating the content according to the schema." + ) + ) + return version_xpath[0].text.strip() + + @api.model + def _ubl_check_xml_schema(self, xml_string, document, version="2.1"): + """Validate the XML file against the XSD""" + xsd_file = "base_ubl/data/xsd-{}/maindoc/UBL-{}-{}.xsd".format( + version, document, version + ) + xsd_etree_obj = etree.parse(file_open(xsd_file)) + official_schema = etree.XMLSchema(xsd_etree_obj) + try: + t = etree.parse(BytesIO(xml_string)) + official_schema.assertValid(t) + except Exception as e: + # if the validation of the XSD fails, we arrive here + logger = logging.getLogger(__name__) + logger.warning("The XML file is invalid against the XML Schema Definition") + logger.warning(xml_string) + logger.warning(e) + raise UserError( + _( + "The UBL XML file is not valid against the official " + "XML Schema Definition. The XML file and the " + "full error have been written in the server logs. " + "Here is the error, which may give you an idea on the " + "cause of the problem : %(error)s.", + error=str(e), + ) + ) from e + return True + + @api.model + def _ubl_add_xml_in_pdf_buffer(self, xml_string, xml_filename, buffer): + logger.warning( + "`_ubl_add_xml_in_pdf_buffer` deprecated: use `pdf.helper.pdf_embed_xml`" + ) + pdf_content = buffer.getvalue() + new_content = self.env["pdf.helper"].pdf_embed_xml( + pdf_content, xml_filename, xml_string + ) + new_buffer = BytesIO(new_content) + return new_buffer + + @api.model + def _embed_ubl_xml_in_pdf_content(self, xml_string, xml_filename, pdf_content): + """Add the attachments to the PDF content. + Use the pdf_content argument, which has the binary of the PDF + -> it will return the new PDF binary with the embedded XML + (used for qweb-pdf reports) + """ + logger.warning( + "`_embed_ubl_xml_in_pdf_content` deprecated: use `pdf.helper.pdf_embed_xml`" + ) + self.ensure_one() + logger.debug("Starting to embed %s in PDF", xml_filename) + pdf_content = self.env["pdf.helper"].pdf_embed_xml( + pdf_content, xml_filename, xml_string + ) + logger.info("%s file added to PDF content", xml_filename) + return pdf_content + + # TODO: move to pdf_helper + @api.model + def embed_xml_in_pdf( + self, xml_string, xml_filename, pdf_content=None, pdf_file=None + ): + """ + 2 possible uses: + a) use the pdf_content argument, which has the binary of the PDF + -> it will return the new PDF binary with the embedded XML + (used for qweb-pdf reports) + b) OR use the pdf_file argument, which has the full path to the + original PDF file + -> it will re-write this file with the new PDF + (used for py3o reports, *_ubl_py3o modules in this repo) + """ + assert pdf_content or pdf_file, "Missing pdf_file or pdf_content" + if pdf_file: + with open(pdf_file, "rb") as f: + pdf_content = f.read() + updated_pdf_content = self.env["pdf.helper"].pdf_embed_xml( + pdf_content, xml_filename, xml_string + ) + if pdf_file: + with open(pdf_file, "wb") as f: + f.write(updated_pdf_content) + return updated_pdf_content + + # ==================== METHODS TO PARSE UBL files + + @api.model + def ubl_parse_customer_party(self, party_node, ns): + ref_xpath = party_node.xpath("cbc:SupplierAssignedAccountID", namespaces=ns) + party_node = party_node.xpath("cac:Party", namespaces=ns)[0] + partner_dict = self.ubl_parse_party(party_node, ns) + partner_dict["ref"] = ref_xpath and ref_xpath[0].text or False + return partner_dict + + @api.model + def ubl_parse_supplier_party(self, party_node, ns): + ref_xpath = party_node.xpath("cbc:CustomerAssignedAccountID", namespaces=ns) + party_node = party_node.xpath("cac:Party", namespaces=ns)[0] + partner_dict = self.ubl_parse_party(party_node, ns) + partner_dict["ref"] = ref_xpath and ref_xpath[0].text or False + return partner_dict + + @api.model + def ubl_parse_party(self, party_node, ns): + partner_name_xpath = party_node.xpath("cac:PartyName/cbc:Name", namespaces=ns) + vat_xpath = party_node.xpath("cac:PartyTaxScheme/cbc:CompanyID", namespaces=ns) + website_xpath = party_node.xpath("cbc:WebsiteURI", namespaces=ns) + contact_name_xpath = party_node.xpath("cac:Contact/cbc:Name", namespaces=ns) + contact_email_xpath = party_node.xpath( + "cac:Contact/cbc:ElectronicMail", namespaces=ns + ) + contact_phone_xpath = party_node.xpath( + "cac:Contact/cbc:Telephone", namespaces=ns + ) + partner_dict = { + "vat": vat_xpath and vat_xpath[0].text or False, + "name": partner_name_xpath and partner_name_xpath[0].text or False, + "website": website_xpath and website_xpath[0].text or False, + "contact": contact_name_xpath and contact_name_xpath[0].text or False, + "email": contact_email_xpath and contact_email_xpath[0].text or False, + "phone": contact_phone_xpath and contact_phone_xpath[0].text or False, + } + id_nodes = party_node.xpath("cac:PartyIdentification/cbc:ID", namespaces=ns) + id_numbers = [] + for id_node in id_nodes: + id_numbers.append( + {"value": id_node.text, "schemeID": id_node.attrib.get("schemeID")} + ) + partner_dict["id_number"] = id_numbers + address_xpath = party_node.xpath("cac:PostalAddress", namespaces=ns) + if address_xpath: + address_dict = self.ubl_parse_address(address_xpath[0], ns) + partner_dict.update(address_dict) + return partner_dict + + @api.model + def ubl_parse_address(self, address_node, ns): + country_code_xpath = address_node.xpath( + "cac:Country/cbc:IdentificationCode", namespaces=ns + ) + country_code = country_code_xpath and country_code_xpath[0].text or False + state_code_xpath = address_node.xpath("cbc:CountrySubentityCode", namespaces=ns) + state_code = state_code_xpath and state_code_xpath[0].text or False + street_xpath = address_node.xpath("cbc:StreetName", namespaces=ns) + street2_xpath = address_node.xpath("cbc:AdditionalStreetName", namespaces=ns) + street_number_xpath = address_node.xpath("cbc:BuildingNumber", namespaces=ns) + city_xpath = address_node.xpath("cbc:CityName", namespaces=ns) + zip_xpath = address_node.xpath("cbc:PostalZone", namespaces=ns) + zip_code = ( + zip_xpath + and zip_xpath[0].text + and zip_xpath[0].text.replace(" ", "") + or False + ) + address_dict = { + "street": street_xpath and street_xpath[0].text or False, + "street_number": street_number_xpath + and street_number_xpath[0].text + or False, + "street2": street2_xpath and street2_xpath[0].text or False, + "city": city_xpath and city_xpath[0].text or False, + "zip": zip_code, + "state_code": state_code, + "country_code": country_code, + } + return address_dict + + @api.model + def ubl_parse_delivery(self, delivery_node, ns): + party_xpath = delivery_node.xpath("cac:DeliveryParty", namespaces=ns) + if party_xpath: + partner_dict = self.ubl_parse_party(party_xpath[0], ns) + else: + partner_dict = {} + postal_xpath = delivery_node.xpath( + "cac:DeliveryParty/cac:PostalAddress", namespaces=ns + ) + if not postal_xpath: + delivery_address_xpath = delivery_node.xpath( + "cac:DeliveryLocation/cac:Address", namespaces=ns + ) + if not delivery_address_xpath: + delivery_address_xpath = delivery_node.xpath( + "cac:DeliveryAddress", namespaces=ns + ) + if delivery_address_xpath: + partner_dict.update( + self.ubl_parse_address(delivery_address_xpath[0], ns) + ) + return partner_dict + + @api.model + def ubl_parse_delivery_details(self, delivery_node, ns): + delivery_dict = {} + latest_date = delivery_node.xpath("cbc:LatestDeliveryDate", namespaces=ns) + latest_time = delivery_node.xpath("cbc:LatestDeliveryTime", namespaces=ns) + if latest_date: + latest_delivery = latest_date[0].text + if latest_time: + latest_delivery += " " + latest_time[0].text[:-3] + delivery_dict["commitment_date"] = latest_delivery + return delivery_dict + + def ubl_parse_incoterm(self, delivery_term_node, ns): + incoterm_xpath = delivery_term_node.xpath("cbc:ID", namespaces=ns) + if incoterm_xpath: + incoterm_dict = {"code": incoterm_xpath[0].text} + return incoterm_dict + return {} + + def ubl_parse_product(self, line_node, ns): + # GTIN schemeID is 0160 in peppol + barcode_xpath = line_node.xpath( + "cac:Item/cac:StandardItemIdentification/cbc:ID[@schemeID=('0160' or 'GTIN')]", + namespaces=ns, + ) + code_xpath = line_node.xpath( + "cac:Item/cac:SellersItemIdentification/cbc:ID", namespaces=ns + ) + product_dict = { + "barcode": barcode_xpath and barcode_xpath[0].text or False, + "code": code_xpath and code_xpath[0].text or False, + } + return product_dict + + def get_xml_files_from_pdf(self, pdf_file): + """Returns a dict with key = filename, value = XML file obj""" + logger.warning( + "`get_xml_files_from_pdf` deprecated: use `pdf.helper.pdf_get_xml_files`" + ) + return self.env["pdf.helper"].pdf_get_xml_files(pdf_file) diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-base_ubl/base_ubl/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..093a418 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ +* Alexis de Lattre +* Andrea Stirpe +* Jacques-Etienne Baudoux +* Phuc (Tran Thanh) +* Simone Orsi diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/readme/CREDITS.rst b/odoo-bringout-oca-edi-base_ubl/base_ubl/readme/CREDITS.rst new file mode 100644 index 0000000..f5cc070 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/readme/CREDITS.rst @@ -0,0 +1,3 @@ +The development of this module has been financially supported by: + +* Camptocamp diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-base_ubl/base_ubl/readme/DESCRIPTION.rst new file mode 100644 index 0000000..0fc5b2b --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/readme/DESCRIPTION.rst @@ -0,0 +1,12 @@ +This is the base module for the implementation of the `Universal Business +Language (UBL) `_ standard. The UBL standard became the +`ISO/IEC 19845 `_ +standard in January 2016 (cf the `official announce +`_). + +This module contains methods to generate and parse UBL files. This module +doesn't do anything useful by itself, but it is used by several other modules: + +* *purchase_order_ubl* that generate UBL purchase orders, +* *sale_order_import_ubl* that imports UBL sale orders. +* *account_invoice_import_ubl* that imports UBL invoices, diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/static/description/icon.png b/odoo-bringout-oca-edi-base_ubl/base_ubl/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-base_ubl/base_ubl/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/static/description/index.html b/odoo-bringout-oca-edi-base_ubl/base_ubl/static/description/index.html new file mode 100644 index 0000000..a5a0cfd --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/static/description/index.html @@ -0,0 +1,452 @@ + + + + + +README.rst + + + +
    + + + +Odoo Community Association + +
    +

    Base UBL

    + +

    Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    This is the base module for the implementation of the Universal Business +Language (UBL) standard. The UBL standard became the +ISO/IEC 19845 +standard in January 2016 (cf the official announce).

    +

    This module contains methods to generate and parse UBL files. This module +doesn’t do anything useful by itself, but it is used by several other modules:

    +
      +
    • purchase_order_ubl that generate UBL purchase orders,
    • +
    • sale_order_import_ubl that imports UBL sale orders.
    • +
    • account_invoice_import_ubl that imports UBL invoices,
    • +
    +

    Table of contents

    + +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Akretion
    • +
    • Onestein
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Other credits

    +

    The development of this module has been financially supported by:

    +
      +
    • Camptocamp
    • +
    +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    + +Odoo Community Association + +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/tests/__init__.py b/odoo-bringout-oca-edi-base_ubl/base_ubl/tests/__init__.py new file mode 100644 index 0000000..39e1569 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/tests/__init__.py @@ -0,0 +1,4 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_ubl_generate +from . import test_ubl_parse diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/tests/test_ubl_generate.py b/odoo-bringout-oca-edi-base_ubl/base_ubl/tests/test_ubl_generate.py new file mode 100644 index 0000000..7a122a8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/tests/test_ubl_generate.py @@ -0,0 +1,109 @@ +# Copyright 2019 Onestein () +# © 2017-2020 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from lxml import etree + +from odoo.tests.common import HttpCase + + +class TestUblInvoice(HttpCase): + def test_pdf_generate(self): + invoice = self.create_test_invoice() + content, doc_type = ( + self.env.ref("account.account_invoices") + .with_context(no_embedded_ubl_xml=True, force_report_rendering=True) + ._render_qweb_pdf("account.account_invoices", invoice.ids) + ) + self.assertTrue(content) + self.assertEqual(doc_type, "pdf") + + def test_ubl_generate(self): + invoice = self.create_test_invoice() + nsmap, ns = self.env["base.ubl"]._ubl_get_nsmap_namespace("Invoice-2") + xml_root = etree.Element("Invoice", nsmap=nsmap) + + self.env["base.ubl"]._ubl_add_supplier_party( + False, invoice.company_id, "AccountingSupplierParty", xml_root, ns + ) + self.env["base.ubl"]._ubl_add_customer_party( + invoice.partner_id, False, "AccountingCustomerParty", xml_root, ns + ) + + def create_test_invoice( + self, product=False, qty=1, price=12.42, discount=0, validate=True + ): + aio = self.env["account.move"] + aao = self.env["account.account"] + ato = self.env["account.tax"] + company = self.env.ref("base.main_company") + account_revenue = aao.search( + [("code", "=", "707100"), ("company_id", "=", company.id)], limit=1 + ) + if not account_revenue: + account_revenue = aao.create( + { + "code": "707100", + "name": "Product Sales - (test)", + "company_id": company.id, + "account_type": "income", + } + ) + taxes = ato.search( + [ + ("company_id", "=", company.id), + ("type_tax_use", "=", "sale"), + ("unece_type_id", "!=", False), + ("unece_categ_id", "!=", False), + ("amount_type", "=", "percent"), + ] + ) + if taxes: + tax = taxes[0] + else: + unece_type_id = self.env.ref("account_tax_unece.tax_type_vat").id + unece_categ_id = self.env.ref("account_tax_unece.tax_categ_s").id + tax = ato.create( + { + "name": "German VAT purchase 18.0%", + "description": "DE-VAT-sale-18.0", + "company_id": company.id, + "type_tax_use": "sale", + "price_include": False, + "amount": 18, + "amount_type": "percent", + "unece_type_id": unece_type_id, + "unece_categ_id": unece_categ_id, + } + ) + # validate invoice + if not product: + product = self.env.ref("product.product_product_4") + invoice = aio.create( + { + "partner_id": self.env.ref("base.res_partner_2").id, + "currency_id": self.env.ref("base.EUR").id, + "move_type": "out_invoice", + "company_id": company.id, + "name": "SO1242", + "invoice_line_ids": [ + ( + 0, + 0, + { + "product_id": product.id, + "product_uom_id": product.uom_id.id, + "quantity": qty, + "price_unit": price, + "discount": discount, + "name": product.name, + "account_id": account_revenue.id, + "tax_ids": [(6, 0, [tax.id])], + }, + ) + ], + } + ) + if validate: + invoice.action_post() + return invoice diff --git a/odoo-bringout-oca-edi-base_ubl/base_ubl/tests/test_ubl_parse.py b/odoo-bringout-oca-edi-base_ubl/base_ubl/tests/test_ubl_parse.py new file mode 100644 index 0000000..b21d94a --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/base_ubl/tests/test_ubl_parse.py @@ -0,0 +1,56 @@ +# Copyright 2024 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from lxml import etree + +from odoo.tests.common import TransactionCase + + +class TestBaseUblParse(TransactionCase): + def test_parse_product_schemeid_gtin(self): + xml_string = b""" + + + Acme beeswax + beeswax + + 6578489 + + + 17589683 + + + + """ + xml_root = etree.fromstring(xml_string) + ns = xml_root.nsmap + product = self.env["base.ubl"].ubl_parse_product(xml_root, ns) + self.assertEqual(product.get("barcode"), "6578489") + self.assertEqual(product.get("code"), "17589683") + + def test_parse_product_schemeid_0160(self): + xml_string = b""" + + + Acme beeswax + beeswax + + 6578489 + + + 17589683 + + + + """ + xml_root = etree.fromstring(xml_string) + ns = xml_root.nsmap + product = self.env["base.ubl"].ubl_parse_product(xml_root, ns) + self.assertEqual(product.get("barcode"), "6578489") + self.assertEqual(product.get("code"), "17589683") diff --git a/odoo-bringout-oca-edi-base_ubl/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-base_ubl/doc/ARCHITECTURE.md new file mode 100644 index 0000000..3543092 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_ubl Module - base_ubl + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-base_ubl/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-base_ubl/doc/CONFIGURATION.md new file mode 100644 index 0000000..157621f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_ubl. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-base_ubl/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-base_ubl/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-base_ubl/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-base_ubl/doc/DEPENDENCIES.md new file mode 100644 index 0000000..5108630 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/doc/DEPENDENCIES.md @@ -0,0 +1,8 @@ +# Dependencies + +This addon depends on: + +- uom_unece +- account_tax_unece +- [base_vat](../../odoo-bringout-oca-ocb-base_vat) +- [pdf_helper](../../odoo-bringout-oca-edi-framework-pdf_helper) diff --git a/odoo-bringout-oca-edi-base_ubl/doc/FAQ.md b/odoo-bringout-oca-edi-base_ubl/doc/FAQ.md new file mode 100644 index 0000000..cd8d2d9 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_ubl or install in UI. diff --git a/odoo-bringout-oca-edi-base_ubl/doc/INSTALL.md b/odoo-bringout-oca-edi-base_ubl/doc/INSTALL.md new file mode 100644 index 0000000..7b8e30e --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-base_ubl" +# or +uv pip install odoo-bringout-oca-edi-base_ubl" +``` diff --git a/odoo-bringout-oca-edi-base_ubl/doc/MODELS.md b/odoo-bringout-oca-edi-base_ubl/doc/MODELS.md new file mode 100644 index 0000000..4496e30 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in base_ubl. + +```mermaid +classDiagram + class base_ubl +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-base_ubl/doc/OVERVIEW.md b/odoo-bringout-oca-edi-base_ubl/doc/OVERVIEW.md new file mode 100644 index 0000000..031cb17 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_ubl. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_ubl +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-base_ubl/doc/REPORTS.md b/odoo-bringout-oca-edi-base_ubl/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-base_ubl/doc/SECURITY.md b/odoo-bringout-oca-edi-base_ubl/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-base_ubl/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-base_ubl/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-base_ubl/doc/USAGE.md b/odoo-bringout-oca-edi-base_ubl/doc/USAGE.md new file mode 100644 index 0000000..6e19eaa --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_ubl +``` diff --git a/odoo-bringout-oca-edi-base_ubl/doc/WIZARDS.md b/odoo-bringout-oca-edi-base_ubl/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-base_ubl/pyproject.toml b/odoo-bringout-oca-edi-base_ubl/pyproject.toml new file mode 100644 index 0000000..19a69b2 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl/pyproject.toml @@ -0,0 +1,45 @@ +[project] +name = "odoo-bringout-oca-edi-base_ubl" +version = "16.0.0" +description = "Base UBL - Base module for Universal Business Language (UBL)" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-uom_unece>=16.0.0", + "odoo-bringout-oca-edi-account_tax_unece>=16.0.0", + "odoo-bringout-oca-edi-base_vat>=16.0.0", + "odoo-bringout-oca-edi-pdf_helper>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_ubl"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-base_ubl_payment/README.md b/odoo-bringout-oca-edi-base_ubl_payment/README.md new file mode 100644 index 0000000..b8a1f47 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/README.md @@ -0,0 +1,45 @@ +# Base UBL Payment + +Odoo addon: base_ubl_payment + +## Installation + +```bash +pip install odoo-bringout-oca-edi-base_ubl_payment +``` + +## Dependencies + +This addon depends on: +- account_payment_unece +- base_ubl + +## Manifest Information + +- **Name**: Base UBL Payment +- **Version**: 16.0.1.0.1 +- **Category**: Hidden +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `base_ubl_payment`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/README.rst b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/README.rst new file mode 100644 index 0000000..a23242b --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/README.rst @@ -0,0 +1,84 @@ +================ +Base UBL Payment +================ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:fc3ded922635f55a2fad4636b88129463b6ab6fe3eb90d604a4af381d4068346 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_ubl_payment + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_ubl_payment + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module is a small module above the *base_ubl* module; +it adds the generation of the *PaymentMeans* UBL block. +I decided to make it a separate module because it depends +on the module *account_payment_unece* which itself depend on +*account_banking_payment_export*, and I didn't want to add +these dependencies on the *base_ubl* module. + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre +* Andrea Stirpe +* Dhara Solanki +* Jacques-Etienne Baudoux (BCIM) + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/__init__.py b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/__init__.py new file mode 100644 index 0000000..31660d6 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import models diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/__manifest__.py b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/__manifest__.py new file mode 100644 index 0000000..e49d232 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/__manifest__.py @@ -0,0 +1,14 @@ +# © 2016-2017 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Base UBL Payment", + "version": "16.0.1.0.1", + "category": "Hidden", + "license": "AGPL-3", + "summary": "Payment-related code for Universal Business Language (UBL)", + "author": "Akretion,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/edi", + "depends": ["account_payment_unece", "base_ubl"], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/base_ubl_payment.pot b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/base_ubl_payment.pot new file mode 100644 index 0000000..7d42fe1 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/base_ubl_payment.pot @@ -0,0 +1,28 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl_payment +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_ubl_payment +#: model:ir.model,name:base_ubl_payment.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "" + +#. module: base_ubl_payment +#. odoo-python +#: code:addons/base_ubl_payment/models/ubl.py:0 +#, python-format +msgid "" +"Missing 'UNECE Payment Mean' on payment type '{method}' used by the payment " +"mode '{mode}'." +msgstr "" diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/bs.po b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/bs.po new file mode 100644 index 0000000..156c698 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/bs.po @@ -0,0 +1,28 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl_payment +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_ubl_payment +#: model:ir.model,name:base_ubl_payment.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Zajedničke metode za generiranje i parsiranje UBL XML datoteka" + +#. module: base_ubl_payment +#. odoo-python +#: code:addons/base_ubl_payment/models/ubl.py:0 +#, python-format +msgid "" +"Missing 'UNECE Payment Mean' on payment type '{method}' used by the payment " +"mode '{mode}'." +msgstr "" diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/es.po b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/es.po new file mode 100644 index 0000000..34e4b15 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/es.po @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl_payment +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-11-22 20:34+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_ubl_payment +#: model:ir.model,name:base_ubl_payment.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Métodos habituales para generar y analizar archivos XML UBL" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__id +msgid "ID" +msgstr "ID" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl____last_update +msgid "Last Modified on" +msgstr "Última Modificación el" + +#. module: base_ubl_payment +#: code:addons/base_ubl_payment/models/ubl.py:0 +#, python-format +msgid "" +"Missing 'UNECE Payment Mean' on payment type '{method}' " +"used by the payment mode '{mode}'." +msgstr "" +"Falta 'UNECE Payment Mean' en el tipo de pago '{method}' utilizado por el modo de " +"pago '{mode}'." diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/fr.po b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/fr.po new file mode 100644 index 0000000..14bec05 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/fr.po @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl_payment +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-05-29 11:08+0000\n" +"Last-Translator: Claude R Perrin \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_ubl_payment +#: model:ir.model,name:base_ubl_payment.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Méthodes courantes pour générer et analyser les fichiers XML UBL" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__display_name +msgid "Display Name" +msgstr "Nom affiché" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__id +msgid "ID" +msgstr "ID" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl____last_update +msgid "Last Modified on" +msgstr "Dernière modification le" + +#. module: base_ubl_payment +#: code:addons/base_ubl_payment/models/ubl.py:0 +#, python-format +msgid "" +"Missing 'UNECE Payment Mean' on payment type '{method}' " +"used by the payment mode '{mode}'." +msgstr "" +"'Moyen de paiement UNECE’ manquant sur le type de paiement '{method}' utilisé par " +"le mode de paiement '{mode}'." diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/hr.po b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/hr.po new file mode 100644 index 0000000..6d6fbbe --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/hr.po @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl_payment +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-11-12 17:34+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 3.8\n" + +#. module: base_ubl_payment +#: model:ir.model,name:base_ubl_payment.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Zajedničke metode za generiranje i parsiranje UBL XML datoteka" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__display_name +msgid "Display Name" +msgstr "" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__id +msgid "ID" +msgstr "" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_ubl_payment +#: code:addons/base_ubl_payment/models/ubl.py:0 +#, python-format +msgid "" +"Missing 'UNECE Payment Mean' on payment type '{method}' " +"used by the payment mode '{mode}'." +msgstr "" +"Nedostaje UNECE šifra načina plaćanja '{method}' korštenog na tipu plaćanja '{mode}'." diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/it.po b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/it.po new file mode 100644 index 0000000..4623970 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/it.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl_payment +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-12-09 11:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_ubl_payment +#: model:ir.model,name:base_ubl_payment.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Metodi comuni per generare ed elaborare file UBL e XML" + +#. module: base_ubl_payment +#. odoo-python +#: code:addons/base_ubl_payment/models/ubl.py:0 +#, python-format +msgid "" +"Missing 'UNECE Payment Mean' on payment type '{method}' used by the payment " +"mode '{mode}'." +msgstr "" +"'Significato pagamento UNECE' non presente nel tipo pagamento '{method}' " +"utilizzato per il metodo di pagamento '{mode}'." diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/nl.po b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/nl.po new file mode 100644 index 0000000..3090676 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/i18n/nl.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl_payment +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-12-13 02:36+0000\n" +"Last-Translator: Bosd \n" +"Language-Team: none\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: base_ubl_payment +#: model:ir.model,name:base_ubl_payment.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "" +"Gemeenschappelijke code voor het genereren en verwerken van UBL XML bestanden" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__display_name +msgid "Display Name" +msgstr "" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__id +msgid "ID" +msgstr "" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_ubl_payment +#: code:addons/base_ubl_payment/models/ubl.py:0 +#, python-format +msgid "" +"Missing 'UNECE Payment Mean' on payment type '{method}' " +"used by the payment mode '{mode}'." +msgstr "" +"Ontbrekende 'UNECE betaalmethode' voor betalingstype '{method}' gebruikt door " +"betaalmethode '{mode}'." diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/models/__init__.py b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/models/__init__.py new file mode 100644 index 0000000..7ec1c77 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import ubl diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/models/ubl.py b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/models/ubl.py new file mode 100644 index 0000000..5cf2b1f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/models/ubl.py @@ -0,0 +1,101 @@ +# © 2016-2017 Akretion (Alexis de Lattre ) +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +import logging + +from lxml import etree + +from odoo import _, api, models +from odoo.exceptions import UserError + +logger = logging.getLogger(__name__) + + +class BaseUbl(models.AbstractModel): + _inherit = "base.ubl" + + @api.model + def _ubl_convert_payment_identifier(self, payment_identifier): + """Reformat localized payment identifier in an UBL compatible format""" + if not payment_identifier: + return payment_identifier + return payment_identifier.replace("+", "").replace("/", "") + + @api.model + def _ubl_add_payment_means( + self, + partner_bank, + payment_mode, + date_due, + parent_node, + ns, + payment_identifier=None, + version="2.1", + ): + pay_means = etree.SubElement(parent_node, ns["cac"] + "PaymentMeans") + pay_means_code = etree.SubElement( + pay_means, ns["cbc"] + "PaymentMeansCode", listID="UN/ECE 4461" + ) + # Why not schemeAgencyID='6' + schemeID + if payment_mode: # type is a required field on payment_mode + if not payment_mode.payment_method_id.unece_id: + raise UserError( + _( + "Missing 'UNECE Payment Mean' on payment type '{method}' " + "used by the payment mode '{mode}'." + ).format( + method=payment_mode.payment_method_id.name, + mode=payment_mode.name, + ) + ) + pay_means_code.text = payment_mode.payment_method_id.unece_code + else: + pay_means_code.text = "31" + logger.warning( + "Missing payment mode on invoice ID %d. " + "Using 31 (wire transfer) as UNECE code as fallback " + "for payment mean", + self.id, + ) + if date_due: + pay_due_date = etree.SubElement(pay_means, ns["cbc"] + "PaymentDueDate") + pay_due_date.text = date_due.strftime("%Y-%m-%d") + if pay_means_code.text in ["30", "31", "42", "58", "59"]: + if ( + not partner_bank + and payment_mode + and payment_mode.bank_account_link == "fixed" + and payment_mode.fixed_journal_id + ): + partner_bank = payment_mode.fixed_journal_id.bank_account_id + if partner_bank and partner_bank.acc_type == "iban": + # In the Chorus specs, they except 'IBAN' in PaymentChannelCode + # I don't know if this usage is common or not + payment_channel_code = etree.SubElement( + pay_means, ns["cbc"] + "PaymentChannelCode" + ) + payment_channel_code.text = "IBAN" + if payment_identifier: + payment_id = etree.SubElement(pay_means, ns["cbc"] + "PaymentID") + payment_id.text = self._ubl_convert_payment_identifier( + payment_identifier + ) + payee_fin_account = etree.SubElement( + pay_means, ns["cac"] + "PayeeFinancialAccount" + ) + payee_fin_account_id = etree.SubElement( + payee_fin_account, ns["cbc"] + "ID", schemeName="IBAN" + ) + payee_fin_account_id.text = partner_bank.sanitized_acc_number + if partner_bank.bank_bic: + financial_inst_branch = etree.SubElement( + payee_fin_account, ns["cac"] + "FinancialInstitutionBranch" + ) + financial_inst = etree.SubElement( + financial_inst_branch, ns["cac"] + "FinancialInstitution" + ) + financial_inst_id = etree.SubElement( + financial_inst, ns["cbc"] + "ID", schemeName="BIC" + ) + financial_inst_id.text = partner_bank.bank_bic diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..8af1ca1 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Alexis de Lattre +* Andrea Stirpe +* Dhara Solanki +* Jacques-Etienne Baudoux (BCIM) diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/readme/DESCRIPTION.rst new file mode 100644 index 0000000..eeed096 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/readme/DESCRIPTION.rst @@ -0,0 +1,6 @@ +This module is a small module above the *base_ubl* module; +it adds the generation of the *PaymentMeans* UBL block. +I decided to make it a separate module because it depends +on the module *account_payment_unece* which itself depend on +*account_banking_payment_export*, and I didn't want to add +these dependencies on the *base_ubl* module. diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/static/description/icon.png b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/static/description/index.html b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/static/description/index.html new file mode 100644 index 0000000..fd04bac --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/base_ubl_payment/static/description/index.html @@ -0,0 +1,431 @@ + + + + + +Base UBL Payment + + + +
    +

    Base UBL Payment

    + + +

    Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    This module is a small module above the base_ubl module; +it adds the generation of the PaymentMeans UBL block. +I decided to make it a separate module because it depends +on the module account_payment_unece which itself depend on +account_banking_payment_export, and I didn’t want to add +these dependencies on the base_ubl module.

    +

    Table of contents

    + +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Akretion
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    + +Odoo Community Association + +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-base_ubl_payment/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-base_ubl_payment/doc/ARCHITECTURE.md new file mode 100644 index 0000000..21b22cf --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_ubl_payment Module - base_ubl_payment + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-base_ubl_payment/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-base_ubl_payment/doc/CONFIGURATION.md new file mode 100644 index 0000000..7cb6505 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_ubl_payment. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-base_ubl_payment/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-base_ubl_payment/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-base_ubl_payment/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-base_ubl_payment/doc/DEPENDENCIES.md new file mode 100644 index 0000000..aa03870 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/doc/DEPENDENCIES.md @@ -0,0 +1,6 @@ +# Dependencies + +This addon depends on: + +- account_payment_unece +- [base_ubl](../../odoo-bringout-oca-edi-framework-base_ubl) diff --git a/odoo-bringout-oca-edi-base_ubl_payment/doc/FAQ.md b/odoo-bringout-oca-edi-base_ubl_payment/doc/FAQ.md new file mode 100644 index 0000000..b13ef20 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_ubl_payment or install in UI. diff --git a/odoo-bringout-oca-edi-base_ubl_payment/doc/INSTALL.md b/odoo-bringout-oca-edi-base_ubl_payment/doc/INSTALL.md new file mode 100644 index 0000000..f5e394d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-base_ubl_payment" +# or +uv pip install odoo-bringout-oca-edi-base_ubl_payment" +``` diff --git a/odoo-bringout-oca-edi-base_ubl_payment/doc/MODELS.md b/odoo-bringout-oca-edi-base_ubl_payment/doc/MODELS.md new file mode 100644 index 0000000..757286e --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in base_ubl_payment. + +```mermaid +classDiagram + class base_ubl +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-base_ubl_payment/doc/OVERVIEW.md b/odoo-bringout-oca-edi-base_ubl_payment/doc/OVERVIEW.md new file mode 100644 index 0000000..79b3966 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_ubl_payment. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_ubl_payment +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-base_ubl_payment/doc/REPORTS.md b/odoo-bringout-oca-edi-base_ubl_payment/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-base_ubl_payment/doc/SECURITY.md b/odoo-bringout-oca-edi-base_ubl_payment/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-base_ubl_payment/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-base_ubl_payment/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-base_ubl_payment/doc/USAGE.md b/odoo-bringout-oca-edi-base_ubl_payment/doc/USAGE.md new file mode 100644 index 0000000..1effdff --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_ubl_payment +``` diff --git a/odoo-bringout-oca-edi-base_ubl_payment/doc/WIZARDS.md b/odoo-bringout-oca-edi-base_ubl_payment/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-base_ubl_payment/pyproject.toml b/odoo-bringout-oca-edi-base_ubl_payment/pyproject.toml new file mode 100644 index 0000000..72978f8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_ubl_payment/pyproject.toml @@ -0,0 +1,43 @@ +[project] +name = "odoo-bringout-oca-edi-base_ubl_payment" +version = "16.0.0" +description = "Base UBL Payment - Payment-related code for Universal Business Language (UBL)" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-account_payment_unece>=16.0.0", + "odoo-bringout-oca-edi-base_ubl>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_ubl_payment"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/README.md b/odoo-bringout-oca-edi-base_wamas_ubl/README.md new file mode 100644 index 0000000..5ab6ca9 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/README.md @@ -0,0 +1,45 @@ +# Base WAMAS UBL + +Odoo addon: base_wamas_ubl + +## Installation + +```bash +pip install odoo-bringout-oca-edi-base_wamas_ubl +``` + +## Dependencies + +This addon depends on: +- base_edi +- base_ubl + +## Manifest Information + +- **Name**: Base WAMAS UBL +- **Version**: 16.0.1.17.1 +- **Category**: Hidden +- **License**: AGPL-3 +- **Installable**: False + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `base_wamas_ubl`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/README.rst b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/README.rst new file mode 100644 index 0000000..e997e73 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/README.rst @@ -0,0 +1,89 @@ +============== +Base WAMAS UBL +============== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:f97ed074cb58c152474c9fa18dfea888a7c80aeb70fdf5a516ed2a84becdb1bc + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png + :target: https://odoo-community.org/page/development-status + :alt: Alpha +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_wamas_ubl + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_wamas_ubl + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module contains methods to parse between WAMAS file and UBL file. + +.. IMPORTANT:: + This is an alpha version, the data model and design can change at any time without warning. + Only for development or testing purpose, do not use in production. + `More details on development status `_ + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Camptocamp +* BCIM + +Contributors +~~~~~~~~~~~~ + +* Jacques-Etienne Baudoux +* Tuan Tran +* Telmo Santos + +Other credits +~~~~~~~~~~~~~ + +The creation of this module was financially supported by Camptocamp. + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/__init__.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/__init__.py new file mode 100644 index 0000000..aee8895 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/__init__.py @@ -0,0 +1,2 @@ +from . import models +from . import wizards diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/__manifest__.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/__manifest__.py new file mode 100644 index 0000000..de8a354 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/__manifest__.py @@ -0,0 +1,24 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "Base WAMAS UBL", + "summary": """Base module to aggregate WAMAS - UBL features.""", + "version": "16.0.1.17.1", + "development_status": "Alpha", + "category": "Hidden", + "website": "https://github.com/OCA/edi", + "license": "AGPL-3", + "author": "Camptocamp,BCIM,Odoo Community Association (OCA)", + "depends": ["base_edi", "base_ubl"], + "external_dependencies": { + "python": ["xmltodict", "dotty-dict", "pytz"], + }, + "data": [ + "security/ir.model.access.csv", + "wizards/wamas_ubl_wiz_check.xml", + "wizards/wamas_ubl_wiz_simulate.xml", + "views/wamas_menu.xml", + ], +} diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/i18n/base_wamas_ubl.pot b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/i18n/base_wamas_ubl.pot new file mode 100644 index 0000000..87f5f8c --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/i18n/base_wamas_ubl.pot @@ -0,0 +1,208 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_wamas_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py:0 +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.py:0 +#, python-format +msgid "- Error: %s" +msgstr "" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py:0 +#, python-format +msgid "" +"- WAMAS Type: %(wamas_type)s\n" +"- Data: %(data)s" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Cancel" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Check" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.actions.act_window,name:base_wamas_ubl.wamas_ubl_wiz_check_action +#: model:ir.ui.menu,name:base_wamas_ubl.wamas_ubl_wiz_check_menu +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Check WAMAS File" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_wamas_ubl_wiz_check +msgid "Check WAMAS File Wizard" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__create_uid +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__create_uid +msgid "Created by" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__create_date +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__create_date +msgid "Created on" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Data" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__display_name +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__display_name +msgid "Display Name" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__id +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__id +msgid "ID" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check____last_update +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__write_uid +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__write_date +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_base_wamas_ubl +msgid "Methods to convert WAMAS to UBL XML files and vice versa" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Only supports FROM telegram type TO telegram type(s) bellow:" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Only supports telegram type(s) bellow:" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__output +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output +msgid "Output" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output_wamas_file +msgid "Output WAMAS File" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output_wamas_filename +msgid "Output WAMAS Filename" +msgstr "" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/models/base_wamas_ubl.py:0 +#, python-format +msgid "Please define wamas message type (msg_type)." +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Simulate" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.actions.act_window,name:base_wamas_ubl.wamas_ubl_wiz_simulate_action +#: model:ir.ui.menu,name:base_wamas_ubl.wamas_ubl_wiz_simulate_menu +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Simulate WAMAS File" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_wamas_ubl_wiz_simulate +msgid "Simulate WAMAS File Wizard" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__supported_telegram +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__supported_telegram +msgid "Supported Telegram" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Telegram Type" +msgstr "" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/models/base_wamas_ubl.py:0 +#, python-format +msgid "The data is not valid." +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "This wizard will help you extract data of a WAMAS file into:" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "" +"This wizard will help you generate (simulating) a new WAMAS file from an " +"existing WAMAS file." +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.ui.menu,name:base_wamas_ubl.menu_wamas_parent +msgid "WAMAS" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__wamas_file +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__wamas_file +msgid "WAMAS File" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__wamas_filename +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__wamas_filename +msgid "WAMAS Filename" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "WAMAS Type" +msgstr "" diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/i18n/es.po b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/i18n/es.po new file mode 100644 index 0000000..7b65658 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/i18n/es.po @@ -0,0 +1,238 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_wamas_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-02-15 21:35+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py:0 +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.py:0 +#, python-format +msgid "- Error: %s" +msgstr "- Error: %s" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py:0 +#, python-format +msgid "" +"- WAMAS Type: %(wamas_type)s\n" +"- Data: %(data)s" +msgstr "" +"- Tipo WAMAS: %(wamas_type)s\n" +"- Datos: %(data)s" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Check" +msgstr "Comprobar" + +#. module: base_wamas_ubl +#: model:ir.actions.act_window,name:base_wamas_ubl.wamas_ubl_wiz_check_action +#: model:ir.ui.menu,name:base_wamas_ubl.wamas_ubl_wiz_check_menu +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Check WAMAS File" +msgstr "Comprobar el archivo WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_wamas_ubl_wiz_check +msgid "Check WAMAS File Wizard" +msgstr "Comprobar el Asistente de Archivos WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__create_uid +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__create_date +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Data" +msgstr "Datos" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__display_name +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__id +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__id +msgid "ID" +msgstr "ID" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check____last_update +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate____last_update +msgid "Last Modified on" +msgstr "Última Modificación el" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__write_uid +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__write_uid +msgid "Last Updated by" +msgstr "Última Actualización por" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__write_date +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__write_date +msgid "Last Updated on" +msgstr "Última Actualización el" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_base_wamas_ubl +msgid "Methods to convert WAMAS to UBL XML files and vice versa" +msgstr "Métodos para convertir archivos WAMAS a UBL XML y viceversa" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Only supports FROM telegram type TO telegram type(s) bellow:" +msgstr "" +"Sólo admite el tipo de telegrama DESDE el tipo de telegrama HASTA el tipo o " +"tipos de telegrama(s) siguiente(s):" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Only supports telegram type(s) bellow:" +msgstr "Sólo admite los siguientes tipos de telegramas:" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__output +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output +msgid "Output" +msgstr "Salida" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output_wamas_file +msgid "Output WAMAS File" +msgstr "Archivo WAMAS de Salida" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output_wamas_filename +msgid "Output WAMAS Filename" +msgstr "Nombre del Archivo WAMAS de Salida" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/models/base_wamas_ubl.py:0 +#, python-format +msgid "Please define wamas message type (msg_type)." +msgstr "Por favor, defina el tipo de mensaje wamas (msg_type)." + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Simulate" +msgstr "Simular" + +#. module: base_wamas_ubl +#: model:ir.actions.act_window,name:base_wamas_ubl.wamas_ubl_wiz_simulate_action +#: model:ir.ui.menu,name:base_wamas_ubl.wamas_ubl_wiz_simulate_menu +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Simulate WAMAS File" +msgstr "Simular Fichero WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_wamas_ubl_wiz_simulate +msgid "Simulate WAMAS File Wizard" +msgstr "Asistente de Simulación de Ficheros WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__supported_telegram +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__supported_telegram +msgid "Supported Telegram" +msgstr "Telegram Compatible" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Telegram Type" +msgstr "Tipo de Telegram" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/models/base_wamas_ubl.py:0 +#, python-format +msgid "The data is not valid." +msgstr "Los datos no son válidos." + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "This wizard will help you extract data of a WAMAS file into:" +msgstr "Este asistente le ayudará a extraer los datos de un archivo WAMAS en:" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "" +"This wizard will help you generate (simulating) a new WAMAS file from an " +"existing WAMAS file." +msgstr "" +"Este asistente le ayudará a generar (simular) un nuevo archivo WAMAS a " +"partir de un archivo WAMAS existente." + +#. module: base_wamas_ubl +#: model:ir.ui.menu,name:base_wamas_ubl.menu_wamas_parent +msgid "WAMAS" +msgstr "WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__wamas_file +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__wamas_file +msgid "WAMAS File" +msgstr "Archivo WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__wamas_filename +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__wamas_filename +msgid "WAMAS Filename" +msgstr "Nombre de archivo WAMAS" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "WAMAS Type" +msgstr "Tipo WAMAS" + +#, python-format +#~ msgid "- Error: Length of line does not match expected length" +#~ msgstr "" +#~ "- Error: La longitud de la línea no coincide con la longitud esperada" + +#, python-format +#~ msgid "" +#~ "- WAMAS Type: %(wamas_type)s\n" +#~ "- Telegram Type: %(telegram_type)s\n" +#~ "- Data: %(data)s\n" +#~ " " +#~ msgstr "" +#~ "- Tipo WAMAS: %(wamas_type)s\n" +#~ "- Tipo de telegrama: %(telegram_type)s\n" +#~ "- Datos: %(data)s\n" +#~ " " + +#, python-format +#~ msgid "Please define telegram_type." +#~ msgstr "Por favor, defina telegram_type." diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/i18n/it.po b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/i18n/it.po new file mode 100644 index 0000000..fab48a9 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/i18n/it.po @@ -0,0 +1,215 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_wamas_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-23 12:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py:0 +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.py:0 +#, python-format +msgid "- Error: %s" +msgstr "- Errore: %s" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py:0 +#, python-format +msgid "" +"- WAMAS Type: %(wamas_type)s\n" +"- Data: %(data)s" +msgstr "" +"- Tipo WAMAS : %(wamas_type)s\n" +"- Dati: %(data)s" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Cancel" +msgstr "Annulla" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Check" +msgstr "Controllo" + +#. module: base_wamas_ubl +#: model:ir.actions.act_window,name:base_wamas_ubl.wamas_ubl_wiz_check_action +#: model:ir.ui.menu,name:base_wamas_ubl.wamas_ubl_wiz_check_menu +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Check WAMAS File" +msgstr "Controllo file WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_wamas_ubl_wiz_check +msgid "Check WAMAS File Wizard" +msgstr "Procedura guidata controllo file WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__create_uid +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__create_date +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Data" +msgstr "Dati" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__display_name +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__id +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__id +msgid "ID" +msgstr "ID" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check____last_update +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__write_uid +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__write_date +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_base_wamas_ubl +msgid "Methods to convert WAMAS to UBL XML files and vice versa" +msgstr "Metodi per convertire WAMAS in file XML UBL e vice versa" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Only supports FROM telegram type TO telegram type(s) bellow:" +msgstr "Supporta solo DA tipo telegramma A tipo(i) telegramma sottostanti:" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Only supports telegram type(s) bellow:" +msgstr "Supporta solo tipo(i) telegramma sottostante:" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__output +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output +msgid "Output" +msgstr "Output" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output_wamas_file +msgid "Output WAMAS File" +msgstr "File output WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output_wamas_filename +msgid "Output WAMAS Filename" +msgstr "Nome file output WAMAS" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/models/base_wamas_ubl.py:0 +#, python-format +msgid "Please define wamas message type (msg_type)." +msgstr "Definire il tipo messaggio WAMAS (msg_type)." + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Simulate" +msgstr "Simula" + +#. module: base_wamas_ubl +#: model:ir.actions.act_window,name:base_wamas_ubl.wamas_ubl_wiz_simulate_action +#: model:ir.ui.menu,name:base_wamas_ubl.wamas_ubl_wiz_simulate_menu +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Simulate WAMAS File" +msgstr "Simula file WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_wamas_ubl_wiz_simulate +msgid "Simulate WAMAS File Wizard" +msgstr "Procedura guidata simulazione file WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__supported_telegram +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__supported_telegram +msgid "Supported Telegram" +msgstr "Telegramma supportato" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Telegram Type" +msgstr "Tipo telegramma" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/models/base_wamas_ubl.py:0 +#, python-format +msgid "The data is not valid." +msgstr "I dati non sono validi." + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "This wizard will help you extract data of a WAMAS file into:" +msgstr "Questa procedura guidata aiuta nell'estrarre dati di un file WAMAS in:" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "" +"This wizard will help you generate (simulating) a new WAMAS file from an " +"existing WAMAS file." +msgstr "" +"Questa procedura guidata aiuta a generare (simulando) un nuovo file WAMAS da " +"un file WAMAS esistente." + +#. module: base_wamas_ubl +#: model:ir.ui.menu,name:base_wamas_ubl.menu_wamas_parent +msgid "WAMAS" +msgstr "WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__wamas_file +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__wamas_file +msgid "WAMAS File" +msgstr "File WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__wamas_filename +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__wamas_filename +msgid "WAMAS Filename" +msgstr "Nome file WAMAS" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "WAMAS Type" +msgstr "Tipo WAMAS" diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/dict2wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/dict2wamas new file mode 100755 index 0000000..27b614b --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/dict2wamas @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.dict2wamas $* diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/generate_sample_results b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/generate_sample_results new file mode 100755 index 0000000..764ce8a --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/generate_sample_results @@ -0,0 +1,8 @@ +#!/usr/bin/sh +./ubl2wamas ../tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE.xml -o ../tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP.wamas -t Picking +./ubl2wamas ../tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP-DESPATCH_ADVICE.xml -o ../tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP.wamas -t Reception +./ubl2wamas ../tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP-DESPATCH_ADVICE.xml -o ../tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP.wamas -t Return + +./wamas2ubl ../tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ.wamas -o ../tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ-DESPATCH_ADVICE.xml +./wamas2ubl ../tests/samples/WAMAS2UBL-SAMPLE_WEAKQ_WEAPQ.wamas -o ../tests/samples/WAMAS2UBL-SAMPLE_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml +./wamas2ubl ../tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ.wamas -o ../tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ-DESPATCH_ADVICE.xml diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_dict2wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_dict2wamas new file mode 100755 index 0000000..8043eca --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_dict2wamas @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.tests.test_dict2wamas diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_ubl2wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_ubl2wamas new file mode 100755 index 0000000..d5e4d28 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_ubl2wamas @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.tests.test_ubl2wamas diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_utils b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_utils new file mode 100755 index 0000000..978e92d --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_utils @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.tests.test_utils diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2dict new file mode 100755 index 0000000..0a2e164 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2dict @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.tests.test_wamas2dict diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2ubl b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2ubl new file mode 100755 index 0000000..01cce44 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2ubl @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.tests.test_wamas2ubl diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2wamas new file mode 100755 index 0000000..bb757b8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2wamas @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.tests.test_wamas2wamas diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/ubl2wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/ubl2wamas new file mode 100755 index 0000000..14dbe19 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/ubl2wamas @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.ubl2wamas $* diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/__init__.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/const.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/const.py new file mode 100644 index 0000000..c870010 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/const.py @@ -0,0 +1,183 @@ +from .wamas_grammar import ( + art, + arte, + artean, + ausk, + auskq, + ausp, + auspq, + bkorr, + kretk, + kretkq, + kretp, + kretpq, + kst, + kstaus, + lba, + lbabq, + lbaeq, + lbamq, + lst, + watekq, + watepq, + weak, + weakq, + weap, + weapq, +) + +## +# WAMAS CONST +## + +DEFAULT_TIMEZONE = "Europe/Zurich" +SYSTEM_WAMAS = "WAMAS" +SYSTEM_ERP = "ODOO" + +## +# WAMAS FORMAT SPECS +## + +TELEGRAM_HEADER_GRAMMAR = { + "Telheader_Quelle": 10, + "Telheader_Ziel": 10, + "Telheader_TelSeq": 6, + "Telheader_AnlZeit": 14, + "Satzart": 9, +} + +DICT_DETECT_WAMAS_TYPE = { + "ART": "Product", + "AUSK": "Picking", + "AUSKQ": "PickingResponse", + "AUSPQ": "PickingResponse", + "KRETK": "Return", + "KRETKQ": "ReturnResponse", + "KST": "Customer", + "LST": "Supplier", + "WATEKQ": "PickingResponse", + "WEAK": "Reception", + "WEAKQ": "ReceptionResponse", + "BKORR": "InventoryCorrection", + "LBABQ": "InventoryResponse", + "LBAMQ": "InventoryResponse", +} + +## +# WAMAS GRAMMAR +## + +DICT_WAMAS_GRAMMAR = { + "ART": art.grammar, + "ARTE": arte.grammar, + "ARTEAN": artean.grammar, + "AUSK": ausk.grammar, + "AUSP": ausp.grammar, + "BKORR": bkorr.grammar, + "KRETK": kretk.grammar, + "KRETP": kretp.grammar, + "WEAK": weak.grammar, + "WEAP": weap.grammar, + "AUSKQ": auskq.grammar, + "AUSPQ": auspq.grammar, + "KRETKQ": kretkq.grammar, + "KRETPQ": kretpq.grammar, + "KST": kst.grammar, + "KSTAUS": kstaus.grammar, + "LBA": lba.grammar, + "LBABQ": lbabq.grammar, + "LBAEQ": lbaeq.grammar, + "LBAMQ": lbamq.grammar, + "LST": lst.grammar, + "WATEKQ": watekq.grammar, + "WATEPQ": watepq.grammar, + "WEAKQ": weakq.grammar, + "WEAPQ": weapq.grammar, +} + +## +# WAMAS TO UBL +## + +LST_TELEGRAM_TYPE_IGNORE_W2D = ["TOURQ", "TAUSPQ"] + +DICT_UBL_TEMPLATE = { + "ReceptionResponse": "ubl_template/reception.xml", + "ReturnResponse": "ubl_template/return.xml", + "PickingResponse": "ubl_template/picking.xml", +} + +## +# DICT TO WAMAS +## + +SUPPORTED_DICT_TO_WAMAS = { + "Product": ["ART"], # "ARTE", "ARTEAN"], + "Packaging": ["ARTE"], + "Barcode": ["ARTEAN"], + "Customer": ["KST"], # "KSTAUS"], + "CustomerDeliveryPreferences": ["KSTAUS"], + "Supplier": ["LST"], +} + +## +# UBL TO WAMAS +## + +SUPPORTED_UBL_TO_WAMAS = { + "Reception": ["WEAK", "WEAP"], + "Picking": ["AUSK", "AUSP"], + "Return": ["KRETK", "KRETP"], +} + +LST_TELEGRAM_TYPE_SUPPORT_D2W = [ + "ART", + "ARTE", + "ARTEAN", + "WEAK", + "WEAP", + "AUSK", + "AUSP", + "BKORR", + "KRETK", + "KRETP", + "KST", + "KSTAUS", + "LBA", + "LBABQ", + "LBAMQ", + "LBAEQ", + "LST", +] + + +## +# WAMAS TO WAMAS +## + +LST_VALID_TELEGRAM_IN = [ + "AUSK", + "AUSP", + "KRETK", + "KRETP", + "WATEK", + "WATEP", + "WEAK", + "WEAP", +] + + +DICT_CONVERT_WAMAS_TYPE = { + "AUSK": ["AUSKQ", "WATEKQ"], + "AUSP": ["AUSPQ", "WATEPQ"], + "KRETK": ["KRETKQ"], + "KRETP": ["KRETPQ"], + "WEAK": ["WEAKQ"], + "WEAP": ["WEAPQ"], +} + + +DICT_PARENT_KEY = {"WATEKQ": ["IvTek_TeId"]} + + +DICT_CHILD_KEY = {"WATEPQ": {"IvTep_TeId": "IvTek_TeId"}} diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/dict2wamas.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/dict2wamas.py new file mode 100644 index 0000000..e530f12 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/dict2wamas.py @@ -0,0 +1,102 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import argparse +import logging +from ast import literal_eval +from pprint import pformat + +from freezegun import freeze_time + +from . import const, utils + +_logger = logging.getLogger("json2wamas") + +SUPPORTED_TYPES = list(const.SUPPORTED_DICT_TO_WAMAS.keys()) + + +def dict2list(dict_input, msg_type): + res = [] + + if msg_type not in SUPPORTED_TYPES: + raise Exception("Invalid document type: %s" % msg_type) + + line_idx = 0 + for telegram_type in const.SUPPORTED_DICT_TO_WAMAS[msg_type]: + grammar = const.DICT_WAMAS_GRAMMAR[telegram_type] + # Special case for `KSTAUS` + if telegram_type == "KSTAUS": + # 1 line for `KstAus_LagIdKom = kMEZ` + line_idx += 1 + dict_input["picking_zone"] = "kMEZ" + line = utils.generate_wamas_dict( + dict_input, + grammar, + line_idx=line_idx, + ) + res.append(line) + # 1 line for `KstAus_LagIdKom = kPAR` + line_idx += 1 + dict_input["picking_zone"] = "kPAR" + line = utils.generate_wamas_dict( + dict_input, + grammar, + line_idx=line_idx, + ) + res.append(line) + else: + line_idx += 1 + line = utils.generate_wamas_dict( + dict_input, + grammar, + line_idx=line_idx, + ) + res.append(line) + return res + + +def dict2wamas(dict_input, msg_type): + lst_of_wamas_dicts = dict2list(dict_input, msg_type) + wamas = "\n".join(utils.wamas_dict2line(d) for d in lst_of_wamas_dicts) + _logger.debug(lst_of_wamas_dicts) + return wamas + + +@freeze_time("2024-02-11 22:14:22") +def main(): + parser = argparse.ArgumentParser( + description="Converts JSON document into message.", + ) + parser.add_argument("-v", "--verbose", action="store_true", help="enable debug log") + parser.add_argument( + "-f", + "--format", + default="wamas", + choices=["dict", "wamas"], + help="result format", + ) + parser.add_argument( + "-t", "--type", required=True, choices=SUPPORTED_TYPES, help="type of document" + ) + parser.add_argument( + "-o", "--output", dest="outputfile", help="write result in this file" + ) + parser.add_argument("inputfile", help="read message from this file") + args = parser.parse_args() + if args.verbose: + logging.basicConfig(level=logging.DEBUG) + infile = utils.file_open(args.inputfile).read() + infile = literal_eval(infile) + if args.format == "dict": + res = pformat(dict2list(infile, args.type)) + else: + res = dict2wamas(infile, args.type) + if args.outputfile: + fd = utils.file_open(args.outputfile, "w") + fd.write(res) + else: + print(res) # pylint: disable=print-used + + +if __name__ == "__main__": + main() diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/miniqweb.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/miniqweb.py new file mode 100644 index 0000000..cdd28e7 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/miniqweb.py @@ -0,0 +1,231 @@ +""" +Extracted from QWeb Framework v0.7 + +https://github.com/antonylesuisse/qweb/blob/master/qweb_python/qweb/qweb.py + +License +------- +Public domain. +""" + +import logging +import xml.dom +import xml.dom.minidom + +_logger = logging.getLogger("miniqweb") + + +# ---------------------------------------------------------- +# Qweb Xml t-raw t-if t-foreach t-set t-trim +# ---------------------------------------------------------- +class QWebEval: + def __init__(self, data): + self.data = data + + def __getitem__(self, expr): + if expr in self.data: + return self.data[expr] + r = None + try: + r = eval(expr, self.data) # pylint: disable=W0123 + except NameError: + _logger.debug("qweb: name error") + except AttributeError: + _logger.debug("qweb: attribute error") + except Exception as e: + _logger.debug("qweb: expression error '%s' " % expr, e) + if "__builtins__" in self.data: + del self.data["__builtins__"] + return r + + def eval_object(self, expr): + return self[expr] + + def eval_str(self, expr): + if expr == "0": + return self.data[0] + return str(self[expr]) + + def eval_format(self, expr): + try: + return str(expr % self) + except Exception: + return "qweb: format error '%s' " % expr + + def eval_bool(self, expr): + if self.eval_object(expr): + return 1 + else: + return 0 + + +class QWebXml: + """QWeb Xml templating engine + + The templating engine use a very simple syntax, "magic" xml attributes, to + produce any kind of texutal output (even non-xml). + + QWebXml: + the template engine core implements the basic magic attributes: + + t-att t-raw t-if t-foreach t-set t-trim + + """ + + def __init__(self, x=None): + self.node = xml.dom.Node + self._t = {} + self._render_tag = {} + prefix = "render_tag_" + for i in [j for j in dir(self) if j.startswith(prefix)]: + name = i[len(prefix) :].replace("_", "-") + self._render_tag[name] = getattr(self.__class__, i) + + self._render_att = {} + prefix = "render_att_" + for i in [j for j in dir(self) if j.startswith(prefix)]: + name = i[len(prefix) :].replace("_", "-") + self._render_att[name] = getattr(self.__class__, i) + + if x is not None: + self.add_template(x) + + def register_tag(self, tag, func): + self._render_tag[tag] = func + + def add_template(self, x): + dom = xml.dom.minidom.parseString(x) + self._t = dom + + def eval_object(self, expr, v): + return QWebEval(v).eval_object(expr) + + def eval_str(self, expr, v): + return QWebEval(v).eval_str(expr) + + def eval_format(self, expr, v): + return QWebEval(v).eval_format(expr) + + def eval_bool(self, expr, v): + return QWebEval(v).eval_bool(expr) + + def render(self, v, out=None): + return self.render_node(self._t.childNodes[0], v) + + def render_node(self, e, v): + r = "" + if ( + e.nodeType == self.node.TEXT_NODE + or e.nodeType == self.node.CDATA_SECTION_NODE + ): + r = e.data + elif e.nodeType == self.node.ELEMENT_NODE: + pre = "" + g_att = "" + t_render = None + t_att = {} + for an, av in e.attributes.items(): + if an.startswith("t-"): + for i in self._render_att: + if an[2:].startswith(i): + g_att += self._render_att[i](self, e, an, av, v) + break + else: + if an[2:] in self._render_tag: + t_render = an[2:] + t_att[an[2:]] = av + else: + g_att += ' {}="{}"'.format(an, av) + if t_render: + if t_render in self._render_tag: + r = self._render_tag[t_render](self, e, t_att, g_att, v) + else: + r = self.render_element(e, g_att, v, pre, t_att.get("trim", 0)) + return r + + def render_element(self, e, g_att, v, pre="", trim=0): + g_inner = [] + for n in e.childNodes: + g_inner.append(self.render_node(n, v)) + name = str(e.nodeName) + inner = "".join(g_inner) + if trim == 0: + pass + elif trim == "left": + inner = inner.lstrip() + elif trim == "right": + inner = inner.rstrip() + elif trim == "both": + inner = inner.strip() + if name == "t": + return inner + elif len(inner): + return "<{}{}>{}{}".format(name, g_att, pre, inner, name) + else: + return "<{}{}/>".format(name, g_att) + + # Attributes + def render_att_att(self, e, an, av, v): + if an.startswith("t-attf-"): + att, val = an[7:], self.eval_format(av, v) + elif an.startswith("t-att-"): + att, val = (an[6:], self.eval_str(av, v)) + else: + att, val = self.eval_object(av, v) + return ' {}="{}"'.format(att, val) + + # Tags + def render_tag_raw(self, e, t_att, g_att, v): + return self.eval_str(t_att["raw"], v) + + def render_tag_rawf(self, e, t_att, g_att, v): + return self.eval_format(t_att["rawf"], v) + + def render_tag_foreach(self, e, t_att, g_att, v): + expr = t_att["foreach"] + enum = self.eval_object(expr, v) + if enum is not None: + var = t_att.get("as", expr).replace(".", "_") + d = v.copy() + size = -1 + if isinstance(enum, (list, tuple)): + size = len(enum) + elif hasattr(enum, "count"): + size = enum.count() + d["%s_size" % var] = size + d["%s_all" % var] = enum + index = 0 + ru = [] + for i in enum: + d["%s_value" % var] = i + d["%s_index" % var] = index + d["%s_first" % var] = index == 0 + d["%s_even" % var] = index % 2 + d["%s_odd" % var] = (index + 1) % 2 + d["%s_last" % var] = index + 1 == size + if index % 2: + d["%s_parity" % var] = "odd" + else: + d["%s_parity" % var] = "even" + if isinstance(i, dict): + d.update(i) + else: + d[var] = i + ru.append(self.render_element(e, g_att, d)) + index += 1 + return "".join(ru) + else: + return "qweb: t-foreach %s not found." % expr + + def render_tag_if(self, e, t_att, g_att, v): + if self.eval_bool(t_att["if"], v): + return self.render_element(e, g_att, v) + else: + return "" + + def render_tag_set(self, e, t_att, g_att, v): + if "eval" in t_att: + v[t_att["set"]] = self.eval_object(t_att["eval"], v) + else: + v[t_att["set"]] = self.render_element(e, g_att, v) + return "" diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/structure.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/structure.py new file mode 100644 index 0000000..724e0e2 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/structure.py @@ -0,0 +1,25 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import logging + +_logger = logging.getLogger("wamas") + + +class obj: + def __init__(self, d): + for k, v in d.items(): + if isinstance(v, (list, tuple)): + setattr(self, k, [obj(x) if isinstance(x, dict) else x for x in v]) + else: + setattr(self, k, obj(v) if isinstance(v, dict) else v) + + +class MappingDict(dict): + """ + A dict that returns the key if there's no corresponding value + """ + + def __missing__(self, key): + _logger.debug("No mapping found for key: %s", key) + return key diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/__init__.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE.xml b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE.xml new file mode 100644 index 0000000..93ccce4 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE.xml @@ -0,0 +1,94 @@ + + + 2.2 + 1673980/1700802 + + 2023-04-30 + + 1700802 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + YourCompany + + + 250 Executive Park Blvd, Suite 3400 + AdditionalStreetName_1 + Department_1 + San Francisco + 94134 + California + + US + + + + + + + + + + + Chester Reed + (979)-904-8902 + + chester.reed79@example.com + + + + + GE 2/120185 + + + 2023-04-13 + 11:00:00 + + + + Quai-22 + + + + + + 10001 + 1500 + + 000011 + + + + 7076 + + + + diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE2.xml b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE2.xml new file mode 100644 index 0000000..faadd23 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE2.xml @@ -0,0 +1,108 @@ + + + 2.2 + WH/PICK/1700802 + + 2023-04-30 + + SO1700802 + + + + + YourCompany + + + 250 Executive Park Blvd, Suite 3400 + San Francisco + 94134 + California + + US + + + + + + + + + + + Chester Reed + (979)-904-8902 + + chester.reed79@example.com + + + + + + + Name + + + StreetName + Department + AdditionalStreetName + San Francisco + 94134 + California + + US + + + + + + + + + + + + (979)-904-8902 + + chester.reed79@example.com + + + + + GE 2/120185 + + + 2023-04-13 + 11:00:00 + + + + Quai-22 + + + + + + 10001 + 1500 + + + + + + 7076 + + + + + 10002 + 50 + + + + + + 5225 + + + + diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP.wamas new file mode 100644 index 0000000..313cb7d --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP.wamas @@ -0,0 +1,3 @@ +ODOO WAMAS 00000120230501020000AUSK00056000WH/PICK/1700802 ODOO SO1700802 000 Name Department StreetName AdditionalStreetName 94134 San Francisco (979)-904-8902 Name Department StreetName AdditionalStreetName 94134 San Francisco California US (979)-904-8902 chester.reed79@example.com 20230413130000Quai-22 FRUEH FRUEHGE 2/120185 ODOO 00000000000000000000000000 CAM 001 ST Def_Strat +ODOO WAMAS 00000220230501020000AUSP00054000WH/PICK/1700802 ODOO 0100010007076 00000 DISPONIBLE 0000000000000000000000000000 000001500000PET 00000000000000 NN N 0000N +ODOO WAMAS 00000320230501020000AUSP00054000WH/PICK/1700802 ODOO 0100020005225 00000 DISPONIBLE 0000000000000000000000000000 000000050000BOUT 00000000000000 NN N 0000N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP-DESPATCH_ADVICE.xml b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP-DESPATCH_ADVICE.xml new file mode 100644 index 0000000..cf68081 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP-DESPATCH_ADVICE.xml @@ -0,0 +1,135 @@ + + + 2.2 + WH/IN-RET/000235 + + 2023-05-01 + + SO001243 + 2023-04-27 + + + 1040 + + + MyCompany + + + StreetName + Department + AdditionalStreetName + Turlock + 95380 + California + + US + + + + (623)-853-7197 + + wood.corner26@example.com + + + + + + + YourCompany + + + 250 Executive Park Blvd, Suite 3400 + AdditionalStreetName_1 + Department_1 + San Francisco + 94134 + California + + US + + + + + + + + + + + Chester Reed + (979)-904-8902 + + chester.reed79@example.com + + + + + 130377 + + + 2023-05-01 + 14:00:00 + + + + + 0001 + 1536 + + + + + + 1151 + + + + + 0002 + 5184 + + + + + + 1156 + + + + + 0003 + 3840 + + 0003 + + + + 1160 + + + + + 0004 + 3072 + + + + + + 1162 + + + + + 0005 + 3024 + + + + + + 1176 + + + + diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP.wamas new file mode 100644 index 0000000..a0ebc13 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP.wamas @@ -0,0 +1,6 @@ +ODOO WAMAS 00000120230501020000KRETK0051000WH/IN-RET/000235 ODOO SO001243 RETCLI0001040 MyCompany Department StreetName AdditionalStreetName 95380 Turlock US (623)-853-7197 wood.corner26@example.com SF-EM-RETCLI 20230501160000 +ODOO WAMAS 00000220230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000010001151 00000DISPONIBLE 000001536000BOUT N +ODOO WAMAS 00000320230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000020001156 00000DISPONIBLE 000005184000PET N +ODOO WAMAS 00000420230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000030001160 00000DISPONIBLE 000003840000BOUT N +ODOO WAMAS 00000520230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000040001162 00000DISPONIBLE 000003072000PET N +ODOO WAMAS 00000620230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000050001176 00000DISPONIBLE 000003024000PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP-DESPATCH_ADVICE.xml b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP-DESPATCH_ADVICE.xml new file mode 100644 index 0000000..dc57e00 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP-DESPATCH_ADVICE.xml @@ -0,0 +1,152 @@ + + + 2.2 + WH/IN/000377 + + 2023-05-01 + + PO001040 + 2023-04-27 + + + 1040 + + + MyCompany + + + StreetName + Department + AdditionalStreetName + Turlock + 95380 + California + + US + + + + (623)-853-7197 + + wood.corner26@example.com + + + + + + + YourCompany + + + 250 Executive Park Blvd, Suite 3400 + San Francisco + 94134 + California + + US + + + + + + + + + + + Chester Reed + (979)-904-8902 + + chester.reed79@example.com + + + + + 130377 + + + 2023-05-02 + 15:00:00 + + + 2023-05-01 + 14:00:00 + + + + + 0001 + 1536 + + + + + + 1151 + + + 7910063 + + + + + 0002 + 5184 + + + + + + 1156 + + + 7910105 + + + + + 0003 + 3840 + + + + + + 1160 + + + 7910004 + + + + + 0004 + 3072 + + + + + + 1162 + + + 12156876 + + + + + 0005 + 3024 + + + + + + 1176 + + + 7910044 + + + + diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP.wamas new file mode 100644 index 0000000..afecf08 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP.wamas @@ -0,0 +1,6 @@ +ODOO WAMAS 00000120230501020000WEAK00050000WH/IN/000377 ODOO PO001040 STDMAN0001040 MyCompany Department StreetName AdditionalStreetName 95380 Turlock US (623)-853-7197 wood.corner26@example.com 20230502170000 +ODOO WAMAS 00000220230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000010001151 00000 NDISPONIBLE 000001536000BOUT NORMAL 20230501020000 202305011600007910063 NNLG +ODOO WAMAS 00000320230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000020001156 00000 NDISPONIBLE 000005184000PET NORMAL 20230501020000 202305011600007910105 NNLG +ODOO WAMAS 00000420230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000030001160 00000 NDISPONIBLE 000003840000BOUT NORMAL 20230501020000 202305011600007910004 NNLG +ODOO WAMAS 00000520230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000040001162 00000 NDISPONIBLE 000003072000PET NORMAL 20230501020000 2023050116000012156876 NNLG +ODOO WAMAS 00000620230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000050001176 00000 NDISPONIBLE 000003024000XBO NORMAL 20230501020000 202305011600007910044 NNLG \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ-DESPATCH_ADVICE.xml b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ-DESPATCH_ADVICE.xml new file mode 100644 index 0000000..deb5595 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ-DESPATCH_ADVICE.xml @@ -0,0 +1,162 @@ + + 2.2 + 1673982/1701778 + 2023-05-01 + + 1673982/1701778 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4009542 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GE 2/120185 + + + + + + 376401426411929180 + + PE + + + 314.7 + + + 101 + + 7.0 + + + + + + + + + + + 15455 + + + + + + + + + 376401426411929180 + + PE + + + 314.7 + + + 102 + + 8.0 + + + + + + + + + + + 15455 + + + + + + + + + 376401426411929180 + + PE + + + 314.7 + + + 103 + + 0.0 + + + + + + + + + + + 15455 + + + + + + \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ.wamas new file mode 100644 index 0000000..9e97c5c --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ.wamas @@ -0,0 +1,5 @@ +WAMAS ODOO 00005620230413110200AUSKQ00520001673982/1701778 HOST 1673982/1701778 0004009542 202304140000002023041305252320230413110128GE 2/120185 HOST +WAMAS ODOO 00000120230413110200WATEKQ054376401426411929180QUAI-22 000000000000000000000000 0000GE 2/120185 HOST PE 000740ST9016000000314700 +WAMAS ODOO 00000220230413110200WATEPQ050 20240413 12 eCAM 008610 NN20240413000001TETRA 0001673982/1701778 HOST 00010100015455 00000000000007000000000000000DISPONIBLE 376401426411929180 +WAMAS ODOO 00000320230413110200WATEPQ050 20240413 12 eCAM 008610 NN20240413000001TETRA 0001673982/1701778 HOST 00010200015455 00000000000008000000000000000DISPONIBLE 376401426411929180 +WAMAS ODOO 00000420230413110200WATEPQ050 20240413 12 eCAM 008610 NN20240413000001TETRA 0001673982/1701778 HOST 00010300015455 00000000000000000000000000000DISPONIBLE 376401426411929180 diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml new file mode 100644 index 0000000..cd3bc2e --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml @@ -0,0 +1,169 @@ + + 2.2 + ABCDE/IN/00424 + 2023-05-01 + + 000185 + + + 1069 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2025-01-14 + 12:13:23 + + + + + 1 + 100.0 + + + + + + 99098 2 + + + + + + 2.2 + ABCDE/IN/00409 + 2023-05-01 + + 000176 + + + 1069 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2025-01-14 + 12:13:23 + + + + + 1 + 114.0 + + + + + + 12766 + + + + 1 + 115.0 + + + + + + 12766 + + + + \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ.wamas new file mode 100644 index 0000000..cd2b883 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ.wamas @@ -0,0 +1,4 @@ +WAMAS ODOO 00000720250114132733WEAKQ0051000212712 ODOO 20250114070918 19700101010000202501140710472025011413132320250114070939 0001069 +WAMAS ODOO 00000820250114132733WEAPQ0050000212712 000ABCDE/IN/00424 ODOO 000185 0000019623 00099098 2 00000DISPONIBLE 000000100000000000000000 BOUT 19700101 12 eCAM 173980 N +WAMAS ODOO 00000920250114132733WEAPQ0050000212712 000ABCDE/IN/00409 ODOO 000176 0000019623 00012766 00000DISPONIBLE 000000114000000000000000 BOUT 19700101 12 eCAM 173970 N +WAMAS ODOO 00001020250114132733WEAPQ0050000212712 000ABCDE/IN/00409 ODOO 000176 0000019623 00012766 00000DISPONIBLE 000000115000000000000000 BOUT 19700101 12 eCAM 173970 N diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ-DESPATCH_ADVICE.xml b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ-DESPATCH_ADVICE.xml new file mode 100644 index 0000000..b786fe0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ-DESPATCH_ADVICE.xml @@ -0,0 +1,202 @@ + + 2.2 + 1683399 + 2023-05-01 + + 1712149 + + + 4026234 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2023-05-10 + 09:54:47 + + + + + 10 + 108.0 + + + + + + 1172 + + + + 20 + 36.0 + + + + + + 1272 + + + + 30 + 48.0 + + + + + + 16076 + + + + 40 + 72.0 + + + + + + 22876 + + + + 50 + 60.0 + + + + + + 25676 + + + + + + 2.2 + 1683288 + 2023-05-01 + + 1711980 + + + 4007720 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2023-05-10 + 09:57:14 + + + + + 10 + 144.0 + + + + + + 8060 + + + + \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ.wamas new file mode 100644 index 0000000..a4a7686 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ.wamas @@ -0,0 +1,8 @@ +WAMAS ODOO 00000120230510115944KRETKQ0500001683399 HOST 1712149 0004026234 202305101026402023051011102920230510115447 +WAMAS ODOO 00000220230510115944KRETPQ0500001683399 HOST 1712149 0000100001172 00000DISPONIBLE 000000108000000000000000 PET 19700101 +WAMAS ODOO 00000320230510115944KRETPQ0500001683399 HOST 1712149 0000200001272 00000DISPONIBLE 000000036000000000000000 PET 19700101 +WAMAS ODOO 00000420230510115944KRETPQ0500001683399 HOST 1712149 00003000016076 00000DISPONIBLE 000000048000000000000000 PET 19700101 +WAMAS ODOO 00000520230510115944KRETPQ0500001683399 HOST 1712149 00004000022876 00000DISPONIBLE 000000072000000000000000 PET 19700101 +WAMAS ODOO 00000620230510115944KRETPQ0500001683399 HOST 1712149 00005000025676 00000DISPONIBLE 000000060000000000000000 PET 19700101 +WAMAS ODOO 00000720230510115944KRETKQ0500001683288 HOST 1711980 0004007720 202305100810092023051011562820230510115714 +WAMAS ODOO 00000820230510115944KRETPQ0500001683288 HOST 1711980 0000100008060 00000DISPONIBLE 000000144000000000000000 BOUT 19700101 diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml new file mode 100644 index 0000000..11e3154 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml @@ -0,0 +1,123 @@ + + 2.2 + 130377 + 2023-05-01 + + + + + 1040 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2023-05-01 + 04:43:39 + + + + + 20 + 1536.0 + + + + + + 1151 + + + + 30 + 5184.0 + + + + + + 1156 + + + + 40 + 3840.0 + + + + + + 1160 + + + + 50 + 3072.0 + + + + + + 1162 + + + + 60 + 3024.0 + + + + + + 1176 + + + + \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ.wamas new file mode 100644 index 0000000..308828f --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120230501065723WEAKQ0051000196241 HOST 20230501060217 19700101010000202305010609112023050106433920230501060221 0001040 +WAMAS ODOO 00000220230501065723WEAPQ0050000196241 000130377 HOST 00002045415 0001151 00000DISPONIBLE 000001536000000000000000 BOUT 19700101 12 eCAM 018090 N +WAMAS ODOO 00000320230501065723WEAPQ0050000196241 000130377 HOST 00003045415 0001156 00000DISPONIBLE 000005184000000000000000 PET 19700101 12 eCAM 018090 N +WAMAS ODOO 00000420230501065723WEAPQ0050000196241 000130377 HOST 00004045415 0001160 00000DISPONIBLE 000003840000000000000000 BOUT 19700101 12 eCAM 018090 N +WAMAS ODOO 00000520230501065723WEAPQ0050000196241 000130377 HOST 00005045415 0001162 00000DISPONIBLE 000003072000000000000000 PET 19700101 12 eCAM 018090 N +WAMAS ODOO 00000620230501065723WEAPQ0050000196241 000130377 HOST 00006045415 0001176 00000DISPONIBLE 000003024000000000000000 PET 19700101 12 eCAM 018090 N diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_input.dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_input.dict new file mode 100644 index 0000000..ed64273 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_input.dict @@ -0,0 +1,13 @@ +{ + "ref": "0001", + "name": "Adam Smith", + "street": "3273 Laurel Lane", + "street2": "", + "zip": "79782", + "city": "Sand Springs", + "state": "Texas", + "country_code": "US", + "phone": "432-393-1264", + "email": "aaa", + "street": "adam@dayrep.com", +} diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_input_2.dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_input_2.dict new file mode 100644 index 0000000..51f0dca --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_input_2.dict @@ -0,0 +1,6 @@ +{ + "ref": "223224", + "wamas_code": "PE/PP/RO", + "priority_sequence": 0, + "game_identifier": "N", +} diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_output.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_output.wamas new file mode 100644 index 0000000..0bc344c --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_output.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120240211231422LST0000510000001 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_output_2.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_output_2.wamas new file mode 100644 index 0000000..9d5eafb --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_output_2.wamas @@ -0,0 +1,2 @@ +ODOO WAMAS 00000120240211231532KSTAUS050000223224 PE/PP/RO kMEZ 0 N +ODOO WAMAS 00000220240211231532KSTAUS050000223224 PE/PP/RO kPAR 0 N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEKQ_-_length_off_by_one_01.dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEKQ_-_length_off_by_one_01.dict new file mode 100644 index 0000000..1196719 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEKQ_-_length_off_by_one_01.dict @@ -0,0 +1,20 @@ +{'WATEKQ': [OrderedDict([('Telheader_Quelle', 'WAMAS'), + ('Telheader_Ziel', 'SYSLOG'), + ('Telheader_TelSeq', 1), + ('Telheader_AnlZeit', '20230413110200'), + ('Satzart', 'WATEKQ054'), + ('IvTek_TeId', '376401426411929180'), + ('IvTek_Pos_FeldId', 'QUAI-22'), + ('IvTek_Pos_Offs_L_X', 0), + ('IvTek_Pos_Offs_L_Y', 0), + ('IvTek_Pos_Offs_L_Z', 0), + ('IvTek_Stamm_TeId', ''), + ('AnzSubTe', 0), + ('IvTourp_TOUR_TourId_TourNr', 'GE 2/120185'), + ('IvTourp_TOUR_TourId_HostTourKz', 'HOST'), + ('IvTts_THM_ThmId', 'PE'), + ('IvTts_MaxLadeHoehe', 740), + ('IvTour_VAST_Versandart', 'ST'), + ('IvTourp_TOUR_TourId_IntLfdNr', 9016), + ('IvTek_GesGew', 314.7), + ('IvTourp_LiefSNr', '')])]} \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEKQ_-_length_off_by_one_01.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEKQ_-_length_off_by_one_01.wamas new file mode 100644 index 0000000..d66ba22 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEKQ_-_length_off_by_one_01.wamas @@ -0,0 +1 @@ +WAMAS SYSLOG 00000120230413110200WATEKQ054376401426411929180QUAI-22 000000000000000000000000 0000GE 2/120185 HOST PE 000740ST9016000000314700 \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_non_ascii.dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_non_ascii.dict new file mode 100644 index 0000000..d20ab2c --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_non_ascii.dict @@ -0,0 +1,26 @@ +{'WATEPQ': [OrderedDict([('Telheader_Quelle', 'WAMAS'), + ('Telheader_Ziel', 'SYSLOG'), + ('Telheader_TelSeq', 24), + ('Telheader_AnlZeit', '20230413110200'), + ('Satzart', 'WATEPQ050'), + ('IvTep_MId_Charge', '2723041A鰰370150'), + ('IvTep_MId_MHD', '20250210'), + ('IvTep_MId_ResNr', ''), + ('IvTep_MId_WeNr', '12 eCAM 013370'), + ('IvTep_MId_ThmKz', 'N'), + ('IvTep_PrimThmKz', 'N'), + ('IvTep_FifoDatum', '20250210'), + ('IvTep_PosNr', 7), + ('IvArt_Bestand_Einheit', 'PET'), + ('IvArt_HOSTUNITS_HostEinh', ''), + ('IvAusp_UrAusId_Mand', '000'), + ('IvAusp_UrAusId_AusNr', '1673981/1700809'), + ('IvAusp_UrAusId_HostAusKz', 'HOST'), + ('IvAusp_HostPosNr', 61), + ('IvArt_AId_Mand', '000'), + ('IvArt_AId_ArtNr', '7055'), + ('IvArt_AId_Var', '00000'), + ('Mngs_Mng', 90.0), + ('Mngs_Gew', 0.0), + ('IvMatqk_HMATQ_HMatQ', 'DISPONIBLE'), + ('IvTep_TeId', '376401426411929081')])]} \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_non_ascii.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_non_ascii.wamas new file mode 100644 index 0000000..2f0b3d9 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_non_ascii.wamas @@ -0,0 +1 @@ +WAMAS SYSLOG 00002420230413110200WATEPQ0502723041A鰰370150 20250210 12 eCAM 013370 NN20250210000007PET 0001673981/1700809 HOST 0000610007055 00000000000090000000000000000DISPONIBLE 376401426411929081 diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_normal.dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_normal.dict new file mode 100644 index 0000000..a6f4a43 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_normal.dict @@ -0,0 +1,26 @@ +{'WATEPQ': [OrderedDict([('Telheader_Quelle', 'WAMAS'), + ('Telheader_Ziel', 'SYSLOG'), + ('Telheader_TelSeq', 11), + ('Telheader_AnlZeit', '20230413110200'), + ('Satzart', 'WATEPQ050'), + ('IvTep_MId_Charge', ''), + ('IvTep_MId_MHD', '20231231'), + ('IvTep_MId_ResNr', ''), + ('IvTep_MId_WeNr', '12 eCAM 014020'), + ('IvTep_MId_ThmKz', 'N'), + ('IvTep_PrimThmKz', 'N'), + ('IvTep_FifoDatum', '20231231'), + ('IvTep_PosNr', 10), + ('IvArt_Bestand_Einheit', 'PET'), + ('IvArt_HOSTUNITS_HostEinh', ''), + ('IvAusp_UrAusId_Mand', '000'), + ('IvAusp_UrAusId_AusNr', '1673982/1701778'), + ('IvAusp_UrAusId_HostAusKz', 'HOST'), + ('IvAusp_HostPosNr', 21), + ('IvArt_AId_Mand', '000'), + ('IvArt_AId_ArtNr', '1176'), + ('IvArt_AId_Var', '00000'), + ('Mngs_Mng', 30.0), + ('Mngs_Gew', 0.0), + ('IvMatqk_HMATQ_HMatQ', 'DISPONIBLE'), + ('IvTep_TeId', '376401426411929180')])]} \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_normal.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_normal.wamas new file mode 100644 index 0000000..7bee5b5 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_normal.wamas @@ -0,0 +1 @@ +WAMAS SYSLOG 00001120230413110200WATEPQ050 20231231 12 eCAM 014020 NN20231231000010PET 0001673982/1701778 HOST 0000210001176 00000000000030000000000000000DISPONIBLE 376401426411929180 \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_weirdly_encoded_01.dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_weirdly_encoded_01.dict new file mode 100644 index 0000000..c121e15 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_weirdly_encoded_01.dict @@ -0,0 +1,21 @@ +{'WATEPQ': [{'IvArt_AId_ArtNr': '34155', + 'IvArt_AId_Mand': '000', + 'IvArt_AId_Var': '00000', + 'IvArt_Bestand_Einheit': 'PET', + 'IvArt_HOSTUNITS_HostEinh': '', + 'IvAusp_HostPosNr': '000131', + 'IvAusp_UrAusId_AusNr': '1673982/1701778', + 'IvAusp_UrAusId_HostAusKz': 'HOST', + 'IvAusp_UrAusId_Mand': '000', + 'IvMatqk_HMATQ_HMatQ': 'DISPONIBLE', + 'IvTep_FifoDatum': '20240202', + 'IvTep_MId_Charge': '6423033A370063', + 'IvTep_MId_MHD': '20240202', + 'IvTep_MId_ResNr': '', + 'IvTep_MId_ThmKz': 'N', + 'IvTep_MId_WeNr': '12 eCAM 012210', + 'IvTep_PosNr': '000011', + 'IvTep_PrimThmKz': 'N', + 'IvTep_TeId': '376401426411929180', + 'Mngs_Gew': '000000000000', + 'Mngs_Mng': '000000048000'}]} diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_weirdly_encoded_01.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_weirdly_encoded_01.wamas new file mode 100644 index 0000000..8e81aec --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_weirdly_encoded_01.wamas @@ -0,0 +1 @@ +WAMAS SYSLOG 00001220230413110200WATEPQ0506423033A鰰��370063 20240202 12 eCAM 012210 NN20240202000011PET 0001673982/1701778 HOST 00013100034155 00000000000048000000000000000DISPONIBLE 376401426411929180 \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/picking.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/picking.wamas new file mode 100644 index 0000000..f87e191 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/picking.wamas @@ -0,0 +1,4 @@ +WAMAS SYSLOG 00000120230413110200WATEKQ054376401426411929180QUAI-22 000000000000000000000000 0000GE 2/120185 HOST PE 000740ST9016000000314700 +WAMAS SYSLOG 00001620230413110200WATEPQ050 20231030 12 eCAM 012630 NN20231030000015PET 0001673982/1701778 HOST 00015100053126 00000000000096000000000000000DISPONIBLE 376401426411929180 +WAMAS SYSLOG 00005620230413110200AUSKQ00520001673982/1701778 HOST 1701778 0004009542 202304140000002023041305252320230413110128GE 2/120185 HOST +WAMAS SYSLOG 00005720230413110200AUSPQ00510001673982/1701778 HOST 1701778 00001100022056 00000DISPONIBLE 000000048000000000000000 PET 19700101 N diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret.wamas new file mode 100644 index 0000000..df2d7ea --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret.wamas @@ -0,0 +1,6 @@ +ODOO WAMAS 00000120230501000000KRETK0051000130377 HOST STDMAN0001040 MyCompany 1839 Arbor Way California 95380 Turlock US (623)-853-7197 wood.corner26@example.com 20230427000000 +ODOO WAMAS 00000220230501000000KRETP0046000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000001536000BOUT N +ODOO WAMAS 00000320230501000000KRETP0046000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000005184000PET N +ODOO WAMAS 00000420230501000000KRETP0046000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000003840000BOUT N +ODOO WAMAS 00000520230501000000KRETP0046000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000003072000PET N +ODOO WAMAS 00000620230501000000KRETP0046000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000003024000PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret_nothing.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret_nothing.wamas new file mode 100644 index 0000000..df2d7ea --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret_nothing.wamas @@ -0,0 +1,6 @@ +ODOO WAMAS 00000120230501000000KRETK0051000130377 HOST STDMAN0001040 MyCompany 1839 Arbor Way California 95380 Turlock US (623)-853-7197 wood.corner26@example.com 20230427000000 +ODOO WAMAS 00000220230501000000KRETP0046000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000001536000BOUT N +ODOO WAMAS 00000320230501000000KRETP0046000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000005184000PET N +ODOO WAMAS 00000420230501000000KRETP0046000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000003840000BOUT N +ODOO WAMAS 00000520230501000000KRETP0046000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000003072000PET N +ODOO WAMAS 00000620230501000000KRETP0046000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000003024000PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret_partial.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret_partial.wamas new file mode 100644 index 0000000..df2d7ea --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret_partial.wamas @@ -0,0 +1,6 @@ +ODOO WAMAS 00000120230501000000KRETK0051000130377 HOST STDMAN0001040 MyCompany 1839 Arbor Way California 95380 Turlock US (623)-853-7197 wood.corner26@example.com 20230427000000 +ODOO WAMAS 00000220230501000000KRETP0046000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000001536000BOUT N +ODOO WAMAS 00000320230501000000KRETP0046000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000005184000PET N +ODOO WAMAS 00000420230501000000KRETP0046000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000003840000BOUT N +ODOO WAMAS 00000520230501000000KRETP0046000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000003072000PET N +ODOO WAMAS 00000620230501000000KRETP0046000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000003024000PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea.wamas new file mode 100644 index 0000000..02e8964 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea.wamas @@ -0,0 +1,6 @@ +SYSLOG WAMAS 00000120231220091116WEAK00050000130377 HOST STDMAN0001040 Nestl Waters Suisse SA Route de la Gare 1 Case postale 1525 Henniez +41 848 677 677 +41 26 668 68 68 customerservice.ch@waters.nestle.com 20230427000000 +SYSLOG WAMAS 00002020231220091116WEAP00045000130377 HOST 0000200001151 00000 NDISPONIBLE 000001536000BOUT NORMAL 20230501000000 202305010000007910063 NNLG +SYSLOG WAMAS 00003020231220091116WEAP00045000130377 HOST 0000300001156 00000 NDISPONIBLE 000005184000PET NORMAL 20230501000000 202305010000007910105 NNLG +SYSLOG WAMAS 00004020231220091116WEAP00045000130377 HOST 0000400001160 00000 NDISPONIBLE 000003840000BOUT NORMAL 20230501000000 202305010000007910004 NNLG +SYSLOG WAMAS 00005020231220091116WEAP00045000130377 HOST 0000500001162 00000 NDISPONIBLE 000003072000PET NORMAL 20230501000000 2023050100000012156876 NNLG +SYSLOG WAMAS 00006020231220091116WEAP00045000130377 HOST 0000600001176 00000 NDISPONIBLE 000003024000PET NORMAL 20230501000000 202305010000007910044 NNLG diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea_nothing.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea_nothing.wamas new file mode 100644 index 0000000..02e8964 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea_nothing.wamas @@ -0,0 +1,6 @@ +SYSLOG WAMAS 00000120231220091116WEAK00050000130377 HOST STDMAN0001040 Nestl Waters Suisse SA Route de la Gare 1 Case postale 1525 Henniez +41 848 677 677 +41 26 668 68 68 customerservice.ch@waters.nestle.com 20230427000000 +SYSLOG WAMAS 00002020231220091116WEAP00045000130377 HOST 0000200001151 00000 NDISPONIBLE 000001536000BOUT NORMAL 20230501000000 202305010000007910063 NNLG +SYSLOG WAMAS 00003020231220091116WEAP00045000130377 HOST 0000300001156 00000 NDISPONIBLE 000005184000PET NORMAL 20230501000000 202305010000007910105 NNLG +SYSLOG WAMAS 00004020231220091116WEAP00045000130377 HOST 0000400001160 00000 NDISPONIBLE 000003840000BOUT NORMAL 20230501000000 202305010000007910004 NNLG +SYSLOG WAMAS 00005020231220091116WEAP00045000130377 HOST 0000500001162 00000 NDISPONIBLE 000003072000PET NORMAL 20230501000000 2023050100000012156876 NNLG +SYSLOG WAMAS 00006020231220091116WEAP00045000130377 HOST 0000600001176 00000 NDISPONIBLE 000003024000PET NORMAL 20230501000000 202305010000007910044 NNLG diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea_partial.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea_partial.wamas new file mode 100644 index 0000000..02e8964 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea_partial.wamas @@ -0,0 +1,6 @@ +SYSLOG WAMAS 00000120231220091116WEAK00050000130377 HOST STDMAN0001040 Nestl Waters Suisse SA Route de la Gare 1 Case postale 1525 Henniez +41 848 677 677 +41 26 668 68 68 customerservice.ch@waters.nestle.com 20230427000000 +SYSLOG WAMAS 00002020231220091116WEAP00045000130377 HOST 0000200001151 00000 NDISPONIBLE 000001536000BOUT NORMAL 20230501000000 202305010000007910063 NNLG +SYSLOG WAMAS 00003020231220091116WEAP00045000130377 HOST 0000300001156 00000 NDISPONIBLE 000005184000PET NORMAL 20230501000000 202305010000007910105 NNLG +SYSLOG WAMAS 00004020231220091116WEAP00045000130377 HOST 0000400001160 00000 NDISPONIBLE 000003840000BOUT NORMAL 20230501000000 202305010000007910004 NNLG +SYSLOG WAMAS 00005020231220091116WEAP00045000130377 HOST 0000500001162 00000 NDISPONIBLE 000003072000PET NORMAL 20230501000000 2023050100000012156876 NNLG +SYSLOG WAMAS 00006020231220091116WEAP00045000130377 HOST 0000600001176 00000 NDISPONIBLE 000003024000PET NORMAL 20230501000000 202305010000007910044 NNLG diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret.wamas new file mode 100644 index 0000000..347cc86 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120231220091116KRETKQ050000130377 HOST 0001040 202304270000002023042708000020230427180000 +WAMAS ODOO 00000220231220091116KRETPQ050000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000001536000000000000000 BOUT 19700101 +WAMAS ODOO 00000320231220091116KRETPQ050000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000005184000000000000000 PET 19700101 +WAMAS ODOO 00000420231220091116KRETPQ050000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000003840000000000000000 BOUT 19700101 +WAMAS ODOO 00000520231220091116KRETPQ050000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000003072000000000000000 PET 19700101 +WAMAS ODOO 00000620231220091116KRETPQ050000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000003024000000000000000 PET 19700101 \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret_nothing.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret_nothing.wamas new file mode 100644 index 0000000..0719157 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret_nothing.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120231220091116KRETKQ050000130377 HOST 0001040 202304270000002023042708000020230427180000 +WAMAS ODOO 00000220231220091116KRETPQ050000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000000000000000000000000 BOUT 19700101 +WAMAS ODOO 00000320231220091116KRETPQ050000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000000000000000000000000 PET 19700101 +WAMAS ODOO 00000420231220091116KRETPQ050000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000000000000000000000000 BOUT 19700101 +WAMAS ODOO 00000520231220091116KRETPQ050000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000000000000000000000000 PET 19700101 +WAMAS ODOO 00000620231220091116KRETPQ050000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000000000000000000000000 PET 19700101 \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret_partial.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret_partial.wamas new file mode 100644 index 0000000..9157b41 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret_partial.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120231220091116KRETKQ050000130377 HOST 0001040 202304270000002023042708000020230427180000 +WAMAS ODOO 00000220231220091116KRETPQ050000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000000001000000000000000 BOUT 19700101 +WAMAS ODOO 00000320231220091116KRETPQ050000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000000001000000000000000 PET 19700101 +WAMAS ODOO 00000420231220091116KRETPQ050000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000000001000000000000000 BOUT 19700101 +WAMAS ODOO 00000520231220091116KRETPQ050000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000000001000000000000000 PET 19700101 +WAMAS ODOO 00000620231220091116KRETPQ050000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000000001000000000000000 PET 19700101 \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea.wamas new file mode 100644 index 0000000..2eb5206 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120231220091116WEAKQ0051000130377 HOST 19700101010000 19700101010000 20231220091116 0001040 +WAMAS ODOO 00000220231220091116WEAPQ0050000130377 000130377 HOST 000020 0001151 00000DISPONIBLE 000001536000000000000000 BOUT N +WAMAS ODOO 00000320231220091116WEAPQ0050000130377 000130377 HOST 000030 0001156 00000DISPONIBLE 000005184000000000000000 PET N +WAMAS ODOO 00000420231220091116WEAPQ0050000130377 000130377 HOST 000040 0001160 00000DISPONIBLE 000003840000000000000000 BOUT N +WAMAS ODOO 00000520231220091116WEAPQ0050000130377 000130377 HOST 000050 0001162 00000DISPONIBLE 000003072000000000000000 PET N +WAMAS ODOO 00000620231220091116WEAPQ0050000130377 000130377 HOST 000060 0001176 00000DISPONIBLE 000003024000000000000000 PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea_nothing.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea_nothing.wamas new file mode 100644 index 0000000..30db86b --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea_nothing.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120231220091116WEAKQ0051000130377 HOST 19700101010000 19700101010000 20231220091116 0001040 +WAMAS ODOO 00000220231220091116WEAPQ0050000130377 000130377 HOST 000020 0001151 00000DISPONIBLE 000000000000000000000000 BOUT N +WAMAS ODOO 00000320231220091116WEAPQ0050000130377 000130377 HOST 000030 0001156 00000DISPONIBLE 000000000000000000000000 PET N +WAMAS ODOO 00000420231220091116WEAPQ0050000130377 000130377 HOST 000040 0001160 00000DISPONIBLE 000000000000000000000000 BOUT N +WAMAS ODOO 00000520231220091116WEAPQ0050000130377 000130377 HOST 000050 0001162 00000DISPONIBLE 000000000000000000000000 PET N +WAMAS ODOO 00000620231220091116WEAPQ0050000130377 000130377 HOST 000060 0001176 00000DISPONIBLE 000000000000000000000000 PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea_partial.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea_partial.wamas new file mode 100644 index 0000000..b2919d2 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea_partial.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120231220091116WEAKQ0051000130377 HOST 19700101010000 19700101010000 20231220091116 0001040 +WAMAS ODOO 00000220231220091116WEAPQ0050000130377 000130377 HOST 000020 0001151 00000DISPONIBLE 000000001000000000000000 BOUT N +WAMAS ODOO 00000320231220091116WEAPQ0050000130377 000130377 HOST 000030 0001156 00000DISPONIBLE 000000001000000000000000 PET N +WAMAS ODOO 00000420231220091116WEAPQ0050000130377 000130377 HOST 000040 0001160 00000DISPONIBLE 000000001000000000000000 BOUT N +WAMAS ODOO 00000520231220091116WEAPQ0050000130377 000130377 HOST 000050 0001162 00000DISPONIBLE 000000001000000000000000 PET N +WAMAS ODOO 00000620231220091116WEAPQ0050000130377 000130377 HOST 000060 0001176 00000DISPONIBLE 000000001000000000000000 PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_dict2wamas.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_dict2wamas.py new file mode 100644 index 0000000..9d9393a --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_dict2wamas.py @@ -0,0 +1,35 @@ +import ast +import unittest + +from freezegun import freeze_time + +from ..dict2wamas import dict2wamas +from ..utils import file_open, file_path + + +class TestDict2wamas(unittest.TestCase): + + maxDiff = None + + def _test(self, msg_type, filename): + with file_open( + file_path("tests/samples/dict2wamas_input%s.dict" % filename) + ) as infile, file_open( + file_path("tests/samples/dict2wamas_output%s.wamas" % filename) + ) as outfile: + dict_input = ast.literal_eval(infile.read()) + output = dict2wamas(dict_input, msg_type) + expected_output = outfile.read() + self.assertEqual(output, expected_output) + + @freeze_time("2024-02-11 22:14:22") + def test_LST(self): + self._test("Supplier", "") + + @freeze_time("2024-02-11 22:15:32") + def test_KSTAUS(self): + self._test("CustomerDeliveryPreferences", "_2") + + +if __name__ == "__main__": + unittest.main() diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_ubl2wamas.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_ubl2wamas.py new file mode 100644 index 0000000..baac4ad --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_ubl2wamas.py @@ -0,0 +1,141 @@ +import unittest +from datetime import date, datetime + +from freezegun import freeze_time + +from ..ubl2wamas import ubl2wamas +from ..utils import file_open, file_path, set_value_to_string + + +class TestUbl2wamas(unittest.TestCase): + + maxDiff = None + + def test_helpers(self): + dict_data = { + "str": [ + { + "input_val": "WEAPQ0050", + "expected_output_val": "WEAPQ0050", + "length": 9, + "dp": False, + }, + ], + "int": [ + { + "input_val": 30, + "expected_output_val": "000030", + "length": 6, + "dp": False, + }, + { + "input_val": "30", + "expected_output_val": "000030", + "length": 6, + "dp": False, + }, + ], + "float": [ + { + "input_val": 5184.0, + "expected_output_val": "000005184000", + "length": 12, + "dp": 3, + }, + { + "input_val": "5184.0", + "expected_output_val": "000005184000", + "length": 12, + "dp": 3, + }, + ], + "date": [ + { + "input_val": "2023-05-01", + "expected_output_val": "20230501", + "length": 8, + "dp": False, + }, + { + "input_val": date(2023, 5, 1), + "expected_output_val": "20230501", + "length": 8, + "dp": False, + }, + { + "input_val": datetime(2023, 5, 1, 0, 0), + "expected_output_val": "20230501", + "length": 8, + "dp": False, + }, + ], + "datetime": [ + { + "input_val": "2023-05-01 06:57:23", + "expected_output_val": "20230501085723", + "length": 14, + "dp": False, + }, + { + "input_val": datetime(2023, 5, 1, 6, 57, 23), + "expected_output_val": "20230501", + "length": 8, + "dp": False, + }, + ], + "bool": [ + { + "input_val": "N", + "expected_output_val": "N", + "length": 1, + "dp": False, + }, + ], + } + + for ttype in dict_data: + for data in dict_data[ttype]: + input_val = data["input_val"] + expected_output_val = data["expected_output_val"] + length = data["length"] + dp = data["dp"] + + output_val = set_value_to_string( + input_val, ttype, length, dp, do_convert_tz=True + ) + self.assertEqual(output_val, expected_output_val) + + @freeze_time("2023-05-01") + def _convert_ubl2wamas( + self, input_filename, expected_output_filename, telegram_type + ): + path = file_path("tests/samples/") + with file_open(path + input_filename) as inputfile, file_open( + path + expected_output_filename + ) as outputfile: + str_input = inputfile.read() + output = ubl2wamas(str_input, telegram_type) + expected_output = outputfile.read().strip("\n") + self.assertEqual(output, expected_output) + + def test_convert_ubl2wamas_picking(self): + input_file = "UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE2.xml" + expected_output = "UBL2WAMAS-SAMPLE_AUSK_AUSP.wamas" + msg_type = "Picking" + self._convert_ubl2wamas(input_file, expected_output, msg_type) + + def test_convert_ubl2wamas_reception(self): + input_file = "UBL2WAMAS-SAMPLE_WEAK_WEAP-DESPATCH_ADVICE.xml" + expected_output = "UBL2WAMAS-SAMPLE_WEAK_WEAP.wamas" + msg_type = "Reception" + self._convert_ubl2wamas(input_file, expected_output, msg_type) + + def test_convert_ubl2wamas_return(self): + input_file = "UBL2WAMAS-SAMPLE_KRETK_KRETP-DESPATCH_ADVICE.xml" + expected_output = "UBL2WAMAS-SAMPLE_KRETK_KRETP.wamas" + msg_type = "Return" + self._convert_ubl2wamas(input_file, expected_output, msg_type) + + +if __name__ == "__main__": + unittest.main() diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_utils.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_utils.py new file mode 100644 index 0000000..493d396 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_utils.py @@ -0,0 +1,79 @@ +import unittest + +import xmltodict +from dotty_dict import Dotty + +from ..utils import ( + _set_string_bool, + _set_string_float, + file_open, + file_path, + get_address_elements, + get_Adrs_Adr, + get_Adrs_Name, + get_Adrs_Name2, + get_Adrs_Name3, + get_Adrs_Name4, +) + + +class TestUtils(unittest.TestCase): + def testGetAddressNamePicking(self): + with file_open( + file_path("tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE.xml") + ) as infile: + dict_item = Dotty(xmltodict.parse(infile.read())) + address_elements = get_address_elements(dict_item) + self.assertEqual( + address_elements, + { + "ContactName": "Chester Reed", + "PartyName": "YourCompany", + "Department": "Department_1", + "StreetName": "250 Executive Park Blvd, Suite 3400", + "AdditionalStreetName": "AdditionalStreetName_1", + }, + ) + self.assertEqual(get_Adrs_Name(address_elements), "Chester Reed") + self.assertEqual(get_Adrs_Name2(address_elements), "YourCompany") + self.assertEqual(get_Adrs_Name3(address_elements), "Department_1") + self.assertEqual( + get_Adrs_Name4(address_elements), "250 Executive Park Blvd, Suite 3400" + ) + self.assertEqual(get_Adrs_Adr(address_elements), "AdditionalStreetName_1") + + def testGetAddressNameFromDict(self): + address_elements = { + "ContactName": "Nom", + "PartyName": "YourCompany", + "Department": "Nom3", + "StreetName": "Nom4", + "AdditionalStreetName": "Adresse", + } + self.assertEqual(get_Adrs_Name(address_elements), "Nom") + self.assertEqual(get_Adrs_Name2(address_elements), "YourCompany") + self.assertEqual(get_Adrs_Name3(address_elements), "Nom3") + self.assertEqual(get_Adrs_Name4(address_elements), "Nom4") + self.assertEqual(get_Adrs_Adr(address_elements), "Adresse") + + def test_set_string_bool(self): + # Input is boolean + self.assertEqual(_set_string_bool(False, 1, False), "N") + self.assertEqual(_set_string_bool(True, 1, False), "J") + + # Input is string + self.assertEqual(_set_string_bool("N", 1, False), "N") + self.assertEqual(_set_string_bool("J", 1, False), "J") + + def test_set_string_float(self): + # Positive + self.assertEqual(_set_string_float(3.6, 9, 3), "000003600") + self.assertEqual(_set_string_float(3.0, 9, 3), "000003000") + + # Negative + self.assertEqual(_set_string_float(-3.6, 9, 3), "-00003600") + self.assertEqual(_set_string_float(-3.0, 9, 3), "-00003000") + + +if __name__ == "__main__": + unittest.main() diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2dict.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2dict.py new file mode 100644 index 0000000..966b4a8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2dict.py @@ -0,0 +1,37 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import unittest +from pprint import pformat + +from ..utils import file_open, file_path +from ..wamas2ubl import wamas2dict + + +class TestWamas2dict(unittest.TestCase): + + maxDiff = None + + def _test(self, filename): + with file_open( + file_path("tests/samples/%s.wamas" % filename) + ) as infile, file_open( + file_path("tests/samples/%s.dict" % filename) + ) as outfile: + str_input = infile.read() + expected_output = outfile.read() + output_prettified = pformat(wamas2dict(str_input)) + self.assertEqual(output_prettified, expected_output) + + def test_normal(self): + self._test("line_WATEPQ_-_normal") + + def test_non_ascii(self): + self._test("line_WATEPQ_-_non_ascii") + + def test_length_off(self): + self._test("line_WATEKQ_-_length_off_by_one_01") + + +if __name__ == "__main__": + unittest.main() diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2ubl.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2ubl.py new file mode 100644 index 0000000..1667cd5 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2ubl.py @@ -0,0 +1,54 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import unittest + +from freezegun import freeze_time + +from ..utils import file_open, file_path +from ..wamas2ubl import wamas2ubl + + +class TestWamas2ubl(unittest.TestCase): + + maxDiff = None + + @freeze_time("2023-05-01") + def _convert_wamas2ubl(self, input_filename, expected_output_filename): + path = file_path("tests/samples/") + with file_open(path + input_filename) as inputfile, file_open( + path + expected_output_filename + ) as outputfile: + str_input = inputfile.read() + output = "\n".join(wamas2ubl(str_input)) + expected_output = outputfile.read() + self.assertEqual(output, expected_output) + + def test_convert_wamas2ubl_picking(self): + input_file = "WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ.wamas" + lst_expected_output = "WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ-DESPATCH_ADVICE.xml" + self._convert_wamas2ubl(input_file, lst_expected_output) + + def test_convert_wamas2ubl_reception_simple(self): + input_file = "WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ.wamas" + lst_expected_output = "WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml" + self._convert_wamas2ubl(input_file, lst_expected_output) + + def test_convert_wamas2ubl_reception_combined(self): + """ + Test a reception with a single header concerning multiple receptions + + This happens when a supplier deliver goods for multiple INs + """ + input_file = "WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ.wamas" + lst_expected_output = "WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml" + self._convert_wamas2ubl(input_file, lst_expected_output) + + def test_convert_wamas2ubl_return(self): + input_file = "WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ.wamas" + lst_expected_output = "WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ-DESPATCH_ADVICE.xml" + self._convert_wamas2ubl(input_file, lst_expected_output) + + +if __name__ == "__main__": + unittest.main() diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2wamas.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2wamas.py new file mode 100644 index 0000000..1730eb6 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2wamas.py @@ -0,0 +1,56 @@ +import unittest + +from freezegun import freeze_time + +from ..utils import file_open, file_path +from ..wamas2wamas import wamas2wamas + + +class TestWamas2wamas(unittest.TestCase): + + maxDiff = None + + def _test(self, filename, processed_qty=None): + with file_open( + file_path("tests/samples/wamas2wamas_input_%s.wamas" % filename) + ) as infile, file_open( + file_path("tests/samples/wamas2wamas_output_%s.wamas" % filename) + ) as outfile: + str_input = infile.read() + output = wamas2wamas(str_input, processed_qty=processed_qty) + expected_output = outfile.read() + self.assertEqual(output, expected_output) + + @freeze_time("2023-12-20 09:11:16") + def testWamas2wamas_wea_full(self): + """Reception where the demand is fully processed""" + self._test("wea") + + @freeze_time("2023-12-20 09:11:16") + def testWamas2wamas_wea_partial(self): + """Reception where the demand is partially processed""" + self._test("wea_partial", processed_qty=1) + + @freeze_time("2023-12-20 09:11:16") + def testWamas2wamas_wea_nothing(self): + """Reception where the demand is not processed at all""" + self._test("wea_nothing", processed_qty=0) + + @freeze_time("2023-12-20 09:11:16") + def testWamas2wamas_kret_full(self): + """Customer return where the demand is fully processed""" + self._test("wea") + + @freeze_time("2023-12-20 09:11:16") + def testWamas2wamas_kret_partial(self): + """Customer return where the demand is partially processed""" + self._test("wea_partial", processed_qty=1) + + @freeze_time("2023-12-20 09:11:16") + def testWamas2wamas_kret_nothing(self): + """Customer return where the demand is not processed at all""" + self._test("wea_nothing", processed_qty=0) + + +if __name__ == "__main__": + unittest.main() diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl2wamas.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl2wamas.py new file mode 100644 index 0000000..a053428 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl2wamas.py @@ -0,0 +1,102 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import argparse +import logging +from pprint import pformat + +import xmltodict +from dotty_dict import Dotty +from freezegun import freeze_time + +from . import const, utils + +_logger = logging.getLogger("ubl2wamas") + +SUPPORTED_TYPES = list(const.SUPPORTED_UBL_TO_WAMAS.keys()) + + +def ubl2list(infile, msg_type): # noqa: C901 + res = [] + + my_dict = Dotty(xmltodict.parse(infile)) + if msg_type not in SUPPORTED_TYPES: + raise Exception("Invalid document type: %s" % msg_type) + + dict_telegram_type_loop = { + "WEAP": "DespatchAdvice.cac:DespatchLine", + "AUSP": "DespatchAdvice.cac:DespatchLine", + "KRETP": "DespatchAdvice.cac:DespatchLine", + } + + line_idx = 0 + for telegram_type in const.SUPPORTED_UBL_TO_WAMAS[msg_type]: + grammar = const.DICT_WAMAS_GRAMMAR[telegram_type] + + loop_element = dict_telegram_type_loop.get(telegram_type, False) + len_loop = ( + loop_element + and isinstance(my_dict[loop_element], list) + and len(my_dict[loop_element]) + or 1 + ) + + for idx_loop in range(len_loop): + line_idx += 1 + line = utils.generate_wamas_dict( + my_dict, + grammar, + line_idx=line_idx, + len_loop=len_loop, + idx_loop=idx_loop, + ) + if line: + res.append(line) + + return res + + +def ubl2wamas(infile, msg_type): + lst_of_wamas_dicts = ubl2list(infile, msg_type) + wamas = "\n".join(utils.wamas_dict2line(d) for d in lst_of_wamas_dicts) + _logger.debug(lst_of_wamas_dicts) + return wamas + + +@freeze_time("2023-05-01") +def main(): + parser = argparse.ArgumentParser( + description="Converts UBL document into message.", + ) + parser.add_argument("-v", "--verbose", action="store_true", help="enable debug log") + parser.add_argument( + "-f", + "--format", + default="wamas", + choices=["dict", "wamas"], + help="result format", + ) + parser.add_argument( + "-t", "--type", required=True, choices=SUPPORTED_TYPES, help="type of document" + ) + parser.add_argument( + "-o", "--output", dest="outputfile", help="write result in this file" + ) + parser.add_argument("inputfile", help="read message from this file") + args = parser.parse_args() + if args.verbose: + logging.basicConfig(level=logging.DEBUG) + infile = utils.file_open(args.inputfile).read() + if args.format == "dict": + res = pformat(ubl2list(infile, args.type)) + else: + res = ubl2wamas(infile, args.type) + if args.outputfile: + fd = utils.file_open(args.outputfile, "w") + fd.write(res) + else: + print(res) # pylint: disable=print-used + + +if __name__ == "__main__": + main() diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/picking.xml b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/picking.xml new file mode 100644 index 0000000..705ed49 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/picking.xml @@ -0,0 +1,166 @@ + + + 2.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/reception.xml b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/reception.xml new file mode 100644 index 0000000..75b26cc --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/reception.xml @@ -0,0 +1,135 @@ + + + 2.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/return.xml b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/return.xml new file mode 100644 index 0000000..1dd423b --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/return.xml @@ -0,0 +1,135 @@ + + + 2.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/utils.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/utils.py new file mode 100644 index 0000000..9a0baf0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/utils.py @@ -0,0 +1,461 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import ast +import logging +import os +import re +from collections import OrderedDict +from datetime import date, datetime, timedelta +from pprint import pformat +from random import randint, randrange + +import pytz +from dateutil.parser import parse +from markupsafe import escape + +from .const import ( + DEFAULT_TIMEZONE, + DICT_CHILD_KEY, + DICT_CONVERT_WAMAS_TYPE, + DICT_DETECT_WAMAS_TYPE, + DICT_PARENT_KEY, + DICT_WAMAS_GRAMMAR, + SYSTEM_ERP, + SYSTEM_WAMAS, +) + +_logger = logging.getLogger("wamas_utils") + + +def file_path(path): + return os.path.join(os.path.abspath(os.path.dirname(__file__)), path) + + +def file_open(path, mode="r"): + return open(path, mode, encoding="iso-8859-1") + + +def get_date(val): + val = parse(val) + if isinstance(val, datetime): + val = convert_tz(val, DEFAULT_TIMEZONE, "UTC").strftime("%Y-%m-%d") + return val + + +def get_time(val): + val = parse(val) + if isinstance(val, datetime): + val = convert_tz(val, DEFAULT_TIMEZONE, "UTC").strftime("%H:%M:%S") + return val + + +def get_current_date(): + # return convert_tz(datetime.utcnow(), DEFAULT_TIMEZONE, "UTC").strftime("%Y-%m-%d") + return date.today() + + +def get_source(*args): + return SYSTEM_ERP + + +def get_destination(*args): + return SYSTEM_WAMAS + + +def get_source_q(*args): + return SYSTEM_WAMAS + + +def get_destination_q(*args): + return SYSTEM_ERP + + +def get_sequence_number(val=0): + return val + + +def get_current_datetime(val=0): + return datetime.utcnow() + + +def get_quantity_done(quantity, quantity_done=None): + return quantity if quantity_done is None else quantity_done + + +def _set_string(val, length, dp, **kwargs): + return str(val or "").ljust(length)[:length] + + +def _set_string_int(val, length, dp, **kwargs): + if isinstance(val, float): + val = int(val) + return str(val).rjust(length, "0")[:length] + + +def _set_string_float(val, length, dp, **kwargs): + try: + res = str(float(val or 0)) + except ValueError as err: + raise Exception( + "The value '%s' is not the float type. Please check it again!" % res + ) from err + + # Support for the negative float + signed = "" + if res.startswith("-"): + signed = "-" + length = length - 1 + res = res.lstrip("-") + + str_whole_number, str_decimal_portion = res.split(".") + str_whole_number = str_whole_number.rjust(length - dp, "0") + str_decimal_portion = str_decimal_portion.ljust(dp, "0") + + return signed + (str_whole_number + str_decimal_portion)[:length] + + +def _set_string_date(val, length, dp, **kwargs): + res = isinstance(val, str) and val != "" and parse(val) or val + + if isinstance(res, date): + res = res.strftime("%Y%m%d") + elif isinstance(res, datetime): + if kwargs.get("do_convert_tz", False): + res = convert_tz(res, "UTC", DEFAULT_TIMEZONE) + res = res.date().strftime("%Y%m%d") + elif isinstance(res, str): + res = res.ljust(length) + elif not res: + res = "" + else: + raise Exception( + "The value '%s' is not the date type. Please check it again!" % res + ) + + return res[:length] + + +def _set_string_datetime(val, length, dp, **kwargs): + res = isinstance(val, str) and val != "" and parse(val) or val + + if isinstance(res, (date, datetime)): + if kwargs.get("do_convert_tz", False): + res = convert_tz(res, "UTC", DEFAULT_TIMEZONE) + res = res.strftime("%Y%m%d%H%M%S") + elif isinstance(res, str): + res = res.ljust(length) + elif not res: + res = "" + else: + raise Exception( + "The value '%s' is not the date type. Please check it again!" % res + ) + + return res.ljust(length)[:length] + + +def _set_string_bool(val, length, dp, **kwargs): + res = "N" + if isinstance(val, str) and val: + res = val[:length] + elif isinstance(val, bool) and val: + res = "J" + return res + + +def set_value_to_string(val, ttype, length, dp, **kwargs): + setters = dict( + str=_set_string, + int=_set_string_int, + float=_set_string_float, + date=_set_string_date, + datetime=_set_string_datetime, + bool=_set_string_bool, + ) + return setters[ttype](val, length, dp, **kwargs) + + +def get_random_str_num(*args): + range_start = 10 ** (args[0] - 1) + range_end = (10 ** args[0]) - 1 + return str(randint(range_start, range_end)) + + +def get_random_int_num(*args): + return randrange(9999) + + +def get_parent_id(*args): + dict_parent_id, dict_child_key, field, telegram_type_out = args + return dict_parent_id[dict_child_key[telegram_type_out][field]] + + +def get_random_quai(*args): + return "QUAI-%d" % randint(1, 999) + + +def get_date_from_field(*args): + dict_wamas, field, number, interval = args + res = parse(dict_wamas[field]) + timedelta(**{interval: number}) + return res + + +def get_address_elements(dict_item, party_type="DeliveryCustomerParty"): + return { + "ContactName": dict_item.get( + f"DespatchAdvice.cac:{party_type}.cac:Party.cac:Contact.cbc:Name" + ), + "PartyName": dict_item.get( + f"DespatchAdvice.cac:{party_type}.cac:Party.cac:PartyName.cbc:Name" + ), + "Department": dict_item.get( + f"DespatchAdvice.cac:{party_type}.cac:Party.cac:PostalAddress.cbc:Department" + ), + "StreetName": dict_item.get( + f"DespatchAdvice.cac:{party_type}.cac:Party.cac:PostalAddress.cbc:StreetName" + ), + "AdditionalStreetName": dict_item.get( + f"DespatchAdvice.cac:{party_type}.cac:Party.cac:PostalAddress." + "cbc:AdditionalStreetName" + ), + } + + +def _get_Name(a, index): + candidates = ( + "ContactName", + "PartyName", + "Department", + "StreetName", + "AdditionalStreetName", + ) + values = [] + for c in candidates: + e = a.get(c) + if e and e not in values: + values.append(e) + # always drop last element, that's the address + values = values[index:-1] + return values[0] if values else None + + +def get_Adrs_Name(a): + return _get_Name(a, 0) + + +def get_Adrs_Name2(a): + return _get_Name(a, 1) + + +def get_Adrs_Name3(a): + return _get_Name(a, 2) + + +def get_Adrs_Name4(a): + return _get_Name(a, 3) + + +def get_Adrs_Adr(a): + return a["AdditionalStreetName"] or a["StreetName"] or a["Department"] + + +def get_index(idx): + return idx + + +def wamas_dict2line(wamas_dict): + """Converts a wamas OrderedDict to a telegram.""" + return "".join(wamas_dict.values()) + + +def generate_wamas_line(dict_item, grammar, **kwargs): + """Generate a wamas telegram.""" + wamas_dict = generate_wamas_dict(dict_item, grammar, **kwargs) + return wamas_dict2line(wamas_dict) + + +def generate_wamas_dict(dict_item, grammar, **kwargs): # noqa: C901 + """Generate an OrderedDict with wamas field and value.""" + dict_parent_id = kwargs.get("dict_parent_id", {}) + telegram_type_out = kwargs.get("telegram_type_out", False) + dict_wamas_out = OrderedDict() + do_convert_tz = not kwargs.get("do_wamas2wamas", False) + for _key in grammar: + val = "" + ttype = grammar[_key].get("type", False) + length = grammar[_key].get("length", False) + dp = grammar[_key].get("dp", False) + ubl_path = grammar[_key].get("ubl_path", False) + dict_key = grammar[_key].get("dict_key", False) + df_val = grammar[_key].get("df_val", False) + df_func = grammar[_key].get("df_func", False) + + if ubl_path: + # Get the `ubl_path` if it has multi lines + len_loop = kwargs.get("len_loop", False) + idx_loop = kwargs.get("idx_loop", False) + if len_loop and len_loop > 1: + ubl_path = "%s" in ubl_path and ubl_path % str(idx_loop) or ubl_path + else: + ubl_path = "%s" in ubl_path and ubl_path.replace(".%s", "") or ubl_path + # Handle the type of `ubl_path` + if isinstance(ubl_path, list): + lst_val = [] + for _item in ubl_path: + lst_val.append(dict_item.get(_item) or "") + if lst_val: + val = " ".join(lst_val).strip() + elif isinstance(ubl_path, dict): + for _key in ubl_path: + if dict_item.get(_key, False): + val = dict_item.get(ubl_path[_key], "") + elif isinstance(ubl_path, str): + val = dict_item.get(ubl_path, "") + else: + val = "" + if not val and dict_key: + val = dict_item.get(dict_key, "") + if not val and df_val: + val = df_val + if not val and df_func: + args = (kwargs.get("line_idx", 0),) + if df_func == "get_parent_id": + args = ( + dict_parent_id, + DICT_CHILD_KEY, + _key, + telegram_type_out, + ) + elif df_func == "get_index": + args = (kwargs.get("idx_loop", 0),) + elif df_func == "get_random_str_num": + args = (length,) + elif df_func == "get_quantity_done": + if "BestMng" in dict_item.keys(): + quantity = dict_item.get("BestMng", 0) + elif "SollMng" in dict_item.keys(): + quantity = dict_item.get("SollMng", 0) + else: + raise Exception("Quantity field not found") + args = (quantity, kwargs.get("processed_qty")) + elif "get_date_from_field" in df_func: + args = (dict_wamas_out,) + args += ast.literal_eval(re.search(r"\((.*?)\)", df_func).group(0)) + df_func = "get_date_from_field" + # TODO: Consider refactoring to use classes + # or provide a better way to determine arguments. + elif "get_Adrs_" in df_func: + if df_func.startswith("supplier"): + address_elements = get_address_elements( + dict_item, "DespatchSupplierParty" + ) + df_func = df_func[9:] + else: + address_elements = get_address_elements(dict_item) + args = (address_elements,) + + val = globals()[df_func](*args) + + val = set_value_to_string(val, ttype, length, dp, do_convert_tz=do_convert_tz) + dict_wamas_out[_key] = val + lst_parent_key = DICT_PARENT_KEY.get(telegram_type_out, False) + if lst_parent_key and _key in lst_parent_key: + dict_parent_id[_key] = val + return dict_wamas_out + + +def generate_wamas_lines(dict_input, telegram_type, line_idx, wamas_lines): + line_idx += 1 + grammar = DICT_WAMAS_GRAMMAR[telegram_type] + line = generate_wamas_line(dict_input, grammar, line_idx=line_idx) + if line: + wamas_lines.append(line) + return line_idx, wamas_lines + + +def get_grammar(telegram_type): + return DICT_WAMAS_GRAMMAR[telegram_type] + + +def fw2dict(line, grammar, telegram_type): + """ + Converts a fixed width string to a dict + + Parameters: + line (str): The string to convert + grammar (OrderedDict): The field width definition in the format: + { "k1": { "length": 3 }, "k2": { "length": 5 } } + telegram_type (str): Telegram type + + Returns: + OrderedDict: Same keys as the grammar, values from the string + """ + # sanity checks + max_length = min_length = sum(f["length"] for f in grammar.values()) + last_val = grammar[next(reversed(grammar))] + if last_val["type"] == "str": + min_length -= last_val["length"] + 1 + if not min_length <= len(line) <= max_length: + raise Exception( + "Line of length {actual:d} does not match expected length of " + "{expected:d}:\n{line:s}".format( + actual=len(line), + expected=max_length, + line=line, + ) + ) + else: + line = line.ljust(max_length) + + # actual parsing + res = OrderedDict() + offset = 0 + for fname, fdef in grammar.items(): + b = line[offset : offset + fdef["length"]] + offset += fdef["length"] + if fdef["type"] == "int": + val = int(b) + elif fdef["type"] == "float": + dp = fdef["dp"] + val = float(b[:-dp] + "." + b[-dp:]) + else: + val = str(escape(b.rstrip())) + res[fname] = val + _logger.debug(pformat(res)) + return res + + +def get_telegram_type(line): + # given by Satzart at pos 49, len 9 + return re.split(r"(\d+)", line[40:49])[0] + + +def detect_wamas_type(infile): + """ + Detect the type of message + + Parameters: + line (str): The wamas message + + Returns: + str: Type of message + """ + wamas_type = DICT_DETECT_WAMAS_TYPE.get(get_telegram_type(infile), "Undefined") + return wamas_type + + +def convert_tz(dt_val, str_from_tz, str_to_tz): + from_tz = pytz.timezone(str_from_tz) + to_tz = pytz.timezone(str_to_tz) + from_tz_dt = from_tz.localize(dt_val) + to_tz_dt = from_tz_dt.astimezone(to_tz) + return to_tz_dt + + +def get_supported_telegram(): + return DICT_WAMAS_GRAMMAR.keys() + + +def get_supported_telegram_w2w(): + return DICT_CONVERT_WAMAS_TYPE diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas2ubl.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas2ubl.py new file mode 100644 index 0000000..c858405 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas2ubl.py @@ -0,0 +1,229 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import argparse +import logging +from collections import OrderedDict +from pprint import pformat + +from freezegun import freeze_time + +from . import const, miniqweb, utils + +# FIXME: replace by Dotty ? +from .structure import obj + +_logger = logging.getLogger("wamas2ubl") + + +class Extractor: + def __init__(self, data): + self.data = data + self.transfers = {} + self.packages = {} + + def get_head(self, telegram_type, key_name, head=None): + """Converts a list of dict into a dict of dict + + Parameters: + telegram_type: the key to get the list out of data + key_name: the key in the dict that serves as key in the new dict + head: the result dict that is build + """ + if telegram_type not in self.data: + raise ValueError("Missing telegram: %s" % telegram_type) + + if head is None: + head = self.transfers + for item in self.data[telegram_type]: + key = item[key_name] + if key not in head: + head[key] = item + else: + _logger.debug( + "Redundant %s (transfer) record found, ignoring: %s", + telegram_type, + key, + ) + + def get_line( + self, + telegram_type, + transfer_key1_name, + transfer_key2_name=False, + package_key_name=False, + ): + """Process a list of dict as lines of the transfers + + Parameters: + telegram_type: the key to get the list out of data + transfer_key1_name: the key in the dict that serves to identify the + parent in transfers + transfer_key2_name: the key in the dict that serves to identify a sub-transfer + package_key_name: the key in the dict that serves to identify the + related package + """ + transfers = {} + if telegram_type not in self.data: + raise ValueError("Missing telegram: %s" % telegram_type) + + for line in self.data[telegram_type]: + key = line.get(transfer_key1_name) + if key not in self.transfers: + _logger.debug( + "Found %s (line) record for unknown transfer, ignoring: %s", + telegram_type, + key, + ) + continue + + # Create a key for the sub-transfer + if transfer_key2_name and line.get(transfer_key2_name): + key = (key, line[transfer_key2_name]) + if key not in transfers: + # Copy parent transfer data + transfers[key] = OrderedDict(self.transfers[line[transfer_key1_name]]) + transfers[key].setdefault("lines", []).append(line) + if not package_key_name: + continue + package_id = line[package_key_name] + package = self.packages.get(package_id) + if not package: + _logger.debug( + "Found %s (line) record with unknown package, ignoring: %s", + telegram_type, + package_id, + ) + continue + line["package"] = package + transfers[key].setdefault("packages", []).append(package) + self.transfers = transfers + + +def wamas2dict(msg): + """ + Converts a wamas message to a dict + + Parameters: + msg (str): The msg to convert + + Returns: + dict: key=telegram type, value=list of OrderedDict + """ + result = {} + supported_telegrams = utils.get_supported_telegram() + for line in msg.splitlines(): + if not line: + continue + telegram_type = utils.get_telegram_type(line) + # ignore useless telegram types + if telegram_type in const.LST_TELEGRAM_TYPE_IGNORE_W2D: + continue + if telegram_type not in supported_telegrams: + raise Exception("Invalid telegram type: %s" % telegram_type) + grammar = utils.get_grammar(telegram_type) + d = utils.fw2dict(line, grammar, telegram_type) + val = result.setdefault(telegram_type, []) + val.append(d) + _logger.debug(pformat(result)) + return result + + +def dict2ubl(msg_type, data, extra_data=False): + if extra_data is False: + extra_data = {"DeliveryCustomerParty": {}, "DespatchSupplierParty": {}} + + # Analyze/transform wamas file content + extractor = Extractor(data) + + if msg_type == "ReceptionResponse": + extractor.get_head("WEAKQ", "IvWevk_WevId_WevNr") + extractor.get_line("WEAPQ", "IvWevp_WevId_WevNr", "IvWevp_WEAP_WeaId_WeaNr") + elif msg_type == "ReturnResponse": + extractor.get_head("KRETKQ", "IvKretk_KretId_KretNr") + extractor.get_line("KRETPQ", "IvKretp_KretId_KretNr") + elif msg_type == "PickingResponse": + extractor.get_head("AUSKQ", "IvAusk_AusId_AusNr") + if "WATEKQ" not in extractor.data and "WATEPQ" not in extractor.data: + extractor.get_line("AUSPQ", "IvAusp_UrAusId_AusNr") + else: + extractor.get_head("WATEKQ", "IvTek_TeId", extractor.packages) + extractor.get_line( + "WATEPQ", "IvAusp_UrAusId_AusNr", package_key_name="IvTep_TeId" + ) + else: + raise Exception("Invalid message type: %s" % msg_type) + + pickings = extractor.transfers + _logger.debug("Number of pickings: %d", len(pickings)) + for order_id, picking in pickings.items(): + _logger.debug("ID: %s", order_id) + packages = pickings[order_id].get("packages") + if packages: + _logger.debug("Number of packages: %s", len(packages)) + _logger.debug(pformat(picking)) + + # Get template + ubl_template_path = const.DICT_UBL_TEMPLATE[msg_type] + with utils.file_open(utils.file_path(ubl_template_path)) as tmpl_file: + ubl_template = tmpl_file.read() + + # Convert + ubls = [] + for picking in pickings.values(): + ubl = render_ubl(ubl_template, picking, extra_data=extra_data) + ubls.append(ubl) + _logger.debug("Number of UBL files generated: %d", len(ubls)) + return ubls + + +def render_ubl(ubl_template, data, extra_data=False): + t = miniqweb.QWebXml(ubl_template) + # Convert dict to object to use dotted notation in template + globals_dict = { + "record": obj(data), + "get_date": utils.get_date, + "get_time": utils.get_time, + "get_current_date": utils.get_current_date, + "extra_data": extra_data, + } + xml = t.render(globals_dict) + return xml + + +def wamas2ubl(wamas_msg, extra_data=False): + data = wamas2dict(wamas_msg) + msg_type = utils.detect_wamas_type(wamas_msg) + return dict2ubl(msg_type, data, extra_data=extra_data) + + +@freeze_time("2023-05-01") +def main(): + parser = argparse.ArgumentParser( + description="Converts wamas message into UBLs documents.", + ) + parser.add_argument("-v", "--verbose", action="store_true", help="enable debug log") + parser.add_argument( + "-f", "--format", default="ubl", choices=["dict", "ubl"], help="result format" + ) + parser.add_argument( + "-o", "--output", dest="outputfile", help="write result in this file" + ) + parser.add_argument("inputfile", help="read message from this file") + args = parser.parse_args() + if args.verbose: + logging.basicConfig(level=logging.DEBUG) + infile = utils.file_open(args.inputfile).read() + if args.format == "dict": + res = pformat(wamas2dict(infile)) + else: + res = "\n".join(wamas2ubl(infile)) + if args.outputfile: + fd = utils.file_open(args.outputfile, "w") + fd.write(res) + else: + print(res) # pylint: disable=print-used + + +if __name__ == "__main__": + main() diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas2wamas.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas2wamas.py new file mode 100644 index 0000000..c451687 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas2wamas.py @@ -0,0 +1,76 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import argparse +import logging +from pprint import pformat + +from freezegun import freeze_time + +from . import const, utils +from .wamas2ubl import wamas2dict + +_logger = logging.getLogger("wamas2wamas") + + +def simulate_response(dict_wamas_in, processed_qty=None): + res = [] + line_idx = 0 + dict_parent_id = {} + for telegram_type_in, dicts in dict_wamas_in.items(): + for telegram_type_out in const.DICT_CONVERT_WAMAS_TYPE[telegram_type_in]: + grammar_out = const.DICT_WAMAS_GRAMMAR[telegram_type_out] + for dict_item in dicts: + line_idx += 1 + line = utils.generate_wamas_line( + dict_item, + grammar_out, + line_idx=line_idx, + dict_parent_id=dict_parent_id, + telegram_type_out=telegram_type_out, + do_wamas2wamas=True, + processed_qty=processed_qty, + ) + if line: + res.append(line) + return res + + +def wamas2wamas(infile, processed_qty=None): + data = wamas2dict(infile) + _logger.debug(pformat(data)) + wamas_lines = simulate_response(data, processed_qty=processed_qty) + return "\n".join(wamas_lines) + + +@freeze_time("2023-12-20 09:11:16") +def main(): + parser = argparse.ArgumentParser( + description="Converts a wamas message into wamas response.", + ) + parser.add_argument("-v", "--verbose", action="store_true", help="enable debug log") + parser.add_argument( + "-p", + "--processed-qty", + type=float, + dest="processed_qty", + help="quantity processed, by default complete quantity is processed", + ) + parser.add_argument( + "-o", "--output", dest="outputfile", help="write result in this file" + ) + parser.add_argument("inputfile", help="read message from this file") + args = parser.parse_args() + if args.verbose: + logging.basicConfig(level=logging.DEBUG) + infile = utils.file_open(args.inputfile).read() + res = wamas2wamas(infile, args.processed_qty) + if args.outputfile: + fd = utils.file_open(args.outputfile, "w") + fd.write(res) + else: + print(res) # pylint: disable=print-used + + +if __name__ == "__main__": + main() diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/__init__.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/__init__.py new file mode 100644 index 0000000..c04a730 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/__init__.py @@ -0,0 +1,16 @@ +from . import ( + weakq, + weapq, + watekq, + watepq, + weak, + weap, + ausk, + ausp, + auskq, + auspq, + kretkq, + kretpq, + kretk, + kretp, +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/art.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/art.py new file mode 100644 index 0000000..802393e --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/art.py @@ -0,0 +1,859 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "ART000061", + "df_func": False, + }, + "Art_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "000", + "df_func": False, + }, + "Art_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "default_code", + "df_val": False, + "df_func": False, + }, + "Art_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "00000", + "df_func": False, + }, + "Art_ArtBez": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "name", + "df_val": False, + "df_func": False, + }, + "Art_ArtBez2": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_IntArtBez": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_Bestand_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "product_uom_wamas_code", + "df_val": False, + "df_func": False, + }, + "Art_Anzeige_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "packaging_code", + "df_val": False, + "df_func": False, + }, + "Art_HOSTUNITS_HostEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_HostGewKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_NettoGew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": "weight", + "df_val": False, + "df_func": False, + }, + "Art_AltAId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_AltAId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_AltAId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_ArtTyp": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": "item_type", + "df_val": False, + "df_func": False, + }, + "Art_SORT_Sortiment": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": "wamas_assortment", + "df_val": False, + "df_func": False, + }, + "Art_BestErfArtWa": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": "STK", + "df_func": False, + }, + "Art_BestErfArtWe": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": "STK", + "df_func": False, + }, + "Art_BestKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": "has_stock", + "df_val": False, + "df_func": False, + }, + "Art_AbcWert": { + "type": "int", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": 999, + "df_func": False, + }, + "Art_AKS_ArtKlasse": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": "wamas_class", + "df_val": False, + "df_func": False, + }, + "Art_ArtGrp": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": "sale_ok_company", + "df_val": False, + "df_func": False, + }, + "Art_WAGRP_WaGrpId": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": "GSMST", + "df_func": False, + }, + "Art_InvGrp": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": "-", + "df_func": False, + }, + "Art_AnbruchAnzErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": "sell_only_by_packaging", + "df_val": False, + "df_func": False, + }, + "Art_ArtMischErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Art_AusPrMischErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Art_ChargeMischErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Art_ASCODE_ACode": { + "type": "str", + "length": 2, + "dp": False, + "dict_key": False, + "df_val": "ANFRAGE", + "df_func": False, + }, + "Art_Aus_Schema": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": "ALL_WA", + "df_func": False, + }, + "Art_StdAus_LagRf": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": False, + "df_val": "sdDEF", + "df_func": False, + }, + "Art_TmpAus_LagRf": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": False, + "df_val": "sdDEF", + "df_func": False, + }, + "Art_AutoAbsKzWa": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_ChangeAusPrErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_ChargePflWa": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Art_ChargePflWe": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": "compulsory_lot", + "df_val": False, + "df_func": False, + }, + "Art_DisponentWe": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_FifoFen": { + "type": "int", + "length": 3, + "dp": False, + "dict_key": "fifo_window", + "df_val": False, + "df_func": False, + }, + "Art_GanzTeMng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GanzTeSplittKz1": { + "type": "str", + "length": 7, + "dp": False, + "dict_key": False, + "df_val": "KANN", + "df_func": False, + }, + "Art_GanzTeSplittKz2": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": "ORIGTE", + "df_func": False, + }, + "Art_GewTolAbsWa": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": 999999999, + "df_func": False, + }, + "Art_GewTolAbsWe": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": 999999999, + "df_func": False, + }, + "Art_GewTolProzWa": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": 50, + "df_func": False, + }, + "Art_GewTolProzWe": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": 50, + "df_func": False, + }, + "Art_MaxDiffBasisAbsWa": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": 999999999, + "df_func": False, + }, + "Art_MaxDiffBasisProzWa": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": 999.9, + "df_func": False, + }, + "Art_MaxDiffGewAbsWa": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": 999999999, + "df_func": False, + }, + "Art_MaxDiffGewProzWa": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": 999.9, + "df_func": False, + }, + "Art_BestandTolAbsWe": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": 999999999, + "df_func": False, + }, + "Art_BestandTolProzWe": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": 999.9, + "df_func": False, + }, + "Art_Info": { + "type": "str", + "length": 77, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_LagWert": { + "type": "float", + "length": 14, + "dp": 6, + "dict_key": "list_price", + "df_val": False, + "df_func": False, + }, + "Art_LBWE_LagIdWe": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": "eCAM", + "df_func": False, + }, + "Art_MhdMischErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Art_MHDPflWa": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Art_MHDPflWe": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": "wamas_expiration_date", + "df_val": False, + "df_func": False, + }, + "Art_MinderCheckKzHost": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Art_MinderCheckKzLls": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Art_RefEinheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_RefMng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_RestHaltProzWe": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": 100, + "df_func": False, + }, + "Art_RestHaltTaWa": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": "removal_time", + "df_val": False, + "df_func": False, + }, + "Art_RestHaltTaWe": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": "reception_validity_time", + "df_val": False, + "df_func": False, + }, + "Art_SperrArtKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_SperrKzWa": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_StapelHoehe": { + "type": "int", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_Stapelkzahl": { + "type": "int", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": 100, + "df_func": False, + }, + "Art_SumGewErfWe": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_ThmTauschErlWe": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_THM_ThmId": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": "packaging_level_palette_wamas_code", + "df_val": False, + "df_func": False, + }, + "Art_UeberLiefErlWe": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Art_WartInt": { + "type": "int", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_WhrCode": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "CHF", + "df_func": False, + }, + "Art_GefGutBuchs": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutStoffBez": { + "type": "str", + "length": 70, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutStoffBez2": { + "type": "str", + "length": 70, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutStoffBez3": { + "type": "str", + "length": 70, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutChemBez": { + "type": "str", + "length": 70, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutEinh": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutKlassCode": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutKlasse": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutUnNr": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutVerpGrp": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutZiffer": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_WaLvsSort_LvsSortiment": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_SatzKz": { + "type": "str", + "length": 1, + "dp": False, + "dict_key": "game_identifier", + "df_val": False, + "df_func": False, + }, + "Art_StapelGew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": 99999, + "df_func": False, + }, + "Art_ARTSTAT_ArtStatGrp": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": "item_stat_group", + "df_val": False, + "df_func": False, + }, + "Art_LgSchwelleProz": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_Batch": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_ArtKtoKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_MatqMischErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_AbschlStatus": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "ANFRAGE", + "df_func": False, + }, + "Art_BestErfArtWh": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": "STK", + "df_func": False, + }, + "Art_ChargePflWh": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_MHDPflWh": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_WhSerienNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_WeSerienNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_WaSerienNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_PrueflosMngWe": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_SNr_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/arte.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/arte.py new file mode 100644 index 0000000..a525b78 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/arte.py @@ -0,0 +1,251 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "ARTE00051", + "df_func": False, + }, + "Arte_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "000", + "df_func": False, + }, + "Arte_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "product", + "df_val": False, + "df_func": False, + }, + "Arte_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "00000", + "df_func": False, + }, + "Arte_Laenge": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "length", + "df_val": False, + "df_func": False, + }, + "Arte_Breite": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "width", + "df_val": False, + "df_func": False, + }, + "Arte_Hoehe": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "height", + "df_val": False, + "df_func": False, + }, + "Arte_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "code", + "df_val": False, + "df_func": False, + }, + "Arte_Zaehler": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "quantity", + "df_val": False, + "df_func": False, + }, + "Arte_Nenner": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": "000001", + "df_func": False, + }, + "Arte_GefGutPunkte": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_GEWKS_GewKlasse": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_HANDKS_HandKlasse": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_Info": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "code", + "df_val": False, + "df_func": False, + }, + "Arte_InvMngKom": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_InvMngTpa": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_Lg_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_Lg_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_Lg_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_NachMng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_TeilNachMng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_OrigTeKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_StapelFakt": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": "100.0", + "df_func": False, + }, + "Arte_TaraGew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": "weight", + "df_val": False, + "df_func": False, + }, + "Arte_WeTeKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_SatzKz": { + "type": "str", + "length": 1, + "dp": False, + "dict_key": "game_identifier", + "df_val": False, + "df_func": False, + }, + "Arte_PrintArtLabWe": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/artean.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/artean.py new file mode 100644 index 0000000..86338db --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/artean.py @@ -0,0 +1,91 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "ARTEAN001", + "df_func": False, + }, + "ArtEan_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "000", + "df_func": False, + }, + "ArtEan_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "product", + "df_val": False, + "df_func": False, + }, + "ArtEan_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "00000", + "df_func": False, + }, + "ArtEan_EAN": { + "type": "str", + "length": 14, + "dp": False, + "dict_key": "barcode", + "df_val": False, + "df_func": False, + }, + "ArtEan_EST_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "product_uom", + "df_val": False, + "df_func": False, + }, + "ArtEan_SatzKz": { + "type": "str", + "length": 1, + "dp": False, + "dict_key": "game_identifier", + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/ausk.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/ausk.py new file mode 100644 index 0000000..4ce85c2 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/ausk.py @@ -0,0 +1,743 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "ubl_path": False, + "df_val": "AUSK00056", + "df_func": False, + }, + "RxAusk_AusId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxAusk_AusId_AusNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxAusk_AusId_HostAusKz": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "RxAusk_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:OrderReference.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxAusk_AUTYP_Typ": { + "type": "str", + "length": 6, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cac:ShipmentStage." + "cbc:TransportMeansTypeCode", + "df_val": False, + "df_func": False, + }, + "RxAusk_KST_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxAusk_KST_KuNr": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty." + "cbc:CustomerAssignedAccountID", + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Name", + }, + "RxAusk_Adrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Name2", + }, + "RxAusk_Adrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Name3", + }, + "RxAusk_Adrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Name4", + }, + "RxAusk_Adrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PartyName.cbc:Title", + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Adr", + }, + "RxAusk_Adrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PostalAddress.cbc:PostalZone", + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PostalAddress.cbc:CityName", + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:Contact.cbc:Telephone", + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:DeliveryContact." + "cbc:ElectronicMail", + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PartyName.cbc:Name", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Name2", + }, + "RxAusk_LiefAdrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Name3", + }, + "RxAusk_LiefAdrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Name4", + }, + "RxAusk_LiefAdrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PartyName.cbc:Title", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Adr", + }, + "RxAusk_LiefAdrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PostalAddress.cbc:PostalZone", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PostalAddress.cbc:CityName", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PostalAddress.cbc:CountrySubentity", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PostalAddress.cac:Country.cbc:IdentificationCode", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:Contact.cbc:Telephone", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:Contact.cbc:ElectronicMail", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:Contact.cbc:Telefax", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_GeplBereitTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": [ + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:EstimatedDeliveryPeriod.cbc:EndDate", + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:EstimatedDeliveryPeriod.cbc:EndTime", + ], + "df_val": False, + "df_func": False, + }, + "RxAusk_GeplEinStrat_LagRf": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cac:Delivery.cac:Despatch." + "cac:DespatchLocation.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxAusk_Info2Wamas": { + "type": "str", + "length": 77, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:Note", + "df_val": False, + "df_func": False, + }, + "RxAusk_AbladeStelle": { + "type": "str", + "length": 30, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cbc:DeliveryInstructions", + "df_val": False, + "df_func": False, + }, + "RxAusk_BestZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": "DespatchAdvice.cac:OrderReference.cbc:IssueDate", + "df_val": False, + "df_func": False, + }, + "RxAusk_ZustellTermin": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cbc:DeliveryInstructions", + "df_val": False, + "df_func": False, + }, + "RxAusk_ZustellZeitpunkt": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": "FRUEH", + "df_func": False, + }, + "RxAusk_BereitstellTermin": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cbc:DeliveryInstructions", + "df_val": False, + "df_func": False, + }, + "RxAusk_BereitstellZeitpunkt": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": "FRUEH", + "df_func": False, + }, + "RxAusk_RahmenTourId_TourNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTourId_HostTourKz": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "RxAusk_RahmenTour_WA_Tor": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTourMaxGew": { + "type": "float", + "length": 12, + "dp": 3, + "ubl_path": "DespatchAdvice.cac:Shipment.cbc:GrossWeightMeasure", + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTourMaxStdLE": { + "type": "float", + "length": 7, + "dp": 3, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTourStdLEVol": { + "type": "float", + "length": 7, + "dp": 3, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTourFzId1": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTourFzId2": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTour_LKWT_LkwTyp": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": "CAM", + "df_func": False, + }, + "RxAusk_RahmenTourLkwFahrer": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTourLkwBeifahrer": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTour_S_SchichtId": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_VerlRfNr": { + "type": "int", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": 1, + "df_func": False, + }, + "RxAusk_Prio": { + "type": "str", + "length": 1, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cbc:ShippingPriorityLevelCode", + "df_val": False, + "df_func": False, + }, + "RxAuskI_Text": { + "type": "str", + "length": 70, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_MergeId": { + "type": "str", + "length": 30, + "dp": False, + "ubl_path": { + "DespatchAdvice.cac:Shipment." + "cbc:HandlingInstructions": "DespatchAdvice.cac:Shipment.cbc:ID" + }, + "df_val": False, + "df_func": False, + }, + "RxAusk_VAST_Versandart": { + "type": "str", + "length": 2, + "dp": False, + "ubl_path": False, + "df_val": "ST", + "df_func": False, + }, + "RxAusk_Gepl2Step_LagRf": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_VplStrat": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": False, + "df_val": "Def_Strat", + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/auskq.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/auskq.py new file mode 100644 index 0000000..7f9acac --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/auskq.py @@ -0,0 +1,142 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "AUSKQ0052", + "df_func": False, + }, + "IvAusk_AusId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxAusk_AusId_Mand", + "df_val": False, + "df_func": False, + }, + "IvAusk_AusId_AusNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusk_AusId_AusNr", + "df_val": False, + "df_func": False, + }, + "IvAusk_AusId_HostAusKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxAusk_AusId_HostAusKz", + "df_val": False, + "df_func": False, + }, + "IvAusk_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusk_ExtRef", + "df_val": False, + "df_func": False, + }, + "IvAusk_KST_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxAusk_KST_Mand", + "df_val": False, + "df_func": False, + }, + "IvAusk_KST_KuNr": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": "RxAusk_KST_KuNr", + "df_val": False, + "df_func": False, + }, + "IvAusk_LiefTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": "RxAusk_LiefTerm", + "df_val": False, + "df_func": False, + }, + "IvAusk_StartZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvAusk_FertZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvAusk_RahmenTourId_TourNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusk_AusId_Mand", + "df_val": False, + "df_func": False, + }, + "IvAusk_RahmenTourId_HostTourKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxAusk_RahmenTourId_HostTourKz", + "df_val": False, + "df_func": False, + }, + "IvAusk_Info2Host": { + "type": "str", + "length": 77, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/ausp.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/ausp.py new file mode 100644 index 0000000..c6e4376 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/ausp.py @@ -0,0 +1,297 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "ubl_path": False, + "df_val": "AUSP00054", + "df_func": False, + }, + "RxAusp_AusId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxAusp_AusId_AusNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxAusp_AusId_HostAusKz": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "RxAusp_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_HostPosNr": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s.cbc:ID", + "df_val": False, + "df_func": "get_index", + }, + "RxAusp_MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxAusp_MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s.cac:Item." + "cac:SellersItemIdentification.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxAusp_MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": "00000", + "df_func": False, + }, + "RxAusp_MId_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "Matqgs_Matqg1": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": "DISPONIBLE", + "df_func": False, + }, + "Matqgs_Matqg2": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "Matqgs_Matqg3": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_GrundPreis": { + "type": "float", + "length": 14, + "dp": 6, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_LadenVerPreis": { + "type": "float", + "length": 14, + "dp": 6, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_LadenVerWhrCode": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "BestMng": { + "type": "float", + "length": 12, + "dp": 3, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s." + "cbc:DeliveredQuantity.#text", + "df_val": False, + "df_func": False, + }, + "HostEinheit": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s." + "cbc:DeliveredQuantity.@unitCode", + "df_val": False, + "df_func": False, + }, + "RxAusp_WeiterPreis": { + "type": "float", + "length": 14, + "dp": 6, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_WeiterWhrCode": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_AktionWpKz": { + "type": "bool", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "RxAusp_AktionLvpKz": { + "type": "bool", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "RxAusp_AktionNr": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_VorVerNr": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_Info": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_HostBatch": { + "type": "bool", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "RxAusp_BatchLagRf": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_MId_SerienNrGrp": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_RestHaltTaWa": { + "type": "int", + "length": 4, + "dp": False, + "ubl_path": False, + "df_val": 0, + "df_func": False, + }, + "RxAusp_AscFifo": { + "type": "bool", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "RxAusp_WATeSplittId": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/auspq.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/auspq.py new file mode 100644 index 0000000..89eb21a --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/auspq.py @@ -0,0 +1,190 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "AUSPQ0051", + "df_func": False, + }, + "IvAusp_UrAusId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxAusp_AusId_Mand", + "df_val": False, + "df_func": False, + }, + "IvAusp_UrAusId_AusNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_AusId_AusNr", + "df_val": False, + "df_func": False, + }, + "IvAusp_UrAusId_HostAusKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxAusp_AusId_HostAusKz", + "df_val": False, + "df_func": False, + }, + "IvAusp_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_ExtRef", + "df_val": False, + "df_func": False, + }, + "IvAusp_HostPosNr": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "RxAusp_HostPosNr", + "df_val": False, + "df_func": False, + }, + "IvAusp_MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxAusp_MId_AId_Mand", + "df_val": False, + "df_func": False, + }, + "IvAusp_MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_MId_AId_ArtNr", + "df_val": False, + "df_func": False, + }, + "IvAusp_MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxAusp_MId_AId_Var", + "df_val": False, + "df_func": False, + }, + "IvMatqk_HMATQ_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvAusp_LiefMngsWamas_Mng": { + "type": "int", + "length": 12, + "dp": False, + "dict_key": "BestMng", + "df_val": False, + "df_func": False, + }, + "IvAusp_LiefMngsWamas_Gew": { + "type": "int", + "length": 12, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvArt_HOSTUNITS_HostEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "HostEinheit", + "df_val": False, + "df_func": False, + }, + "IvArt_Bestand_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "HostEinheit", + "df_val": False, + "df_func": False, + }, + "IvAusp_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_MId_Charge", + "df_val": False, + "df_func": False, + }, + "IvAusp_Info": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "RxAusp_Info", + "df_val": False, + "df_func": False, + }, + "IvAusp_MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "LiefSNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "AUSPQ0051": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/bkorr.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/bkorr.py new file mode 100644 index 0000000..cf61878 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/bkorr.py @@ -0,0 +1,195 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "BKORR0051", + "df_func": False, + }, + "Hostkorr_HostKorrKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "HOST", + "df_func": False, + }, + "Invba_MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "000", + "df_func": False, + }, + "Invba_MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "00000", + "df_func": False, + }, + "Invba_MId_SerienNrGrp": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_MId_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_MId_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Matqk_HMATQ_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_DiffMngs_Mng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_DiffMngs_Gew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_HOSTUNITS_HostEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_Bestand_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_BuSchl": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Bschl_HostBuschlPlus": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Bschl_KOST_KostSte": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_InvbaId": { + "type": "int", + "length": 7, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Sign": { + "type": "str", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretk.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretk.py new file mode 100644 index 0000000..6087c1a --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretk.py @@ -0,0 +1,275 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "ubl_path": False, + "df_val": "KRETK0051", + "df_func": False, + }, + "RxKretk_KretId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxKretk_KretId_KretNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxKretk_KretId_HostKretKz": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "RxKretk_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:OrderReference.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxKretk_KRETTYP_Typ": { + "type": "str", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": "RETCLI", + "df_func": False, + }, + "RxKretk_KST_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxKretk_KST_KuNr": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cbc:CustomerAssignedAccountID", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name", + }, + "RxKretk_Adrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name2", + }, + "RxKretk_Adrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name3", + }, + "RxKretk_Adrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name4", + }, + "RxKretk_Adrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:Title", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Adr", + }, + "RxKretk_Adrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:PostalAddress.cbc:PostalZone", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:PostalAddress.cbc:CityName", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:PostalAddress.cac:Country.cbc:IdentificationCode", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:Telephone", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:ElectronicMail", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:Telefax", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxKretk_KretFlaeche_FeldId": { + "type": "str", + "length": 14, + "dp": False, + "ubl_path": False, + "df_val": "SF-EM-RETCLI", + "df_func": False, + }, + "RxKretk_Info2Wamas": { + "type": "str", + "length": 77, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:Note", + "df_val": False, + "df_func": False, + }, + "RxKretk_LiefTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": [ + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:EstimatedDeliveryPeriod.cbc:EndDate", + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:EstimatedDeliveryPeriod.cbc:EndTime", + ], + "df_val": False, + "df_func": False, + }, + "RxKretk_TOR_Tor": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretkq.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretkq.py new file mode 100644 index 0000000..06584bd --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretkq.py @@ -0,0 +1,126 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "KRETKQ050", + "df_func": False, + }, + "IvKretk_KretId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxKretk_KretId_Mand", + "df_val": False, + "df_func": False, + }, + "IvKretk_KretId_KretNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxKretk_KretId_KretNr", + "df_val": False, + "df_func": False, + }, + "IvKretk_KretId_HostKretKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxKretk_KretId_HostKretKz", + "df_val": False, + "df_func": False, + }, + "IvKretk_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxKretk_ExtRef", + "df_val": False, + "df_func": False, + }, + "IvKretk_KST_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxKretk_KST_Mand", + "df_val": False, + "df_func": False, + }, + "IvKretk_KST_KuNr": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": "RxKretk_KST_KuNr", + "df_val": False, + "df_func": False, + }, + "IvKretk_LiefTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": "RxKretk_LiefTerm", + "df_val": False, + "df_func": False, + }, + "IvKretk_StartZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_date_from_field('IvKretk_LiefTerm', 8, 'hours')", + }, + "IvKretk_FertZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_date_from_field('IvKretk_LiefTerm', 18, 'hours')", + }, + "IvKretk_Info2Host": { + "type": "str", + "length": 77, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretp.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretp.py new file mode 100644 index 0000000..bd153fd --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretp.py @@ -0,0 +1,193 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "ubl_path": False, + "df_val": "KRETP0046", + "df_func": False, + }, + "RxKretp_KretId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxKretp_KretId_KretNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxKretp_KretId_HostKretKz": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "RxKretp_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:OrderReference.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxKretp_HostPosNr": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s.cbc:ID", + "df_val": False, + "df_func": "get_sequence_number", + }, + "RxKretp_MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxKretp_MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s.cac:Item." + "cac:BuyersItemIdentification.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxKretp_MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": "00000", + "df_func": False, + }, + "Matqgs_Matqg1": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": "DISPONIBLE", + "df_func": False, + }, + "Matqgs_Matqg2": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "Matqgs_Matqg3": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "SollMng": { + "type": "float", + "length": 12, + "dp": 3, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s." + "cbc:DeliveredQuantity.#text", + "df_val": False, + "df_func": False, + }, + "HostEinheit": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s." + "cbc:DeliveredQuantity.@unitCode", + "df_val": False, + "df_func": False, + }, + "RxKretp_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxKretp_MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxKretp_SatzKzKretp": { + "type": "str", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "RxKretp_MId_SerienNrGrp": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxKretp_MId_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretpq.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretpq.py new file mode 100644 index 0000000..f969bae --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretpq.py @@ -0,0 +1,174 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "KRETPQ050", + "df_func": False, + }, + "IvKretp_KretId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxKretp_KretId_Mand", + "df_val": False, + "df_func": False, + }, + "IvKretp_KretId_KretNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxKretp_KretId_KretNr", + "df_val": False, + "df_func": False, + }, + "IvKretp_KretId_HostKretKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxKretp_KretId_HostKretKz", + "df_val": False, + "df_func": False, + }, + "IvKretp_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxKretp_ExtRef", + "df_val": False, + "df_func": False, + }, + "IvKretp_HostPosNr": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "RxKretp_HostPosNr", + "df_val": False, + "df_func": False, + }, + "IvKretp_MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxKretp_MId_AId_Mand", + "df_val": False, + "df_func": False, + }, + "IvKretp_MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxKretp_MId_AId_ArtNr", + "df_val": False, + "df_func": False, + }, + "IvKretp_MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxKretp_MId_AId_Var", + "df_val": False, + "df_func": False, + }, + "IvMatqk_HMATQ_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "Matqgs_Matqg1", + "df_val": False, + "df_func": False, + }, + "IvKretp_AnmMngs_Mng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": "get_quantity_done", + }, + "IvKretp_AnmMngs_Gew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvArt_HOSTUNITS_HostEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvArt_Bestand_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "HostEinheit", + "df_val": False, + "df_func": False, + }, + "IvKretp_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxKretp_MId_Charge", + "df_val": False, + "df_func": False, + }, + "IvKretp_MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": "RxKretp_MId_MHD", + "df_val": "19700101", + "df_func": False, + }, + "IvKretp_MId_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxKretp_MId_WeNr", + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kst.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kst.py new file mode 100644 index 0000000..256f855 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kst.py @@ -0,0 +1,506 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "KST000052", + "df_func": False, + }, + "Kst_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "000", + "df_func": False, + }, + "Kst_KuNr": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": "ref", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_name", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_name2", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_name3", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_name4", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": "delivery_title", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_street", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": "delivery_zip", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_city", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_state", + "df_func": False, + }, + "Kst_LiefAdrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": "delivery_country_code", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": "delivery_phone", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_email", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": "delivery_website", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_name", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_name2", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_name3", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_name4", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": "invoicing_title", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_street", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": "invoicing_zip", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_city", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_state", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": "invoicing_country_code", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": "invoicing_phone", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_email", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": "invoicing_website", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_DVRNr": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_UIDNr": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_LokKstTyp_MaxTEHoehe": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_KSTTYP_KstTypId": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": "Standard", + "df_func": False, + }, + "Kst_LokKstTyp_EanQuittErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Kst_LokKstTyp_EartErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_LokKstTyp_EMatQErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_LokKstTyp_EtikettKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_LokKstTyp_FeldKQuittErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Kst_LokKstTyp_FeldQuittErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Kst_LokKstTyp_KomGewInitKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_LokKstTyp_KomMngInitKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Kst_LokKstTyp_KomPosInitKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Kst_LokKstTyp_KontErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_LokKstTyp_KontIntWa": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_LokKstTyp_KstGrp": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_LokKstTyp_LiefSAnz": { + "type": "int", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_LokKstTyp_LiefSLay": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": "Standard", + "df_func": False, + }, + "Kst_LokKstTyp_MkkErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_LokKstTyp_OkQuittErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_LokKstTyp_TeQuittErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Kst_LokKstTyp_UeberliefErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_SatzKz": { + "type": "str", + "length": 1, + "dp": False, + "dict_key": "game_identifier", + "df_val": False, + "df_func": False, + }, + "Kst_SperrKzWa": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kstaus.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kstaus.py new file mode 100644 index 0000000..b0b554f --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kstaus.py @@ -0,0 +1,91 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "KSTAUS050", + "df_func": False, + }, + "KstAus_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "000", + "df_func": False, + }, + "KstAus_KuNr": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": "ref", + "df_val": False, + "df_func": False, + }, + "KstAus_ThmId": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": "wamas_code", + "df_val": False, + "df_func": False, + }, + "KstAus_LagIdKom": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": "picking_zone", + "df_val": False, + "df_func": False, + }, + "KstAus_RfNr": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "priority_sequence", + "df_val": "0", + "df_func": False, + }, + "KstAus_SatzKz": { + "type": "str", + "length": 1, + "dp": False, + "dict_key": "game_identifier", + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lba.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lba.py new file mode 100644 index 0000000..6d606f6 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lba.py @@ -0,0 +1,187 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "LBA000051", + "df_func": False, + }, + "Lba_HOSTSTOCK_HostStockKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "HOST", + "df_func": False, + }, + "Lba_LfdNummer": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Variante": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_SNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_vonMHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_bisMHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpChargeKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpWeNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpResNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpMHDKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpTeIdKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpSNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbabq.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbabq.py new file mode 100644 index 0000000..15fb44b --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbabq.py @@ -0,0 +1,187 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "LBABQ0052", + "df_func": False, + }, + "Lba_HOSTSTOCK_HostStockKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "HOST", + "df_func": False, + }, + "Lba_LfdNummer": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Variante": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_SNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_vonMHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_bisMHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpChargeKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpWeNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpResNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpMHDKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpTeIdKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpSNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbaeq.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbaeq.py new file mode 100644 index 0000000..2f69320 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbaeq.py @@ -0,0 +1,187 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "LBAMQ0051", + "df_func": False, + }, + "Lba_HOSTSTOCK_HostStockKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "HOST", + "df_func": False, + }, + "Lba_LfdNummer": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Variante": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_SNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_vonMHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_bisMHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpChargeKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpWeNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpResNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpMHDKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpTeIdKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpSNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbamq.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbamq.py new file mode 100644 index 0000000..406b8ab --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbamq.py @@ -0,0 +1,179 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "LBAMQ0051", + "df_func": False, + }, + "Lba_HOSTSTOCK_HostStockKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "HOST", + "df_func": False, + }, + "Lba_LfdNummer": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "TeId": { + "type": "str", + "length": 18, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Mngs_Mng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "BestEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Mngs_Gew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "HostEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_SerienNrGrp": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Seriennummer": { + "type": "int", + "length": 7, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lst.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lst.py new file mode 100644 index 0000000..4618972 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lst.py @@ -0,0 +1,283 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "LST000051", + "df_func": False, + }, + "Lst_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "000", + "df_func": False, + }, + "Lst_LiefNr": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": "ref", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "name", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "name2", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "name3", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "name4", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": "title", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "street", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": "zip", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "city", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "state", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": "country_code", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": "phone", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "email", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": "website", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_UIDNr": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_DVRNr": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_LSTTYP_LstTypId": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": "Standard", + "df_func": False, + }, + "Lst_LokLstTyp_AnzWeBeleg": { + "type": "int", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_LokLstTyp_LiefBewKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_LokLstTyp_StdLgTor": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_LokLstTyp_StdRetTor": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_LokLstTyp_StdWeTor": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_LokLstTyp_UebLiefErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Lst_LokLstTyp_WeBelegLay": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": "Standard", + "df_func": False, + }, + "Lst_SatzKz": { + "type": "str", + "length": 1, + "dp": False, + "dict_key": "game_identifier", + "df_val": False, + "df_func": False, + }, + "Lst_PrueflosWeKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/watekq.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/watekq.py new file mode 100644 index 0000000..cc6cead --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/watekq.py @@ -0,0 +1,166 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "WATEKQ054", + "df_func": False, + }, + "IvTek_TeId": { + "type": "str", + "length": 18, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_random_str_num", + }, + "IvTek_Pos_FeldId": { + "type": "str", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_random_quai", + }, + "IvTek_Pos_Offs_L_X": { + "type": "int", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvTek_Pos_Offs_L_Y": { + "type": "int", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvTek_Pos_Offs_L_Z": { + "type": "int", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvTek_Stamm_TeId": { + "type": "str", + "length": 18, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "AnzSubTe": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvTourp_TOUR_TourId_TourNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusk_RahmenTourId_TourNr", + "df_val": False, + "df_func": False, + }, + "IvTourp_TOUR_TourId_HostTourKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxAusk_AusId_HostAusKz", + "df_val": False, + "df_func": False, + }, + "IvTts_THM_ThmId": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": "RO", + "df_func": False, + }, + "IvTts_MaxLadeHoehe": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_random_int_num", + }, + "IvTour_VAST_Versandart": { + "type": "str", + "length": 2, + "dp": False, + "dict_key": False, + "df_val": "ST", + "df_func": False, + }, + "IvTourp_TOUR_TourId_IntLfdNr": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_random_int_num", + }, + "IvTek_GesGew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": "get_random_int_num", + }, + "IvTourp_LiefSNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/watepq.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/watepq.py new file mode 100644 index 0000000..bb054aa --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/watepq.py @@ -0,0 +1,214 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "WATEPQ050", + "df_func": False, + }, + "IvTep_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_MId_Charge", + "df_val": False, + "df_func": False, + }, + "IvTep_MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": "20240413", + "df_func": False, + }, + "IvTep_MId_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_MId_ResNr", + "df_val": False, + "df_func": False, + }, + "IvTep_MId_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvTep_MId_ThmKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "IvTep_PrimThmKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "IvTep_FifoDatum": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": "20240413", + "df_func": False, + }, + "IvTep_PosNr": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvArt_Bestand_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "HostEinheit", + "df_val": False, + "df_func": False, + }, + "IvArt_HOSTUNITS_HostEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvAusp_UrAusId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxAusp_AusId_Mand", + "df_val": False, + "df_func": False, + }, + "IvAusp_UrAusId_AusNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_AusId_AusNr", + "df_val": False, + "df_func": False, + }, + "IvAusp_UrAusId_HostAusKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxAusp_AusId_HostAusKz", + "df_val": False, + "df_func": False, + }, + "IvAusp_HostPosNr": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "RxAusp_HostPosNr", + "df_val": False, + "df_func": False, + }, + "IvArt_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxAusp_MId_AId_Mand", + "df_val": False, + "df_func": False, + }, + "IvArt_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_MId_AId_ArtNr", + "df_val": False, + "df_func": False, + }, + "IvArt_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxAusp_MId_AId_Var", + "df_val": False, + "df_func": False, + }, + "Mngs_Mng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": "BestMng", + "df_val": False, + "df_func": False, + }, + "Mngs_Gew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvMatqk_HMATQ_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "Matqgs_Matqg1", + "df_val": False, + "df_func": False, + }, + "IvTep_TeId": { + "type": "str", + "length": 18, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_parent_id", + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weak.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weak.py new file mode 100644 index 0000000..053049c --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weak.py @@ -0,0 +1,259 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "ubl_path": False, + "df_val": "WEAK00050", + "df_func": False, + }, + "RxWeak_WeaId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxWeak_WeaId_WeaNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxWeak_WeaId_HostWeaKz": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "RxWeak_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:OrderReference.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxWeak_WEATYP_Typ": { + "type": "str", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": "STDMAN", + "df_func": False, + }, + "RxWeak_LST_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxWeak_LST_LiefNr": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cbc:CustomerAssignedAccountID", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name", + }, + "RxWeak_Adrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name2", + }, + "RxWeak_Adrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name3", + }, + "RxWeak_Adrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name4", + }, + "RxWeak_Adrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:Title", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Adr", + }, + "RxWeak_Adrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:PostalAddress.cbc:PostalZone", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:PostalAddress.cbc:CityName", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:PostalAddress.cac:Country.cbc:IdentificationCode", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:Telephone", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:Telefax", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:ElectronicMail", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeak_BestTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": [ + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:PromiseDeliveryPeriod.cbc:EndDate", + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:PromiseDeliveryPeriod.cbc:EndTime", + ], + "df_val": False, + "df_func": False, + }, + "RxWeak_Info2Wamas": { + "type": "str", + "length": 77, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:Note", + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weakq.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weakq.py new file mode 100644 index 0000000..75bde31 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weakq.py @@ -0,0 +1,150 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "WEAKQ0051", + "df_func": False, + }, + "IvWevk_WevId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxWeak_WeaId_Mand", + "df_val": False, + "df_func": False, + }, + "IvWevk_WevId_WevNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeak_WeaId_WeaNr", + "df_val": False, + "df_func": False, + }, + "HostWeaKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxWeak_WeaId_HostWeaKz", + "df_val": False, + "df_func": False, + }, + "IvWevk_LiefTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": "19700101010000", + "df_func": False, + }, + "IvWevk_LkwFahrer": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvWevk_LkwKz": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvWevk_EinfahrtZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": "19700101010000", + "df_func": False, + }, + "IvWevk_StartZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvWevk_FertZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "IvWevk_AnmZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvWevk_Info2Host": { + "type": "str", + "length": 77, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "LST_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxWeak_LST_Mand", + "df_val": False, + "df_func": False, + }, + "LST_LiefNr": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": "RxWeak_LST_LiefNr", + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weap.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weap.py new file mode 100644 index 0000000..b9adb01 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weap.py @@ -0,0 +1,272 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "ubl_path": False, + "df_val": "WEAP00045", + "df_func": False, + }, + "RxWeap_WeaId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxWeap_WeaId_WeaNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxWeap_WeaId_HostWeaKz": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "RxWeap_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:OrderReference.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxWeap_HostPosNr": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s.cbc:ID", + "df_val": False, + "df_func": "get_sequence_number", + }, + "RxWeap_MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxWeap_MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s.cac:Item." + "cac:BuyersItemIdentification.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxWeap_MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": "00000", + "df_func": False, + }, + "RxWeap_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeap_MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeap_MId_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeap_MId_ThmKz": { + "type": "bool", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "Matqgs_Matqg1": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": "DISPONIBLE", + "df_func": False, + }, + "Matqgs_Matqg2": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "Matqgs_Matqg3": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "BestMng": { + "type": "float", + "length": 12, + "dp": 3, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s." + "cbc:DeliveredQuantity.#text", + "df_val": False, + "df_func": False, + }, + "HostEinheit": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s." + "cbc:DeliveredQuantity.@unitCode", + "df_val": False, + "df_func": False, + }, + "RxWeap_WeaPosTyp": { + "type": "str", + "length": 7, + "dp": False, + "ubl_path": False, + "df_val": "NORMAL", + "df_func": False, + }, + "RxWeap_AvLiefTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:EstimatedDeliveryPeriod.cbc:EndDate", + "df_val": False, + "df_func": False, + }, + "RxWeap_AvLiefSNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeap_AvLiefSDatum": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": [ + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:EstimatedDeliveryPeriod.cbc:EndDate", + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:EstimatedDeliveryPeriod.cbc:EndTime", + ], + "df_val": False, + "df_func": False, + }, + "RxWeap_LiefArtNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s." + "cac:Item.cac:SellersItemIdentification.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxWeap_SatzKzWeap": { + "type": "str", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "RxWeap_PosEnde": { + "type": "bool", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "RxWeap_RetTorKz": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "LG", + "df_func": False, + }, + "RxWeap_MId_SerienNrGrp": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeap_Info2Wamas": { + "type": "str", + "length": 77, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:Note", + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weapq.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weapq.py new file mode 100644 index 0000000..9fdb7ac --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weapq.py @@ -0,0 +1,214 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "WEAPQ0050", + "df_func": False, + }, + "IvWevp_WevId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxWeap_WeaId_Mand", + "df_val": False, + "df_func": False, + }, + "IvWevp_WevId_WevNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeap_WeaId_WeaNr", + "df_val": False, + "df_func": False, + }, + "IvWevp_WEAP_WeaId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxWeap_WeaId_Mand", + "df_val": False, + "df_func": False, + }, + "IvWevp_WEAP_WeaId_WeaNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeap_WeaId_WeaNr", + "df_val": False, + "df_func": False, + }, + "IvWevp_WEAP_WeaId_HostWeaKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxWeap_WeaId_HostWeaKz", + "df_val": False, + "df_func": False, + }, + "IvWeap_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeap_ExtRef", + "df_val": False, + "df_func": False, + }, + "IvWeap_HostPosNr": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "RxWeap_HostPosNr", + "df_val": False, + "df_func": False, + }, + "RxWeap_AvLiefSNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeap_AvLiefSNr", + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxWeap_MId_AId_Mand", + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeap_MId_AId_ArtNr", + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxWeap_MId_AId_Var", + "df_val": False, + "df_func": False, + }, + "IvMatQk_HMATQ_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "Matqgs_Matqg1", + "df_val": False, + "df_func": False, + }, + "IvWevp_LiefMngs_Mng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": "get_quantity_done", + }, + "IvWevp_LiefMngs_Gew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvArt_HOSTUNITS_HostEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvArt_Bestand_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "HostEinheit", + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeap_MId_Charge", + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": "RxWeap_MId_MHD", + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeap_MId_ResNr", + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_ThmKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": "RxWeap_MId_ThmKz", + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas2ubl b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas2ubl new file mode 100755 index 0000000..fefa45e --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas2ubl @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.wamas2ubl $* diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas2wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas2wamas new file mode 100755 index 0000000..7dd1f7a --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/lib/wamas2wamas @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.wamas2wamas $* diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/models/__init__.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/models/__init__.py new file mode 100644 index 0000000..e56afa0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/models/__init__.py @@ -0,0 +1 @@ +from . import base_wamas_ubl diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/models/base_wamas_ubl.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/models/base_wamas_ubl.py new file mode 100644 index 0000000..2fb6022 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/models/base_wamas_ubl.py @@ -0,0 +1,70 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import _, api, models + +from ..lib.wamas.dict2wamas import dict2wamas +from ..lib.wamas.ubl2wamas import ubl2wamas +from ..lib.wamas.utils import ( + detect_wamas_type, + get_supported_telegram, + get_supported_telegram_w2w, +) +from ..lib.wamas.wamas2ubl import dict2ubl, wamas2dict, wamas2ubl +from ..lib.wamas.wamas2wamas import wamas2wamas + + +class BaseWamasUbl(models.AbstractModel): + _name = "base.wamas.ubl" + _description = "Methods to convert WAMAS to UBL XML files and vice versa" + + @api.model + def wamas2dict(self, wamas_msg): + return wamas2dict(wamas_msg) + + @api.model + def dict2ubl(self, msg_type, data, extra_data=False): + return dict2ubl(msg_type, data, extra_data=extra_data) + + @api.model + def wamas2ubl(self, wamas_msg, extra_data=False): + return wamas2ubl(wamas_msg, extra_data=extra_data) + + @api.model + def ubl2wamas(self, str_file, msg_type): + return ubl2wamas(str_file, msg_type) + + @api.model + def dict2wamas(self, dict_input, msg_type): + return dict2wamas(dict_input, msg_type) + + @api.model + def get_wamas_type(self, str_file): + return detect_wamas_type(str_file) + + @api.model + def wamas2wamas(self, str_file, processed_qty=None): + return wamas2wamas(str_file, processed_qty=processed_qty) + + @api.model + def record_data_to_wamas(self, data, msg_type): + """ + Convert Odoo record data to WAMAS format + + :return: data as WAMAS format + :rtype: bytes + """ + if not msg_type: + raise ValueError(_("Please define wamas message type (msg_type).")) + if not isinstance(data, dict): + raise ValueError(_("The data is not valid.")) + return self.dict2wamas(data, msg_type) + + @api.model + def get_supported_telegram(self): + return get_supported_telegram() + + @api.model + def get_supported_telegram_w2w(self): + return get_supported_telegram_w2w() diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..874b3ad --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Jacques-Etienne Baudoux +* Tuan Tran +* Telmo Santos diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/readme/CREDITS.rst b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/readme/CREDITS.rst new file mode 100644 index 0000000..ac19123 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/readme/CREDITS.rst @@ -0,0 +1 @@ +The creation of this module was financially supported by Camptocamp. diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/readme/DESCRIPTION.rst new file mode 100644 index 0000000..53aa133 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module contains methods to parse between WAMAS file and UBL file. diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/readme/TODO.rst b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/readme/TODO.rst new file mode 100644 index 0000000..7e1b441 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/readme/TODO.rst @@ -0,0 +1,2 @@ +- Get rid of embedded qweb engine in favor of odoo's +- Get rid of Dotty and obj in favor of Odoo's own DotDict? diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/security/ir.model.access.csv b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/security/ir.model.access.csv new file mode 100644 index 0000000..a8cc8a6 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_wamas_ubl_wiz_check,access_wamas_ubl_wiz_check,model_wamas_ubl_wiz_check,base_edi.group_edi_manager,1,1,1,1 +access_wamas_ubl_wiz_simulate,access_wamas_ubl_wiz_simulate,model_wamas_ubl_wiz_simulate,base_edi.group_edi_manager,1,1,1,1 diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/static/description/icon.png b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/static/description/index.html b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/static/description/index.html new file mode 100644 index 0000000..a58a044 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/static/description/index.html @@ -0,0 +1,437 @@ + + + + + +Base WAMAS UBL + + + +
    +

    Base WAMAS UBL

    + + +

    Alpha License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    This module contains methods to parse between WAMAS file and UBL file.

    +
    +

    Important

    +

    This is an alpha version, the data model and design can change at any time without warning. +Only for development or testing purpose, do not use in production. +More details on development status

    +
    +

    Table of contents

    + +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Camptocamp
    • +
    • BCIM
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Other credits

    +

    The creation of this module was financially supported by Camptocamp.

    +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    + +Odoo Community Association + +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/__init__.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/__init__.py new file mode 100644 index 0000000..f96d921 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/__init__.py @@ -0,0 +1,3 @@ +from . import test_base_wamas_ubl +from . import test_wamas_lib +from . import test_record_data_to_wamas diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION-2.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION-2.wamas new file mode 100644 index 0000000..726163e --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION-2.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221041251LST000051 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION.wamas new file mode 100644 index 0000000..47ae7d6 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221041251XYZ0000510000001 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT.wamas new file mode 100644 index 0000000..3886746 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221041251LST0000510000001 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION-2.txt b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION-2.txt new file mode 100644 index 0000000..7f1433e --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION-2.txt @@ -0,0 +1,2 @@ +- Error: Line of length 660 does not match expected length of 667: +ODOO WAMAS 00000120231221041251LST000051 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt new file mode 100644 index 0000000..23ca1ee --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt @@ -0,0 +1 @@ +- Error: Invalid telegram type: XYZ \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT.dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT.dict new file mode 100644 index 0000000..b3c20df --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT.dict @@ -0,0 +1,39 @@ +{ + "wamas_type": "Supplier", + "data": { + "LST": [ + { + "Lst_Adrs_Adr": "adam@dayrep.com", + "Lst_Adrs_Adr2": "", + "Lst_Adrs_Anrede": "", + "Lst_Adrs_Email": "aaa", + "Lst_Adrs_Fax": "", + "Lst_Adrs_ILN": "", + "Lst_Adrs_Land": "US", + "Lst_Adrs_Name": "Adam Smith", + "Lst_Adrs_Name2": "", + "Lst_Adrs_Name3": "", + "Lst_Adrs_Name4": "", + "Lst_Adrs_Ort": "Sand Springs", + "Lst_Adrs_OrtTeil": "Texas", + "Lst_Adrs_PLZ": "79782", + "Lst_Adrs_Tel": "432-393-1264", + "Lst_Adrs_WWW": "", + "Lst_DVRNr": "", + "Lst_LSTTYP_LstTypId": "Standard", + "Lst_LiefNr": "0001", + "Lst_LokLstTyp_AnzWeBeleg": "0", + "Lst_LokLstTyp_LiefBewKz": "N", + "Lst_LokLstTyp_StdLgTor": "", + "Lst_LokLstTyp_StdRetTor": "", + "Lst_LokLstTyp_StdWeTor": "", + "Lst_LokLstTyp_UebLiefErl": "J", + "Lst_LokLstTyp_WeBelegLay": "Standard", + "Lst_Mand": "000", + "Lst_PrueflosWeKz": "N", + "Lst_SatzKz": "", + "Lst_UIDNr": "", + } + ] + }, +} diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT.txt b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT.txt new file mode 100644 index 0000000..97b17ef --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT.txt @@ -0,0 +1,42 @@ +- WAMAS Type: Supplier +- Data: { + "LST": [ + { + "Telheader_Quelle": "ODOO", + "Telheader_Ziel": "WAMAS", + "Telheader_TelSeq": 1, + "Telheader_AnlZeit": "20231221041251", + "Satzart": "LST000051", + "Lst_Mand": "000", + "Lst_LiefNr": "0001", + "Lst_Adrs_Name": "Adam Smith", + "Lst_Adrs_Name2": "", + "Lst_Adrs_Name3": "", + "Lst_Adrs_Name4": "", + "Lst_Adrs_Anrede": "", + "Lst_Adrs_Adr": "adam@dayrep.com", + "Lst_Adrs_Adr2": "", + "Lst_Adrs_PLZ": "79782", + "Lst_Adrs_Ort": "Sand Springs", + "Lst_Adrs_OrtTeil": "Texas", + "Lst_Adrs_Land": "US", + "Lst_Adrs_Fax": "", + "Lst_Adrs_Tel": "432-393-1264", + "Lst_Adrs_Email": "aaa", + "Lst_Adrs_WWW": "", + "Lst_Adrs_ILN": "", + "Lst_UIDNr": "", + "Lst_DVRNr": "", + "Lst_LSTTYP_LstTypId": "Standard", + "Lst_LokLstTyp_AnzWeBeleg": 0, + "Lst_LokLstTyp_LiefBewKz": "N", + "Lst_LokLstTyp_StdLgTor": "", + "Lst_LokLstTyp_StdRetTor": "", + "Lst_LokLstTyp_StdWeTor": "", + "Lst_LokLstTyp_UebLiefErl": "J", + "Lst_LokLstTyp_WeBelegLay": "Standard", + "Lst_SatzKz": "", + "Lst_PrueflosWeKz": "N" + } + ] +} diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/DICT2WAMAS-SAMPLE_INPUT.dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/DICT2WAMAS-SAMPLE_INPUT.dict new file mode 100644 index 0000000..ed64273 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/DICT2WAMAS-SAMPLE_INPUT.dict @@ -0,0 +1,13 @@ +{ + "ref": "0001", + "name": "Adam Smith", + "street": "3273 Laurel Lane", + "street2": "", + "zip": "79782", + "city": "Sand Springs", + "state": "Texas", + "country_code": "US", + "phone": "432-393-1264", + "email": "aaa", + "street": "adam@dayrep.com", +} diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/DICT2WAMAS-SAMPLE_OUTPUT.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/DICT2WAMAS-SAMPLE_OUTPUT.wamas new file mode 100644 index 0000000..7938ce3 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/DICT2WAMAS-SAMPLE_OUTPUT.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221051251LST0000510000001 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT-EXCEPTION.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT-EXCEPTION.wamas new file mode 100644 index 0000000..47ae7d6 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT-EXCEPTION.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221041251XYZ0000510000001 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT.wamas new file mode 100644 index 0000000..9f4adf0 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT.wamas @@ -0,0 +1,6 @@ +SYSLOG WAMAS 00000120231220091116WEAK00050000130377 HOST STDMAN0001040 SA Route de la Gare 1 Case postale 1525 Henniez +41 848 677 677 +41 26 668 68 68 customerservice.ch@waters.nestle.com 20230427000000 +SYSLOG WAMAS 00002020231220091116WEAP00045000130377 HOST 0000200001151 00000 NDISPONIBLE 000001536000BOUT NORMAL 20230501000000 202305010000007910063 NNLG +SYSLOG WAMAS 00003020231220091116WEAP00045000130377 HOST 0000300001156 00000 NDISPONIBLE 000005184000PET NORMAL 20230501000000 202305010000007910105 NNLG +SYSLOG WAMAS 00004020231220091116WEAP00045000130377 HOST 0000400001160 00000 NDISPONIBLE 000003840000BOUT NORMAL 20230501000000 202305010000007910004 NNLG +SYSLOG WAMAS 00005020231220091116WEAP00045000130377 HOST 0000500001162 00000 NDISPONIBLE 000003072000PET NORMAL 20230501000000 2023050100000012156876 NNLG +SYSLOG WAMAS 00006020231220091116WEAP00045000130377 HOST 0000600001176 00000 NDISPONIBLE 000003024000PET NORMAL 20230501000000 202305010000007910044 NNLG diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt new file mode 100644 index 0000000..23ca1ee --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt @@ -0,0 +1 @@ +- Error: Invalid telegram type: XYZ \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT.wamas new file mode 100644 index 0000000..e676f82 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120230501000000WEAKQ0051000130377 HOST 19700101010000 19700101010000 20230501000000 0001040 +WAMAS ODOO 00000220230501000000WEAPQ0050000130377 000130377 HOST 000020 0001151 00000DISPONIBLE 000001536000000000000000 BOUT N +WAMAS ODOO 00000320230501000000WEAPQ0050000130377 000130377 HOST 000030 0001156 00000DISPONIBLE 000005184000000000000000 PET N +WAMAS ODOO 00000420230501000000WEAPQ0050000130377 000130377 HOST 000040 0001160 00000DISPONIBLE 000003840000000000000000 BOUT N +WAMAS ODOO 00000520230501000000WEAPQ0050000130377 000130377 HOST 000050 0001162 00000DISPONIBLE 000003072000000000000000 PET N +WAMAS ODOO 00000620230501000000WEAPQ0050000130377 000130377 HOST 000060 0001176 00000DISPONIBLE 000003024000000000000000 PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_INPUT.dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_INPUT.dict new file mode 100644 index 0000000..70c37dc --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_INPUT.dict @@ -0,0 +1,6 @@ +{ + "barcode": "256256256", + "product": "113 113 113", + "product_uom": "BOUT", + "game_identifier": "N", +} diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_OUTPUT.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_OUTPUT.wamas new file mode 100644 index 0000000..c09c042 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_OUTPUT.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221051251ARTEAN001000113 113 113 00000256256256 BOUT N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_INPUT.dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_INPUT.dict new file mode 100644 index 0000000..f2ec6c8 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_INPUT.dict @@ -0,0 +1,9 @@ +{ + "product": "223 224 225", + "width": 55, + "height": 50, + "weight": 1, + "length": 10, + "code": "CART", + "game_identifier": "N", +} diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_OUTPUT.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_OUTPUT.wamas new file mode 100644 index 0000000..a6f2c46 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_OUTPUT.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221051251ARTE00051000223 224 225 00000000010000055000050CART 000000000001000000 CART 000000000000000000000000 000000000000000000000000N1000000000001000NNN \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_INPUT.dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_INPUT.dict new file mode 100644 index 0000000..5153729 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_INPUT.dict @@ -0,0 +1,16 @@ +{ + "default_code": "113", + "name": "The Yellow Chair", + "uom": "Units", + "weight": 2, + "sell_only_by_packaging": False, + "fifo_window": 999, + "wamas_expiration_date": False, + "wamas_assortment": "AA", + "wamas_class": "BB", + "product_uom_wamas_code": "HAR", + "packaging_code": "Box", + "packaging_level_palette_wamas_code": "CC", + "standard_price": 0, + "game_identifier": "N", +} diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_OUTPUT.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_OUTPUT.wamas new file mode 100644 index 0000000..76c9e6d --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_OUTPUT.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221051251ART000061000113 00000The Yellow Chair HAR Box N000000002000 AA STK STK N999BB GSMST - NJNJANALL_WA sdDEF sdDEF NNNN 999000000000000KANN ORIG99999999900099999999900005000500999999999000999999999999900099999999999990009999 00000000000000eCAM JNNNN 000000000000100000000000NN00000100NNCC J000CHF N000099999000 0000NNNANFRAGE STK NNNNN000000000000 diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_INPUT.dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_INPUT.dict new file mode 100644 index 0000000..51f0dca --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_INPUT.dict @@ -0,0 +1,6 @@ +{ + "ref": "223224", + "wamas_code": "PE/PP/RO", + "priority_sequence": 0, + "game_identifier": "N", +} diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_OUTPUT.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_OUTPUT.wamas new file mode 100644 index 0000000..62a67c4 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_OUTPUT.wamas @@ -0,0 +1,2 @@ +ODOO WAMAS 00000120231221051251KSTAUS050000223224 PE/PP/RO kMEZ 0 N +ODOO WAMAS 00000220231221051251KSTAUS050000223224 PE/PP/RO kPAR 0 N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_INPUT.dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_INPUT.dict new file mode 100644 index 0000000..73f3f28 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_INPUT.dict @@ -0,0 +1,31 @@ +{ + "ref": "113", + "delivery_name": "Adam Smith", + "delivery_name2": "Delivery Name 2", + "delivery_name3": "Delivery Name 3", + "delivery_name4": "Delivery Name 4", + "delivery_title": "Delivery Title", + "delivery_street": "3273 Laurel Lane", + "delivery_street2": "", + "delivery_zip": "79782", + "delivery_city": "Sand Springs", + "delivery_state": "Texas", + "delivery_country_code": "US", + "delivery_phone": "432-393-1264", + "delivery_email": "aaa", + "delivery_street": "adam@dayrep.com", + "invoicing_name": "Adam Smith", + "invoicing_name2": "Invoicing Name 2", + "invoicing_name3": "Invoicing Name 3", + "invoicing_name4": "Invoicing Name 4", + "invoicing_title": "invoicing Title", + "invoicing_street": "3273 Laurel Lane", + "invoicing_street2": "", + "invoicing_zip": "79782", + "invoicing_city": "Sand Springs", + "invoicing_state": "Texas", + "invoicing_country_code": "US", + "invoicing_phone": "432-393-1264", + "invoicing_email": "aaa", + "invoicing_street": "adam@dayrep.com", +} diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_OUTPUT.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_OUTPUT.wamas new file mode 100644 index 0000000..5a62a12 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_OUTPUT.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221051251KST000052000113 Adam Smith Delivery Name 2 Delivery Name 3 Delivery Name 4 Delivery Title adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Adam Smith Invoicing Name 2 Invoicing Name 3 Invoicing Name 4 invoicing Titleadam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa 000000Standard JNNNJJNJJN0000 0Standard NNJN N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_INPUT.dict b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_INPUT.dict new file mode 100644 index 0000000..8a2bb3a --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_INPUT.dict @@ -0,0 +1,16 @@ +{ + "ref": "0001", + "name": "Adam Smith", + "name2": "Name 2", + "name3": "Name 3", + "name4": "Name 4", + "street": "3273 Laurel Lane", + "street2": "", + "zip": "79782", + "city": "Sand Springs", + "state": "Texas", + "country_code": "US", + "phone": "432-393-1264", + "email": "aaa", + "website": "https://testing.com", +} diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_OUTPUT.wamas b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_OUTPUT.wamas new file mode 100644 index 0000000..60cbdc4 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_OUTPUT.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221051251LST0000510000001 Adam Smith Name 2 Name 3 Name 4 3273 Laurel Lane 79782 Sand Springs Texas US 432-393-1264 aaa https://testing.com Standard 0N JStandard N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/test_base_wamas_ubl.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/test_base_wamas_ubl.py new file mode 100644 index 0000000..db9ed20 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/test_base_wamas_ubl.py @@ -0,0 +1,173 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from ast import literal_eval +from base64 import b64decode, b64encode + +from freezegun import freeze_time + +from odoo.tests.common import TransactionCase +from odoo.tools import file_open + +from odoo.addons.account.tests.common import AccountTestInvoicingCommon + +# FIXME: all simple convertion tests should move to lib/wamas/tests and there +# should be a test that runs the lib tests + + +class TestBaseWamas(TransactionCase): + + maxDiff = None + + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.base_wamas_ubl = cls.env["base.wamas.ubl"] + cls.wamas_ubl_wiz_check = cls.env["wamas.ubl.wiz.check"] + cls.wamas_ubl_wiz_simulate = cls.env["wamas.ubl.wiz.simulate"] + cls.assertXmlTreeEqual = AccountTestInvoicingCommon.assertXmlTreeEqual + cls.get_xml_tree_from_string = ( + AccountTestInvoicingCommon.get_xml_tree_from_string + ) + cls._turn_node_as_dict_hierarchy = ( + AccountTestInvoicingCommon._turn_node_as_dict_hierarchy + ) + cls.partner_1 = cls.env.ref("base.res_partner_1") + cls.partner_2 = cls.env.ref("base.res_partner_2") + country_code_1 = cls.partner_1.commercial_partner_id.country_id.code or "" + country_code_2 = cls.partner_2.commercial_partner_id.country_id.code or "" + cls.extra_data = { + "DespatchSupplierParty": { + "CustomerAssignedAccountID": cls.partner_1.commercial_partner_id.ref + or "", + "PartyName": cls.partner_1.commercial_partner_id.name or "", + "StreetName": cls.partner_1.commercial_partner_id.street or "", + "CityName": cls.partner_1.commercial_partner_id.city or "", + "PostalZone": cls.partner_1.commercial_partner_id.zip or "", + "Country.IdentificationCode": country_code_1, + "CompanyID": cls.partner_1.commercial_partner_id.vat or "", + "TaxScheme.ID": "", + "TaxScheme.TaxTypeCode": "", + "Contact.Name": cls.partner_1.child_ids + and cls.partner_1.child_ids[0].name + or "", + "Contact.Telephone": cls.partner_1.child_ids + and cls.partner_1.child_ids[0].phone + or "", + "Contact.ElectronicMail": cls.partner_1.child_ids + and cls.partner_1.child_ids[0].email + or "", + }, + "DeliveryCustomerParty": { + "PartyName": cls.partner_2.commercial_partner_id.name or "", + "StreetName": cls.partner_2.commercial_partner_id.street or "", + "CityName": cls.partner_2.commercial_partner_id.city or "", + "PostalZone": cls.partner_2.commercial_partner_id.zip or "", + "CountrySubentity": cls.partner_2.commercial_partner_id.state_id.name + or "", + "Country.IdentificationCode": country_code_2, + "CompanyID": cls.partner_2.commercial_partner_id.vat or "", + "TaxScheme.ID": "", + "TaxScheme.TaxTypeCode": "", + "Contact.Name": cls.partner_2.child_ids + and cls.partner_2.child_ids[0].name + or "", + "Contact.Telephone": cls.partner_2.child_ids + and cls.partner_2.child_ids[0].phone + or "", + "Contact.Telefax": "", + "Contact.ElectronicMail": cls.partner_2.child_ids + and cls.partner_2.child_ids[0].email + or "", + }, + } + + @freeze_time("2023-05-01") + def _wamas_ubl_wiz_check(self, input_filename, expected_output_filename): + with file_open(input_filename) as inputfile, file_open( + expected_output_filename + ) as outputfile: + str_input = inputfile.read() + str_expected_output = outputfile.read().strip("\n") + wizard = self.wamas_ubl_wiz_check.create( + { + "wamas_file": b64encode(str_input.encode("iso-8859-1")), + } + ) + wizard._onchange_wamas_filename() + self.assertFalse(wizard.output) + wizard.btn_check() + self.assertEqual(wizard.output, str_expected_output) + + @freeze_time("2023-05-01 00:00:00") + def _wamas_ubl_wiz_simulate( + self, input_filename, expected_output_filename, state="success" + ): + with file_open(input_filename) as inputfile, file_open( + expected_output_filename + ) as outputfile: + str_input = inputfile.read() + expected_output = outputfile.read() + wizard = self.wamas_ubl_wiz_simulate.create( + { + "wamas_file": b64encode(str_input.encode("iso-8859-1")), + } + ) + wizard._onchange_wamas_filename() + self.assertFalse(wizard.output_wamas_file) + self.assertFalse(wizard.output_wamas_filename) + self.assertFalse(wizard.output) + wizard.btn_simulate() + if state == "success": + output = b64decode(wizard.output_wamas_file).decode("iso-8859-1") + self.assertEqual(output, expected_output) + else: + self.assertEqual(wizard.output, expected_output) + + def test_wamas_ubl_wiz_check(self): + # Success + self._wamas_ubl_wiz_check( + "base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT.wamas", + "base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT.txt", + ) + + def test_wamas_ubl_wiz_check_exception_1(self): + # Raise Exception + self._wamas_ubl_wiz_check( + "base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION.wamas", + "base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt", + ) + + def test_wamas_ubl_wiz_check_exception_2(self): + self._wamas_ubl_wiz_check( + "base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION-2.wamas", + "base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION-2.txt", + ) + + def test_wamas_ubl_wiz_simulate(self): + # Success + self._wamas_ubl_wiz_simulate( + "base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT.wamas", + "base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT.wamas", + ) + # Raise Exception + self._wamas_ubl_wiz_simulate( + "base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT-EXCEPTION.wamas", + "base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt", + "fail", + ) + + @freeze_time("2023-12-21 04:12:51") + def test_get_wamas_type(self): + input_filename = "CHECKWAMAS-SAMPLE_INPUT.wamas" + expected_output_filename = "CHECKWAMAS-SAMPLE_OUTPUT.dict" + path = "base_wamas_ubl/tests/samples/" + with file_open(path + input_filename) as inputfile, file_open( + path + expected_output_filename + ) as outputfile: + str_input = inputfile.read() + dict_expected_output = literal_eval(outputfile.read()) + wamas_type = self.base_wamas_ubl.get_wamas_type(str_input) + # Wamas Type + self.assertEqual(wamas_type, dict_expected_output["wamas_type"]) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/test_record_data_to_wamas.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/test_record_data_to_wamas.py new file mode 100644 index 0000000..471c808 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/test_record_data_to_wamas.py @@ -0,0 +1,101 @@ +# Copyright 2024 Jacques-Etienne Baudoux (BCIM) +# Copyright 2024 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from ast import literal_eval + +from freezegun import freeze_time + +from odoo.tests import common +from odoo.tools import file_open + + +class TestRecordToWAMAS(common.TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.base_wamas_ubl = cls.env["base.wamas.ubl"] + + def test_export_without_telegram(self): + with self.assertRaisesRegex( + ValueError, r"Please define wamas message type \(msg_type\)." + ): + input_dict = {"name": "David", "age": 16} + self.env["base.wamas.ubl"].record_data_to_wamas(input_dict, "") + + def test_export_invalid_dict(self): + with self.assertRaisesRegex(ValueError, "The data is not valid."): + input_dict = ["David", 16] + self.base_wamas_ubl.record_data_to_wamas(input_dict, "Supplier") + + @freeze_time("2023-12-21 04:12:51") + def test_export_with_LST_telegram(self): + dict_data = { + "input": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_INPUT.dict", + "expected_output": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_OUTPUT.wamas", + } + expected_output = file_open(dict_data["expected_output"], "r").read() + dict_input = literal_eval(file_open(dict_data["input"], "r").read()) + output = self.base_wamas_ubl.record_data_to_wamas(dict_input, "Supplier") + self.assertEqual(output, expected_output) + + @freeze_time("2023-12-21 04:12:51") + def test_export_with_KST_telegram(self): + dict_data = { + "input": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_INPUT.dict", + "expected_output": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_OUTPUT.wamas", + } + expected_output = file_open(dict_data["expected_output"], "r").read() + dict_input = literal_eval(file_open(dict_data["input"], "r").read()) + output = self.base_wamas_ubl.record_data_to_wamas(dict_input, "Customer") + self.assertEqual(output, expected_output) + + @freeze_time("2023-12-21 04:12:51") + def test_export_with_ART_telegram(self): + dict_data = { + "input": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_INPUT.dict", + "expected_output": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_OUTPUT.wamas", + } + expected_output = ( + file_open(dict_data["expected_output"], "r").read().strip("\n") + ) + dict_input = literal_eval(file_open(dict_data["input"], "r").read()) + output = self.base_wamas_ubl.record_data_to_wamas(dict_input, "Product") + self.assertEqual(output, expected_output) + + @freeze_time("2023-12-21 04:12:51") + def test_export_with_ARTE_telegram(self): + dict_data = { + "input": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_INPUT.dict", + "expected_output": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_OUTPUT.wamas", + } + expected_output = file_open(dict_data["expected_output"], "r").read() + dict_input = literal_eval(file_open(dict_data["input"], "r").read()) + output = self.base_wamas_ubl.record_data_to_wamas(dict_input, "Packaging") + self.assertEqual(output, expected_output) + + @freeze_time("2023-12-21 04:12:51") + def test_export_with_ARTEAN_telegram(self): + dict_data = { + "input": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_INPUT.dict", + "expected_output": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_OUTPUT" + ".wamas", + } + expected_output = file_open(dict_data["expected_output"], "r").read() + dict_input = literal_eval(file_open(dict_data["input"], "r").read()) + output = self.base_wamas_ubl.record_data_to_wamas(dict_input, "Barcode") + self.assertEqual(output, expected_output) + + @freeze_time("2023-12-21 04:12:51") + def test_export_with_KSTAUS_telegram(self): + dict_data = { + "input": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_INPUT.dict", + "expected_output": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_OUTPUT" + ".wamas", + } + expected_output = file_open(dict_data["expected_output"], "r").read() + dict_input = literal_eval(file_open(dict_data["input"], "r").read()) + output = self.base_wamas_ubl.record_data_to_wamas( + dict_input, "CustomerDeliveryPreferences" + ) + self.assertEqual(output, expected_output) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/test_wamas_lib.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/test_wamas_lib.py new file mode 100644 index 0000000..b099be2 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/tests/test_wamas_lib.py @@ -0,0 +1,9 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from ..lib.wamas.tests.test_dict2wamas import * # noqa: F401,F403 +from ..lib.wamas.tests.test_ubl2wamas import * # noqa: F401,F403 +from ..lib.wamas.tests.test_utils import * # noqa: F401,F403 +from ..lib.wamas.tests.test_wamas2dict import * # noqa: F401,F403 +from ..lib.wamas.tests.test_wamas2ubl import * # noqa: F401,F403 +from ..lib.wamas.tests.test_wamas2wamas import * # noqa: F401,F403 diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/views/wamas_menu.xml b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/views/wamas_menu.xml new file mode 100644 index 0000000..dbc547c --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/views/wamas_menu.xml @@ -0,0 +1,28 @@ + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/__init__.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/__init__.py new file mode 100644 index 0000000..6b38939 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/__init__.py @@ -0,0 +1,2 @@ +from . import wamas_ubl_wiz_check +from . import wamas_ubl_wiz_simulate diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py new file mode 100644 index 0000000..0a7a089 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py @@ -0,0 +1,59 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import json +from base64 import b64decode + +from odoo import _, api, fields, models + + +class WamasUblWizCheck(models.TransientModel): + _name = "wamas.ubl.wiz.check" + _description = "Check WAMAS File Wizard" + + wamas_file = fields.Binary( + "WAMAS File", + required=True, + ) + wamas_filename = fields.Char("WAMAS Filename") + output = fields.Text() + supported_telegram = fields.Text( + default=lambda self: ", ".join( + self.env["base.wamas.ubl"].get_supported_telegram() + ) + ) + + @api.onchange("wamas_filename") + def _onchange_wamas_filename(self): + self.output = False + + def btn_check(self): + self.ensure_one() + wamas_file_decoded = b64decode(self.wamas_file).decode("iso-8859-1") + + bwu_obj = self.env["base.wamas.ubl"] + try: + wamas_type = bwu_obj.get_wamas_type(wamas_file_decoded) + data = bwu_obj.wamas2dict(wamas_file_decoded) + + self.output = ( + _( + """- WAMAS Type: %(wamas_type)s +- Data: %(data)s""" + ) + % dict( + wamas_type=wamas_type, + data=json.dumps(data, indent=4, sort_keys=False), + ) + ) + except Exception as e: + self.output = _("""- Error: %s""") % (e) + + return { + "view_mode": "form", + "res_model": "wamas.ubl.wiz.check", + "res_id": self.id, + "type": "ir.actions.act_window", + "target": "new", + } diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_check.xml b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_check.xml new file mode 100644 index 0000000..12e7875 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_check.xml @@ -0,0 +1,50 @@ + + + + + wamas.ubl.wiz.check.form + wamas.ubl.wiz.check + +
    + + + + + + + + +
    +
    +
    +
    +
    + + + Check WAMAS File + wamas.ubl.wiz.check + form + new + {} + + +
    diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.py b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.py new file mode 100644 index 0000000..bcd0cbf --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.py @@ -0,0 +1,63 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from base64 import b64decode, b64encode + +from odoo import _, api, fields, models + + +class WamasUblWizSimulate(models.TransientModel): + _name = "wamas.ubl.wiz.simulate" + _description = "Simulate WAMAS File Wizard" + + wamas_file = fields.Binary( + "WAMAS File", + required=True, + ) + wamas_filename = fields.Char("WAMAS Filename") + output_wamas_file = fields.Binary("Output WAMAS File") + output_wamas_filename = fields.Char("Output WAMAS Filename") + output = fields.Text() + supported_telegram = fields.Text( + default=lambda self: self._default_supported_telegram() + ) + + @api.model + def _default_supported_telegram(self): + bwu_obj = self.env["base.wamas.ubl"] + dict_telegram = bwu_obj.get_supported_telegram_w2w() + res = "" + for from_telegram, to_telegrams in dict_telegram.items(): + res += "- %(from_telegram)s => %(to_telegram)s\n" % { + "from_telegram": from_telegram, + "to_telegram": ", ".join(to_telegrams), + } + return res + + @api.onchange("wamas_filename") + def _onchange_wamas_filename(self): + self.output_wamas_file = False + self.output_wamas_filename = False + self.output = False + + def btn_simulate(self): + self.ensure_one() + wamas_file_decoded = b64decode(self.wamas_file).decode("iso-8859-1") + + try: + bwu_obj = self.env["base.wamas.ubl"] + output_wamas = bwu_obj.wamas2wamas(wamas_file_decoded).encode("iso-8859-1") + + self.output_wamas_file = b64encode(output_wamas) + self.output_wamas_filename = "OUTPUT_" + self.wamas_filename + except Exception as e: + self.output = _("""- Error: %s""") % (e) + + return { + "view_mode": "form", + "res_model": "wamas.ubl.wiz.simulate", + "res_id": self.id, + "type": "ir.actions.act_window", + "target": "new", + } diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.xml b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.xml new file mode 100644 index 0000000..a787ee7 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.xml @@ -0,0 +1,53 @@ + + + + + wamas.ubl.wiz.simulate.form + wamas.ubl.wiz.simulate + +
    + + + + + + + + + + +
    +
    +
    +
    +
    + + + Simulate WAMAS File + wamas.ubl.wiz.simulate + form + new + {} + + +
    diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-base_wamas_ubl/doc/ARCHITECTURE.md new file mode 100644 index 0000000..cdefdf5 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_wamas_ubl Module - base_wamas_ubl + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-base_wamas_ubl/doc/CONFIGURATION.md new file mode 100644 index 0000000..4af8fea --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_wamas_ubl. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-base_wamas_ubl/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-base_wamas_ubl/doc/DEPENDENCIES.md new file mode 100644 index 0000000..22eb646 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/doc/DEPENDENCIES.md @@ -0,0 +1,6 @@ +# Dependencies + +This addon depends on: + +- [base_edi](../../odoo-bringout-oca-edi-framework-base_edi) +- [base_ubl](../../odoo-bringout-oca-edi-framework-base_ubl) diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/doc/FAQ.md b/odoo-bringout-oca-edi-base_wamas_ubl/doc/FAQ.md new file mode 100644 index 0000000..1eb9148 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_wamas_ubl or install in UI. diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/doc/INSTALL.md b/odoo-bringout-oca-edi-base_wamas_ubl/doc/INSTALL.md new file mode 100644 index 0000000..809e78b --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-base_wamas_ubl" +# or +uv pip install odoo-bringout-oca-edi-base_wamas_ubl" +``` diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/doc/MODELS.md b/odoo-bringout-oca-edi-base_wamas_ubl/doc/MODELS.md new file mode 100644 index 0000000..e429b89 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in base_wamas_ubl. + +```mermaid +classDiagram + class base_wamas_ubl +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/doc/OVERVIEW.md b/odoo-bringout-oca-edi-base_wamas_ubl/doc/OVERVIEW.md new file mode 100644 index 0000000..6b2aa9b --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_wamas_ubl. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_wamas_ubl +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/doc/REPORTS.md b/odoo-bringout-oca-edi-base_wamas_ubl/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/doc/SECURITY.md b/odoo-bringout-oca-edi-base_wamas_ubl/doc/SECURITY.md new file mode 100644 index 0000000..00ba8bc --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/doc/SECURITY.md @@ -0,0 +1,34 @@ +# Security + +Access control and security definitions in base_wamas_ubl. + +## Access Control Lists (ACLs) + +Model access permissions defined in: +- **[ir.model.access.csv](../base_wamas_ubl/security/ir.model.access.csv)** + - 2 model access rules + +## Record Rules + +Row-level security rules defined in: + +```mermaid +graph TB + subgraph "Security Layers" + A[Users] --> B[Groups] + B --> C[Access Control Lists] + C --> D[Models] + B --> E[Record Rules] + E --> F[Individual Records] + end +``` + +Security files overview: +- **[ir.model.access.csv](../base_wamas_ubl/security/ir.model.access.csv)** + - Model access permissions (CRUD rights) + +Notes +- Access Control Lists define which groups can access which models +- Record Rules provide row-level security (filter records by user/group) +- Security groups organize users and define permission sets +- All security is enforced at the ORM level by Odoo diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-base_wamas_ubl/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/doc/USAGE.md b/odoo-bringout-oca-edi-base_wamas_ubl/doc/USAGE.md new file mode 100644 index 0000000..fad8172 --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_wamas_ubl +``` diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/doc/WIZARDS.md b/odoo-bringout-oca-edi-base_wamas_ubl/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-base_wamas_ubl/pyproject.toml b/odoo-bringout-oca-edi-base_wamas_ubl/pyproject.toml new file mode 100644 index 0000000..d520f1a --- /dev/null +++ b/odoo-bringout-oca-edi-base_wamas_ubl/pyproject.toml @@ -0,0 +1,43 @@ +[project] +name = "odoo-bringout-oca-edi-base_wamas_ubl" +version = "16.0.0" +description = "Base WAMAS UBL - Base module to aggregate WAMAS - UBL features." +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-base_edi>=16.0.0", + "odoo-bringout-oca-edi-base_ubl>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_wamas_ubl"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-despatch_advice_import/README.md b/odoo-bringout-oca-edi-despatch_advice_import/README.md new file mode 100644 index 0000000..0985170 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/README.md @@ -0,0 +1,46 @@ +# Despatch Advice Import + +Odoo addon: despatch_advice_import + +## Installation + +```bash +pip install odoo-bringout-oca-edi-despatch_advice_import +``` + +## Dependencies + +This addon depends on: +- purchase +- purchase_stock +- base_business_document_import + +## Manifest Information + +- **Name**: Despatch Advice Import +- **Version**: 16.0.1.2.1 +- **Category**: N/A +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `despatch_advice_import`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/README.rst b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/README.rst new file mode 100644 index 0000000..f97584f --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/README.rst @@ -0,0 +1,99 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +====================== +Despatch Advice Import +====================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:6ca80319c1f9790b27e5685c5eb372aa2f61b0570f467f49e81d28c3c2abf77a + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/despatch_advice_import + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-despatch_advice_import + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module will support import despatch advice file + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* ACSONE SA/NV +* BCIM + +Contributors +~~~~~~~~~~~~ + +* Laurent Mignon +* `Trobz `_: + + * Thien +* Simone Orsi +* Jacques-Etienne Baudoux + +Other credits +~~~~~~~~~~~~~ + +The migration of this module from 10.0 to 16.0 was financially supported by Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-jbaudoux| image:: https://github.com/jbaudoux.png?size=40px + :target: https://github.com/jbaudoux + :alt: jbaudoux + +Current `maintainer `__: + +|maintainer-jbaudoux| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/__init__.py b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/__init__.py new file mode 100644 index 0000000..4027237 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/__init__.py @@ -0,0 +1 @@ +from . import wizard diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/__manifest__.py b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/__manifest__.py new file mode 100644 index 0000000..fe6261d --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2020 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Despatch Advice Import", + "summary": """ + Despatch Advice import""", + "version": "16.0.1.2.1", + "website": "https://github.com/OCA/edi", + "license": "AGPL-3", + "author": "ACSONE SA/NV,BCIM,Odoo Community Association (OCA)", + "maintainers": ["jbaudoux"], + "depends": ["purchase", "purchase_stock", "base_business_document_import"], + "data": ["security/ir.model.access.csv", "wizard/despatch_advice_import.xml"], + "demo": [], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/i18n/despatch_advice_import.pot b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/i18n/despatch_advice_import.pot new file mode 100644 index 0000000..66dabce --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/i18n/despatch_advice_import.pot @@ -0,0 +1,232 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__allow_validate_over_qty +msgid "Allow Validate Over Quantity" +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Cancel" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_uid +msgid "Created by" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_date +msgid "Created on" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery cancelled by the supplier." +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed by the supplier." +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed with amendment by the supplier." +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Despatch Advice Import" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model,name:despatch_advice_import.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__display_name +msgid "Display Name" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__filename +msgid "File Name" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__id +msgid "ID" +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of" +" the PDF file and then use this XML file." +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for" +" this XML format is installed. For the" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.actions.act_window,name:despatch_advice_import.despatch_advice_import_action +msgid "Import" +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Import document" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import____last_update +msgid "Last Modified on" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_date +msgid "Last Updated on" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document file" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document filename" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name %s." +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/tests/test_despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name 123456." +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "The product quantity is greater than the original product quantity" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as XML nor PDF file. Please check the file " +"and it's extension." +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Document is not supported. Did you install the module" +" to support this XML format?" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Response is not supported. Did you install the module" +" to support this XML format?" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.ui.menu,name:despatch_advice_import.despatch_advice_import_importer_menu +msgid "UBL Despatch Advice Importer" +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Universal Business Language" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,help:despatch_advice_import.field_despatch_advice_import__document +msgid "" +"Upload an Despatch Advice file that you received from your supplier. " +"Supported formats: XML and PDF (PDF with an embeded XML file)." +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"Upload below the DespatchAdvice you received from your supplier. When you " +"click on the import button:" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__document +msgid "XML or PDF Despatch Advice" +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"format (UBL), you should install the module " +"despatch_advice_import_ubl." +msgstr "" diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/i18n/es.po b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/i18n/es.po new file mode 100644 index 0000000..a5d506d --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/i18n/es.po @@ -0,0 +1,249 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-02-14 15:36+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__allow_validate_over_qty +msgid "Allow Validate Over Quantity" +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Cancel" +msgstr "Cancelar" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery cancelled by the supplier." +msgstr "Entrega anulada por el proveedor." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed by the supplier." +msgstr "Entrega confirmada por el proveedor." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed with amendment by the supplier." +msgstr "Entrega confirmada con modificación por el proveedor." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Despatch Advice Import" +msgstr "Aviso de Expedición Importación" + +#. module: despatch_advice_import +#: model:ir.model,name:despatch_advice_import.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "Aviso de Expedición Importación desde Ficheros" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__filename +msgid "File Name" +msgstr "Nombre del Archivo" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__id +msgid "ID" +msgstr "ID" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of " +"the PDF file and then use this XML file." +msgstr "" +"Si es un archivo PDF, Odoo tratará de encontrar un archivo XML en los " +"adjuntos del archivo PDF y luego usará este archivo XML." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for " +"this XML format is installed. For the" +msgstr "" +"Si es un archivo XML, Odoo lo analizará si está instalado el módulo que " +"agrega soporte para este formato XML. Para el" + +#. module: despatch_advice_import +#: model:ir.actions.act_window,name:despatch_advice_import.despatch_advice_import_action +msgid "Import" +msgstr "Importar" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Import document" +msgstr "Importar documento" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import____last_update +msgid "Last Modified on" +msgstr "Última Modificación el" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_uid +msgid "Last Updated by" +msgstr "Última Actualización por" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_date +msgid "Last Updated on" +msgstr "Última Actualización el" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document file" +msgstr "Falta un archivo de documento" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document filename" +msgstr "Falta el nombre de archivo del documento" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name %s." +msgstr "No se ha encontrado ninguna orden de compra para el nombre %s." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/tests/test_despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name 123456." +msgstr "No se ha encontrado ninguna orden de compra a nombre de 123456." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "The product quantity is greater than the original product quantity" +msgstr "La cantidad de producto es superior a la cantidad de producto original" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "No hay ningún archivo XML incorporado en este archivo PDF." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "Este archivo no es compatible con el formato XML" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as XML nor PDF file. Please check the file " +"and it's extension." +msgstr "" +"Este archivo '%s' no se reconoce como archivo XML ni PDF. Compruebe el " +"archivo y su extensión." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Document is not supported. Did you install the module " +"to support this XML format?" +msgstr "" +"Este tipo de documento de pedido XML no es compatible. ¿Ha instalado el " +"módulo para admitir este formato XML?" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Response is not supported. Did you install the module " +"to support this XML format?" +msgstr "" +"Este tipo de respuesta de pedido XML no es compatible. ¿Ha instalado el " +"módulo para admitir este formato XML?" + +#. module: despatch_advice_import +#: model:ir.ui.menu,name:despatch_advice_import.despatch_advice_import_importer_menu +msgid "UBL Despatch Advice Importer" +msgstr "Aviso de Expedición UBL Importador" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Universal Business Language" +msgstr "Lenguaje Comercial Universal" + +#. module: despatch_advice_import +#: model:ir.model.fields,help:despatch_advice_import.field_despatch_advice_import__document +msgid "" +"Upload an Despatch Advice file that you received from your supplier. " +"Supported formats: XML and PDF (PDF with an embeded XML file)." +msgstr "" +"Cargue un Archivo de Aviso de Expedición que haya recibido de su proveedor. " +"Formatos admitidos: XML y PDF (PDF con un archivo XML incrustado)." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"Upload below the DespatchAdvice you received from your supplier. When you " +"click on the import button:" +msgstr "" +"Cargue a continuación el Aviso de Expedición que ha recibido de su " +"proveedor. Cuando haga clic en el botón de importación:" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__document +msgid "XML or PDF Despatch Advice" +msgstr "Aviso de Envío XML o PDF" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"format (UBL), you should install the module despatch_advice_import_ubl." +msgstr "" +"formato (UBL), debes instalar el módulo despatch_advice_import_ubl." diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/i18n/fr.po b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/i18n/fr.po new file mode 100644 index 0000000..1454622 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/i18n/fr.po @@ -0,0 +1,253 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-04-22 12:35+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__allow_validate_over_qty +msgid "Allow Validate Over Quantity" +msgstr "Autoriser la validation d'une quantité supérieure" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Cancel" +msgstr "Annuler" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_uid +msgid "Created by" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_date +msgid "Created on" +msgstr "créé le" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery cancelled by the supplier." +msgstr "Livraison annulée par le fournisseur." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed by the supplier." +msgstr "Livraison confirmée par le fournisseur." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed with amendment by the supplier." +msgstr "Livraison confirmée avec modification par le fournisseur." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Despatch Advice Import" +msgstr "Importation d'avis d'expédition" + +#. module: despatch_advice_import +#: model:ir.model,name:despatch_advice_import.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "Importation de fichiers d'avis d'expédition" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__display_name +msgid "Display Name" +msgstr "Nom affiché" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__filename +msgid "File Name" +msgstr "Nom du fichier" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__id +msgid "ID" +msgstr "ID" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of" +" the PDF file and then use this XML file." +msgstr "" +"S'il s'agit d'un fichier PDF, Odoo essaiera de trouver un fichier XML dans " +"les pièces jointes du fichier PDF et utilisera ce fichier XML." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for" +" this XML format is installed. For the" +msgstr "" +"S'il s'agit d'un fichier XML, Odoo l'analysera si le module qui prend en " +"charge ce format XML est installé. Pour le fichier" + +#. module: despatch_advice_import +#: model:ir.actions.act_window,name:despatch_advice_import.despatch_advice_import_action +msgid "Import" +msgstr "Import" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Import document" +msgstr "Importer le document" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import____last_update +msgid "Last Modified on" +msgstr "Dernière modification le" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_uid +msgid "Last Updated by" +msgstr "Dernière mise à jour par" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_date +msgid "Last Updated on" +msgstr "Dernière mise à jour le" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document file" +msgstr "Fichier de document manquant" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document filename" +msgstr "Nom de fichier manquant" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name %s." +msgstr "Aucune commande fournisseur trouvée pour le nom %s." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/tests/test_despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name 123456." +msgstr "Aucune commande fournisseur trouvée avec le nom 123456." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "The product quantity is greater than the original product quantity" +msgstr "" +"La quantité de produit est supérieure à la quantité de produit commandée" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "Il n'y a pas de fichier XML intégré dans ce fichier PDF." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "Ce fichier XML n'est pas conforme" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as XML nor PDF file. Please check the file " +"and it's extension." +msgstr "" +"Le fichier '%s' n'est pas reconnu comme un fichier XML ou PDF. Veuillez " +"vérifier le fichier et son extension." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Document is not supported. Did you install the module" +" to support this XML format?" +msgstr "" +"Ce type de document de commande XML n'est pas pris en charge. Avez-vous " +"installé le module pour supporter ce format XML ?" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Response is not supported. Did you install the module" +" to support this XML format?" +msgstr "" +"Ce type de réponse de commande XML n'est pas pris en charge. Avez-vous " +"installé le module pour supporter ce format XML ?" + +#. module: despatch_advice_import +#: model:ir.ui.menu,name:despatch_advice_import.despatch_advice_import_importer_menu +msgid "UBL Despatch Advice Importer" +msgstr "Importateur d'avis d'expédition UBL" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Universal Business Language" +msgstr "Universal Business Language" + +#. module: despatch_advice_import +#: model:ir.model.fields,help:despatch_advice_import.field_despatch_advice_import__document +msgid "" +"Upload an Despatch Advice file that you received from your supplier. " +"Supported formats: XML and PDF (PDF with an embeded XML file)." +msgstr "" +"Téléchargez un fichier d'avis d'expédition que vous avez reçu de votre " +"fournisseur. Formats pris en charge : XML et PDF (PDF avec un fichier XML " +"intégré)." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"Upload below the DespatchAdvice you received from your supplier. When you " +"click on the import button:" +msgstr "" +"Téléchargez ci-dessous l'avis d'expédition que vous avez reçu de votre " +"fournisseur. Lorsque vous cliquez sur le bouton d'importation :" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__document +msgid "XML or PDF Despatch Advice" +msgstr "Avis d'expédition XML ou PDF" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"format (UBL), you should install the module " +"despatch_advice_import_ubl." +msgstr "" +"format (UBL), vous devez installer le module " +"despatch_advice_import_ubl." diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/i18n/it.po b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/i18n/it.po new file mode 100644 index 0000000..d7437bc --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/i18n/it.po @@ -0,0 +1,251 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-23 15:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__allow_validate_over_qty +msgid "Allow Validate Over Quantity" +msgstr "Consenti validazione sovra quantità" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Cancel" +msgstr "Annulla" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery cancelled by the supplier." +msgstr "Consegna annullata dal fornitore." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed by the supplier." +msgstr "Consegna confermata dal fornitore." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed with amendment by the supplier." +msgstr "Consegna confermata con correzione dal fornitore." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Despatch Advice Import" +msgstr "Importa avviso spedizione" + +#. module: despatch_advice_import +#: model:ir.model,name:despatch_advice_import.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "Importazione di avvisi di spedizione da file" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__filename +msgid "File Name" +msgstr "Nome file" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__id +msgid "ID" +msgstr "ID" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of" +" the PDF file and then use this XML file." +msgstr "" +"Se è un file PDF, Odoo cercherà di trovare un file XML negli allegati del " +"file PDF e usarlo." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for" +" this XML format is installed. For the" +msgstr "" +"Se è un file XML, Odoo lo analizzerà se è installato il modulo che aggiunge " +"il supporto per questo formato XML. Per il" + +#. module: despatch_advice_import +#: model:ir.actions.act_window,name:despatch_advice_import.despatch_advice_import_action +msgid "Import" +msgstr "Importa" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Import document" +msgstr "Importa documento" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document file" +msgstr "File documento mancante" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document filename" +msgstr "Nome file documento mancante" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name %s." +msgstr "Nessun ordine di acquisto trovato per il nome %s." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/tests/test_despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name 123456." +msgstr "Nessun ordine di acquisto trovato per il nome 123456." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "The product quantity is greater than the original product quantity" +msgstr "La quantità del prodotto è superiore alla quantità originale" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "In questo PDF non c'è un file XML integrato." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "Il file XML non è compatibile al formato XML" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as XML nor PDF file. Please check the file " +"and it's extension." +msgstr "" +"Il file '%s' non è riconosciuto come file XML o PDF. Controllare il file e " +"la sua estensione." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Document is not supported. Did you install the module" +" to support this XML format?" +msgstr "" +"Questo tipo di documento ordine XML non è supportato. Il modulo per " +"supportare questo formato XML è installato?" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Response is not supported. Did you install the module" +" to support this XML format?" +msgstr "" +"Questo tipo di risposta ordine XML non è supportato. Il modulo per " +"supportare questo formato XML è installato?" + +#. module: despatch_advice_import +#: model:ir.ui.menu,name:despatch_advice_import.despatch_advice_import_importer_menu +msgid "UBL Despatch Advice Importer" +msgstr "Importatore avviso spedizione UBL" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Universal Business Language" +msgstr "Linguaggio commerciale universale" + +#. module: despatch_advice_import +#: model:ir.model.fields,help:despatch_advice_import.field_despatch_advice_import__document +msgid "" +"Upload an Despatch Advice file that you received from your supplier. " +"Supported formats: XML and PDF (PDF with an embeded XML file)." +msgstr "" +"Caricare un avviso di spedizione ricevuto dal fornitore. Formati supportati: " +"XML e PDF (PDF con XML incorporato)." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"Upload below the DespatchAdvice you received from your supplier. When you " +"click on the import button:" +msgstr "" +"Caricare in calce l'avviso di spedizione ricevuto dal fornitore. Quando si " +"fa clic sul pulsante di importazione:" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__document +msgid "XML or PDF Despatch Advice" +msgstr "Avviso di spedizione XML o PDF" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"format (UBL), you should install the module " +"despatch_advice_import_ubl." +msgstr "" +"formato (UBL), bisogna installare il modulo " +"despatch_advice_import_ubl." diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..424b6df --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/readme/CONTRIBUTORS.rst @@ -0,0 +1,6 @@ +* Laurent Mignon +* `Trobz `_: + + * Thien +* Simone Orsi +* Jacques-Etienne Baudoux diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/readme/CREDITS.rst b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/readme/CREDITS.rst new file mode 100644 index 0000000..6ebc079 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/readme/CREDITS.rst @@ -0,0 +1 @@ +The migration of this module from 10.0 to 16.0 was financially supported by Camptocamp \ No newline at end of file diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/readme/DESCRIPTION.rst new file mode 100644 index 0000000..89062fc --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module will support import despatch advice file \ No newline at end of file diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/security/ir.model.access.csv b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/security/ir.model.access.csv new file mode 100644 index 0000000..d815760 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_despatch_advice_import,despatch.advice.import,model_despatch_advice_import,purchase.group_purchase_user,1,1,1,1 diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/static/description/icon.png b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/static/description/index.html b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/static/description/index.html new file mode 100644 index 0000000..005a28f --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/static/description/index.html @@ -0,0 +1,449 @@ + + + + + +README.rst + + + +
    + + + +Odoo Community Association + +
    +

    Despatch Advice Import

    + +

    Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    This module will support import despatch advice file

    +

    Table of contents

    + +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • ACSONE SA/NV
    • +
    • BCIM
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Other credits

    +

    The migration of this module from 10.0 to 16.0 was financially supported by Camptocamp

    +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    + +Odoo Community Association + +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    jbaudoux

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/tests/__init__.py b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/tests/__init__.py new file mode 100644 index 0000000..3d12552 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/tests/__init__.py @@ -0,0 +1 @@ +from . import test_despatch_advice_import diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/tests/test_despatch_advice_import.py b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/tests/test_despatch_advice_import.py new file mode 100644 index 0000000..70960b3 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/tests/test_despatch_advice_import.py @@ -0,0 +1,394 @@ +# Copyright 2020 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import base64 + +from odoo import _, fields +from odoo.exceptions import UserError +from odoo.tests.common import TransactionCase + + +class TestDespatchAdviceImport(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + cls.supplier = cls.env.ref("base.res_partner_12") + cls.supplier.vat = "BE0477472701" + cls.env.user.company_id.partner_id.vat = "BE0421801233" + cls.product_1 = cls.env["product.product"].create( + { + "name": "Product 1", + "default_code": "987654321", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "P1"}) + ], + } + ) + cls.product_2 = cls.env["product.product"].create( + { + "name": "Product 2", + "default_code": "987654312", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "P2"}) + ], + } + ) + cls.product_3 = cls.env["product.product"].create( + { + "name": "Product 3", + "default_code": "123456789", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "P3"}) + ], + } + ) + cls.product_4 = cls.env["product.product"].create( + { + "name": "Product 4", + "default_code": "23456718", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "P4"}) + ], + } + ) + cls.purchase_order = cls.env["purchase.order"].create( + { + "partner_id": cls.supplier.id, + "date_order": fields.Datetime.now(), + "date_planned": fields.Datetime.now(), + } + ) + cls.line1 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.product_1.id, + "name": cls.product_1.name, + "date_planned": fields.Datetime.now(), + "product_qty": 24, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 15, + } + ) + cls.line2 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.product_2.id, + "name": cls.product_2.name, + "date_planned": fields.Datetime.now(), + "product_qty": 5, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 25, + } + ) + + cls.line3 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.product_3.id, + "name": cls.product_3.name, + "date_planned": fields.Datetime.now(), + "product_qty": 15, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 25, + } + ) + + cls.line4 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.product_4.id, + "name": cls.product_4.name, + "date_planned": fields.Datetime.now(), + "product_qty": 15, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 25, + } + ) + cls.purchase_order.button_confirm() + + cls.DespatchAdviceImport = cls.env["despatch.advice.import"].create( + {"document": base64.b64encode(bytes("", "utf-8"))} + ) + + def order_line_to_data(self, order_line, qty=None, backorder_qty=None): + return { + "backorder_qty": backorder_qty, + "qty": qty if qty is not None else order_line.product_qty, + "order_line_id": order_line.id, + "ref": order_line.order_id.name, + "product_ref": order_line.product_id.default_code, + "uom": {"unece_code": order_line.product_uom.unece_code}, + } + + def _get_base_data(self): + return { + "company": {"vat": "BE0421801233"}, + "date": "2020-02-04", + "chatter_msg": [], + "lines": [], + "supplier": {"vat": "BE0477472701"}, + "ref": str(self.purchase_order.name), + } + + def test_no_purchase_order_name(self): + """ + Data: + Data with unknown PO reference + Test Case: + Process data + Expected result: + UserError is raised + """ + data = self._get_base_data() + data["ref"] = "123456" + data["lines"] = [self.order_line_to_data(self.line1)] + data["lines"][0]["ref"] = "123456" + + with self.assertRaises(UserError) as ue: + self.DespatchAdviceImport.process_data(data) + self.assertEqual( + ue.exception.name, _("No purchase order found for name 123456.") + ) + + def test_process_data_with_backorder_qty(self): + """ + backorder qty + """ + data = self._get_base_data() + confirmed_qty = self.line1.product_qty - 21 + data["lines"] = [ + self.order_line_to_data(self.line1, qty=confirmed_qty, backorder_qty=21), + self.order_line_to_data(self.line2), + self.order_line_to_data(self.line3), + self.order_line_to_data(self.line4), + ] + self.DespatchAdviceImport.process_data(data) + + self.assertTrue(self.purchase_order.picking_ids) + move_ids = self.line1.move_ids + self.assertEqual(len(move_ids), 2) + self.assertEqual(sum(move_ids.mapped("product_qty")), self.line1.product_qty) + assigned = move_ids.filtered(lambda s: s.state == "done" and s.product_qty == 3) + self.assertEqual(assigned.product_qty, confirmed_qty) + + move_backorder = move_ids.filtered( + lambda s: s.state == "assigned" and s.product_qty == 21 + ) + self.assertTrue(move_backorder) + self.assertEqual(move_backorder.picking_id.backorder_id, assigned.picking_id) + + def test_process_data_with_no_backorder_qty(self): + """ + no backorder qty + """ + data = self._get_base_data() + confirmed_qty = self.line1.product_qty - 21 + data["lines"] = [ + self.order_line_to_data(self.line1, qty=confirmed_qty), + self.order_line_to_data(self.line2), + self.order_line_to_data(self.line3), + self.order_line_to_data(self.line4), + ] + self.DespatchAdviceImport.process_data(data) + + self.assertTrue(self.purchase_order.picking_ids) + move_ids = self.line1.move_ids + self.assertEqual(len(move_ids), 2) + self.assertEqual(sum(move_ids.mapped("product_qty")), self.line1.product_qty) + assigned = move_ids.filtered(lambda s: s.state == "done") + self.assertEqual(assigned.product_qty, confirmed_qty) + cancel = move_ids.filtered(lambda s: s.state == "cancel") + self.assertEqual(cancel.product_qty, 21) + + def test_process_data_create_backorder(self): + """ + 2 back order created, second one is put in the same than the first 1 + """ + data = self._get_base_data() + line1_confirmed_qty = self.line1.product_qty - 3 + line2_confirmed_qty = self.line2.product_qty - 3 + data["lines"] = [ + self.order_line_to_data( + self.line1, + qty=line1_confirmed_qty, + backorder_qty=3, + ), + self.order_line_to_data( + self.line2, + qty=line2_confirmed_qty, + backorder_qty=3, + ), + self.order_line_to_data(self.line3), + self.order_line_to_data(self.line4), + ] + + self.DespatchAdviceImport.process_data(data) + self.assertEqual(self.purchase_order.state, "purchase") + self.assertEqual(len(self.purchase_order.picking_ids), 2) + # line1 + line1_move_ids = self.line1.move_ids + self.assertEqual(len(line1_move_ids), 2) + self.assertEqual( + sum(line1_move_ids.mapped("product_qty")), self.line1.product_qty + ) + move_confirmed = line1_move_ids.filtered( + lambda s: s.state == "done" and s.product_qty == line1_confirmed_qty + ) + self.assertTrue(move_confirmed) + self.assertEqual(move_confirmed.product_qty, line1_confirmed_qty) + move_backorder = line1_move_ids.filtered( + lambda s: s.state == "assigned" and s.product_qty == 3 + ) + self.assertTrue(move_backorder) + self.assertEqual( + move_backorder.picking_id.backorder_id, + move_confirmed.picking_id, + ) + + # line2 + line2_move_ids = self.line2.move_ids + self.assertEqual(len(line2_move_ids), 2) + self.assertEqual( + sum(line2_move_ids.mapped("product_qty")), self.line2.product_qty + ) + move_confirmed = line2_move_ids.filtered( + lambda s: s.state == "done" and s.product_qty == line2_confirmed_qty + ) + self.assertTrue(move_confirmed) + self.assertEqual(move_confirmed.product_qty, line2_confirmed_qty) + + move_backorder = line2_move_ids.filtered( + lambda s: s.state == "assigned" and s.product_qty == 3 + ) + self.assertTrue(move_backorder) + self.assertEqual( + move_backorder.picking_id.backorder_id, + move_confirmed.picking_id, + ) + + def test_partial_delivery_with_backorder(self): + """ """ + data = self._get_base_data() + confirmed_qty = self.line1.product_qty - 3 + data["lines"] = [ + self.order_line_to_data( + self.line1, + qty=confirmed_qty, + backorder_qty=2, + ), + self.order_line_to_data(self.line2), + self.order_line_to_data(self.line3), + self.order_line_to_data(self.line4), + ] + self.DespatchAdviceImport.process_data(data) + self.assertEqual(len(self.purchase_order.picking_ids), 2) + move_ids = self.line1.move_ids + + self.assertEqual(len(move_ids), 3) + self.assertEqual(sum(move_ids.mapped("product_qty")), self.line1.product_qty) + move_confirmed = move_ids.filtered( + lambda s: s.state == "done" and s.product_qty == confirmed_qty + ) + self.assertTrue(move_confirmed) + move_cancel = move_ids.filtered( + lambda s: s.state == "cancel" and s.product_qty == 1 + ) + self.assertTrue(move_cancel) + move_backorder = move_ids.filtered( + lambda s: s.state == "assigned" and s.product_qty == 2 + ) + + self.assertTrue(move_backorder) + self.assertEqual( + move_backorder.picking_id.backorder_id, + move_confirmed.picking_id, + ) + + def test_qty_larger_backorder_qty(self): + """ """ + data = self._get_base_data() + confirmed_qty = 6 + data["lines"] = [ + self.order_line_to_data(self.line1), + self.order_line_to_data(self.line2), + self.order_line_to_data(self.line3, qty=confirmed_qty, backorder_qty=3), + self.order_line_to_data(self.line4), + ] + self.DespatchAdviceImport.process_data(data) + self.assertEqual(len(self.purchase_order.picking_ids), 2) + move_ids = self.line3.move_ids + self.assertEqual(len(move_ids), 3) + self.assertEqual(sum(move_ids.mapped("product_qty")), self.line3.product_qty) + moves_confirmed = move_ids.filtered( + lambda s: s.state == "done" and not s.picking_id.backorder_id + ) + self.assertEqual(sum(moves_confirmed.mapped("product_qty")), confirmed_qty) + + move_cancel = move_ids.filtered( + lambda s: s.state == "cancel" and s.product_qty == 6 + ) + self.assertTrue(move_cancel) + move_backorder = move_ids.filtered( + lambda s: s.state == "assigned" and s.product_qty == 3 + ) + self.assertTrue(move_backorder) + self.assertEqual( + move_backorder.picking_id.backorder_id, + moves_confirmed[0].picking_id, + ) + + def test_qty_equal_backorder_qty(self): + """ """ + data = self._get_base_data() + confirmed_qty = 3 + data["lines"] = [ + self.order_line_to_data(self.line1), + self.order_line_to_data(self.line2), + self.order_line_to_data(self.line3), + self.order_line_to_data( + self.line4, + qty=confirmed_qty, + backorder_qty=3, + ), + ] + self.DespatchAdviceImport.process_data(data) + self.assertEqual(len(self.purchase_order.picking_ids), 2) + move_ids = self.line4.move_ids + self.assertEqual(sum(move_ids.mapped("product_qty")), self.line4.product_qty) + moves_confirmed = move_ids.filtered( + lambda s: s.state == "done" and not s.picking_id.backorder_id + ) + self.assertEqual(sum(moves_confirmed.mapped("product_qty")), 3) + + moves_cancel = move_ids.filtered( + lambda s: s.state == "cancel" and not s.picking_id.backorder_id + ) + self.assertEqual(sum(moves_cancel.mapped("product_qty")), 9) + moves_backorder = move_ids.filtered( + lambda s: s.state == "assigned" and s.picking_id.backorder_id + ) + self.assertEqual(sum(moves_backorder.mapped("product_qty")), 3) + + def test_confirmed_qty_larger_reserved_qty(self): + """ + confirmed qty > reserved qty + """ + data = self._get_base_data() + confirmed_qty = self.line1.product_qty + 6 + data["lines"] = [ + self.order_line_to_data(self.line1, qty=confirmed_qty), + self.order_line_to_data(self.line2), + self.order_line_to_data(self.line3), + self.order_line_to_data(self.line4), + ] + self.DespatchAdviceImport.with_context( + allow_validate_over_qty=True + ).process_data(data) + + self.assertTrue(self.purchase_order.picking_ids) + move_ids = self.line1.move_ids + self.assertEqual(len(move_ids), 1) + self.assertEqual(sum(move_ids.mapped("product_qty")), confirmed_qty) + assigned = move_ids.filtered(lambda s: s.state == "done") + self.assertEqual(assigned.product_qty, confirmed_qty) diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/wizard/__init__.py b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/wizard/__init__.py new file mode 100644 index 0000000..ce838ad --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/wizard/__init__.py @@ -0,0 +1 @@ +from . import despatch_advice_import diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/wizard/despatch_advice_import.py b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/wizard/despatch_advice_import.py new file mode 100644 index 0000000..52e95af --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/wizard/despatch_advice_import.py @@ -0,0 +1,312 @@ +# Copyright 2020 ACSONE SA/NV +# Copyright 2025 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import logging +import mimetypes +from base64 import b64decode, b64encode + +from lxml import etree + +from odoo import _, api, fields, models +from odoo.exceptions import UserError +from odoo.tools import float_compare + +logger = logging.getLogger(__name__) + + +class DespatchAdviceImport(models.TransientModel): + _name = "despatch.advice.import" + _description = "Despatch Advice Import from Files" + + document = fields.Binary( + string="XML or PDF Despatch Advice", + required=True, + help="Upload an Despatch Advice file that you received from " + "your supplier. Supported formats: XML and PDF " + "(PDF with an embeded XML file).", + ) + filename = fields.Char(string="File Name") + allow_validate_over_qty = fields.Boolean( + "Allow Validate Over Quantity", default=True + ) + + # Format of parsed despatch advice + # { + # 'ref': 'PO01234' # the buyer party identifier + # # (specified into the Order document -> po's name) + # 'despatch_advice_type_code': ' scheduled | delivered' + # 'supplier': {'vat': 'FR25499247138'}, + # 'company': {'vat': 'FR12123456789'}, # Only used to check we are not + # # importing the quote in the + # # wrong company by mistake + # 'estimated_delivery_date': '2020-11-20' + # 'lines': [{ + # 'id': 123456, + # 'qty': 2.5, + # 'uom': {'unece_code': 'C62'}, + # 'backorder_qty: None # if provided and qty != expected + # # the backorder qty will be delivered + # # in a next shipping + # }] + + @api.model + def parse_despatch_advice(self, document, filename): + if not document: + raise UserError(_("Missing document file")) + if not filename: + raise UserError(_("Missing document filename")) + filetype = mimetypes.guess_type(filename)[0] + logger.debug("DespatchAdvice file mimetype: %s", filetype) + if filetype in ["application/xml", "text/xml"]: + try: + xml_root = etree.fromstring(document) + except Exception as err: + raise UserError(_("This XML file is not XML-compliant")) from err + if logger.isEnabledFor(logging.DEBUG): + pretty_xml_string = etree.tostring( + xml_root, pretty_print=True, encoding="UTF-8", xml_declaration=True + ) + logger.debug("Starting to import the following XML file:") + logger.debug(pretty_xml_string) + parsed_despatch_advice = self.parse_xml_despatch_advice(xml_root) + elif filetype == "application/pdf": + parsed_despatch_advice = self.parse_pdf_despatch_advice(document) + else: + raise UserError( + _( + "This file '%s' is not recognised as XML nor PDF file. " + "Please check the file and it's extension." + ) + % filename + ) + logger.debug("Result of Despatch Advice parsing: ", parsed_despatch_advice) + if "attachments" not in parsed_despatch_advice: + parsed_despatch_advice["attachments"] = {} + parsed_despatch_advice["attachments"][filename] = b64encode(document) + if "chatter_msg" not in parsed_despatch_advice: + parsed_despatch_advice["chatter_msg"] = [] + if parsed_despatch_advice.get("company") and not self.env.context.get( + "edi_skip_company_check" + ): + self.env["business.document.import"]._check_company( + parsed_despatch_advice["company"], parsed_despatch_advice["chatter_msg"] + ) + defaults = self.env.context.get("despatch_advice_import__default_vals", {}).get( + "despatch_advice", {} + ) + parsed_despatch_advice.update(defaults) + return parsed_despatch_advice + + @api.model + def parse_xml_despatch_advice(self, xml_root): + raise UserError( + _( + "This type of XML Order Response is not supported. Did you " + "install the module to support this XML format?" + ) + ) + + @api.model + def parse_pdf_despatch_advice(self, document): + """ + Get PDF attachments, filter on XML files and call import_order_xml + """ + xml_files_dict = self.get_xml_files_from_pdf(document) + if not xml_files_dict: + raise UserError(_("There are no embedded XML file in this PDF file.")) + for xml_filename, xml_root in xml_files_dict.items(): + logger.info("Trying to parse XML file %s", xml_filename) + try: + parsed_despatch_advice = self.parse_xml_despatch_advice(xml_root) + return parsed_despatch_advice + except Exception: + continue + raise UserError( + _( + "This type of XML Order Document is not supported. Did you " + "install the module to support this XML format?" + ) + ) + + def process_document(self): + self.ensure_one() + parsed_order_document = self.parse_despatch_advice( + b64decode(self.document), self.filename + ) + self.process_data(parsed_order_document) + + def _collect_lines_by_id(self, lines_doc, key="order_line_id"): + lines_by_id = {} + for line in lines_doc: + line_id = int(line[key]) + if line_id in lines_by_id: + lines_by_id[line_id]["qty"] += line["qty"] + lines_by_id[line_id]["backorder_qty"] += line["backorder_qty"] + if "product_lot" in line: + lines_by_id[line_id]["product_lot"].append(line["product_lot"]) + lines_by_id[line_id]["product_lot"] = list( + set(lines_by_id[line_id]["product_lot"]) + ) + lines_by_id[line_id]["uom"]["unece_code"].append( + line["uom"]["unece_code"] + ) + lines_by_id[line_id]["uom"]["unece_code"] = list( + set(lines_by_id[line_id]["uom"]["unece_code"]) + ) + else: + lines_by_id[line_id] = line + if "product_lot" in line: + lines_by_id[line_id]["product_lot"] = [ + lines_by_id[line_id]["product_lot"] + ] + lines_by_id[line_id]["uom"]["unece_code"] = [ + lines_by_id[line_id]["uom"]["unece_code"] + ] + return lines_by_id + + def process_data(self, parsed_order_document): + po_name = parsed_order_document.get("ref") + + lines_doc = parsed_order_document.get("lines") + + lines_by_id = self._collect_lines_by_id(lines_doc) + + lines = self.env["purchase.order.line"].browse(lines_by_id.keys()) + + for line in lines: + order = line.order_id + line_info = lines_by_id.get(line.id) + + if line_info["ref"]: + if order.name != line_info["ref"]: + raise UserError( + _("No purchase order found for name %s.") % line_info["ref"], + ) + else: + if order.name != po_name: + raise UserError(_("No purchase order found for name %s.") % po_name) + stock_moves = line.move_ids.filtered( + lambda x: x.state not in ("cancel", "done") + ) + moves_qty = sum(stock_moves.mapped("product_qty")) + if line_info["qty"] == moves_qty: + self._process_accepted(stock_moves, parsed_order_document) + elif line_info["qty"] > moves_qty and self.allow_validate_over_qty: + self._process_accepted( + stock_moves, parsed_order_document, forced_qty=line_info["qty"] + ) + elif not line_info["qty"] and not line_info["backorder_qty"]: + self._process_rejected(stock_moves, parsed_order_document) + else: + self._process_conditional(stock_moves, parsed_order_document, line_info) + self._process_picking_done(lines[0].move_ids[0]) + + def _process_picking_done(self, move): + picking = move.picking_id + if all(line.state == "cancel" for line in picking.move_ids): + return True + # skip backorder wizard + picking.with_context( + skip_immediate=True, skip_backorder=True, skip_sms=True, skip_expired=True + ).button_validate() + + def _cancel_extra_moves(self, moves): + # Loose dependency with stock_picking_restrict_cancel_printed module + # that checks we are canceling the backorder to allow move cancellation. + # Mimic odoo setting this cancel_backorder context variable in this case. + moves.with_context(cancel_backorder=True)._action_cancel() + + def _process_rejected(self, stock_moves, parsed_order_document): + parsed_order_document["chatter_msg"] = parsed_order_document.get( + "chatter_msg", [] + ) + parsed_order_document["chatter_msg"].append( + _("Delivery cancelled by the supplier.") + ) + self._cancel_extra_moves(stock_moves) + + def _process_accepted(self, stock_moves, parsed_order_document, forced_qty=False): + parsed_order_document["chatter_msg"] = ( + parsed_order_document["chatter_msg"] or [] + ) + parsed_order_document["chatter_msg"].append( + _("Delivery confirmed by the supplier.") + ) + stock_moves._action_confirm() + stock_moves._action_assign() + for move in stock_moves: + move.quantity_done = forced_qty or move.product_qty + + def _process_conditional(self, moves, parsed_order_document, line): + precision = self.env["decimal.precision"].precision_get( + "Product Unit of Measure" + ) + chatter = parsed_order_document["chatter_msg"] = ( + parsed_order_document["chatter_msg"] or [] + ) + chatter.append(_("Delivery confirmed with amendment by the supplier.")) + + qty = line["qty"] + backorder_qty = line["backorder_qty"] + moves_qty = sum(moves.mapped("product_qty")) + + if float_compare(qty, moves_qty, precision_digits=precision) >= 0: + raise UserError( + _("The product quantity is greater than the original product quantity") + ) + + # confirmed qty < ordered qty + move_ids_to_backorder = [] + move_ids_to_cancel = [] + for move in moves: + if ( + float_compare(qty, move.product_uom_qty, precision_digits=precision) + >= 0 + ): + # qty planned => qty into the stock move: Keep it + qty -= move.product_uom_qty + continue + if ( + qty + and float_compare(qty, move.product_uom_qty, precision_digits=precision) + < 0 + ): + # qty planned < qty into the stock move: Split it + new_vals = move._split(move.product_uom_qty - qty) + move.quantity_done = move.product_qty + move = self.env["stock.move"].create(new_vals[0]) + + qty -= move.product_uom_qty + if not backorder_qty: + # if no backorder -> we must cancel the move + move_ids_to_cancel.append(move.id) + continue + # from here we process the backorder qty + # we distribute this qty into the remaining moves and + # if this qty is < than the expected one, we split and cancel the + # remaining qty + if ( + float_compare( + backorder_qty, move.product_uom_qty, precision_digits=precision + ) + < 0 + ): + # backorder_qty < qty into the move -> split the move + # and cancel remaining qty + move._action_confirm(merge=False) + new_vals = move._split(move.product_uom_qty - backorder_qty) + move_ids_to_cancel.append(self.env["stock.move"].create(new_vals[0]).id) + + backorder_qty -= move.product_uom_qty + move_ids_to_backorder.append(move.id) + + # cancel moves to cancel + if move_ids_to_cancel: + moves_to_cancel = self.env["stock.move"].browse(move_ids_to_cancel) + self._cancel_extra_moves(moves_to_cancel) + # move backorder moves to a backorder + if move_ids_to_backorder: + moves_to_backorder = self.env["stock.move"].browse(move_ids_to_backorder) + for move in moves_to_backorder: + move._action_confirm(merge=False) diff --git a/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/wizard/despatch_advice_import.xml b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/wizard/despatch_advice_import.xml new file mode 100644 index 0000000..98c1bd0 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/despatch_advice_import/wizard/despatch_advice_import.xml @@ -0,0 +1,58 @@ + + + + + + despatch.advice.import (in purchase_order_import) + despatch.advice.import + +
    + +
    +

    Upload below the DespatchAdvice you received from your supplier. When you click on the import button:

    +
      +
    1. If it is an XML file, Odoo will parse it if the module that adds support for this XML format is installed. For the Universal Business Language format (UBL), you should install the module despatch_advice_import_ubl.
    2. +
    3. If it is a PDF file, Odoo will try to find an XML file in the attachments of the PDF file and then use this XML file.
    4. +
    +
    +
    + + + + + + +
    +
    +
    +
    +
    + + Import + despatch.advice.import + form + new + + + UBL Despatch Advice Importer + + + + + +
    diff --git a/odoo-bringout-oca-edi-despatch_advice_import/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-despatch_advice_import/doc/ARCHITECTURE.md new file mode 100644 index 0000000..f27e1a5 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Despatch_advice_import Module - despatch_advice_import + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-despatch_advice_import/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-despatch_advice_import/doc/CONFIGURATION.md new file mode 100644 index 0000000..9785034 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for despatch_advice_import. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-despatch_advice_import/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-despatch_advice_import/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-despatch_advice_import/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-despatch_advice_import/doc/DEPENDENCIES.md new file mode 100644 index 0000000..d94e37e --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/doc/DEPENDENCIES.md @@ -0,0 +1,7 @@ +# Dependencies + +This addon depends on: + +- [purchase](../../odoo-bringout-oca-ocb-purchase) +- [purchase_stock](../../odoo-bringout-oca-ocb-purchase_stock) +- [base_business_document_import](../../odoo-bringout-oca-edi-base_business_document_import) diff --git a/odoo-bringout-oca-edi-despatch_advice_import/doc/FAQ.md b/odoo-bringout-oca-edi-despatch_advice_import/doc/FAQ.md new file mode 100644 index 0000000..88709db --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon despatch_advice_import or install in UI. diff --git a/odoo-bringout-oca-edi-despatch_advice_import/doc/INSTALL.md b/odoo-bringout-oca-edi-despatch_advice_import/doc/INSTALL.md new file mode 100644 index 0000000..c35e997 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-despatch_advice_import" +# or +uv pip install odoo-bringout-oca-edi-despatch_advice_import" +``` diff --git a/odoo-bringout-oca-edi-despatch_advice_import/doc/MODELS.md b/odoo-bringout-oca-edi-despatch_advice_import/doc/MODELS.md new file mode 100644 index 0000000..f9bee13 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/doc/MODELS.md @@ -0,0 +1,11 @@ +# Models + +Detected core models and extensions in despatch_advice_import. + +```mermaid +classDiagram +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-despatch_advice_import/doc/OVERVIEW.md b/odoo-bringout-oca-edi-despatch_advice_import/doc/OVERVIEW.md new file mode 100644 index 0000000..62554d9 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: despatch_advice_import. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon despatch_advice_import +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-despatch_advice_import/doc/REPORTS.md b/odoo-bringout-oca-edi-despatch_advice_import/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-despatch_advice_import/doc/SECURITY.md b/odoo-bringout-oca-edi-despatch_advice_import/doc/SECURITY.md new file mode 100644 index 0000000..a95ee0b --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/doc/SECURITY.md @@ -0,0 +1,34 @@ +# Security + +Access control and security definitions in despatch_advice_import. + +## Access Control Lists (ACLs) + +Model access permissions defined in: +- **[ir.model.access.csv](../despatch_advice_import/security/ir.model.access.csv)** + - 1 model access rules + +## Record Rules + +Row-level security rules defined in: + +```mermaid +graph TB + subgraph "Security Layers" + A[Users] --> B[Groups] + B --> C[Access Control Lists] + C --> D[Models] + B --> E[Record Rules] + E --> F[Individual Records] + end +``` + +Security files overview: +- **[ir.model.access.csv](../despatch_advice_import/security/ir.model.access.csv)** + - Model access permissions (CRUD rights) + +Notes +- Access Control Lists define which groups can access which models +- Record Rules provide row-level security (filter records by user/group) +- Security groups organize users and define permission sets +- All security is enforced at the ORM level by Odoo diff --git a/odoo-bringout-oca-edi-despatch_advice_import/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-despatch_advice_import/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-despatch_advice_import/doc/USAGE.md b/odoo-bringout-oca-edi-despatch_advice_import/doc/USAGE.md new file mode 100644 index 0000000..9f5c1bc --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon despatch_advice_import +``` diff --git a/odoo-bringout-oca-edi-despatch_advice_import/doc/WIZARDS.md b/odoo-bringout-oca-edi-despatch_advice_import/doc/WIZARDS.md new file mode 100644 index 0000000..c644026 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/doc/WIZARDS.md @@ -0,0 +1,8 @@ +# Wizards + +Transient models exposed as UI wizards in despatch_advice_import. + +```mermaid +classDiagram + class DespatchAdviceImport +``` diff --git a/odoo-bringout-oca-edi-despatch_advice_import/pyproject.toml b/odoo-bringout-oca-edi-despatch_advice_import/pyproject.toml new file mode 100644 index 0000000..ace644c --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import/pyproject.toml @@ -0,0 +1,45 @@ +[project] +name = "odoo-bringout-oca-edi-despatch_advice_import" +version = "16.0.0" +description = "Despatch Advice Import - + Despatch Advice import" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-ocb-purchase>=16.0.0", + "odoo-bringout-oca-edi-purchase_stock>=16.0.0", + "odoo-bringout-oca-edi-base_business_document_import>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["despatch_advice_import"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/README.md b/odoo-bringout-oca-edi-despatch_advice_import_ubl/README.md new file mode 100644 index 0000000..d470a53 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/README.md @@ -0,0 +1,45 @@ +# Despatch Advice Import Ubl + +Odoo addon: despatch_advice_import_ubl + +## Installation + +```bash +pip install odoo-bringout-oca-edi-despatch_advice_import_ubl +``` + +## Dependencies + +This addon depends on: +- despatch_advice_import +- base_ubl + +## Manifest Information + +- **Name**: Despatch Advice Import Ubl +- **Version**: 16.0.1.1.0 +- **Category**: N/A +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `despatch_advice_import_ubl`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/README.rst b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/README.rst new file mode 100644 index 0000000..de012b5 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/README.rst @@ -0,0 +1,86 @@ +========================== +Despatch Advice Import Ubl +========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:6ae472dfcc668af3f2110436922e8e8bd70161ccafe62bddad3d5d297ba08acd + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/despatch_advice_import_ubl + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-despatch_advice_import_ubl + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module support for the import of Despatch Advice File. + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* ACSONE SA/NV + +Contributors +~~~~~~~~~~~~ + +* Laurent Mignon +* `Trobz `_: + + * Thien +* Simone Orsi +* Jacques-Etienne Baudoux + +Other credits +~~~~~~~~~~~~~ + +The migration of this module from 10.0 to 16.0 was financially supported by Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/__init__.py b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/__init__.py new file mode 100644 index 0000000..4027237 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/__init__.py @@ -0,0 +1 @@ +from . import wizard diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/__manifest__.py b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/__manifest__.py new file mode 100644 index 0000000..713e4c9 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/__manifest__.py @@ -0,0 +1,16 @@ +# Copyright 2020 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Despatch Advice Import Ubl", + "summary": """ + Import Despatch Advice files""", + "version": "16.0.1.1.0", + "license": "AGPL-3", + "author": "ACSONE SA/NV,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/edi", + "depends": ["despatch_advice_import", "base_ubl"], + "data": [], + "demo": [], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/despatch_advice_import_ubl.pot b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/despatch_advice_import_ubl.pot new file mode 100644 index 0000000..ff76d9f --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/despatch_advice_import_ubl.pot @@ -0,0 +1,26 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: despatch_advice_import_ubl +#: model:ir.model,name:despatch_advice_import_ubl.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "" + +#. module: despatch_advice_import_ubl +#. odoo-python +#: code:addons/despatch_advice_import_ubl/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing line ID in the Despatch Advice." +msgstr "" diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/es.po b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/es.po new file mode 100644 index 0000000..f2ca13c --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/es.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-02-15 21:35+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: despatch_advice_import_ubl +#: model:ir.model,name:despatch_advice_import_ubl.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "Aviso de Expedición Importación desde Ficheros" + +#. module: despatch_advice_import_ubl +#. odoo-python +#: code:addons/despatch_advice_import_ubl/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing line ID in the Despatch Advice." +msgstr "Falta ID de línea en el Aviso de Expedición." diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/fr.po b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/fr.po new file mode 100644 index 0000000..38a1ac5 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/fr.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-01 15:34+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: despatch_advice_import_ubl +#: model:ir.model,name:despatch_advice_import_ubl.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "Importer l'avis d'expédition à partir des fichiers" + +#. module: despatch_advice_import_ubl +#. odoo-python +#: code:addons/despatch_advice_import_ubl/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing line ID in the Despatch Advice." +msgstr "ID de ligne manquant dans l'avis d'expédition." diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/it.po b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/it.po new file mode 100644 index 0000000..8ca43f2 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/it.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: despatch_advice_import_ubl +#: model:ir.model,name:despatch_advice_import_ubl.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "Importazione di avvisi di spedizione da file" + +#. module: despatch_advice_import_ubl +#. odoo-python +#: code:addons/despatch_advice_import_ubl/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing line ID in the Despatch Advice." +msgstr "ID riga mancante nell'avviso di spedizione." diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..9d147f9 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/CONTRIBUTORS.rst @@ -0,0 +1,6 @@ +* Laurent Mignon +* `Trobz `_: + + * Thien +* Simone Orsi +* Jacques-Etienne Baudoux \ No newline at end of file diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/CREDITS.rst b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/CREDITS.rst new file mode 100644 index 0000000..6ebc079 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/CREDITS.rst @@ -0,0 +1 @@ +The migration of this module from 10.0 to 16.0 was financially supported by Camptocamp \ No newline at end of file diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/DESCRIPTION.rst new file mode 100644 index 0000000..9543a30 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module support for the import of Despatch Advice File. \ No newline at end of file diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/static/description/icon.png b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/static/description/index.html b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/static/description/index.html new file mode 100644 index 0000000..38b736e --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/static/description/index.html @@ -0,0 +1,437 @@ + + + + + +Despatch Advice Import Ubl + + + +
    +

    Despatch Advice Import Ubl

    + + +

    Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    This module support for the import of Despatch Advice File.

    +

    Table of contents

    + +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • ACSONE SA/NV
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Other credits

    +

    The migration of this module from 10.0 to 16.0 was financially supported by Camptocamp

    +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    +Odoo Community Association +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/__init__.py b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/__init__.py new file mode 100644 index 0000000..adaa79f --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/__init__.py @@ -0,0 +1,2 @@ +from . import test_despatch_advice_import +from . import test_despatch_advice_mix diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/despatch_advice_2.xml b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/despatch_advice_2.xml new file mode 100644 index 0000000..9310372 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/despatch_advice_2.xml @@ -0,0 +1,96 @@ + + + {picking_name} + 2020-11-16 + scheduled + + + + + + BE0477472701 + + + STREET + CITY + 0000 + + BE + + + + S.A. SOCIETY + + + + + + + BE0421801233 + + + COMPANY + + + + + 0987654321 + + + 2020-11-17 + + + + + {line_1_id} + {line_1_qty} + {line_1_backorder_qty} + + {line_1_id} + + {line_1_order_id} + + + + PRODUCT1 + + 1234567 + + + 2022-03-31 + + 1234890 + + + + + + {line_2_id} + {line_2_qty} + + {line_2_id} + + {line_2_order_id} + + + + PRODUCT2 + + 2345678 + + + 2021-12-31 + + 876540 + + + + + diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/despatch_advice_tmpl.xml b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/despatch_advice_tmpl.xml new file mode 100644 index 0000000..f9b48ad --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/despatch_advice_tmpl.xml @@ -0,0 +1,97 @@ + + + {picking_name} + 2020-11-16 + scheduled + + {order_id} + + + + + BE0477472701 + + + STREET + CITY + 0000 + + BE + + + + S.A. SOCIETY + + + + + + + BE0421801233 + + + COMPANY + + + + + 0987654321 + + + 2020-11-17 + + + + + {line_1_id} + {line_1_qty} + {line_1_backorder_qty} + + {line_1_id} + + {order_id} + + + + PRODUCT1 + + 1234567 + + + 2022-03-31 + + 1234890 + + + + + + {line_2_id} + {line_2_qty} + + {line_2_id} + + {order_id} + + + + PRODUCT2 + + 2345678 + + + 2021-12-31 + + 876540 + + + + + diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/do_mix1.xml b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/do_mix1.xml new file mode 100644 index 0000000..16d0404 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/do_mix1.xml @@ -0,0 +1,358 @@ + + + 0811960660 + 2021-04-01 + scheduled + + {order_id} + + + + + BE0401953350 + + + RUE TEST, 1 + CITY + 0000 + + BE + + + + S.A. SOCIETY + + + + + + + BE0421801233 + + + COMPANY + + + + + 0811960660 + + + 2021-04-02 + + + + + 000010 + 60 + + {line_1_id} + + {order_id} + + + + CYDECTIN 0,1% ORAL DRENCH 1L + + 10007444 + + + 2022-09-30 + + 475932 + + + + + + 000020 + 40 + + {line_2_id} + + {order_id} + + + + CYDECTIN TRICLAMOX OVIN 1 L + + 10005578 + + + 2022-05-31 + + 446320 + + + + + + 000030 + 96 + + {line_4_id} + + {order_id} + + + + APOQUEL 5,4MG 100CP + + 10022152 + + + 2022-07-31 + + 475409 + + + + + + 000040 + 10 + + {line_7_id} + + {order_id} + + + + MODERIN 32MG 30CP + + 10005211 + + + 2023-03-31 + + EC0920 + + + + + + 000050 + 40 + + {line_8_id} + + {order_id} + + + + CIDR 1,38gr BOITE DE 10 + + 10002949 + + + 2021-07-31 + + Y073071 + + + + + + 000060 + 1 + + {line_12_id} + + {order_id} + + + + WITNESS LH 6x1 TEST + + 10012140 + + + 2022-01-22 + + 461003 + + + + + + 000070 + 2 + + {line_13_id} + + {order_id} + + + + WITNESS RELAXIN 5x1 TEST GESTATION + + 10010958 + + + 2022-05-26 + + 476920 + + + + + + 000080 + 4 + + {line_14_id} + + {order_id} + + + + ACEGON 10x6ML + + 10010146 + + + 2021-07-31 + + 0029-72 + + + + + + 000090 + 480 + + {line_15_id} + + {order_id} + + + + EQUEST GEL ORAL 700kg + + 10009831 + + + 2022-11-30 + + 483001 + + + + + + 000100 + 1 + + {line_16_id} + + {order_id} + + + + WITNESS GIARDIA 5 TESTS + + 10009407 + + + 2022-09-30 + + AT37.11 + + + + + + 000110 + 400 + + {line_17_id} + + {order_id} + + + + CATMINTH PATE SERINGUE 3GR + + 10003022 + + + 2023-10-31 + + 477663 + + + + + + 000120 + 30 + + {line_18_id} + + {order_id} + + + + FENDOV 1250 12 BOLI + + 10006920 + + + 2024-12-31 + + 6089402 + + + + + + 000130 + 2 + + {line_29_id} + + {order_id} + + + + WITNESS FELV-FIV 10x1 TEST + + 10009061 + + + 2022-05-31 + + 21ZLAE064 + + + + + + 000140 + 2 + + {line_30_id} + + {order_id} + + + + WITNESS FELV-FIV 5x1 TEST + + 10006252 + + + 2022-05-31 + + 20ZLAD038 + + + + + diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/do_mix2.xml b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/do_mix2.xml new file mode 100644 index 0000000..e7bbf2f --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/do_mix2.xml @@ -0,0 +1,424 @@ + + + 0811960665 + 2021-04-01 + scheduled + + {order_id} + + + + + BE0401953350 + + + RUE TEST, 1 + CITY + 0000 + + BE + + + + S.A. COMPANY + + + + + + + BE0421801233 + + + COMPANY + + + + + 0811960665 + + + 2021-04-02 + + + + + 000010 + 24 + + {line_3_id} + + {order_id} + + + + VANGUARD DA2PI-CPV 25X1D + + 10001458 + + + 2022-11-25 + + 471881 + + + + + + 000020 + 20 + + {line_6_id} + + {order_id} + + + + RISPOVAL IBR INACT 100ML + + 10001112 + + + 2022-12-25 + + 455269 + + + + + + 000030 + 0 + + {line_9_id} + + {order_id} + + + + VERSICAN PLS BB ORAL VACX1DS VLX10_BE/NL + + 10022422 + + + + + + + + + 000040 + 20 + + {line_10_id} + + {order_id} + + + + VERSICAN+ BBPi IN 10x1d + + 10023409 + + + 2022-06-25 + + 04582703 + + + + + + 000050 + 120 + + {line_11_id} + + {order_id} + + + + CONVENIA SOL INJ 10ml + + 10007669 + + + 2023-03-31 + + 43224706 + + + + + + 000060 + 160 + + {line_19_id} + + {order_id} + + + + FEVAXYN PENTOFEL 10X1D + + 10004344 + + + 2022-04-26 + + 474662 + + + + + + 000070 + 5 + + {line_20_id} + + {order_id} + + + + VANGUARD CPV-LEPTO 25x1D + + 10001455 + + + 2024-07-02 + + 473338 + + + + + + 000080 + 25 + 5 + + {line_21_id} + + {order_id} + + + + VANGUARD DA2PI-CPV-LEPTO 25x1D (7) + + 10001457 + + + 2022-06-29 + + 456322 + + + + + + 000090 + 10 + + {line_22_id} + + {order_id} + + + + VANGUARD LEPTO 25x1D + + 10001459 + + + 2022-10-11 + + 347340 + + + + + + 000100 + 30 + + {line_23_id} + + {order_id} + + + + VERSICAN+ DHPPI 25x1d + + 10011717 + + + 2022-08-11 + + 42602703 + + + + + + 000110 + 132 + 68 + + {line_24_id} + + {order_id} + + + + VERSICAN+ DHPPI/L4 25x1d + + 10011718 + + + 2022-06-08 + + 95602701 + + + + + + 000120 + 60 + + {line_25_id} + + {order_id} + + + + VERSICAN+ L4 25x1d + + 10011728 + + + 2022-04-20 + + 445427A01 + + + + + + 000130 + 40 + + {line_26_id} + + {order_id} + + + + VERSICAN+ PI 25x1d + + 10011736 + + + 2022-09-06 + + 39602702 + + + + + + 000140 + 15 + + {line_27_id} + + {order_id} + + + + VERSIFEL FELV 25x1d + + 10009541 + + + 2022-12-06 + + 491233 + + + + + + 000150 + 30 + + {line_28_id} + + {order_id} + + + + VERSIGUARD RABIES 10x1d + + 10016049 + + + 2022-08-13 + + 405827A04 + + + + + + 000030 + 18 + + {line_9_id} + + {order_id} + + + + VERSICAN+ BB ORAL 10x1d + + 10022422 + + + 2021-08-12 + + 401463 + + + + + + 000030 + 2 + + {line_9_id} + + {order_id} + + + + VERSICAN+ BB ORAL 10x1d + + 10022422 + + + 2021-08-12 + + 401464 + + + + + diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/test_despatch_advice_import.py b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/test_despatch_advice_import.py new file mode 100644 index 0000000..5cd848c --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/test_despatch_advice_import.py @@ -0,0 +1,205 @@ +# Copyright 2020 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from base64 import b64decode, b64encode + +from odoo import fields +from odoo.tests.common import TransactionCase +from odoo.tools import file_open + + +class TestDespatchAdviceImport(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + cls.supplier = cls.env.ref("base.res_partner_12") + cls.supplier.vat = "BE0477472701" + cls.env.user.company_id.partner_id.vat = "BE0421801233" + cls.product_1 = cls.env["product.product"].create( + { + "name": "Product 1", + "default_code": "1234567", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "P1"}) + ], + } + ) + cls.product_2 = cls.env["product.product"].create( + { + "name": "Product 2", + "default_code": "2345678", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "P2"}) + ], + } + ) + cls.purchase_order = cls.env["purchase.order"].create( + { + "partner_id": cls.supplier.id, + "date_order": fields.Datetime.now(), + "date_planned": fields.Datetime.now(), + } + ) + cls.line1 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.product_1.id, + "name": cls.product_2.name, + "date_planned": fields.Datetime.now(), + "product_qty": 24, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 15, + } + ) + cls.line2 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.product_2.id, + "name": cls.product_2.name, + "date_planned": fields.Datetime.now(), + "product_qty": 15, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 25, + } + ) + cls.DespatchAdviceImport = cls.env["despatch.advice.import"] + # cls.ProcurementOrder = cls.env["procurement.order"] + + with file_open( + "despatch_advice_import_ubl/tests/files/despatch_advice_tmpl.xml", "rb" + ) as f: + cls.despatch_advice_xml1 = f.read() + + with file_open( + "despatch_advice_import_ubl/tests/files/despatch_advice_2.xml", "rb" + ) as f: + cls.despatch_advice_xml2 = f.read() + + def test_xml_convert_to_internal_data_01(self): + """ + Data: + An UBL DespatchAdvice with all the information expected by the + parser + Test case: + Convert to xml document to the internal data structure + Expected result: + All the fields are filled into the internal data structure. + """ + xml_content = self.despatch_advice_xml1.decode("utf-8").format( + picking_name="0810805774", + order_id=self.purchase_order.name, + line_1_id=self.line1.id, + line_1_qty=self.line1.product_qty, + line_1_product_ref=self.product_1.default_code, + line_1_backorder_qty=12, + line_2_id=self.line2.id, + line_2_qty=self.line2.product_qty, + line_2_product_ref=self.product_2.default_code, + line_2_backorder_qty=0, + ) + xml_content = b64encode(xml_content.encode("utf-8")) + default = {"despatch_advice_type_code": "delivery"} + result = self.DespatchAdviceImport.with_context( + despatch_advice_import__default_vals=dict(despatch_advice=default) + ).parse_despatch_advice(b64decode(xml_content), "test.xml") + attachments = result.pop("attachments") + self.assertTrue(attachments.get("test.xml")) + expected = { + "chatter_msg": [], + "company": {"vat": "BE0421801233"}, + "date": "2020-11-16", + "despatch_advice_type_code": "delivery", + "estimated_delivery_date": "2020-11-17", + "id": "0810805774", + "lines": [ + { + "backorder_qty": 12.0, + "line_id": str(self.line1.id), + "order_line_id": str(self.line1.id), + "product_lot": "1234890", + "product_ref": str(self.product_1.default_code), + "qty": self.line1.product_qty, + "ref": str(self.purchase_order.name), + "uom": {"unece_code": "BG"}, + }, + { + "backorder_qty": 0, + "line_id": str(self.line2.id), + "order_line_id": str(self.line2.id), + "product_lot": "876540", + "product_ref": str(self.product_2.default_code), + "qty": self.line2.product_qty, + "ref": str(self.purchase_order.name), + "uom": {"unece_code": "C62"}, + }, + ], + "ref": str(self.purchase_order.name), + "supplier": {"vat": "BE0477472701"}, + } + self.maxDiff = None + self.assertEqual(expected, result) + + def test_xml_convert_to_internal_data_02(self): + """ + Data: + An UBL DespatchAdvice with all the information expected by the + parser -- The orderReference is at the orderLineLevel + Test case: + Convert to xml document to the internal data structure + Expected result: + All the fields are filled into the internal data structure. + """ + xml_content = self.despatch_advice_xml2.decode("utf-8").format( + picking_name="0810805774", + line_1_id=self.line1.id, + line_1_order_id=self.purchase_order.name, + line_1_qty=self.line1.product_qty, + line_1_product_ref=self.product_1.default_code, + line_1_backorder_qty=12, + line_2_id=self.line2.id, + line_2_order_id=self.purchase_order.name, + line_2_qty=self.line2.product_qty, + line_2_product_ref=self.product_2.default_code, + line_2_backorder_qty=0, + ) + xml_content = b64encode(xml_content.encode("utf-8")) + result = self.DespatchAdviceImport.parse_despatch_advice( + b64decode(xml_content), "test2.xml" + ) + attachments = result.pop("attachments") + self.assertTrue(attachments.get("test2.xml")) + expected = { + "chatter_msg": [], + "company": {"vat": "BE0421801233"}, + "date": "2020-11-16", + "despatch_advice_type_code": "scheduled", + "estimated_delivery_date": "2020-11-17", + "id": "0810805774", + "lines": [ + { + "backorder_qty": 12.0, + "line_id": str(self.line1.id), + "order_line_id": str(self.line1.id), + "product_lot": "1234890", + "product_ref": str(self.product_1.default_code), + "qty": self.line1.product_qty, + "ref": str(self.purchase_order.name), + "uom": {"unece_code": "BG"}, + }, + { + "backorder_qty": 0, + "line_id": str(self.line2.id), + "order_line_id": str(self.line2.id), + "product_lot": "876540", + "product_ref": str(self.product_2.default_code), + "qty": self.line2.product_qty, + "ref": str(self.purchase_order.name), + "uom": {"unece_code": "C62"}, + }, + ], + "ref": "", + "supplier": {"vat": "BE0477472701"}, + } + self.maxDiff = None + self.assertEqual(expected, result) diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/test_despatch_advice_mix.py b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/test_despatch_advice_mix.py new file mode 100644 index 0000000..34962e9 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/test_despatch_advice_mix.py @@ -0,0 +1,751 @@ +# Copyright 2021 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + + +from base64 import b64encode + +from odoo import fields +from odoo.tests.common import TransactionCase +from odoo.tools import file_open + + +class TestDespatchAdviceMix(TransactionCase): + @classmethod + def setUpClass(cls): + """ + Semi integration test : grab several DO for one PO + and check that everything is created properly: + Backorders, cancelled moves, etc + """ + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + + Product = cls.env["product.product"] + cls.supplier = cls.env.ref("base.res_partner_12") + cls.supplier.vat = "BE0477472701" + cls.env.user.company_id.partner_id.vat = "BE0421801233" + cls.purchase_order = cls.env["purchase.order"].create( + { + "partner_id": cls.supplier.id, + "date_order": fields.Datetime.now(), + "date_planned": fields.Datetime.now(), + } + ) + + cls.p1 = Product.create( + { + "name": "CYDECTIN 0,1% ORAL DRENCH 1L", + "default_code": "1354307", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "P1"}) + ], + } + ) + cls.line1 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p1.id, + "name": cls.p1.name, + "date_planned": fields.Datetime.now(), + "product_qty": 60, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 51.4, + } + ) + + cls.p2 = Product.create( + { + "name": "CYDECTIN TRICLAMOX OVIN 1 L", + "default_code": "10005578", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p2"}) + ], + } + ) + cls.line2 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p2.id, + "name": cls.p2.name, + "date_planned": fields.Datetime.now(), + "product_qty": 40, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 78.65, + } + ) + + cls.p3 = Product.create( + { + "name": "VANGUARD DA2PI-CPV 25X1D", + "default_code": "10001458", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p3"}) + ], + } + ) + cls.line3 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p3.id, + "name": cls.p3.name, + "date_planned": fields.Datetime.now(), + "product_qty": 24, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 96.32, + } + ) + + cls.p4 = Product.create( + { + "name": "APOQUEL 5,4MG 100CP", + "default_code": "10022152", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p4"}) + ], + } + ) + cls.line4 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p4.id, + "name": cls.p4.name, + "date_planned": fields.Datetime.now(), + "product_qty": 96, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 73.86, + } + ) + + cls.p5 = Product.create( + { + "name": "DOGMINTH PATE TUBE 24GR", + "default_code": "10002655", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p5"}) + ], + } + ) + cls.line5 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p5.id, + "name": cls.p5.name, + "date_planned": fields.Datetime.now(), + "product_qty": 280, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 7.2, + } + ) + + cls.p6 = Product.create( + { + "name": "RISPOVAL IBR INACT 100ML", + "default_code": "10001112", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p6"}) + ], + } + ) + cls.line6 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p6.id, + "name": cls.p6.name, + "date_planned": fields.Datetime.now(), + "product_qty": 20, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 114.36, + } + ) + + cls.p7 = Product.create( + { + "name": "MODERIN 32MG 30CP", + "default_code": "10005211", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p7"}) + ], + } + ) + cls.line7 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p7.id, + "name": cls.p7.name, + "date_planned": fields.Datetime.now(), + "product_qty": 10, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 47.62, + } + ) + + cls.p8 = Product.create( + { + "name": "CIDR 1,38gr BOITE DE 10", + "default_code": "10002949", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p8"}) + ], + } + ) + cls.line8 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p8.id, + "name": cls.p8.name, + "date_planned": fields.Datetime.now(), + "product_qty": 40, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 116.83, + } + ) + + cls.p9 = Product.create( + { + "name": "VERSICAN+ BB ORAL 10x1d", + "default_code": "10022422", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p9"}) + ], + } + ) + cls.line9 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p9.id, + "name": cls.p9.name, + "date_planned": fields.Datetime.now(), + "product_qty": 20, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 93.08, + } + ) + + cls.p10 = Product.create( + { + "name": "VERSICAN+ BBPi IN 10x1d", + "default_code": "10023409", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p10"}) + ], + } + ) + cls.line10 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p10.id, + "name": cls.p10.name, + "date_planned": fields.Datetime.now(), + "product_qty": 20, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 97.68, + } + ) + + cls.p11 = Product.create( + { + "name": "CONVENIA SOL INJ 10ml", + "default_code": "10007669", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p11"}) + ], + } + ) + cls.line11 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p11.id, + "name": cls.p11.name, + "date_planned": fields.Datetime.now(), + "product_qty": 120, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 150.27, + } + ) + + cls.p12 = Product.create( + { + "name": "WITNESS LH 6x1 TEST", + "default_code": "10012140", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p12"}) + ], + } + ) + cls.line12 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p12.id, + "name": cls.p12.name, + "date_planned": fields.Datetime.now(), + "product_qty": 1, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 134.32, + } + ) + + cls.p13 = Product.create( + { + "name": "WITNESS RELAXIN 5x1 TEST GESTATION", + "default_code": "10010958", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p13"}) + ], + } + ) + cls.line13 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p13.id, + "name": cls.p13.name, + "date_planned": fields.Datetime.now(), + "product_qty": 2, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 92.37, + } + ) + + cls.p14 = Product.create( + { + "name": "ACEGON 10x6ML", + "default_code": "10010146", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p14"}) + ], + } + ) + cls.line14 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p14.id, + "name": cls.p14.name, + "date_planned": fields.Datetime.now(), + "product_qty": 4, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 99.13, + } + ) + + cls.p15 = Product.create( + { + "name": "EQUEST GEL ORAL 700kg", + "default_code": "10009831", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p15"}) + ], + } + ) + cls.line15 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p15.id, + "name": cls.p15.name, + "date_planned": fields.Datetime.now(), + "product_qty": 480, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 16.62, + } + ) + + cls.p16 = Product.create( + { + "name": "WITNESS GIARDIA 5 TESTS", + "default_code": "10009407", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p16"}) + ], + } + ) + cls.line16 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p16.id, + "name": cls.p16.name, + "date_planned": fields.Datetime.now(), + "product_qty": 1, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 58.12, + } + ) + + cls.p17 = Product.create( + { + "name": "CATMINTH PATE SERINGUE 3GR", + "default_code": "10003022", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p17"}) + ], + } + ) + cls.line17 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p17.id, + "name": cls.p17.name, + "date_planned": fields.Datetime.now(), + "product_qty": 400, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 6.07, + } + ) + + cls.p18 = Product.create( + { + "name": "FENDOV 1250 12 BOLI", + "default_code": "10006920", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p18"}) + ], + } + ) + cls.line18 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p18.id, + "name": cls.p18.name, + "date_planned": fields.Datetime.now(), + "product_qty": 30, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 232.56, + } + ) + + cls.p19 = Product.create( + { + "name": "FEVAXYN PENTOFEL 10X1D", + "default_code": "10004344", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p19"}) + ], + } + ) + cls.line19 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p19.id, + "name": cls.p19.name, + "date_planned": fields.Datetime.now(), + "product_qty": 160, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 164.05, + } + ) + + cls.p20 = Product.create( + { + "name": "VANGUARD CPV-LEPTO 25x1D", + "default_code": "10001455", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p20"}) + ], + } + ) + cls.line20 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p20.id, + "name": cls.p20.name, + "date_planned": fields.Datetime.now(), + "product_qty": 5, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 88.73, + } + ) + + cls.p21 = Product.create( + { + "name": "VANGUARD DA2PI-CPV-LEPTO 25x1D (7)", + "default_code": "10001457", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p21"}) + ], + } + ) + cls.line21 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p21.id, + "name": cls.p21.name, + "date_planned": fields.Datetime.now(), + "product_qty": 30, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 123.60, + } + ) + + cls.p22 = Product.create( + { + "name": "VANGUARD LEPTO 25x1D", + "default_code": "10001459", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p22"}) + ], + } + ) + cls.line22 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p22.id, + "name": cls.p22.name, + "date_planned": fields.Datetime.now(), + "product_qty": 10, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 37.79, + } + ) + + cls.p23 = Product.create( + { + "name": "VERSICAN+ DHPPI 25x1d", + "default_code": "10011717", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p23"}) + ], + } + ) + cls.line23 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p23.id, + "name": cls.p23.name, + "date_planned": fields.Datetime.now(), + "product_qty": 30, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 94.93, + } + ) + + cls.p24 = Product.create( + { + "name": "VERSICAN+ DHPPI/L4 25x1d", + "default_code": "10011718", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p24"}) + ], + } + ) + cls.line24 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p24.id, + "name": cls.p24.name, + "date_planned": fields.Datetime.now(), + "product_qty": 200, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 156.90, + } + ) + + cls.p25 = Product.create( + { + "name": "VERSICAN+ L4 25x1d", + "default_code": "10011728", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p25"}) + ], + } + ) + cls.line25 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p25.id, + "name": cls.p25.name, + "date_planned": fields.Datetime.now(), + "product_qty": 60, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 65.41, + } + ) + + cls.p26 = Product.create( + { + "name": "VERSICAN+ PI 25x1d", + "default_code": "10011736", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p26"}) + ], + } + ) + cls.line26 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p26.id, + "name": cls.p26.name, + "date_planned": fields.Datetime.now(), + "product_qty": 40, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 53.73, + } + ) + + cls.p27 = Product.create( + { + "name": "VERSIFEL FELV 25x1d", + "default_code": "10009541", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p27"}) + ], + } + ) + cls.line27 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p27.id, + "name": cls.p27.name, + "date_planned": fields.Datetime.now(), + "product_qty": 15, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 277.55, + } + ) + + cls.p28 = Product.create( + { + "name": "VERSIGUARD RABIES 10x1d", + "default_code": "10016049", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p28"}) + ], + } + ) + cls.line28 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p28.id, + "name": cls.p28.name, + "date_planned": fields.Datetime.now(), + "product_qty": 30, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 24.14, + } + ) + + cls.p29 = Product.create( + { + "name": "WITNESS FELV-FIV 10x1 TEST", + "default_code": "10009061", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p29"}) + ], + } + ) + cls.line29 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p29.id, + "name": cls.p29.name, + "date_planned": fields.Datetime.now(), + "product_qty": 2, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 154.00, + } + ) + + cls.p30 = Product.create( + { + "name": "WITNESS FELV-FIV 5x1 TEST", + "default_code": "10006252", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p30"}) + ], + } + ) + cls.line30 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p30.id, + "name": cls.p30.name, + "date_planned": fields.Datetime.now(), + "product_qty": 2, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 80.87, + } + ) + cls.purchase_order.button_confirm() + cls.picking = cls.purchase_order.picking_ids + + cls.DespatchAdviceImport = cls.env["despatch.advice.import"] + + with file_open("despatch_advice_import_ubl/tests/files/do_mix1.xml", "rb") as f: + cls.despatch_advice_xml1 = f.read() + + with file_open("despatch_advice_import_ubl/tests/files/do_mix2.xml", "rb") as f: + cls.despatch_advice_xml2 = f.read() + + def test_despatch_advice_import(self): + + xml_content1 = self.despatch_advice_xml1.decode("utf-8").format( + order_id=self.purchase_order.name, + line_1_id=self.line1.id, + line_2_id=self.line2.id, + line_4_id=self.line4.id, + line_7_id=self.line7.id, + line_8_id=self.line8.id, + line_12_id=self.line12.id, + line_13_id=self.line13.id, + line_14_id=self.line14.id, + line_15_id=self.line15.id, + line_16_id=self.line16.id, + line_17_id=self.line17.id, + line_18_id=self.line18.id, + line_29_id=self.line29.id, + line_30_id=self.line30.id, + ) + + xml_encoded_doc1 = b64encode(xml_content1.encode("utf-8")) + despatch_import = self.DespatchAdviceImport.create( + {"document": xml_encoded_doc1, "filename": "do_mix1.xml"} + ) + despatch_import.process_document() + + po_moves = self.line21.move_ids.filtered( + lambda m: m.state not in ("cancel", "done") + ) + + self.assertTrue(po_moves) + + xml_content2 = self.despatch_advice_xml2.decode("utf-8").format( + picking_name="0810805774", + order_id=self.purchase_order.name, + line_3_id=self.line3.id, + line_6_id=self.line6.id, + line_9_id=self.line9.id, + line_10_id=self.line10.id, + line_11_id=self.line11.id, + line_19_id=self.line19.id, + line_20_id=self.line20.id, + line_21_id=self.line21.id, + line_22_id=self.line22.id, + line_23_id=self.line23.id, + line_24_id=self.line24.id, + line_25_id=self.line25.id, + line_26_id=self.line26.id, + line_27_id=self.line27.id, + line_28_id=self.line28.id, + ) + + xml_encoded_doc2 = b64encode(xml_content2.encode("utf-8")) + despatch_import = self.DespatchAdviceImport.create( + {"document": xml_encoded_doc2, "filename": "do_mix2.xml"} + ) + despatch_import.process_document() + + backorder = self.purchase_order.picking_ids.filtered(lambda p: p.backorder_id) + initial_pick = self.purchase_order.picking_ids.filtered( + lambda p: not p.backorder_id + ) + + self.assertEqual(len(backorder), 2) + self.assertEqual(len(initial_pick), 1) + + po_moves = self.line21.move_ids.filtered( + lambda m: m.state not in ("cancel", "done") + ) + + self.assertTrue(po_moves) + + move_for_backorder_pick2 = backorder.move_ids.filtered( + lambda m: m.product_id.id == self.p24.id + ) + + self.assertEqual(len(move_for_backorder_pick2), 2) diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/wizard/__init__.py b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/wizard/__init__.py new file mode 100644 index 0000000..ce838ad --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/wizard/__init__.py @@ -0,0 +1 @@ +from . import despatch_advice_import diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/wizard/despatch_advice_import.py b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/wizard/despatch_advice_import.py new file mode 100644 index 0000000..d8022d5 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/despatch_advice_import_ubl/wizard/despatch_advice_import.py @@ -0,0 +1,178 @@ +# Copyright 2020 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import logging + +from odoo import _, api, models +from odoo.exceptions import UserError + +logger = logging.getLogger(__name__) + + +class DespatchAdviceImport(models.TransientModel): + + _name = "despatch.advice.import" + _inherit = ["despatch.advice.import", "base.ubl"] + + @api.model + def parse_xml_despatch_advice(self, xml_root): + start_tag = "{urn:oasis:names:specification:ubl:schema:xsd:" + if xml_root.tag == start_tag + "DespatchAdvice-2}DespatchAdvice": + return self.parse_ubl_despatch_advice(xml_root) + else: + return super(DespatchAdviceImport, self).parse_xml_despatch_advice(xml_root) + + @api.model + def parse_ubl_despatch_advice(self, xml_root): + ns = xml_root.nsmap + # Get main xmlns + if None in ns: + main_xmlns = ns.pop(None) + else: + main_xmlns = ns.pop("DespatchAdvice") + ns["main"] = main_xmlns + date_el = xml_root.xpath("/main:DespatchAdvice/cbc:IssueDate", namespaces=ns) + estimated_delivery_date_el = xml_root.xpath( + "/main:DespatchAdvice/cac:Shipment/cac:Delivery/" + "cac:EstimatedDeliveryPeriod/cbc:EndDate", + namespaces=ns, + ) + order_id_el = xml_root.xpath("/main:DespatchAdvice/cbc:ID", namespaces=ns) + order_reference_el = xml_root.xpath( + "/main:DespatchAdvice/cac:OrderReference/cbc:ID", namespaces=ns + ) + + despatch_advice_type_code_el = xml_root.xpath( + "/main:DespatchAdvice/cbc:DespatchAdviceTypeCode", namespaces=ns + ) + + supplier_el = xml_root.xpath( + "/main:DespatchAdvice/cac:DespatchSupplierParty/cac:Party", namespaces=ns + ) + # We only take the "official references" for supplier_dict + supplier_dict = self.ubl_parse_party(supplier_el[0], ns) + supplier_dict = { + "vat": supplier_dict.get("vat"), + } + customer_el = xml_root.xpath( + "/main:DespatchAdvice/cac:DeliveryCustomerParty/cac:Party", namespaces=ns + ) + customer_dict = self.ubl_parse_party(customer_el[0], ns) + + customer_dict = {"vat": customer_dict.get("vat")} + lines_el = xml_root.xpath( + "/main:DespatchAdvice/cac:DespatchLine", namespaces=ns + ) + res_lines = [] + for line in lines_el: + res_lines.append(self.parse_ubl_despatch_advice_line(line, ns)) + res = { + "id": order_id_el[0].text if order_id_el else "", + "ref": order_reference_el[0].text if order_reference_el else "", + "supplier": supplier_dict, + "company": customer_dict, + "despatch_advice_type_code": ( + despatch_advice_type_code_el[0].text + if len(despatch_advice_type_code_el) > 0 + else "" + ), + "date": len(date_el) and date_el[0].text, + "estimated_delivery_date": len(estimated_delivery_date_el) + and estimated_delivery_date_el[0].text, + "lines": res_lines, + } + return res + + @api.model + def parse_ubl_despatch_advice_line(self, line, ns): + line_id_el = line.xpath("cbc:ID", namespaces=ns) + qty_el = line.xpath("cbc:DeliveredQuantity", namespaces=ns) + qty = float(qty_el[0].text) + backorder_qty_el = line.xpath("cbc:OutstandingQuantity", namespaces=ns) + backorder_qty = None + if backorder_qty_el and len(backorder_qty_el): + backorder_qty = float(backorder_qty_el[0].text) + else: + backorder_qty = 0 + + product_ref_el = line.xpath( + "cac:Item/cac:SellersItemIdentification/cbc:ID", namespaces=ns + ) + + if len(product_ref_el) == 0: + product_ref_el = line.xpath( + "cac:Item/cac:BuyersItemIdentification/cbc:ID", namespaces=ns + ) + + product_lot_el = line.xpath( + "cac:Item/cac:ItemInstance/cac:LotIdentification/cbc:LotNumberID", + namespaces=ns, + ) + order_reference_el = line.xpath( + "cac:OrderLineReference/cac:OrderReference/cbc:ID", namespaces=ns + ) + + order_line_id_el = line.xpath( + "cac:OrderLineReference/cbc:LineID", namespaces=ns + ) + + if not order_line_id_el: + raise UserError(_("Missing line ID in the Despatch Advice.")) + + res_line = { + "line_id": line_id_el[0].text, + "order_line_id": order_line_id_el[0].text, + "ref": order_reference_el[0].text if order_reference_el else "", + "qty": qty, + "product_ref": product_ref_el[0].text, + "product_lot": product_lot_el[0].text if product_lot_el else "", + "uom": {"unece_code": qty_el[0].attrib.get("unitCode")}, + "backorder_qty": backorder_qty, + } + + package_id_el = line.xpath( + "cac:Shipment/cac:TransportHandlingUnit/cac:ActualPackage/cbc:ID", + namespaces=ns, + ) + package_type_el = line.xpath( + "cac:Shipment/cac:TransportHandlingUnit/cbc:TransportHandlingUnitTypeCode", + namespaces=ns, + ) + package_weight_el = line.xpath( + "cac:Shipment/cac:GrossWeightMeasure/cbc:Measure", namespaces=ns + ) + if package_id_el or package_type_el: + res_line["package"] = { + "name": package_id_el[0].text if package_id_el else "", + "type": package_type_el[0].text if package_type_el else "", + "weight": package_weight_el[0].text if package_weight_el else "", + } + + defaults = self.env.context.get("despatch_advice_import__default_vals", {}).get( + "lines", {} + ) + res_line.update(defaults) + return res_line + + @api.model + def ubl_parse_party(self, party_node, ns): + partner_name_el = party_node.xpath("cac:PartyName/cbc:Name", namespaces=ns) + if not partner_name_el: + partner_name_el = party_node.xpath( + "cac:PartyLegalEntity/cbc:RegistrationName", namespaces=ns + ) + + vat_el = party_node.xpath("cac:PartyIdentification/cbc:ID", namespaces=ns) + partner_dict = { + "vat": ( + vat_el[0].text + if vat_el and vat_el[0].attrib.get("schemeName").upper() + else False + ), + "name": partner_name_el[0].text, + } + address_el = party_node.xpath("cac:PostalAddress", namespaces=ns) + if address_el: + address_dict = self.ubl_parse_address(address_el[0], ns) + partner_dict.update(address_dict) + return partner_dict diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/ARCHITECTURE.md new file mode 100644 index 0000000..28ed71d --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Despatch_advice_import_ubl Module - despatch_advice_import_ubl + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/CONFIGURATION.md new file mode 100644 index 0000000..cc3e361 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for despatch_advice_import_ubl. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/DEPENDENCIES.md new file mode 100644 index 0000000..900e9e1 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/DEPENDENCIES.md @@ -0,0 +1,6 @@ +# Dependencies + +This addon depends on: + +- [despatch_advice_import](../../odoo-bringout-oca-edi-framework-despatch_advice_import) +- [base_ubl](../../odoo-bringout-oca-edi-framework-base_ubl) diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/FAQ.md b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/FAQ.md new file mode 100644 index 0000000..637c9c3 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon despatch_advice_import_ubl or install in UI. diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/INSTALL.md b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/INSTALL.md new file mode 100644 index 0000000..a0268a0 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-despatch_advice_import_ubl" +# or +uv pip install odoo-bringout-oca-edi-despatch_advice_import_ubl" +``` diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/MODELS.md b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/MODELS.md new file mode 100644 index 0000000..2dcad49 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/MODELS.md @@ -0,0 +1,11 @@ +# Models + +Detected core models and extensions in despatch_advice_import_ubl. + +```mermaid +classDiagram +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/OVERVIEW.md b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/OVERVIEW.md new file mode 100644 index 0000000..8e630c7 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: despatch_advice_import_ubl. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon despatch_advice_import_ubl +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/REPORTS.md b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/SECURITY.md b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/USAGE.md b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/USAGE.md new file mode 100644 index 0000000..c9d62a7 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon despatch_advice_import_ubl +``` diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/WIZARDS.md b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/WIZARDS.md new file mode 100644 index 0000000..2a8e7d2 --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/doc/WIZARDS.md @@ -0,0 +1,8 @@ +# Wizards + +Transient models exposed as UI wizards in despatch_advice_import_ubl. + +```mermaid +classDiagram + class DespatchAdviceImport +``` diff --git a/odoo-bringout-oca-edi-despatch_advice_import_ubl/pyproject.toml b/odoo-bringout-oca-edi-despatch_advice_import_ubl/pyproject.toml new file mode 100644 index 0000000..816200e --- /dev/null +++ b/odoo-bringout-oca-edi-despatch_advice_import_ubl/pyproject.toml @@ -0,0 +1,44 @@ +[project] +name = "odoo-bringout-oca-edi-despatch_advice_import_ubl" +version = "16.0.0" +description = "Despatch Advice Import Ubl - + Import Despatch Advice files" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-despatch_advice_import>=16.0.0", + "odoo-bringout-oca-edi-base_ubl>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["despatch_advice_import_ubl"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/README.md b/odoo-bringout-oca-edi-framework-account_einvoice_generate/README.md new file mode 100644 index 0000000..f471687 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/README.md @@ -0,0 +1,44 @@ +# Account e-invoice Generate + +Odoo addon: account_einvoice_generate + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-account_einvoice_generate +``` + +## Dependencies + +This addon depends on: +- account + +## Manifest Information + +- **Name**: Account e-invoice Generate +- **Version**: 16.0.1.1.0 +- **Category**: Accounting & Finance +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `account_einvoice_generate`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/README.rst b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/README.rst new file mode 100644 index 0000000..cc17f9b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/README.rst @@ -0,0 +1,108 @@ +========================== +Account e-invoice Generate +========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:7d46d7a31c358dee3280b20b510f7eff3b7bbda3ca7629a5c3fa0ac20ba4fd22 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/account_einvoice_generate + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_einvoice_generate + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This is a technical module that ensure compatibility between the e-invoice generation modules of the `OCA/edi project `_. It doesn't bring any feature by itself. You must also install one of the 2 OCA modules that generate electronic invoices: + +* **account_invoice_ubl**: add support for the UBL format (Universal Business Language), +* **account_invoice_facturx**: add support for the `Factur-X `_ format. + +See the README of each module for more information. + +These 2 modules are able to embed an XML file in the PDF invoice and +this module ensure that these 2 modules are compatible. + +**Table of contents** + +.. contents:: + :local: + +Installation +============ + +Before installing the module, you must **uninstall** the module **account_edi** from the official addons. As the account_edi module is auto-installable, it is certainly already installed on your Odoo database. + +For that, go to the *Apps* menu, remove the *Apps* filter, search for the module *account_edi* (the title of the module is *Import/Export Invoices From XML/PDF*). Then click on the button *Module info* and then on the button *Uninstall*. + +Configuration +============= + +The new configuration parameter *XML Format embedded in PDF invoice* +is available in the menu *Invoicing > Configuration > Settings*. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion +* Onestein + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre +* Andrea Stirpe +* Shine IT + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/__init__.py b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/__init__.py new file mode 100644 index 0000000..adc6207 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/__init__.py @@ -0,0 +1,4 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import models +from . import wizards diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/__manifest__.py b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/__manifest__.py new file mode 100644 index 0000000..48e2206 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2018-2022 Akretion France (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Account e-invoice Generate", + "version": "16.0.1.1.0", + "category": "Accounting & Finance", + "license": "AGPL-3", + "summary": "Technical module to generate PDF invoices with " "embedded XML file", + "author": "Akretion,Onestein,Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/edi", + "depends": ["account"], + "data": ["views/res_config_settings.xml"], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/account_e-invoice_generate.pot b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/account_e-invoice_generate.pot new file mode 100644 index 0000000..b5781de --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/account_e-invoice_generate.pot @@ -0,0 +1,57 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_e-invoice_generate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_e-invoice_generate +#: model_terms:ir.ui.view,arch_db:account_e-invoice_generate.view_account_config_settings +msgid "" +"Select Format\n" +" " +msgstr "" + +#. module: account_e-invoice_generate +#: model:ir.model,name:account_e-invoice_generate.model_res_company +msgid "Companies" +msgstr "" + +#. module: account_e-invoice_generate +#: model:ir.model,name:account_e-invoice_generate.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: account_e-invoice_generate +#: model_terms:ir.ui.view,arch_db:account_e-invoice_generate.view_account_config_settings +msgid "Electronic Invoices" +msgstr "" + +#. module: account_e-invoice_generate +#: model:ir.model,name:account_e-invoice_generate.model_account_move +msgid "Journal Entries" +msgstr "" + +#. module: account_e-invoice_generate +#: model:ir.model.fields.selection,name:account_e-invoice_generate.selection__res_company__xml_format_in_pdf_invoice__none +msgid "None" +msgstr "" + +#. module: account_e-invoice_generate +#: model_terms:ir.ui.view,arch_db:account_e-invoice_generate.view_account_config_settings +msgid "Select the format of your e-invoices." +msgstr "" + +#. module: account_e-invoice_generate +#: model:ir.model.fields,field_description:account_e-invoice_generate.field_res_company__xml_format_in_pdf_invoice +#: model:ir.model.fields,field_description:account_e-invoice_generate.field_res_config_settings__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/account_einvoice_generate.pot b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/account_einvoice_generate.pot new file mode 100644 index 0000000..e313e2c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/account_einvoice_generate.pot @@ -0,0 +1,57 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_einvoice_generate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "" +"Select Format\n" +" " +msgstr "" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_company +msgid "Companies" +msgstr "" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "Electronic Invoices" +msgstr "" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_einvoice_generate +#: model:ir.model.fields.selection,name:account_einvoice_generate.selection__res_company__xml_format_in_pdf_invoice__none +msgid "None" +msgstr "" + +#. module: account_einvoice_generate +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_company__xml_format_in_pdf_invoice +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_config_settings__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "XML format attached to your PDF customer invoices" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/bs.po b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/bs.po new file mode 100644 index 0000000..1191a39 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/bs.po @@ -0,0 +1,57 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_e-invoice_generate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_e-invoice_generate +#: model_terms:ir.ui.view,arch_db:account_e-invoice_generate.view_account_config_settings +msgid "" +"Select Format\n" +" " +msgstr "" + +#. module: account_e-invoice_generate +#: model:ir.model,name:account_e-invoice_generate.model_res_company +msgid "Companies" +msgstr "Kompanije" + +#. module: account_e-invoice_generate +#: model:ir.model,name:account_e-invoice_generate.model_res_config_settings +msgid "Config Settings" +msgstr "Postavke" + +#. module: account_e-invoice_generate +#: model_terms:ir.ui.view,arch_db:account_e-invoice_generate.view_account_config_settings +msgid "Electronic Invoices" +msgstr "Elektronički računi" + +#. module: account_e-invoice_generate +#: model:ir.model,name:account_e-invoice_generate.model_account_move +msgid "Journal Entries" +msgstr "Žurnal (finansijski nalozi)" + +#. module: account_e-invoice_generate +#: model:ir.model.fields.selection,name:account_e-invoice_generate.selection__res_company__xml_format_in_pdf_invoice__none +msgid "None" +msgstr "Ništa" + +#. module: account_e-invoice_generate +#: model_terms:ir.ui.view,arch_db:account_e-invoice_generate.view_account_config_settings +msgid "Select the format of your e-invoices." +msgstr "Izaberite format vaših e-faktura." + +#. module: account_e-invoice_generate +#: model:ir.model.fields,field_description:account_e-invoice_generate.field_res_company__xml_format_in_pdf_invoice +#: model:ir.model.fields,field_description:account_e-invoice_generate.field_res_config_settings__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "XML format ugnježđen u PDF račun" diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/es.po b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/es.po new file mode 100644 index 0000000..0ccfa44 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/es.po @@ -0,0 +1,66 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_einvoice_generate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-08-07 08:11+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "" +"Select Format\n" +" " +msgstr "" +"Seleccionar Formato\n" +" " + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_config_settings +msgid "Config Settings" +msgstr "Ajustes de Configuración" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "Electronic Invoices" +msgstr "Facturas electrónicas" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_account_move +msgid "Journal Entry" +msgstr "Entrada Diaria" + +#. module: account_einvoice_generate +#: model:ir.model.fields.selection,name:account_einvoice_generate.selection__res_company__xml_format_in_pdf_invoice__none +msgid "None" +msgstr "Ninguno/a" + +#. module: account_einvoice_generate +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_company__xml_format_in_pdf_invoice +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_config_settings__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "Formato XML integrado en factura PDF" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "XML format attached to your PDF customer invoices" +msgstr "Formato XML adjunto a sus facturas de clientes en PDF" diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/fr.po b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/fr.po new file mode 100644 index 0000000..8601aa6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/fr.po @@ -0,0 +1,66 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_einvoice_generate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-06-27 19:08+0000\n" +"Last-Translator: Alexis de Lattre \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "" +"Select Format\n" +" " +msgstr "" +"Sélectionner le format\n" +" " + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_company +msgid "Companies" +msgstr "Sociétés" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_config_settings +msgid "Config Settings" +msgstr "Configuration" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "Electronic Invoices" +msgstr "Factures électroniques" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_account_move +msgid "Journal Entry" +msgstr "Pièce comptable" + +#. module: account_einvoice_generate +#: model:ir.model.fields.selection,name:account_einvoice_generate.selection__res_company__xml_format_in_pdf_invoice__none +msgid "None" +msgstr "Aucun" + +#. module: account_einvoice_generate +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_company__xml_format_in_pdf_invoice +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_config_settings__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "Format XML embarqué dans la facture PDF" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "XML format attached to your PDF customer invoices" +msgstr "Format XML embarqué à l'intérieur de vos factures clients PDF" diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/hr.po b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/hr.po new file mode 100644 index 0000000..461302b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/hr.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_e-invoice_generate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-11-14 16:34+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 3.8\n" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +#, fuzzy +msgid "" +"Select Format\n" +" " +msgstr "" +"" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_company +msgid "Companies" +msgstr "Tvrtke" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_config_settings +msgid "Config Settings" +msgstr "Postavke" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "Electronic Invoices" +msgstr "Elektronički računi" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_einvoice_generate +#: model:ir.model.fields.selection,name:account_einvoice_generate.selection__res_company__xml_format_in_pdf_invoice__none +msgid "None" +msgstr "Ništa" + +#. module: account_einvoice_generate +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_company__xml_format_in_pdf_invoice +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_config_settings__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "XML format ugnježđen u PDF račun" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "XML format attached to your PDF customer invoices" +msgstr "" + +#~ msgid "Select the format of your e-invoices." +#~ msgstr "Odaberite format za vaše elektroničke račune." + +#~ msgid "Format" +#~ msgstr "Format" + +#~ msgid "Invoice" +#~ msgstr "Račun" + +#~ msgid "Select Format" +#~ msgstr "Odabir formata" + +#~ msgid "Universal Business Language (UBL)" +#~ msgstr "Universal Business Language (UBL)" diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/it.po b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/it.po new file mode 100644 index 0000000..92c6c18 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/i18n/it.po @@ -0,0 +1,64 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_einvoice_generate +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-29 12:37+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "" +"Select Format\n" +" " +msgstr "" +"Seleziona formato\n" +" " + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_company +msgid "Companies" +msgstr "Aziende" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_res_config_settings +msgid "Config Settings" +msgstr "Impostazioni configurazione" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "Electronic Invoices" +msgstr "Fatture elettroniche" + +#. module: account_einvoice_generate +#: model:ir.model,name:account_einvoice_generate.model_account_move +msgid "Journal Entry" +msgstr "Registrazione contabile" + +#. module: account_einvoice_generate +#: model:ir.model.fields.selection,name:account_einvoice_generate.selection__res_company__xml_format_in_pdf_invoice__none +msgid "None" +msgstr "Nessuna" + +#. module: account_einvoice_generate +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_company__xml_format_in_pdf_invoice +#: model:ir.model.fields,field_description:account_einvoice_generate.field_res_config_settings__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "Formato XML incorporato nella fattura PDF" + +#. module: account_einvoice_generate +#: model_terms:ir.ui.view,arch_db:account_einvoice_generate.view_account_config_settings +msgid "XML format attached to your PDF customer invoices" +msgstr "Formato XML allegato alla tua fattura PDF" diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/models/__init__.py b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/models/__init__.py new file mode 100644 index 0000000..500c05e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/models/__init__.py @@ -0,0 +1,4 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import res_company +from . import account_move diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/models/account_move.py b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/models/account_move.py new file mode 100644 index 0000000..6d2658b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/models/account_move.py @@ -0,0 +1,49 @@ +# Copyright 2018-2022 Akretion France +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, models + + +class AccountMove(models.Model): + _inherit = "account.move" + + def get_payment_identifier(self): + """This method is designed to be inherited in localization modules""" + self.ensure_one() + return self.payment_reference + + @api.model + def _get_invoice_report_names(self): + return ["account.report_invoice", "account.report_invoice_with_payments"] + + def _xml_format_in_pdf_invoice(self): + """Returns the format if it is possible to generate the XML + Otherwize return False""" + self.ensure_one() + xml_format = self.company_id.xml_format_in_pdf_invoice + # I want to allow embedded XML even on draft invoice + # So I write here the conditions to be able to generate a valid XML + if ( + xml_format + and xml_format != "none" + and self.move_type in ("out_invoice", "out_refund") + and self.partner_id + and self.state != "cancel" + and self.invoice_line_ids.filtered(lambda x: x.display_type == "product") + ): + return xml_format + else: + return False + + def _get_unece_due_date_type_code(self): + """account.tax has a selection field 'tax_exigibility' with 2 possible values: + 'on_invoice' or 'on_payment'. + As a consequence, tax exigibility is a property of the invoice line. + But, in real life (at least in France), tax exigibility is a property of the invoice, + not the invoice line! + This method is a hook to get the UNECE due date type code from the invoice instead + of the tax. If it returns None, Odoo will get it from the tax. + """ + self.ensure_one() + return None diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/models/res_company.py b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/models/res_company.py new file mode 100644 index 0000000..e8d1054 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/models/res_company.py @@ -0,0 +1,13 @@ +# Copyright 2018-2022 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ResCompany(models.Model): + _inherit = "res.company" + + xml_format_in_pdf_invoice = fields.Selection( + [("none", "None")], string="XML Format embedded in PDF invoice" + ) diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/readme/CONFIGURE.rst b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/readme/CONFIGURE.rst new file mode 100644 index 0000000..f3b8ba3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/readme/CONFIGURE.rst @@ -0,0 +1,2 @@ +The new configuration parameter *XML Format embedded in PDF invoice* +is available in the menu *Invoicing > Configuration > Settings*. diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..568930b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Alexis de Lattre +* Andrea Stirpe +* Shine IT diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/readme/DESCRIPTION.rst new file mode 100644 index 0000000..8340156 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/readme/DESCRIPTION.rst @@ -0,0 +1,9 @@ +This is a technical module that ensure compatibility between the e-invoice generation modules of the `OCA/edi project `_. It doesn't bring any feature by itself. You must also install one of the 2 OCA modules that generate electronic invoices: + +* **account_invoice_ubl**: add support for the UBL format (Universal Business Language), +* **account_invoice_facturx**: add support for the `Factur-X `_ format. + +See the README of each module for more information. + +These 2 modules are able to embed an XML file in the PDF invoice and +this module ensure that these 2 modules are compatible. diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/readme/INSTALL.rst b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/readme/INSTALL.rst new file mode 100644 index 0000000..3440031 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/readme/INSTALL.rst @@ -0,0 +1,3 @@ +Before installing the module, you must **uninstall** the module **account_edi** from the official addons. As the account_edi module is auto-installable, it is certainly already installed on your Odoo database. + +For that, go to the *Apps* menu, remove the *Apps* filter, search for the module *account_edi* (the title of the module is *Import/Export Invoices From XML/PDF*). Then click on the button *Module info* and then on the button *Uninstall*. diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/static/description/icon.png b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/static/description/index.html b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/static/description/index.html new file mode 100644 index 0000000..e440bcb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/static/description/index.html @@ -0,0 +1,447 @@ + + + + + +Account e-invoice Generate + + + +
    +

    Account e-invoice Generate

    + + +

    Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    This is a technical module that ensure compatibility between the e-invoice generation modules of the OCA/edi project. It doesn’t bring any feature by itself. You must also install one of the 2 OCA modules that generate electronic invoices:

    +
      +
    • account_invoice_ubl: add support for the UBL format (Universal Business Language),
    • +
    • account_invoice_facturx: add support for the Factur-X format.
    • +
    +

    See the README of each module for more information.

    +

    These 2 modules are able to embed an XML file in the PDF invoice and +this module ensure that these 2 modules are compatible.

    +

    Table of contents

    + +
    +

    Installation

    +

    Before installing the module, you must uninstall the module account_edi from the official addons. As the account_edi module is auto-installable, it is certainly already installed on your Odoo database.

    +

    For that, go to the Apps menu, remove the Apps filter, search for the module account_edi (the title of the module is Import/Export Invoices From XML/PDF). Then click on the button Module info and then on the button Uninstall.

    +
    +
    +

    Configuration

    +

    The new configuration parameter XML Format embedded in PDF invoice +is available in the menu Invoicing > Configuration > Settings.

    +
    +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Akretion
    • +
    • Onestein
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    + +Odoo Community Association + +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    alexis-via

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/tests/__init__.py b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/tests/__init__.py new file mode 100644 index 0000000..a242996 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_einvoice_generate diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/tests/test_einvoice_generate.py b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/tests/test_einvoice_generate.py new file mode 100644 index 0000000..42e21a6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/tests/test_einvoice_generate.py @@ -0,0 +1,17 @@ +# Copyright 2019-2022 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo.tests.common import TransactionCase + + +class TestEInvoiceGenerate(TransactionCase): + def test_config(self): + """Test configuration of Electronic Invoices.""" + conf = self.env["res.config.settings"].create( + {"xml_format_in_pdf_invoice": "none"} + ) + conf.execute() + self.assertTrue(self.env.company.xml_format_in_pdf_invoice) + conf.xml_format_in_pdf_invoice = False + conf.execute() + self.assertFalse(self.env.company.xml_format_in_pdf_invoice) diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/views/res_config_settings.xml b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/views/res_config_settings.xml new file mode 100644 index 0000000..ffe43f2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/views/res_config_settings.xml @@ -0,0 +1,38 @@ + + + + + res.config.settings + + + +

    Electronic Invoices

    +
    +
    +
    +
    + Select Format + +
    + XML format attached to your PDF customer invoices +
    +
    + +
    +
    +
    +
    + + + + diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/wizards/__init__.py b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/wizards/__init__.py new file mode 100644 index 0000000..0deb68c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/wizards/__init__.py @@ -0,0 +1 @@ +from . import res_config_settings diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/wizards/res_config_settings.py b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/wizards/res_config_settings.py new file mode 100644 index 0000000..bd9f17c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/account_einvoice_generate/wizards/res_config_settings.py @@ -0,0 +1,13 @@ +# Copyright 2018-2022 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + _inherit = "res.config.settings" + + xml_format_in_pdf_invoice = fields.Selection( + related="company_id.xml_format_in_pdf_invoice", readonly=False + ) diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/ARCHITECTURE.md new file mode 100644 index 0000000..fd750a8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Account_einvoice_generate Module - account_einvoice_generate + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/CONFIGURATION.md new file mode 100644 index 0000000..f4351ef --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for account_einvoice_generate. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/DEPENDENCIES.md new file mode 100644 index 0000000..99c6b28 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/DEPENDENCIES.md @@ -0,0 +1,5 @@ +# Dependencies + +This addon depends on: + +- [account](../../odoo-bringout-oca-ocb-account) diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/FAQ.md b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/FAQ.md new file mode 100644 index 0000000..0e63d16 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon account_einvoice_generate or install in UI. diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/INSTALL.md new file mode 100644 index 0000000..206094f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-account_einvoice_generate" +# or +uv pip install odoo-bringout-oca-edi-framework-account_einvoice_generate" +``` diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/MODELS.md b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/MODELS.md new file mode 100644 index 0000000..5bc239e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/MODELS.md @@ -0,0 +1,13 @@ +# Models + +Detected core models and extensions in account_einvoice_generate. + +```mermaid +classDiagram + class account_move + class res_company +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/OVERVIEW.md new file mode 100644 index 0000000..fe49c04 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: account_einvoice_generate. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon account_einvoice_generate +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/USAGE.md b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/USAGE.md new file mode 100644 index 0000000..3d49a99 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_einvoice_generate +``` diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-account_einvoice_generate/pyproject.toml b/odoo-bringout-oca-edi-framework-account_einvoice_generate/pyproject.toml new file mode 100644 index 0000000..8c43bbd --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_einvoice_generate/pyproject.toml @@ -0,0 +1,42 @@ +[project] +name = "odoo-bringout-oca-edi-framework-account_einvoice_generate" +version = "16.0.0" +description = "Account e-invoice Generate - Technical module to generate PDF invoices with embedded XML file" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-ocb-account>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["account_einvoice_generate"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/README.md b/odoo-bringout-oca-edi-framework-account_invoice_edifact/README.md new file mode 100644 index 0000000..40795c4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/README.md @@ -0,0 +1,46 @@ +# Account Invoice EDIFACT + +Odoo addon: account_invoice_edifact + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-account_invoice_edifact +``` + +## Dependencies + +This addon depends on: +- sale_management +- account +- base_edifact + +## Manifest Information + +- **Name**: Account Invoice EDIFACT +- **Version**: 16.0.1.0.0 +- **Category**: Invoicing Management +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `account_invoice_edifact`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/README.rst b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/README.rst new file mode 100644 index 0000000..3dff183 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/README.rst @@ -0,0 +1,93 @@ +======================= +Account Invoice EDIFACT +======================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:70d9ca517fbd902f6eb1d5b7a7e6b51be92f174ec45f39548e2972b519876286 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png + :target: https://odoo-community.org/page/development-status + :alt: Alpha +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/account_invoice_edifact + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_edifact + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +UN/EDIFACT + United Nations rules for Elec­tronic Data Interchange for Administration, Commerce and Transport + +This module will support exporting invoice in EDIFACT format. + +https://www.stedi.com/edi/edifact/D96A/messages/INVOIC + +.. IMPORTANT:: + This is an alpha version, the data model and design can change at any time without warning. + Only for development or testing purpose, do not use in production. + `More details on development status `_ + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Camptocamp + +Contributors +~~~~~~~~~~~~ + +* Thien (Vo Hong) + +Other credits +~~~~~~~~~~~~~ + +The development of this module has been financially supported by: + +* Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/__manifest__.py b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/__manifest__.py new file mode 100644 index 0000000..e1c7ec1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2023 Camptocamp +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) +{ + "name": "Account Invoice EDIFACT", + "summary": "Generate customer invoices with EDIFACT/D96A format", + "version": "16.0.1.0.0", + "development_status": "Alpha", + "category": "Invoicing Management", + "website": "https://github.com/OCA/edi", + "author": "Camptocamp, Odoo Community Association (OCA)", + "license": "AGPL-3", + "installable": True, + "depends": [ + "sale_management", + "account", + "base_edifact", + ], + "data": [], + "demo": [ + "demo/data_demo.xml", + ], +} diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/demo/data_demo.xml b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/demo/data_demo.xml new file mode 100644 index 0000000..c351362 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/demo/data_demo.xml @@ -0,0 +1,69 @@ + + + + Partner Name 1 + + + Street 1 + 1234 + City 1 + + + + Partner Name 2 + + Street 2 + 4321 + City 2 + + + delivery + + + Partner Name 3 + + Street 3 + 3214 + City 3 + + Accountant + + invoice + + + + + Edifact User + edifact_username + edifact_password + + + + + + 9780201379624 + + + + + 9780201379686 + + + + + 9780201379174 + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/i18n/account_invoice_edifact.pot b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/i18n/account_invoice_edifact.pot new file mode 100644 index 0000000..f4727f4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/i18n/account_invoice_edifact.pot @@ -0,0 +1,26 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_edifact +#: model:ir.model,name:account_invoice_edifact.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_edifact +#. odoo-python +#: code:addons/account_invoice_edifact/models/account_move.py:0 +#, python-format +msgid "Partner is not allowed to use the feature." +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/i18n/es.po b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/i18n/es.po new file mode 100644 index 0000000..9352a8e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/i18n/es.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-02-15 21:35+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_invoice_edifact +#: model:ir.model,name:account_invoice_edifact.model_account_move +msgid "Journal Entry" +msgstr "Entrada en Diario" + +#. module: account_invoice_edifact +#. odoo-python +#: code:addons/account_invoice_edifact/models/account_move.py:0 +#, python-format +msgid "Partner is not allowed to use the feature." +msgstr "El socio no puede utilizar esta función." diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/i18n/it.po b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/i18n/it.po new file mode 100644 index 0000000..a88341b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/i18n/it.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_invoice_edifact +#: model:ir.model,name:account_invoice_edifact.model_account_move +msgid "Journal Entry" +msgstr "Registrazione contabile" + +#. module: account_invoice_edifact +#. odoo-python +#: code:addons/account_invoice_edifact/models/account_move.py:0 +#, python-format +msgid "Partner is not allowed to use the feature." +msgstr "Il partner non è autorizzato ad utilizzare questa funzionalità." diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/models/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/models/__init__.py new file mode 100644 index 0000000..9c0a421 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/models/__init__.py @@ -0,0 +1 @@ +from . import account_move diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/models/account_move.py b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/models/account_move.py new file mode 100644 index 0000000..4cf820e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/models/account_move.py @@ -0,0 +1,328 @@ +# Copyright 2023 Camtocamp +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from datetime import datetime + +from odoo import _, models +from odoo.exceptions import UserError + + +class AccountMove(models.Model): + _inherit = "account.move" + + def edifact_invoice_generate_data(self): + self.ensure_one() + edifact_model = self.env["base.edifact"] + lines = [] + interchange = self._edifact_invoice_get_interchange() + + header = self._edifact_invoice_get_header() + product, vals = self._edifact_invoice_get_product() + summary = self._edifact_invoice_get_summary(vals) + lines += header + product + summary + for segment in lines: + interchange.add_segment(edifact_model.create_segment(*segment)) + return interchange.serialize() + + def _edifact_invoice_get_interchange(self): + id_number = self.env["res.partner.id_number"] + sender = id_number.search( + [("partner_id", "=", self.invoice_user_id.partner_id.id)], limit=1 + ) + recipient = id_number.search([("partner_id", "=", self.partner_id.id)], limit=1) + if not sender or not recipient: + raise UserError(_("Partner is not allowed to use the feature.")) + sender_edifact = [sender.name, "14"] + recipient_edifact = [recipient.name, "14"] + syntax_identifier = ["UNOC", "3"] + + return self.env["base.edifact"].create_interchange( + sender_edifact, recipient_edifact, self.id, syntax_identifier + ) + + def _edifact_invoice_get_address(self, partner): + # We apply the same logic as: + # https://github.com/OCA/edi/blob/ + # c41829a8d986c6751c07299807c808d15adbf4db/base_ubl/models/ubl.py#L39 + + # oca/partner-contact/partner_address_street3 is installed + if hasattr(partner, "street3"): + return partner.street3 or partner.street2 or partner.street + else: + return partner.street2 or partner.street + + def _edifact_invoice_get_buyer(self): + buyer = self.partner_id + street = self._edifact_invoice_get_address(buyer) + return [ + # Invoice information + ( + "NAD", + "IV", + [buyer.id, "", "92"], + "", + buyer.commercial_company_name, + [street, ""], + buyer.city, + "", + buyer.zip, + buyer.country_id.code, + ), + # Internal customer number + ("RFF", ["IT", buyer.id]), + # Buyer information + ( + "NAD", + "BY", + [buyer.id, "", "92"], + "", + buyer.commercial_company_name, + [buyer.street, ""], + buyer.city, + "", + buyer.zip, + buyer.country_id.code, + ), + ("RFF", ["API", ""]), + ] + + def _edifact_invoice_get_seller(self): + id_number = self.env["res.partner.id_number"] + seller = self.invoice_user_id.partner_id + seller_id_number = id_number.search([("partner_id", "=", seller.id)], limit=1) + street = self._edifact_invoice_get_address(seller) + return [ + # Seller information + ( + "NAD", + "SE", + [seller_id_number.name, "", "92"], + "", + seller.commercial_company_name, + [street, ""], + seller.city, + "", + seller.zip, + seller.country_id.code, + ), + # VAT registration number + ("RFF", ["VA", seller.vat]), + # Government reference number + ("RFF", ["GN", seller.vat]), # TODO: Fix it + ] + + def _edifact_invoice_get_shipper(self): + id_number = self.env["res.partner.id_number"] + shipper = self.partner_shipping_id + shipper_id_number = id_number.search([("partner_id", "=", shipper.id)], limit=1) + return [ + # Delivery party Information + ( + "NAD", + "DP", + [shipper_id_number.name, "", "92"], + "", + shipper.commercial_company_name, + [shipper.street, ""], + shipper.city, + "", + shipper.zip, + shipper.country_id.code, + ), + ("RFF", ["API", ""]), + ] + + def _edifact_invoice_get_header(self): + source_orders = self.line_ids.sale_line_ids.order_id + today = datetime.now().date().strftime("%Y%m%d") + buyer = self.partner_id + + term_lines = self.invoice_payment_term_id.line_ids + discount_percentage, discount_days = ( + term_lines.discount_percentage, + term_lines.discount_days if len(term_lines) == 1 else 0, + ) + + header = [ + ("UNH", "1", ["INVOIC", "D", "96A", "UN", "EAN008"]), + # Commercial invoice + ("BGM", ["380", "", "", "Invoice"], self.payment_reference, "9"), + # 35: Delivery date/time, actual + ( + "DTM", + [ + "35", + max( + ( + picking.date_done.date().strftime("%Y%m%d") + for order in source_orders + for picking in order.picking_ids + if picking.date_done + ), + default="", + ), + "102", + ], + ), + # 11: Despatch date and/or time + ( + "DTM", + [ + "11", + min( + ( + order.commitment_date.date().strftime("%Y%m%d") + for order in source_orders + if order.commitment_date + ), + default="", + ), + "102", + ], + ), + # Document/message date/time + ("DTM", ["137", today, "102"]), + ("PAI", ["", "", "42"]), + # Regulatory information + ("FTX", "REG", "", "", ""), + # Payment detail/remittance information + ("FTX", "PMD", "", "", ""), + # Terms of payments + ("FTX", "AAB", "", "", "30 jours net"), + # Delivery note number + ("RFF", ["DQ", self.id]), + # Reference date/time + # TODO: fixed value for now, to be clarified + ("DTM", ["171", "99991231", "102"]), + # Reference currency + ("CUX", ["2", buyer.currency_id.name, "4"]), + # Rate of exchange + ("DTM", ["134", today, "102"]), + ("PAT", "3"), + # Terms net due date + ("DTM", ["13", self.invoice_date_due, "102"]), + # Discount terms + ( + "PAT", + "22", + "", + ["5", "3", "D", discount_days], + ), + # Discount percentage + ( + "PCD", + "12", + discount_percentage, + "13", + ), + # Penalty terms + # ("PAT", "20"), # TODO: check value this again later + # Penalty percentage + # ("PCD", "15", "0"), # TODO: check value this again later + # Allowance percentage + # ("PCD", "1", "0", "13"), # TODO: check value this again later + # Allowance or charge amount + # ("MOA", "8", "0"), # TODO: check value this again later + ] + header = ( + header[:11] + + self._edifact_invoice_get_buyer() + + self._edifact_invoice_get_seller() + + self._edifact_invoice_get_shipper() + + header[11:] + ) + return header + + def _edifact_invoice_get_product(self): + number = 0 + segments = [] + vals = {} + tax = {} + for line in self.line_ids: + if line.display_type != "product": + continue + order = line.sale_line_ids.order_id + number += 1 + product_tax = 0 + product = line.product_id + product_per_pack = line.product_uom_id._compute_quantity( + line.quantity, product.uom_id + ) + if line.tax_ids and line.tax_ids.amount_type == "percent": + product_tax = line.tax_ids.amount + if product_tax not in tax: + tax[product_tax] = line.price_total + else: + tax[product_tax] += line.price_total + product_seg = [ + # Line item number + ("LIN", number, "", ["", "EN"]), + # Product identification of supplier's article number + ("PIA", "5", [product.id, "SA", "", "91"]), + # Item description of product + ( + "IMD", + "ANM", + ["", "", "", product.product_tmpl_id.description_sale], + ), + # Invoiced quantity + ("QTY", "47", line.quantity, line.product_uom_id.name), + # Quantity per pack + ( + "QTY", + "52", + product_per_pack if product_per_pack else 1, + "PCE", + ), # TODO:check it again + # Pieces delivered + ("QTY", "46", line.sale_line_ids.qty_delivered), + # Line item amount + ("MOA", "203", line.price_total), + # Calculation net + ("PRI", ["AAA", round(line.price_total / line.quantity, 2)]), + ("PRI", ["AAB", round(line.price_total / line.quantity, 2)]), + # Order number of line item + ("RFF", ["ON", order.id]), + # Tax information + ( + "PRI", + "7", + "VAT", + "", + "", + ["", "", "", product_tax], + ), # TODO: check value this again later + # Allowance or charge amount of line item + ("MOA", ["8", "0"]), + ] + segments.extend(product_seg) + vals["tax"] = tax + vals["total_line_item"] = number + return segments, vals + + def _edifact_invoice_get_summary(self, vals): + tax_list = [] + total_line_item = vals["total_line_item"] + if "tax" in vals: + for product_tax, price_total in vals["tax"].items(): + # Tax Information + tax_list.append( + ("TAX", "7", "VAT", "", price_total, ["", "", "", product_tax]) + ) + # Tax amount + tax_list.append(("MOA", ["124", price_total * product_tax / 100])) + summary = [ + ("UNS", "S"), + # Number of line items in message + ("CNT", ["2", total_line_item]), + # Taxable amount + ("MOA", ["125", self.amount_untaxed]), + # Total amount + ("MOA", ["128", self.amount_total]), + # Tax amount + ("MOA", ["124", self.amount_tax]), + ("MOA", ["8", "0"]), + ("UNT", 33 + 11 * total_line_item + 2 * len(vals["tax"]), "1"), + ] + summary = summary[:-2] + tax_list + summary[-2:] + return summary diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..f30b46f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Thien (Vo Hong) \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/readme/CREDITS.rst b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/readme/CREDITS.rst new file mode 100644 index 0000000..f5cc070 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/readme/CREDITS.rst @@ -0,0 +1,3 @@ +The development of this module has been financially supported by: + +* Camptocamp diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/readme/DESCRIPTION.rst new file mode 100644 index 0000000..d7b231b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/readme/DESCRIPTION.rst @@ -0,0 +1,6 @@ +UN/EDIFACT + United Nations rules for Elec­tronic Data Interchange for Administration, Commerce and Transport + +This module will support exporting invoice in EDIFACT format. + +https://www.stedi.com/edi/edifact/D96A/messages/INVOIC \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/static/description/icon.png b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/static/description/index.html b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/static/description/index.html new file mode 100644 index 0000000..6f421f4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/static/description/index.html @@ -0,0 +1,440 @@ + + + + + + +Account Invoice EDIFACT + + + +
    +

    Account Invoice EDIFACT

    + + +

    Alpha License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +
    +
    UN/EDIFACT
    +
    United Nations rules for Elec­tronic Data Interchange for Administration, Commerce and Transport
    +
    +

    This module will support exporting invoice in EDIFACT format.

    +

    https://www.stedi.com/edi/edifact/D96A/messages/INVOIC

    +
    +

    Important

    +

    This is an alpha version, the data model and design can change at any time without warning. +Only for development or testing purpose, do not use in production. +More details on development status

    +
    +

    Table of contents

    + +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Camptocamp
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Other credits

    +

    The development of this module has been financially supported by:

    +
      +
    • Camptocamp
    • +
    +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    +Odoo Community Association +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/tests/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/tests/__init__.py new file mode 100644 index 0000000..f15da20 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/tests/__init__.py @@ -0,0 +1 @@ +from . import test_account_move diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/tests/test_account_move.py b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/tests/test_account_move.py new file mode 100644 index 0000000..4603649 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/account_invoice_edifact/tests/test_account_move.py @@ -0,0 +1,93 @@ +# Copyright 2023 Camptocamp +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.tests.common import TransactionCase + + +class TestEdifactInvoice(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + cls.base_edifact_model = cls.env["base.edifact"] + cls.company = cls.env.ref("base.main_company") + cls.product1 = cls.env.ref("product.product_product_4") + cls.product2 = cls.env.ref("product.product_product_1") + cls.invoice = cls.env["account.move"].create( + { + "company_id": cls.company.id, + "move_type": "out_invoice", + "partner_id": cls.env.ref( + "account_invoice_edifact.partner_edifact_invoiceto_dm" + ).id, + "partner_shipping_id": cls.env.ref( + "account_invoice_edifact.partner_edifact_shipto_dm" + ).id, + "invoice_user_id": cls.env.ref( + "account_invoice_edifact.user_edifact_sender_dm" + ).id, + "currency_id": cls.company.currency_id.id, + "invoice_line_ids": [ + ( + 0, + 0, + { + "product_id": cls.product1.id, + "product_uom_id": cls.product1.uom_id.id, + "quantity": 12, + "price_unit": 42.42, + }, + ), + ( + 0, + 0, + { + "product_id": cls.product2.id, + "product_uom_id": cls.product2.uom_id.id, + "quantity": 2, + "price_unit": 12.34, + }, + ), + ], + } + ) + cls.invoice.action_post() + + def test_edifact_invoice_generate_data(self): + edifact_data = self.invoice.edifact_invoice_generate_data() + self.assertTrue(edifact_data) + self.assertEqual(isinstance(edifact_data, str), True) + + def test_edifact_invoice_get_interchange(self): + interchange = self.invoice._edifact_invoice_get_interchange() + self.assertEqual(interchange.sender, ["9780201379624", "14"]) + self.assertEqual(interchange.recipient, ["9780201379174", "14"]) + self.assertEqual(interchange.syntax_identifier, ["UNOC", "3"]) + + def test_edifact_invoice_get_header(self): + segments = self.invoice._edifact_invoice_get_header() + seg = ("UNH", "1", ["INVOIC", "D", "96A", "UN", "EAN008"]) + self.assertEqual(segments[0], seg) + self.assertEqual(len(segments), 26) + + def test_edifact_invoice_get_product(self): + segments, vals = self.invoice._edifact_invoice_get_product() + self.assertEqual(len(segments), 24) + self.assertEqual(len(vals), 2) + + def test_edifact_invoice_get_summary(self): + vals = {"tax": {0: 533.72}, "total_line_item": 2} + segments = self.invoice._edifact_invoice_get_summary(vals) + self.assertEqual(len(segments), 9) + + def test_edifact_invoice_get_address(self): + partner = self.invoice.partner_id + if hasattr(partner, "street3"): + partner.street3 = "Address" + self.assertEqual( + self.invoice._edifact_invoice_get_address(partner), partner.street3 + ) + else: + self.assertEqual( + self.invoice._edifact_invoice_get_address(partner), partner.street + ) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/ARCHITECTURE.md new file mode 100644 index 0000000..516fa2d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Account_invoice_edifact Module - account_invoice_edifact + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/CONFIGURATION.md new file mode 100644 index 0000000..6b832b6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for account_invoice_edifact. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/DEPENDENCIES.md new file mode 100644 index 0000000..ae45eab --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/DEPENDENCIES.md @@ -0,0 +1,7 @@ +# Dependencies + +This addon depends on: + +- [sale_management](../../odoo-bringout-oca-ocb-sale_management) +- [account](../../odoo-bringout-oca-ocb-account) +- [base_edifact](../../odoo-bringout-oca-edi-base_edifact) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/FAQ.md b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/FAQ.md new file mode 100644 index 0000000..d87a782 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon account_invoice_edifact or install in UI. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/INSTALL.md new file mode 100644 index 0000000..a94960e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-account_invoice_edifact" +# or +uv pip install odoo-bringout-oca-edi-framework-account_invoice_edifact" +``` diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/MODELS.md b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/MODELS.md new file mode 100644 index 0000000..08ece9e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in account_invoice_edifact. + +```mermaid +classDiagram + class account_move +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/OVERVIEW.md new file mode 100644 index 0000000..0ff4561 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: account_invoice_edifact. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon account_invoice_edifact +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/USAGE.md b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/USAGE.md new file mode 100644 index 0000000..9f7f599 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_invoice_edifact +``` diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_edifact/pyproject.toml b/odoo-bringout-oca-edi-framework-account_invoice_edifact/pyproject.toml new file mode 100644 index 0000000..4009c78 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_edifact/pyproject.toml @@ -0,0 +1,44 @@ +[project] +name = "odoo-bringout-oca-edi-framework-account_invoice_edifact" +version = "16.0.0" +description = "Account Invoice EDIFACT - Generate customer invoices with EDIFACT/D96A format" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-framework-sale_management>=16.0.0", + "odoo-bringout-oca-ocb-account>=16.0.0", + "odoo-bringout-oca-edi-framework-base_edifact>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["account_invoice_edifact"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/README.md b/odoo-bringout-oca-edi-framework-account_invoice_export/README.md new file mode 100644 index 0000000..fae0bb8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/README.md @@ -0,0 +1,45 @@ +# Account Invoice Export + +Odoo addon: account_invoice_export + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-account_invoice_export +``` + +## Dependencies + +This addon depends on: +- account +- account_invoice_transmit_method + +## Manifest Information + +- **Name**: Account Invoice Export +- **Version**: 16.0.1.0.0 +- **Category**: Invoicing Management +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `account_invoice_export`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/README.rst b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/README.rst new file mode 100644 index 0000000..b2695ba --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/README.rst @@ -0,0 +1,97 @@ +====================== +Account Invoice Export +====================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:ded419ed17e642aaf14f71f78778c50e6480162d6931a6431f2574ffafa15adf + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/account_invoice_export + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_export + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +The goal of this module is to allow sending invoices in different format to external systems. + +It extends the module `account_invoice_transmit_method`, adding options to configure an url and credentials (Basic Authentication). +In the UI a new button `Send ebill` send the invoice pdf to the configure url. + +The actual sending of the invoice is manage by queue.job and the standard Odoo chatter on the invoice is used to inform the user on success/failure of the dispatch. + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Camptocamp SA + +Contributors +~~~~~~~~~~~~ + +* Thierry Ducrest +* Tam (Nguyen Duc) + +Other credits +~~~~~~~~~~~~~ + +The development of this module has been financially supported by: + +* Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-TDu| image:: https://github.com/TDu.png?size=40px + :target: https://github.com/TDu + :alt: TDu + +Current `maintainer `__: + +|maintainer-TDu| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/__manifest__.py b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/__manifest__.py new file mode 100644 index 0000000..e02c302 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2020 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +{ + "name": "Account Invoice Export", + "version": "16.0.1.0.0", + "category": "Invoicing Management", + "license": "AGPL-3", + "development_status": "Beta", + "summary": "", + "author": "Camptocamp SA, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/edi", + "depends": ["account", "account_invoice_transmit_method"], + "maintainers": ["TDu"], + "data": [ + "data/mail_activity_type.xml", + "views/transmit_method.xml", + "views/account_move.xml", + "views/message_template.xml", + ], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/data/mail_activity_type.xml b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/data/mail_activity_type.xml new file mode 100644 index 0000000..2497e57 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/data/mail_activity_type.xml @@ -0,0 +1,10 @@ + + + + Transmission Error + fa-warning + 0 + 99 + warning + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/i18n/account_invoice_export.pot b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/i18n/account_invoice_export.pot new file mode 100644 index 0000000..fc58939 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/i18n/account_invoice_export.pot @@ -0,0 +1,149 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_export +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_export +#: model:ir.model.fields,help:account_invoice_export.field_account_bank_statement_line__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_account_move__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_account_payment__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_transmit_method__send_through_http +msgid "Adds a Send eBill button on the invoice" +msgstr "" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "An error of type {} occured." +msgstr "" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.transmit_method_form +msgid "" +"By default the PDF of the invoice will be sent using the connection " +"parameters below (basic authenticaiton)." +msgstr "" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Ebill has already been sent. Are you sure you want to send it again ?" +msgstr "" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__send_through_http +msgid "Enable send eBill" +msgstr "" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.exception_sending_invoice +msgid "Error sending invoice to" +msgstr "" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "HTTP error {status_code} sending invoice to {method_name}" +msgstr "" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.transmit_method_form +msgid "" +"Handling specific connection needs and/or exporting other files can be done " +"through code." +msgstr "" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__invoice_export_confirmed +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__invoice_export_confirmed +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__invoice_export_confirmed +msgid "Invoice Export Confirmed" +msgstr "" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__invoice_exported +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__invoice_exported +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__invoice_exported +msgid "Invoice Exported" +msgstr "" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Invoice successfuly sent to {}" +msgstr "" + +#. module: account_invoice_export +#: model:ir.model,name:account_invoice_export.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Nothing done, invoice has already been exported before." +msgstr "" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_pwd +msgid "Password" +msgstr "" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Resend eBill" +msgstr "" + +#. module: account_invoice_export +#: model:ir.actions.server,name:account_invoice_export.action_send_ebill +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Send eBill" +msgstr "" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.exception_sending_invoice +msgid "The failed job has the uuid" +msgstr "" + +#. module: account_invoice_export +#: model:mail.activity.type,name:account_invoice_export.mail_activity_transmit_warning +msgid "Transmission Error" +msgstr "" + +#. module: account_invoice_export +#: model:ir.model,name:account_invoice_export.model_transmit_method +msgid "Transmit Method of a document" +msgstr "" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Transmit method is not configured to send through HTTP" +msgstr "" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_url +msgid "Url" +msgstr "" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_user +msgid "User" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/i18n/it.po b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/i18n/it.po new file mode 100644 index 0000000..60e3789 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/i18n/it.po @@ -0,0 +1,156 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_export +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-23 12:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: account_invoice_export +#: model:ir.model.fields,help:account_invoice_export.field_account_bank_statement_line__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_account_move__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_account_payment__send_through_http +#: model:ir.model.fields,help:account_invoice_export.field_transmit_method__send_through_http +msgid "Adds a Send eBill button on the invoice" +msgstr "Aggiunge un pulsante Invia e-fattura nella fattura" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "An error of type {} occured." +msgstr "Si è verificato un errore di tipo []." + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.transmit_method_form +msgid "" +"By default the PDF of the invoice will be sent using the connection " +"parameters below (basic authenticaiton)." +msgstr "" +"In modo predefinito il PDF della fattura verrà inviato utilizzando i " +"parametri di connessione sottostanti (autorizzazione base)." + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Ebill has already been sent. Are you sure you want to send it again ?" +msgstr "L'e-fattura è già stata inviata. Si è sicuri di rispedirla?" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__send_through_http +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__send_through_http +msgid "Enable send eBill" +msgstr "Abilita invio e-fattura" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.exception_sending_invoice +msgid "Error sending invoice to" +msgstr "Errore nell'invio della fattura a" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "HTTP error {status_code} sending invoice to {method_name}" +msgstr "Errore HTTP {status_code} nell'invio della fattura a {method_name}" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.transmit_method_form +msgid "" +"Handling specific connection needs and/or exporting other files can be done " +"through code." +msgstr "" +"La gestione di esigenze specifiche di connessione e/o l'esportazione di " +"altri file può essere fatta attraverso il codice." + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__invoice_export_confirmed +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__invoice_export_confirmed +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__invoice_export_confirmed +msgid "Invoice Export Confirmed" +msgstr "Esportazione fattura confermata" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__invoice_exported +#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__invoice_exported +#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__invoice_exported +msgid "Invoice Exported" +msgstr "Fattura esportata" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Invoice successfuly sent to {}" +msgstr "Fattura inviata con successo a {}" + +#. module: account_invoice_export +#: model:ir.model,name:account_invoice_export.model_account_move +msgid "Journal Entry" +msgstr "Registrazione contabile" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Nothing done, invoice has already been exported before." +msgstr "Nessuna attività, la fattura è già stata esportata in precedenza." + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_pwd +msgid "Password" +msgstr "Password" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Resend eBill" +msgstr "Reinvia e-fattura" + +#. module: account_invoice_export +#: model:ir.actions.server,name:account_invoice_export.action_send_ebill +#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form +msgid "Send eBill" +msgstr "Invia e-fattura" + +#. module: account_invoice_export +#: model_terms:ir.ui.view,arch_db:account_invoice_export.exception_sending_invoice +msgid "The failed job has the uuid" +msgstr "Il lavoro in errore ha uuid" + +#. module: account_invoice_export +#: model:mail.activity.type,name:account_invoice_export.mail_activity_transmit_warning +msgid "Transmission Error" +msgstr "Errore di trasmissione" + +#. module: account_invoice_export +#: model:ir.model,name:account_invoice_export.model_transmit_method +msgid "Transmit Method of a document" +msgstr "Metodo trasmissione di un documento" + +#. module: account_invoice_export +#. odoo-python +#: code:addons/account_invoice_export/models/account_move.py:0 +#, python-format +msgid "Transmit method is not configured to send through HTTP" +msgstr "Il metodo di trasmissione non è configurato per inviare attraverso HTTP" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_url +msgid "Url" +msgstr "URL" + +#. module: account_invoice_export +#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_user +msgid "User" +msgstr "Utente" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/models/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/models/__init__.py new file mode 100644 index 0000000..57a4a77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/models/__init__.py @@ -0,0 +1,2 @@ +from . import account_move +from . import transmit_method diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/models/account_move.py b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/models/account_move.py new file mode 100644 index 0000000..da76f65 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/models/account_move.py @@ -0,0 +1,121 @@ +# Copyright 2020 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +import requests + +import odoo +from odoo import _, fields, models +from odoo.exceptions import UserError, except_orm + + +class AccountMove(models.Model): + _inherit = "account.move" + + invoice_exported = fields.Boolean(copy=False) + # Usefull when the distant system does not validate the export synchronously + invoice_export_confirmed = fields.Boolean(copy=False) + send_through_http = fields.Boolean(related="transmit_method_id.send_through_http") + + def export_invoice(self): + resend_invoice = self.env.context.get("resend_ebill", False) + for invoice in self: + invoice._job_export_invoice(resend_invoice) + + def _job_export_invoice(self, resend_invoice=False): + """Export ebill to external server and update the chatter.""" + self.ensure_one() + if ( + not resend_invoice + and self.invoice_exported + and self.invoice_export_confirmed + ): + return _("Nothing done, invoice has already been exported before.") + try: + res = self._export_invoice() + except Exception as e: + values = { + "job_id": self.env.context.get("job_uuid"), + "error_detail": "", + "error_type": type(e).__name__, + "transmit_method_name": self.transmit_method_id.name, + } + if isinstance(e, except_orm): + values["error_detail"] = e.name + with odoo.api.Environment.manage(): + with odoo.registry(self.env.cr.dbname).cursor() as new_cr: + # Create a new environment with new cursor database + new_env = odoo.api.Environment( + new_cr, self.env.uid, self.env.context + ) + # The chatter of the invoice need to be updated, when the job fails + self.with_env(new_env).log_error_sending_invoice(values) + raise + self.log_success_sending_invoice() + return res + + def _export_invoice(self): + """Export electronic invoice to external service.""" + if not self.transmit_method_id.send_through_http: + raise UserError(_("Transmit method is not configured to send through HTTP")) + file_data = self._get_file_for_transmission_method() + headers = self.transmit_method_id.get_transmission_http_header() + url = self.transmit_method_id.get_transmission_url() + # TODO: Should be configurable as a parameter + res = requests.post(url, headers=headers, files=file_data, timeout=10) + if res.status_code != 200: + raise UserError( + _( + "HTTP error {status_code} sending invoice to {method_name}".format( + status_code=res.status_code, + method_name=self.transmit_method_id.name, + ) + ) + ) + self.invoice_exported = self.invoice_export_confirmed = True + return res.text + + def _get_file_for_transmission_method(self): + """Return the file description to send. + + Use the format expected by the request library + By default returns the PDF report. + """ + report = "account.report_invoice" + pdf, _ = self.env["ir.actions.report"]._render(report, [self.id]) + filename = self._get_report_base_filename().replace("/", "_") + ".pdf" + return {"file": (filename, pdf, "application/pdf")} + + def log_error_sending_invoice(self, values): + """Log an exception in invoice's chatter when sending fails. + + If an exception already exists it is update otherwise a new one + is created. + """ + activity_type = "account_invoice_export.mail_activity_transmit_warning" + activity = self.activity_reschedule( + [activity_type], date_deadline=fields.Date.today() + ) + if not activity: + template = "account_invoice_export.exception_sending_invoice" + message = self.env["ir.ui.view"]._render_template(template, values=values) + activity = self.activity_schedule( + activity_type, summary="Job error sending invoice", note=message + ) + error_log = values.get("error_detail") + if not error_log: + error_log = _("An error of type {} occured.").format( + values.get("error_type") + ) + activity.note += "

    {}

    ".format(error_log) + + def log_success_sending_invoice(self): + """Log success sending invoice and clear existing exception, if any.""" + self.activity_feedback( + ["account_invoice_export.mail_activity_transmit_warning"], + feedback="It worked on a later try", + ) + self.message_post( + body=_("Invoice successfuly sent to {}").format( + self.transmit_method_id.name + ) + ) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/models/transmit_method.py b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/models/transmit_method.py new file mode 100644 index 0000000..17bf568 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/models/transmit_method.py @@ -0,0 +1,36 @@ +# Copyright 2020 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +import base64 + +from odoo import fields, models + + +class TransmitMethod(models.Model): + _inherit = "transmit.method" + + send_through_http = fields.Boolean( + string="Enable send eBill", help="Adds a Send eBill button on the invoice" + ) + destination_url = fields.Char(string="Url") + destination_user = fields.Char(string="User", copy=False) + destination_pwd = fields.Char(string="Password", copy=False) + + def get_transmission_http_header(self): + """Generate the HTTP header needed by the transmission method. + + For now only basic authentication is implemented. + + """ + self.ensure_one() + auth = "{}:{}".format(self.destination_user or "", self.destination_pwd or "") + auth64 = base64.encodebytes(auth.encode("ascii"))[:-1] + return {"Authorization": "Basic " + auth64.decode("utf-8")} + + def get_transmission_url(self): + """Returns the base url used to export. + + Override it to add variable parameters. + """ + self.ensure_one() + return self.destination_url or "" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..f9d2e89 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Thierry Ducrest +* Tam (Nguyen Duc) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/readme/CREDITS.rst b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/readme/CREDITS.rst new file mode 100644 index 0000000..f5cc070 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/readme/CREDITS.rst @@ -0,0 +1,3 @@ +The development of this module has been financially supported by: + +* Camptocamp diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/readme/DESCRIPTION.rst new file mode 100644 index 0000000..d018b7c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/readme/DESCRIPTION.rst @@ -0,0 +1,6 @@ +The goal of this module is to allow sending invoices in different format to external systems. + +It extends the module `account_invoice_transmit_method`, adding options to configure an url and credentials (Basic Authentication). +In the UI a new button `Send ebill` send the invoice pdf to the configure url. + +The actual sending of the invoice is manage by queue.job and the standard Odoo chatter on the invoice is used to inform the user on success/failure of the dispatch. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/static/description/icon.png b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/static/description/index.html b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/static/description/index.html new file mode 100644 index 0000000..0e54fe1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/static/description/index.html @@ -0,0 +1,435 @@ + + + + + + +Account Invoice Export + + + +
    +

    Account Invoice Export

    + + +

    Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    The goal of this module is to allow sending invoices in different format to external systems.

    +

    It extends the module account_invoice_transmit_method, adding options to configure an url and credentials (Basic Authentication). +In the UI a new button Send ebill send the invoice pdf to the configure url.

    +

    The actual sending of the invoice is manage by queue.job and the standard Odoo chatter on the invoice is used to inform the user on success/failure of the dispatch.

    +

    Table of contents

    + +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Camptocamp SA
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Other credits

    +

    The development of this module has been financially supported by:

    +
      +
    • Camptocamp
    • +
    +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    +Odoo Community Association +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    TDu

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/tests/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/tests/__init__.py new file mode 100644 index 0000000..7d64b89 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/tests/__init__.py @@ -0,0 +1 @@ +from . import test_export_invoice diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/tests/common.py b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/tests/common.py new file mode 100644 index 0000000..b5cd614 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/tests/common.py @@ -0,0 +1,52 @@ +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) +from odoo.tests.common import TransactionCase + + +class CommonCase(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + cls.send_exception = cls.env.ref( + "account_invoice_export.mail_activity_transmit_warning" + ) + cls.transmit_method = cls.env["transmit.method"].create( + { + "name": "HttpPost", + "code": "httppost", + "customer_ok": True, + "send_through_http": True, + "destination_url": "https://example.com/post", + "destination_user": "user", + "destination_pwd": "pwd", + } + ) + cls.country = cls.env.ref("base.ch") + cls.customer = cls.env.ref("base.res_partner_1") + cls.account = cls.env["account.account"].search( + [("account_type", "=", "income"), ("company_id", "=", cls.env.company.id)], + limit=1, + ) + cls.product = cls.env.ref("product.product_product_1") + cls.invoice_1 = cls.env["account.move"].create( + { + "partner_id": cls.customer.id, + "move_type": "out_invoice", + "transmit_method_id": cls.transmit_method.id, + "invoice_line_ids": [ + ( + 0, + 0, + { + "account_id": cls.account.id, + "product_id": cls.product.product_variant_ids[:1].id, + "name": "Product 1", + "quantity": 4.0, + "price_unit": 123.00, + }, + ) + ], + } + ) + cls.invoice_1.action_post() diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/tests/test_export_invoice.py b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/tests/test_export_invoice.py new file mode 100644 index 0000000..b11e6e7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/tests/test_export_invoice.py @@ -0,0 +1,32 @@ +# Copyright 2020 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +from .common import CommonCase + + +class TestExportAcountInvoice(CommonCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + + def test_log_error_in_chatter(self): + values = { + "job_id": "13:123:123", + "send_error": 500, + "transmit_method_name": "SendMethod", + } + self.invoice_1.log_error_sending_invoice(values) + self.assertEqual(len(self.invoice_1.activity_ids), 1) + self.assertEqual( + self.invoice_1.activity_ids[0].activity_type_id, self.send_exception + ) + # Multiple error only one exception message + self.invoice_1.log_error_sending_invoice(values) + self.assertEqual(len(self.invoice_1.activity_ids), 1) + # At success exception messages are cleared + self.invoice_1.log_success_sending_invoice() + self.assertEqual(len(self.invoice_1.activity_ids), 0) + + def test_get_file_description(self): + res = self.invoice_1._get_file_for_transmission_method() + self.assertTrue(res["file"]) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/views/account_move.xml b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/views/account_move.xml new file mode 100644 index 0000000..587210c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/views/account_move.xml @@ -0,0 +1,56 @@ + + + + Account Invoice Export on Invoice form view + account.move + + + + + + + + + + + + account.move + + + + + + + + + Send eBill + + + code + + records.export_invoice() + + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/views/message_template.xml b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/views/message_template.xml new file mode 100644 index 0000000..b0d5bfd --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/views/message_template.xml @@ -0,0 +1,9 @@ + + + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/views/transmit_method.xml b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/views/transmit_method.xml new file mode 100644 index 0000000..d4cb8c1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/account_invoice_export/views/transmit_method.xml @@ -0,0 +1,44 @@ + + + + Transmit Method Form view Export + transmit.method + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/ARCHITECTURE.md new file mode 100644 index 0000000..44d82dd --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Account_invoice_export Module - account_invoice_export + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/CONFIGURATION.md new file mode 100644 index 0000000..608cb6d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for account_invoice_export. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/DEPENDENCIES.md new file mode 100644 index 0000000..24ac1f2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/DEPENDENCIES.md @@ -0,0 +1,6 @@ +# Dependencies + +This addon depends on: + +- [account](../../odoo-bringout-oca-ocb-account) +- [account_invoice_transmit_method](../../odoo-bringout-oca-account-invoicing-account_invoice_transmit_method) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/doc/FAQ.md b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/FAQ.md new file mode 100644 index 0000000..2eb18dc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon account_invoice_export or install in UI. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/INSTALL.md new file mode 100644 index 0000000..2dd1779 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-account_invoice_export" +# or +uv pip install odoo-bringout-oca-edi-framework-account_invoice_export" +``` diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/doc/MODELS.md b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/MODELS.md new file mode 100644 index 0000000..4b6cd83 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/MODELS.md @@ -0,0 +1,13 @@ +# Models + +Detected core models and extensions in account_invoice_export. + +```mermaid +classDiagram + class account_move + class transmit_method +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/OVERVIEW.md new file mode 100644 index 0000000..a08029a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: account_invoice_export. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon account_invoice_export +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/doc/USAGE.md b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/USAGE.md new file mode 100644 index 0000000..e16abad --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_invoice_export +``` diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export/pyproject.toml b/odoo-bringout-oca-edi-framework-account_invoice_export/pyproject.toml new file mode 100644 index 0000000..bac31fc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export/pyproject.toml @@ -0,0 +1,43 @@ +[project] +name = "odoo-bringout-oca-edi-framework-account_invoice_export" +version = "16.0.0" +description = "Account Invoice Export - " +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-ocb-account>=16.0.0", + "odoo-bringout-oca-edi-framework-account_invoice_transmit_method>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["account_invoice_export"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/README.md b/odoo-bringout-oca-edi-framework-account_invoice_export_job/README.md new file mode 100644 index 0000000..f503445 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/README.md @@ -0,0 +1,45 @@ +# Account Invoice Export Job + +Odoo addon: account_invoice_export_job + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-account_invoice_export_job +``` + +## Dependencies + +This addon depends on: +- account_invoice_export +- queue_job + +## Manifest Information + +- **Name**: Account Invoice Export Job +- **Version**: 16.0.1.0.0 +- **Category**: Invoicing Management +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `account_invoice_export_job`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/README.rst b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/README.rst new file mode 100644 index 0000000..9c97c43 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/README.rst @@ -0,0 +1,91 @@ +========================== +Account Invoice Export Job +========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:a2dc034f08dcc0eca1ef8cbf439bfb557516bfe334faad09b73be3b3bd5d3bb4 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/account_invoice_export_job + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_export_job + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module enables the use of the `queue_job` module with `account_invoice_export` + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Camptocamp SA + +Contributors +~~~~~~~~~~~~ + +* Thierry Ducrest + +Other credits +~~~~~~~~~~~~~ + +The development of this module has been financially supported by: + +* Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-TDu| image:: https://github.com/TDu.png?size=40px + :target: https://github.com/TDu + :alt: TDu + +Current `maintainer `__: + +|maintainer-TDu| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/__manifest__.py b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/__manifest__.py new file mode 100644 index 0000000..cfbbb74 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/__manifest__.py @@ -0,0 +1,19 @@ +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +{ + "name": "Account Invoice Export Job", + "version": "16.0.1.0.0", + "category": "Invoicing Management", + "license": "AGPL-3", + "summary": "", + "author": "Camptocamp SA, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/edi", + "depends": ["account_invoice_export", "queue_job"], + "maintainers": ["TDu"], + "data": [ + "data/queue_job_data.xml", + ], + "installable": True, + "auto_install": True, +} diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/data/queue_job_data.xml b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/data/queue_job_data.xml new file mode 100644 index 0000000..dd10a5b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/data/queue_job_data.xml @@ -0,0 +1,16 @@ + + + + invoice_export + + + + + _job_export_invoice + + + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/i18n/account_invoice_export_job.pot b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/i18n/account_invoice_export_job.pot new file mode 100644 index 0000000..7fed518 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/i18n/account_invoice_export_job.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_export_job +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_export_job +#: model:ir.model,name:account_invoice_export_job.model_account_move +msgid "Journal Entry" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/i18n/it.po b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/i18n/it.po new file mode 100644 index 0000000..e0a0b45 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/i18n/it.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_export_job +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-07-15 09:58+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: account_invoice_export_job +#: model:ir.model,name:account_invoice_export_job.model_account_move +msgid "Journal Entry" +msgstr "Registrazione contabile" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/models/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/models/__init__.py new file mode 100644 index 0000000..9c0a421 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/models/__init__.py @@ -0,0 +1 @@ +from . import account_move diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/models/account_move.py b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/models/account_move.py new file mode 100644 index 0000000..9548ea5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/models/account_move.py @@ -0,0 +1,32 @@ +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + + +from odoo import models + +from odoo.addons.queue_job.job import identity_exact + + +class AccountMove(models.Model): + _inherit = "account.move" + + def _job_export_invoice_job_options(self, resend_invoice=False): + description = "Export eBill to {}".format(self.transmit_method_id.name) + return { + "description": description, + "identity_key": identity_exact, + } + + def export_invoice(self): + with_context = self.with_context(auto_delay_export_invoice=True) + return super(AccountMove, with_context).export_invoice() + + def _register_hook(self): + """Patch export invoice to be automatically delayed as job.""" + mapping = {"_job_export_invoice": "auto_delay_export_invoice"} + for method_name, context_key in mapping.items(): + self._patch_method( + method_name, + self._patch_job_auto_delay(method_name, context_key=context_key), + ) + return super()._register_hook() diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..0dd376f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Thierry Ducrest diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/readme/CREDITS.rst b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/readme/CREDITS.rst new file mode 100644 index 0000000..f5cc070 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/readme/CREDITS.rst @@ -0,0 +1,3 @@ +The development of this module has been financially supported by: + +* Camptocamp diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/readme/DESCRIPTION.rst new file mode 100644 index 0000000..86b99c7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module enables the use of the `queue_job` module with `account_invoice_export` diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/static/description/icon.png b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/static/description/index.html b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/static/description/index.html new file mode 100644 index 0000000..feb8d98 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/static/description/index.html @@ -0,0 +1,431 @@ + + + + + + +Account Invoice Export Job + + + +
    +

    Account Invoice Export Job

    + + +

    Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    This module enables the use of the queue_job module with account_invoice_export

    +

    Table of contents

    + +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Camptocamp SA
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Other credits

    +

    The development of this module has been financially supported by:

    +
      +
    • Camptocamp
    • +
    +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    +Odoo Community Association +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    TDu

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/tests/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/tests/__init__.py new file mode 100644 index 0000000..2670ad7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/tests/__init__.py @@ -0,0 +1 @@ +from . import test_account_invoice_export_job diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/tests/test_account_invoice_export_job.py b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/tests/test_account_invoice_export_job.py new file mode 100644 index 0000000..e303c08 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/tests/test_account_invoice_export_job.py @@ -0,0 +1,33 @@ +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +from unittest.mock import MagicMock, patch + +from odoo.tests import tagged + +from odoo.addons.account_invoice_export.tests.common import CommonCase +from odoo.addons.queue_job.tests.common import mock_with_delay + + +@tagged("post_install", "-at_install") +class TestExportAcountInvoiceJob(CommonCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + + @patch("odoo.addons.account_invoice_export.models.account_move.requests") + def test_invoice_export_job_is_delayed(self, mock_requests): + """Check export invoice is run as a job.""" + method_name = "_job_export_invoice" + mock_response = MagicMock() + mock_response.status_code = 200 + mock_requests.post.return_value = mock_response + invoice = self.invoice_1.with_context(resend_ebill=True) + with mock_with_delay() as (delayable_cls, delayable): + invoice.export_invoice() + self.assertEqual(delayable_cls.call_count, 1) + delay_args, delay_kwargs = delayable_cls.call_args + self.assertEqual(delay_args, (self.invoice_1,)) + method = getattr(delayable, method_name) + self.assertEqual(method.call_count, 1) + self.assertEqual(delay_kwargs["description"], "Export eBill to HttpPost") diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/views/message_template.xml b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/views/message_template.xml new file mode 100644 index 0000000..b0d5bfd --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/account_invoice_export_job/views/message_template.xml @@ -0,0 +1,9 @@ + + + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/ARCHITECTURE.md new file mode 100644 index 0000000..3c944ea --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Account_invoice_export_job Module - account_invoice_export_job + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/CONFIGURATION.md new file mode 100644 index 0000000..2c5ba27 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for account_invoice_export_job. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/DEPENDENCIES.md new file mode 100644 index 0000000..40fffd9 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/DEPENDENCIES.md @@ -0,0 +1,6 @@ +# Dependencies + +This addon depends on: + +- [account_invoice_export](../../odoo-bringout-oca-edi-account_invoice_export) +- [queue_job](../../odoo-bringout-oca-queue-queue_job) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/FAQ.md b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/FAQ.md new file mode 100644 index 0000000..fb3b898 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon account_invoice_export_job or install in UI. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/INSTALL.md new file mode 100644 index 0000000..703c489 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-account_invoice_export_job" +# or +uv pip install odoo-bringout-oca-edi-framework-account_invoice_export_job" +``` diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/MODELS.md b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/MODELS.md new file mode 100644 index 0000000..b4aaa2a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in account_invoice_export_job. + +```mermaid +classDiagram + class account_move +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/OVERVIEW.md new file mode 100644 index 0000000..3557178 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: account_invoice_export_job. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon account_invoice_export_job +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/USAGE.md b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/USAGE.md new file mode 100644 index 0000000..9edeb1b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_invoice_export_job +``` diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_export_job/pyproject.toml b/odoo-bringout-oca-edi-framework-account_invoice_export_job/pyproject.toml new file mode 100644 index 0000000..69f01c0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_export_job/pyproject.toml @@ -0,0 +1,43 @@ +[project] +name = "odoo-bringout-oca-edi-framework-account_invoice_export_job" +version = "16.0.0" +description = "Account Invoice Export Job - " +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-framework-account_invoice_export>=16.0.0", + "odoo-bringout-oca-edi-framework-queue_job>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["account_invoice_export_job"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/README.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx/README.md new file mode 100644 index 0000000..7c61e08 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/README.md @@ -0,0 +1,47 @@ +# Account Invoice Factur-X + +Odoo addon: account_invoice_facturx + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-account_invoice_facturx +``` + +## Dependencies + +This addon depends on: +- account_einvoice_generate +- account_payment_partner +- base_facturx +- base_vat + +## Manifest Information + +- **Name**: Account Invoice Factur-X +- **Version**: 16.0.2.0.0 +- **Category**: Invoicing Management +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `account_invoice_facturx`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/README.rst b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/README.rst new file mode 100644 index 0000000..1b5b25e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/README.rst @@ -0,0 +1,108 @@ +======================== +Account Invoice Factur-X +======================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:3668b0b6e968fc509056743e8ed14c23e904d1a614837772256e73fe0684a434 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/account_invoice_facturx + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_facturx + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +With this module, the PDF customer invoices and refunds generated by the Qweb reporting engine of Odoo will comply with the `Factur-X `__ standard. The Factur-X standard is an e-invoicing standard for France and Germany released on December 31st 2017. In Germany, it is also known as the `ZUGFeRD 2.0 `_ standard. This standard is based on `CII `_ (Cross-Industry Invoice) for electronic invoicing. The great idea of the ZUGFeRD/Factur-X standard is to embed an XML file inside the PDF invoice to carry structured information about the invoice. So, with a ZUGFeRD/Factur-X PDF invoice: + +* no need to change your habbits and those of your customers: you can still send your PDF invoices by email as usual. +* customers equiped with a modern accouting software will be able to import the invoice automatically as supplier invoice by taking advantage of the embedded XML file, +* customers with an ancient accounting software will just open the PDF file with their PDF reader and manually encode the document as supplier invoice in their accounting software. + +**Table of contents** + +.. contents:: + :local: + +Installation +============ + +**WARNING**: there is an alternative implementation of Factur-X in the module **account_edi_ubl_cii** of the official addons. If both modules are installed, the XML embedded in the PDF is the XML generated by the module **account_edi_ubl_cii**. To avoid that, you need to uninstall the module **account_edi_ubl_cii**. + +This module requires a recent version of the Python library `factur-x `__ developped by Akretion. Note that the factur-x library depends on PyPDF2 for the low-level PDF manipulation. To install it, run: + +.. code:: + + pip3 install --upgrade factur-x + +Configuration +============= + +In the menu *Invoicing > Configuration > Settings*, check these options: + +* *XML Format embedded in PDF invoice*: if you want to generate Factur-X invoices, this option must be set to *Factur-X (CII)* +* the *Factur-X Level*: unless you have a good reason, you should keep the default value *EN 16931 (Comfort)* +* *Factur-X Refund Type*: choose the type of the XML invoice for customer refunds (keep the default value if you are not familiar with this setting). + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/__init__.py new file mode 100644 index 0000000..05ffd28 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/__init__.py @@ -0,0 +1,3 @@ +from . import models +from . import wizards +from .hooks import set_xml_format_in_pdf_invoice_to_facturx diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/__manifest__.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/__manifest__.py new file mode 100644 index 0000000..54a9d71 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/__manifest__.py @@ -0,0 +1,28 @@ +# Copyright 2016-2022 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Account Invoice Factur-X", + "version": "16.0.2.0.0", + "category": "Invoicing Management", + "license": "AGPL-3", + "summary": "Generate Factur-X/ZUGFeRD customer invoices", + "author": "Akretion,Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/edi", + "depends": [ + "account_einvoice_generate", + "account_payment_partner", + "base_facturx", + "base_vat", + ], + "external_dependencies": {"python": ["factur-x"]}, + "data": [ + "views/res_partner.xml", + "views/account_move.xml", + "views/res_config_settings.xml", + ], + "post_init_hook": "set_xml_format_in_pdf_invoice_to_facturx", + "installable": True, +} diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/hooks.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/hooks.py new file mode 100644 index 0000000..be71fda --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/hooks.py @@ -0,0 +1,13 @@ +# Copyright 2018-2022 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import SUPERUSER_ID, api + + +def set_xml_format_in_pdf_invoice_to_facturx(cr, registry): + env = api.Environment(cr, SUPERUSER_ID, {}) + companies = env["res.company"].search( + [("xml_format_in_pdf_invoice", "in", (False, "none"))] + ) + companies.write({"xml_format_in_pdf_invoice": "factur-x"}) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/account_invoice_factur-x.pot b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/account_invoice_factur-x.pot new file mode 100644 index 0000000..ba31ed5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/account_invoice_factur-x.pot @@ -0,0 +1,162 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:751 +#, python-format +msgid "%s: %s %s dated %s" +msgstr "" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_level:0 +msgid "Basic" +msgstr "" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_level:0 +msgid "Basic without lines" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model,name:account_invoice_factur-x.model_res_company +msgid "Companies" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:50 +#, python-format +msgid "Country is not set on partner '%s'. In the Factur-X standard, the country is required for buyer and seller." +msgstr "" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_level:0 +msgid "EN 16931 (Comfort)" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:750 +#, python-format +msgid "Factur-X" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.ui.view,arch_db:account_invoice_factur-x.view_account_config_settings +msgid "Factur-X Invoices" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_account_config_settings_facturx_level +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_res_company_facturx_level +msgid "Factur-X Level" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_res_company_facturx_logo +msgid "Factur-X Logo" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_account_config_settings_facturx_refund_type +#: model:ir.model.fields,field_description:account_invoice_factur-x.field_res_company_facturx_refund_type +msgid "Factur-X Refund Type" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:747 +#: model:ir.model,name:account_invoice_factur-x.model_account_invoice +#, python-format +msgid "Invoice" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,help:account_invoice_factur-x.field_res_company_facturx_logo +msgid "Logo to include in the visible part of Factur-X invoices" +msgstr "" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_level:0 +msgid "Minimum" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:374 +#: code:addons/account_invoice_factur-x/models/account_invoice.py:645 +#, python-format +msgid "Missing UNECE Tax Category on tax '%s'" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:371 +#: code:addons/account_invoice_factur-x/models/account_invoice.py:638 +#, python-format +msgid "Missing UNECE Tax Type on tax '%s'" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:444 +#, python-format +msgid "Missing UNECE code on payment export type '%s'" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:346 +#, python-format +msgid "No specific payment term selected" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:747 +#, python-format +msgid "Refund" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model,name:account_invoice_factur-x.model_report +msgid "Report" +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:555 +#, python-format +msgid "The Factur-X standard specify that unit prices can't be negative. The unit price of line '%s' is negative. You should generate a customer refund for that line." +msgstr "" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_refund_type:0 +msgid "Type 380 with negative amounts" +msgstr "" + +#. module: account_invoice_factur-x +#: selection:res.company,facturx_refund_type:0 +msgid "Type 381 with positive amounts" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model.fields,help:account_invoice_factur-x.field_account_config_settings_facturx_level +#: model:ir.model.fields,help:account_invoice_factur-x.field_res_company_facturx_level +msgid "Unless if you have a good reason, you should always select 'EN 16931 (Comfort)', which is the default value." +msgstr "" + +#. module: account_invoice_factur-x +#: code:addons/account_invoice_factur-x/models/account_invoice.py:290 +#, python-format +msgid "Wire transfer" +msgstr "" + +#. module: account_invoice_factur-x +#: model:ir.model,name:account_invoice_factur-x.model_account_config_settings +msgid "account.config.settings" +msgstr "" + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/account_invoice_facturx.pot b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/account_invoice_facturx.pot new file mode 100644 index 0000000..1ab3b4f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/account_invoice_facturx.pot @@ -0,0 +1,211 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_facturx +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "(no date)" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basic +msgid "Basic" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basicwl +msgid "Basic without lines" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_company +msgid "Companies" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Country is not set on partner '%s'. In the Factur-X standard, the country is" +" required for buyer and seller." +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Discount" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__en16931 +msgid "EN 16931 (Comfort)" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__extended +msgid "Extended" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Factur-X" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__xml_format_in_pdf_invoice__factur-x +msgid "Factur-X (CII)" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "Factur-X Level" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_logo +msgid "Factur-X Logo" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_refund_type +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_refund_type +msgid "Factur-X Refund Type" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Factur-X {invoice_type} {invoice_number} dated {invoice_date} issued by " +"{company_name}" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Invoice" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_logo +msgid "Logo to include in the visible part of Factur-X invoices" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__minimum +msgid "Minimum" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%s'" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%s'" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE code on payment method '%s'" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No invoice line label" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No specific payment term selected" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Refund" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_ir_actions_report +msgid "Report Action" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__380 +msgid "Type 380 with negative amounts" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__381 +msgid "Type 381 with positive amounts" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,help:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "" +"Unless if you have a good reason, you should always select 'EN 16931 " +"(Comfort)', which is the default value." +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Wire transfer" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "{company_name}: {invoice_type} {invoice_number} dated {invoice_date}" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/de.po b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/de.po new file mode 100644 index 0000000..8a5f5e2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/de.po @@ -0,0 +1,237 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-02-19 18:06+0000\n" +"Last-Translator: davidbeckercbl \n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "(no date)" +msgstr "(kein Datum)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basic +msgid "Basic" +msgstr "Standard" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basicwl +msgid "Basic without lines" +msgstr "Standard ohne Zeilen" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_company +msgid "Companies" +msgstr "Firmen" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_config_settings +msgid "Config Settings" +msgstr "Konfigurationseinstellungen" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Country is not set on partner '%s'. In the Factur-X standard, the country is " +"required for buyer and seller." +msgstr "" +"Das Land wurde für den Partner '%s' nicht gesetzt. Im Factur-X standard, ist " +"das Setzen des Landes für Käufer und Verkäufer zwingend erforderlich." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Discount" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__en16931 +msgid "EN 16931 (Comfort)" +msgstr "EN 16931 (Komfort)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__extended +msgid "Extended" +msgstr "Erweitert" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Factur-X" +msgstr "Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__xml_format_in_pdf_invoice__factur-x +msgid "Factur-X (CII)" +msgstr "Factur-X (CII)" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "Factur-X Level" +msgstr "Factur-X Ebene" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_logo +msgid "Factur-X Logo" +msgstr "Factur-X Logo" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_refund_type +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_refund_type +msgid "Factur-X Refund Type" +msgstr "Factur-X Erstattungstyp" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Factur-X {invoice_type} {invoice_number} dated {invoice_date} issued by " +"{company_name}" +msgstr "" +"Factur-X {invoice_type} {invoice_number} vom {invoice_date} ausgestellt von " +"{company_name}" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Invoice" +msgstr "Rechnung" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_account_move +msgid "Journal Entry" +msgstr "Journaleintrag" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_logo +msgid "Logo to include in the visible part of Factur-X invoices" +msgstr "Logo für den sichtbaren Teil der Factur-X Rechnungen" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__minimum +msgid "Minimum" +msgstr "Minimum" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%s'" +msgstr "Fehlende UNECE Steuerkategorie für Steuer '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%s'" +msgstr "Fehlende UNECE Steuerkategorie für Steuer '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE code on payment method '%s'" +msgstr "Fehlender UNECE-Code für Zahlungsmethode '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No invoice line label" +msgstr "" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No specific payment term selected" +msgstr "Keine spezifische Zahlungsbedingung ausgewählt" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Refund" +msgstr "Erstattung" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_ir_actions_report +msgid "Report Action" +msgstr "Berichtsaktion" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__380 +msgid "Type 380 with negative amounts" +msgstr "Typ 380 mit negativer Anzahl" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__381 +msgid "Type 381 with positive amounts" +msgstr "Typ 381 mit negativer Anzahl" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,help:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "" +"Unless if you have a good reason, you should always select 'EN 16931 " +"(Comfort)', which is the default value." +msgstr "" +"Sofern Sie keinen triftigen Grund haben, sollten Sie immer 'EN 16931 " +"(Comfort)' auswählen, was der Standardwert ist." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Wire transfer" +msgstr "Bargeldlose Bezahlung" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "XML-Format in PDF-Rechnung eingebettet" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "{company_name}: {invoice_type} {invoice_number} dated {invoice_date}" +msgstr "{company_name}: {invoice_type} {invoice_number} vom {invoice_date}" + +#, python-format +#~ msgid "" +#~ "The Factur-X standard specify that unit prices can't be negative. The " +#~ "unit price of line '%s' is negative. You should generate a customer " +#~ "refund for that line." +#~ msgstr "" +#~ "Der Factur-X Standard legt fest die Preise einer Einheit nicht negativ " +#~ "sein dürfen. Der Preis der Einheit '%s' ist jedoch negativ. Sie sollten " +#~ "eine Kundengutschrift für diese Verkaufsposition erstellen." + +#, python-format +#~ msgid "%s: %s %s dated %s" +#~ msgstr "%s: %s %s datiert %s" + +#~ msgid "Factur-X Invoices" +#~ msgstr "Factur-X Rechnungen" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/es.po b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/es.po new file mode 100644 index 0000000..9d818f3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/es.po @@ -0,0 +1,241 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x +# +# Translators: +# enjolras , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-05-15 07:39+0000\n" +"PO-Revision-Date: 2024-02-14 15:36+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "(no date)" +msgstr "(sin fecha)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basic +msgid "Basic" +msgstr "Básico" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basicwl +msgid "Basic without lines" +msgstr "Básico sin líneas" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_config_settings +msgid "Config Settings" +msgstr "Ajustes de Configuración" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Country is not set on partner '%s'. In the Factur-X standard, the country is " +"required for buyer and seller." +msgstr "" +"El país no está establecido en el socio '%s'. En el estándar Factur-X se " +"requiere el país para comprador y vendedor." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Discount" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__en16931 +msgid "EN 16931 (Comfort)" +msgstr "EN 16931 (Comfort)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__extended +msgid "Extended" +msgstr "Extendido" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Factur-X" +msgstr "Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__xml_format_in_pdf_invoice__factur-x +msgid "Factur-X (CII)" +msgstr "Factur-X (CII)" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "Factur-X Level" +msgstr "Nivel Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_logo +msgid "Factur-X Logo" +msgstr "Logotipo Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_refund_type +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_refund_type +msgid "Factur-X Refund Type" +msgstr "Tipo de reembolso Factur-X" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Factur-X {invoice_type} {invoice_number} dated {invoice_date} issued by " +"{company_name}" +msgstr "" +"Factur-X {invoice_type} {invoice_number} con fecha {invoice_date} emitida " +"por {company_name}" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Invoice" +msgstr "Factura" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_account_move +msgid "Journal Entry" +msgstr "Entrada diaria" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_logo +msgid "Logo to include in the visible part of Factur-X invoices" +msgstr "Logotipo para incluir en la parte visible de las facturas Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__minimum +msgid "Minimum" +msgstr "Mínimo" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%s'" +msgstr "Falta la categoría fiscal de la UNECE (CEPE) en el impuesto \"%s\"" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%s'" +msgstr "Falta el tipo de impuesto de la UNECE (CEPE) en el impuesto '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE code on payment method '%s'" +msgstr "Falta el código UNECE (CEPE) en el método de pago \"%s\"" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No invoice line label" +msgstr "Sin etiqueta de línea de factura" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No specific payment term selected" +msgstr "No se ha seleccionado ningún plazo de pago específico" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Refund" +msgstr "Reembolso" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_ir_actions_report +msgid "Report Action" +msgstr "Informar Acción" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__380 +msgid "Type 380 with negative amounts" +msgstr "Tipo 380 con cantidades negativas" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__381 +msgid "Type 381 with positive amounts" +msgstr "Tipo 381 con cantidades positivas" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,help:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "" +"Unless if you have a good reason, you should always select 'EN 16931 " +"(Comfort)', which is the default value." +msgstr "" +"A menos que tenga una buena razón, debería seleccionar siempre \"EN 16931 " +"(Confort)\", que es el valor por defecto." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Wire transfer" +msgstr "Transferencia bancaria" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "Formato XML integrado en factura PDF" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "{company_name}: {invoice_type} {invoice_number} dated {invoice_date}" +msgstr "" +"{company_name}: {invoice_type} {invoice_number} con fecha {invoice_date}" + +#, python-format +#~ msgid "" +#~ "The Factur-X standard specify that unit prices can't be negative. The " +#~ "unit price of line '%s' is negative. You should generate a customer " +#~ "refund for that line." +#~ msgstr "" +#~ "La norma Factur-X especifica que los precios unitarios no pueden ser " +#~ "negativos. El precio unitario de la línea '%s' es negativo. Debe generar " +#~ "un reembolso al cliente para esa línea." + +#, python-format +#~ msgid "%s: %s %s dated %s" +#~ msgstr "%s: %s %s fechado %s" + +#~ msgid "Factur-X Invoices" +#~ msgstr "Facturas Factur-X" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/fr.po b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/fr.po new file mode 100644 index 0000000..27ad29a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/fr.po @@ -0,0 +1,240 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x +# +# Translators: +# Quentin THEURET , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-29 11:54+0000\n" +"PO-Revision-Date: 2024-05-01 15:34+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "(no date)" +msgstr "(pas de date)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basic +msgid "Basic" +msgstr "Basique" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basicwl +msgid "Basic without lines" +msgstr "Basique sans ligne" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_company +msgid "Companies" +msgstr "Sociétés" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_config_settings +msgid "Config Settings" +msgstr "Configuration" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Country is not set on partner '%s'. In the Factur-X standard, the country is " +"required for buyer and seller." +msgstr "" +"Le pays n'est pas configuré sur le partenaire '%s'. Dans la norme Factur-X, " +"l'information du pays est obligatoire pour le vendeur et l'acheteur." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Discount" +msgstr "" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__en16931 +msgid "EN 16931 (Comfort)" +msgstr "EN 16931 (Confort)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__extended +msgid "Extended" +msgstr "Étendu" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Factur-X" +msgstr "Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__xml_format_in_pdf_invoice__factur-x +msgid "Factur-X (CII)" +msgstr "Factur-X (CII)" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "Factur-X Level" +msgstr "Niveau Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_logo +msgid "Factur-X Logo" +msgstr "Logo Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_refund_type +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_refund_type +msgid "Factur-X Refund Type" +msgstr "Type d'avoir Factur-X" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Factur-X {invoice_type} {invoice_number} dated {invoice_date} issued by " +"{company_name}" +msgstr "" +"Factur-X {invoice_type} {invoice_number} daté du {invoice_date} émis par " +"{company_name}" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Invoice" +msgstr "Facture" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_account_move +msgid "Journal Entry" +msgstr "Pièce comptable" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_logo +msgid "Logo to include in the visible part of Factur-X invoices" +msgstr "Logo à inclure dans la partie visible des factures Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__minimum +msgid "Minimum" +msgstr "Minimum" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%s'" +msgstr "Catégorie de taxe UNECE manquante sur la taxe '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%s'" +msgstr "Type de taxe UNECE manquante sur la taxe '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE code on payment method '%s'" +msgstr "Code UNECE manquant sur la méthode de paiement '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No invoice line label" +msgstr "Pas d'étiquette de ligne de facturation" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No specific payment term selected" +msgstr "Aucune condition de paiement sélectionnée" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Refund" +msgstr "Avoir" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_ir_actions_report +msgid "Report Action" +msgstr "Rapport Action" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__380 +msgid "Type 380 with negative amounts" +msgstr "Type 380 avec montants négatifs" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__381 +msgid "Type 381 with positive amounts" +msgstr "Type 381 avec montants positifs" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,help:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "" +"Unless if you have a good reason, you should always select 'EN 16931 " +"(Comfort)', which is the default value." +msgstr "" +"Sauf cas particulier, vous devriez toujours choisir 'EN 16931 (Confort)', " +"qui est la valeur par défaut." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Wire transfer" +msgstr "Virement bancaire" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "Format XML embarqué dans la facture PDF" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "{company_name}: {invoice_type} {invoice_number} dated {invoice_date}" +msgstr "{company_name}: {invoice_type} {invoice_number} daté du {invoice_date}" + +#, python-format +#~ msgid "" +#~ "The Factur-X standard specify that unit prices can't be negative. The " +#~ "unit price of line '%s' is negative. You should generate a customer " +#~ "refund for that line." +#~ msgstr "" +#~ "La norme Factur-X spécifie que le prix unitaire ne peut être négatif. Le " +#~ "prix unitaire de la ligne '%s' est négatif. Vous devriez générer un avoir " +#~ "client pour cette ligne." + +#, python-format +#~ msgid "%s: %s %s dated %s" +#~ msgstr "%s : %s %s daté le %s" + +#~ msgid "Factur-X Invoices" +#~ msgstr "Factures Factur-X" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/it.po b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/it.po new file mode 100644 index 0000000..1677421 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/i18n/it.po @@ -0,0 +1,230 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_facturx +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-04-28 09:23+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.10.4\n" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "(no date)" +msgstr "(nessuna data)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basic +msgid "Basic" +msgstr "Base" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__basicwl +msgid "Basic without lines" +msgstr "Base senza righe" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_company +msgid "Companies" +msgstr "Aziende" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_res_config_settings +msgid "Config Settings" +msgstr "Impostazioni configurazione" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Country is not set on partner '%s'. In the Factur-X standard, the country is " +"required for buyer and seller." +msgstr "" +"La nazione non è impostata nel partner '%s'. Nello standard Fatture-X, la " +"nazione è richiesta per gli acquisitori e i venditori." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Discount" +msgstr "Sconto" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__en16931 +msgid "EN 16931 (Comfort)" +msgstr "EN 16931 (Comfort)" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__extended +msgid "Extended" +msgstr "Esteso" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Factur-X" +msgstr "Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__xml_format_in_pdf_invoice__factur-x +msgid "Factur-X (CII)" +msgstr "Factur-X (CII)" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "Factur-X Level" +msgstr "Livello Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_logo +msgid "Factur-X Logo" +msgstr "Logo Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__facturx_refund_type +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_config_settings__facturx_refund_type +msgid "Factur-X Refund Type" +msgstr "Tipo rimborso Factur-X" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "" +"Factur-X {invoice_type} {invoice_number} dated {invoice_date} issued by " +"{company_name}" +msgstr "" +"Factur-X {invoice_type} {invoice_number} datato {invoice_date} emesso da " +"{company_name}" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Invoice" +msgstr "Fattura" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_account_move +msgid "Journal Entry" +msgstr "Registrazione contabile" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_logo +msgid "Logo to include in the visible part of Factur-X invoices" +msgstr "Logo da includere nella parte visibile delle fatture Factur-X" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_level__minimum +msgid "Minimum" +msgstr "Minimo" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%s'" +msgstr "Categoria imposta UNECE non presente nell'imposta '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%s'" +msgstr "Tipo imposta UNECE non presente nell'imposta '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Missing UNECE code on payment method '%s'" +msgstr "Codice UNECE non presente nel metodo di pagamento '%s'" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No invoice line label" +msgstr "Nessuna etichetta riga fattura" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "No specific payment term selected" +msgstr "Nessun termine di pagamento specifico selezionato" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Refund" +msgstr "Rimborso" + +#. module: account_invoice_facturx +#: model:ir.model,name:account_invoice_facturx.model_ir_actions_report +msgid "Report Action" +msgstr "Azione resoconto" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__380 +msgid "Type 380 with negative amounts" +msgstr "Tipo 380 con valori negativi" + +#. module: account_invoice_facturx +#: model:ir.model.fields.selection,name:account_invoice_facturx.selection__res_company__facturx_refund_type__381 +msgid "Type 381 with positive amounts" +msgstr "Tipo 381 con valori positivi" + +#. module: account_invoice_facturx +#: model:ir.model.fields,help:account_invoice_facturx.field_res_company__facturx_level +#: model:ir.model.fields,help:account_invoice_facturx.field_res_config_settings__facturx_level +msgid "" +"Unless if you have a good reason, you should always select 'EN 16931 " +"(Comfort)', which is the default value." +msgstr "" +"Se non si ha un buon motivo, si dovrebbe sempre selezionare 'EN 16931 " +"(Comfort)', che è il valore predefinito." + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "Wire transfer" +msgstr "Bonifico bancario" + +#. module: account_invoice_facturx +#: model:ir.model.fields,field_description:account_invoice_facturx.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "Formato XML incorporato nella fattura PDF" + +#. module: account_invoice_facturx +#. odoo-python +#: code:addons/account_invoice_facturx/models/account_move.py:0 +#, python-format +msgid "{company_name}: {invoice_type} {invoice_number} dated {invoice_date}" +msgstr "{company_name}: {invoice_type} {invoice_number} datata {invoice_date}" + +#, python-format +#~ msgid "" +#~ "The Factur-X standard specify that unit prices can't be negative. The " +#~ "unit price of line '%s' is negative. You should generate a customer " +#~ "refund for that line." +#~ msgstr "" +#~ "Lo standard Factur-X indica che il prezzo unitario non può essere " +#~ "negativo. Il prezzo unitario della riga '%s' è negativo. Bisogna generare " +#~ "un rimborso cliente per la riga." diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/models/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/models/__init__.py new file mode 100644 index 0000000..20e06b0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/models/__init__.py @@ -0,0 +1,3 @@ +from . import res_company +from . import account_move +from . import ir_actions_report diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/models/account_move.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/models/account_move.py new file mode 100644 index 0000000..38151a2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/models/account_move.py @@ -0,0 +1,1009 @@ +# Copyright 2016-2022 Akretion France (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import logging + +from lxml import etree + +from odoo import _, api, fields, models +from odoo.exceptions import UserError +from odoo.tools import ( + float_compare, + float_is_zero, + float_round, + html2plaintext, + is_html_empty, +) +from odoo.tools.misc import format_date + +logger = logging.getLogger(__name__) + +try: + from facturx import generate_from_file, xml_check_xsd +except ImportError: + logger.debug("Cannot import facturx") + + +FACTURX_FILENAME = "factur-x.xml" +DIRECT_DEBIT_CODES = ("49", "59") +CREDIT_TRF_CODES = ("30", "31", "42") +PROFILES_EN_UP = ["en16931", "extended"] + + +class AccountMove(models.Model): + _name = "account.move" + _inherit = ["account.move", "base.facturx"] + + @api.model + def _cii_add_address_block(self, partner, parent_node, ns): + address = etree.SubElement(parent_node, ns["ram"] + "PostalTradeAddress") + if ns["level"] != "minimum": + if partner.zip: + address_zip = etree.SubElement(address, ns["ram"] + "PostcodeCode") + address_zip.text = partner.zip + if partner.street: + address_street = etree.SubElement(address, ns["ram"] + "LineOne") + address_street.text = partner.street + if partner.street2: + address_street2 = etree.SubElement(address, ns["ram"] + "LineTwo") + address_street2.text = partner.street2 + if hasattr(partner, "street3") and partner.street3: + address_street3 = etree.SubElement(address, ns["ram"] + "LineThree") + address_street3.text = partner.street3 + if partner.city: + address_city = etree.SubElement(address, ns["ram"] + "CityName") + address_city.text = partner.city + if not partner.country_id: + raise UserError( + _( + "Country is not set on partner '%s'. In the Factur-X " + "standard, the country is required for buyer and seller." + ) + % partner.display_name + ) + address_country = etree.SubElement(address, ns["ram"] + "CountryID") + address_country.text = partner.country_id.code + if ns["level"] != "minimum" and partner.state_id: + address_state = etree.SubElement( + address, ns["ram"] + "CountrySubDivisionName" + ) + address_state.text = partner.state_id.name + + def _cii_trade_contact_department_name(self, partner): + return False + + @api.model + def _cii_add_trade_contact_block(self, partner, parent_node, ns): + trade_contact = etree.SubElement(parent_node, ns["ram"] + "DefinedTradeContact") + contact_name = etree.SubElement(trade_contact, ns["ram"] + "PersonName") + contact_name.text = partner.name + department = self._cii_trade_contact_department_name(partner) + if department: + department_name = etree.SubElement( + trade_contact, ns["ram"] + "DepartmentName" + ) + department_name.text = department + phone = partner.phone or partner.mobile + if phone: + phone_node = etree.SubElement( + trade_contact, ns["ram"] + "TelephoneUniversalCommunication" + ) + phone_number = etree.SubElement(phone_node, ns["ram"] + "CompleteNumber") + phone_number.text = phone + if partner.email: + email_node = etree.SubElement( + trade_contact, ns["ram"] + "EmailURIUniversalCommunication" + ) + email_uriid = etree.SubElement( + email_node, ns["ram"] + "URIID", schemeID="SMTP" + ) + email_uriid.text = partner.email + + @api.model + def _cii_add_date( + self, node_name, date_datetime, parent_node, ns, date_ns_type="udt" + ): + date_node = etree.SubElement(parent_node, ns["ram"] + node_name) + date_node_str = etree.SubElement( + date_node, ns[date_ns_type] + "DateTimeString", format="102" + ) + # 102 = format YYYYMMDD + date_node_str.text = date_datetime.strftime("%Y%m%d") + + def _cii_add_document_context_block(self, root, ns): + self.ensure_one() + doc_ctx = etree.SubElement(root, ns["rsm"] + "ExchangedDocumentContext") + ctx_param = etree.SubElement( + doc_ctx, ns["ram"] + "GuidelineSpecifiedDocumentContextParameter" + ) + ctx_param_id = etree.SubElement(ctx_param, ns["ram"] + "ID") + if ns["level"] == "en16931": + urn = "urn:cen.eu:en16931:2017" + elif ns["level"] == "basic": + urn = "urn:cen.eu:en16931:2017#compliant#urn:factur-x.eu:1p0:basic" + elif ns["level"] == "extended": + urn = "urn:cen.eu:en16931:2017#conformant#" "urn:factur-x.eu:1p0:extended" + else: + urn = "urn:factur-x.eu:1p0:%s" % ns["level"] + ctx_param_id.text = urn + + def _cii_add_header_block(self, root, ns): + self.ensure_one() + header_doc = etree.SubElement(root, ns["rsm"] + "ExchangedDocument") + header_doc_id = etree.SubElement(header_doc, ns["ram"] + "ID") + if self.state == "posted": + header_doc_id.text = self.name + else: + header_doc_id.text = self._fields["state"].convert_to_export( + self.state, self + ) + header_doc_typecode = etree.SubElement(header_doc, ns["ram"] + "TypeCode") + if self.move_type == "out_invoice": + header_doc_typecode.text = "380" + elif self.move_type == "out_refund": + header_doc_typecode.text = ns["refund_type"] + # 2 options allowed in Factur-X : + # a) invoice and refunds -> 380 ; negative amounts if refunds + # b) invoice -> 380 refunds -> 381, with positive amounts + # In ZUGFeRD samples, they use option a) + # For Chorus, they impose option b) + # Until August 2017, I was using option a), now I use option b) + # Starting from November 2017, it's a config option ! + invoice_date_dt = self.invoice_date or fields.Date.context_today(self) + self._cii_add_date("IssueDateTime", invoice_date_dt, header_doc, ns) + if not is_html_empty(self.narration) and ns["level"] != "minimum": + note = etree.SubElement(header_doc, ns["ram"] + "IncludedNote") + content_note = etree.SubElement(note, ns["ram"] + "Content") + content_note.text = html2plaintext(self.narration) + + @api.model + def _cii_get_party_identification(self, commercial_partner): + """This method is designed to be inherited in localisation modules + Should return a dict with key=SchemeName, value=Identifier""" + return {} + + @api.model + def _cii_add_party_identification(self, commercial_partner, parent_node, ns): + id_dict = self._cii_get_party_identification(commercial_partner) + if id_dict: + party_identification = etree.SubElement( + parent_node, ns["ram"] + "SpecifiedLegalOrganization" + ) + for scheme_name, party_id_text in id_dict.items(): + party_identification_id = etree.SubElement( + party_identification, ns["ram"] + "ID", schemeID=scheme_name + ) + party_identification_id.text = party_id_text + return + + def _cii_trade_agreement_buyer_ref(self, partner): + return False + + def _cii_add_trade_agreement_block(self, trade_transaction, ns): + self.ensure_one() + company = self.company_id + trade_agreement = etree.SubElement( + trade_transaction, ns["ram"] + "ApplicableHeaderTradeAgreement" + ) + buyer_ref = self._cii_trade_agreement_buyer_ref(self.partner_id) + if buyer_ref: + buyer_reference = etree.SubElement( + trade_agreement, ns["ram"] + "BuyerReference" + ) + buyer_reference.text = buyer_ref + seller = etree.SubElement(trade_agreement, ns["ram"] + "SellerTradeParty") + seller_name = etree.SubElement(seller, ns["ram"] + "Name") + seller_name.text = company.name + self._cii_add_party_identification(company.partner_id, seller, ns) + if ns["level"] in PROFILES_EN_UP: + self._cii_add_trade_contact_block( + self.invoice_user_id.partner_id or company.partner_id, seller, ns + ) + self._cii_add_address_block(company.partner_id, seller, ns) + if company.vat: + seller_tax_reg = etree.SubElement( + seller, ns["ram"] + "SpecifiedTaxRegistration" + ) + seller_tax_reg_id = etree.SubElement( + seller_tax_reg, ns["ram"] + "ID", schemeID="VA" + ) + seller_tax_reg_id.text = company.vat + buyer = etree.SubElement(trade_agreement, ns["ram"] + "BuyerTradeParty") + if ns["level"] != "minimum" and self.commercial_partner_id.ref: + buyer_id = etree.SubElement(buyer, ns["ram"] + "ID") + buyer_id.text = self.commercial_partner_id.ref + buyer_name = etree.SubElement(buyer, ns["ram"] + "Name") + buyer_name.text = self.commercial_partner_id.name + self._cii_add_party_identification(self.commercial_partner_id, buyer, ns) + if ( + ns["level"] in PROFILES_EN_UP + and self.commercial_partner_id != self.partner_id + and self.partner_id.name + ): + self._cii_add_trade_contact_block(self.partner_id, buyer, ns) + self._cii_add_address_block(self.partner_id, buyer, ns) + if self.commercial_partner_id.vat: + buyer_tax_reg = etree.SubElement( + buyer, ns["ram"] + "SpecifiedTaxRegistration" + ) + buyer_tax_reg_id = etree.SubElement( + buyer_tax_reg, ns["ram"] + "ID", schemeID="VA" + ) + buyer_tax_reg_id.text = self.commercial_partner_id.vat + if ns["level"] == "extended" and self.invoice_incoterm_id: + delivery_terms = etree.SubElement( + trade_agreement, ns["ram"] + "ApplicableTradeDeliveryTerms" + ) + delivery_code = etree.SubElement( + delivery_terms, ns["ram"] + "DeliveryTypeCode" + ) + delivery_code.text = self.invoice_incoterm_id.code + self._cii_add_buyer_order_reference(trade_agreement, ns) + self._cii_add_contract_reference(trade_agreement, ns) + + def _cii_add_buyer_order_reference(self, trade_agreement, ns): + self.ensure_one() + if self.ref: + buyer_order_ref = etree.SubElement( + trade_agreement, ns["ram"] + "BuyerOrderReferencedDocument" + ) + buyer_order_id = etree.SubElement( + buyer_order_ref, ns["ram"] + "IssuerAssignedID" + ) + buyer_order_id.text = self.ref + + def _cii_add_contract_reference(self, trade_agreement, ns): + self.ensure_one() + contract_code = self._get_contract_code() + if ns["level"] != "minimum" and contract_code: + contract_ref = etree.SubElement( + trade_agreement, ns["ram"] + "ContractReferencedDocument" + ) + contract_id = etree.SubElement(contract_ref, ns["ram"] + "IssuerAssignedID") + contract_id.text = contract_code + + def _get_contract_code(self): + """This method is designed to be inherited + There are so many different ways to handle a contract in Odoo! + So it's difficult to have a common datamodel for it""" + return False + + def _cii_add_trade_delivery_block(self, trade_transaction, ns): + self.ensure_one() + trade_agreement = etree.SubElement( + trade_transaction, ns["ram"] + "ApplicableHeaderTradeDelivery" + ) + # partner_shipping_id is provided by the sale module + if ( + ns["level"] in PROFILES_EN_UP + and hasattr(self, "partner_shipping_id") + and self.partner_shipping_id + ): + shipto_trade_party = etree.SubElement( + trade_agreement, ns["ram"] + "ShipToTradeParty" + ) + self._cii_add_address_block( + self.partner_shipping_id, shipto_trade_party, ns + ) + return trade_agreement + + def _cii_add_trade_settlement_payment_means_block(self, trade_settlement, ns): + payment_means = etree.SubElement( + trade_settlement, ns["ram"] + "SpecifiedTradeSettlementPaymentMeans" + ) + payment_means_code = etree.SubElement(payment_means, ns["ram"] + "TypeCode") + if ns["level"] in PROFILES_EN_UP: + payment_means_info = etree.SubElement( + payment_means, ns["ram"] + "Information" + ) + if self.payment_mode_id: + payment_means_code.text = self.payment_mode_id.payment_method_id.unece_code + if ns["level"] in PROFILES_EN_UP: + payment_means_info.text = ( + self.payment_mode_id.note or self.payment_mode_id.name + ) + else: + payment_means_code.text = "30" # use 30 and not 31, + # for wire transfer, according to Factur-X CIUS + if ns["level"] in PROFILES_EN_UP: + payment_means_info.text = _("Wire transfer") + logger.warning( + "Missing payment mode on invoice ID %d. " + "Using 30 (wire transfer) as UNECE code as fallback " + "for payment mean", + self.id, + ) + if payment_means_code.text in CREDIT_TRF_CODES: + partner_bank = self.partner_bank_id + if ( + not partner_bank + and self.payment_mode_id + and self.payment_mode_id.bank_account_link == "fixed" + and self.payment_mode_id.fixed_journal_id + ): + partner_bank = self.payment_mode_id.fixed_journal_id.bank_account_id + if partner_bank and partner_bank.acc_type == "iban": + payment_means_bank_account = etree.SubElement( + payment_means, ns["ram"] + "PayeePartyCreditorFinancialAccount" + ) + iban = etree.SubElement( + payment_means_bank_account, ns["ram"] + "IBANID" + ) + iban.text = partner_bank.sanitized_acc_number + if ns["level"] in PROFILES_EN_UP and partner_bank.bank_bic: + payment_means_bank = etree.SubElement( + payment_means, + ns["ram"] + "PayeeSpecifiedCreditorFinancialInstitution", + ) + payment_means_bic = etree.SubElement( + payment_means_bank, ns["ram"] + "BICID" + ) + payment_means_bic.text = partner_bank.bank_bic + # Field mandate_id provided by the OCA module account_banking_mandate + elif ( + payment_means_code.text in DIRECT_DEBIT_CODES + and hasattr(self, "mandate_id") + and self.mandate_id.partner_bank_id + and self.mandate_id.partner_bank_id.acc_type == "iban" + and self.mandate_id.partner_bank_id.sanitized_acc_number + ): + debtor_acc = etree.SubElement( + payment_means, ns["ram"] + "PayerPartyDebtorFinancialAccount" + ) + debtor_acc_iban = etree.SubElement(debtor_acc, ns["ram"] + "IBANID") + debtor_acc_iban.text = self.mandate_id.partner_bank_id.sanitized_acc_number + + def _cii_trade_payment_terms_block(self, trade_settlement, ns): + trade_payment_term = etree.SubElement( + trade_settlement, ns["ram"] + "SpecifiedTradePaymentTerms" + ) + if ns["level"] in PROFILES_EN_UP: + trade_payment_term_desc = etree.SubElement( + trade_payment_term, ns["ram"] + "Description" + ) + # The 'Description' field of SpecifiedTradePaymentTerms + # is a required field, so we must always give a value + if self.invoice_payment_term_id: + trade_payment_term_desc.text = self.invoice_payment_term_id.name + else: + trade_payment_term_desc.text = _("No specific payment term selected") + + if self.invoice_date_due: + self._cii_add_date( + "DueDateDateTime", self.invoice_date_due, trade_payment_term, ns + ) + + # Direct debit Mandate + if ( + self.payment_mode_id.payment_method_id.unece_code in DIRECT_DEBIT_CODES + and hasattr(self, "mandate_id") + and self.mandate_id.unique_mandate_reference + ): + mandate = etree.SubElement( + trade_payment_term, ns["ram"] + "DirectDebitMandateID" + ) + mandate.text = self.mandate_id.unique_mandate_reference + + def _cii_check_tax_required_info(self, tax_dict): + if not tax_dict: + # Hack when there is NO tax at all + # ApplicableTradeTax is a required field, both on line and total + tax_dict.update( + { + "unece_type_code": "VAT", + "unece_categ_code": "E", + "amount": 0, + "amount_type": "percent", + "display_name": "Empty virtual tax", + } + ) + if not tax_dict["unece_type_code"]: + raise UserError( + _("Missing UNECE Tax Type on tax '%s'") % tax_dict["display_name"] + ) + if not tax_dict["unece_categ_code"]: + raise UserError( + _("Missing UNECE Tax Category on tax '%s'") % tax_dict["display_name"] + ) + + def _cii_line_applicable_trade_tax_block( + self, tax_recordset, parent_node, ns, allowance=False + ): + tax = {} + if tax_recordset: + tax = ns["tax_speeddict"][tax_recordset.id] + self._cii_check_tax_required_info(tax) + if allowance: + node_name = "CategoryTradeTax" + else: + node_name = "ApplicableTradeTax" + trade_tax = etree.SubElement(parent_node, ns["ram"] + node_name) + trade_tax_typecode = etree.SubElement(trade_tax, ns["ram"] + "TypeCode") + trade_tax_typecode.text = tax["unece_type_code"] + trade_tax_categcode = etree.SubElement(trade_tax, ns["ram"] + "CategoryCode") + trade_tax_categcode.text = tax["unece_categ_code"] + # No 'DueDateTypeCode' on lines + if tax.get("amount_type") == "percent": + trade_tax_percent = etree.SubElement( + trade_tax, ns["ram"] + "RateApplicablePercent" + ) + trade_tax_percent.text = "%0.*f" % (2, tax["amount"]) + + def _cii_total_applicable_trade_tax_block( + self, tax_recordset, tax_amount, base_amount, parent_node, ns + ): + if ns["level"] == "minimum": + return + tax = {} + if tax_recordset: + tax = ns["tax_speeddict"][tax_recordset.id] + self._cii_check_tax_required_info(tax) + trade_tax = etree.SubElement(parent_node, ns["ram"] + "ApplicableTradeTax") + amount = etree.SubElement(trade_tax, ns["ram"] + "CalculatedAmount") + amount.text = "%0.*f" % (ns["cur_prec"], tax_amount * ns["sign"]) + tax_type = etree.SubElement(trade_tax, ns["ram"] + "TypeCode") + tax_type.text = tax["unece_type_code"] + + if ( + tax["unece_categ_code"] != "S" + and float_is_zero(tax_amount, precision_digits=ns["cur_prec"]) + and self.fiscal_position_id + and ns["fp_speeddict"][self.fiscal_position_id.id]["note"] + ): + exemption_reason = etree.SubElement( + trade_tax, ns["ram"] + "ExemptionReason" + ) + exemption_reason.text = ns["fp_speeddict"][self.fiscal_position_id.id][ + "note" + ] + + base = etree.SubElement(trade_tax, ns["ram"] + "BasisAmount") + base.text = "%0.*f" % (ns["cur_prec"], base_amount * ns["sign"]) + tax_categ_code = etree.SubElement(trade_tax, ns["ram"] + "CategoryCode") + tax_categ_code.text = tax["unece_categ_code"] + due_date_type_code = self._get_unece_due_date_type_code() or tax.get( + "unece_due_date_code" + ) + if due_date_type_code: + trade_tax_due_date = etree.SubElement( + trade_tax, ns["ram"] + "DueDateTypeCode" + ) + trade_tax_due_date.text = due_date_type_code + # Field tax_exigibility is not required, so no error if missing + if tax.get("amount_type") == "percent": + percent = etree.SubElement(trade_tax, ns["ram"] + "RateApplicablePercent") + percent.text = "%0.*f" % (2, tax["amount"]) + + def _cii_add_trade_settlement_block(self, trade_transaction, allowance_ilines, ns): + self.ensure_one() + trade_settlement = etree.SubElement( + trade_transaction, ns["ram"] + "ApplicableHeaderTradeSettlement" + ) + # ICS, provided by the OCA module account_banking_sepa_direct_debit + if ( + ns["level"] != "minimum" + and self.payment_mode_id.payment_method_id.unece_code in DIRECT_DEBIT_CODES + and hasattr(self.company_id, "sepa_creditor_identifier") + and self.company_id.sepa_creditor_identifier + ): + ics = etree.SubElement(trade_settlement, ns["ram"] + "CreditorReferenceID") + ics.text = self.company_id.sepa_creditor_identifier + + if ns["level"] != "minimum": + payment_ref = etree.SubElement( + trade_settlement, ns["ram"] + "PaymentReference" + ) + payment_ref.text = self.name or self.state + invoice_currency = etree.SubElement( + trade_settlement, ns["ram"] + "InvoiceCurrencyCode" + ) + invoice_currency.text = ns["currency"] + if ( + self.payment_mode_id + and not self.payment_mode_id.payment_method_id.unece_code + ): + raise UserError( + _("Missing UNECE code on payment method '%s'") + % self.payment_mode_id.payment_method_id.display_name + ) + if ns["level"] != "minimum" and not ( + self.move_type == "out_refund" + and self.payment_mode_id + and self.payment_mode_id.payment_method_id.unece_code in CREDIT_TRF_CODES + ): + self._cii_add_trade_settlement_payment_means_block(trade_settlement, ns) + + at_least_one_tax = False + # move_type == 'out_invoice': tline.amount_currency < 0 + # move_type == 'out_refund': tline.amount_currency > 0 + tax_amount_sign = self.move_type == "out_invoice" and -1 or 1 + for tline in self.line_ids.filtered(lambda x: x.tax_line_id): + tax_base_amount = tline.tax_base_amount + tax_amount = tline.amount_currency * tax_amount_sign + self._cii_total_applicable_trade_tax_block( + tline.tax_line_id, + tax_amount, + tax_base_amount, + trade_settlement, + ns, + ) + at_least_one_tax = True + tax_zero_amount = {} # key = tax recordset, value = base + for line in self.line_ids: + for tax in line.tax_ids.filtered( + lambda t: float_is_zero(t.amount, precision_digits=ns["cur_prec"]) + ): + tax_zero_amount.setdefault(tax, 0.0) + tax_zero_amount[tax] += line.price_subtotal + for tax, tax_base_amount in tax_zero_amount.items(): + self._cii_total_applicable_trade_tax_block( + tax, 0, tax_base_amount, trade_settlement, ns + ) + at_least_one_tax = True + + if not at_least_one_tax: + self._cii_total_applicable_trade_tax_block(None, 0, 0, trade_settlement, ns) + + # Global Allowance lines = invoice lines with negative price + for allowance_iline in allowance_ilines: + self._cii_allowance_line(allowance_iline, trade_settlement, ns) + + if ns["level"] != "minimum": + self._cii_trade_payment_terms_block(trade_settlement, ns) + + self._cii_monetary_summation_block(trade_settlement, ns) + # When you create a full refund from an invoice, Odoo will + # set the field reversed_entry_id + if self.reversed_entry_id and self.reversed_entry_id.state == "posted": + inv_ref_doc = etree.SubElement( + trade_settlement, ns["ram"] + "InvoiceReferencedDocument" + ) + inv_ref_doc_num = etree.SubElement( + inv_ref_doc, ns["ram"] + "IssuerAssignedID" + ) + inv_ref_doc_num.text = self.reversed_entry_id.name + self._cii_add_date( + "FormattedIssueDateTime", + self.reversed_entry_id.invoice_date, + inv_ref_doc, + ns, + date_ns_type="qdt", + ) + + def _cii_allowance_line(self, iline, trade_settlement, ns): + allowance_line = etree.SubElement( + trade_settlement, ns["ram"] + "SpecifiedTradeAllowanceCharge" + ) + charge_indic = etree.SubElement(allowance_line, ns["ram"] + "ChargeIndicator") + indicator = etree.SubElement(charge_indic, ns["udt"] + "Indicator") + indicator.text = "false" + if not float_is_zero(iline.discount, ns["disc_prec"]): + calculation_percent = etree.SubElement( + allowance_line, ns["ram"] + "CalculationPercent" + ) + calculation_percent.text = "%0.*f" % (ns["disc_prec"], iline.discount) + basis_amount = etree.SubElement(allowance_line, ns["ram"] + "BasisAmount") + basis_amount.text = "%0.*f" % ( + ns["price_prec"], + iline.price_unit * iline.quantity * -1, + ) + + actual_amount = iline.price_subtotal * -1 + ns["allowance_total_amount"] += actual_amount + actual_amount_node = etree.SubElement( + allowance_line, ns["ram"] + "ActualAmount" + ) + actual_amount_node.text = "%0.*f" % (ns["cur_prec"], actual_amount) + + reason = etree.SubElement(allowance_line, ns["ram"] + "Reason") + reason.text = ( + iline.name + or (iline.product_id and iline.product_id.display_name) + or _("Discount") + ) + self._cii_invoice_line_taxes(iline, allowance_line, ns, allowance=True) + + def _cii_monetary_summation_block(self, trade_settlement, ns): + sums = etree.SubElement( + trade_settlement, + ns["ram"] + "SpecifiedTradeSettlementHeaderMonetarySummation", + ) + if ns["level"] != "minimum": + line_total = etree.SubElement(sums, ns["ram"] + "LineTotalAmount") + line_total.text = "%0.*f" % ( + ns["cur_prec"], + (self.amount_untaxed - ns["allowance_total_amount"]) * ns["sign"], + ) + # We don't want to generate charge total, because we don't have the + # notion of charge in Odoo. We only support allowance: + # an allowance is an invoice line with a negative price + # Warning: the allowance amount is positive (but has negative meaning) + if not self.currency_id.is_zero(ns["allowance_total_amount"]): + allowance_total = etree.SubElement( + sums, ns["ram"] + "AllowanceTotalAmount" + ) + allowance_total.text = "%0.*f" % ( + ns["cur_prec"], + ns["allowance_total_amount"], + ) + tax_basis_total_amt = etree.SubElement(sums, ns["ram"] + "TaxBasisTotalAmount") + tax_basis_total_amt.text = "%0.*f" % ( + ns["cur_prec"], + self.amount_untaxed * ns["sign"], + ) + tax_total = etree.SubElement( + sums, ns["ram"] + "TaxTotalAmount", currencyID=ns["currency"] + ) + tax_total.text = "%0.*f" % (ns["cur_prec"], self.amount_tax * ns["sign"]) + total = etree.SubElement(sums, ns["ram"] + "GrandTotalAmount") + total.text = "%0.*f" % (ns["cur_prec"], self.amount_total * ns["sign"]) + if ns["level"] != "minimum": + prepaid = etree.SubElement(sums, ns["ram"] + "TotalPrepaidAmount") + prepaid.text = "%0.*f" % ( + ns["cur_prec"], + (self.amount_total - self.amount_residual) * ns["sign"], + ) + residual = etree.SubElement(sums, ns["ram"] + "DuePayableAmount") + residual.text = "%0.*f" % (ns["cur_prec"], self.amount_residual * ns["sign"]) + + def _set_iline_product_information(self, iline, trade_product, ns): + if iline.product_id: + if iline.product_id.barcode: + barcode = etree.SubElement( + trade_product, ns["ram"] + "GlobalID", schemeID="0160" + ) + # 0160 = GS1 Global Trade Item Number (GTIN, EAN) + barcode.text = iline.product_id.barcode + if ns["level"] in PROFILES_EN_UP and iline.product_id.default_code: + product_code = etree.SubElement( + trade_product, ns["ram"] + "SellerAssignedID" + ) + product_code.text = iline.product_id.default_code + product_name = etree.SubElement(trade_product, ns["ram"] + "Name") + product_name.text = iline.name or _("No invoice line label") + if ( + ns["level"] in PROFILES_EN_UP + and iline.product_id + and iline.product_id.description_sale + ): + product_desc = etree.SubElement(trade_product, ns["ram"] + "Description") + product_desc.text = iline.product_id.description_sale + + def _set_iline_product_attributes(self, iline, trade_product, ns): + if iline.product_id and ns["level"] in PROFILES_EN_UP: + product = iline.product_id + for attrib_val in product.product_template_attribute_value_ids: + attrib_value_rec = attrib_val.product_attribute_value_id + attrib_value = attrib_value_rec.name + attribute_name = attrib_value_rec.attribute_id.name + product_charact = etree.SubElement( + trade_product, ns["ram"] + "ApplicableProductCharacteristic" + ) + product_charact_desc = etree.SubElement( + product_charact, ns["ram"] + "Description" + ) + product_charact_desc.text = attribute_name + product_charact_value = etree.SubElement( + product_charact, ns["ram"] + "Value" + ) + product_charact_value.text = attrib_value + if hasattr(product, "hs_code_id") and product.type in ("product", "consu"): + hs_code = product.get_hs_code_recursively() + if hs_code: + product_classification = etree.SubElement( + trade_product, ns["ram"] + "DesignatedProductClassification" + ) + product_classification_code = etree.SubElement( + product_classification, ns["ram"] + "ClassCode", listID="HS" + ) + product_classification_code.text = hs_code.local_code + # origin_country_id and hs_code_id are provided + # by the OCA module product_harmonized_system + if ( + hasattr(product, "origin_country_id") + and product.type in ("product", "consu") + and product.origin_country_id + ): + origin_trade_country = etree.SubElement( + trade_product, ns["ram"] + "OriginTradeCountry" + ) + origin_trade_country_code = etree.SubElement( + origin_trade_country, ns["ram"] + "ID" + ) + origin_trade_country_code.text = product.origin_country_id.code + + def _cii_add_invoice_line_block(self, trade_transaction, iline, line_number, ns): + self.ensure_one() + line_item = etree.SubElement( + trade_transaction, ns["ram"] + "IncludedSupplyChainTradeLineItem" + ) + line_doc = etree.SubElement( + line_item, ns["ram"] + "AssociatedDocumentLineDocument" + ) + etree.SubElement(line_doc, ns["ram"] + "LineID").text = str(line_number) + + trade_product = etree.SubElement(line_item, ns["ram"] + "SpecifiedTradeProduct") + self._set_iline_product_information(iline, trade_product, ns) + self._set_iline_product_attributes(iline, trade_product, ns) + line_trade_agreement = etree.SubElement( + line_item, ns["ram"] + "SpecifiedLineTradeAgreement" + ) + # convert gross price_unit to tax_excluded value + taxres = iline.tax_ids.compute_all(iline.price_unit) + gross_price_val = float_round( + taxres["total_excluded"], precision_digits=ns["price_prec"] + ) + # Use oline.price_subtotal/qty to compute net unit price to be sure + # to get a *tax_excluded* net unit price + if float_is_zero(iline.quantity, precision_digits=ns["qty_prec"]): + net_price_val = 0.0 + else: + net_price_val = float_round( + iline.price_subtotal / float(iline.quantity), + precision_digits=ns["price_prec"], + ) + if ns["level"] in PROFILES_EN_UP: + gross_price = etree.SubElement( + line_trade_agreement, ns["ram"] + "GrossPriceProductTradePrice" + ) + gross_price_amount = etree.SubElement( + gross_price, ns["ram"] + "ChargeAmount" + ) + gross_price_amount.text = "%0.*f" % (ns["price_prec"], gross_price_val) + fc_discount = float_compare( + iline.discount, 0.0, precision_digits=ns["disc_prec"] + ) + if fc_discount in [-1, 1]: + trade_allowance = etree.SubElement( + gross_price, ns["ram"] + "AppliedTradeAllowanceCharge" + ) + charge_indic = etree.SubElement( + trade_allowance, ns["ram"] + "ChargeIndicator" + ) + indicator = etree.SubElement(charge_indic, ns["udt"] + "Indicator") + if fc_discount == 1: + indicator.text = "false" + ac_sign = 1 + else: + indicator.text = "true" + ac_sign = -1 + calculation_percent = etree.SubElement( + trade_allowance, ns["ram"] + "CalculationPercent" + ) + calculation_percent.text = "%0.*f" % ( + ns["disc_prec"], + iline.discount * ac_sign, + ) + basis_amount = etree.SubElement( + trade_allowance, ns["ram"] + "BasisAmount" + ) + basis_amount.text = "%0.*f" % ( + ns["price_prec"], + iline.price_unit * iline.quantity, + ) + actual_amount = etree.SubElement( + trade_allowance, ns["ram"] + "ActualAmount" + ) + actual_amount_val = float_round( + ac_sign + * ((iline.price_unit * iline.quantity) - iline.price_subtotal), + precision_digits=ns["price_prec"], + ) + actual_amount.text = "%0.*f" % ( + ns["price_prec"], + actual_amount_val * ns["sign"], + ) + + net_price = etree.SubElement( + line_trade_agreement, ns["ram"] + "NetPriceProductTradePrice" + ) + net_price_amount = etree.SubElement(net_price, ns["ram"] + "ChargeAmount") + net_price_amount.text = "%0.*f" % (ns["price_prec"], net_price_val) + line_trade_delivery = etree.SubElement( + line_item, ns["ram"] + "SpecifiedLineTradeDelivery" + ) + if iline.product_uom_id and iline.product_uom_id.unece_code: + unitCode = iline.product_uom_id.unece_code + else: + unitCode = "C62" + if not iline.product_uom_id: + logger.warning( + "No unit of measure on invoice line '%s', " + "using C62 (piece) as fallback", + iline.name, + ) + else: + logger.warning( + "Missing UNECE Code on unit of measure %s, " + "using C62 (piece) as fallback", + iline.product_uom_id.name, + ) + billed_qty = etree.SubElement( + line_trade_delivery, ns["ram"] + "BilledQuantity", unitCode=unitCode + ) + billed_qty.text = "%0.*f" % (ns["qty_prec"], iline.quantity * ns["sign"]) + line_trade_settlement = etree.SubElement( + line_item, ns["ram"] + "SpecifiedLineTradeSettlement" + ) + self._cii_invoice_line_taxes(iline, line_trade_settlement, ns) + # Fields start_date and end_date are provided by the OCA + # module account_invoice_start_end_dates + if ( + ns["level"] in PROFILES_EN_UP + and hasattr(iline, "start_date") + and hasattr(iline, "end_date") + and iline.start_date + and iline.end_date + ): + bill_period = etree.SubElement( + line_trade_settlement, ns["ram"] + "BillingSpecifiedPeriod" + ) + self._cii_add_date("StartDateTime", iline.start_date, bill_period, ns) + self._cii_add_date("EndDateTime", iline.end_date, bill_period, ns) + + subtotal = etree.SubElement( + line_trade_settlement, + ns["ram"] + "SpecifiedTradeSettlementLineMonetarySummation", + ) + subtotal_amount = etree.SubElement(subtotal, ns["ram"] + "LineTotalAmount") + subtotal_amount.text = "%0.*f" % ( + ns["cur_prec"], + iline.price_subtotal * ns["sign"], + ) + + def _cii_invoice_line_taxes(self, iline, parent_node, ns, allowance=False): + if iline.tax_ids: + for tax in iline.tax_ids: + self._cii_line_applicable_trade_tax_block( + tax, parent_node, ns, allowance=allowance + ) + else: + self._cii_line_applicable_trade_tax_block( + None, parent_node, ns, allowance=allowance + ) + + def generate_facturx_xml(self): + self.ensure_one() + assert self.move_type in ( + "out_invoice", + "out_refund", + ), "only works for customer invoice and refunds" + dpo = self.env["decimal.precision"] + level = self.company_id.facturx_level or "en16931" + refund_type = self.company_id.facturx_refund_type or "381" + sign = 1 + if self.move_type == "out_refund" and refund_type == "380": + sign = -1 + lang = self.partner_id.lang or self.env.user.lang or "en_US" + tax_speeddict = self.company_id._get_tax_unece_speeddict() + fp_speeddict = self.company_id._get_fiscal_position_speeddict(lang=lang) + self = self.with_context(lang=lang) + nsmap = { + "xsi": "http://www.w3.org/2001/XMLSchema-instance", + "rsm": "urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100", + "ram": "urn:un:unece:uncefact:data:standard:" + "ReusableAggregateBusinessInformationEntity:100", + "qdt": "urn:un:unece:uncefact:data:standard:QualifiedDataType:100", + "udt": "urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100", + } + ns = { + "rsm": "{urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100}", + "ram": "{urn:un:unece:uncefact:data:standard:" + "ReusableAggregateBusinessInformationEntity:100}", + "qdt": "{urn:un:unece:uncefact:data:standard:QualifiedDataType:100}", + "udt": "{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100}", + "level": level, + "refund_type": refund_type, + "sign": sign, + "currency": self.currency_id.name, + "cur_prec": self.currency_id.decimal_places, + "price_prec": dpo.precision_get("Product Price"), + "disc_prec": dpo.precision_get("Discount"), + "qty_prec": dpo.precision_get("Product Unit of Measure"), + "lang": lang, + "tax_speeddict": tax_speeddict, + "fp_speeddict": fp_speeddict, + "allowance_total_amount": 0.0, + } + + root = etree.Element(ns["rsm"] + "CrossIndustryInvoice", nsmap=nsmap) + self._cii_add_document_context_block(root, ns) + self._cii_add_header_block(root, ns) + + trade_transaction = etree.SubElement( + root, ns["rsm"] + "SupplyChainTradeTransaction" + ) + + allowance_ilines = self.env["account.move.line"] + if ns["level"] in ("extended", "en16931", "basic"): + line_number = 0 + for iline in self.invoice_line_ids.filtered( + lambda x: x.display_type == "product" + ): + price_compare = float_compare( + iline.price_unit, 0, precision_digits=ns["price_prec"] + ) + if price_compare >= 0: + line_number += 1 + self._cii_add_invoice_line_block( + trade_transaction, iline, line_number, ns + ) + else: + # global allowance + allowance_ilines |= iline + + self._cii_add_trade_agreement_block(trade_transaction, ns) + self._cii_add_trade_delivery_block(trade_transaction, ns) + self._cii_add_trade_settlement_block(trade_transaction, allowance_ilines, ns) + + xml_byte = etree.tostring( + root, pretty_print=True, encoding="UTF-8", xml_declaration=True + ) + logger.debug("Factur-X XML file generated for invoice ID %d", self.id) + logger.debug(xml_byte.decode("utf-8")) + try: + xml_check_xsd(xml_byte, flavor="factur-x", level=ns["level"]) + except Exception as e: + raise UserError(str(e)) from e + return (xml_byte, level) + + def _prepare_pdf_metadata(self): + self.ensure_one() + inv_type = self.move_type == "out_refund" and _("Refund") or _("Invoice") + if self.invoice_date: + invoice_date = format_date( + self.env, self.invoice_date, lang_code=self.partner_id.lang + ) + else: + invoice_date = _("(no date)") + if self.state == "posted": + invoice_number = self.name + else: + invoice_number = self._fields["state"].convert_to_export(self.state, self) + format_vals = { + "company_name": self.company_id.name, + "invoice_type": inv_type, + "invoice_number": invoice_number, + "invoice_date": invoice_date, + } + pdf_metadata = { + "author": format_vals["company_name"], + "keywords": ", ".join([inv_type, _("Factur-X")]), + "title": _( + "{company_name}: {invoice_type} {invoice_number} dated {invoice_date}" + ).format(**format_vals), + "subject": _( + "Factur-X {invoice_type} {invoice_number} dated {invoice_date} " + "issued by {company_name}" + ).format(**format_vals), + } + return pdf_metadata + + def _prepare_facturx_attachments(self): + # This method is designed to be inherited in other modules + self.ensure_one() + return {} + + def regular_pdf_invoice_to_facturx_invoice(self, pdf_bytesio): + self.ensure_one() + assert pdf_bytesio, "Missing pdf_bytesio" + if self.move_type in ("out_invoice", "out_refund"): + facturx_xml_bytes, level = self.generate_facturx_xml() + pdf_metadata = self._prepare_pdf_metadata() + lang = ( + self.partner_id.lang and self.partner_id.lang.replace("_", "-") or None + ) + # Generate a new PDF with XML file as attachment + attachments = self._prepare_facturx_attachments() + generate_from_file( + pdf_bytesio, + facturx_xml_bytes, + flavor="factur-x", + level=level, + check_xsd=False, + pdf_metadata=pdf_metadata, + lang=lang, + attachments=attachments, + ) + logger.info("%s file added to PDF invoice", FACTURX_FILENAME) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/models/ir_actions_report.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/models/ir_actions_report.py new file mode 100644 index 0000000..4eab964 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/models/ir_actions_report.py @@ -0,0 +1,32 @@ +# Copyright 2016-2022 Akretion France (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import models + + +class IrActionsReport(models.Model): + _inherit = "ir.actions.report" + + def _render_qweb_pdf_prepare_streams(self, report_ref, data, res_ids=None): + # It works, but: + # - when you click on the "Print" button or use the "Print" menu, + # the XML file is regenerated even when the invoice is read from the attachment. + # - when you open the invoice from the attachment, you get the "original" XML + # file + collected_streams = super()._render_qweb_pdf_prepare_streams( + report_ref, data, res_ids=res_ids + ) + amo = self.env["account.move"] + if ( + collected_streams + and res_ids + and len(res_ids) == 1 + and self._is_invoice_report(report_ref) + and not self.env.context.get("no_embedded_factur-x_xml") + ): + move = amo.browse(res_ids) + if move._xml_format_in_pdf_invoice() == "factur-x": + pdf_bytesio = collected_streams[move.id]["stream"] + move.regular_pdf_invoice_to_facturx_invoice(pdf_bytesio) + return collected_streams diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/models/res_company.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/models/res_company.py new file mode 100644 index 0000000..aa2fa8f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/models/res_company.py @@ -0,0 +1,71 @@ +# Copyright 2017-2022 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import base64 + +from odoo import fields, models, tools + + +class ResCompany(models.Model): + _inherit = "res.company" + + xml_format_in_pdf_invoice = fields.Selection( + selection_add=[("factur-x", "Factur-X (CII)")], + default="factur-x", + ondelete={"factur-x": "set null"}, + ) + facturx_level = fields.Selection( + [ + ("minimum", "Minimum"), + ("basicwl", "Basic without lines"), + ("basic", "Basic"), + ("en16931", "EN 16931 (Comfort)"), + ("extended", "Extended"), + ], + string="Factur-X Level", + default="en16931", + help="Unless if you have a good reason, you should always " + "select 'EN 16931 (Comfort)', which is the default value.", + ) + facturx_refund_type = fields.Selection( + [ + ("380", "Type 380 with negative amounts"), + ("381", "Type 381 with positive amounts"), + ], + string="Factur-X Refund Type", + default="381", + ) + facturx_logo = fields.Binary( + compute="_compute_facturx_logo", + string="Factur-X Logo", + help="Logo to include in the visible part of Factur-X invoices", + ) + # up to v15, this module inherited the invoice report to add the + # facturx logo. In v16, I decided to stop inheriting the invoice report + # because I think many users may not want to have the facturx logo, + # but I continue to provide the field 'facturx_logo' + + def _compute_facturx_logo(self): + level2logo = { + "minimum": "factur-x-minimum.png", + "basicwl": "factur-x-basicwl.png", + "basic": "factur-x-basic.png", + "en16931": "factur-x-en16931.png", + "extended": "factur-x-extended.png", + } + for company in self: + facturx_logo = False + if ( + company.xml_format_in_pdf_invoice == "factur-x" + and company.facturx_level + and company.facturx_level in level2logo + ): + fname = level2logo[company.facturx_level] + fname_path = "account_invoice_facturx/static/logos/%s" % fname + f = tools.file_open(fname_path, "rb") + f_binary = f.read() + if f_binary: + facturx_logo = base64.b64encode(f_binary) + + company.facturx_logo = facturx_logo diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/readme/CONFIGURE.rst b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/readme/CONFIGURE.rst new file mode 100644 index 0000000..0f68001 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/readme/CONFIGURE.rst @@ -0,0 +1,5 @@ +In the menu *Invoicing > Configuration > Settings*, check these options: + +* *XML Format embedded in PDF invoice*: if you want to generate Factur-X invoices, this option must be set to *Factur-X (CII)* +* the *Factur-X Level*: unless you have a good reason, you should keep the default value *EN 16931 (Comfort)* +* *Factur-X Refund Type*: choose the type of the XML invoice for customer refunds (keep the default value if you are not familiar with this setting). diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..ff65d68 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Alexis de Lattre diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/readme/DESCRIPTION.rst new file mode 100644 index 0000000..9e17fcf --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/readme/DESCRIPTION.rst @@ -0,0 +1,5 @@ +With this module, the PDF customer invoices and refunds generated by the Qweb reporting engine of Odoo will comply with the `Factur-X `__ standard. The Factur-X standard is an e-invoicing standard for France and Germany released on December 31st 2017. In Germany, it is also known as the `ZUGFeRD 2.0 `_ standard. This standard is based on `CII `_ (Cross-Industry Invoice) for electronic invoicing. The great idea of the ZUGFeRD/Factur-X standard is to embed an XML file inside the PDF invoice to carry structured information about the invoice. So, with a ZUGFeRD/Factur-X PDF invoice: + +* no need to change your habbits and those of your customers: you can still send your PDF invoices by email as usual. +* customers equiped with a modern accouting software will be able to import the invoice automatically as supplier invoice by taking advantage of the embedded XML file, +* customers with an ancient accounting software will just open the PDF file with their PDF reader and manually encode the document as supplier invoice in their accounting software. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/readme/INSTALL.rst b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/readme/INSTALL.rst new file mode 100644 index 0000000..1b4dcc4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/readme/INSTALL.rst @@ -0,0 +1,7 @@ +**WARNING**: there is an alternative implementation of Factur-X in the module **account_edi_ubl_cii** of the official addons. If both modules are installed, the XML embedded in the PDF is the XML generated by the module **account_edi_ubl_cii**. To avoid that, you need to uninstall the module **account_edi_ubl_cii**. + +This module requires a recent version of the Python library `factur-x `__ developped by Akretion. Note that the factur-x library depends on PyPDF2 for the low-level PDF manipulation. To install it, run: + +.. code:: + + pip3 install --upgrade factur-x diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/description/icon.png b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/description/index.html b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/description/index.html new file mode 100644 index 0000000..675d5ad --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/description/index.html @@ -0,0 +1,449 @@ + + + + + +Account Invoice Factur-X + + + +
    +

    Account Invoice Factur-X

    + + +

    Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    With this module, the PDF customer invoices and refunds generated by the Qweb reporting engine of Odoo will comply with the Factur-X standard. The Factur-X standard is an e-invoicing standard for France and Germany released on December 31st 2017. In Germany, it is also known as the ZUGFeRD 2.0 standard. This standard is based on CII (Cross-Industry Invoice) for electronic invoicing. The great idea of the ZUGFeRD/Factur-X standard is to embed an XML file inside the PDF invoice to carry structured information about the invoice. So, with a ZUGFeRD/Factur-X PDF invoice:

    +
      +
    • no need to change your habbits and those of your customers: you can still send your PDF invoices by email as usual.
    • +
    • customers equiped with a modern accouting software will be able to import the invoice automatically as supplier invoice by taking advantage of the embedded XML file,
    • +
    • customers with an ancient accounting software will just open the PDF file with their PDF reader and manually encode the document as supplier invoice in their accounting software.
    • +
    +

    Table of contents

    + +
    +

    Installation

    +

    WARNING: there is an alternative implementation of Factur-X in the module account_edi_ubl_cii of the official addons. If both modules are installed, the XML embedded in the PDF is the XML generated by the module account_edi_ubl_cii. To avoid that, you need to uninstall the module account_edi_ubl_cii.

    +

    This module requires a recent version of the Python library factur-x developped by Akretion. Note that the factur-x library depends on PyPDF2 for the low-level PDF manipulation. To install it, run:

    +
    +pip3 install --upgrade factur-x
    +
    +
    +
    +

    Configuration

    +

    In the menu Invoicing > Configuration > Settings, check these options:

    +
      +
    • XML Format embedded in PDF invoice: if you want to generate Factur-X invoices, this option must be set to Factur-X (CII)
    • +
    • the Factur-X Level: unless you have a good reason, you should keep the default value EN 16931 (Comfort)
    • +
    • Factur-X Refund Type: choose the type of the XML invoice for customer refunds (keep the default value if you are not familiar with this setting).
    • +
    +
    +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Akretion
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    + +Odoo Community Association + +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    alexis-via

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-basic.png b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-basic.png new file mode 100644 index 0000000..4d830c8 Binary files /dev/null and b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-basic.png differ diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-basicwl.png b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-basicwl.png new file mode 100644 index 0000000..e931f61 Binary files /dev/null and b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-basicwl.png differ diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-en16931.png b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-en16931.png new file mode 100644 index 0000000..58e8ac5 Binary files /dev/null and b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-en16931.png differ diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-extended.png b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-extended.png new file mode 100644 index 0000000..7a87293 Binary files /dev/null and b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-extended.png differ diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-minimum.png b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-minimum.png new file mode 100644 index 0000000..fe520b4 Binary files /dev/null and b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/static/logos/factur-x-minimum.png differ diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/tests/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/tests/__init__.py new file mode 100644 index 0000000..b5b14b8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/tests/__init__.py @@ -0,0 +1 @@ +from . import test_facturx_invoice diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/tests/test_facturx_invoice.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/tests/test_facturx_invoice.py new file mode 100644 index 0000000..fb2ed63 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/tests/test_facturx_invoice.py @@ -0,0 +1,97 @@ +# Copyright 2015-2020 Akretion France +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import logging + +from facturx import get_facturx_level +from lxml import etree + +from odoo.tests.common import TransactionCase + +logger = logging.getLogger(__name__) + + +class TestFacturXInvoice(TransactionCase): + def setUp(self): + super().setUp() + self.company = self.env.ref("base.main_company") + self.product1 = self.env.ref("product.product_product_4") + self.product2 = self.env.ref("product.product_product_1") + sale_taxes = self.env["account.tax"].search( + [ + ("company_id", "=", self.company.id), + ("type_tax_use", "=", "sale"), + "|", + ("unece_type_id", "=", False), + ("unece_categ_id", "=", False), + ] + ) + sale_taxes.write( + { + "unece_type_id": self.env.ref("account_tax_unece.tax_type_vat").id, + "unece_categ_id": self.env.ref("account_tax_unece.tax_categ_s").id, + } + ) + self.invoice = self.env["account.move"].create( + { + "company_id": self.company.id, + "move_type": "out_invoice", + "partner_id": self.env.ref("base.res_partner_2").id, + "currency_id": self.company.currency_id.id, + "invoice_line_ids": [ + ( + 0, + 0, + { + "product_id": self.product1.id, + "product_uom_id": self.product1.uom_id.id, + "quantity": 12, + "price_unit": 42.42, + }, + ), + ( + 0, + 0, + { + "product_id": self.product2.id, + "product_uom_id": self.product2.uom_id.id, + "quantity": 2, + "price_unit": 12.34, + }, + ), + ], + } + ) + self.invoice.action_post() + + def test_deep_customer_invoice(self): + # Bug in Basic XSD: missing CountrySubDivisionName + # I reported it to FNFE-MPE on 24/10/2021 + # In the meantime, we want to avoid the bug: + self.company.partner_id.state_id = False + self.invoice.partner_id.state_id = False + if self.company.xml_format_in_pdf_invoice != "factur-x": + self.company.write({"xml_format_in_pdf_invoice": "factur-x"}) + # inv_report = self.env.ref("account.account_invoices").with_context( + # force_report_rendering=True + # ) + for level in ["minimum", "basicwl", "basic", "en16931", "extended"]: + self.company.write({"facturx_level": level}) + # Travis tests get stalled on this line + # Maybe it's not possible to render a PDF on Travis... I don't know + # pdf_content, pdf_ext = inv_report._render_qweb_pdf( + # res_ids=[self.invoice.id] + # ) + # xml_filename, xml_string = get_facturx_xml_from_pdf( + # pdf_content, check_xsd=True + # ) + # self.assertTrue(xml_filename, "factur-x.xml") + # xml_root = etree.fromstring(xml_string) + # facturx_level = get_facturx_level(xml_root) + # self.assertEqual(facturx_level, level) + xml_bytes, fx_level = self.invoice.generate_facturx_xml() + self.assertEqual(fx_level, level) + xml_root = etree.fromstring(xml_bytes) + facturx_level = get_facturx_level(xml_root) + self.assertEqual(facturx_level, level) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/views/account_move.xml b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/views/account_move.xml new file mode 100644 index 0000000..9d1002b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/views/account_move.xml @@ -0,0 +1,24 @@ + + + + + + + account.move + + + + 1 + + + + + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/views/res_config_settings.xml b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/views/res_config_settings.xml new file mode 100644 index 0000000..af0a452 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/views/res_config_settings.xml @@ -0,0 +1,51 @@ + + + + + account_invoice_facturx.res.config.settings + res.config.settings + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/views/res_partner.xml b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/views/res_partner.xml new file mode 100644 index 0000000..06cc712 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/views/res_partner.xml @@ -0,0 +1,32 @@ + + + + + + factur-x.country.required.on.res.partner + res.partner + + + + 1 + + + 1 + + + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/wizards/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/wizards/__init__.py new file mode 100644 index 0000000..0deb68c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/wizards/__init__.py @@ -0,0 +1 @@ +from . import res_config_settings diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/wizards/res_config_settings.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/wizards/res_config_settings.py new file mode 100644 index 0000000..e34e460 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/account_invoice_facturx/wizards/res_config_settings.py @@ -0,0 +1,14 @@ +# Copyright 2017-2022 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + _inherit = "res.config.settings" + + facturx_level = fields.Selection(related="company_id.facturx_level", readonly=False) + facturx_refund_type = fields.Selection( + related="company_id.facturx_refund_type", readonly=False + ) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/ARCHITECTURE.md new file mode 100644 index 0000000..59b5ebd --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Account_invoice_facturx Module - account_invoice_facturx + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/CONFIGURATION.md new file mode 100644 index 0000000..1c2c637 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for account_invoice_facturx. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/DEPENDENCIES.md new file mode 100644 index 0000000..c15a615 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/DEPENDENCIES.md @@ -0,0 +1,8 @@ +# Dependencies + +This addon depends on: + +- [account_einvoice_generate](../../odoo-bringout-oca-edi-framework-account_einvoice_generate) +- account_payment_partner +- [base_facturx](../../odoo-bringout-oca-edi-base_facturx) +- [base_vat](../../odoo-bringout-oca-ocb-base_vat) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/FAQ.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/FAQ.md new file mode 100644 index 0000000..e01a7cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon account_invoice_facturx or install in UI. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/INSTALL.md new file mode 100644 index 0000000..d9ea6d5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-account_invoice_facturx" +# or +uv pip install odoo-bringout-oca-edi-framework-account_invoice_facturx" +``` diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/MODELS.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/MODELS.md new file mode 100644 index 0000000..9eee686 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/MODELS.md @@ -0,0 +1,14 @@ +# Models + +Detected core models and extensions in account_invoice_facturx. + +```mermaid +classDiagram + class account_move + class ir_actions_report + class res_company +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/OVERVIEW.md new file mode 100644 index 0000000..cf8b173 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: account_invoice_facturx. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon account_invoice_facturx +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/USAGE.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/USAGE.md new file mode 100644 index 0000000..fb362ce --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_invoice_facturx +``` diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx/pyproject.toml b/odoo-bringout-oca-edi-framework-account_invoice_facturx/pyproject.toml new file mode 100644 index 0000000..2d2d502 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx/pyproject.toml @@ -0,0 +1,45 @@ +[project] +name = "odoo-bringout-oca-edi-framework-account_invoice_facturx" +version = "16.0.0" +description = "Account Invoice Factur-X - Generate Factur-X/ZUGFeRD customer invoices" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-framework-account_einvoice_generate>=16.0.0", + "odoo-bringout-oca-edi-framework-account_payment_partner>=16.0.0", + "odoo-bringout-oca-edi-framework-base_facturx>=16.0.0", + "odoo-bringout-oca-edi-framework-base_vat>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["account_invoice_facturx"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/README.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/README.md new file mode 100644 index 0000000..b344f98 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/README.md @@ -0,0 +1,45 @@ +# Py3o Factur-x Invoice + +Odoo addon: account_invoice_facturx_py3o + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o +``` + +## Dependencies + +This addon depends on: +- account_invoice_facturx +- report_py3o + +## Manifest Information + +- **Name**: Py3o Factur-x Invoice +- **Version**: 16.0.1.0.0 +- **Category**: Invoicing Management +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `account_invoice_facturx_py3o`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/README.rst b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/README.rst new file mode 100644 index 0000000..0c35870 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/README.rst @@ -0,0 +1,84 @@ +===================== +Py3o Factur-x Invoice +===================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:cd45249d769b0daa35d24a349dcfa34417286fffe85b13c82ef2a835091a48e8 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/account_invoice_facturx_py3o + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_facturx_py3o + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +If you use the py3o reporting engine (module *report_py3o* from the `reporting-engine `_ OCA project) to generate your PDF invoices and you want these PDF invoices to be Factur-X invoices (i.e. a PDF invoice with an embedded XML file in CII format), this module is for you ! Factur-X is the e-invoicing standard for France and Germany (in Germany, it is also called ZUGFeRD 2.1). + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/__manifest__.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/__manifest__.py new file mode 100644 index 0000000..f39fce0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2017-2022 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Py3o Factur-x Invoice", + "version": "16.0.1.0.0", + "category": "Invoicing Management", + "license": "AGPL-3", + "summary": "Generate Factur-X invoices with Py3o reporting engine", + "author": "Akretion,Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/edi", + "depends": ["account_invoice_facturx", "report_py3o"], + "installable": True, + "auto_install": True, +} diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/account_invoice_factur-x_py3o.pot b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/account_invoice_factur-x_py3o.pot new file mode 100644 index 0000000..3248329 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/account_invoice_factur-x_py3o.pot @@ -0,0 +1,20 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x_py3o +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_factur-x_py3o +#: model:ir.model,name:account_invoice_factur-x_py3o.model_py3o_report +msgid "Report Py30" +msgstr "" + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/account_invoice_facturx_py3o.pot b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/account_invoice_facturx_py3o.pot new file mode 100644 index 0000000..4b146ae --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/account_invoice_facturx_py3o.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_facturx_py3o +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_facturx_py3o +#: model:ir.model,name:account_invoice_facturx_py3o.model_py3o_report +msgid "Report Py30" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/bs.po b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/bs.po new file mode 100644 index 0000000..b99b807 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/bs.po @@ -0,0 +1,20 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x_py3o +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_factur-x_py3o +#: model:ir.model,name:account_invoice_factur-x_py3o.model_py3o_report +msgid "Report Py30" +msgstr "Izveštaj Py30" + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/de.po b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/de.po new file mode 100644 index 0000000..660f501 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/de.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x_py3o +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-05-24 15:19+0000\n" +"Last-Translator: Frederik Kramer \n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.6.1\n" + +#. module: account_invoice_facturx_py3o +#: model:ir.model,name:account_invoice_facturx_py3o.model_py3o_report +msgid "Report Py30" +msgstr "Bericht Py30" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/es.po b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/es.po new file mode 100644 index 0000000..af0171e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/es.po @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_factur-x_py3o +# +# Translators: +# enjolras , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-12 01:43+0000\n" +"PO-Revision-Date: 2018-03-12 01:43+0000\n" +"Last-Translator: enjolras , 2018\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_invoice_facturx_py3o +#: model:ir.model,name:account_invoice_facturx_py3o.model_py3o_report +msgid "Report Py30" +msgstr "Informe Py30" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/it.po b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/it.po new file mode 100644 index 0000000..0963186 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/i18n/it.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_facturx_py3o +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_invoice_facturx_py3o +#: model:ir.model,name:account_invoice_facturx_py3o.model_py3o_report +msgid "Report Py30" +msgstr "Resoconto Py3o" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/models/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/models/__init__.py new file mode 100644 index 0000000..f5828d0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/models/__init__.py @@ -0,0 +1 @@ +from . import py3o_report diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/models/py3o_report.py b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/models/py3o_report.py new file mode 100644 index 0000000..c7f3a05 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/models/py3o_report.py @@ -0,0 +1,26 @@ +# Copyright 2017-2022 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import models + + +class Py3oReport(models.TransientModel): + _inherit = "py3o.report" + + def _postprocess_report(self, model_instance, result_path): + amo = self.env["account.move"] + invoice_reports = amo._get_invoice_report_names() + if ( + self.ir_actions_report_id.report_name in invoice_reports + and model_instance + and len(model_instance) == 1 + and self.ir_actions_report_id.report_type == "py3o" + and self.ir_actions_report_id.py3o_filetype == "pdf" + and result_path + ): + move = model_instance + # re-write PDF on result_path + if move._xml_format_in_pdf_invoice() == "factur-x": + move.regular_pdf_invoice_to_facturx_invoice(result_path) + return super()._postprocess_report(model_instance, result_path) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..ff65d68 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Alexis de Lattre diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/readme/DESCRIPTION.rst new file mode 100644 index 0000000..9dd8d1f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +If you use the py3o reporting engine (module *report_py3o* from the `reporting-engine `_ OCA project) to generate your PDF invoices and you want these PDF invoices to be Factur-X invoices (i.e. a PDF invoice with an embedded XML file in CII format), this module is for you ! Factur-X is the e-invoicing standard for France and Germany (in Germany, it is also called ZUGFeRD 2.1). diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/static/description/icon.png b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/static/description/index.html b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/static/description/index.html new file mode 100644 index 0000000..2cae084 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/account_invoice_facturx_py3o/static/description/index.html @@ -0,0 +1,423 @@ + + + + + + +Py3o Factur-x Invoice + + + +
    +

    Py3o Factur-x Invoice

    + + +

    Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    If you use the py3o reporting engine (module report_py3o from the reporting-engine OCA project) to generate your PDF invoices and you want these PDF invoices to be Factur-X invoices (i.e. a PDF invoice with an embedded XML file in CII format), this module is for you ! Factur-X is the e-invoicing standard for France and Germany (in Germany, it is also called ZUGFeRD 2.1).

    +

    Table of contents

    + +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Akretion
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    +Odoo Community Association +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    alexis-via

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/ARCHITECTURE.md new file mode 100644 index 0000000..14d6115 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Account_invoice_facturx_py3o Module - account_invoice_facturx_py3o + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/CONFIGURATION.md new file mode 100644 index 0000000..1a51d6b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for account_invoice_facturx_py3o. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/DEPENDENCIES.md new file mode 100644 index 0000000..88f4c2d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/DEPENDENCIES.md @@ -0,0 +1,6 @@ +# Dependencies + +This addon depends on: + +- [account_invoice_facturx](../../odoo-bringout-oca-edi-account_invoice_facturx) +- [report_py3o](../../odoo-bringout-oca-reporting-engine-report_py3o) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/FAQ.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/FAQ.md new file mode 100644 index 0000000..923b660 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon account_invoice_facturx_py3o or install in UI. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/INSTALL.md new file mode 100644 index 0000000..4d64d11 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o" +# or +uv pip install odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o" +``` diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/MODELS.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/MODELS.md new file mode 100644 index 0000000..93f0574 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in account_invoice_facturx_py3o. + +```mermaid +classDiagram + class py3o_report +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/OVERVIEW.md new file mode 100644 index 0000000..590e965 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: account_invoice_facturx_py3o. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon account_invoice_facturx_py3o +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/USAGE.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/USAGE.md new file mode 100644 index 0000000..d4bdf10 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_invoice_facturx_py3o +``` diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/pyproject.toml b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/pyproject.toml new file mode 100644 index 0000000..163be45 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o/pyproject.toml @@ -0,0 +1,43 @@ +[project] +name = "odoo-bringout-oca-edi-framework-account_invoice_facturx_py3o" +version = "16.0.0" +description = "Py3o Factur-x Invoice - Generate Factur-X invoices with Py3o reporting engine" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-framework-account_invoice_facturx>=16.0.0", + "odoo-bringout-oca-edi-framework-report_py3o>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["account_invoice_facturx_py3o"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/README.md b/odoo-bringout-oca-edi-framework-account_invoice_ubl/README.md new file mode 100644 index 0000000..2527bd6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/README.md @@ -0,0 +1,48 @@ +# Account Invoice UBL + +Odoo addon: account_invoice_ubl + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-account_invoice_ubl +``` + +## Dependencies + +This addon depends on: +- account_einvoice_generate +- account_payment_partner +- base_ubl_payment +- account_tax_unece +- pdf_helper + +## Manifest Information + +- **Name**: Account Invoice UBL +- **Version**: 16.0.1.0.0 +- **Category**: Accounting & Finance +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `account_invoice_ubl`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/README.rst b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/README.rst new file mode 100644 index 0000000..d590ba6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/README.rst @@ -0,0 +1,116 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +=================== +Account Invoice UBL +=================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:9f1b0e852851f3ea85dba1780820cf44cc6e13acda198d7323763c4c115fbcc4 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/account_invoice_ubl + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-account_invoice_ubl + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds support for UBL, the `Universal Business Language (UBL) +`_ standard, on invoices. The UBL 2.1 standard became the +`ISO/IEC 19845 `_ +standard in December 2015 (cf the `official announce +`_). + +With this module, you can generate customer invoices/refunds: + +* in PDF format with an embedded UBL XML file +* as an XML file with an optional embedded PDF file + +This module supports UBL version 2.1 (used by default) and 2.0. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +In the menu *Invoicing > Configuration > Settings > Invoicing*, under +*Electronic Invoices*, check the value of 2 options: + +* *XML Format embedded in PDF invoice* : if you want to have an UBL XML file + embedded inside the PDF invoice, set it to + *Universal Business Language (UBL)* +* if you work directly with XML invoices and you want to have the PDF invoice + in base64 inside the XML file, enable the *Embed PDF in UBL XML Invoice*. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion +* Onestein +* BCIM + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre +* Andrea Stirpe +* Foram Shah +* Jacques-Etienne Baudoux (BCIM) + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-jbaudoux| image:: https://github.com/jbaudoux.png?size=40px + :target: https://github.com/jbaudoux + :alt: jbaudoux + +Current `maintainer `__: + +|maintainer-jbaudoux| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/__init__.py new file mode 100644 index 0000000..67f8a17 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/__init__.py @@ -0,0 +1,5 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import models +from .hooks import set_xml_format_in_pdf_invoice_to_ubl +from .hooks import remove_ubl_xml_format_in_pdf_invoice diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/__manifest__.py b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/__manifest__.py new file mode 100644 index 0000000..a502f2c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/__manifest__.py @@ -0,0 +1,25 @@ +# Copyright 2016-2018 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Account Invoice UBL", + "version": "16.0.1.0.0", + "category": "Accounting & Finance", + "license": "AGPL-3", + "summary": "Generate UBL XML file for customer invoices/refunds", + "author": "Akretion,Onestein,BCIM,Odoo Community Association (OCA)", + "maintainers": ["jbaudoux"], + "website": "https://github.com/OCA/edi", + "depends": [ + "account_einvoice_generate", + "account_payment_partner", + "base_ubl_payment", + "account_tax_unece", + "pdf_helper", + ], + "data": ["views/account_move.xml", "views/res_config_settings.xml"], + "post_init_hook": "set_xml_format_in_pdf_invoice_to_ubl", + "uninstall_hook": "remove_ubl_xml_format_in_pdf_invoice", + "installable": True, +} diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/hooks.py b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/hooks.py new file mode 100644 index 0000000..514bfc2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/hooks.py @@ -0,0 +1,18 @@ +# Copyright 2018 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# Copyright 2019 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import SUPERUSER_ID, api + + +def set_xml_format_in_pdf_invoice_to_ubl(cr, registry): + env = api.Environment(cr, SUPERUSER_ID, {}) + companies = env["res.company"].search([]) + companies.write({"xml_format_in_pdf_invoice": "ubl"}) + + +def remove_ubl_xml_format_in_pdf_invoice(cr, registry): + env = api.Environment(cr, SUPERUSER_ID, {}) + companies = env["res.company"].search([("xml_format_in_pdf_invoice", "=", "ubl")]) + companies.write({"xml_format_in_pdf_invoice": "none"}) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/account_invoice_ubl.pot b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/account_invoice_ubl.pot new file mode 100644 index 0000000..dae40c5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/account_invoice_ubl.pot @@ -0,0 +1,70 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_company +msgid "Companies" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "Embed PDF in UBL XML Invoice" +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_move_form +msgid "Generate UBL XML File" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,help:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,help:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "" +"If active, the standalone UBL Invoice XML file will include the PDF of the " +"invoice in base64 under the node 'AdditionalDocumentReference'. For example," +" to be compliant with the e-fff standard used in Belgium, you should " +"activate this option." +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_account_config_settings +msgid "Include the PDF of the invoice in the standalone UBL Invoice XML file." +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_ir_actions_report +msgid "Report Action" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields.selection,name:account_invoice_ubl.selection__res_company__xml_format_in_pdf_invoice__ubl +msgid "Universal Business Language (UBL)" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/es.po b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/es.po new file mode 100644 index 0000000..76d6650 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/es.po @@ -0,0 +1,108 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_ubl +# +# Translators: +# enjolras , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-12 01:43+0000\n" +"PO-Revision-Date: 2023-11-25 11:34+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_config_settings +msgid "Config Settings" +msgstr "Ajustes de Configuración" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "Embed PDF in UBL XML Invoice" +msgstr "Incrustar PDF en Factura XML UBL" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_move_form +msgid "Generate UBL XML File" +msgstr "Incrustar PDF en Factura XML UBL" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__id +msgid "ID" +msgstr "ID" + +#. module: account_invoice_ubl +#: model:ir.model.fields,help:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,help:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "" +"If active, the standalone UBL Invoice XML file will include the PDF of the " +"invoice in base64 under the node 'AdditionalDocumentReference'. For example, " +"to be compliant with the e-fff standard used in Belgium, you should activate " +"this option." +msgstr "" +"Si está activada, el archivo XML de factura UBL independiente incluirá el " +"PDF de la factura en base64 en el nodo 'AdditionalDocumentReference'. Por " +"ejemplo, para cumplir con la norma e-fff utilizada en Bélgica, debe activar " +"esta opción." + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_account_config_settings +msgid "Include the PDF of the invoice in the standalone UBL Invoice XML file." +msgstr "" +"Incluir el PDF de la factura en el archivo XML de factura UBL independiente." + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_account_move +msgid "Journal Entry" +msgstr "Entrada Diaria" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings____last_update +msgid "Last Modified on" +msgstr "Última Modificación el" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_ir_actions_report +msgid "Report Action" +msgstr "Informar Acción" + +#. module: account_invoice_ubl +#: model:ir.model.fields.selection,name:account_invoice_ubl.selection__res_company__xml_format_in_pdf_invoice__ubl +msgid "Universal Business Language (UBL)" +msgstr "Lenguaje Comercial Universal (LCU)" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "Formato XML integrado en factura PDF" + +#~ msgid "Invoice" +#~ msgstr "Factura" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/fr.po b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/fr.po new file mode 100644 index 0000000..5fc2b6f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/fr.po @@ -0,0 +1,100 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_ubl +# +# Translators: +# Quentin THEURET , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-29 11:53+0000\n" +"PO-Revision-Date: 2018-01-29 11:53+0000\n" +"Last-Translator: Quentin THEURET , 2018\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_company +msgid "Companies" +msgstr "Sociétés" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_config_settings +#, fuzzy +msgid "Config Settings" +msgstr "account.config.settings" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__display_name +msgid "Display Name" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "Embed PDF in UBL XML Invoice" +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_move_form +msgid "Generate UBL XML File" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__id +msgid "ID" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,help:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,help:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "" +"If active, the standalone UBL Invoice XML file will include the PDF of the " +"invoice in base64 under the node 'AdditionalDocumentReference'. For example, " +"to be compliant with the e-fff standard used in Belgium, you should activate " +"this option." +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_account_config_settings +msgid "Include the PDF of the invoice in the standalone UBL Invoice XML file." +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings____last_update +msgid "Last Modified on" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_ir_actions_report +msgid "Report Action" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields.selection,name:account_invoice_ubl.selection__res_company__xml_format_in_pdf_invoice__ubl +msgid "Universal Business Language (UBL)" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/hr.po b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/hr.po new file mode 100644 index 0000000..9fab9a0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/hr.po @@ -0,0 +1,104 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-11-14 16:34+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 3.8\n" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_company +msgid "Companies" +msgstr "Tvrtke" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_config_settings +msgid "Config Settings" +msgstr "Postavke" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__display_name +msgid "Display Name" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "Embed PDF in UBL XML Invoice" +msgstr "Pridruži PDF u UBL XML datuteku" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_move_form +msgid "Generate UBL XML File" +msgstr "Generiraj UBL XML datoteku" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__id +msgid "ID" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,help:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,help:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "" +"If active, the standalone UBL Invoice XML file will include the PDF of the " +"invoice in base64 under the node 'AdditionalDocumentReference'. For example, " +"to be compliant with the e-fff standard used in Belgium, you should activate " +"this option." +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_account_config_settings +msgid "Include the PDF of the invoice in the standalone UBL Invoice XML file." +msgstr "Uključi PDF računa u samostalnu UBL XML datoteku." + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings____last_update +msgid "Last Modified on" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_ir_actions_report +msgid "Report Action" +msgstr "Akcija izvještaja" + +#. module: account_invoice_ubl +#: model:ir.model.fields.selection,name:account_invoice_ubl.selection__res_company__xml_format_in_pdf_invoice__ubl +msgid "Universal Business Language (UBL)" +msgstr "Universal Business Language (UBL)" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "XML format ugnježđen u PDF datoteku" + +#~ msgid "Invoice" +#~ msgstr "Račun" + +#~ msgid "None" +#~ msgstr "Ništa" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/it.po b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/it.po new file mode 100644 index 0000000..81b7d00 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/it.po @@ -0,0 +1,71 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_company +msgid "Companies" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "Embed PDF in UBL XML Invoice" +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_move_form +msgid "Generate UBL XML File" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,help:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,help:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "" +"If active, the standalone UBL Invoice XML file will include the PDF of the " +"invoice in base64 under the node 'AdditionalDocumentReference'. For example," +" to be compliant with the e-fff standard used in Belgium, you should " +"activate this option." +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_account_config_settings +msgid "Include the PDF of the invoice in the standalone UBL Invoice XML file." +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_ir_actions_report +msgid "Report Action" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields.selection,name:account_invoice_ubl.selection__res_company__xml_format_in_pdf_invoice__ubl +msgid "Universal Business Language (UBL)" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/nl.po b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/nl.po new file mode 100644 index 0000000..f48d05e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/i18n/nl.po @@ -0,0 +1,97 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_invoice_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-12-14 00:28+0000\n" +"Last-Translator: Bosd \n" +"Language-Team: none\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_company +msgid "Companies" +msgstr "Bedrijven" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_res_config_settings +msgid "Config Settings" +msgstr "Configuratie instellingen" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__display_name +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__display_name +msgid "Display Name" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "Embed PDF in UBL XML Invoice" +msgstr "Geintegreerde PDF in UBL XML Factuur" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_move_form +msgid "Generate UBL XML File" +msgstr "Genereer UBL XML bestand" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__id +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings__id +msgid "ID" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,help:account_invoice_ubl.field_res_company__embed_pdf_in_ubl_xml_invoice +#: model:ir.model.fields,help:account_invoice_ubl.field_res_config_settings__embed_pdf_in_ubl_xml_invoice +msgid "" +"If active, the standalone UBL Invoice XML file will include the PDF of the " +"invoice in base64 under the node 'AdditionalDocumentReference'. For example, " +"to be compliant with the e-fff standard used in Belgium, you should activate " +"this option." +msgstr "" + +#. module: account_invoice_ubl +#: model_terms:ir.ui.view,arch_db:account_invoice_ubl.view_account_config_settings +msgid "Include the PDF of the invoice in the standalone UBL Invoice XML file." +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_account_move____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_ir_actions_report____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company____last_update +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_config_settings____last_update +msgid "Last Modified on" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model,name:account_invoice_ubl.model_ir_actions_report +msgid "Report Action" +msgstr "" + +#. module: account_invoice_ubl +#: model:ir.model.fields.selection,name:account_invoice_ubl.selection__res_company__xml_format_in_pdf_invoice__ubl +msgid "Universal Business Language (UBL)" +msgstr "Universal Business Language (UBL)" + +#. module: account_invoice_ubl +#: model:ir.model.fields,field_description:account_invoice_ubl.field_res_company__xml_format_in_pdf_invoice +msgid "XML Format embedded in PDF invoice" +msgstr "XML Formaat gebruikt in de PDF factuur" diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/__init__.py new file mode 100644 index 0000000..2b752aa --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/__init__.py @@ -0,0 +1,6 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import res_company +from . import res_config_settings +from . import account_move +from . import ir_actions_report diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/account_move.py b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/account_move.py new file mode 100644 index 0000000..44ba88e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/account_move.py @@ -0,0 +1,574 @@ +# Copyright 2016-2017 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# Copyright 2019 Onestein () +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +import base64 +import io +import logging + +from lxml import etree + +from odoo import fields, models +from odoo.tools import float_is_zero, float_round + +logger = logging.getLogger(__name__) + + +class AccountMove(models.Model): + _name = "account.move" + _inherit = ["account.move", "base.ubl"] + + def _ubl_add_header(self, parent_node, ns, version="2.1"): + self.ensure_one() + ubl_version = etree.SubElement(parent_node, ns["cbc"] + "UBLVersionID") + ubl_version.text = version + doc_id = etree.SubElement(parent_node, ns["cbc"] + "ID") + doc_id.text = self.name + issue_date = etree.SubElement(parent_node, ns["cbc"] + "IssueDate") + issue_date.text = self.invoice_date.strftime("%Y-%m-%d") + if ( + self.invoice_date_due + and version >= "2.1" + and self.move_type == "out_invoice" + ): + due_date = etree.SubElement(parent_node, ns["cbc"] + "DueDate") + due_date.text = fields.Date.to_string(self.invoice_date_due) + if self.move_type == "out_invoice": + type_code = etree.SubElement(parent_node, ns["cbc"] + "InvoiceTypeCode") + elif self.move_type == "out_refund": + type_code = etree.SubElement(parent_node, ns["cbc"] + "CreditNoteTypeCode") + type_code.text = self._ubl_get_invoice_type_code() + if self.narration: + note = etree.SubElement(parent_node, ns["cbc"] + "Note") + note.text = self.narration + doc_currency = etree.SubElement(parent_node, ns["cbc"] + "DocumentCurrencyCode") + doc_currency.text = self.currency_id.name + # TODO: enable when below commit of 15.0 is back ported to 14.0 + # [IMP] account_edi(_*): Standalone UBL format + edi.format inheritance + # https://github.com/odoo/odoo/commit/b58810a77bb4c432a6aef18413659b1ea7b25c71 + # or when migrating to 15.0 + # buyer_reference = etree.SubElement(parent_node, ns["cbc"] + "BuyerReference") + # buyer_reference.text = self.ref or "" + + def _ubl_get_invoice_type_code(self): + if self.move_type == "out_invoice": + return "380" + elif self.move_type == "out_refund": + return "381" + + def _ubl_get_order_reference(self): + """An identifier of a referenced purchase order, issued by the Buyer""" + return self.ref or "/" + + def _ubl_get_salesorder_reference(self): + """An identifier of a referenced sales order, issued by the Seller""" + return self.invoice_origin + + def _ubl_add_order_reference(self, parent_node, ns, version="2.1"): + self.ensure_one() + buyer_ref = self._ubl_get_order_reference() + seller_ref = self._ubl_get_salesorder_reference() + if buyer_ref or seller_ref: + node = etree.SubElement(parent_node, ns["cac"] + "OrderReference") + if buyer_ref: + node_id = etree.SubElement(node, ns["cbc"] + "ID") + node_id.text = buyer_ref + if seller_ref: + node_salesorderid = etree.SubElement(node, ns["cbc"] + "SalesOrderID") + node_salesorderid.text = seller_ref + + def _ubl_get_buyer_reference(self): + return self.partner_id.name + + def _ubl_add_buyer_reference(self, parent_node, ns, version="2.1"): + self.ensure_one() + buyer_ref = self._ubl_get_buyer_reference() + if buyer_ref: + buyer_order_ref = etree.SubElement( + parent_node, ns["cbc"] + "BuyerReference" + ) + buyer_order_ref.text = buyer_ref + + def _ubl_get_contract_document_reference_dict(self): + """Result: dict with key = Doc Type Code, value = ID""" + self.ensure_one() + return {} + + def _ubl_add_contract_document_reference(self, parent_node, ns, version="2.1"): + self.ensure_one() + cdr_dict = self._ubl_get_contract_document_reference_dict() + for doc_type_code, doc_id in cdr_dict.items(): + cdr = etree.SubElement(parent_node, ns["cac"] + "ContractDocumentReference") + cdr_id = etree.SubElement(cdr, ns["cbc"] + "ID") + cdr_id.text = doc_id + cdr_type_code = etree.SubElement(cdr, ns["cbc"] + "DocumentTypeCode") + cdr_type_code.text = doc_type_code + + def _ubl_add_attachments(self, parent_node, ns, version="2.1"): + self.ensure_one() + if self.company_id.embed_pdf_in_ubl_xml_invoice and not self.env.context.get( + "no_embedded_pdf" + ): + filename = "Invoice-" + self.name + ".pdf" + docu_reference = etree.SubElement( + parent_node, ns["cac"] + "AdditionalDocumentReference" + ) + docu_reference_id = etree.SubElement(docu_reference, ns["cbc"] + "ID") + docu_reference_id.text = filename + attach_node = etree.SubElement(docu_reference, ns["cac"] + "Attachment") + binary_node = etree.SubElement( + attach_node, + ns["cbc"] + "EmbeddedDocumentBinaryObject", + mimeCode="application/pdf", + filename=filename, + ) + ctx = dict() + ctx["no_embedded_ubl_xml"] = True + ctx["force_report_rendering"] = True + pdf_inv = ( + self.env["ir.actions.report"] + .with_context(**ctx) + ._render_qweb_pdf("account.account_invoices", [self.id])[0] + ) + binary_node.text = base64.b64encode(pdf_inv) + + def _ubl_get_invoice_vat_exclusive_amount(self): + amount = self.amount_untaxed + # Add also non-VAT taxes that are not subjected to VAT + for tline in self.line_ids: + if not tline.tax_line_id: + continue + if tline.tax_line_id.unece_type_id.code != "VAT": + sign = 1 if tline.is_refund else -1 + amount += sign * tline.balance + return amount + + def _ubl_get_invoice_vat_amount(self): + amount = self.amount_tax + # Remove non-VAT taxes that are not subjected to VAT + for tline in self.line_ids: + if not tline.tax_line_id: + continue + if tline.tax_line_id.unece_type_id.code != "VAT": + sign = 1 if tline.is_refund else -1 + amount -= sign * tline.balance + return amount + + def _ubl_get_charge_total_amount(self): + amount = 0.0 + for tline in self.line_ids: + if not tline.tax_line_id: + continue + if tline.tax_line_id.unece_type_id.code != "VAT": + if not tline.tax_line_id.include_base_amount: + # For non-VAT taxes, not subject to VAT, they are declared + # as AllowanceCharge + sign = 1 if tline.is_refund else -1 + amount += sign * tline.balance + return amount + + def _ubl_add_legal_monetary_total(self, parent_node, ns, version="2.1"): + self.ensure_one() + monetary_total = etree.SubElement(parent_node, ns["cac"] + "LegalMonetaryTotal") + cur_name = self.currency_id.name + prec = self.currency_id.decimal_places + line_total = etree.SubElement( + monetary_total, ns["cbc"] + "LineExtensionAmount", currencyID=cur_name + ) + line_total.text = "%0.*f" % (prec, self.amount_untaxed) + tax_excl_total = etree.SubElement( + monetary_total, ns["cbc"] + "TaxExclusiveAmount", currencyID=cur_name + ) + tax_excl_total.text = "%0.*f" % ( + prec, + self._ubl_get_invoice_vat_exclusive_amount(), + ) + tax_incl_total = etree.SubElement( + monetary_total, ns["cbc"] + "TaxInclusiveAmount", currencyID=cur_name + ) + tax_incl_total.text = "%0.*f" % (prec, self.amount_total) + charge_total_amount = self._ubl_get_charge_total_amount() + if charge_total_amount: + el_charge_total_amount = etree.SubElement( + monetary_total, ns["cbc"] + "ChargeTotalAmount", currencyID=cur_name + ) + el_charge_total_amount.text = "%0.*f" % (prec, charge_total_amount) + prepaid_amount = etree.SubElement( + monetary_total, ns["cbc"] + "PrepaidAmount", currencyID=cur_name + ) + prepaid_value = self.amount_total - self.amount_residual + prepaid_amount.text = "%0.*f" % (prec, prepaid_value) + payable_amount = etree.SubElement( + monetary_total, ns["cbc"] + "PayableAmount", currencyID=cur_name + ) + payable_amount.text = "%0.*f" % (prec, self.amount_residual) + + def _ubl_get_invoice_line_price_unit(self, iline): + """Compute the base unit price without taxes""" + price = iline.price_unit + qty = 1.0 + if iline.tax_ids: + tax_incl = any(t.price_include for t in iline.tax_ids) + if tax_incl: + # To prevent rounding issue, we must declare tax excluded price + # for the total quantity + qty = iline.quantity + taxes = iline.tax_ids.compute_all( + price, + self.currency_id, + qty, + product=iline.product_id, + partner=self.partner_id, + ) + if taxes: + price = taxes["total_excluded"] + dpo = self.env["decimal.precision"] + price_precision = dpo.precision_get("Product Price") + return price, price_precision, qty + + def _ubl_get_invoice_line_discount(self, iline, base_price, base_qty): + # Formula: Net amount = Invoiced quantity * (Item net price/item price + # base quantity) + Sum of invoice line charge amount - sum of invoice + # line allowance amount + discount = iline.quantity / base_qty * base_price - iline.price_subtotal + dpo = self.env["decimal.precision"] + price_precision = dpo.precision_get("Product Price") + discount = float_round(discount, precision_digits=price_precision) + return discount, price_precision + + def _ubl_add_invoice_line_discount( + self, xml_root, iline, base_price, base_qty, ns, version="2.1" + ): + discount, prec = self._ubl_get_invoice_line_discount( + iline, base_price, base_qty + ) + if float_is_zero(discount, precision_digits=prec): + return + charge_node = etree.SubElement(xml_root, ns["cac"] + "AllowanceCharge") + charge_indicator_node = etree.SubElement( + charge_node, ns["cbc"] + "ChargeIndicator" + ) + charge_indicator_node.text = "false" + charge_reason_code_node = etree.SubElement( + charge_node, ns["cbc"] + "AllowanceChargeReasonCode" + ) + charge_reason_code_node.text = "95" + charge_reason_node = etree.SubElement( + charge_node, ns["cbc"] + "AllowanceChargeReason" + ) + charge_reason_node.text = "Discount" + charge_amount_node = etree.SubElement( + charge_node, ns["cbc"] + "Amount", currencyID=self.currency_id.name + ) + charge_amount_node.text = "%0.*f" % (prec, discount) + + def _ubl_add_invoice_line(self, parent_node, iline, line_number, ns, version="2.1"): + self.ensure_one() + cur_name = self.currency_id.name + if self.move_type == "out_invoice": + line_root = etree.SubElement(parent_node, ns["cac"] + "InvoiceLine") + elif self.move_type == "out_refund": + line_root = etree.SubElement(parent_node, ns["cac"] + "CreditNoteLine") + dpo = self.env["decimal.precision"] + qty_precision = dpo.precision_get("Product Unit of Measure") + account_precision = self.currency_id.decimal_places + line_id = etree.SubElement(line_root, ns["cbc"] + "ID") + line_id.text = str(line_number) + uom_unece_code = False + # product_uom_id is not a required field on account.move.line + if self.move_type == "out_invoice": + qty_element_name = "InvoicedQuantity" + elif self.move_type == "out_refund": + qty_element_name = "CreditedQuantity" + if iline.product_uom_id.unece_code: + uom_unece_code = iline.product_uom_id.unece_code + quantity = etree.SubElement( + line_root, ns["cbc"] + qty_element_name, unitCode=uom_unece_code + ) + else: + quantity = etree.SubElement(line_root, ns["cbc"] + qty_element_name) + qty = iline.quantity + quantity.text = "%0.*f" % (qty_precision, qty) + base_price, price_precision, base_qty = self._ubl_get_invoice_line_price_unit( + iline + ) + line_amount = etree.SubElement( + line_root, ns["cbc"] + "LineExtensionAmount", currencyID=cur_name + ) + line_amount.text = "%0.*f" % (account_precision, iline.price_subtotal) + self._ubl_add_invoice_line_discount( + line_root, iline, base_price, base_qty, ns, version=version + ) + self._ubl_add_item( + iline.name, + iline.product_id, + line_root, + ns, + type_="sale", + version=version, + ) + price_node = etree.SubElement(line_root, ns["cac"] + "Price") + price_amount = etree.SubElement( + price_node, ns["cbc"] + "PriceAmount", currencyID=cur_name + ) + price_amount.text = "%0.*f" % (price_precision, base_price) + if uom_unece_code: + base_qty_node = etree.SubElement( + price_node, ns["cbc"] + "BaseQuantity", unitCode=uom_unece_code + ) + else: + base_qty_node = etree.SubElement(price_node, ns["cbc"] + "BaseQuantity") + base_qty_node.text = "%0.*f" % (qty_precision, base_qty) + + def _ubl_add_tax_total(self, xml_root, ns, version="2.1"): + self.ensure_one() + cur_name = self.currency_id.name + prec = self.currency_id.decimal_places + + tax_lines = {} + for tline in self.line_ids: + sign = 1 if tline.is_refund else -1 + if tline.tax_line_id: + # There are as many tax line as there are repartition lines + tax_lines.setdefault( + tline.tax_line_id, + {"base": 0.0, "amount": 0.0}, + ) + tax_lines[tline.tax_line_id]["base"] += tline.tax_base_amount + tax_lines[tline.tax_line_id]["amount"] += sign * tline.balance + elif tline.tax_ids: + # In case there are no repartition lines + for tax in tline.tax_ids: + if not tline.is_refund and tax.invoice_repartition_line_ids: + continue + if tline.is_refund and tax.refund_repartition_line_ids: + continue + tax_lines.setdefault( + tax, + {"base": 0.0, "amount": 0.0}, + ) + tax_lines[tax]["base"] += sign * tline.balance + + exempt = 0.0 + exempt_taxes = self.line_ids.tax_line_id.browse() + for tax, amounts in tax_lines.items(): + if tax.unece_type_id.code != "VAT": + if tax.include_base_amount: + continue + exempt += amounts["amount"] + exempt_taxes |= tax + # For non-VAT taxes, not subject to VAT, declare as AllowanceCharge + charge_node = etree.SubElement(xml_root, ns["cac"] + "AllowanceCharge") + charge_indicator_node = etree.SubElement( + charge_node, ns["cbc"] + "ChargeIndicator" + ) + charge_indicator_node.text = "true" + charge_reason_code_node = etree.SubElement( + charge_node, ns["cbc"] + "AllowanceChargeReasonCode" + ) + charge_reason_code_node.text = "ABK" + charge_reason_node = etree.SubElement( + charge_node, ns["cbc"] + "AllowanceChargeReason" + ) + charge_reason_node.text = "Miscellaneous" + charge_amount_node = etree.SubElement( + charge_node, ns["cbc"] + "Amount", currencyID=cur_name + ) + charge_amount_node.text = "%0.*f" % (prec, amounts["amount"]) + self._ubl_add_tax_category(tax, charge_node, ns, version=version) + + tax_total_node = etree.SubElement(xml_root, ns["cac"] + "TaxTotal") + tax_amount_node = etree.SubElement( + tax_total_node, ns["cbc"] + "TaxAmount", currencyID=cur_name + ) + tax_amount_node.text = "%0.*f" % (prec, self._ubl_get_invoice_vat_amount()) + for tax, amounts in tax_lines.items(): + if tax.unece_type_id.code == "VAT": + self._ubl_add_tax_subtotal( + amounts["base"], + amounts["amount"], + tax, + cur_name, + tax_total_node, + ns, + version=version, + ) + + if not float_is_zero(exempt, precision_digits=prec): + self._ubl_add_tax_subtotal( + exempt, + 0, + exempt_taxes[0], + cur_name, + tax_total_node, + ns, + version=version, + ) + if len(exempt_taxes) > 1: + # xpath cac:TaxCategory/cbc:Name + exempt_node = tax_total_node[-1] + exempt_node = [ + e for e in list(exempt_node) if e.tag == ns["cac"] + "TaxCategory" + ][0] + exempt_node = [ + e for e in list(exempt_node) if e.tag == ns["cbc"] + "Name" + ][0] + exempt_node.text = " + ".join([e.name for e in exempt_taxes]) + + def generate_invoice_ubl_xml_etree(self, version="2.1"): + self.ensure_one() + if self.move_type == "out_invoice": + nsmap, ns = self._ubl_get_nsmap_namespace("Invoice-2", version=version) + xml_root = etree.Element("Invoice", nsmap=nsmap) + elif self.move_type == "out_refund": + nsmap, ns = self._ubl_get_nsmap_namespace("CreditNote-2", version=version) + xml_root = etree.Element("CreditNote", nsmap=nsmap) + self._ubl_add_header(xml_root, ns, version=version) + if version == "2.1": + self._ubl_add_buyer_reference(xml_root, ns, version=version) + self._ubl_add_order_reference(xml_root, ns, version=version) + self._ubl_add_contract_document_reference(xml_root, ns, version=version) + self._ubl_add_attachments(xml_root, ns, version=version) + self._ubl_add_supplier_party( + False, + self.company_id, + "AccountingSupplierParty", + xml_root, + ns, + version=version, + ) + self._ubl_add_customer_party( + self.partner_id, + False, + "AccountingCustomerParty", + xml_root, + ns, + version=version, + ) + # the field 'partner_shipping_id' is defined in the 'sale' module + if hasattr(self, "partner_shipping_id") and self.partner_shipping_id: + self._ubl_add_delivery(self.partner_shipping_id, xml_root, ns) + if self.move_type == "out_invoice": + # Put paymentmeans block even when invoice is paid ? + payment_identifier = self.get_payment_identifier() + self._ubl_add_payment_means( + self.partner_bank_id, + self.payment_mode_id, + self.invoice_date_due, + xml_root, + ns, + payment_identifier=payment_identifier, + version=version, + ) + if self.invoice_payment_term_id: + self._ubl_add_payment_terms( + self.invoice_payment_term_id, xml_root, ns, version=version + ) + self._ubl_add_tax_total(xml_root, ns, version=version) + self._ubl_add_legal_monetary_total(xml_root, ns, version=version) + + line_number = 0 + invoice_lines = self.invoice_line_ids.filtered( + lambda line: line.display_type not in ("line_note", "line_section") + ) + for iline in invoice_lines: + line_number += 1 + self._ubl_add_invoice_line( + xml_root, iline, line_number, ns, version=version + ) + return xml_root + + def generate_ubl_xml_string(self, version="2.1"): + self.ensure_one() + assert self.state == "posted" + assert self.move_type in ("out_invoice", "out_refund") + logger.debug("Starting to generate UBL XML Invoice file") + lang = self.get_ubl_lang() + # The aim of injecting lang in context + # is to have the content of the XML in the partner's lang + # but the problem is that the error messages will also be in + # that lang. But the error messages should almost never + # happen except the first days of use, so it's probably + # not worth the additional code to handle the 2 langs + xml_root = self.with_context(lang=lang).generate_invoice_ubl_xml_etree( + version=version + ) + xml_string = etree.tostring( + xml_root, pretty_print=True, encoding="UTF-8", xml_declaration=True + ) + if self.move_type == "out_invoice": + self._ubl_check_xml_schema(xml_string, "Invoice", version=version) + elif self.move_type == "out_refund": + self._ubl_check_xml_schema(xml_string, "CreditNote", version=version) + logger.debug( + "Invoice UBL XML file generated for account invoice ID %d " "(state %s)", + self.id, + self.state, + ) + logger.debug(xml_string.decode("utf-8")) + return xml_string + + def get_ubl_filename(self, version="2.1"): + """This method is designed to be inherited""" + if self.move_type == "out_invoice": + return "UBL-Invoice-%s.xml" % version + elif self.move_type == "out_refund": + return "UBL-CreditNote-%s.xml" % version + + def get_ubl_version(self): + return self.env.context.get("ubl_version") or "2.1" + + def get_ubl_lang(self): + self.ensure_one() + return self.partner_id.lang or "en_US" + + def _embed_ubl_xml_in_pdf(self, pdf_stream): + self.ensure_one() + if self.is_ubl_sale_invoice_posted(): + version = self.get_ubl_version() + xml_filename = self.get_ubl_filename(version=version) + xml_string = self.generate_ubl_xml_string(version=version) + pdf_content = pdf_stream["stream"].getvalue() + new_content = self.env["pdf.helper"].pdf_embed_xml( + pdf_content, + xml_filename, + xml_string, + ) + # Replace the current content. + pdf_stream["stream"].close() + pdf_stream["stream"] = io.BytesIO(new_content) + + def attach_ubl_xml_file_button(self): + self.ensure_one() + assert self.move_type in ("out_invoice", "out_refund") + assert self.state == "posted" + version = self.get_ubl_version() + xml_string = self.generate_ubl_xml_string(version=version) + filename = self.get_ubl_filename(version=version) + attach = ( + self.env["ir.attachment"] + .with_context(**{}) + .create( + { + "name": filename, + "res_id": self.id, + "res_model": self._name, + "datas": base64.b64encode(xml_string), + # If default_type = 'out_invoice' in context, 'type' + # would take 'out_invoice' value by default ! + "type": "binary", + } + ) + ) + action = self.env["ir.attachment"].action_get() + action.update({"res_id": attach.id, "views": False, "view_mode": "form,tree"}) + return action + + def is_ubl_sale_invoice_posted(self): + self.ensure_one() + is_ubl = self.company_id.xml_format_in_pdf_invoice == "ubl" + if is_ubl and self.is_sale_document() and self.state == "posted": + return True + return False diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/ir_actions_report.py b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/ir_actions_report.py new file mode 100644 index 0000000..ab17be1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/ir_actions_report.py @@ -0,0 +1,35 @@ +# Copyright 2016-2017 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# Copyright 2019 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import models + + +class IrActionsReport(models.Model): + _inherit = "ir.actions.report" + + def _render_qweb_pdf_prepare_streams(self, report_ref, data, res_ids=None): + # It works, but: + # - when you click on the "Print" button or use the "Print" menu, + # the XML file is regenerated even when the invoice is read from the attachment. + # - when you open the invoice from the attachment, you get the "original" XML + # file + collected_streams = super()._render_qweb_pdf_prepare_streams( + report_ref, data, res_ids=res_ids + ) + amo = self.env["account.move"] + invoice_reports = amo._get_invoice_report_names() + report_name = self._get_report(report_ref).report_name + if ( + collected_streams + and res_ids + and len(res_ids) == 1 + and report_name in invoice_reports + and not self.env.context.get("no_embedded_ubl_xml") + ): + move = amo.browse(res_ids) + if move._xml_format_in_pdf_invoice() == "ubl": + pdf_stream = collected_streams[move.id] + move._embed_ubl_xml_in_pdf(pdf_stream) + return collected_streams diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/res_company.py b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/res_company.py new file mode 100644 index 0000000..fa7345c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/res_company.py @@ -0,0 +1,20 @@ +# Copyright 2016-2018 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ResCompany(models.Model): + _inherit = "res.company" + + xml_format_in_pdf_invoice = fields.Selection( + selection_add=[("ubl", "Universal Business Language (UBL)")], default="ubl" + ) + embed_pdf_in_ubl_xml_invoice = fields.Boolean( + string="Embed PDF in UBL XML Invoice", + help="If active, the standalone UBL Invoice XML file will include the " + "PDF of the invoice in base64 under the node " + "'AdditionalDocumentReference'. For example, to be compliant with the " + "e-fff standard used in Belgium, you should activate this option.", + ) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/res_config_settings.py b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/res_config_settings.py new file mode 100644 index 0000000..08a71e0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/models/res_config_settings.py @@ -0,0 +1,14 @@ +# Copyright 2017 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + _inherit = "res.config.settings" + + embed_pdf_in_ubl_xml_invoice = fields.Boolean( + related="company_id.embed_pdf_in_ubl_xml_invoice", + readonly=False, + ) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/readme/CONFIGURE.rst b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/readme/CONFIGURE.rst new file mode 100644 index 0000000..5778a28 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/readme/CONFIGURE.rst @@ -0,0 +1,8 @@ +In the menu *Invoicing > Configuration > Settings > Invoicing*, under +*Electronic Invoices*, check the value of 2 options: + +* *XML Format embedded in PDF invoice* : if you want to have an UBL XML file + embedded inside the PDF invoice, set it to + *Universal Business Language (UBL)* +* if you work directly with XML invoices and you want to have the PDF invoice + in base64 inside the XML file, enable the *Embed PDF in UBL XML Invoice*. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..a2532da --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Alexis de Lattre +* Andrea Stirpe +* Foram Shah +* Jacques-Etienne Baudoux (BCIM) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/readme/DESCRIPTION.rst new file mode 100644 index 0000000..d69070e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/readme/DESCRIPTION.rst @@ -0,0 +1,12 @@ +This module adds support for UBL, the `Universal Business Language (UBL) +`_ standard, on invoices. The UBL 2.1 standard became the +`ISO/IEC 19845 `_ +standard in December 2015 (cf the `official announce +`_). + +With this module, you can generate customer invoices/refunds: + +* in PDF format with an embedded UBL XML file +* as an XML file with an optional embedded PDF file + +This module supports UBL version 2.1 (used by default) and 2.0. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/static/description/icon.png b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/static/description/index.html b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/static/description/index.html new file mode 100644 index 0000000..43a63c0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/static/description/index.html @@ -0,0 +1,460 @@ + + + + + +README.rst + + + +
    + + + +Odoo Community Association + +
    +

    Account Invoice UBL

    + +

    Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

    +

    This module adds support for UBL, the Universal Business Language (UBL) standard, on invoices. The UBL 2.1 standard became the +ISO/IEC 19845 +standard in December 2015 (cf the official announce).

    +

    With this module, you can generate customer invoices/refunds:

    +
      +
    • in PDF format with an embedded UBL XML file
    • +
    • as an XML file with an optional embedded PDF file
    • +
    +

    This module supports UBL version 2.1 (used by default) and 2.0.

    +

    Table of contents

    + +
    +

    Configuration

    +

    In the menu Invoicing > Configuration > Settings > Invoicing, under +Electronic Invoices, check the value of 2 options:

    +
      +
    • +
      XML Format embedded in PDF invoice : if you want to have an UBL XML file
      +
      embedded inside the PDF invoice, set it to +Universal Business Language (UBL)
      +
      +
    • +
    • if you work directly with XML invoices and you want to have the PDF invoice +in base64 inside the XML file, enable the Embed PDF in UBL XML Invoice.
    • +
    +
    +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Akretion
    • +
    • Onestein
    • +
    • BCIM
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    + +Odoo Community Association + +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    jbaudoux

    +

    This module is part of the OCA/edi project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    +
    + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/tests/__init__.py b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/tests/__init__.py new file mode 100644 index 0000000..8951637 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_ubl_generate diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/tests/common.py b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/tests/common.py new file mode 100644 index 0000000..60a1f6f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/tests/common.py @@ -0,0 +1,70 @@ +# Copyright 2016-2017 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# Copyright 2019 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + + +class TestUblInvoiceMixin: + def _create_invoice( + self, product=False, qty=1, price=12.42, discount=0, validate=True + ): + aio = self.env["account.move"] + ato = self.env["account.tax"] + company = self.env.ref("base.main_company") + taxes = ato.search( + [ + ("company_id", "=", company.id), + ("type_tax_use", "=", "sale"), + ("unece_type_id", "!=", False), + ("unece_categ_id", "!=", False), + ("amount_type", "=", "percent"), + ] + ) + if taxes: + tax = taxes[0] + else: + unece_type_id = self.env.ref("account_tax_unece.tax_type_vat").id + unece_categ_id = self.env.ref("account_tax_unece.tax_categ_s").id + tax = ato.create( + { + "name": "German VAT purchase 18.0%", + "description": "DE-VAT-sale-18.0", + "company_id": company.id, + "type_tax_use": "sale", + "price_include": False, + "amount": 18, + "amount_type": "percent", + "unece_type_id": unece_type_id, + "unece_categ_id": unece_categ_id, + } + ) + # validate invoice + if not product: + product = self.env.ref("product.product_product_4") + invoice = aio.create( + { + "partner_id": self.env.ref("base.res_partner_2").id, + "currency_id": self.env.ref("base.EUR").id, + "move_type": "out_invoice", + "company_id": company.id, + "name": "SO1242", + "invoice_line_ids": [ + ( + 0, + 0, + { + "product_id": product.id, + "product_uom_id": product.uom_id.id, + "quantity": qty, + "price_unit": price, + "discount": discount, + "name": product.name, + "tax_ids": [(6, 0, [tax.id])], + }, + ) + ], + } + ) + if validate: + invoice.action_post() + return invoice diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/tests/test_ubl_generate.py b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/tests/test_ubl_generate.py new file mode 100644 index 0000000..b246664 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/tests/test_ubl_generate.py @@ -0,0 +1,75 @@ +# Copyright 2016-2017 Akretion (http://www.akretion.com) +# @author: Alexis de Lattre +# Copyright 2019 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo.tests.common import HttpCase, tagged +from odoo.tools import mute_logger + +from ..hooks import ( + remove_ubl_xml_format_in_pdf_invoice, + set_xml_format_in_pdf_invoice_to_ubl, +) +from .common import TestUblInvoiceMixin + +MUTE_LOGGER = "odoo.addons.account_invoice_ubl.models.account_move" + +# Use http case to make PDF rendering work + + +@tagged("-at_install", "post_install") +class TestUblInvoice(HttpCase, TestUblInvoiceMixin): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + + # Reduce log noise on CI while rendering GET assets + @mute_logger("werkzeug") + def test_ubl_generate(self): + invoice = self._create_invoice() + if invoice.company_id.xml_format_in_pdf_invoice != "ubl": + invoice.company_id.xml_format_in_pdf_invoice = "ubl" + for version in ["2.0", "2.1"]: + pdf_file = ( + self.env["ir.actions.report"] + .with_context(ubl_version=version, force_report_rendering=True) + ._render_qweb_pdf("account.report_invoice_with_payments", invoice.ids)[ + 0 + ] + ) + res = self.env["pdf.helper"].pdf_get_xml_files(pdf_file) + invoice_filename = invoice.get_ubl_filename(version=version) + self.assertTrue(invoice_filename in res) + + @mute_logger("werkzeug") + def test_attach_ubl_xml_file_button(self): + invoice = self._create_invoice() + if invoice.company_id.xml_format_in_pdf_invoice != "ubl": + invoice.company_id.xml_format_in_pdf_invoice = "ubl" + self.assertFalse(invoice.company_id.embed_pdf_in_ubl_xml_invoice) + with mute_logger(MUTE_LOGGER): + action = invoice.attach_ubl_xml_file_button() + self.assertEqual(action["res_model"], "ir.attachment") + self.assertEqual(action["view_mode"], "form,tree") + self.assertFalse(action["views"]) + invoice.company_id.embed_pdf_in_ubl_xml_invoice = True + with mute_logger(MUTE_LOGGER): + action = invoice.attach_ubl_xml_file_button() + self.assertEqual(action["res_model"], "ir.attachment") + self.assertEqual(action["view_mode"], "form,tree") + self.assertFalse(action["views"]) + + def test_install_uninstall_hooks(self): + set_xml_format_in_pdf_invoice_to_ubl(self.env.cr, None) + self.assertTrue( + self.env["res.company"].search([("xml_format_in_pdf_invoice", "=", "ubl")]) + ) + remove_ubl_xml_format_in_pdf_invoice(self.env.cr, None) + self.assertFalse( + self.env["res.company"].search([("xml_format_in_pdf_invoice", "=", "ubl")]) + ) + set_xml_format_in_pdf_invoice_to_ubl(self.env.cr, None) + self.assertTrue( + self.env["res.company"].search([("xml_format_in_pdf_invoice", "=", "ubl")]) + ) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/views/account_move.xml b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/views/account_move.xml new file mode 100644 index 0000000..ae9520e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/views/account_move.xml @@ -0,0 +1,21 @@ + + + + + account.move + + + + + + diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/views/res_config_settings.xml b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/views/res_config_settings.xml new file mode 100644 index 0000000..70438a0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/account_invoice_ubl/views/res_config_settings.xml @@ -0,0 +1,29 @@ + + + + + res.config.settings + + + +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/ARCHITECTURE.md new file mode 100644 index 0000000..52cf897 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Account_invoice_ubl Module - account_invoice_ubl + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/CONFIGURATION.md new file mode 100644 index 0000000..6248a2d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for account_invoice_ubl. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/DEPENDENCIES.md new file mode 100644 index 0000000..a0d7f79 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/DEPENDENCIES.md @@ -0,0 +1,9 @@ +# Dependencies + +This addon depends on: + +- [account_einvoice_generate](../../odoo-bringout-oca-edi-framework-account_einvoice_generate) +- account_payment_partner +- [base_ubl_payment](../../odoo-bringout-oca-edi-base_ubl_payment) +- account_tax_unece +- [pdf_helper](../../odoo-bringout-oca-edi-framework-pdf_helper) diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/FAQ.md b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/FAQ.md new file mode 100644 index 0000000..29a8dcb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon account_invoice_ubl or install in UI. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/INSTALL.md new file mode 100644 index 0000000..885f64b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-account_invoice_ubl" +# or +uv pip install odoo-bringout-oca-edi-framework-account_invoice_ubl" +``` diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/MODELS.md b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/MODELS.md new file mode 100644 index 0000000..b0d948d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/MODELS.md @@ -0,0 +1,15 @@ +# Models + +Detected core models and extensions in account_invoice_ubl. + +```mermaid +classDiagram + class account_move + class ir_actions_report + class res_company + class res_config_settings +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/OVERVIEW.md new file mode 100644 index 0000000..2f6239c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: account_invoice_ubl. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon account_invoice_ubl +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/USAGE.md b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/USAGE.md new file mode 100644 index 0000000..e167294 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_invoice_ubl +``` diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-account_invoice_ubl/pyproject.toml b/odoo-bringout-oca-edi-framework-account_invoice_ubl/pyproject.toml new file mode 100644 index 0000000..5713a97 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-account_invoice_ubl/pyproject.toml @@ -0,0 +1,46 @@ +[project] +name = "odoo-bringout-oca-edi-framework-account_invoice_ubl" +version = "16.0.0" +description = "Account Invoice UBL - Generate UBL XML file for customer invoices/refunds" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-framework-account_einvoice_generate>=16.0.0", + "odoo-bringout-oca-edi-framework-account_payment_partner>=16.0.0", + "odoo-bringout-oca-edi-framework-base_ubl_payment>=16.0.0", + "odoo-bringout-oca-edi-framework-account_tax_unece>=16.0.0", + "odoo-bringout-oca-edi-framework-pdf_helper>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["account_invoice_ubl"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/README.md b/odoo-bringout-oca-edi-framework-base_business_document_import/README.md new file mode 100644 index 0000000..e779b83 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/README.md @@ -0,0 +1,46 @@ +# Base Business Document Import + +Odoo addon: base_business_document_import + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-base_business_document_import +``` + +## Dependencies + +This addon depends on: +- account_tax_unece +- uom_unece +- pdf_helper + +## Manifest Information + +- **Name**: Base Business Document Import +- **Version**: 16.0.1.1.0 +- **Category**: Tools +- **License**: AGPL-3 +- **Installable**: False + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `base_business_document_import`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/README.rst b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/README.rst new file mode 100644 index 0000000..4d516c6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/README.rst @@ -0,0 +1,93 @@ +============================= +Base Business Document Import +============================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:4e4f7faf9bc268c730ec499517e45e2b4f10e78f7b99256b2c3ed313f53df047 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_business_document_import + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_business_document_import + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This is a technical module ; it doesn't bring any useful feature by itself. This module is the base modules for 2 other modules : + +* *account_invoice_import* which imports supplier invoices as PDF or XML files (this module also requires some additional modules such as *account_invoice_import_invoice2data*, *account_invoice_import_ubl*, etc... to support specific invoice formats), + +* *sale_invoice_import* which imports sale orders as CSV, XML or PDF files (this module also requires some additional modules such as *sale_invoice_import_csv* or *sale_invoice_import_ubl* to support specific order formats) + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion +* Nicolas JEUDY + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre +* Nicolas JEUDY +* Jacques-Etienne Baudoux +* Phuc (Tran Thanh) +* Simone Orsi + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/__init__.py b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/__manifest__.py b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/__manifest__.py new file mode 100644 index 0000000..b717ec8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright 2016-2021 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Base Business Document Import", + "version": "16.0.1.1.0", + "category": "Tools", + "license": "AGPL-3", + "summary": "Provides technical tools to import sale orders or supplier invoices", + "author": "Akretion, Nicolas JEUDY, Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/edi", + "depends": [ + # OCA/community-data-files + "account_tax_unece", + "uom_unece", + "pdf_helper", + ], +} diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/base_business_document_import.pot b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/base_business_document_import.pot new file mode 100644 index 0000000..7faebfe --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/base_business_document_import.pot @@ -0,0 +1,372 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "(fixed)" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

    Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

    • UNECE code: " +"%(code)s
    • Name of the unit of measure: %(name)s

    So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

    " +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been " +"updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information extracted from the business document:\n" +"Account code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information extracted from the business document:\n" +"Journal code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax Included in Price' = '%(price)s' which correspond to the following information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company '%(company)s' " +"(%(vat)s) in which you are trying to import this document." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the " +"symbol/ISO code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is " +"disabled." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier %(partner)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/cs_CZ.po b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/cs_CZ.po new file mode 100644 index 0000000..a7795f8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/cs_CZ.po @@ -0,0 +1,445 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +# Translators: +# Lukáš Spurný , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-22 03:40+0000\n" +"PO-Revision-Date: 2018-02-22 03:40+0000\n" +"Last-Translator: Lukáš Spurný , 2018\n" +"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/" +"teams/23907/cs_CZ/)\n" +"Language: cs_CZ\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "(fixed)" +msgstr "(Úprávy)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "Poznámky v souboru %s:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "Poznámky v importovaném dokumentu:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

    Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

    • UNECE code: " +"%(code)s
    • Name of the unit of measure: %(name)s

    So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

    " +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Společné metody importu obchodních dokumentů" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "IBAN %s není platný, takže byl ignorován." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "Není uvedena žádná měna, takže Odoo použil měnu společnosti (%s)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information " +"extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information " +"extracted from the business document:\n" +"Account code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following " +"information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information " +"extracted from the business document:\n" +"Journal code: %s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information " +"extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following " +"information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax " +"Included in Price' = '%(price)s' which correspond to the following " +"information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company " +"'%(company)s' (%(vat)s) in which you are trying to import this document." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the symbol/" +"ISO code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" +"Analýza obchodního dokladu vrátila jako symbol měny symbol '%s'. Ale v Odoo " +"neexistuje žádný nebo několik měn s tímto symbolem." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is disabled." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier " +"%(partner)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"Existující řádek '%s' nemá žádný produkt, takže 1 řádky nebyly aktualizovány." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" +"Produkt '%s' se používá na několika existujících linkách, takže řádky nebyly " +"aktualizovány." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" +"Produkt '%s' se používá na několika importovaných řádcích, takže 1 řádky " +"nebyly aktualizovány." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "zákazník" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "partner" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "dodavatele" + +#, python-format +#~ msgid "" +#~ "

    Odoo couldn't find any unit of measure corresponding to the following " +#~ "information extracted from the business document:

    • UNECE code: " +#~ "%s
    • Name of the unit of measure: %s

    So the unit of " +#~ "measure 'Unit(s)' has been used. You may have to change it manually.

    " +#~ msgstr "" +#~ "Společnost Odoo nemohla najít žádnou měrnou jednotku, která by odpovídala " +#~ "těmto informacím získaným z obchodního dokladu: Kód UNECE %s Náměrová " +#~ "jednotka: %s Je použita měrná jednotka 'Jednotky)' Musíte ji ručně změnit." + +#, python-format +#~ msgid "Approximate match: account %s has been matched with account %s" +#~ msgstr "Přibližná shoda: účet %s byl přiřazen účtu %s" + +#~ msgid "Display Name" +#~ msgstr "Zobrazovaný název" + +#, python-format +#~ msgid "" +#~ "For product '%s', the unit of measure is %s on the existing line, but it " +#~ "is %s on the imported line. We don't support this scenario for the " +#~ "moment, so the lines haven't been updated." +#~ msgstr "" +#~ "U produktu '%s' je měrnou jednotkou %s na existujícím řádku, ale na " +#~ "importované řádce je %s. Momentálně nepodporujeme tento scénář, takže 1 " +#~ "řádky nebyly aktualizovány." + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Poslední změna dne" + +#, fuzzy, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the currency " +#~ "symbol or ISO code. But there are none or several currencies with the " +#~ "symbol/ISO code in Odoo." +#~ msgstr "" +#~ "Analýza obchodního dokladu vrátila hodnotu \"%s\" jako symbol měny nebo " +#~ "kód ISO. Neexistuje však žádná měna se symbolem ani kódem ISO v Odoo." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the unit of " +#~ "measure UNECE code, but there is no unit of measure with that UNECE code " +#~ "in Odoo. Please check the configuration of the units of measures in Odoo." +#~ msgstr "" +#~ "Analýza obchodního dokladu vrátila \"%s\" jako měrnou jednotku UNECE, " +#~ "avšak s tímto kódem UNECE v Odoo neexistuje žádná měrná jednotka. " +#~ "Zkontrolujte prosím konfiguraci jednotek opatření v Odoo." diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/es.po b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/es.po new file mode 100644 index 0000000..121da66 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/es.po @@ -0,0 +1,498 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-11-03 20:37+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "(fixed)" +msgstr "(fijado)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "Notas en el archivo %s:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "Notas en el documento importado:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

    Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

    • UNECE code: " +"%(code)s
    • Name of the unit of measure: %(name)s

    So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

    " +msgstr "" +"

    Odoo no pudo encontrar ninguna unidad de medida correspondiente a la " +"siguiente información extraída del documento comercial:

    • Código " +"UNECE: %(code)s
    • Nombre de la unidad de medida: %(name)s
    • Entonces se ha utilizado la unidad de medida 'Unidad(es)'. Puede " +"que tenga que cambiarlo manualmente.

      " + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" +"Coincidencia aproximada: la cuenta %(account)s ha coincidido con la cuenta " +"%(matched_account)s" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Métodos habituales para importar documentos comerciales" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "No se pudo encontrar ningún Incotérmino en Odoo que corresponda a '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been updated." +msgstr "" +"Para el producto '%(product)s', la unidad de medida es %(uom_product)s en la " +"línea existente, pero es %(uom_imported)s en la línea importada. No " +"admitimos este escenario por el momento, por lo que las líneas no se han " +"actualizado." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "El IBAN %s no es válido, por lo que se ha ignorado." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "La ID {id} de '{model}' no existe en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "Falta el número de IVA de la compañía \"%s\"" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "" +"No se especificó la moneda, por lo que Odoo utilizó la moneda de la compañía " +"(%s)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information " +"extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" +"Odoo no pudo encontrar ningún %(label)s correspondiente a la siguiente " +"información extraída del documento comercial:\n" +"Nombre: %(name)s\n" +"Número de IVA: %(vat)s\n" +"Referencia: %(ref)s\n" +"Correo electrónico: %(email)s\n" +"Sitio web: %(website)s\n" +"Código de estado: %(state)s\n" +"Código de país: %(country)s \n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information " +"extracted from the business document:\n" +"Account code: %s" +msgstr "" +"Odoo no pudo encontrar ninguna cuenta correspondiente a la siguiente " +"información extraída del documento comercial:\n" +"Código de cuenta: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following " +"information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" +"Odoo no pudo encontrar ninguna cuenta analítica correspondiente a la " +"siguiente información extraída del documento comercial:\n" +"Código de cuenta analítica: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information " +"extracted from the business document:\n" +"Journal code: %s" +msgstr "" +"Odoo no pudo encontrar ningún diario correspondiente a la siguiente " +"información extraída del documento comercial:\n" +"Código de diario: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information " +"extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" +"Odoo no pudo encontrar ningún producto correspondiente a la siguiente " +"información extraída del documento comercial:\n" +"Código de barras: %(barcode)s\n" +"Código de producto: %(product_code)s\n" +"Proveedor: %(supplier)s\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following " +"information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" +"Odoo no pudo encontrar ningún socio de envío correspondiente a la siguiente " +"información extraída del documento comercial:\n" +"Nombre: %(name)s\n" +"Número de IVA: %(vat)s\n" +"Referencia: %(ref)s\n" +"Correo electrónico: %(email)s\n" +"Sitio web: %(website)s\n" +"Calle: %(street)s\n" +"Calle2: %(street2)s\n" +"Ciudad: %(city)s\n" +"Código postal: %(zip)s\n" +"Código de estado: %(state)s\n" +"Código de país: %(country)s\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax " +"Included in Price' = '%(price)s' which correspond to the following " +"information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" +"Odoo no pudo encontrar ningún impuesto con 'Aplicación de impuestos' = " +"'%(tax)s' e 'Impuesto incluido en el precio' = '%(price)s' que corresponden " +"a la siguiente información extraída del documento comercial:\n" +"Código de tipo de impuesto CEPE: %(tax_type)s\n" +"Código de categoría fiscal de la CEPE: %(tax_cat)s\n" +"Código de fecha de vencimiento de la CEPE: %(tax_due_date)s\n" +"Monto del impuesto: %(amount)s %(amount_type)s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"Una de las líneas importadas no tiene ningún producto, por lo que las " +"líneas no se han actualizado." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" +"El %(label)s ha sido identificado por el nombre de dominio '%(domain)s' así " +"que por favor compruebe cuidadosamente que el %(label)s es correcto." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company " +"'%(company)s' (%(vat)s) in which you are trying to import this document." +msgstr "" +"El número de IVA del cliente escrito en el documento comercial " +"(%(parsed_vat)s) no coincide con el número de IVA de la empresa " +"'%(company)s' (%(vat)s) en la que intenta importar esto documento." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "El XMLID '%s' no existe en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" +"El análisis del documento comercial arrojó '%(code)s' como el código de país " +"para encontrar la moneda relacionada. Pero el país '%(name)s' no tiene " +"ninguna moneda relacionada configurada en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the symbol/" +"ISO code in Odoo." +msgstr "" +"El análisis del documento comercial arrojó '%(code)s' como símbolo de moneda " +"o código ISO. Pero no hay ninguna o varias monedas con el símbolo/código ISO " +"en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" +"El análisis del documento comercial arrojó '%(code)s' como la unidad de " +"medida del código UNECE, pero no hay ninguna unidad de medida con ese código " +"UNECE en Odoo. Por favor revise la configuración de las unidades de medidas " +"en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" +"El análisis del documento de negocio devolvió '%s' como código de país. Pero " +"no hay ningún país con ese código en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" +"El análisis del documento comercial arrojó '%s' como código de país para " +"encontrar la moneda relacionada. Pero no hay ningún país con ese código en " +"Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" +"El análisis del documento comercial devolvió '%s' como el código ISO de " +"divisa. Pero no hay divisa con ese código en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" +"El análisis del documento comercial arrojó '%s' como símbolo de divisa. Pero " +"no hay ninguna o varias divisas con ese símbolo en Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is disabled." +msgstr "" +"El análisis del documento comercial deolvió IBAN %(iban)s como cuenta " +"bancaria, pero no existe tal cuenta bancaria en Odoo vinculada al socio %(partner)s y " +"la opción de crear automáticamente cuentas bancarias al importar está " +"deshabilitada." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier " +"%(partner)s" +msgstr "" +"La cuenta bancaria IBAN %(iban)s se ha añadido automáticamente al " +"proveedor " +"%(partner)s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"La línea existente '%s' no tiene ningún producto, por lo que las líneas " +"no se han actualizado." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" +"El producto '%s' se utiliza en varias líneas existentes, por lo que las " +"líneas no se han actualizado." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" +"El producto '%s' se utiliza en varias líneas importadas, por lo que las " +"líneas no se han actualizado." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" +"El registro '{record}' es una instancia de '{record_model}', no de " +"'{target_model}'." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "Cliente" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "socio" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "proveedor" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax " +#~ "Included in Price' = '%(price)s' which correspond to the following " +#~ "information extracted from the business document:\n" +#~ "UNECE Tax Type code: %(tax_type)s\n" +#~ "UNECE Tax Category code: %(tax_cat)s\n" +#~ "UNECE Due Date code: %s(tax_due_date)\n" +#~ "Tax amount: %(amount)s %(amount_type)s" +#~ msgstr "" +#~ "Odoo no pudo encontrar ningún impuesto con 'Aplicación de impuestos' = " +#~ "'%(tax)s' e 'Impuestos incluidos en el precio' = '%(price)s' que " +#~ "corresponden a la siguiente información extraída del documento " +#~ "comercial:\n" +#~ "Código de tipo de impuesto de la UNECE (CEPE): %(tax_type)s\n" +#~ "Código de categoría fiscal de la UNECE (CEPE): %(tax_cat)s\n" +#~ "Código de fecha de vencimiento de la UNECE (CEPE): %s(tax_due_date)\n" +#~ "Monto del impuesto: %(amount)s %(amount_type)s" diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/fr.po b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/fr.po new file mode 100644 index 0000000..b0e5f8d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/fr.po @@ -0,0 +1,554 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-22 03:40+0000\n" +"PO-Revision-Date: 2022-08-07 07:06+0000\n" +"Last-Translator: Claude R Perrin \n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "(fixed)" +msgstr "(fixe)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "Notes dans le fichier %s:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "Notes dans le document importé :" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

      Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

      • UNECE code: " +"%(code)s
      • Name of the unit of measure: %(name)s

      So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

      " +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Méthodes courantes d'importation de documents commerciaux" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "Impossible de trouver un Incoterm dans Odoo correspondant à '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "IBAN %s n’est pas valide, il a donc été ignoré." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "Numéro de TVA manquant pour la société \"%s\"" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "" +"Aucune devise n'a été spécifiée, Odoo a donc utilisé la devise de la société " +"(%s)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information " +"extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information " +"extracted from the business document:\n" +"Account code: %s" +msgstr "" +"Odoo n'a pas trouvé de compte correspondant aux informations suivantes " +"extraites du document commercial :\n" +"Code du compte : %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following " +"information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" +"Odoo n'a pas trouvé de compte analytique correspondant aux informations " +"suivantes extraites du document commercial :\n" +"Code du compte analytique : %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information " +"extracted from the business document:\n" +"Journal code: %s" +msgstr "" +"Odoo n'a pas trouvé de journal correspondant aux informations suivantes " +"extraites du document commercial :\n" +"Code journal : %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information " +"extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following " +"information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax " +"Included in Price' = '%(price)s' which correspond to the following " +"information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"Une des lignes importées n'a pas de produit, donc les lignes n'ont pas " +"été mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company " +"'%(company)s' (%(vat)s) in which you are trying to import this document." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the symbol/" +"ISO code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" +"L'analyse du document commercial a retourné '%s' comme code de pays. Mais il " +"n'y a pas de pays avec ce code dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" +"L'analyse du document commercial a renvoyé '%s' comme code de pays pour " +"trouver la devise correspondante. Mais il n'y a pas de pays avec ce code " +"dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" +"L'analyse du document commercial a renvoyé '%s' comme code de pays pour " +"trouver la devise correspondante. Mais il n'y a pas de pays avec ce code " +"dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" +"L'analyse du document commercial a donné '%s' comme symbole de devise. Mais " +"il n'y a pas ou plusieurs devises avec ce symbole dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is disabled." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier " +"%(partner)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"La ligne existante '%s' n'a pas de produit, donc les lignes n'ont pas été " +"mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" +"Le produit '%s' est utilisé sur plusieurs lignes existantes, donc les " +"lignes n'ont pas été mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" +"Le produit '%s' est utilisé sur plusieurs lignes importées, donc les " +"lignes n'ont pas été mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "client" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "partenaire" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "sournisseur" + +#, python-format +#~ msgid "" +#~ "

      Odoo couldn't find any unit of measure corresponding to the following " +#~ "information extracted from the business document:

      • UNECE code: " +#~ "%s
      • Name of the unit of measure: %s

      So the unit of " +#~ "measure 'Unit(s)' has been used. You may have to change it manually.

      " +#~ msgstr "" +#~ "

      Odoo n'a pas trouvé d'unité de mesure correspondant aux informations " +#~ "suivantes extraites du document métier :

      • Code UNECE : %s
      • Nom de l'unité de mesure : %s

      L'unité de mesure " +#~ "'Unité(s)' a donc été utilisée. Vous devrez peut-être la modifier " +#~ "manuellement.

      " + +#, python-format +#~ msgid "Approximate match: account %s has been matched with account %s" +#~ msgstr "" +#~ "Correspondance approximative : le compte %s a été mis en correspondance " +#~ "avec le compte %s" + +#~ msgid "Display Name" +#~ msgstr "Afficher Nom" + +#, python-format +#~ msgid "" +#~ "For product '%s', the unit of measure is %s on the existing line, but it " +#~ "is %s on the imported line. We don't support this scenario for the " +#~ "moment, so the lines haven't been updated." +#~ msgstr "" +#~ "Pour le produit ' %s ', l’unité de mesure est %s sur la ligne existante, " +#~ "mais elle est sur %s la ligne importée. Nous ne prenons pas en charge ce " +#~ "scénario pour le moment, donc les lignes n’ont pas été mises à jour." + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Dernière modification le" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any product corresponding to the following information " +#~ "extracted from the business document:\n" +#~ "Barcode: %s\n" +#~ "Product code: %s\n" +#~ "Supplier: %s\n" +#~ msgstr "" +#~ "Odoo n'a pas pu trouver de produit correspondant aux informations " +#~ "suivantes extraites du document commercial :\n" +#~ "Barcode : %s\n" +#~ "Code produit : %s\n" +#~ "Fournisseur : %s\n" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any tax with 'Tax Application' = '%s' and 'Tax " +#~ "Included in Price' = '%s' which correspond to the following information " +#~ "extracted from the business document:\n" +#~ "UNECE Tax Type code: %s\n" +#~ "UNECE Tax Category code: %s\n" +#~ "UNECE Due Date code: %s\n" +#~ "Tax amount: %s %s" +#~ msgstr "" +#~ "Odoo n'a pas trouvé de taxe avec 'Tax Application' = '%s' et 'Tax " +#~ "Included in Price' = '%s' qui correspondent aux informations suivantes " +#~ "extraites du document commercial :\n" +#~ "Code de type de taxe CEE-ONU : %s\n" +#~ "Code de catégorie de taxe CEE-ONU : %s\n" +#~ "Code de la date d'échéance CEE-ONU : %s\n" +#~ "Montant de la taxe : %s %s" + +#, python-format +#~ msgid "" +#~ "The %s has been identified by the domain name '%s' so please check " +#~ "carefully that the %s is correct." +#~ msgstr "" +#~ "Le %s a été identifié par le nom de domaine '%s'. Veuillez vérifier " +#~ "soigneusement que le %s est correct." + +#, python-format +#~ msgid "" +#~ "The VAT number of the customer written in the business document (%s) " +#~ "doesn't match the VAT number of the company '%s' (%s) in which you are " +#~ "trying to import this document." +#~ msgstr "" +#~ "Le numéro de TVA du client indiqué dans le document commercial (%s) ne " +#~ "correspond pas au numéro de TVA de la société '%s' (%s) dans laquelle " +#~ "vous essayez d'importer ce document." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the country code " +#~ "to find the related currency. But the country '%s' doesn't have any " +#~ "related currency configured in Odoo." +#~ msgstr "" +#~ "L'analyse du document commercial a retourné '%s' comme code de pays pour " +#~ "trouver la devise associée. Mais le pays '%s' n'a pas de devise associée " +#~ "configurée dans Odoo." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the currency " +#~ "symbol or ISO code. But there are none or several currencies with the " +#~ "symbol/ISO code in Odoo." +#~ msgstr "" +#~ "L'analyse du document commercial a donné '%s' comme symbole monétaire ou " +#~ "code ISO. Mais il n'y a pas ou plusieurs devises avec ce symbole/code ISO " +#~ "dans Odoo." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the unit of " +#~ "measure UNECE code, but there is no unit of measure with that UNECE code " +#~ "in Odoo. Please check the configuration of the units of measures in Odoo." +#~ msgstr "" +#~ "L'analyse du document commercial a donné '%s' comme code d'unité de " +#~ "mesure UNECE, mais il n'y a pas d'unité de mesure avec ce code UNECE dans " +#~ "Odoo. Veuillez vérifier la configuration des unités de mesure dans Odoo." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned IBAN %s as bank " +#~ "account, but there is no such bank account in Odoo linked to partner %s and the option to " +#~ "automatically create bank accounts upon import is disabled." +#~ msgstr "" +#~ "L'analyse du document commercial a renvoyé IBAN %s comme compte " +#~ "bancaire, mais il n'y a pas de tel compte bancaire dans Odoo lié au " +#~ "partenaire %s et " +#~ "l'option de création automatique de comptes bancaires à l'importation est " +#~ "désactivée." + +#, python-format +#~ msgid "" +#~ "The bank account IBAN %s has been automatically added on the " +#~ "supplier %s" +#~ msgstr "" +#~ "Le compte bancaire IBAN %s a été automatiquement ajouté sur le " +#~ "fournisseur %s" diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/fr_FR.po b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/fr_FR.po new file mode 100644 index 0000000..9f10c2c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/fr_FR.po @@ -0,0 +1,598 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-04-15 17:46+0000\n" +"Last-Translator: Yves Le Doeuff \n" +"Language-Team: none\n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "(fixed)" +msgstr "(fixe)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "Notes dans le fichier %s:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "Notes dans le document importé:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

      Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

      • UNECE code: " +"%(code)s
      • Name of the unit of measure: %(name)s

      So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

      " +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Méthodes courantes d'importation de documents commerciaux" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "Impossible de trouver un Incoterm dans Odoo correspondant à '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "L'IBAN %s n'est pas valide, il a donc été ignoré." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "Numéro de TVA manquant pour la société '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "" +"Pas de devise précisée, donc Odoo a utilisé la devise (%s) de la société" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information " +"extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information " +"extracted from the business document:\n" +"Account code: %s" +msgstr "" +"Odoo n'a pas trouvé de compte correspondant aux informations suivantes " +"extraites du document commercial :\n" +"Code du compte : %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following " +"information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" +"Odoo n'a pas trouvé de compte analytique correspondant aux informations " +"suivantes extraites du document commercial :\n" +"Code du compte analytique : %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information " +"extracted from the business document:\n" +"Journal code: %s" +msgstr "" +"Odoo n'a pas trouvé de journal correspondant aux informations suivantes " +"extraites du document commercial :\n" +"Code journal : %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information " +"extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following " +"information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax " +"Included in Price' = '%(price)s' which correspond to the following " +"information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"Une des lignes importées n'a pas de produit, donc les lignes n'ont pas " +"été mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company " +"'%(company)s' (%(vat)s) in which you are trying to import this document." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the symbol/" +"ISO code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" +"L'analyse du document commercial a retourné '%s' comme code de pays. Mais il " +"n'y a pas de pays avec ce code dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" +"L'analyse du document commercial a renvoyé '%s' comme code de pays pour " +"trouver la devise correspondante. Mais il n'y a pas de pays avec ce code " +"dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" +"L'analyse du document commercial a donné '%s' comme code ISO de la devise. " +"Mais il n'y a pas de devise avec ce code dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" +"L'analyse du document commercial a donné '%s' comme symbole de devise. Mais " +"il n'y a pas ou plusieurs devises avec ce symbole dans Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is disabled." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier " +"%(partner)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"La ligne existante '%s' n'a pas de produit, donc les lignes n'ont pas été " +"mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" +"Le produit '%s' est utilisé sur plusieurs lignes existantes, donc les " +"lignes n'ont pas été mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" +"Le produit '%s' est utilisé sur plusieurs lignes importées, donc les " +"lignes n'ont pas été mises à jour." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "client" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "partenaire" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "fournisseur" + +#, python-format +#~ msgid "" +#~ "

      Odoo couldn't find any unit of measure corresponding to the following " +#~ "information extracted from the business document:

      • UNECE code: " +#~ "%s
      • Name of the unit of measure: %s

      So the unit of " +#~ "measure 'Unit(s)' has been used. You may have to change it manually.

      " +#~ msgstr "" +#~ "

      Odoo n'a pas trouvé d'unité de mesure correspondant aux informations " +#~ "suivantes extraites du document métier :

      • Code UNECE : %s
      • Nom de l'unité de mesure : %s

      L'unité de mesure " +#~ "'Unité(s)' a donc été utilisée. Vous devrez peut-être la modifier " +#~ "manuellement.

      " + +#, python-format +#~ msgid "Approximate match: account %s has been matched with account %s" +#~ msgstr "" +#~ "Correspondance approximative : le compte %s a été mis en correspondance " +#~ "avec le compte %s" + +#~ msgid "Display Name" +#~ msgstr "Nom affiché" + +#, python-format +#~ msgid "" +#~ "For product '%s', the unit of measure is %s on the existing line, but it " +#~ "is %s on the imported line. We don't support this scenario for the " +#~ "moment, so the lines haven't been updated." +#~ msgstr "" +#~ "Pour le produit '%s', l'unité de mesure est %s sur la ligne existante, " +#~ "mais elle est %s sur la ligne importée. Nous ne supportons pas ce " +#~ "scénario pour le moment, donc les lignes n'ont pas été mises à jour." + +#~ msgid "Last Modified on" +#~ msgstr "Dernière modification" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any %s corresponding to the following information " +#~ "extracted from the business document:\n" +#~ "Name: %s\n" +#~ "VAT number: %s\n" +#~ "Reference: %s\n" +#~ "E-mail: %s\n" +#~ "Website: %s\n" +#~ "State code: %s\n" +#~ "Country code: %s\n" +#~ msgstr "" +#~ "Odoo n'a pas trouvé de %s correspondant aux informations suivantes " +#~ "extraites du document commercial :\n" +#~ "Nom : %s\n" +#~ "Numéro de TVA : %s\n" +#~ "Référence : %s\n" +#~ "E-mail : %s\n" +#~ "Site web : %s\n" +#~ "Code de l'État : %s\n" +#~ "Code du pays : %s\n" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any product corresponding to the following information " +#~ "extracted from the business document:\n" +#~ "Barcode: %s\n" +#~ "Product code: %s\n" +#~ "Supplier: %s\n" +#~ msgstr "" +#~ "Odoo n'a pas pu trouver de produit correspondant aux informations " +#~ "suivantes extraites du document commercial :\n" +#~ "Code barres : %s\n" +#~ "Code produit : %s\n" +#~ "Fournisseur : %s\n" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any shipping partner corresponding to the following " +#~ "information extracted from the business document:\n" +#~ "Name: %s\n" +#~ "VAT number: %s\n" +#~ "Reference: %s\n" +#~ "E-mail: %s\n" +#~ "Website: %s\n" +#~ "Street: %s\n" +#~ "Street2: %s\n" +#~ "City: %s\n" +#~ "ZIP: %s\n" +#~ "State code: %s\n" +#~ "Country code: %s\n" +#~ msgstr "" +#~ "Odoo n'a pas pu trouver de partenaire d'expédition correspondant aux " +#~ "informations suivantes extraites du document commercial :\n" +#~ "Nom : %s\n" +#~ "Numéro de TVA : %s\n" +#~ "Référence : %s\n" +#~ "E-mail : %s\n" +#~ "Site web : %s\n" +#~ "Rue : %s\n" +#~ "Rue2 : %s\n" +#~ "Ville : %s\n" +#~ "Code postal : %s\n" +#~ "Code d'état : %s\n" +#~ "Code du pays : %s\n" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any tax with 'Tax Application' = '%s' and 'Tax " +#~ "Included in Price' = '%s' which correspond to the following information " +#~ "extracted from the business document:\n" +#~ "UNECE Tax Type code: %s\n" +#~ "UNECE Tax Category code: %s\n" +#~ "UNECE Due Date code: %s\n" +#~ "Tax amount: %s %s" +#~ msgstr "" +#~ "Odoo n'a pas trouvé de taxe avec 'Application de taxe' = '%s' et 'Taxe " +#~ "Incluse dans le prix' = '%s' qui correspondent aux informations suivantes " +#~ "extraites du document commercial :\n" +#~ "Code de type de taxe CEE-ONU : %s\n" +#~ "Code de catégorie de taxe CEE-ONU : %s\n" +#~ "Code de la date d'échéance CEE-ONU : %s\n" +#~ "Montant de la taxe : %s %s" + +#, python-format +#~ msgid "" +#~ "The %s has been identified by the domain name '%s' so please check " +#~ "carefully that the %s is correct." +#~ msgstr "" +#~ "Le %s a été identifié par le nom de domaine '%s'. Veuillez vérifier " +#~ "soigneusement que le %s est correct." + +#, python-format +#~ msgid "" +#~ "The VAT number of the customer written in the business document (%s) " +#~ "doesn't match the VAT number of the company '%s' (%s) in which you are " +#~ "trying to import this document." +#~ msgstr "" +#~ "Le numéro de TVA du client indiqué dans le document commercial (%s) ne " +#~ "correspond pas au numéro de TVA de la société '%s' (%s) dans laquelle " +#~ "vous essayez d'importer ce document." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the country code " +#~ "to find the related currency. But the country '%s' doesn't have any " +#~ "related currency configured in Odoo." +#~ msgstr "" +#~ "L'analyse du document commercial a retourné '%s' comme code de pays pour " +#~ "trouver la devise associée. Mais le pays '%s' n'a pas de devise associée " +#~ "configurée dans Odoo." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the currency " +#~ "symbol or ISO code. But there are none or several currencies with the " +#~ "symbol/ISO code in Odoo." +#~ msgstr "" +#~ "L'analyse du document commercial a donné '%s' comme symbole monétaire ou " +#~ "code ISO. Mais il n'y a pas ou plusieurs devises avec ce symbole/code ISO " +#~ "dans Odoo." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the unit of " +#~ "measure UNECE code, but there is no unit of measure with that UNECE code " +#~ "in Odoo. Please check the configuration of the units of measures in Odoo." +#~ msgstr "" +#~ "L'analyse du document commercial a donné '%s' comme code d'unité de " +#~ "mesure UNECE, mais il n'y a pas d'unité de mesure avec ce code UNECE dans " +#~ "Odoo. Veuillez vérifier la configuration des unités de mesure dans Odoo." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned IBAN %s as bank " +#~ "account, but there is no such bank account in Odoo linked to partner %s and the option to " +#~ "automatically create bank accounts upon import is disabled." +#~ msgstr "" +#~ "L'analyse du document commercial a retourné IBAN %s comme compte " +#~ "bancaire, mais il n'y a pas de tel compte bancaire dans Odoo lié au " +#~ "partenaire %s et " +#~ "l'option de création automatique de comptes bancaires lors de " +#~ "l'importation est désactivée." + +#, python-format +#~ msgid "" +#~ "The bank account IBAN %s has been automatically added on the " +#~ "supplier %s" +#~ msgstr "" +#~ "Le compte bancaire IBAN %s a été automatiquement ajouté sur le " +#~ "fournisseur %s" diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/it.po b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/it.po new file mode 100644 index 0000000..ce8c4b1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/it.po @@ -0,0 +1,468 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-23 15:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "(fixed)" +msgstr "(fisso)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "Note nel file %s:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "Note nel documento importato:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

      Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

      • UNECE code: " +"%(code)s
      • Name of the unit of measure: %(name)s

      So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

      " +msgstr "" +"

      Odoo non trova nessuna unità di misura corrispondente alle seguenti " +"informazioni estratte dal documento:

      • codice UNECE: %(code)s
      • Nome dell'unità di misura: %(name)s

      Quindi è stata usata " +"l'unità di misura 'Unità'. La si può cambiare manualmente.

      " + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" +"Corrispondenza approssimata: il conto %(account)s ha una corrispondenza con " +"il conto %(matched_account)s" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Metodi comuni per l'importazione di documenti di lavoro" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "In Odoo non è presente nessun Incoterm corrispondente a '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been " +"updated." +msgstr "" +"Per il prodotto '%(product)s', sulla riga esistente l'unità di misura è " +"%(uom_product)s, ma è %(uom_imported)s nella riga importata. Al momento " +"questo scenario non è supportato, quindi le righe non sono state " +"aggiornate." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "L'IBAN %s non è valido, quindi è stato ignorato." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "ID {id} di '{model}' non esiste in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "Partita IVA mancante per l'azienda '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "Valuta non indicata, quindi Odoo utilizza la valuta dell'azienda (%s)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" +"Odoo non trova nessun %(label)s corrispondente alle seguenti informazioni " +"estratte dal documento di lavoro:\n" +"Nome: %(name)s \n" +"Partita IVA: %(vat)s \n" +"Riferimento: %(ref)s \n" +"E-mail: %(email)s \n" +"Sito web: %(website)s \n" +"Codice stato: %(state)s \n" +"Codice nazione: %(country)s \n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information extracted from the business document:\n" +"Account code: %s" +msgstr "" +"Odoo non trova nessun conto corrispondente alla seguente informazione " +"estratta dal documento di lavoro:\n" +"Codice conto: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" +"Odoo non trova nessun conto analitico corrispondente alla seguente " +"informazione estratta dal documento di lavoro:\n" +"Codice conto analitico: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information extracted from the business document:\n" +"Journal code: %s" +msgstr "" +"Odoo non trova nessun registro corrispondente alla seguente informazione " +"estratta dal documento di lavoro:\n" +"Codice registro: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" +"Odoo non trova alcun prodotto corrispondente alla seguente informazione " +"estratrta dal documento di lavoro:\n" +"Codice a barre: %(barcode)s\n" +"Codice prodotto: %(product_code)s\n" +"Fornitore: %(supplier)s\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" +"Odoo non trova nessun partner spedizione corrispondente alla seguente " +"informazione estratta dal documento di lavoro:\n" +"Nome: %(name)s\n" +"Partita IVA: %(vat)s\n" +"Riferimento: %(ref)s\n" +"E-mail: %(email)s\n" +"Sito web: %(website)s\n" +"Indirizzo: %(street)s\n" +"Indirizzo 2: %(street2)s\n" +"Città: %(city)s\n" +"CAP: %(zip)s\n" +"Codice stato: %(state)s\n" +"Codice nazione: %(country)s\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax Included in Price' = '%(price)s' which correspond to the following information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" +"Odoo non trova nessuna imposta con 'Applicazione imposta' = '%(tax)s' e " +"'Imposta inclusa nel prezzo' = '%(price)s' che corrispondono alla seguente " +"informazione estratta dal documento di lavoro:\n" +"Codice tipo imposta UNECE: %(tax_type)s\n" +"Codice categoria imposta UNECE: %(tax_cat)s\n" +"Codice data scadenza UNECE: %(tax_due_date)s\n" +"Valore imposta: %(amount)s %(amount_type)s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"Una delle righe importate non ha nessun prodotto, quindi le righe non " +"sono state aggiornate." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" +"%(label)s è stato identificato dal nome dominio '%(domain)s' qundi " +"controllare con attenzione che %(label)s sia corretto." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company '%(company)s' " +"(%(vat)s) in which you are trying to import this document." +msgstr "" +"La partita IVA del cliente scritta nel documento di lavoro(%(parsed_vat)s) " +"non corrisponde alla prtita IVA dell'azienda '%(company)s' (%(vat)s) dove si " +"sta cercando di importare il documento." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "L'ID XML '%s' non esiste in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" +"L'analisi del documento di lavoro ha restituito '%(code)s' come codice " +"nazione per trovare la relativa valuta. Ma la nazione '%(name)s' non ha una " +"valuta configurata in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the " +"symbol/ISO code in Odoo." +msgstr "" +"L'analisi del documento di lavoro ha restituito '%(code)s' come simbolo " +"valuta o codice ISO. Ma non ci sono o ce ne sono diverse valute con il " +"simbolo/codice ISO in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" +"La'nalisi del documento di lavoro ha restituito '%(code)s' come docie unità " +"di misura UNECE, ma non c'è una unità di misura con questo codice UNECE in " +"Odoo. Controllare la confiugrazione delle unità di misura in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" +"L'analisi del documento di lavoro ha restituito '%s' come codice nazione. Ma " +"non ci sono nazioni con questo codice in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" +"L'analisi del documento di lavoro ha restituito '%s' come codice nazione per " +"trovare la valuta relativa. Ma non ci sono nazioni con questo codice in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" +"L'analisi del documento di lavoro ha restituito '%s' come codice valuta ISO. " +"Ma non ci sono valute questo codice in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" +"L'analisi del documento di lavoro ha restituito '%s' come simbolo valuta. Ma " +"non ci sono o ce ne sono diverse valute con questo simbolo in Odoo." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is " +"disabled." +msgstr "" +"L'analisi del documento di lavoro ha restituito IBAN %(iban)s come " +"conto bancario, ma non esiste tale conto bancario in Odoo collegato ad un " +"partner %(partner)s e l'opzione di creare automaticamente i " +"conti bancari all'importazione è disabilitata." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier %(partner)s" +msgstr "" +"il conto bancario IBAN %(iban)s è stato aggiunto automaticamente al " +"fornitore %(partner)s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"La riga '%s' non ha alcun prodotto, quindi le righe non sono state " +"aggiornate." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" +"il prodotto '%s' è utilizzato in diverse righe esistenti, qundi le righe " +"non sono state aggiornate." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" +"Il prodotto '%s' è utilizzato in diverse righe importate, quindi le righe " +"non sono state aggiornate." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" +"Il record '{record}' è una istanza di '{record_model}', non di " +"'{target_model}'." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "cliente" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "partner" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "fornitore" diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/nl.po b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/nl.po new file mode 100644 index 0000000..15d0d8a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/i18n/nl.po @@ -0,0 +1,598 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-02-07 12:22+0000\n" +"Last-Translator: Bosd \n" +"Language-Team: none\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.14.1\n" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, fuzzy, python-format +msgid "(fixed)" +msgstr "(fixed)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in file %s:" +msgstr "Notities in bestand %s:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Notes in imported document:" +msgstr "Notities in geimporteerd document:" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"

      Odoo couldn't find any unit of measure corresponding to the following " +"information extracted from the business document:

      • UNECE code: " +"%(code)s
      • Name of the unit of measure: %(name)s

      So the " +"unit of measure 'Unit(s)' has been used. You may have to change it " +"manually.

      " +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Approximate match: account %(account)s has been matched with account " +"%(matched_account)s" +msgstr "" + +#. module: base_business_document_import +#: model:ir.model,name:base_business_document_import.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Algemene procedures voor het importeren van bedrijfsdocumenten" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Could not find any Incoterm in Odoo corresponding to '%s'" +msgstr "Er kong geen Incoterm gevonden worden overeenkomstig met '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"For product '%(product)s', the unit of measure is %(uom_product)s on the " +"existing line, but it is %(uom_imported)s on the imported line.We don't " +"support this scenario for the moment, so the lines haven't been updated." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "IBAN %s is not valid, so it has been ignored." +msgstr "IBAN %s is ongeldig, dus genegeerd." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "ID {id} of '{model}' doesn't exist in Odoo." +msgstr "ID {id} van '{model}' bestaat niet." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "Missing VAT number on company '%s'" +msgstr "Ontbrekent BTW nummer voor bedrijf '%s'" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "No currency specified, so Odoo used the company currency (%s)" +msgstr "" +"Er is geen valuta gespicificeerd, dus de bedrijfsvaluta wordt gebruikt (%s)" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any %(label)s corresponding to the following information " +"extracted from the business document:\n" +"Name: %(name)s \n" +"VAT number: %(vat)s \n" +"Reference: %(ref)s \n" +"E-mail: %(email)s \n" +"Website: %(website)s \n" +"State code: %(state)s \n" +"Country code: %(country)s \n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any account corresponding to the following information " +"extracted from the business document:\n" +"Account code: %s" +msgstr "" +"kon geen rekening vinden welke overeenkomt met de verkregen informatie uit " +"dit bedrijfsdocument:\n" +"Rekening code: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any analytic account corresponding to the following " +"information extracted from the business document:\n" +"Analytic account code: %s" +msgstr "" +"kon geen analytisch account vinden welke overeenkomt met de verkregen " +"informatie uit dit bedrijfsdocument:\n" +"Analytisch account code: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any journal corresponding to the following information " +"extracted from the business document:\n" +"Journal code: %s" +msgstr "" +"kon geen dagboek vinden welke overeenkomt met de verkregen informatie uit " +"dit bedrijfsdocument:\n" +"Dagboek code: %s" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any product corresponding to the following information " +"extracted from the business document:\n" +"Barcode: %(barcode)s\n" +"Product code: %(product_code)s\n" +"Supplier: %(supplier)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any shipping partner corresponding to the following " +"information extracted from the business document:\n" +"Name: %(name)s\n" +"VAT number: %(vat)s\n" +"Reference: %(ref)s\n" +"E-mail: %(email)s\n" +"Website: %(website)s\n" +"Street: %(street)s\n" +"Street2: %(street2)s\n" +"City: %(city)s\n" +"ZIP: %(zip)s\n" +"State code: %(state)s\n" +"Country code: %(country)s\n" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' and 'Tax " +"Included in Price' = '%(price)s' which correspond to the following " +"information extracted from the business document:\n" +"UNECE Tax Type code: %(tax_type)s\n" +"UNECE Tax Category code: %(tax_cat)s\n" +"UNECE Due Date code: %(tax_due_date)s\n" +"Tax amount: %(amount)s %(amount_type)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"One of the imported lines doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"Een van de geimporteede regels bevat geen product, dus de regels zijn " +"niet bijgewerkt." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The %(label)s has been identified by the domain name '%(domain)s' so please " +"check carefully that the %(label)s is correct." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The VAT number of the customer written in the business document " +"(%(parsed_vat)s) doesn't match the VAT number of the company " +"'%(company)s' (%(vat)s) in which you are trying to import this document." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "The XMLID '%s' doesn't exist in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the country " +"code to find the related currency. But the country '%(name)s' doesn't have " +"any related currency configured in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the currency " +"symbol or ISO code. But there are none or several currencies with the symbol/" +"ISO code in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%(code)s' as the unit of " +"measure UNECE code, but there is no unit of measure with that UNECE code in " +"Odoo. Please check the configuration of the units of measures in Odoo." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as country code. But " +"there are no country with that code in Odoo." +msgstr "" +"De analyse van het bedrijfsdocument leverde landcode '%s' op. Deze landcode " +"is niet bekend in het systeem." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the country code to " +"find the related currency. But there is no country with that code in Odoo." +msgstr "" +"De analyse van het bedrijfsdocument leverde '%s' op als de landcode om de " +"bijbehorende valuta te vinden. Maar deze landcode is niet bekend in het " +"systeem." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency ISO " +"code. But there are no currency with that code in Odoo." +msgstr "" +"De analyse van het bedrijfsdocument leverde '%s' op als de valuta ISO code. " +"Er is geen valuta met deze code bekend in het systeem." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned '%s' as the currency symbol. " +"But there are none or several currencies with that symbol in Odoo." +msgstr "" +"De analyse van het bedrijfsdocument leverde '%s' op als de valutateken. Er " +"zijn geen of meerdre valutas met dat valutateken in het systeem." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The analysis of the business document returned IBAN %(iban)s as bank " +"account, but there is no such bank account in Odoo linked to partner %(partner)s " +"and the option to automatically create bank accounts upon import is disabled." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The bank account IBAN %(iban)s has been automatically added on the " +"supplier " +"%(partner)s" +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The existing line '%s' doesn't have any product, so the lines haven't " +"been updated." +msgstr "" +"De bestaande regel '%s' heeft geen product, dus de regel is niet " +"bijgewerkt." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several existing lines, so the lines haven't " +"been updated." +msgstr "" +"Het product '%s' is gebruikt op meerdere bestaande regels, dus de regels " +"zijn niet bijgewerkt." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The product '%s' is used on several imported lines, so the lines haven't " +"been updated." +msgstr "" +"Het product '%s' is gebruikt op meerdere geimporteerde regels, dus de " +"regels zijn niet bijgewerkt." + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "" +"The record '{record}' is an instance of '{record_model}', not of " +"'{target_model}'." +msgstr "" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "customer" +msgstr "klant" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "partner" +msgstr "relatie" + +#. module: base_business_document_import +#. odoo-python +#: code:addons/base_business_document_import/models/business_document_import.py:0 +#, python-format +msgid "supplier" +msgstr "leverancier" + +#, python-format +#~ msgid "" +#~ "

      Odoo couldn't find any unit of measure corresponding to the following " +#~ "information extracted from the business document:

      • UNECE code: " +#~ "%s
      • Name of the unit of measure: %s

      So the unit of " +#~ "measure 'Unit(s)' has been used. You may have to change it manually.

      " +#~ msgstr "" +#~ "

      Er kon geen eenheid gevonden worden welke overeenkomt met de volgende " +#~ "informatie verkregen uit het bedrijfsdocument:

      • UNECE code: %s
      • Eenheidsnaam: %s

      dus de 'Unit(s)' eenheid is gebruikt. " +#~ "Wellicht wilt u dit handmatig wijzigen.

      " + +#, python-format +#~ msgid "Approximate match: account %s has been matched with account %s" +#~ msgstr "Geschatte overeenkomst: rekening %s is gematched met rekening %s" + +#~ msgid "Display Name" +#~ msgstr "Weergavenaam" + +#, python-format +#~ msgid "" +#~ "For product '%s', the unit of measure is %s on the existing line, but it " +#~ "is %s on the imported line. We don't support this scenario for the " +#~ "moment, so the lines haven't been updated." +#~ msgstr "" +#~ "voor product '%s', is de eenheid %s op de bestaande regel, maar is %s op " +#~ "de geimporteerde regel. Dit wordt op dit moment niet ondersteund, de " +#~ "regels zijnnietbijgewerkt." + +#, fuzzy +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Laatst bijgewerkt op" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any %s corresponding to the following information " +#~ "extracted from the business document:\n" +#~ "Name: %s\n" +#~ "VAT number: %s\n" +#~ "Reference: %s\n" +#~ "E-mail: %s\n" +#~ "Website: %s\n" +#~ "State code: %s\n" +#~ "Country code: %s\n" +#~ msgstr "" +#~ "Er kon geen %s gevonden worden welke overeenkomt met de informatie " +#~ "verkregen uit het document:\n" +#~ "Naam: %s\n" +#~ "BTW nummer: %s\n" +#~ "Referentie: %s\n" +#~ "E-mail: %s\n" +#~ "Website: %s\n" +#~ "State code: %s\n" +#~ "Land code: %s\n" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any product corresponding to the following information " +#~ "extracted from the business document:\n" +#~ "Barcode: %s\n" +#~ "Product code: %s\n" +#~ "Supplier: %s\n" +#~ msgstr "" +#~ "Er kon geen product gevonden worden welke overeenkomt met de verkregen " +#~ "informatie uit het document:\n" +#~ "Barcode: %s\n" +#~ "Product code: %s\n" +#~ "Leverancier: %s\n" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any shipping partner corresponding to the following " +#~ "information extracted from the business document:\n" +#~ "Name: %s\n" +#~ "VAT number: %s\n" +#~ "Reference: %s\n" +#~ "E-mail: %s\n" +#~ "Website: %s\n" +#~ "Street: %s\n" +#~ "Street2: %s\n" +#~ "City: %s\n" +#~ "ZIP: %s\n" +#~ "State code: %s\n" +#~ "Country code: %s\n" +#~ msgstr "" +#~ "Er kon geen geadresseerde relatie gevonden worden welke overeenkomt met " +#~ "de verkregen informatie uit dit bedrijfsdocument:\n" +#~ "Naam: %s\n" +#~ "BTW nummer: %s\n" +#~ "Referentie: %s\n" +#~ "E-mail: %s\n" +#~ "Website: %s\n" +#~ "Straat: %s\n" +#~ "Straat2: %s\n" +#~ "Woonplaats: %s\n" +#~ "Postcode: %s\n" +#~ "State code: %s\n" +#~ "Land code: %s\n" + +#, python-format +#~ msgid "" +#~ "Odoo couldn't find any tax with 'Tax Application' = '%s' and 'Tax " +#~ "Included in Price' = '%s' which correspond to the following information " +#~ "extracted from the business document:\n" +#~ "UNECE Tax Type code: %s\n" +#~ "UNECE Tax Category code: %s\n" +#~ "UNECE Due Date code: %s\n" +#~ "Tax amount: %s %s" +#~ msgstr "" +#~ "Er kon geen belastingsregel gevonden worden 'Tax Application' = '%s' en " +#~ "'prijs inclusief btw' = '%s' welke overeenkomt met de volgende informatie " +#~ "verkregen uit dit bedrijfsdocument:\n" +#~ "UNECE Tax Type code: %s\n" +#~ "UNECE Tax Category code: %s\n" +#~ "UNECE Due Date code: %s\n" +#~ "Belast bedrag: %s %s" + +#, python-format +#~ msgid "" +#~ "The %s has been identified by the domain name '%s' so please check " +#~ "carefully that the %s is correct." +#~ msgstr "" +#~ "Het %s is geidentificeerd op de domeinnaam '%s' controleer zorgvuldig " +#~ "daat de %s juist is." + +#, python-format +#~ msgid "" +#~ "The VAT number of the customer written in the business document (%s) " +#~ "doesn't match the VAT number of the company '%s' (%s) in which you are " +#~ "trying to import this document." +#~ msgstr "" +#~ "Het BTW nummer van de klant in het bedrijfsdocument (%s) komt niet " +#~ "overeen met het BTW nummer van het bedrijf '%s' (%s) waarvoor je een " +#~ "document probeert te importeren." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the country code " +#~ "to find the related currency. But the country '%s' doesn't have any " +#~ "related currency configured in Odoo." +#~ msgstr "" +#~ "De analyse van het bedrijfsdocument leverde '%s' op als de landcode om de " +#~ "bijbehorende valuta te vinden. Maar voor het land '%s' zijn geen " +#~ "bijbehorende valuta's geconfigureerd." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the currency " +#~ "symbol or ISO code. But there are none or several currencies with the " +#~ "symbol/ISO code in Odoo." +#~ msgstr "" +#~ "De analyse van het bedrijfsdocument leverde '%s' op als het valuta " +#~ "symbool of ISO code. Er zijn geen of meerdere valuta met dit symbool/code " +#~ "bekend in het systeem." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned '%s' as the unit of " +#~ "measure UNECE code, but there is no unit of measure with that UNECE code " +#~ "in Odoo. Please check the configuration of the units of measures in Odoo." +#~ msgstr "" +#~ "De analyse van het bedrijfsdocument leverde '%s' als eenheids UNECE code, " +#~ "maar er is geen eenheid met die UNECE code in het systeem. Controleer de " +#~ "eenheidsinstellingen." + +#, python-format +#~ msgid "" +#~ "The analysis of the business document returned IBAN %s as bank " +#~ "account, but there is no such bank account in Odoo linked to partner %s and the option to " +#~ "automatically create bank accounts upon import is disabled." +#~ msgstr "" +#~ "De analyse van het bedrijfsdocument leverde IBAN %s op als " +#~ "bankrekening, maar het bankrekeningnummer is niet toegewezen aan relatie " +#~ "%s en de " +#~ "mogelijkheid om automatisch bankrekeningen aan te maken tijdens de import " +#~ "van bedrijfsdocumenten is uitgeschakeld." + +#, python-format +#~ msgid "" +#~ "The bank account IBAN %s has been automatically added on the " +#~ "supplier %s" +#~ msgstr "" +#~ "Het bankrekeningnummerIBAN %s is automatisch toegevoegd aan de " +#~ "leverancier %s" diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/models/__init__.py b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/models/__init__.py new file mode 100644 index 0000000..d695bc5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/models/__init__.py @@ -0,0 +1 @@ +from . import business_document_import diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/models/business_document_import.py b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/models/business_document_import.py new file mode 100644 index 0000000..a2157c1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/models/business_document_import.py @@ -0,0 +1,1398 @@ +# Copyright 2015-2021 Akretion France +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import logging +from urllib.parse import urlparse + +from odoo import _, api, models +from odoo.exceptions import UserError +from odoo.osv import expression +from odoo.tools import float_compare + +from odoo.addons.base_iban.models.res_partner_bank import validate_iban + +logger = logging.getLogger(__name__) + + +class BusinessDocumentImport(models.AbstractModel): + _name = "business.document.import" + _description = "Common methods to import business documents" + + @api.model + def user_error_wrap(self, method, data_dict, error_msg): + """The method and data_dict arguments are useful when you want to + inherit this method to update the error messag_match_currencye""" + assert error_msg + raise UserError(error_msg) + + def _direct_match(self, data_dict, model, raise_exception=True): + if data_dict.get("recordset"): + record = data_dict["recordset"] + if isinstance(record, type(model)): + return record + elif raise_exception: + raise UserError( + _( + "The record '{record}' is an instance of '{record_model}', " + "not of '{target_model}'." + ).format( + record=record.display_name, + record_model=record._name, + target_model=model._name, + ) + ) + if data_dict.get("id"): + record = model.browse(data_dict["id"]).exists() + if not record and raise_exception: + raise UserError( + _("ID {id} of '{model}' doesn't exist in Odoo.").format( + id=data_dict["id"], model=model._name + ) + ) + if record: + return record + if data_dict.get("xmlid"): + xmlid = data_dict["xmlid"] + record = False + try: + record = self.env.ref(xmlid, raise_if_not_found=True) + except Exception as e: + if raise_exception: + raise UserError( + _("The XMLID '%s' doesn't exist in Odoo.") % xmlid + ) from e + if record: + if isinstance(record, type(model)): + return record + elif raise_exception: + raise UserError( + _( + "The record '{record}' is an instance of '{record_model}', " + "not of '{target_model}'." + ).format( + record=record.display_name, + record_model=record._name, + target_model=model._name, + ) + ) + return None + + @api.model + def _strip_cleanup_dict(self, match_dict): + if not match_dict: + return + + for key, value in match_dict.items(): + if value and isinstance(value, str): + match_dict[key] = value.strip() + if match_dict.get("country_code"): + match_dict["country_code"] = match_dict["country_code"].upper() + if match_dict.get("state_code"): + match_dict["state_code"] = match_dict["state_code"].upper() + + @api.model + def _get_match_partner_order(self, partner_type): + if partner_type == "supplier": + return "supplier_rank desc" + if partner_type == "customer": + return "customer_rank desc" + return "" + + @api.model + def _get_match_partner_type_label(self, partner_type): + if partner_type == "supplier": + return _("supplier") + if partner_type == "customer": + return _("customer") + return _("partner") + + @api.model + def _get_country_filter(self, partner_dict, chatter_msg): + """Generate filter by country""" + if partner_dict.get("country_code"): + country = self.env["res.country"].search( + [("code", "=", partner_dict["country_code"])], limit=1 + ) + if country: + return [ + "|", + ("country_id", "=", False), + ("country_id", "=", country.id), + ] + chatter_msg.append( + _( + "The analysis of the business document returned '%s' as " + "country code. But there are no country with that code " + "in Odoo." + ) + % partner_dict["country_code"] + ) + return False + + @api.model + def _get_country_state_filter(self, partner_dict, chatter_msg): + if partner_dict.get("state_code"): + country = self.env["res.country"].search( + [("code", "=", partner_dict["country_code"])], limit=1 + ) + if state := self.env["res.country.state"].search( + [ + ("code", "=", partner_dict["state_code"]), + ("country_id", "=", country.id), + ], + limit=1, + ): + return ["|", ("state_id", "=", False), ("state_id", "=", state.id)] + return False + + @api.model + def _match_partner_ref(self, partner_dict, chatter_msg, domain, order): + """If a ref is explicitly given, we just want to match that partner""" + if partner_dict.get("ref"): + domain = expression.AND( + [ + domain, + [("ref", "=", partner_dict["ref"])], + ] + ) + return self.env["res.partner"].search(domain, limit=1, order=order) + return False + + @api.model + def _match_partner_contact(self, partner_dict, chatter_msg, domain, order): + rpo = self.env["res.partner"] + if partner_dict.get("email") and "@" in partner_dict["email"]: + if partner := rpo.search( + expression.AND( + [ + domain, + [("email", "=ilike", partner_dict["email"])], + ] + ), + limit=1, + order=order, + ): + return partner + if partner_dict.get("contact"): + if partner := rpo.search( + expression.AND( + [ + domain, + [("name", "=ilike", partner_dict["contact"])], + ] + ), + limit=1, + order=order, + ): + return partner + if partner_dict.get("phone"): + if partner := rpo.search( + expression.AND( + [ + domain, + [ + "|", + ("mobile", "=", partner_dict["phone"]), + ("phone", "=", partner_dict["phone"]), + ], + ] + ), + limit=1, + order=order, + ): + return partner + return False + + @api.model + def _match_partner_name(self, partner_dict, chatter_msg, domain, order): + if partner_dict.get("name"): + domain = expression.AND( + [ + domain, + [ + ("name", "=ilike", partner_dict["name"]), + ], + ] + ) + return self.env["res.partner"].search(domain, limit=1, order=order) + return False + + @api.model + def _get_partner_website_domain(self, partner_dict): + if not partner_dict.get("website"): + return False + + urlp = urlparse(partner_dict["website"]) + netloc = urlp.netloc + if not urlp.scheme and not netloc: + netloc = urlp.path + if netloc and len(netloc.split(".")) >= 2: + return ".".join(netloc.split(".")[-2:]) + + @api.model + def _match_partner_website(self, partner_dict, chatter_msg, domain, order): + if website_domain := self._get_partner_website_domain(partner_dict): + domain = expression.AND( + [ + domain, + [ + ("website", "=ilike", "%" + website_domain + "%"), + ], + ] + ) + return self.env["res.partner"].search(domain, limit=1, order=order) + return False + + @api.model + def _get_partner_email_domain(self, partner_dict): + return ( + partner_dict.get("email") + and "@" in partner_dict["email"] + and partner_dict["email"].split("@")[1] + ) + + @api.model + def _match_partner_email(self, partner_dict, chatter_msg, domain, order): + email_domain = self._get_partner_email_domain(partner_dict) + # I can't search on email addresses with + # email_domain because of the emails such as + # @gmail.com, @yahoo.com that may match random partners + if email_domain: + partner = self.env["res.partner"].search( + expression.AND( + [domain, [("website", "=ilike", "%" + email_domain + "%")]] + ), + limit=1, + order=order, + ) + if not partner: + partner = self.env["res.partner"].search( + expression.AND( + [domain, [("email", "=ilike", "%@" + email_domain)]] + ), + limit=1, + order=order, + ) + if partner: + partner_type_label = partner_dict["type_label"] + chatter_msg.append( + _( + "The %(label)s has been identified by the domain name " + "'%(domain)s' so please check carefully that the " + "%(label)s is correct.", + label=partner_type_label, + domain=domain, + ) + ) + return partner + + @api.model + def _match_partner( # noqa: C901 + self, + partner_dict, + chatter_msg, + partner_type="supplier", + domain=None, + raise_exception=True, + ): + """Example: + partner_dict = { + 'country_code': 'FR', + 'state_code': False, + 'vat': 'FR12448890432', + 'email': 'roger.lemaire@akretion.com', + 'website': 'www.akretion.com', + 'name': 'Akretion France', + 'ref': 'C1242', + 'phone': '01.41.98.12.42', + } + """ + rpo = self.env["res.partner"] + partner_dict = partner_dict.copy() + self._strip_cleanup_dict(partner_dict) + partner = self._direct_match(partner_dict, rpo, raise_exception=raise_exception) + if partner: + return partner + company_id = self._context.get("force_company") or self.env.company.id + domain = domain or [] + domain = expression.AND( + [ + domain, + [ + "|", + ("company_id", "=", False), + ("company_id", "=", company_id), + ], + ] + ) + order = self._get_match_partner_order(partner_type) + partner_type_label = self._get_match_partner_type_label(partner_type) + partner_dict["type"] = partner_type + partner_dict["type_label"] = partner_type_label + + partner = self._match_partner_ref(partner_dict, chatter_msg, domain, order) + if partner: + return partner + + if country_domain := self._get_country_filter(partner_dict, chatter_msg): + domain = expression.AND([domain, country_domain]) + + if state_domain := self._get_country_state_filter( + partner_dict, chatter_msg + ): + domain = expression.AND([domain, state_domain]) + + # Search on VAT + if partner_dict.get("vat"): + vat = partner_dict["vat"].replace(" ", "").upper() + partner = rpo.search( + expression.AND([domain, [("vat", "=", vat)]]), + limit=1, + order=order, + ) + if partner: + return partner + + # Hook to plug alternative matching methods + partner = self._hook_match_partner(partner_dict, chatter_msg, domain, order) + if partner: + return partner + + # Search for partner contact + partner = self._match_partner_contact(partner_dict, chatter_msg, domain, order) + if partner: + return partner + + # Search for partner name + partner = self._match_partner_name(partner_dict, chatter_msg, domain, order) + if partner: + return partner + + # Search for partner website + partner = self._match_partner_website(partner_dict, chatter_msg, domain, order) + if partner: + return partner + + # Search for partner website + partner = self._match_partner_email(partner_dict, chatter_msg, domain, order) + if partner: + return partner + + if not raise_exception: + return None + raise self.user_error_wrap( + "_match_partner", + partner_dict, + _( + "Odoo couldn't find any %(label)s corresponding to the following " + "information extracted from the business document:\n" + "Name: %(name)s \n" + "VAT number: %(vat)s \n" + "Reference: %(ref)s \n" + "E-mail: %(email)s \n" + "Website: %(website)s \n" + "State code: %(state)s \n" + "Country code: %(country)s \n", + label=partner_type_label, + name=partner_dict.get("name") or "", + vat=partner_dict.get("vat") or "", + ref=partner_dict.get("ref") or "", + email=partner_dict.get("email") or "", + website=partner_dict.get("website") or "", + state=partner_dict.get("state_code") or "", + country=partner_dict.get("country_code") or "", + ), + ) + + @api.model + def _hook_match_partner(self, partner_dict, chatter_msg, domain, order): + return False + + @api.model + def _match_shipping_partner( + self, partner_dict, partner, chatter_msg, domain=None, raise_exception=True + ): + """Example: + shipping_dict = { + 'email': 'contact@akretion.com', + 'name': 'Akretion France', + 'street': 'Long Avenue', + 'street2': 'Building 2A', + 'city': 'Paris', + 'zip': '69100', + 'country_code': 'FR', + } + The shipping partner can be any partner, not especially related to the + customer/supplier (partner argument) + """ + domain = domain or [] + if partner_dict.get("street"): + if partner_dict.get("street_number"): + domain = expression.AND( + [ + domain, + [ + ( + "street", + "in", + [ + "{} {}".format( + partner_dict.get("street"), + partner_dict.get("street_number"), + ), + "{} {}".format( + partner_dict.get("street_number"), + partner_dict.get("street"), + ), + "{}, {}".format( + partner_dict.get("street"), + partner_dict.get("street_number"), + ), + "{}, {}".format( + partner_dict.get("street_number"), + partner_dict.get("street"), + ), + ], + ) + ], + ] + ) + else: + domain = expression.AND( + [ + domain, + [ + ("street", "=", partner_dict.get("street")), + ], + ] + ) + + if partner_dict.get("street2"): + domain = expression.AND( + [ + domain, + [ + ("street2", "=", partner_dict.get("street2")), + ], + ] + ) + if partner_dict.get("city"): + domain = expression.AND( + [ + domain, + [ + ("city", "=", partner_dict.get("city")), + ], + ] + ) + if partner_dict.get("zip"): + domain = expression.AND( + [ + domain, + [ + ("zip", "=", partner_dict.get("zip")), + ], + ] + ) + + domain_delivery = expression.AND([domain, [("type", "=", "delivery")]]) + partner = self._match_partner( + partner_dict, + chatter_msg, + partner_type=False, + domain=domain_delivery, + raise_exception=False, + ) + if partner: + return partner + if not partner_dict.get("vat") and not partner_dict.get("email"): + partner = self.env["res.partner"].search(domain_delivery, limit=1) + if partner: + return partner + partner = self._match_partner( + partner_dict, + chatter_msg, + partner_type=False, + domain=domain, + raise_exception=False, + ) + if partner: + return partner + if not partner_dict.get("vat"): + partner = self.env["res.partner"].search(domain, limit=1) + if partner: + return partner + + if not raise_exception: + return + raise self.user_error_wrap( + "_match_shipping_partner", + partner_dict, + _( + "Odoo couldn't find any shipping partner corresponding to the " + "following information extracted from the business document:\n" + "Name: %(name)s\n" + "VAT number: %(vat)s\n" + "Reference: %(ref)s\n" + "E-mail: %(email)s\n" + "Website: %(website)s\n" + "Street: %(street)s\n" + "Street2: %(street2)s\n" + "City: %(city)s\n" + "ZIP: %(zip)s\n" + "State code: %(state)s\n" + "Country code: %(country)s\n", + name=partner_dict.get("name") or "", + vat=partner_dict.get("vat") or "", + ref=partner_dict.get("ref") or "", + email=partner_dict.get("email") or "", + website=partner_dict.get("website") or "", + street=partner_dict.get("street") or "", + street2=partner_dict.get("street2") or "", + city=partner_dict.get("city") or "", + zip=partner_dict.get("zip") or "", + state=partner_dict.get("state_code") or "", + country=partner_dict.get("country_code") or "", + ), + ) + + @api.model + def _match_partner_bank( + self, partner, iban, bic, chatter_msg, create_if_not_found=False + ): + assert iban, "iban is a required arg" + assert partner, "partner is a required arg" + partner = partner.commercial_partner_id + iban = iban.replace(" ", "").upper() + rpbo = self.env["res.partner.bank"] + rbo = self.env["res.bank"] + try: + validate_iban(iban) + except Exception: + chatter_msg.append( + _("IBAN %s is not valid, so it has been ignored.") % iban + ) + return False + company_id = self._context.get("force_company") or self.env.company.id + bankaccount = rpbo.search( + [ + "|", + ("company_id", "=", False), + ("company_id", "=", company_id), + ("sanitized_acc_number", "=", iban), + ("partner_id", "=", partner.id), + ], + limit=1, + ) + if bankaccount: + return bankaccount + elif create_if_not_found: + bank_id = False + if bic: + bic = bic.replace(" ", "").upper() + bank = rbo.search([("bic", "=", bic)], limit=1) + if bank: + bank_id = bank.id + else: + bank = rbo.create( + {"bic": bic, "name": bic} # TODO: see if we could do better + ) + bank_id = bank.id + partner_bank = rpbo.create( + {"partner_id": partner.id, "acc_number": iban, "bank_id": bank_id} + ) + chatter_msg.append( + _( + "The bank account IBAN %(iban)s has been automatically " + "added on the supplier " + "%(partner)s", + iban=iban, + partner_id=partner.id, + partner=partner.display_name, + ) + ) + return partner_bank + else: + chatter_msg.append( + _( + "The analysis of the business document returned " + "IBAN %(iban)s as bank account, but there is no such " + "bank account in Odoo linked to partner " + "%(partner)s and " + "the option to automatically create bank " + "accounts upon import is disabled.", + iban=iban, + partner_id=partner.id, + partner=partner.display_name, + ) + ) + + @api.model + def _match_product(self, product_dict, chatter_msg, seller=False): + """Retrieve product. + + Matching sequence: + + 1. ID + 2. barcode + 3. packaging barcode + 4. default_code + 5. seller code + + :param product_dict: dictionary w/ product info. + + Example: {'barcode': '5449000054227', 'code': 'COCA1L'} + + :param chatter_msg: list of msgs to append to chatter (if any) + :param seller: optional product.supplierinfo record + """ + ppo = self.env["product.product"] + self._strip_cleanup_dict(product_dict) + product = self._direct_match(product_dict, ppo) + if product: + return product + product = self._match_product_search(product_dict) + if product: + return product + elif seller: + # WARNING: Won't work for multi-variant products + # because product.supplierinfo is attached to product template + sinfo = self.env["product.supplierinfo"].search( + self._match_company_domain() + + [ + ("partner_id", "=", seller.id), + ("product_code", "=", product_dict["code"]), + ], + limit=1, + ) + if ( + sinfo + and sinfo.product_tmpl_id.product_variant_ids + and len(sinfo.product_tmpl_id.product_variant_ids) == 1 + ): + return sinfo.product_tmpl_id.product_variant_ids[0] + raise self.user_error_wrap( + "_match_product", + product_dict, + _( + "Odoo couldn't find any product corresponding to the " + "following information extracted from the business document:\n" + "Barcode: %(barcode)s\n" + "Product code: %(product_code)s\n" + "Supplier: %(supplier)s\n", + barcode=product_dict.get("barcode") or "", + product_code=product_dict.get("code") or "", + supplier=seller and seller.name or "", + ), + ) + + @api.model + def _match_product_search(self, product_dict): + product = self.env["product.product"].browse() + cdomain = self._match_company_domain() + if product_dict.get("barcode"): + domain = expression.AND( + [ + cdomain, + [ + "|", + ("barcode", "=", product_dict["barcode"]), + ("packaging_ids.barcode", "=", product_dict["barcode"]), + ], + ] + ) + product = product.search(domain, limit=1) + if not product and product_dict.get("code"): + # TODO: this domain could be probably included in the former one + domain = expression.AND( + [ + cdomain, + [ + "|", + ("barcode", "=", product_dict["code"]), + ("default_code", "=", product_dict["code"]), + ], + ] + ) + product = product.search(domain, limit=1) + return product + + @api.model + def _match_company_domain(self): + company_id = self._context.get("force_company") or self.env.user.company_id.id + return ["|", ("company_id", "=", False), ("company_id", "=", company_id)] + + @api.model + def _match_currency(self, currency_dict, chatter_msg): + """Example: + currency_dict = { + 'iso': 'USD', # If we have ISO, no need to have more keys + 'symbol': '$', + 'country_code': 'US', + 'iso_or_symbol': '$', + } + """ + if not currency_dict: + currency_dict = {} + rco = self.env["res.currency"] + self._strip_cleanup_dict(currency_dict) + currency = self._direct_match(currency_dict, rco) + if currency: + return currency + if currency_dict.get("iso"): + currency_iso = currency_dict["iso"].upper() + currency = rco.search([("name", "=", currency_iso)], limit=1) + if currency: + return currency + else: + raise self.user_error_wrap( + "_match_currency", + currency_dict, + _( + "The analysis of the business document returned '%s' as " + "the currency ISO code. But there are no currency " + "with that code in Odoo." + ) + % currency_iso, + ) + if currency_dict.get("symbol"): + currencies = rco.search([("symbol", "=", currency_dict["symbol"])]) + if len(currencies) == 1: + return currencies + else: + chatter_msg.append( + _( + "The analysis of the business document returned '%s' as " + "the currency symbol. But there are none or several " + "currencies with that symbol in Odoo." + ) + % currency_dict["symbol"] + ) + if currency_dict.get("iso_or_symbol"): + currencies = rco.search( + [ + "|", + ("name", "=", currency_dict["iso_or_symbol"].upper()), + ("symbol", "=", currency_dict["iso_or_symbol"]), + ] + ) + if len(currencies) == 1: + return currencies[0] + else: + raise self.user_error_wrap( + "_match_currency", + currency_dict, + _( + "The analysis of the business document returned '%(code)s' as " + "the currency symbol or ISO code. But there are none or " + "several currencies with the symbol/ISO code in Odoo.", + code=currency_dict["iso_or_symbol"], + ), + ) + if currency_dict.get("country_code"): + country_code = currency_dict["country_code"] + country = self.env["res.country"].search( + [("code", "=", country_code)], limit=1 + ) + if country: + if country.currency_id: + return country.currency_id + else: + raise self.user_error_wrap( + "_match_currency", + currency_dict, + _( + "The analysis of the business document returned '%(code)s' " + "as the country code to find the related currency. " + "But the country '%(name)s' doesn't have any related " + "currency configured in Odoo.", + code=country_code, + name=country.name, + ), + ) + else: + raise self.user_error_wrap( + "_match_currency", + currency_dict, + _( + "The analysis of the business document returned '%s' " + "as the country code to find the related currency. " + "But there is no country with that code in Odoo." + ) + % country_code, + ) + if self._context.get("force_company"): + company = self.env["res.company"].browse(self._context["force_company"]) + else: + company = self.env.company + company_cur = company.currency_id + chatter_msg.append( + _("No currency specified, so Odoo used the company currency (%s)") + % company_cur.name + ) + return company_cur + + @api.model + def _match_uom(self, uom_dict, chatter_msg, product=False): + """Example: + uom_dict = { + 'unece_code': 'LTR', + 'name': 'Liter', + } + """ + uuo = self.env["uom.uom"] + if not uom_dict: + uom_dict = {} + self._strip_cleanup_dict(uom_dict) + uom = self._direct_match(uom_dict, uuo) + if uom: + return uom + if uom_dict.get("unece_code"): + # Map NIU to Unit + if uom_dict["unece_code"] == "NIU": + uom_dict["unece_code"] = "C62" + uom = uuo.search([("unece_code", "=", uom_dict["unece_code"])], limit=1) + if uom: + return uom + else: + chatter_msg.append( + _( + "The analysis of the business document returned '%(code)s' " + "as the unit of measure UNECE code, but there is no " + "unit of measure with that UNECE code in Odoo. Please " + "check the configuration of the units of measures in " + "Odoo.", + code=uom_dict["unece_code"], + ) + ) + if uom_dict.get("name"): + uom = uuo.search([("name", "=ilike", uom_dict["name"] + "%")], limit=1) + if uom: + return uom + if product: + return product.uom_id + chatter_msg.append( + _( + "

      Odoo couldn't find any unit of measure corresponding to the " + "following information extracted from the business document:

      " + "
      • UNECE code: %(code)s
      • " + "
      • Name of the unit of measure: %(name)s
      " + "

      So the unit of measure 'Unit(s)' has been used. You may " + "have to change it manually.

      ", + code=uom_dict.get("unece_code"), + name=uom_dict.get("name"), + ) + ) + return self.env.ref("uom.product_uom_unit") + + @api.model + def _match_taxes( + self, taxes_list, chatter_msg, type_tax_use="purchase", price_include=False + ): + """taxes_list must be a list of tax_dict""" + taxes_recordset = self.env["account.tax"].browse(False) + for tax_dict in taxes_list: + taxes_recordset += self._match_tax( + tax_dict, + chatter_msg, + type_tax_use=type_tax_use, + price_include=tax_dict.get("price_include", price_include), + ) + return taxes_recordset + + @api.model + def _prepare_match_tax_domain( + self, tax_dict, type_tax_use="purchase", price_include=False + ): + ato = self.env["account.tax"] + company_id = self._context.get("force_company") or self.env.company.id + domain = [("company_id", "=", company_id)] + if type_tax_use == "purchase": + domain.append(("type_tax_use", "=", "purchase")) + elif type_tax_use == "sale": + domain.append(("type_tax_use", "=", "sale")) + if price_include is False: + domain.append(("price_include", "=", False)) + elif price_include is True: + domain.append(("price_include", "=", True)) + # with the code above, if you set price_include=None, it will + # won't depend on the value of the price_include parameter + assert tax_dict.get("amount_type") in [ + "fixed", + "percent", + ], "bad tax type, has to be fixed or percent" + assert "amount" in tax_dict, "Missing amount key in tax_dict" + domain.append(("amount_type", "=", tax_dict["amount_type"])) + if tax_dict.get("unece_type_code"): + domain.append(("unece_type_code", "=", tax_dict["unece_type_code"])) + if tax_dict.get("unece_categ_code"): + domain.append(("unece_categ_code", "=", tax_dict["unece_categ_code"])) + if tax_dict.get("unece_due_date_code"): + tax_exigibility = ato._get_tax_exigibility_from_unece_code( + tax_dict["unece_due_date_code"] + ) + if tax_exigibility: + domain = expression.AND( + [domain, [("tax_exigibility", "=", tax_exigibility)]] + ) + return domain + + @api.model + def _match_tax( + self, + tax_dict, + chatter_msg, + type_tax_use="purchase", + price_include=False, + ): + """Example: + tax_dict = { + 'amount_type': 'percent', # required param, 'fixed' or 'percent' + 'amount': 20.0, # required + 'unece_type_code': 'VAT', + 'unece_categ_code': 'S', + 'unece_due_date_code': '72', + } + """ + ato = self.env["account.tax"] + self._strip_cleanup_dict(tax_dict) + tax = self._direct_match(tax_dict, ato) + if tax: + return tax + domain = self._prepare_match_tax_domain( + tax_dict, type_tax_use=type_tax_use, price_include=price_include + ) + taxes = ato.search(domain) + for tax in taxes: + tax_amount = tax.amount # 'amount' field : digits=(16, 4) + if not float_compare(tax_dict["amount"], tax_amount, precision_digits=4): + return tax + raise self.user_error_wrap( + "_match_tax", + tax_dict, + _( + "Odoo couldn't find any tax with 'Tax Application' = '%(tax)s' " + "and 'Tax Included in Price' = '%(price)s' which correspond to the " + "following information extracted from the business document:\n" + "UNECE Tax Type code: %(tax_type)s\n" + "UNECE Tax Category code: %(tax_cat)s\n" + "UNECE Due Date code: %(tax_due_date)s\n" + "Tax amount: %(amount)s %(amount_type)s", + tax=type_tax_use, + price=price_include, + tax_type=tax_dict.get("unece_type_code") or "", + tax_cat=tax_dict.get("unece_categ_code") or "", + tax_due_date=tax_dict.get("unece_due_date_code") or "", + amount=tax_dict["amount"], + amount_type=tax_dict["amount_type"] == "percent" + and "%" + or _("(fixed)"), + ), + ) + + def compare_lines( + self, + existing_lines, + import_lines, + chatter_msg, + qty_precision=None, + price_precision=None, + seller=False, + ): + """Example: + existing_lines = [{ + 'product': odoo_recordset, + 'name': 'USB Adapter', + 'qty': 1.5, + 'price_unit': 23.43, # without taxes + 'uom': uom, + 'line': recordset, + # Add taxes + }] + import_lines = [{ + 'product': { + 'barcode': '2100002000003', + 'code': 'EAZY1', + }, + 'quantity': 2, + 'price_unit': 12.42, # without taxes + 'uom': {'unece_code': 'C62'}, + }] + + Result of the method: + { + 'to_remove': line_multirecordset, + 'to_add': [ + { + 'product': recordset1, + 'uom', recordset, + 'import_line': {import dict}, + # We provide product and uom as recordset to avoid the + # need to compute a second match + ] + 'to_update': { + 'line1_recordset': {'qty': [1, 2], 'price_unit': [4.5, 4.6]}, + # qty must be updated from 1 to 2 + # price must be updated from 4.5 to 4.6 + 'line2_recordset': {'qty': [12, 13]}, + # only qty must be updated + } + } + + The check existing_currency == import_currency must be done before + the call to compare_lines() + """ + dpo = self.env["decimal.precision"] + if qty_precision is None: + qty_precision = dpo.precision_get("Product Unit of Measure") + if price_precision is None: + price_precision = dpo.precision_get("Product Price") + existing_lines_dict = {} + for eline in existing_lines: + if not eline.get("product"): + chatter_msg.append( + _( + "The existing line '%s' doesn't have any product, " + "so the lines haven't been updated." + ) + % eline.get("name") + ) + return False + if eline["product"] in existing_lines_dict: + chatter_msg.append( + _( + "The product '%s' is used on several existing " + "lines, so the lines haven't been updated." + ) + % eline["product"].display_name + ) + return False + existing_lines_dict[eline["product"]] = eline + unique_import_products = [] + res = { + "to_remove": False, + "to_add": [], + "to_update": {}, + } + for iline in import_lines: + if not iline.get("product"): + chatter_msg.append( + _( + "One of the imported lines doesn't have any product, " + "so the lines haven't been updated." + ) + ) + return False + product = self._match_product(iline["product"], chatter_msg, seller=seller) + uom = self._match_uom(iline.get("uom"), chatter_msg, product) + if product in unique_import_products: + chatter_msg.append( + _( + "The product '%s' is used on several imported lines, " + "so the lines haven't been updated." + ) + % product.display_name + ) + return False + unique_import_products.append(product) + if product in existing_lines_dict: + if uom != existing_lines_dict[product]["uom"]: + chatter_msg.append( + _( + "For product '%(product)s', the unit of measure is " + "%(uom_product)s on the existing line, but it is " + "%(uom_imported)s on the imported line." + "We don't support this scenario for the moment, so " + "the lines haven't been updated.", + product=product.display_name, + uom_product=existing_lines_dict[product]["uom"].name, + uom_imported=uom.name, + ) + ) + return False + # used for to_remove + existing_lines_dict[product]["import"] = True + oline = existing_lines_dict[product]["line"] + res["to_update"][oline] = self._prepare_order_line_update_values( + existing_lines_dict[product], iline, qty_precision, price_precision + ) + else: + res["to_add"].append( + {"product": product, "uom": uom, "import_line": iline} + ) + for exiting_dict in existing_lines_dict.values(): + if not exiting_dict.get("import"): + if res["to_remove"]: + res["to_remove"] += exiting_dict["line"] + else: + res["to_remove"] = exiting_dict["line"] + return res + + def _prepare_order_line_update_values( + self, existing_line, iline, qty_precision, price_precision + ): + values = {} + if float_compare( + iline["qty"], + existing_line["qty"], + precision_digits=qty_precision, + ): + values["qty"] = [existing_line["qty"], iline["qty"]] + if "price_unit" in iline and float_compare( + iline["price_unit"], + existing_line["price_unit"], + precision_digits=price_precision, + ): + values["price_unit"] = [ + existing_line["price_unit"], + iline["price_unit"], + ] + return values + + def _prepare_account_speed_dict(self): + company_id = self._context.get("force_company") or self.env.company.id + res = self.env["account.account"].search_read( + [("company_id", "=", company_id), ("deprecated", "=", False)], ["code"] + ) + speed_dict = {} + for line in res: + speed_dict[line["code"].upper()] = line["id"] + return speed_dict + + @api.model + def _match_account(self, account_dict, chatter_msg, speed_dict=None): + """Example: + account_dict = { + 'code': '411100', + } + speed_dict is usefull to gain performance when you have a lot of + accounts to match + """ + if not account_dict: + account_dict = {} + aao = self.env["account.account"] + if speed_dict is None: + speed_dict = self._prepare_account_speed_dict() + self._strip_cleanup_dict(account_dict) + account = self._direct_match(account_dict, aao) + if account: + return account + if account_dict.get("code"): + acc_code = account_dict["code"].upper() + if acc_code in speed_dict: + return aao.browse(speed_dict[acc_code]) + # Match when account_dict['code'] is longer than Odoo's account + # codes because of trailing '0' + # I don't think we need a warning for this kind of match + acc_code_tmp = acc_code + while acc_code_tmp and acc_code_tmp[-1] == "0": + acc_code_tmp = acc_code_tmp[:-1] + if acc_code_tmp and acc_code_tmp in speed_dict: + return aao.browse(speed_dict[acc_code_tmp]) + # Match when account_dict['code'] is shorter than Odoo's accounts + # -> warns the user about this + for code, account_id in speed_dict.items(): + if code.startswith(acc_code): + chatter_msg.append( + _( + "Approximate match: account %(account)s has been matched " + "with account %(matched_account)s", + account=account_dict["code"], + matched_account=code, + ) + ) + return aao.browse(account_id) + raise self.user_error_wrap( + "_match_account", + account_dict, + _( + "Odoo couldn't find any account corresponding to the " + "following information extracted from the business document:\n" + "Account code: %s" + ) + % (account_dict.get("code") or ""), + ) + + def _prepare_analytic_account_speed_dict(self): + company_id = self._context.get("force_company") or self.env.company.id + res = self.env["account.analytic.account"].search_read( + [("company_id", "=", company_id)], ["code"] + ) + speed_dict = {} + for line in res: + if line["code"]: + speed_dict[line["code"].upper()] = line["id"] + return speed_dict + + @api.model + def _match_analytic_account(self, aaccount_dict, chatter_msg, speed_dict=None): + """Example: + aaccount_dict = { + 'code': '627', + } + speed_dict is usefull to gain performance when you have a lot of + analytic accounts to match + """ + if not aaccount_dict: + aaccount_dict = {} + aaao = self.env["account.analytic.account"] + if speed_dict is None: + speed_dict = self._prepare_analytic_account_speed_dict() + self._strip_cleanup_dict(aaccount_dict) + aaccount = self._direct_match(aaccount_dict, aaao) + if aaccount: + return aaccount + if aaccount_dict.get("code"): + aacode = aaccount_dict["code"].upper() + if aacode in speed_dict: + return aaao.browse(speed_dict[aacode]) + raise self.user_error_wrap( + "_match_analytic_account", + aaccount_dict, + _( + "Odoo couldn't find any analytic account corresponding to the " + "following information extracted from the business document:\n" + "Analytic account code: %s" + ) + % (aaccount_dict.get("code") or ""), + ) + + def _prepare_journal_speed_dict(self): + company_id = self._context.get("force_company") or self.env.company.id + res = self.env["account.journal"].search_read( + [("company_id", "=", company_id)], ["code"] + ) + speed_dict = {} + for line in res: + speed_dict[line["code"].upper()] = line["id"] + return speed_dict + + @api.model + def _match_journal(self, journal_dict, chatter_msg, speed_dict=None): + """Example: + journal_dict = { + 'code': 'MISC', + } + speed_dict is usefull to gain performance when you have a lot of + journals to match + """ + if not journal_dict: + journal_dict = {} + ajo = self.env["account.journal"] + if speed_dict is None: + speed_dict = self._prepare_journal_speed_dict() + self._strip_cleanup_dict(journal_dict) + journal = self._direct_match(journal_dict, ajo) + if journal: + return journal + if journal_dict.get("code"): + jcode = journal_dict["code"].upper() + if jcode in speed_dict: + return ajo.browse(speed_dict[jcode]) + # case insensitive + raise self.user_error_wrap( + "_match_journal", + journal_dict, + _( + "Odoo couldn't find any journal corresponding to the " + "following information extracted from the business document:\n" + "Journal code: %s" + ) + % (journal_dict.get("code") or ""), + ) + + # Code moved from base_business_document_import_stock + # Now that the incoterm obj (account.incoterms) is defined in + # the 'account' module (since Odoo v12) instead of 'stock' + @api.model + def _match_incoterm(self, incoterm_dict, chatter_msg): + aio = self.env["account.incoterms"] + if not incoterm_dict: + incoterm_dict = {} + self._strip_cleanup_dict(incoterm_dict) + incoterm = self._direct_match(incoterm_dict, aio) + if incoterm: + return incoterm + if incoterm_dict.get("code"): + incoterm = aio.search( + [ + "|", + ("name", "=ilike", incoterm_dict["code"]), + ("code", "=ilike", incoterm_dict["code"]), + ], + limit=1, + ) + if incoterm: + return incoterm + else: + self.user_error_wrap( + "_match_incoterm", + incoterm_dict, + _("Could not find any Incoterm in Odoo corresponding " "to '%s'") + % incoterm_dict["code"], + ) + return False + + @api.model + def _check_company(self, company_dict, chatter_msg): + if not company_dict: + company_dict = {} + rco = self.env["res.company"] + if self._context.get("force_company"): + company = rco.browse(self._context["force_company"]) + else: + company = self.env.company + if company_dict.get("vat"): + parsed_company_vat = company_dict["vat"].replace(" ", "").upper() + if company.partner_id.vat: + if company.partner_id.vat != parsed_company_vat: + raise self.user_error_wrap( + "_check_company", + company_dict, + _( + "The VAT number of the customer written in the " + "business document (%(parsed_vat)s) doesn't match " + "the VAT number of the company '%(company)s' (%(vat)s) " + "in which you are trying to import this document.", + parsed_vat=parsed_company_vat, + company=company.display_name, + vat=company.partner_id.vat, + ), + ) + else: + chatter_msg.append( + _("Missing VAT number on company '%s'") % company.display_name + ) + + def get_xml_files_from_pdf(self, pdf_file): + """Returns a dict with key = filename, value = XML file obj""" + logger.warning( + "`get_xml_files_from_pdf` deprecated: use `pdf.helper.pdf_get_xml_files`" + ) + return self.env["pdf.helper"].pdf_get_xml_files(pdf_file) + + @api.model + def post_create_or_update(self, parsed_dict, record, doc_filename=None): + if parsed_dict.get("attachments"): + for filename, data_base64 in parsed_dict["attachments"].items(): + self.env["ir.attachment"].create( + { + "name": filename, + "res_id": record.id, + "res_model": str(record._name), + "datas": data_base64, + } + ) + for msg in parsed_dict["chatter_msg"]: + record.message_post(body=msg) + if parsed_dict.get("note"): + if doc_filename: + msg = _("Notes in file %s:") % doc_filename + else: + msg = _("Notes in imported document:") + record.message_post( # pylint: disable=translation-required + body="{} {}".format(msg, parsed_dict["note"]) + ) diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..2aa685f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ +* Alexis de Lattre +* Nicolas JEUDY +* Jacques-Etienne Baudoux +* Phuc (Tran Thanh) +* Simone Orsi diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/readme/DESCRIPTION.rst new file mode 100644 index 0000000..a5b1f2c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/readme/DESCRIPTION.rst @@ -0,0 +1,5 @@ +This is a technical module ; it doesn't bring any useful feature by itself. This module is the base modules for 2 other modules : + +* *account_invoice_import* which imports supplier invoices as PDF or XML files (this module also requires some additional modules such as *account_invoice_import_invoice2data*, *account_invoice_import_ubl*, etc... to support specific invoice formats), + +* *sale_invoice_import* which imports sale orders as CSV, XML or PDF files (this module also requires some additional modules such as *sale_invoice_import_csv* or *sale_invoice_import_ubl* to support specific order formats) diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/static/description/icon.png b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/static/description/index.html b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/static/description/index.html new file mode 100644 index 0000000..26a8ed2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/static/description/index.html @@ -0,0 +1,431 @@ + + + + + +Base Business Document Import + + + +
      +

      Base Business Document Import

      + + +

      Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      This is a technical module ; it doesn’t bring any useful feature by itself. This module is the base modules for 2 other modules :

      +
        +
      • account_invoice_import which imports supplier invoices as PDF or XML files (this module also requires some additional modules such as account_invoice_import_invoice2data, account_invoice_import_ubl, etc… to support specific invoice formats),
      • +
      • sale_invoice_import which imports sale orders as CSV, XML or PDF files (this module also requires some additional modules such as sale_invoice_import_csv or sale_invoice_import_ubl to support specific order formats)
      • +
      +

      Table of contents

      + +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • Akretion
      • +
      • Nicolas JEUDY
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      +Odoo Community Association +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      Current maintainer:

      +

      alexis-via

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/tests/__init__.py b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/tests/__init__.py new file mode 100644 index 0000000..12d2821 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/tests/__init__.py @@ -0,0 +1 @@ +from . import test_business_document_import diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/tests/test_business_document_import.py b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/tests/test_business_document_import.py new file mode 100644 index 0000000..db21d0d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/base_business_document_import/tests/test_business_document_import.py @@ -0,0 +1,482 @@ +# Copyright 2016-2021 Akretion France (http://www.akretion.com/) +# Copyright 2020-2021 Jacques-Etienne Baudoux (BCIM) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import logging + +from odoo.exceptions import UserError +from odoo.tests import tagged +from odoo.tests.common import TransactionCase + +logger = logging.getLogger(__name__) + + +@tagged("post_install", "-at_install") +class TestBaseBusinessDocumentImport(TransactionCase): + def test_match_partner(self): + partner1 = self.env["res.partner"].create( + {"name": "COGIP", "ref": "COGIP", "website": "http://example.com/"} + ) + bdio = self.env["business.document.import"] + # match on domain extracted from email with warning + partner_dict = {"email": "alexis.delattre@example.com"} + warn = [] + res = bdio._match_partner(partner_dict, warn, partner_type=False) + self.assertEqual(res, partner1) + self.assertTrue(warn) + partner_dict = {"name": "ready mat "} + partner_ready_mat = self.env.ref("base.res_partner_4") + partner_ready_mat.supplier_rank = 1 # to be considered as a supplier + res = bdio._match_partner(partner_dict, [], partner_type="supplier") + self.assertEqual(res, partner_ready_mat) + partner_dict = {"ref": "COGIP"} + res = bdio._match_partner(partner_dict, [], partner_type=False) + self.assertEqual(res, partner1) + + def test_direct_match_recordset(self): + partner = self.env["res.partner"].create( + { + "name": "Alexis Delattre", + "email": "alexis.delattre@example.com", + "ref": "C1242", + } + ) + partner_dict = { + "recordset": partner, + } + bdio = self.env["business.document.import"] + partner_match = bdio._direct_match(partner_dict, self.env["res.partner"], True) + self.assertEqual(partner, partner_match) + + with self.assertRaises(UserError): + bdio._direct_match(partner_dict, self.env["res.partner.bank"], True) + + partner_match = bdio._direct_match( + partner_dict, self.env["res.partner.bank"], False + ) + self.assertEqual(None, partner_match) + + def test_direct_match_id(self): + partner = self.env["res.partner"].create( + { + "name": "Alexis Delattre", + "email": "alexis.delattre@example.com", + "ref": "C1242", + } + ) + partner_dict = { + "id": partner.id, + } + bdio = self.env["business.document.import"] + partner_match = bdio._direct_match(partner_dict, self.env["res.partner"], True) + self.assertEqual(partner, partner_match) + + partner_dict = { + "id": 234234234234231, + } + with self.assertRaises(UserError): + bdio._direct_match(partner_dict, self.env["res.partner"], True) + + def test_direct_match_xmlid(self): + partner_dict = { + "xmlid": "i.dont.exist.odoo", + } + bdio = self.env["business.document.import"] + with self.assertRaises(UserError): + bdio._direct_match(partner_dict, self.env["res.partner"], True) + + partner_dict = { + "xmlid": "base.fr", + } + with self.assertRaises(UserError): + bdio._direct_match(partner_dict, self.env["res.partner"], True) + + partner_dict = { + "xmlid": "base.main_partner", + } + partner = bdio._direct_match(partner_dict, self.env["res.partner"], True) + self.assertEqual(partner.id, self.env.ref("base.main_partner").id) + + def test_match_partner_ref(self): + partner1 = self.env["res.partner"].create( + { + "name": "Alexis Delattre", + "email": "alexis.delattre@example.com", + "ref": "C1242", + } + ) + bdio = self.env["business.document.import"] + partner_dict = { + "name": "Alexis Delattre", + "email": "alexis.delattre@example.com", + "ref": "C1242", + } + chatter_msg = [] + domain = [] + order = "" + partner = bdio._match_partner_ref(partner_dict, chatter_msg, domain, order) + self.assertEqual(partner, partner1) + + def test_match_partner_contact(self): + partner_email = self.env["res.partner"].create( + { + "email": "alexis.email@example.com", + "name": "Alexis email", + } + ) + partner_contact = self.env["res.partner"].create( + { + "email": "alexis.name@example.com", + "name": "Alexis name", + } + ) + partner_phone = self.env["res.partner"].create( + { + "email": "alexis.phone@example.com", + "phone": "01.41.98.12.42", + "name": "Alexis phone", + } + ) + bdio = self.env["business.document.import"] + chatter_msg = [] + domain = [] + order = "" + + partner_dict = { + "name": "Alexis email", + "email": "alexis.email@example.com", + } + partner = bdio._match_partner_contact(partner_dict, chatter_msg, domain, order) + self.assertEqual(partner, partner_email) + + partner_dict = { + "contact": "Alexis name", + "email": "alexis.name@example.com", + } + partner = bdio._match_partner_contact(partner_dict, chatter_msg, domain, order) + self.assertEqual(partner, partner_contact) + + partner_dict = { + "name": "Alexis phone", + "email": "alexis.phone@example.com", + "phone": "01.41.98.12.42", + } + partner = bdio._match_partner_contact(partner_dict, chatter_msg, domain, order) + self.assertEqual(partner, partner_phone) + + def test_match_partner_name(self): + partner_name = self.env["res.partner"].create( + { + "email": "alexis.name@example.com", + "name": "Alexis name", + } + ) + bdio = self.env["business.document.import"] + chatter_msg = [] + domain = [] + order = "" + + partner_dict = { + "name": "Alexis name", + "email": "alexis.name@example.com", + } + partner = bdio._match_partner_name(partner_dict, chatter_msg, domain, order) + self.assertEqual(partner, partner_name) + + def test_get_partner_website_domain(self): + bdio = self.env["business.document.import"] + + www_website = {"website": "www.example.com"} + website_domain = bdio._get_partner_website_domain(www_website) + self.assertEqual(website_domain, "example.com") + + no_website = bdio._get_partner_website_domain({}) + self.assertEqual(False, no_website) + + https_www_website = {"website": "https://www.example.com"} + website_domain = bdio._get_partner_website_domain(https_www_website) + self.assertEqual(website_domain, "example.com") + + https_website = {"website": "https://example.com"} + website_domain = bdio._get_partner_website_domain(https_website) + self.assertEqual(website_domain, "example.com") + + https_path_website = {"website": "https://subdomain.example.com/bla/bla"} + website_domain = bdio._get_partner_website_domain(https_path_website) + self.assertEqual(website_domain, "example.com") + + https_big_subdomain_website = { + "website": "https://just.a.big.subdomain.example.com" + } + website_domain = bdio._get_partner_website_domain(https_big_subdomain_website) + self.assertEqual(website_domain, "example.com") + + def test_match_shipping_partner(self): + rpo = self.env["res.partner"] + bdio = self.env["business.document.import"] + partner1 = rpo.create( + { + "name": "Akretion France", + "street": "27 rue Henri Rolland", + "zip": "69100", + "country_id": self.env.ref("base.fr").id, + "email": "contact@akretion.com", + } + ) + rpo.create( + { + "parent_id": partner1.id, + "name": "Sébastien BEAU", + "email": "sebastien.beau@akretion.com", + "type": "contact", + } + ) + cpartner3 = rpo.create( + { + "parent_id": partner1.id, + "name": "Flo", + "email": "flo@akretion.com", + "street": "42 rue des lilas d'Espagne", + "zip": "92400", + "city": "Courbevoie", + "country_id": self.env.ref("base.fr").id, + "type": "invoice", + } + ) + shipping_dict = { + "email": "contact@akretion.com", + } + res = bdio._match_shipping_partner(shipping_dict, None, []) + self.assertEqual(res, partner1) + shipping_dict = { + "street": "42 rue des lilas d'Espagne", + "zip": "92400", + "country_code": "fr", + } + res = bdio._match_shipping_partner(shipping_dict, None, []) + self.assertEqual(res, cpartner3) + shipping_dict["zip"] = "92500" + with self.assertRaises(UserError): + bdio._match_shipping_partner(shipping_dict, None, []) + + no_error = bdio._match_shipping_partner( + shipping_dict, None, [], raise_exception=False + ) + self.assertEqual(no_error, None) + + partner2 = rpo.create( + { + "name": "Alex Corp", + "zip": "69009", + "country_id": self.env.ref("base.fr").id, + "email": "contact@alex.com", + } + ) + shipping_dict = { + "email": "contact@alex.com", + "zip": "69009", + "country_code": "FR", + } + res = bdio._match_shipping_partner(shipping_dict, None, []) + self.assertEqual(res, partner2) + + def test_match_currency(self): + bdio = self.env["business.document.import"] + currency_dict = {"xmlid": "base.USD"} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, self.env.ref("base.USD")) + first_cur = self.env["res.currency"].search([], limit=1) + currency_dict = {"id": first_cur.id} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, first_cur) + currency_dict = {"recordset": first_cur} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, first_cur) + currency_dict = {"iso": "EUR"} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, self.env.ref("base.EUR")) + currency_dict = {"symbol": "€"} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, self.env.ref("base.EUR")) + currency_dict = {"country_code": "fr "} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, self.env.ref("base.EUR")) + currency_dict = {"iso_or_symbol": "€"} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, self.env.ref("base.EUR")) + currency_id = self.env.ref("base.KRW").id + self.cr.execute( + "UPDATE res_company SET currency_id = %s WHERE id = 1", (currency_id,) + ) + currency_dict = {} + res = bdio._match_currency(currency_dict, []) + self.assertEqual(res, self.env.ref("base.KRW")) + + def test_match_product(self): + bdio = self.env["business.document.import"] + ppo = self.env["product.product"] + product1 = ppo.create( + { + "name": "Test Product", + "barcode": "9782203121102", + "seller_ids": [ + ( + 0, + 0, + { + "partner_id": self.env.ref("base.res_partner_2").id, + "product_code": "TEST1242", + }, + ), + ], + "packaging_ids": [(0, 0, {"name": "Big Pack", "barcode": "BIG-PACK"})], + } + ) + # Match by code + product_dict = {"code": "FURN_7777 "} + res = bdio._match_product(product_dict, []) + self.assertEqual(res, self.env.ref("product.product_delivery_01")) + # Match by barcode + product_dict = {"barcode": "9782203121102"} + res = bdio._match_product(product_dict, []) + self.assertEqual(res, product1) + # Match by packaging barcode + product_dict = {"barcode": "BIG-PACK"} + res = bdio._match_product(product_dict, []) + self.assertEqual(res, product1) + # Match by seller + product_dict = {"code": "TEST1242"} + res = bdio._match_product( + product_dict, [], seller=self.env.ref("base.res_partner_2") + ) + self.assertEqual(res, product1) + raise_test = True + try: + bdio._match_product(product_dict, [], seller=False) + raise_test = False + except Exception: + logger.info("Exception catched.") + + self.assertTrue(raise_test) + + def test_match_uom(self): + bdio = self.env["business.document.import"] + uom_dict = {"unece_code": "KGM"} + res = bdio._match_uom(uom_dict, []) + self.assertEqual(res, self.env.ref("uom.product_uom_kgm")) + uom_dict = {"unece_code": "NIU"} + res = bdio._match_uom(uom_dict, []) + self.assertEqual(res, self.env.ref("uom.product_uom_unit")) + uom_dict = {"name": "day"} + res = bdio._match_uom(uom_dict, []) + self.assertEqual(res, self.env.ref("uom.product_uom_day")) + uom_dict = {"name": "lb"} + res = bdio._match_uom(uom_dict, []) + self.assertEqual(res, self.env.ref("uom.product_uom_lb")) + uom_dict = {} + product = self.env.ref("product.product_product_1") + res = bdio._match_uom(uom_dict, [], product=product) + self.assertEqual(res, product.uom_id) + + def test_match_tax(self): + # on purpose, I use a rate that doesn't exist + # so that this test works even if the l10n_de is installed + de_tax_21 = self.env["account.tax"].create( + { + "name": "German VAT purchase 18.0%", + "description": "DE-VAT-buy-18.0", + "type_tax_use": "purchase", + "price_include": False, + "amount": 18, + "amount_type": "percent", + "tax_exigibility": "on_invoice", + "unece_type_id": self.env.ref("account_tax_unece.tax_type_vat").id, + "unece_categ_id": self.env.ref("account_tax_unece.tax_categ_s").id, + } + ) + de_tax_21_onpayment = self.env["account.tax"].create( + { + "name": "German VAT purchase 18.0%", + "description": "DE-VAT-buy-18.0", + "type_tax_use": "purchase", + "price_include": False, + "amount": 18, + "amount_type": "percent", + "tax_exigibility": "on_payment", + "unece_type_id": self.env.ref("account_tax_unece.tax_type_vat").id, + "unece_categ_id": self.env.ref("account_tax_unece.tax_categ_s").id, + } + ) + de_tax_21_ttc = self.env["account.tax"].create( + { + "name": "German VAT purchase 18.0% TTC", + "description": "DE-VAT-buy-18.0-TTC", + "type_tax_use": "purchase", + "price_include": True, + "amount": 18, + "amount_type": "percent", + "tax_exigibility": "on_invoice", + "unece_type_id": self.env.ref("account_tax_unece.tax_type_vat").id, + "unece_categ_id": self.env.ref("account_tax_unece.tax_categ_s").id, + } + ) + bdio = self.env["business.document.import"] + tax_dict = { + "amount_type": "percent", + "amount": 18, + "unece_type_code": "VAT", + "unece_categ_code": "S", + "unece_due_date_code": "5", + } + res = bdio._match_tax(tax_dict, [], type_tax_use="purchase") + self.assertEqual(res, de_tax_21) + tax_dict.pop("unece_categ_code") + res = bdio._match_tax(tax_dict, [], type_tax_use="purchase") + self.assertEqual(res, de_tax_21) + res = bdio._match_tax(tax_dict, [], type_tax_use="purchase", price_include=True) + self.assertEqual(res, de_tax_21_ttc) + res = bdio._match_taxes([tax_dict], [], type_tax_use="purchase") + self.assertEqual(res, de_tax_21) + res = bdio._match_taxes( + [dict(tax_dict, unece_due_date_code=72)], [], type_tax_use="purchase" + ) + self.assertEqual(res, de_tax_21_onpayment) + + def test_match_account_exact(self): + bdio = self.env["business.document.import"] + acc = self.env["account.account"].create( + { + "name": "Test 898999", + "code": "898999", + "account_type": "expense", + } + ) + res = bdio._match_account({"code": "898999"}, []) + self.assertEqual(acc, res) + + def test_match_account_bigger_in(self): + bdio = self.env["business.document.import"] + acc = self.env["account.account"].create( + { + "name": "Test 898999", + "code": "898999", + "account_type": "expense", + } + ) + res = bdio._match_account({"code": "89899900"}, []) + self.assertEqual(acc, res) + + def test_match_account_smaller_in(self): + bdio = self.env["business.document.import"] + acc = self.env["account.account"].create( + { + "name": "Test 89899910", + "code": "89899910", + "account_type": "expense", + } + ) + chatter = [] + res = bdio._match_account({"code": "898999"}, chatter) + self.assertEqual(acc, res) + self.assertEqual(len(chatter), 1) diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/ARCHITECTURE.md new file mode 100644 index 0000000..5910864 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_business_document_import Module - base_business_document_import + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/CONFIGURATION.md new file mode 100644 index 0000000..2224f65 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_business_document_import. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/DEPENDENCIES.md new file mode 100644 index 0000000..e44723b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/DEPENDENCIES.md @@ -0,0 +1,7 @@ +# Dependencies + +This addon depends on: + +- account_tax_unece +- uom_unece +- [pdf_helper](../../odoo-bringout-oca-edi-framework-pdf_helper) diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/doc/FAQ.md b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/FAQ.md new file mode 100644 index 0000000..687ae98 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_business_document_import or install in UI. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/INSTALL.md new file mode 100644 index 0000000..86005e4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-base_business_document_import" +# or +uv pip install odoo-bringout-oca-edi-framework-base_business_document_import" +``` diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/doc/MODELS.md b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/MODELS.md new file mode 100644 index 0000000..e34c7e6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in base_business_document_import. + +```mermaid +classDiagram + class business_document_import +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/OVERVIEW.md new file mode 100644 index 0000000..ca37daf --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_business_document_import. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_business_document_import +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/doc/USAGE.md b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/USAGE.md new file mode 100644 index 0000000..f743700 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_business_document_import +``` diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import/pyproject.toml b/odoo-bringout-oca-edi-framework-base_business_document_import/pyproject.toml new file mode 100644 index 0000000..64f2329 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import/pyproject.toml @@ -0,0 +1,44 @@ +[project] +name = "odoo-bringout-oca-edi-framework-base_business_document_import" +version = "16.0.0" +description = "Base Business Document Import - Provides technical tools to import sale orders or supplier invoices" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-framework-account_tax_unece>=16.0.0", + "odoo-bringout-oca-edi-framework-uom_unece>=16.0.0", + "odoo-bringout-oca-edi-framework-pdf_helper>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_business_document_import"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/README.md b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/README.md new file mode 100644 index 0000000..1cb6fb8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/README.md @@ -0,0 +1,45 @@ +# Base Business Document Import Phone + +Odoo addon: base_business_document_import_phone + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-base_business_document_import_phone +``` + +## Dependencies + +This addon depends on: +- phone_validation +- base_business_document_import + +## Manifest Information + +- **Name**: Base Business Document Import Phone +- **Version**: 16.0.1.0.0 +- **Category**: Hidden +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `base_business_document_import_phone`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/README.rst b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/README.rst new file mode 100644 index 0000000..bb904bb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/README.rst @@ -0,0 +1,89 @@ +=================================== +Base Business Document Import Phone +=================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:9a0a7cc41eed1c051ee76ea121778592229ec8d26e5fb419580c22288615d5cb + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_business_document_import_phone + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_business_document_import_phone + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +With this module, Odoo will be able to use phone or mobile numbers to find the appropriate partner when importing business documents. When the *phone_validation* module from the official addons is installed, the phone numbers are stored in E.164 format (for example: +33 1 41 98 12 42) in Odoo. This allows reliable search on phone or mobile numbers when importing business documents. + +**Table of contents** + +.. contents:: + :local: + +Installation +============ + +This module will be installed automatically if the modules *phone_validation* and *base_business_document_import* are installed. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/__init__.py b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/__manifest__.py b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/__manifest__.py new file mode 100644 index 0000000..cad9e14 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2016-2021 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Base Business Document Import Phone", + "version": "16.0.1.0.0", + "category": "Hidden", + "license": "AGPL-3", + "summary": "Use phone numbers to match partners upon import of " + "business documents", + "author": "Akretion,Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/edi", + "depends": [ + "phone_validation", + "base_business_document_import", + ], + "external_dependencies": {"python": ["phonenumbers"]}, + "installable": True, + "auto_install": True, +} diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/i18n/base_business_document_import_phone.pot b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/i18n/base_business_document_import_phone.pot new file mode 100644 index 0000000..e23ea45 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/i18n/base_business_document_import_phone.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import_phone +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_business_document_import_phone +#: model:ir.model,name:base_business_document_import_phone.model_business_document_import +msgid "Common methods to import business documents" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/i18n/de.po b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/i18n/de.po new file mode 100644 index 0000000..233560b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/i18n/de.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import_phone +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-05-27 09:19+0000\n" +"Last-Translator: Maria Sparenberg \n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: base_business_document_import_phone +#: model:ir.model,name:base_business_document_import_phone.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Allgemeine Methoden für den Import von Unternehmensdokumenten" diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/i18n/hr.po b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/i18n/hr.po new file mode 100644 index 0000000..eba7629 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/i18n/hr.po @@ -0,0 +1,23 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import_phone +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-07-02 14:19+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 3.10\n" + +#. module: base_business_document_import_phone +#: model:ir.model,name:base_business_document_import_phone.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Zajedničke metode za uvoz poslovnih dokumenata" diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/i18n/it.po b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/i18n/it.po new file mode 100644 index 0000000..48d1537 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/i18n/it.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_business_document_import_phone +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_business_document_import_phone +#: model:ir.model,name:base_business_document_import_phone.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Metodi comuni per l'importazione di documenti di lavoro" diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/models/__init__.py b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/models/__init__.py new file mode 100644 index 0000000..d695bc5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/models/__init__.py @@ -0,0 +1 @@ +from . import business_document_import diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/models/business_document_import.py b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/models/business_document_import.py new file mode 100644 index 0000000..2303667 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/models/business_document_import.py @@ -0,0 +1,53 @@ +# Copyright 2015-2021 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import logging + +from odoo import api, models + +logger = logging.getLogger(__name__) +try: + import phonenumbers +except ImportError: + logger.debug("Cannot import phonenumbers") + + +class BusinessDocumentImport(models.AbstractModel): + _inherit = "business.document.import" + + @api.model + def _hook_match_partner(self, partner_dict, chatter_msg, domain, order): + rpo = self.env["res.partner"] + # 'domain' already contains the company_id criteria + if partner_dict.get("country_code") and partner_dict.get("phone"): + phone_num_e164 = False + country_code = partner_dict["country_code"].upper() + try: + phone_num = phonenumbers.parse(partner_dict["phone"], country_code) + phone_num_e164 = phonenumbers.format_number( + phone_num, phonenumbers.PhoneNumberFormat.E164 + ) + logger.debug("_hook_match_partner phone_num_e164: %s", phone_num_e164) + except Exception as e: + logger.debug( + "Could not reformat phone number '%s' with country code '%s'. " + "Error: %s'", + partner_dict["phone"], + country_code, + e, + ) + if phone_num_e164: + partner = rpo.search( + domain + + [ + "|", + ("phone", "=", phone_num_e164), + ("mobile", "=", phone_num_e164), + ], + limit=1, + order=order, + ) + if partner: + return partner + return super()._hook_match_partner(partner_dict, chatter_msg, domain, order) diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..ff65d68 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Alexis de Lattre diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/readme/DESCRIPTION.rst new file mode 100644 index 0000000..9d94bd0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +With this module, Odoo will be able to use phone or mobile numbers to find the appropriate partner when importing business documents. When the *phone_validation* module from the official addons is installed, the phone numbers are stored in E.164 format (for example: +33 1 41 98 12 42) in Odoo. This allows reliable search on phone or mobile numbers when importing business documents. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/readme/INSTALL.rst b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/readme/INSTALL.rst new file mode 100644 index 0000000..f625d30 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/readme/INSTALL.rst @@ -0,0 +1 @@ +This module will be installed automatically if the modules *phone_validation* and *base_business_document_import* are installed. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/static/description/icon.png b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/static/description/index.html b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/static/description/index.html new file mode 100644 index 0000000..2af8e0f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/static/description/index.html @@ -0,0 +1,428 @@ + + + + + + +Base Business Document Import Phone + + + +
      +

      Base Business Document Import Phone

      + + +

      Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      With this module, Odoo will be able to use phone or mobile numbers to find the appropriate partner when importing business documents. When the phone_validation module from the official addons is installed, the phone numbers are stored in E.164 format (for example: +33 1 41 98 12 42) in Odoo. This allows reliable search on phone or mobile numbers when importing business documents.

      +

      Table of contents

      + +
      +

      Installation

      +

      This module will be installed automatically if the modules phone_validation and base_business_document_import are installed.

      +
      +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • Akretion
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      +Odoo Community Association +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      Current maintainer:

      +

      alexis-via

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/tests/__init__.py b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/tests/__init__.py new file mode 100644 index 0000000..b73b947 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/tests/__init__.py @@ -0,0 +1 @@ +from . import test_phone_partner_match diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/tests/test_phone_partner_match.py b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/tests/test_phone_partner_match.py new file mode 100644 index 0000000..e92de3d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/base_business_document_import_phone/tests/test_phone_partner_match.py @@ -0,0 +1,32 @@ +# Copyright 2016-2021 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.tests.common import TransactionCase + + +class TestPhonePartnerMatch(TransactionCase): + def test_phone_partner_match(self): + rpo = self.env["res.partner"] + bdoo = self.env["business.document.import"] + partner = rpo.create( + { + "name": "Alexis de Lattre", + "country_id": self.env.ref("base.fr").id, + "phone": "+33141981242", + "mobile": "+33699887766", + "supplier_rank": 10, + } + ) + partner_dict = { + "country_code": "FR", + "phone": "01.41.98.12.42", + } + res = bdoo._match_partner(partner_dict, []) + self.assertEqual(res, partner) + partner_dict = { + "country_code": "FR", + "phone": "(0)6-99-88-77-66", + } + res = bdoo._match_partner(partner_dict, []) + self.assertEqual(res, partner) diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/ARCHITECTURE.md new file mode 100644 index 0000000..cfc8ea5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_business_document_import_phone Module - base_business_document_import_phone + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/CONFIGURATION.md new file mode 100644 index 0000000..851df7f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_business_document_import_phone. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/DEPENDENCIES.md new file mode 100644 index 0000000..2071192 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/DEPENDENCIES.md @@ -0,0 +1,6 @@ +# Dependencies + +This addon depends on: + +- [phone_validation](../../odoo-bringout-oca-ocb-phone_validation) +- [base_business_document_import](../../odoo-bringout-oca-edi-base_business_document_import) diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/FAQ.md b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/FAQ.md new file mode 100644 index 0000000..cdef628 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_business_document_import_phone or install in UI. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/INSTALL.md new file mode 100644 index 0000000..d6a6395 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-base_business_document_import_phone" +# or +uv pip install odoo-bringout-oca-edi-framework-base_business_document_import_phone" +``` diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/MODELS.md b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/MODELS.md new file mode 100644 index 0000000..b935f9a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in base_business_document_import_phone. + +```mermaid +classDiagram + class business_document_import +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/OVERVIEW.md new file mode 100644 index 0000000..c8f659e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_business_document_import_phone. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_business_document_import_phone +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/USAGE.md b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/USAGE.md new file mode 100644 index 0000000..85f83bf --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_business_document_import_phone +``` diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-base_business_document_import_phone/pyproject.toml b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/pyproject.toml new file mode 100644 index 0000000..9c3c1ff --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_business_document_import_phone/pyproject.toml @@ -0,0 +1,43 @@ +[project] +name = "odoo-bringout-oca-edi-framework-base_business_document_import_phone" +version = "16.0.0" +description = "Base Business Document Import Phone - Use phone numbers to match partners upon import of business documents" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-ocb-phone_validation>=16.0.0", + "odoo-bringout-oca-edi-framework-base_business_document_import>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_business_document_import_phone"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/README.md b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/README.md new file mode 100644 index 0000000..a8508fd --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/README.md @@ -0,0 +1,44 @@ +# Base eBill Payment Contract + +Odoo addon: base_ebill_payment_contract + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-base_ebill_payment_contract +``` + +## Dependencies + +This addon depends on: +- account_invoice_transmit_method + +## Manifest Information + +- **Name**: Base eBill Payment Contract +- **Version**: 16.0.1.0.2 +- **Category**: N/A +- **License**: AGPL-3 +- **Installable**: False + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `base_ebill_payment_contract`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/README.rst b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/README.rst new file mode 100644 index 0000000..55157d4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/README.rst @@ -0,0 +1,103 @@ +=========================== +Base eBill Payment Contract +=========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:305c1c00d3de8d5ef06c54ff8bad41c5051a5ad6725e4095da4399e76b8f3881 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_ebill_payment_contract + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_ebill_payment_contract + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +The goal of this module is to be a common ground for ebilling addons. +It adds an ebill.payment.contract attached to a partner. +Alone this module has no purpose. It needs to be installed with a module that implements a specific ebilling system. +This depending module has to implement his own 'transmit.method'. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +#. Install a specific e-billing module + (None are ready, yet) + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Camptocamp + +Contributors +~~~~~~~~~~~~ + +* Thierry Ducrest +* Phuc Tran Thanh + +Other credits +~~~~~~~~~~~~~ + +The development of this module has been financially supported by: + +* Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-TDu| image:: https://github.com/TDu.png?size=40px + :target: https://github.com/TDu + :alt: TDu + +Current `maintainer `__: + +|maintainer-TDu| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/__init__.py b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/__manifest__.py b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/__manifest__.py new file mode 100644 index 0000000..bee90bb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2020 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Base eBill Payment Contract", + "summary": """ + Base for managing e-billing contracts""", + "version": "16.0.1.0.2", + "development_status": "Beta", + "license": "AGPL-3", + "author": "Camptocamp,Odoo Community Association (OCA)", + "maintainers": ["TDu"], + "website": "https://github.com/OCA/edi", + "depends": ["account_invoice_transmit_method"], + "data": ["security/ir.model.access.csv", "views/ebill_payment_contract.xml"], + "demo": ["demo/ebill_payment_contract.xml"], +} diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/demo/ebill_payment_contract.xml b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/demo/ebill_payment_contract.xml new file mode 100644 index 0000000..359a61c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/demo/ebill_payment_contract.xml @@ -0,0 +1,13 @@ + + + + + draft + + + + + open + + + diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/i18n/base_ebill_payment_contract.pot b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/i18n/base_ebill_payment_contract.pot new file mode 100644 index 0000000..8abe434 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/i18n/base_ebill_payment_contract.pot @@ -0,0 +1,116 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ebill_payment_contract +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__cancel +msgid "Cancel" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model,name:base_ebill_payment_contract.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_uid +msgid "Created by" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_date +msgid "Created on" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__partner_id +msgid "Customer" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__display_name +msgid "Display Name" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__draft +msgid "Draft" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_end +msgid "End date" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__id +msgid "ID" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__is_valid +msgid "Is Valid" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__name +msgid "Name" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__open +msgid "Open" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__transmit_method_id +msgid "Service Name" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_start +msgid "Start date" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__state +msgid "State" +msgstr "" + +#. module: base_ebill_payment_contract +#: model_terms:ir.ui.view,arch_db:base_ebill_payment_contract.ebill_payment_contract_search_view +msgid "Valid" +msgstr "" + +#. module: base_ebill_payment_contract +#: model:ir.actions.act_window,name:base_ebill_payment_contract.ebill_payment_contract_act_window +#: model:ir.model,name:base_ebill_payment_contract.model_ebill_payment_contract +#: model:ir.ui.menu,name:base_ebill_payment_contract.ebill_payment_contract_menu +msgid "eBill Payment Contract" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/i18n/bs.po b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/i18n/bs.po new file mode 100644 index 0000000..c8b2571 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/i18n/bs.po @@ -0,0 +1,116 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ebill_payment_contract +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__cancel +msgid "Cancel" +msgstr "Otkaži" + +#. module: base_ebill_payment_contract +#: model:ir.model,name:base_ebill_payment_contract.model_res_partner +msgid "Contact" +msgstr "Kontakt" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_uid +msgid "Created by" +msgstr "Kreirao" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_date +msgid "Created on" +msgstr "Kreirano" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__partner_id +msgid "Customer" +msgstr "Kupac" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__display_name +msgid "Display Name" +msgstr "Prikazani naziv" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__draft +msgid "Draft" +msgstr "U pripremi" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_end +msgid "End date" +msgstr "Završni datum" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__id +msgid "ID" +msgstr "ID" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__is_valid +msgid "Is Valid" +msgstr "Ispravan" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract____last_update +msgid "Last Modified on" +msgstr "Zadnje mijenjano" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_uid +msgid "Last Updated by" +msgstr "Zadnji ažurirao" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_date +msgid "Last Updated on" +msgstr "Zadnje ažurirano" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__name +msgid "Name" +msgstr "Naziv:" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__open +msgid "Open" +msgstr "Otvori" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__transmit_method_id +msgid "Service Name" +msgstr "Naziv usluge" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_start +msgid "Start date" +msgstr "Početni datum" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__state +msgid "State" +msgstr "Status" + +#. module: base_ebill_payment_contract +#: model_terms:ir.ui.view,arch_db:base_ebill_payment_contract.ebill_payment_contract_search_view +msgid "Valid" +msgstr "Odobreno" + +#. module: base_ebill_payment_contract +#: model:ir.actions.act_window,name:base_ebill_payment_contract.ebill_payment_contract_act_window +#: model:ir.model,name:base_ebill_payment_contract.model_ebill_payment_contract +#: model:ir.ui.menu,name:base_ebill_payment_contract.ebill_payment_contract_menu +msgid "eBill Payment Contract" +msgstr "eBill ugovor o plaćanju" diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/i18n/es.po b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/i18n/es.po new file mode 100644 index 0000000..c849c05 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/i18n/es.po @@ -0,0 +1,122 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ebill_payment_contract +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-11-20 22:34+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__cancel +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_ebill_payment_contract +#: model:ir.model,name:base_ebill_payment_contract.model_res_partner +msgid "Contact" +msgstr "Contacto" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__partner_id +msgid "Customer" +msgstr "Cliente" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__display_name +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_res_partner__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__draft +msgid "Draft" +msgstr "Borrador" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_end +msgid "End date" +msgstr "Fecha Final" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__id +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_res_partner__id +msgid "ID" +msgstr "ID" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__is_valid +msgid "Is Valid" +msgstr "Es Válido" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract____last_update +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_res_partner____last_update +msgid "Last Modified on" +msgstr "Última modificación el" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_uid +msgid "Last Updated by" +msgstr "Última Actualización por" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_date +msgid "Last Updated on" +msgstr "Última Actualización el" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__name +msgid "Name" +msgstr "Nombre" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__open +msgid "Open" +msgstr "Abrir" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__transmit_method_id +msgid "Service Name" +msgstr "Nombre del Servicio" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_start +msgid "Start date" +msgstr "Fecha Inicio" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__state +msgid "State" +msgstr "Estado" + +#. module: base_ebill_payment_contract +#: model_terms:ir.ui.view,arch_db:base_ebill_payment_contract.ebill_payment_contract_search_view +msgid "Valid" +msgstr "Válido" + +#. module: base_ebill_payment_contract +#: model:ir.actions.act_window,name:base_ebill_payment_contract.ebill_payment_contract_act_window +#: model:ir.model,name:base_ebill_payment_contract.model_ebill_payment_contract +#: model:ir.ui.menu,name:base_ebill_payment_contract.ebill_payment_contract_menu +msgid "eBill Payment Contract" +msgstr "Contrato de pago de facturas electrónicas" diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/i18n/it.po b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/i18n/it.po new file mode 100644 index 0000000..8eaed6e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/i18n/it.po @@ -0,0 +1,119 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ebill_payment_contract +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-23 12:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__cancel +msgid "Cancel" +msgstr "Annulla" + +#. module: base_ebill_payment_contract +#: model:ir.model,name:base_ebill_payment_contract.model_res_partner +msgid "Contact" +msgstr "Contatto" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__partner_id +msgid "Customer" +msgstr "Cliente" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__draft +msgid "Draft" +msgstr "Bozza" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_end +msgid "End date" +msgstr "Data fine" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__id +msgid "ID" +msgstr "ID" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__is_valid +msgid "Is Valid" +msgstr "È valido" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__name +msgid "Name" +msgstr "Nome" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__open +msgid "Open" +msgstr "Aperto" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__transmit_method_id +msgid "Service Name" +msgstr "Nome servizio" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_start +msgid "Start date" +msgstr "Data inizio" + +#. module: base_ebill_payment_contract +#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__state +msgid "State" +msgstr "Stato" + +#. module: base_ebill_payment_contract +#: model_terms:ir.ui.view,arch_db:base_ebill_payment_contract.ebill_payment_contract_search_view +msgid "Valid" +msgstr "Valido" + +#. module: base_ebill_payment_contract +#: model:ir.actions.act_window,name:base_ebill_payment_contract.ebill_payment_contract_act_window +#: model:ir.model,name:base_ebill_payment_contract.model_ebill_payment_contract +#: model:ir.ui.menu,name:base_ebill_payment_contract.ebill_payment_contract_menu +msgid "eBill Payment Contract" +msgstr "Contratto pagamento e-fattura" diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/models/__init__.py b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/models/__init__.py new file mode 100644 index 0000000..bd9c1f9 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/models/__init__.py @@ -0,0 +1,2 @@ +from . import res_partner +from . import ebill_payment_contract diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/models/ebill_payment_contract.py b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/models/ebill_payment_contract.py new file mode 100644 index 0000000..c18ab94 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/models/ebill_payment_contract.py @@ -0,0 +1,70 @@ +# Copyright 2020 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models + + +class EbillPaymentContract(models.Model): + + _name = "ebill.payment.contract" + _description = "eBill Payment Contract" + + transmit_method_id = fields.Many2one( + comodel_name="transmit.method", + string="Service Name", + ondelete="restrict", + ) + partner_id = fields.Many2one( + comodel_name="res.partner", required=True, string="Customer" + ) + name = fields.Char(related="partner_id.name") + date_start = fields.Date( + string="Start date", + required=True, + default=fields.Date.today, + ) + date_end = fields.Date(string="End date") + state = fields.Selection( + selection=[("draft", "Draft"), ("open", "Open"), ("cancel", "Cancel")], + required=True, + default="draft", + ) + is_valid = fields.Boolean(compute="_compute_is_valid", search="_search_is_valid") + + @api.onchange("state") + def _onchange_state(self): + """Change the end date if contract is canceled.""" + if self.state == "cancel" and self.date_end > fields.Date.today(): + self.date_end = fields.Date.today() + + @api.depends("state", "date_start", "date_end") + def _compute_is_valid(self): + """Check that the contract is valid + + It is valid if the contract is opened and its start date is in the past + And his end date is in the future or not set. + """ + today = fields.Date.today() + for contract in self: + contract.is_valid = ( + contract.state == "open" + and contract.date_start + and contract.date_start <= today + and (not contract.date_end or contract.date_end >= today) + ) + + def _search_is_valid(self, operator, value): + now = fields.Date.today() + domain = [ + ("state", "=", "open"), + ("date_start", "<=", now), + "|", + ("date_end", "=", False), + ("date_end", ">=", now), + ] + valid_contract = self.search(domain) + if (operator == "=" and value) or (operator == "!=" and not value): + new_operator = "in" + else: + new_operator = "not in" + return [("id", new_operator, valid_contract.ids)] diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/models/res_partner.py b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/models/res_partner.py new file mode 100644 index 0000000..76bf457 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/models/res_partner.py @@ -0,0 +1,33 @@ +# Copyright 2019 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import logging + +from odoo import models +from odoo.osv.expression import AND + +_logger = logging.getLogger(__name__) + + +class ResPartner(models.Model): + + _inherit = "res.partner" + + def get_active_contract(self, transmit_method, domain=None): + """Return the active contract for a specific transmit method.""" + self.ensure_one() + base_domain = [ + ("is_valid", "=", True), + ("partner_id", "=", self.id), + ("transmit_method_id", "=", transmit_method.id), + ] + contract = self.env["ebill.payment.contract"].search( + AND([domain or [], base_domain]), limit=1 + ) + if not contract: + _logger.error( + "eBill contract for {} on {} not found".format( + self.name, transmit_method.name + ) + ) + return contract diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..088bd4b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Thierry Ducrest +* Phuc Tran Thanh diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/readme/CREDITS.rst b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/readme/CREDITS.rst new file mode 100644 index 0000000..f5cc070 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/readme/CREDITS.rst @@ -0,0 +1,3 @@ +The development of this module has been financially supported by: + +* Camptocamp diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/readme/DESCRIPTION.rst new file mode 100644 index 0000000..9e01b8a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/readme/DESCRIPTION.rst @@ -0,0 +1,4 @@ +The goal of this module is to be a common ground for ebilling addons. +It adds an ebill.payment.contract attached to a partner. +Alone this module has no purpose. It needs to be installed with a module that implements a specific ebilling system. +This depending module has to implement his own 'transmit.method'. diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/readme/USAGE.rst b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/readme/USAGE.rst new file mode 100644 index 0000000..d798e79 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/readme/USAGE.rst @@ -0,0 +1,4 @@ +To use this module, you need to: + +#. Install a specific e-billing module + (None are ready, yet) diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/security/ir.model.access.csv b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/security/ir.model.access.csv new file mode 100644 index 0000000..899ad63 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_ebill_payment_contract_read,Read access on ebill.payment.contract to everybody,model_ebill_payment_contract,,1,0,0,0 +access_ebill_payment_contract_full,Full access on ebill.payment.contract to Financial Manager,model_ebill_payment_contract,account.group_account_manager,1,1,1,1 diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/static/description/icon.png b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/static/description/index.html b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/static/description/index.html new file mode 100644 index 0000000..d56808d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/static/description/index.html @@ -0,0 +1,446 @@ + + + + + +Base eBill Payment Contract + + + +
      +

      Base eBill Payment Contract

      + + +

      Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      The goal of this module is to be a common ground for ebilling addons. +It adds an ebill.payment.contract attached to a partner. +Alone this module has no purpose. It needs to be installed with a module that implements a specific ebilling system. +This depending module has to implement his own ‘transmit.method’.

      +

      Table of contents

      + +
      +

      Usage

      +

      To use this module, you need to:

      +
        +
      1. Install a specific e-billing module +(None are ready, yet)
      2. +
      +
      +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • Camptocamp
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Other credits

      +

      The development of this module has been financially supported by:

      +
        +
      • Camptocamp
      • +
      +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      + +Odoo Community Association + +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      Current maintainer:

      +

      TDu

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/tests/__init__.py b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/tests/__init__.py new file mode 100644 index 0000000..2133449 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/tests/__init__.py @@ -0,0 +1 @@ +from . import test_base_ebill_payment_contract diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/tests/test_base_ebill_payment_contract.py b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/tests/test_base_ebill_payment_contract.py new file mode 100644 index 0000000..b5fbd7a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/tests/test_base_ebill_payment_contract.py @@ -0,0 +1,70 @@ +# Copyright 2020 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +from datetime import date, timedelta + +from odoo.tests.common import Form, SingleTransactionCase + + +class TestBaseEbillPaymentContract(SingleTransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.contract1 = cls.env.ref( + "base_ebill_payment_contract.ebill_payment_contract_demo_1" + ) + cls.partner = cls.contract1.partner_id + cls.method_post = cls.env.ref("account_invoice_transmit_method.post") + + def test_contract_validity(self): + self.contract1.state = "open" + # Contract starting today + self.contract1.date_start = date.today() + self.contract1.date_end = date.today() + timedelta(days=10) + self.assertTrue(self.contract1.is_valid) + # Contract finishing tomorrow + self.contract1.date_start = date.today() - timedelta(days=100) + self.contract1.date_end = date.today() + self.assertTrue(self.contract1.is_valid) + # Contract with no end date + self.contract1.date_start = date.today() - timedelta(days=100) + self.contract1.date_end = None + self.assertTrue(self.contract1.is_valid) + + def test_contract_is_not_valid(self): + self.contract1.state = "draft" + self.assertFalse(self.contract1.is_valid) + self.contract1.state = "cancel" + self.assertFalse(self.contract1.is_valid) + self.contract1.state = "open" + # Contract in the past + self.contract1.date_start = date.today() - timedelta(days=5) + self.contract1.date_end = date.today() - timedelta(days=1) + self.assertFalse(self.contract1.is_valid) + # Contract in the future + self.contract1.date_start = date.today() + timedelta(days=1) + self.contract1.date_end = date.today() + timedelta(days=5) + self.assertFalse(self.contract1.is_valid) + # Contract in the future with no end date + self.contract1.date_start = date.today() + timedelta(days=1) + self.contract1.date_end = None + self.assertFalse(self.contract1.is_valid) + + def test_contract_canceled(self): + """Check end date when contract is canceled.""" + self.contract1.date_start = date.today() - timedelta(days=6) + self.contract1.date_end = date.today() + timedelta(days=6) + self.contract1.state = "open" + with Form(self.contract1) as uiform: + uiform.state = "cancel" + self.assertEqual(date.today(), self.contract1.date_end) + + def test_contract_valid_different_transmition_method(self): + self.contract1.state = "open" + self.contract1.date_start = date.today() + self.contract1.date_end = date.today() + timedelta(days=10) + self.assertTrue(self.contract1.is_valid) + self.assertTrue( + self.partner.get_active_contract(self.contract1.transmit_method_id) + ) + self.assertFalse(self.partner.get_active_contract(self.method_post)) diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/views/ebill_payment_contract.xml b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/views/ebill_payment_contract.xml new file mode 100644 index 0000000..d3f4378 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/base_ebill_payment_contract/views/ebill_payment_contract.xml @@ -0,0 +1,64 @@ + + + + + ebill.payment.contract.form + ebill.payment.contract + +
      + + + + + + + + + +
      +
      +
      + + ebill.payment.contract.search + ebill.payment.contract + + + + + + + + + + ebill.payment.contract.tree + ebill.payment.contract + + + + + + + + + + + + + eBill Payment Contract + ebill.payment.contract + tree,form + [] + {} + + + eBill Payment Contract + + + + +
      diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/ARCHITECTURE.md new file mode 100644 index 0000000..41a4d57 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_ebill_payment_contract Module - base_ebill_payment_contract + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/CONFIGURATION.md new file mode 100644 index 0000000..3bbc5f7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_ebill_payment_contract. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/DEPENDENCIES.md new file mode 100644 index 0000000..9cb43a9 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/DEPENDENCIES.md @@ -0,0 +1,5 @@ +# Dependencies + +This addon depends on: + +- [account_invoice_transmit_method](../../odoo-bringout-oca-account-invoicing-account_invoice_transmit_method) diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/FAQ.md b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/FAQ.md new file mode 100644 index 0000000..0c038a7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_ebill_payment_contract or install in UI. diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/INSTALL.md new file mode 100644 index 0000000..9445a0e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-base_ebill_payment_contract" +# or +uv pip install odoo-bringout-oca-edi-framework-base_ebill_payment_contract" +``` diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/MODELS.md b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/MODELS.md new file mode 100644 index 0000000..26140c3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/MODELS.md @@ -0,0 +1,13 @@ +# Models + +Detected core models and extensions in base_ebill_payment_contract. + +```mermaid +classDiagram + class ebill_payment_contract + class res_partner +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/OVERVIEW.md new file mode 100644 index 0000000..9b96417 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_ebill_payment_contract. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_ebill_payment_contract +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/SECURITY.md new file mode 100644 index 0000000..12fd38f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/SECURITY.md @@ -0,0 +1,34 @@ +# Security + +Access control and security definitions in base_ebill_payment_contract. + +## Access Control Lists (ACLs) + +Model access permissions defined in: +- **[ir.model.access.csv](../base_ebill_payment_contract/security/ir.model.access.csv)** + - 2 model access rules + +## Record Rules + +Row-level security rules defined in: + +```mermaid +graph TB + subgraph "Security Layers" + A[Users] --> B[Groups] + B --> C[Access Control Lists] + C --> D[Models] + B --> E[Record Rules] + E --> F[Individual Records] + end +``` + +Security files overview: +- **[ir.model.access.csv](../base_ebill_payment_contract/security/ir.model.access.csv)** + - Model access permissions (CRUD rights) + +Notes +- Access Control Lists define which groups can access which models +- Record Rules provide row-level security (filter records by user/group) +- Security groups organize users and define permission sets +- All security is enforced at the ORM level by Odoo diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/USAGE.md b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/USAGE.md new file mode 100644 index 0000000..28bf02b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_ebill_payment_contract +``` diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/pyproject.toml b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/pyproject.toml new file mode 100644 index 0000000..4d41550 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ebill_payment_contract/pyproject.toml @@ -0,0 +1,43 @@ +[project] +name = "odoo-bringout-oca-edi-framework-base_ebill_payment_contract" +version = "16.0.0" +description = "Base eBill Payment Contract - + Base for managing e-billing contracts" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-framework-account_invoice_transmit_method>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_ebill_payment_contract"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-base_edi/README.md b/odoo-bringout-oca-edi-framework-base_edi/README.md new file mode 100644 index 0000000..5b48b95 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/README.md @@ -0,0 +1,44 @@ +# Base EDI + +Odoo addon: base_edi + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-base_edi +``` + +## Dependencies + +This addon depends on: +- base + +## Manifest Information + +- **Name**: Base EDI +- **Version**: 16.0.1.1.0 +- **Category**: N/A +- **License**: LGPL-3 +- **Installable**: False + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `base_edi`. + +## License + +This package maintains the original LGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/README.rst b/odoo-bringout-oca-edi-framework-base_edi/base_edi/README.rst new file mode 100644 index 0000000..0dc95a0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/README.rst @@ -0,0 +1,97 @@ +======== +Base EDI +======== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:1c469068e0daba83d1827df6b21ccc1ea4855f21ffa99c18828f4b4aea6d72d3 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_edi + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_edi + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Base EDI module to aggregate EDI features. + +Currently it provides: + +1. home menu item +2. general security group +3. module category + +**Table of contents** + +.. contents:: + :local: + +Known issues / Roadmap +====================== + +* implement new generic features around this +* integrate existing modules with this + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* ACSONE + +Contributors +~~~~~~~~~~~~ + +* Simone Orsi +* John Herholz + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-simahawk| image:: https://github.com/simahawk.png?size=40px + :target: https://github.com/simahawk + :alt: simahawk + +Current `maintainer `__: + +|maintainer-simahawk| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/__init__.py b/odoo-bringout-oca-edi-framework-base_edi/base_edi/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/__manifest__.py b/odoo-bringout-oca-edi-framework-base_edi/base_edi/__manifest__.py new file mode 100644 index 0000000..21aa2c8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright 2020 ACSONE +# @author: Simone Orsi +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +{ + "name": "Base EDI", + "summary": """Base module to aggregate EDI features.""", + "version": "16.0.1.1.0", + "development_status": "Beta", + "website": "https://github.com/OCA/edi", + "license": "LGPL-3", + "author": "ACSONE,Odoo Community Association (OCA)", + "maintainers": ["simahawk"], + "depends": ["base"], + "data": [ + "data/module_category.xml", + "security/edi_groups.xml", + "views/edi_menu.xml", + ], +} diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/data/module_category.xml b/odoo-bringout-oca-edi-framework-base_edi/base_edi/data/module_category.xml new file mode 100644 index 0000000..83a0816 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/data/module_category.xml @@ -0,0 +1,7 @@ + + + + EDI + 50 + + diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/base_edi.pot b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/base_edi.pot new file mode 100644 index 0000000..23939b7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/base_edi.pot @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/bs.po b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/bs.po new file mode 100644 index 0000000..0515a7e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/bs.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "EDI upravljanje" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "EDI korisnik" diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/ca.po b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/ca.po new file mode 100644 index 0000000..3d2bf06 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/ca.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-07-24 18:58+0000\n" +"Last-Translator: QuiJoQuim \n" +"Language-Team: none\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "Administrador de EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "Usuari EDI" diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/de.po b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/de.po new file mode 100644 index 0000000..4a9fd37 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/de.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-02-19 18:06+0000\n" +"Last-Translator: davidbeckercbl \n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "EDI Manager" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "EDI Benutzer" diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/es.po b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/es.po new file mode 100644 index 0000000..e235dcb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/es.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-08-07 11:09+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "Administrador de EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/fr.po b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/fr.po new file mode 100644 index 0000000..11a2025 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/fr.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-11-06 16:06+0000\n" +"Last-Translator: samibc2c \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "Gestionnaire EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "Utilisateur EDI" diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/hr.po b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/hr.po new file mode 100644 index 0000000..9458952 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/hr.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-06-02 12:09+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "EDI upravljanje" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/it.po b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/it.po new file mode 100644 index 0000000..38e6f84 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/it.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-07-15 09:58+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "Gestore EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "Utente EDI" diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/nl.po b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/nl.po new file mode 100644 index 0000000..dbf582b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/i18n/nl.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edi +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-12-13 02:36+0000\n" +"Last-Translator: Bosd \n" +"Language-Team: none\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: base_edi +#: model:ir.module.category,name:base_edi.module_category_edi +#: model:ir.ui.menu,name:base_edi.menu_edi_root +msgid "EDI" +msgstr "EDI" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_manager +msgid "EDI Manager" +msgstr "EDI Manager" + +#. module: base_edi +#: model:res.groups,name:base_edi.group_edi_user +msgid "EDI User" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-base_edi/base_edi/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..bf31b55 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Simone Orsi +* John Herholz diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-base_edi/base_edi/readme/DESCRIPTION.rst new file mode 100644 index 0000000..4433870 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/readme/DESCRIPTION.rst @@ -0,0 +1,7 @@ +Base EDI module to aggregate EDI features. + +Currently it provides: + +1. home menu item +2. general security group +3. module category diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/readme/ROADMAP.rst b/odoo-bringout-oca-edi-framework-base_edi/base_edi/readme/ROADMAP.rst new file mode 100644 index 0000000..4050eed --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/readme/ROADMAP.rst @@ -0,0 +1,2 @@ +* implement new generic features around this +* integrate existing modules with this diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/security/edi_groups.xml b/odoo-bringout-oca-edi-framework-base_edi/base_edi/security/edi_groups.xml new file mode 100644 index 0000000..9eb5d05 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/security/edi_groups.xml @@ -0,0 +1,22 @@ + + + + EDI User + + + + + + + EDI Manager + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/static/description/icon.png b/odoo-bringout-oca-edi-framework-base_edi/base_edi/static/description/icon.png new file mode 100644 index 0000000..a797526 Binary files /dev/null and b/odoo-bringout-oca-edi-framework-base_edi/base_edi/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/static/description/icon.svg b/odoo-bringout-oca-edi-framework-base_edi/base_edi/static/description/icon.svg new file mode 100644 index 0000000..68768dc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/static/description/icon.svg @@ -0,0 +1,141 @@ + + + + + + image/svg+xml + + icon + + + + + + + + + + + + + + + icon + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/static/description/index.html b/odoo-bringout-oca-edi-framework-base_edi/base_edi/static/description/index.html new file mode 100644 index 0000000..8ba14c7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/static/description/index.html @@ -0,0 +1,440 @@ + + + + + +Base EDI + + + +
      +

      Base EDI

      + + +

      Beta License: LGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      Base EDI module to aggregate EDI features.

      +

      Currently it provides:

      +
        +
      1. home menu item
      2. +
      3. general security group
      4. +
      5. module category
      6. +
      +

      Table of contents

      + +
      +

      Known issues / Roadmap

      +
        +
      • implement new generic features around this
      • +
      • integrate existing modules with this
      • +
      +
      +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • ACSONE
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      + +Odoo Community Association + +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      Current maintainer:

      +

      simahawk

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-framework-base_edi/base_edi/views/edi_menu.xml b/odoo-bringout-oca-edi-framework-base_edi/base_edi/views/edi_menu.xml new file mode 100644 index 0000000..6ed19fc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/base_edi/views/edi_menu.xml @@ -0,0 +1,10 @@ + + + + diff --git a/odoo-bringout-oca-edi-framework-base_edi/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-base_edi/doc/ARCHITECTURE.md new file mode 100644 index 0000000..3452b4d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_edi Module - base_edi + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-base_edi/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-base_edi/doc/CONFIGURATION.md new file mode 100644 index 0000000..4d2d044 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_edi. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-base_edi/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-base_edi/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-base_edi/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-base_edi/doc/DEPENDENCIES.md new file mode 100644 index 0000000..e3a0a5c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/doc/DEPENDENCIES.md @@ -0,0 +1,5 @@ +# Dependencies + +This addon depends on: + +- base diff --git a/odoo-bringout-oca-edi-framework-base_edi/doc/FAQ.md b/odoo-bringout-oca-edi-framework-base_edi/doc/FAQ.md new file mode 100644 index 0000000..7df8926 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_edi or install in UI. diff --git a/odoo-bringout-oca-edi-framework-base_edi/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-base_edi/doc/INSTALL.md new file mode 100644 index 0000000..a11e787 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-base_edi" +# or +uv pip install odoo-bringout-oca-edi-framework-base_edi" +``` diff --git a/odoo-bringout-oca-edi-framework-base_edi/doc/MODELS.md b/odoo-bringout-oca-edi-framework-base_edi/doc/MODELS.md new file mode 100644 index 0000000..7b72435 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/doc/MODELS.md @@ -0,0 +1,11 @@ +# Models + +Detected core models and extensions in base_edi. + +```mermaid +classDiagram +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-base_edi/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-base_edi/doc/OVERVIEW.md new file mode 100644 index 0000000..d34855f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_edi. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_edi +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-base_edi/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-base_edi/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-base_edi/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-base_edi/doc/SECURITY.md new file mode 100644 index 0000000..028a848 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/doc/SECURITY.md @@ -0,0 +1,64 @@ +# Security + +Access control and security definitions in base_edi. + +## Access Control Lists (ACLs) + +Model access permissions defined in: +- **[bosnian_translations.json](../bosnian_translations.json)** + - 240 model access rules +- **[CHANGELOG.md](../CHANGELOG.md)** + - 132 model access rules +- **[doc](../doc)** +- **[docker](../docker)** +- **[input](../input)** +- **[nix](../nix)** +- **[odoo.conf](../odoo.conf)** + - 58 model access rules +- **[odoo_packages_bez_l10n.txt](../odoo_packages_bez_l10n.txt)** + - 1947 model access rules +- **[odoo_packages_bringout.txt](../odoo_packages_bringout.txt)** + - 1947 model access rules +- **[odoo_packages.txt](../odoo_packages.txt)** + - 2085 model access rules +- **[output](../output)** +- **[packages](../packages)** +- **[PACKAGES.md](../PACKAGES.md)** + - 298 model access rules +- **[README.md](../README.md)** + - 338 model access rules +- **[scripts](../scripts)** +- **[temp](../temp)** +- **[TRANSLATION_BS_SUMMARY.md](../TRANSLATION_BS_SUMMARY.md)** + - 146 model access rules + +## Record Rules + +Row-level security rules defined in: + +## Security Groups & Configuration + +Security groups and permissions defined in: +- **[edi_groups.xml](../base_edi/security/edi_groups.xml)** + - 2 security groups defined + +```mermaid +graph TB + subgraph "Security Layers" + A[Users] --> B[Groups] + B --> C[Access Control Lists] + C --> D[Models] + B --> E[Record Rules] + E --> F[Individual Records] + end +``` + +Security files overview: +- **[edi_groups.xml](../base_edi/security/edi_groups.xml)** + - Security groups, categories, and XML-based rules + +Notes +- Access Control Lists define which groups can access which models +- Record Rules provide row-level security (filter records by user/group) +- Security groups organize users and define permission sets +- All security is enforced at the ORM level by Odoo diff --git a/odoo-bringout-oca-edi-framework-base_edi/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-base_edi/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-base_edi/doc/USAGE.md b/odoo-bringout-oca-edi-framework-base_edi/doc/USAGE.md new file mode 100644 index 0000000..000b347 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_edi +``` diff --git a/odoo-bringout-oca-edi-framework-base_edi/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-base_edi/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-base_edi/pyproject.toml b/odoo-bringout-oca-edi-framework-base_edi/pyproject.toml new file mode 100644 index 0000000..d3add9b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edi/pyproject.toml @@ -0,0 +1,42 @@ +[project] +name = "odoo-bringout-oca-edi-framework-base_edi" +version = "16.0.0" +description = "Base EDI - Base module to aggregate EDI features." +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-ocb-base>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_edi"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-base_edifact/README.md b/odoo-bringout-oca-edi-framework-base_edifact/README.md new file mode 100644 index 0000000..1193c58 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/README.md @@ -0,0 +1,46 @@ +# Base EDIFACT + +Odoo addon: base_edifact + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-base_edifact +``` + +## Dependencies + +This addon depends on: +- account +- partner_identification +- partner_identification_gln + +## Manifest Information + +- **Name**: Base EDIFACT +- **Version**: 16.0.1.5.1 +- **Category**: Tools +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `base_edifact`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/README.rst b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/README.rst new file mode 100644 index 0000000..e0d6cda --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/README.rst @@ -0,0 +1,132 @@ +============ +Base EDIFACT +============ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:05c6653f0f7b28dad1c23a6fbbd329329b0306b08f5577c19e376750c2c4f95d + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png + :target: https://odoo-community.org/page/development-status + :alt: Alpha +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_edifact + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_edifact + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + + +This module contains methods to generate and parse EDIFACT/D96A files + +.. IMPORTANT:: + This is an alpha version, the data model and design can change at any time without warning. + Only for development or testing purpose, do not use in production. + `More details on development status `_ + +**Table of contents** + +.. contents:: + :local: + +Installation +============ + + +This module requires 'pydifact' python library. + +Configuration +============= + +Requires partner_identification_gln module to store GLN identifiers. + +Partner identification code assigned by the European Article Numbering Association. + +Use two identification categories: + +- "GLN Identificatin Number". Partner identification like invoice or delivery address. +- "GCP Identification Number". Global Company Prefix. + +If GCP codes are needed in UNB interchange header. + +If you need group partners, consider oca/partner-contact/partner_company_group module. + +Usage +===== + + +This module doesn't do anything useful by itself, but it is used by several other modules: + +* *sale_order_import_edifact* that imports EDIFACT/D96A sale orders. + +Changelog +========= + + +14.0.1.0.0 (2023-04-13) +~~~~~~~~~~~~~~~~~~~~~~~ +Strong migration from 12.0.1.0.1 because it's not working for Amazon vendor orders. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* ALBA Software +* PlanetaTIC + +Contributors +~~~~~~~~~~~~ + +* Rafa Morant (www.albasoft.com) +* Marc Poch +* Duong (Tran Quoc) +* Tris Doan + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-rmorant| image:: https://github.com/rmorant.png?size=40px + :target: https://github.com/rmorant + :alt: rmorant + +Current `maintainer `__: + +|maintainer-rmorant| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/__init__.py b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/__manifest__.py b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/__manifest__.py new file mode 100644 index 0000000..b6cbebb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/__manifest__.py @@ -0,0 +1,27 @@ +# Copyright 2023 ALBA Software S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) +{ + "name": "Base EDIFACT", + "summary": "UN/EDIFACT/D96A utilities using pydifact parser", + "version": "16.0.1.5.1", + "development_status": "Alpha", + "category": "Tools", + "website": "https://github.com/OCA/edi", + "author": "ALBA Software, PlanetaTIC, Odoo Community Association (OCA)", + "maintainers": ["rmorant"], + "license": "AGPL-3", + "application": False, + "installable": True, + # "preloadable": True, + "external_dependencies": { + "python": ["pydifact"], + "bin": [], + }, + "depends": [ + # for configuration + "account", + "partner_identification", + "partner_identification_gln", + ], + "data": [], +} diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/i18n/base_edifact.pot b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/i18n/base_edifact.pot new file mode 100644 index 0000000..21aeacb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/i18n/base_edifact.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_edifact +#: model:ir.model,name:base_edifact.model_base_edifact +msgid "Generate and parse Edifact documents" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/i18n/fr.po b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/i18n/fr.po new file mode 100644 index 0000000..fca2786 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/i18n/fr.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-01 15:34+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_edifact +#: model:ir.model,name:base_edifact.model_base_edifact +msgid "Generate and parse Edifact documents" +msgstr "Générer et anaylser les documents Edifact" diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/i18n/it.po b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/i18n/it.po new file mode 100644 index 0000000..9e47014 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/i18n/it.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_edifact +#: model:ir.model,name:base_edifact.model_base_edifact +msgid "Generate and parse Edifact documents" +msgstr "Genera ed elabora documenti Edifact" diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/models/__init__.py b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/models/__init__.py new file mode 100644 index 0000000..6216ddc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/models/__init__.py @@ -0,0 +1 @@ +from . import edifact diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/models/edifact.py b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/models/edifact.py new file mode 100644 index 0000000..a384eb9 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/models/edifact.py @@ -0,0 +1,294 @@ +# Copyright 2023 ALBA Software S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) + + +import datetime +import logging + +from pydifact.segmentcollection import Interchange, Message +from pydifact.segments import Segment + +from odoo import api, models + +logger = logging.getLogger(__name__) + + +# https://github.com/nerdocs/pydifact +class BasePydifact(models.AbstractModel): + _name = "base.edifact" + _description = "Generate and parse Edifact documents" + + MAP_AGENCY_CODE_2_RES_PARTNER_NAMEREF = {"9": "gln"} + CURRENCY_SYMBOLS = { + "EUR": "€", + "USD": "$", + } + PRODUCT_CODE_TYPES = {"EN": "EAN", "UP": "UPC", "SRV": "GTIN"} + + @api.model + def pydifact_import(self, names): + classes = { + "Segment": Segment, + "Message": Message, + "Interchange": Interchange, + } + return [classes.get(name, None) for name in names] + + @api.model + def pydifact_obj(self, docu): + obj = [] + interchange = self._loads_edifact(docu) + header_seg = interchange.get_header_segment() + header_dict = dict() + header_dict[header_seg.tag] = header_seg.elements + obj.append(header_dict) + for message in interchange.get_messages(): + segms = [] + msg = { + "reference_number": message.reference_number, + "type": message.type, + "version": message.version, + "identifier": message.identifier, + "HEADER_TAG": message.HEADER_TAG, + "FOOTER_TAG": message.FOOTER_TAG, + "characters": str(message.characters), + "extra_header_elements": message.extra_header_elements, + "has_una_segment": message.has_una_segment, + } + logger.info(message) + for segment in message.segments: + logger.info( + "Segment tag: {}, content: {}".format(segment.tag, segment.elements) + ) + # segms.append((segment.tag, segment.elements)) + seg = dict() + seg[segment.tag] = segment.elements + segms.append(seg) + msg["segments"] = segms + obj.append(msg) + return obj + + @api.model + def _loads_edifact(self, order_file): + # TODO: use chardet library for get encoding + try: + interchange = Interchange.from_str(order_file.decode()) + except UnicodeDecodeError: + interchange = Interchange.from_str(order_file.decode("latin-1")) + return interchange + + @api.model + def _get_msg_type(self, interchange): + seg = interchange.get_segment("UNH") + # MSG_TYPE, EDIFACT_MSG_TYPE_RELEASE + return (seg[1][0], "{}{}".format(seg[1][1], seg[1][2])) + + @api.model + def map2odoo_date(self, dt): + # '102' + date_format = "%Y%m%d%H%M%S" + length_dt = len(dt[1]) + if length_dt % 2 == 0 and length_dt in range(8, 13, 2): + date_format = date_format[0 : length_dt - 2] + dtt = datetime.datetime.strptime(dt[1], date_format) + return dtt.date() + + @api.model + def map2odoo_partner(self, seg): + """ + BY. Party to which merchandise is sold. + NAD+BY+5550534000017::9' + NAD segment: ['BY', ['5550534001649', '', '9']] + + SU. Party which manufactures or otherwise has possession of + goods,and consigns or makes them available in trade. + NAD+SU+::9' + """ + + partner_dict = {} + codes = ["BY", "SU"] + reference_code = seg[0] + if reference_code not in codes: + raise NotImplementedError(f"Code '{reference_code}' not implemented") + # + party_identification = seg[1] + party_id = party_identification[0] + agency_code = party_identification[2] + nameref = self.MAP_AGENCY_CODE_2_RES_PARTNER_NAMEREF.get(agency_code, "gln") + partner_dict[nameref] = party_id + return partner_dict + + @api.model + def map2odoo_address(self, seg): + """ + DP. Party to which goods should be delivered, if not identical with + consignee. + NAD+DP+5550534000086::9+++++++DE' + NAD segment: ['DP', ['5550534022101', '', '9'], '', '', '', '', '', '', 'ES'] + IV. Party to whom an invoice is issued. + NAD+IV+5450534005838::9++AMAZON EU SARL:NIEDERLASSUNG + DEUTSCHLAND+MARCEL-BREUER-STR. 12+MUENCHEN++80807+DE + + :returns: { + 'type': + 'partner': {'gln':''} + 'address': {...} + } + """ + if seg[0] not in ("DP", "IV"): + return False + order_type = "delivery" if seg[0] == "DP" else "invoice" + address = dict(type=order_type, partner={}, address={}) + # PARTY IDENTIFICATION DETAILS + iden = seg[1] + party_id = iden[0] + agency_code = iden[2] + nameref = self.MAP_AGENCY_CODE_2_RES_PARTNER_NAMEREF.get(agency_code, "gln") + address["partner"][nameref] = party_id + d = address["address"] + # Fallback if address information is missing + try: + if isinstance(seg, Segment): + lenght_seg = len(seg.elements) + else: + lenght_seg = len(seg) + except ValueError: + lenght_seg = 0 + # PARTY NAME + if lenght_seg > 2 and bool(seg[2]): + d["name"] = seg[2] + if lenght_seg > 3 and bool(seg[3]): + d["name"] = "{}{}".format(f"{d['name']}. " if d.get("name") else "", seg[3]) + if lenght_seg > 4 and bool(seg[4]): + # Street address and/or PO Box number in a structured address: one to three lines. + d["street"] = seg[4] + if lenght_seg > 5 and bool(seg[5]): + d["city"] = seg[5] + if lenght_seg > 6 and bool(seg[6]): + # Country sub-entity identification + d["state_code"] = seg[6] + if lenght_seg > 7 and bool(seg[7]): + d["zip"] = seg[7] + if lenght_seg > 8 and bool(seg[8]): + # Country, coded ISO 3166 + d["country_code"] = seg[8] + + return address + + @api.model + def map2odoo_currency(self, seg): + """ + ['2', 'EUR', '9'] + """ + # Identification of the name or symbol of the monetary unit involved in the transaction. + currency_coded = seg[1] + return { + "iso": currency_coded, + "symbol": self.CURRENCY_SYMBOLS.get(currency_coded, False), + } + + @api.model + def map2odoo_product(self, seg, pia=None): + """ + :seg: LIN segment + ['1', '', ['8885583503464', 'EN']] + EN. International Article Numbering Association (EAN) + UP. UPC (Universal product code) + SRV. GTIN + :pia: PIA segment + ['5', ['1276', 'SA', '', '9']] + SA. Supplier's Article Number + """ + res = {} + # Set default code based on SA if given + if pia is not None and pia[1][0]: + res["code"] = pia[1][0] + code = seg[2][0] if len(list(seg)) > 2 else False + if code: + field = "code" if seg[2][1] == "SRV" else "barcode" + res[field] = code + return res + + @api.model + def map2odoo_qty(self, seg): + """ + 'QTY' EDI segment: [['21', '2']] + '21'. Ordered quantity + """ + return float(seg[0][1]) + + @api.model + def map2odoo_unit_price(self, seg=None): + """ + 'PRI' EDI segment: [['AAA', '19.75']] + Price qualifier: + * 'AAA'. Calculation net + * 'AAB'. Calculation gross + """ + if seg: + pri = seg[0] + if pri[0] == "AAA": + return float(pri[1]) + # TODO: Add price calculation formula + if pri[0] == "AAB": + return float(pri[1]) + return 0.0 + + @api.model + def map2odoo_description(self, seg): + """ + 'IMD' EDI segment: ['F', '79', ['', '', '', 'Description']] + F: Label + 79: Other description + """ + if seg: + description = seg[2][3] + return description + return None + + def _safe_segment_element(self, value): + if value is False: + return "" + return str(value) + + @api.model + def create_segment(self, *elements): + cleaned_elements = [] + for element in elements: + if isinstance(element, list): + cleaned_elements.append( + [self._safe_segment_element(value) for value in element] + ) + else: + cleaned_elements.append(self._safe_segment_element(element)) + return Segment(*cleaned_elements) + + def create_interchange(self, sender, recipient, control_ref, syntax_identifier): + """ + Create an interchange (started by UNB segment, ended by UNZ segment) + + :param list sender: Identification of the sender of the interchange. + example: ["40410", "14"] + - 40410: Identification of the sender of the interchange + - 14: EAN (European Article Numbering Association) + :param list recipient: Identification of the recipient of the interchange. + example: ["40411", "14"] + :param str control_ref: Unique reference assigned by the sender to an interchange. + example: "10" + :param list syntax_identifier: Identification of the agency controlling + the syntax and indication of syntax level, plus the syntax version number. + example: ["UNOC", "3"] + + :return: Interchange object representing the created interchange. + :rtype: Interchange + """ + if not sender or not recipient or not control_ref or not syntax_identifier: + raise ValueError("All parameters must have values and not be False") + + interchange = Interchange( + sender=(sender), + recipient=(recipient), + control_reference=str(control_ref), + syntax_identifier=(syntax_identifier), + ) + return interchange diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/CONFIGURE.rst b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/CONFIGURE.rst new file mode 100644 index 0000000..52e98dc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/CONFIGURE.rst @@ -0,0 +1,12 @@ +Requires partner_identification_gln module to store GLN identifiers. + +Partner identification code assigned by the European Article Numbering Association. + +Use two identification categories: + +- "GLN Identificatin Number". Partner identification like invoice or delivery address. +- "GCP Identification Number". Global Company Prefix. + +If GCP codes are needed in UNB interchange header. + +If you need group partners, consider oca/partner-contact/partner_company_group module. diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..74ed30e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Rafa Morant (www.albasoft.com) +* Marc Poch +* Duong (Tran Quoc) +* Tris Doan diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/DESCRIPTION.rst new file mode 100644 index 0000000..397f86d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ + +This module contains methods to generate and parse EDIFACT/D96A files diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/HISTORY.rst b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/HISTORY.rst new file mode 100644 index 0000000..5a4112e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/HISTORY.rst @@ -0,0 +1,4 @@ + +14.0.1.0.0 (2023-04-13) +~~~~~~~~~~~~~~~~~~~~~~~ +Strong migration from 12.0.1.0.1 because it's not working for Amazon vendor orders. diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/INSTALL.rst b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/INSTALL.rst new file mode 100644 index 0000000..bffb873 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/INSTALL.rst @@ -0,0 +1,2 @@ + +This module requires 'pydifact' python library. diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/USAGE.rst b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/USAGE.rst new file mode 100644 index 0000000..6b984be --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/readme/USAGE.rst @@ -0,0 +1,4 @@ + +This module doesn't do anything useful by itself, but it is used by several other modules: + +* *sale_order_import_edifact* that imports EDIFACT/D96A sale orders. diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/static/description/icon.png b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/static/description/icon.svg b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/static/description/icon.svg new file mode 100644 index 0000000..a7a26d0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/static/description/icon.svg @@ -0,0 +1,79 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/static/description/index.html b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/static/description/index.html new file mode 100644 index 0000000..9fa30d1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/static/description/index.html @@ -0,0 +1,469 @@ + + + + + +Base EDIFACT + + + +
      +

      Base EDIFACT

      + + +

      Alpha License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      This module contains methods to generate and parse EDIFACT/D96A files

      +
      +

      Important

      +

      This is an alpha version, the data model and design can change at any time without warning. +Only for development or testing purpose, do not use in production. +More details on development status

      +
      +

      Table of contents

      + +
      +

      Installation

      +

      This module requires ‘pydifact’ python library.

      +
      +
      +

      Configuration

      +

      Requires partner_identification_gln module to store GLN identifiers.

      +

      Partner identification code assigned by the European Article Numbering Association.

      +

      Use two identification categories:

      +
        +
      • “GLN Identificatin Number”. Partner identification like invoice or delivery address.
      • +
      • “GCP Identification Number”. Global Company Prefix.
      • +
      +

      If GCP codes are needed in UNB interchange header.

      +

      If you need group partners, consider oca/partner-contact/partner_company_group module.

      +
      +
      +

      Usage

      +

      This module doesn’t do anything useful by itself, but it is used by several other modules:

      +
        +
      • sale_order_import_edifact that imports EDIFACT/D96A sale orders.
      • +
      +
      +
      +

      Changelog

      +
      +

      14.0.1.0.0 (2023-04-13)

      +

      Strong migration from 12.0.1.0.1 because it’s not working for Amazon vendor orders.

      +
      +
      +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • ALBA Software
      • +
      • PlanetaTIC
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      +Odoo Community Association +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      Current maintainer:

      +

      rmorant

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/__init__.py b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/__init__.py new file mode 100644 index 0000000..25dfeb0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/__init__.py @@ -0,0 +1 @@ +from . import test_base_edifact diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/files/Retail_EDIFACT_ORDERS_sample1.txt b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/files/Retail_EDIFACT_ORDERS_sample1.txt new file mode 100644 index 0000000..59e6923 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/files/Retail_EDIFACT_ORDERS_sample1.txt @@ -0,0 +1,26 @@ +UNB+UNOA:2+5450534000000:14+8450534000000:14+221117:0134+4234++++1+EANCOM' +UNH+1+ORDERS:D:96A:UN:EAN008' +BGM+220+1AA1TEST+9' +DTM+137:20230606:102' +DTM+63:20230606:102' +DTM+64:20230606:102' +RFF+CR:ABCD5' +NAD+BY+5450534000017::9' +NAD+SU+8450534000000::9' +NAD+DP+5450534008617::9+++++++GB' +NAD+IV+5450534008143::9++AMAZON EU SARL+38 Avenue J.F. Kennedy+Luxembourg++1855+LU' +RFF+VA:LU20260743' +CUX+2:EUR:9' +LIN+1++9783898307529:EN' +QTY+21:5' +PRI+AAA:27.5' +LIN+2++9783898307538:EN' +QTY+21:1' +PRI+AAA:10.87' +LIN+3++9783898307645:EN' +QTY+21:3' +PRI+AAA:3.85' +UNS+S' +CNT+2:3' +UNT+24+1' +UNZ+1+4234' diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/files/Retail_EDIFACT_ORDERS_sample2.txt b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/files/Retail_EDIFACT_ORDERS_sample2.txt new file mode 100644 index 0000000..29bdb06 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/files/Retail_EDIFACT_ORDERS_sample2.txt @@ -0,0 +1,29 @@ +UNB+UNOA:2+5450534000000:14+:14+221117:0134+4234++++1+EANCOM' +UNH+1+ORDERS:D:96A:UN:EAN008' +BGM+220+1AA1TEST+9' +DTM+137:20221117:102' +DTM+63:20221127:102' +DTM+64:20221124:102' +RFF+CR:ABCD5' +NAD+BY+5450534000017::9' +NAD+SU+::9' +NAD+DP+5450534000086::9+++++++DE' +NAD+IV+5450534005838::9++AMAZON EU SARL:NIEDERLASSUNG DEUTSCHLAND+MARCEL-BREUER-STR. 12+MUENCHEN++80807+DE' +RFF+VA:DE814584193' +CUX+2:EUR:9' +LIN+1' +PIA+5+567123:SA' +QTY+21:5' +PRI+AAA:27.5' +LIN+2' +PIA+5+1234567:SA' +QTY+21:1' +PRI+AAA:10.87' +LIN+3' +PIA+5+765432:SA' +QTY+21:3' +PRI+AAA:3.85' +UNS+S' +CNT+2:3' +UNT+27+1' +UNZ+1+4234' diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/files/test_orders_-_no_PRI_segments.txt b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/files/test_orders_-_no_PRI_segments.txt new file mode 100644 index 0000000..87fa0f0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/files/test_orders_-_no_PRI_segments.txt @@ -0,0 +1,24 @@ +UNA:+.? ' +UNB+UNOC:3+ENI-CH:14+2256:14+230320:1910+2' +UNH+000011956901+ORDERS:D:96A:UN:EAN008' +BGM+220+COM-004017+9' +DTM+137:20230320:102' +DTM+2:20230321:102' +NAD+BY+5450534008617::91' +NAD+BY+5450534008143::92++PartyName1+Address1+City1++1964' +NAD+SU+2256::9' +NAD+DP+5450534008617::91++PartyName1+Address1+City1++1964' +RFF+API:5450534008617' +LIN+1++9783898307529:EN' +PIA+1+7076:SA::91+30007:BP::92' +QTY+21:8:6' +LIN+2++9783898307538:EN' +PIA+1+7065:SA::91+38812:BP::92' +QTY+21:4:6' +LIN+3++9783898307645:EN' +PIA+1+7056:SA::91+30008:BP::92' +QTY+21:1:24' +UNS+S' +CNT+2:3' +UNT+267+000011956901' +UNZ+1+2' diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/files/test_orders_-_no_ean_in_LIN_segments.txt b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/files/test_orders_-_no_ean_in_LIN_segments.txt new file mode 100644 index 0000000..01a222b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/files/test_orders_-_no_ean_in_LIN_segments.txt @@ -0,0 +1,69 @@ +UNB+UNOC:3+3027800012009:14+7640142640004:14+230320:1438+003274' +UNH+3269+ORDERS:D:96A:UN:EAN008' +BGM+220::9:ORDERS+467819+9' +DTM+137:202303201433:203' +DTM+2:202303220000:203' +NAD+SU+7640142640004::9++Suppliér1+Address1+City1++1762+CH' +RFF+IT:5020' +NAD+BY+5450534008617::ZZ++' +RFF+IT:5132' +CTA+OC+:RADON' +NAD+SF+++' +NAD+IV+5450534008617::ZZ++Suppliér1+Address1+City1++3110+CH' +RFF+IT:5132' +NAD+DP+5450534008617::ZZ++Suppliér1+Address1+City1++3110+CH' +RFF+IT:5132' +RFF+GN:RCS' +CUX+2:EUR:9' +ALC+C++6++FC::9:FRAIS DE PORT' +MOA+23:0' +LIN+1++:EN' +PIA+5+1276:SA::9' +PIA+5+31136:IN::9' +PIA+5+00:VL' +IMD+F+ANM+:::Product1' +IMD+F+79+:::Product1 description' +QTY+21:12:BOU' +QTY+59:6:PCE' +PRI+AAB:5.22::NTP' +LIN+2++:EN' +PIA+5+46630:SA::9' +PIA+5+27952:IN::9' +PIA+5+00:VL' +IMD+F+ANM+:::Product2' +IMD+F+79+:::Product2 Description' +QTY+21:24:BOU' +QTY+59:24:PCE' +PRI+AAB:27.641::NTP' +LIN+3++:EN' +PIA+5+98891 75:SA::9' +PIA+5+22389:IN::9' +PIA+5+00:VL' +IMD+F+ANM+:::Product3' +IMD+F+79+:::Product3 Description' +QTY+21:12:BOU' +QTY+59:6:PCE' +PRI+AAB:51.03::NTP' +LIN+4++:EN' +PIA+5+37230:SA::9' +PIA+5+16344:IN::9' +PIA+5+00:VL' +IMD+F+ANM+:::Product4' +IMD+F+79+:::Product4 Description' +QTY+21:24:BOU' +QTY+59:24:PCE' +PRI+AAB:29.542::NTP' +LIN+5++:EN' +PIA+5+1076:SA::9' +PIA+5+16270:IN::9' +PIA+5+00:VL' +IMD+F+ANM+:::Product5' +IMD+F+79+:::Product5 Description' +QTY+21:90:BOU' +QTY+59:6:PCE' +PRI+AAB:5.22::NTP' +UNS+S' +MOA+125:247.98' +CNT+2:5' +UNT+67+3269' +UNZ+1+003274' diff --git a/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/test_base_edifact.py b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/test_base_edifact.py new file mode 100644 index 0000000..beec037 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/base_edifact/tests/test_base_edifact.py @@ -0,0 +1,116 @@ +# Copyright 2023 ALBA Software S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) + + +from odoo.tests.common import TransactionCase +from odoo.tools import file_open + + +def _get_file_content(filename): + path = "base_edifact/tests/files/" + filename + with file_open(path, "rb") as fd: + return fd.read() + + +class TestBaseEdifact(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.base_edifact_model = cls.env["base.edifact"] + cls.product = cls.env.ref("product.product_product_1") + cls.product.barcode = "9783898" + cls.product.default_code = "12767" + + def test_pydifact_obj(self): + edifact_docu = _get_file_content("Retail_EDIFACT_ORDERS_sample1.txt") + obj = self.base_edifact_model.pydifact_obj(edifact_docu) + # [1]: to get the list messages, [0]: to get the first list value of the segments + self.assertEqual(obj[1]["segments"][0]["BGM"][1], "1AA1TEST") + + def test_pydifact_obj_latin1(self): + edifact_docu = _get_file_content("test_orders_-_no_ean_in_LIN_segments.txt") + obj = self.base_edifact_model.pydifact_obj(edifact_docu) + # [1]: to get the list messages, [3]: to get the third list value of the segments + self.assertEqual(obj[1]["segments"][3]["NAD"][3], "Suppliér1") + + def test_map2odoo_address(self): + """Address segment + DP. Party to which goods should be delivered, if not identical with + consignee. + NAD+DP+5550534000086::9+++++++DE' + NAD segment: ['DP', ['5550534022101', '', '9'], '', '', '', '', '', '', 'ES'] + """ + seg = ["DP", ["5550534000086", "", "9"], "", "", "", "", "", "", "ES"] + address = self.base_edifact_model.map2odoo_address(seg) + self.assertEqual(address["type"], "delivery") + self.assertEqual(address["partner"], {"gln": "5550534000086"}) + self.assertEqual(address["address"]["country_code"], "ES") + + def test_map2odoo_currency(self): + seg = ("2", "EUR", "9") + currency = self.base_edifact_model.map2odoo_currency(seg) + self.assertEqual(currency["iso"], "EUR") + self.assertEqual(currency["symbol"], "€") + + def test_map2odoo_product(self): + seg = ("1", "", ["9783898", "EN"]) + product = self.base_edifact_model.map2odoo_product(seg) + self.assertEqual(product["barcode"], "9783898") + + def test_map2odoo_product_srv(self): + seg = ("1", "", ["12767", "SRV"]) + product = self.base_edifact_model.map2odoo_product(seg) + self.assertEqual(product["code"], "12767") + + def test_map2odoo_product_no_lin_has_pia(self): + seg = ("1", "", ["", "EN"]) + pia = ["5", ["12767", "SA", "", "9"]] + product = self.base_edifact_model.map2odoo_product(seg, pia) + self.assertEqual(product["code"], "12767") + + def test_map2odoo_product_no_lin_and_no_pia(self): + seg = ("1", "", ["", "EN"]) + product = self.base_edifact_model.map2odoo_product(seg) + self.assertEqual(product, {}) + + def test_map2odoo_qty(self): + seg = (["21", "2"],) + qty = self.base_edifact_model.map2odoo_qty(seg) + self.assertEqual(qty, 2.0) + + def test_map2odoo_unit_price(self): + # Test with Price qualifier is AAA + seg = (["AAA", "19.75"],) + unit_price = self.base_edifact_model.map2odoo_unit_price(seg) + self.assertEqual(unit_price, 19.75) + # Test with no unit price + unit_price = self.base_edifact_model.map2odoo_unit_price() + self.assertEqual(unit_price, 0.0) + + def test_map2odoo_date(self): + # Test with date format YYYY-MM-DD HH:MM + date_str = ["137", "202303201433", "203"] + date = self.base_edifact_model.map2odoo_date(date_str) + self.assertEqual(str(date), "2023-03-20") + + def test_map2odoo_description(self): + seg = ["F", "79", ["", "", "", "Description"]] + description = self.base_edifact_model.map2odoo_description(seg) + self.assertEqual(description, "Description") + + def test_create_segment(self): + segment = self.base_edifact_model.create_segment("DTM", ["171", False, "102"]) + self.assertEqual(str(segment), "'DTM' EDI segment: [['171', '', '102']]") + + def test_create_interchange(self): + sender_edifact = ["40410", "14"] + recipient_edifact = ["40411", "14"] + control_ref = 10 + syntax_identifier = ["UNOC", "3"] + interchange = self.base_edifact_model.create_interchange( + sender_edifact, recipient_edifact, control_ref, syntax_identifier + ) + self.assertEqual(interchange.sender, ["40410", "14"]) + self.assertEqual(interchange.recipient, ["40411", "14"]) + self.assertEqual(interchange.control_reference, "10") + self.assertEqual(interchange.syntax_identifier, ["UNOC", "3"]) diff --git a/odoo-bringout-oca-edi-framework-base_edifact/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-base_edifact/doc/ARCHITECTURE.md new file mode 100644 index 0000000..b521c3a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_edifact Module - base_edifact + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-base_edifact/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-base_edifact/doc/CONFIGURATION.md new file mode 100644 index 0000000..3033a5d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_edifact. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-base_edifact/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-base_edifact/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-base_edifact/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-base_edifact/doc/DEPENDENCIES.md new file mode 100644 index 0000000..51a38a9 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/doc/DEPENDENCIES.md @@ -0,0 +1,7 @@ +# Dependencies + +This addon depends on: + +- [account](../../odoo-bringout-oca-ocb-account) +- partner_identification +- partner_identification_gln diff --git a/odoo-bringout-oca-edi-framework-base_edifact/doc/FAQ.md b/odoo-bringout-oca-edi-framework-base_edifact/doc/FAQ.md new file mode 100644 index 0000000..1740b82 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_edifact or install in UI. diff --git a/odoo-bringout-oca-edi-framework-base_edifact/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-base_edifact/doc/INSTALL.md new file mode 100644 index 0000000..76986ec --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-base_edifact" +# or +uv pip install odoo-bringout-oca-edi-framework-base_edifact" +``` diff --git a/odoo-bringout-oca-edi-framework-base_edifact/doc/MODELS.md b/odoo-bringout-oca-edi-framework-base_edifact/doc/MODELS.md new file mode 100644 index 0000000..40610ac --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in base_edifact. + +```mermaid +classDiagram + class base_edifact +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-base_edifact/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-base_edifact/doc/OVERVIEW.md new file mode 100644 index 0000000..6a13182 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_edifact. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_edifact +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-base_edifact/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-base_edifact/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-base_edifact/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-base_edifact/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-base_edifact/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-base_edifact/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-base_edifact/doc/USAGE.md b/odoo-bringout-oca-edi-framework-base_edifact/doc/USAGE.md new file mode 100644 index 0000000..223cb83 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_edifact +``` diff --git a/odoo-bringout-oca-edi-framework-base_edifact/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-base_edifact/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-base_edifact/pyproject.toml b/odoo-bringout-oca-edi-framework-base_edifact/pyproject.toml new file mode 100644 index 0000000..c27db14 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_edifact/pyproject.toml @@ -0,0 +1,44 @@ +[project] +name = "odoo-bringout-oca-edi-framework-base_edifact" +version = "16.0.0" +description = "Base EDIFACT - UN/EDIFACT/D96A utilities using pydifact parser" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-ocb-account>=16.0.0", + "odoo-bringout-oca-edi-framework-partner_identification>=16.0.0", + "odoo-bringout-oca-edi-framework-partner_identification_gln>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_edifact"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-base_facturx/README.md b/odoo-bringout-oca-edi-framework-base_facturx/README.md new file mode 100644 index 0000000..f9ece3d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/README.md @@ -0,0 +1,46 @@ +# Base Factur-X + +Odoo addon: base_facturx + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-base_facturx +``` + +## Dependencies + +This addon depends on: +- uom_unece +- account_tax_unece +- account_payment_unece + +## Manifest Information + +- **Name**: Base Factur-X +- **Version**: 16.0.1.0.0 +- **Category**: Invoicing Management +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `base_facturx`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/README.rst b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/README.rst new file mode 100644 index 0000000..ea13a6a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/README.rst @@ -0,0 +1,105 @@ +============= +Base Factur-X +============= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:a38a4291df4f47955dee926bc6ad7f84ad890c24f0b1cf4d0de95432380bc223 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_facturx + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_facturx + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This is the base module for the implementation of the `Factur-X `_ and `ZUGFeRD `_ standards. The standard Factur-X 1.0 is the same as ZUGFeRD 2.1 (the name Factur-X is always used in France, whereas in Germany many people use the name ZUGFeRD). It is a standard based on `CII `_ (Cross-Industry Invoice) for electronic invoicing. + +The great idea of the Factur-X/ZUGFeRD standard is to embed an XML file inside the PDF invoice to carry structured information about the invoice. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To configure this module, you need to: + +* go to the menu *Inventory > Configuration > Units of Measures > UoM* and check the *UNECE Code* for the units of measures. +* go to the menu *Invoicing > Configuration > Accounting > Taxes* and, for each tax, set a *UNECE Type Code* and a *UNECE Category Code*. +* go to the menu *Invoicing > Configuration > Management > Payment Methods* (to see that menu entry, the module *account_payment_mode* must be installed) and assign a *UNECE Code* to the payment methods that are selected in the payment modes. + +To avoid the manual configuration of taxes, look for a module *l10n_XX_account_tax_unece* in the OCA project of your localization (it exists at least for the Netherlands and France). If such a module exists in your localization, install it and it will auto-configure the taxes created by your localization. + +Usage +===== + +This module doesn't do anything by itself, but it is used by 2 other modules: + +* *account_invoice_facturx* that generate Factur-X 1.0 (i.e. ZUGFeRD 2.1) customer invoices/refunds, +* *account_invoice_import_facturx* that imports ZUGFeRD/Factur-X supplier invoices/refunds (all versions, including ZUGFeRD 1.0). + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/__init__.py b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/__manifest__.py b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/__manifest__.py new file mode 100644 index 0000000..2f46300 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/__manifest__.py @@ -0,0 +1,16 @@ +# Copyright 2016-2022 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Base Factur-X", + "version": "16.0.1.0.0", + "category": "Invoicing Management", + "license": "AGPL-3", + "summary": "Base module for Factur-X/ZUGFeRD", + "author": "Akretion,Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/edi", + "depends": ["uom_unece", "account_tax_unece", "account_payment_unece"], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/base_facturx.pot b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/base_facturx.pot new file mode 100644 index 0000000..b28e045 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/base_facturx.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_facturx +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_facturx +#: model:ir.model,name:base_facturx.model_base_facturx +msgid "Common methods to generate and parse Factur-X and Order-X" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/base_zugferd.pot b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/base_zugferd.pot new file mode 100644 index 0000000..5081fd7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/base_zugferd.pot @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_zugferd +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_zugferd +#: model:ir.model,name:base_zugferd.model_base_facturx +msgid "Common methods to generate and parse Factur-X invoices" +msgstr "" + +#. module: base_zugferd +#: model:ir.model.fields,field_description:base_zugferd.field_base_facturx_display_name +msgid "Display Name" +msgstr "" + +#. module: base_zugferd +#: model:ir.model.fields,field_description:base_zugferd.field_base_facturx_id +msgid "ID" +msgstr "" + +#. module: base_zugferd +#: model:ir.model.fields,field_description:base_zugferd.field_base_facturx___last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_zugferd +#: code:addons/base_zugferd/models/base_facturx.py:46 +#, python-format +msgid "The %s XML file is not valid against the official XML Schema Definition. The XML file and the full error have been written in the server logs. Here is the error, which may give you an idea on the cause of the problem : %s." +msgstr "" + +#. module: base_zugferd +#: code:addons/base_zugferd/models/base_facturx.py:29 +#, python-format +msgid "Wrong level '%s' for Factur-X invoice." +msgstr "" + diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/es.po b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/es.po new file mode 100644 index 0000000..e6456d8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/es.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_zugferd +# +# Translators: +# enjolras , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-12 01:43+0000\n" +"PO-Revision-Date: 2023-08-07 11:09+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_facturx +#: model:ir.model,name:base_facturx.model_base_facturx +msgid "Common methods to generate and parse Factur-X and Order-X" +msgstr "Métodos habituales para generar y analizar Factur-X y Order-X" + +#~ msgid "Display Name" +#~ msgstr "Nombre mostrado" + +#~ msgid "Last Modified on" +#~ msgstr "Última modificación el" diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/fr.po b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/fr.po new file mode 100644 index 0000000..484cd27 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/fr.po @@ -0,0 +1,25 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_facturx +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-06-27 19:08+0000\n" +"Last-Translator: Alexis de Lattre \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_facturx +#: model:ir.model,name:base_facturx.model_base_facturx +msgid "Common methods to generate and parse Factur-X and Order-X" +msgstr "Méthodes communes pour générer et lire Factur-X et Order-X" + +#~ msgid "Display Name" +#~ msgstr "Nom affiché" diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/it.po b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/it.po new file mode 100644 index 0000000..d851f7f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/i18n/it.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_facturx +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_facturx +#: model:ir.model,name:base_facturx.model_base_facturx +msgid "Common methods to generate and parse Factur-X and Order-X" +msgstr "Metodi comuni per generare e analizzare Factur-X e Order-X" diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/models/__init__.py b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/models/__init__.py new file mode 100644 index 0000000..60c81ca --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/models/__init__.py @@ -0,0 +1 @@ +from . import base_facturx diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/models/base_facturx.py b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/models/base_facturx.py new file mode 100644 index 0000000..3da4160 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/models/base_facturx.py @@ -0,0 +1,13 @@ +# Copyright 2017-2022 Akretion France +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import models + + +class BaseFacturX(models.AbstractModel): + _name = "base.facturx" + _description = "Common methods to generate and parse Factur-X and Order-X" + + # This class will certainly start to be used with the implementation + # of Order-X sooner or later: http://fnfe-mpe.org/factur-x/order-x/ diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/readme/CONFIGURE.rst b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/readme/CONFIGURE.rst new file mode 100644 index 0000000..3492a16 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/readme/CONFIGURE.rst @@ -0,0 +1,7 @@ +To configure this module, you need to: + +* go to the menu *Inventory > Configuration > Units of Measures > UoM* and check the *UNECE Code* for the units of measures. +* go to the menu *Invoicing > Configuration > Accounting > Taxes* and, for each tax, set a *UNECE Type Code* and a *UNECE Category Code*. +* go to the menu *Invoicing > Configuration > Management > Payment Methods* (to see that menu entry, the module *account_payment_mode* must be installed) and assign a *UNECE Code* to the payment methods that are selected in the payment modes. + +To avoid the manual configuration of taxes, look for a module *l10n_XX_account_tax_unece* in the OCA project of your localization (it exists at least for the Netherlands and France). If such a module exists in your localization, install it and it will auto-configure the taxes created by your localization. diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..ff65d68 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Alexis de Lattre diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/readme/DESCRIPTION.rst new file mode 100644 index 0000000..6a925a4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/readme/DESCRIPTION.rst @@ -0,0 +1,3 @@ +This is the base module for the implementation of the `Factur-X `_ and `ZUGFeRD `_ standards. The standard Factur-X 1.0 is the same as ZUGFeRD 2.1 (the name Factur-X is always used in France, whereas in Germany many people use the name ZUGFeRD). It is a standard based on `CII `_ (Cross-Industry Invoice) for electronic invoicing. + +The great idea of the Factur-X/ZUGFeRD standard is to embed an XML file inside the PDF invoice to carry structured information about the invoice. diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/readme/USAGE.rst b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/readme/USAGE.rst new file mode 100644 index 0000000..8b7feab --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/readme/USAGE.rst @@ -0,0 +1,4 @@ +This module doesn't do anything by itself, but it is used by 2 other modules: + +* *account_invoice_facturx* that generate Factur-X 1.0 (i.e. ZUGFeRD 2.1) customer invoices/refunds, +* *account_invoice_import_facturx* that imports ZUGFeRD/Factur-X supplier invoices/refunds (all versions, including ZUGFeRD 1.0). diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/static/description/icon.png b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/static/description/index.html b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/static/description/index.html new file mode 100644 index 0000000..ac570f1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/base_facturx/static/description/index.html @@ -0,0 +1,444 @@ + + + + + + +Base Factur-X + + + +
      +

      Base Factur-X

      + + +

      Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      This is the base module for the implementation of the Factur-X and ZUGFeRD standards. The standard Factur-X 1.0 is the same as ZUGFeRD 2.1 (the name Factur-X is always used in France, whereas in Germany many people use the name ZUGFeRD). It is a standard based on CII (Cross-Industry Invoice) for electronic invoicing.

      +

      The great idea of the Factur-X/ZUGFeRD standard is to embed an XML file inside the PDF invoice to carry structured information about the invoice.

      +

      Table of contents

      + +
      +

      Configuration

      +

      To configure this module, you need to:

      +
        +
      • go to the menu Inventory > Configuration > Units of Measures > UoM and check the UNECE Code for the units of measures.
      • +
      • go to the menu Invoicing > Configuration > Accounting > Taxes and, for each tax, set a UNECE Type Code and a UNECE Category Code.
      • +
      • go to the menu Invoicing > Configuration > Management > Payment Methods (to see that menu entry, the module account_payment_mode must be installed) and assign a UNECE Code to the payment methods that are selected in the payment modes.
      • +
      +

      To avoid the manual configuration of taxes, look for a module l10n_XX_account_tax_unece in the OCA project of your localization (it exists at least for the Netherlands and France). If such a module exists in your localization, install it and it will auto-configure the taxes created by your localization.

      +
      +
      +

      Usage

      +

      This module doesn’t do anything by itself, but it is used by 2 other modules:

      +
        +
      • account_invoice_facturx that generate Factur-X 1.0 (i.e. ZUGFeRD 2.1) customer invoices/refunds,
      • +
      • account_invoice_import_facturx that imports ZUGFeRD/Factur-X supplier invoices/refunds (all versions, including ZUGFeRD 1.0).
      • +
      +
      +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • Akretion
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      +Odoo Community Association +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      Current maintainer:

      +

      alexis-via

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-framework-base_facturx/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-base_facturx/doc/ARCHITECTURE.md new file mode 100644 index 0000000..62cb3d7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_facturx Module - base_facturx + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-base_facturx/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-base_facturx/doc/CONFIGURATION.md new file mode 100644 index 0000000..4bce425 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_facturx. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-base_facturx/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-base_facturx/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-base_facturx/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-base_facturx/doc/DEPENDENCIES.md new file mode 100644 index 0000000..b2279be --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/doc/DEPENDENCIES.md @@ -0,0 +1,7 @@ +# Dependencies + +This addon depends on: + +- uom_unece +- account_tax_unece +- account_payment_unece diff --git a/odoo-bringout-oca-edi-framework-base_facturx/doc/FAQ.md b/odoo-bringout-oca-edi-framework-base_facturx/doc/FAQ.md new file mode 100644 index 0000000..b60a817 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_facturx or install in UI. diff --git a/odoo-bringout-oca-edi-framework-base_facturx/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-base_facturx/doc/INSTALL.md new file mode 100644 index 0000000..7bd4638 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-base_facturx" +# or +uv pip install odoo-bringout-oca-edi-framework-base_facturx" +``` diff --git a/odoo-bringout-oca-edi-framework-base_facturx/doc/MODELS.md b/odoo-bringout-oca-edi-framework-base_facturx/doc/MODELS.md new file mode 100644 index 0000000..44b611a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in base_facturx. + +```mermaid +classDiagram + class base_facturx +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-base_facturx/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-base_facturx/doc/OVERVIEW.md new file mode 100644 index 0000000..b117f26 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_facturx. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_facturx +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-base_facturx/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-base_facturx/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-base_facturx/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-base_facturx/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-base_facturx/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-base_facturx/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-base_facturx/doc/USAGE.md b/odoo-bringout-oca-edi-framework-base_facturx/doc/USAGE.md new file mode 100644 index 0000000..24b23c6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_facturx +``` diff --git a/odoo-bringout-oca-edi-framework-base_facturx/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-base_facturx/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-base_facturx/pyproject.toml b/odoo-bringout-oca-edi-framework-base_facturx/pyproject.toml new file mode 100644 index 0000000..eb83973 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_facturx/pyproject.toml @@ -0,0 +1,44 @@ +[project] +name = "odoo-bringout-oca-edi-framework-base_facturx" +version = "16.0.0" +description = "Base Factur-X - Base module for Factur-X/ZUGFeRD" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-framework-uom_unece>=16.0.0", + "odoo-bringout-oca-edi-framework-account_tax_unece>=16.0.0", + "odoo-bringout-oca-edi-framework-account_payment_unece>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_facturx"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-base_ubl/README.md b/odoo-bringout-oca-edi-framework-base_ubl/README.md new file mode 100644 index 0000000..4a7a30a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/README.md @@ -0,0 +1,47 @@ +# Base UBL + +Odoo addon: base_ubl + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-base_ubl +``` + +## Dependencies + +This addon depends on: +- uom_unece +- account_tax_unece +- base_vat +- pdf_helper + +## Manifest Information + +- **Name**: Base UBL +- **Version**: 16.0.1.1.2 +- **Category**: Hidden +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `base_ubl`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/README.rst b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/README.rst new file mode 100644 index 0000000..01708c1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/README.rst @@ -0,0 +1,103 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +======== +Base UBL +======== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:c349de5f1a11bd8d51da995f383dc57acafd1cace00521974ed9ceec6f60eb6b + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_ubl + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_ubl + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This is the base module for the implementation of the `Universal Business +Language (UBL) `_ standard. The UBL standard became the +`ISO/IEC 19845 `_ +standard in January 2016 (cf the `official announce +`_). + +This module contains methods to generate and parse UBL files. This module +doesn't do anything useful by itself, but it is used by several other modules: + +* *purchase_order_ubl* that generate UBL purchase orders, +* *sale_order_import_ubl* that imports UBL sale orders. +* *account_invoice_import_ubl* that imports UBL invoices, + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion +* Onestein + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre +* Andrea Stirpe +* Jacques-Etienne Baudoux +* Phuc (Tran Thanh) +* Simone Orsi + +Other credits +~~~~~~~~~~~~~ + +The development of this module has been financially supported by: + +* Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/__init__.py b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/__init__.py new file mode 100644 index 0000000..31660d6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import models diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/__manifest__.py b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/__manifest__.py new file mode 100644 index 0000000..fbffc0d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/__manifest__.py @@ -0,0 +1,14 @@ +# © 2016-2017 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Base UBL", + "version": "16.0.1.1.2", + "category": "Hidden", + "license": "AGPL-3", + "summary": "Base module for Universal Business Language (UBL)", + "author": "Akretion,Onestein,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/edi", + "depends": ["uom_unece", "account_tax_unece", "base_vat", "pdf_helper"], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CCTS_CCT_SchemaModule-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CCTS_CCT_SchemaModule-2.0.xsd new file mode 100644 index 0000000..b7e8983 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CCTS_CCT_SchemaModule-2.0.xsd @@ -0,0 +1,731 @@ + + + + + + + + + + + + + + UNDT000001 + CCT + Amount. Type + 1.0 + A number of monetary units specified in a currency where the unit of the currency is explicit or implied. + Amount + decimal + + + + + + + + UNDT000001-SC2 + SC + Amount Currency. Identifier + The currency of the amount. + Amount Currency + Identification + Identifier + string + Reference UNECE Rec 9, using 3-letter alphabetic codes. + + + + + + + UNDT000001-SC3 + SC + Amount Currency. Code List Version. Identifier + The VersionID of the UN/ECE Rec9 code list. + Amount Currency + Code List Version + Identifier + string + + + + + + + + + + + + UNDT000002 + CCT + Binary Object. Type + 1.0 + A set of finite-length sequences of binary octets. + Binary Object + binary + + + + + + + + UNDT000002-SC2 + SC + Binary Object. Format. Text + The format of the binary content. + Binary Object + Format + Text + string + + + + + + + UNDT000002-SC3 + SC + Binary Object. Mime. Code + The mime type of the binary object. + Binary Object + Mime + Code + string + + + + + + + UNDT000002-SC4 + SC + Binary Object. Encoding. Code + Specifies the decoding algorithm of the binary object. + Binary Object + Encoding + Code + string + + + + + + + UNDT000002-SC5 + SC + Binary Object. Character Set. Code + The character set of the binary object if the mime type is text. + Binary Object + Character Set + Code + string + + + + + + + UNDT000002-SC6 + SC + Binary Object. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the binary object is located. + Binary Object + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000002-SC7 + SC + Binary Object. Filename.Text + The filename of the binary object. + Binary Object + Filename + Text + string + + + + + + + + + + + + UNDT000007 + CCT + Code. Type + 1.0 + A character string (letters, figures, or symbols) that for brevity and/or languange independence may be used to represent or replace a definitive value or text of an attribute together with relevant supplementary information. + Code + string + Should not be used if the character string identifies an instance of an object class or an object in the real world, in which case the Identifier. Type should be used. + + + + + + + + UNDT000007-SC2 + SC + Code List. Identifier + The identification of a list of codes. + Code List + Identification + Identifier + string + + + + + + + UNDT000007-SC3 + SC + Code List. Agency. Identifier + An agency that maintains one or more lists of codes. + Code List + Agency + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000007-SC4 + SC + Code List. Agency Name. Text + The name of the agency that maintains the list of codes. + Code List + Agency Name + Text + string + + + + + + + UNDT000007-SC5 + SC + Code List. Name. Text + The name of a list of codes. + Code List + Name + Text + string + + + + + + + UNDT000007-SC6 + SC + Code List. Version. Identifier + The version of the list of codes. + Code List + Version + Identifier + string + + + + + + + UNDT000007-SC7 + SC + Code. Name. Text + The textual equivalent of the code content component. + Code + Name + Text + string + + + + + + + UNDT000007-SC8 + SC + Language. Identifier + The identifier of the language used in the code name. + Language + Identification + Identifier + string + + + + + + + UNDT000007-SC9 + SC + Code List. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list is located. + Code List + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000007-SC10 + SC + Code List Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list scheme is located. + Code List Scheme + Uniform Resource Identifier + Identifier + string + + + + + + + + + + + + UNDT000008 + CCT + Date Time. Type + 1.0 + A particular point in the progression of time together with the relevant supplementary information. + Date Time + string + Can be used for a date and/or time. + + + + + + + + UNDT000008-SC1 + SC + Date Time. Format. Text + The format of the date time content + Date Time + Format + Text + string + + + + + + + + + + + + UNDT000011 + CCT + Identifier. Type + 1.0 + A character string to identify and distinguish uniquely, one instance of an object in an identification scheme from all other objects in the same scheme together with relevant supplementary information. + Identifier + string + + + + + + + + UNDT000011-SC2 + SC + Identification Scheme. Identifier + The identification of the identification scheme. + Identification Scheme + Identification + Identifier + string + + + + + + + UNDT000011-SC3 + SC + Identification Scheme. Name. Text + The name of the identification scheme. + Identification Scheme + Name + Text + string + + + + + + + UNDT000011-SC4 + SC + Identification Scheme Agency. Identifier + The identification of the agency that maintains the identification scheme. + Identification Scheme Agency + Identification + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000011-SC5 + SC + Identification Scheme Agency. Name. Text + The name of the agency that maintains the identification scheme. + Identification Scheme Agency + Agency Name + Text + string + + + + + + + UNDT000011-SC6 + SC + Identification Scheme. Version. Identifier + The version of the identification scheme. + Identification Scheme + Version + Identifier + string + + + + + + + UNDT000011-SC7 + SC + Identification Scheme Data. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme data is located. + Identification Scheme Data + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000011-SC8 + SC + Identification Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme is located. + Identification Scheme + Uniform Resource Identifier + Identifier + string + + + + + + + + + + + + UNDT000012 + CCT + Indicator. Type + 1.0 + A list of two mutually exclusive Boolean values that express the only possible states of a Property. + Indicator + string + + + + + + + + UNDT000012-SC2 + SC + Indicator. Format. Text + Whether the indicator is numeric, textual or binary. + Indicator + Format + Text + string + + + + + + + + + + + + UNDT000013 + CCT + Measure. Type + 1.0 + A numeric value determined by measuring an object along with the specified unit of measure. + Measure + decimal + + + + + + + + UNDT000013-SC2 + SC + Measure Unit. Code + The type of unit of measure. + Measure Unit + Code + Code + string + Reference UNECE Rec. 20 and X12 355 + + + + + + + UNDT000013-SC3 + SC + Measure Unit. Code List Version. Identifier + The version of the measure unit code list. + Measure Unit + Code List Version + Identifier + string + + + + + + + + + + + + UNDT000014 + CCT + Numeric. Type + 1.0 + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Numeric + string + + + + + + + + UNDT000014-SC2 + SC + Numeric. Format. Text + Whether the number is an integer, decimal, real number or percentage. + Numeric + Format + Text + string + + + + + + + + + + + + UNDT000018 + CCT + Quantity. Type + 1.0 + A counted number of non-monetary units possibly including fractions. + Quantity + decimal + + + + + + + + UNDT000018-SC2 + SC + Quantity. Unit. Code + The unit of the quantity + Quantity + Unit Code + Code + string + + + + + + + UNDT000018-SC3 + SC + Quantity Unit. Code List. Identifier + The quantity unit code list. + Quantity Unit + Code List + Identifier + string + + + + + + + UNDT000018-SC4 + SC + Quantity Unit. Code List Agency. Identifier + The identification of the agency that maintains the quantity unit code list + Quantity Unit + Code List Agency + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000018-SC5 + SC + Quantity Unit. Code List Agency Name. Text + The name of the agency which maintains the quantity unit code list. + Quantity Unit + Code List Agency Name + Text + string + + + + + + + + + + + + UNDT000019 + CCT + Text. Type + 1.0 + A character string (i.e. a finite set of characters) generally in the form of words of a language. + Text + string + + + + + + + + UNDT000019-SC2 + SC + Language. Identifier + The identifier of the language used in the content component. + Language + Identification + Identifier + string + + + + + + + UNDT000019-SC3 + SC + Language. Locale. Identifier + The identification of the locale of the language. + Language + Locale + Identifier + string + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_CurrencyCode_ISO_7_04.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_CurrencyCode_ISO_7_04.xsd new file mode 100644 index 0000000..061be61 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_CurrencyCode_ISO_7_04.xsd @@ -0,0 +1,1378 @@ + + + + + + + + + + + + Dirham + + + + + + + + Afghani + + + + + + + + Lek + + + + + + + + Dram + + + + + + + + Netherlands Antillian Guilder + + + + + + + + Kwanza + + + + + + + + Argentine Peso + + + + + + + + Australian Dollar + + + + + + + + Aruban Guilder + + + + + + + + Azerbaijanian Manat + + + + + + + + Convertible Mark + + + + + + + + Barbados Dollar + + + + + + + + Taka + + + + + + + + Bulgarian Lev + + + + + + + + Bahraini Dinar + + + + + + + + Burundi Franc + + + + + + + + Bermudian Dollar (customarily: Bermuda Dollar) + + + + + + + + Brunei Dollar + + + + + + + + Boliviano + + + + + + + + Brazilian Real + + + + + + + + Bahamian Dollar + + + + + + + + Ngultrum + + + + + + + + Pula + + + + + + + + Belarussian Ruble + + + + + + + + Belize Dollar + + + + + + + + Canadian Dollar + + + + + + + + Franc Congolais + + + + + + + + Swiss Franc + + + + + + + + Chilean Peso + + + + + + + + Yuan Renminbi + + + + + + + + Colombian Peso + + + + + + + + Costa Rican Colon + + + + + + + + Cuban Peso + + + + + + + + Cape Verde Escudo + + + + + + + + Cyprus Pound + + + + + + + + Czech Koruna + + + + + + + + Djibouti Franc + + + + + + + + Danish Krone + + + + + + + + Dominican Peso + + + + + + + + Algerian Dinar + + + + + + + + Kroon + + + + + + + + Egyptian Pound + + + + + + + + Nakfa + + + + + + + + Ethopian Birr + + + + + + + + Euro + On 1 January 1999, the euro will become the currency of those Member states of the European Union which adopt the single currency in accordance with the Treaty establishing the European Community. This code has been issued now so that technical preparations can be started. The code element 'EU' has been reserved by the ISO 3166 Maintenance Agency for use within ISO 4217 where 'R' has been appended to make an acceptable mnemonic code. + + + + + + + Fiji Dollar + + + + + + + + Falkland Islands Pound + + + + + + + + Pound Sterling + + + + + + + + Lari + + + + + + + + Cedi + + + + + + + + Gibraltar Pound + + + + + + + + Dalasi + + + + + + + + Guinea Franc + + + + + + + + Quetzal + + + + + + + + Guyana Dollar + + + + + + + + Honk Kong Dollar + + + + + + + + Lempira + + + + + + + + Kuna + + + + + + + + Gourde + + + + + + + + Forint + + + + + + + + Rupiah + + + + + + + + New Israeli Sheqel + + + + + + + + Indian Rupee + + + + + + + + Iraqi Dinar + + + + + + + + Iranian Rial + + + + + + + + Iceland Krona + + + + + + + + Jamaican Dollar + + + + + + + + Jordanian Dinar + + + + + + + + Yen + + + + + + + + Kenyan Shilling + + + + + + + + Som + + + + + + + + Riel + + + + + + + + Comoro Franc + + + + + + + + North Korean Won + + + + + + + + Won + + + + + + + + Kuwaiti Dinar + + + + + + + + Cayman Islands Dollar + + + + + + + + Tenge + + + + + + + + Kip + + + + + + + + Lebanese Pound + + + + + + + + Sri Lanka Rupee + + + + + + + + Liberian Dollar + + + + + + + + Loti + + + + + + + + Lithuanian Litas + + + + + + + + Latvian Lats + + + + + + + + Libyan Dinar + + + + + + + + Morrocan Dirham + + + + + + + + Moldovan Leu + + + + + + + + Malagasy Franc + + + + + + + + Denar + + + + + + + + Kyat + + + + + + + + Tugrik + + + + + + + + Pataca + + + + + + + + Ouguiya + + + + + + + + Maltese Lira + + + + + + + + Mauritius Rupee + + + + + + + + Rufiyaa + + + + + + + + Kwacha + + + + + + + + Mexican Peso + + + + + + + + Malaysian Ringgit + + + + + + + + Metical + + + + + + + + Namibia Dollar + + + + + + + + Naira + + + + + + + + Cordoba Oro + + + + + + + + Norwegian Krone + + + + + + + + Nepalese Rupee + + + + + + + + New Zealand Dollar + + + + + + + + Rial Omani + + + + + + + + Balboa + + + + + + + + Nuevo Sol + + + + + + + + Kina + + + + + + + + Philippine Peso + + + + + + + + Pakistan Rupee + + + + + + + + Zloty + + + + + + + + Guarani + + + + + + + + Qatari Rial + + + + + + + + Leu + + + + + + + + Russian Ruble + + + + + + + + Rwanda Franc + + + + + + + + Saudi Riyal + + + + + + + + Solomon Islands Dollar + + + + + + + + Seychelles Rupee + + + + + + + + Sudanese Dinar + + + + + + + + Swedish Krona + + + + + + + + Singapore Dollar + + + + + + + + St. Helena Pound + + + + + + + + Tolar + + + + + + + + Slovak Koruna + + + + + + + + Leone + + + + + + + + Somali Shilling + + + + + + + + Suriname Guilder + + + + + + + + Dobra + + + + + + + + El Salvador Colon + + + + + + + + Syrian Pound + + + + + + + + Lilangeni + + + + + + + + Baht + + + + + + + + Somoni + + + + + + + + Manat + + + + + + + + Tunisian Dinar + + + + + + + + Pa'anga + + + + + + + + Turkish Lira + + + + + + + + Trinidad and Tobago Dollar + + + + + + + + New Taiwan Dollar + + + + + + + + Tanzanian Shilling + + + + + + + + Hryvnia + + + + + + + + Uganda Shilling + + + + + + + + US Dollar + + + + + + + + Peso Uruguayo + + + + + + + + Uzbekistan Sum + + + + + + + + Bolivar + + + + + + + + Dong + + + + + + + + Vatu + + + + + + + + Tala + + + + + + + + CFA Franc + + + + + + + + Silver + + + + + + + + Gold + + + + + + + + East Carribean Dollar + + + + + + + + SDR + + + + + + + + CFA Franc + + + + + + + + Palladium + + + + + + + + CFP Franc + + + + + + + + Platinum + + + + + + + + Yemeni Rial + + + + + + + + New Dinar + + + + + + + + Rand + + + + + + + + Kwacha + + + + + + + + Zimbabwe Dollar + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_LanguageCode_ISO_7_04.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_LanguageCode_ISO_7_04.xsd new file mode 100644 index 0000000..1d55e04 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_LanguageCode_ISO_7_04.xsd @@ -0,0 +1,2250 @@ + + + + + + + + + + + + Afar + + + + + + + + Abkhazian + + + + + + + + Afrikaans + + + + + + + + Amharic + + + + + + + + Arabic + + + + + + + + Assamese + + + + + + + + Aymara + + + + + + + + Azerbaijani + + + + + + + + Bashkir + + + + + + + + Byelorussian + + + + + + + + Bulgarian + + + + + + + + Bihari + + + + + + + + Bislama + + + + + + + + Bengali; Bangla + + + + + + + + Tibetan + + + + + + + + Breton + + + + + + + + Catalan + + + + + + + + Corsican + + + + + + + + Czech + + + + + + + + Welsh + + + + + + + + Danish + + + + + + + + German + + + + + + + + Bhutani + + + + + + + + Greek + + + + + + + + English + + + + + + + + Esperanto + + + + + + + + Spanish + + + + + + + + Esotonian + + + + + + + + Basque + + + + + + + + Persian + + + + + + + + Finnish + + + + + + + + Fiji + + + + + + + + Faroese + + + + + + + + French + + + + + + + + Frisian + + + + + + + + Irish + + + + + + + + Scots Gaelic + + + + + + + + Galician + + + + + + + + Guarani + + + + + + + + Gujarati + + + + + + + + Hausa + + + + + + + + Hebrew + + + + + + + + Hindi + + + + + + + + Croatian + + + + + + + + Hungarian + + + + + + + + Armenian + + + + + + + + Interlingua + + + + + + + + Indonesian + + + + + + + + Interlingue + + + + + + + + Inupiak + + + + + + + + Icelandic + + + + + + + + Italian + + + + + + + + Eskimo, Inuktiut CA + + + + + + + + Japanese + + + + + + + + Javanese + + + + + + + + Georgian + + + + + + + + Kazakh + + + + + + + + Greenlandic + + + + + + + + Cambodian + + + + + + + + Kannada + + + + + + + + Korean + + + + + + + + Kashmiri + + + + + + + + Kurdish + + + + + + + + Kirghiz + + + + + + + + Latin + + + + + + + + Lingala + + + + + + + + Laothian + + + + + + + + Lithuanian + + + + + + + + Latvian, Lettish + + + + + + + + Malagasy + + + + + + + + Maori + + + + + + + + Macedonian + + + + + + + + Malayalam + + + + + + + + Mangolian + + + + + + + + Moldavian + + + + + + + + Marathi + + + + + + + + Malay + + + + + + + + Maltese + + + + + + + + Nauru + + + + + + + + Nepali + + + + + + + + Dutch + + + + + + + + Norwegian + + + + + + + + Occitan + + + + + + + + (Afan) Oromo + + + + + + + + Oriya + + + + + + + + Punjabi + + + + + + + + Polish + + + + + + + + Pashto, Pushto + + + + + + + + Portuguese + + + + + + + + Quechua + + + + + + + + Rhaeto-Romance + + + + + + + + Kirundi + + + + + + + + Romanian + + + + + + + + Russian + + + + + + + + Kinyarwanda + + + + + + + + Sanskrit + + + + + + + + Sindhi + + + + + + + + Sangho + + + + + + + + Serbo-Croatian + + + + + + + + Singhalese + + + + + + + + Slovak + + + + + + + + Slovenian + + + + + + + + Samoan + + + + + + + + Shona + + + + + + + + Somali + + + + + + + + Albanian + + + + + + + + Serbian + + + + + + + + Siswati + + + + + + + + Sesotho + + + + + + + + Sundanese + + + + + + + + Swedish + + + + + + + + Sawahili + + + + + + + + Tamil + + + + + + + + Telugu + + + + + + + + Tajik + + + + + + + + Thai + + + + + + + + Tigrinya + + + + + + + + Turkmen + + + + + + + + Tagalog + + + + + + + + Setswana + + + + + + + + Tonga + + + + + + + + Turkish + + + + + + + + Tsonga + + + + + + + + Tatar + + + + + + + + Twi + + + + + + + + Uigur + + + + + + + + Ukrainian + + + + + + + + Urdu + + + + + + + + Uzbek + + + + + + + + Vietnamese + + + + + + + + Volapük + + + + + + + + Wolof + + + + + + + + hosa + + + + + + + + Yiddish + + + + + + + + Yoruba + + + + + + + + Zhuang + + + + + + + + Chinese + + + + + + + + Zulu + + + + + + + + Afar + + + + + + + + Abkhazian + + + + + + + + Afrikaans + + + + + + + + Amharic + + + + + + + + Arabic + + + + + + + + Assamese + + + + + + + + Aymara + + + + + + + + Azerbaijani + + + + + + + + Bashkir + + + + + + + + Byelorussian + + + + + + + + Bulgarian + + + + + + + + Bihari + + + + + + + + Bislama + + + + + + + + Bengali; Bangla + + + + + + + + Tibetan + + + + + + + + Breton + + + + + + + + Catalan + + + + + + + + Corsican + + + + + + + + Czech + + + + + + + + Welsh + + + + + + + + Danish + + + + + + + + German + + + + + + + + Bhutani + + + + + + + + Greek + + + + + + + + English + + + + + + + + Esperanto + + + + + + + + Spanish + + + + + + + + Esotonian + + + + + + + + Basque + + + + + + + + Persian + + + + + + + + Finnish + + + + + + + + Fiji + + + + + + + + Faroese + + + + + + + + French + + + + + + + + Frisian + + + + + + + + Irish + + + + + + + + Scots Gaelic + + + + + + + + Galician + + + + + + + + Guarani + + + + + + + + Gujarati + + + + + + + + Hausa + + + + + + + + Hebrew + + + + + + + + Hindi + + + + + + + + Croatian + + + + + + + + Hungarian + + + + + + + + Armenian + + + + + + + + Interlingua + + + + + + + + Indonesian + + + + + + + + Interlingue + + + + + + + + Inupiak + + + + + + + + Icelandic + + + + + + + + Italian + + + + + + + + Eskimo, Inuktiut CA + + + + + + + + Japanese + + + + + + + + Javanese + + + + + + + + Georgian + + + + + + + + Kazakh + + + + + + + + Greenlandic + + + + + + + + Cambodian + + + + + + + + Kannada + + + + + + + + Korean + + + + + + + + Kashmiri + + + + + + + + Kurdish + + + + + + + + Kirghiz + + + + + + + + Latin + + + + + + + + Lingala + + + + + + + + Laothian + + + + + + + + Lithuanian + + + + + + + + Latvian, Lettish + + + + + + + + Malagasy + + + + + + + + Maori + + + + + + + + Macedonian + + + + + + + + Malayalam + + + + + + + + Mangolian + + + + + + + + Moldavian + + + + + + + + Marathi + + + + + + + + Malay + + + + + + + + Maltese + + + + + + + + Nauru + + + + + + + + Nepali + + + + + + + + Dutch + + + + + + + + Norwegian + + + + + + + + Occitan + + + + + + + + (Afan) Oromo + + + + + + + + Oriya + + + + + + + + Punjabi + + + + + + + + Polish + + + + + + + + Pashto, Pushto + + + + + + + + Portuguese + + + + + + + + Quechua + + + + + + + + Rhaeto-Romance + + + + + + + + Kirundi + + + + + + + + Romanian + + + + + + + + Russian + + + + + + + + Kinyarwanda + + + + + + + + Sanskrit + + + + + + + + Sindhi + + + + + + + + Sangho + + + + + + + + Serbo-Croatian + + + + + + + + Singhalese + + + + + + + + Slovak + + + + + + + + Slovenian + + + + + + + + Samoan + + + + + + + + Shona + + + + + + + + Somali + + + + + + + + Albanian + + + + + + + + Serbian + + + + + + + + Siswati + + + + + + + + Sesotho + + + + + + + + Sundanese + + + + + + + + Swedish + + + + + + + + Sawahili + + + + + + + + Tamil + + + + + + + + Telugu + + + + + + + + Tajik + + + + + + + + Thai + + + + + + + + Tigrinya + + + + + + + + Turkmen + + + + + + + + Tagalog + + + + + + + + Setswana + + + + + + + + Tonga + + + + + + + + Turkish + + + + + + + + Tsonga + + + + + + + + Tatar + + + + + + + + Twi + + + + + + + + Uigur + + + + + + + + Ukrainian + + + + + + + + Urdu + + + + + + + + Uzbek + + + + + + + + Vietnamese + + + + + + + + Volapük + + + + + + + + Wolof + + + + + + + + hosa + + + + + + + + Yiddish + + + + + + + + Yoruba + + + + + + + + Zhuang + + + + + + + + Chinese + + + + + + + + Zulu + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_MIMEMediaTypeCode_IANA_7_04.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_MIMEMediaTypeCode_IANA_7_04.xsd new file mode 100644 index 0000000..893e0cf --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_MIMEMediaTypeCode_IANA_7_04.xsd @@ -0,0 +1,658 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_UnitCode_UNECE_7_04.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_UnitCode_UNECE_7_04.xsd new file mode 100644 index 0000000..85e9d3f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/CodeList_UnitCode_UNECE_7_04.xsd @@ -0,0 +1,8803 @@ + + + + + + + + + + + + small spray + + + + + + + + lift + + + + + + + + heat lot + + + + + + + + group + + + + + + + + outfit + + + + + + + + ration + + + + + + + + shot + + + + + + + + stick + + + + + + + + hundred fifteen kg drum + + + + + + + + hundred lb drum + + + + + + + + fiftyfive gallon (US) drum + + + + + + + + tank truck + + + + + + + + twenty foot container + + + + + + + + forty foot container + + + + + + + + decilitre per gram + + + + + + + + gram per cubic centimetre + + + + + + + + theoretical pound + + + + + + + + gram per square centimetre + + + + + + + + actual ton + + + + + + + + theoretical ton + + + + + + + + kilogram per square metre + + + + + + + + pound per thousand square feet + + + + + + + + horse power day per air dry metric ton + + + + + + + + catch weight + + + + + + + + kilogram per air dry metric ton + + + + + + + + kilopascal square metres per gram + + + + + + + + kilopascals per millimetre + + + + + + + + millilitres per square centimetre second + + + + + + + + cubic feet per minute per square foot + + + + + + + + ounce per square foot + + + + + + + + ounces per square foot per 0,01 inch + + + + + + + + millilitre per second + + + + + + + + millilitre per minute + + + + + + + + super bulk bag + + + + + + + + fivehundred kg bulk bag + + + + + + + + threehundred kg bulk bag + + + + + + + + fifty lb bulk bag + + + + + + + + fifty lb bag + + + + + + + + bulk car load + + + + + + + + theoretical kilograms + + + + + + + + theoretical tonne + + + + + + + + sitas + + + + + + + + mesh + + + + + + + + net kilogram + + + + + + + + part per million + + + + + + + + percent weight + + + + + + + + part per billion (US) + + + + + + + + percent per 1000 hour + + + + + + + + failure rate in time + + + + + + + + pound per square inch, gauge + + + + + + + + oersted + + + + + + + + test specific scale + + + + + + + + volt ampere per pound + + + + + + + + watt per pound + + + + + + + + ampere tum per centimetre + + + + + + + + millipascal + + + + + + + + gauss + + + + + + + + milli-inch + + + + + + + + kilogauss + + + + + + + + pounds per square inch absolute + + + + + + + + henry + + + + + + + + kilopound per square inch + + + + + + + + foot pound-force + + + + + + + + pound per cubic foot + + + + + + + + poise + + + + + + + + Saybold universal second + + + + + + + + stokes + + + + + + + + calorie per cubic centimetre + + + + + + + + calorie per gram + + + + + + + + curl unit + + + + + + + + twenty thousand gallon (US) tankcar + + + + + + + + ten thousand gallon (US) tankcar + + + + + + + + ten kg drum + + + + + + + + fifteen kg drum + + + + + + + + car mile + + + + + + + + car count + + + + + + + + locomotive count + + + + + + + + caboose count + + + + + + + + empty car + + + + + + + + train mile + + + + + + + + fuel usage gallon (US) + + + + + + + + caboose mile + + + + + + + + fixed rate + + + + + + + + ton mile + + + + + + + + locomotive mile + + + + + + + + total car count + + + + + + + + total car mile + + + + + + + + quarter mile + + + + + + + + radian per second + + + + + + + + radian per second squared + + + + + + + + röntgen + + + + + + + + British thermal unit per hour + + + + + + + + cubic centimetre per second + + + + + + + + cubic foot per hour + + + + + + + + cubic foot per minute + + + + + + + + centimetre per second + + + + + + + + decibel + + + + + + + + kilobyte + + + + + + + + kilobecquerel + + + + + + + + kilocurie + + + + + + + + megagram + + + + + + + + megagram per hour + + + + + + + + bin + + + + + + + + metre per minute + + + + + + + + milliröntgen + + + + + + + + millivolt + + + + + + + + megajoule + + + + + + + + manmonth + + + + + + + + pound per pound of product + + + + + + + + pound per piece of product + + + + + + + + kilogram per kilogram of product + + + + + + + + kilogram per piece of product + + + + + + + + bobbin + + + + + + + + cap + + + + + + + + centistokes + + + + + + + + twenty pack + + + + + + + + microlitre + + + + + + + + micrometre (micron) + + + + + + + + milliampere + + + + + + + + megabyte + + + + + + + + milligram per hour + + + + + + + + megabecquerel + + + + + + + + microfarad + + + + + + + + newton per metre + + + + + + + + ounce inch + + + + + + + + ounce foot + + + + + + + + picofarad + + + + + + + + pound per hour + + + + + + + + ton(US) per hour + + + + + + + + kilolitre per hour + + + + + + + + barrel per minute + + + + + + + + batch + + + + + + + + gallon(US) per thousand + + + + + + + + MMSCF/day + + + + + + + + pounds per thousand + + + + + + + + pump + + + + + + + + stage + + + + + + + + standard cubic foot + + + + + + + + hydraulic horse power + + + + + + + + count per minute + + + + + + + + seismic level + + + + + + + + seismic line + + + + + + + + 15 C calorie + + + + + + + + ampere square metre per joule second + + + + + + + + Ã¥ngström + + + + + + + + astronomical unit + + + + + + + + attojoule + + + + + + + + barn + + + + + + + + barn per electron volt + + + + + + + + barn per steradian electron volt, + + + + + + + + barn per sterdian + + + + + + + + becquerel per kilogram + + + + + + + + becquerel per metre cubed + + + + + + + + ampere per centimetre + + + + + + + + British thermal unit per second square foot degree Rankin + + + + + + + + British thermal unit per pound degree Rankin + + + + + + + + British thermal unit per second foot degree Rankin + + + + + + + + British thermal unit per hour square foot degree Rankin + + + + + + + + candela per square metre + + + + + + + + cheval vapeur + + + + + + + + coulomb metre + + + + + + + + coulomb metre squared per volt + + + + + + + + coulomb per cubic centimetre + + + + + + + + coulomb per cubic metre + + + + + + + + ampere per millimetre + + + + + + + + coulomb per cubic millimetre + + + + + + + + coulomb per kilogram second + + + + + + + + coulomb per mole + + + + + + + + coulomb per square centimetre + + + + + + + + coulomb per square metre + + + + + + + + coulomb per square millimetre + + + + + + + + cubic centimetre per mole + + + + + + + + cubic decimetre per mole + + + + + + + + cubic metre per coulomb + + + + + + + + cubic metre per kilogram + + + + + + + + ampere per square centimetre + + + + + + + + cubic metre per mole + + + + + + + + ampere per square metre + + + + + + + + curie per kilogram + + + + + + + + deadweight tonnage + + + + + + + + decalitre + + + + + + + + decametre + + + + + + + + decitex + + + + + + + + degree Rankin + + + + + + + + denier + + + + + + + + ampere square metre + + + + + + + + dyn second per cubic centimetre + + + + + + + + dyne second per centimetre + + + + + + + + dyne second per centimetre to the fifth + + + + + + + + electronvolt + + + + + + + + electronvolt per metre + + + + + + + + electronvolt square metre + + + + + + + + electronvolt square metre per kilogram + + + + + + + + erg + + + + + + + + erg per centimetre + + + + + + + + ampere per square metre kelvin squared + + + + + + + + erg per cubic centimetre + + + + + + + + erg per gram + + + + + + + + erg per gram second + + + + + + + + erg per second + + + + + + + + erg per second square centimetre + + + + + + + + erg per square centimetre second + + + + + + + + erg square centimetre + + + + + + + + erg square centimetre per gram + + + + + + + + exajoule + + + + + + + + farad per metre + + + + + + + + ampere per square millimetre + + + + + + + + femtojoule + + + + + + + + femtometre + + + + + + + + foot per second squared + + + + + + + + foot pound-force per second + + + + + + + + freight ton + + + + + + + + gal + + + + + + + + Gaussian CGS unit of displacement + + + + + + + + Gaussian CGS unit of electic current + + + + + + + + Gaussian CGS unit of electric charge + + + + + + + + ampere second + + + + + + + + Gaussian CGS unit of electric field strength + + + + + + + + Gaussian CGS unit of electric polarization + + + + + + + + Gaussian CGS unit of electric potential + + + + + + + + Gaussian CGS unit of magnetization + + + + + + + + gigacoulomb per cubic metre + + + + + + + + gigaelectronvolt + + + + + + + + gigahertz + + + + + + + + gigaohm + + + + + + + + gigaohm metre + + + + + + + + gigapascal + + + + + + + + rate + + + + + + + + gigawatt + + + + + + + + gon + Remarks by GEFEG mbH: +Synonyms A91 = grade + + + + + + + gram per cubic metre + + + + + + + + gram per mole + + + + + + + + gray + + + + + + + + gray per second + + + + + + + + hectopascal + + + + + + + + henry per metre + + + + + + + + ball + + + + + + + + bulk pack + + + + + + + + acre + + + + + + + + byte + + + + + + + + ampere per metre + + + + + + + + additional minute + + + + + + + + average minute per call + + + + + + + + cop + + + + + + + + fathom + + + + + + + + access line + + + + + + + + ampoule + + + + + + + + ampere hour + + + + + + + + ampere + + + + + + + + year + + + + + + + + aluminium pound only + + + + + + + + troy ounce or apothecaries' ounce + + + + + + + + anti-hemophilic factor (AHF) unit + + + + + + + + suppository + + + + + + + + are + + + + + + + + assortment + + + + + + + + alcoholic strength by mass + + + + + + + + alcoholic strength by volume + + + + + + + + standard atmosphere + + + + + + + + technical atmosphere + + + + + + + + capsule + + + + + + + + powder filled vial + + + + + + + + assembly + + + + + + + + British thermal unit per pound + + + + + + + + Btu per cubic foot + + + + + + + + barrel (US) per day + + + + + + + + joule per kilogram kelvin + + + + + + + + joule per metre + + + + + + + + joule per square metre + Remarks by GEFEG mbH: +Synonym B13 = joule per metre squared + + + + + + + joule per metre to the fourth power + + + + + + + + joule per mole + + + + + + + + joule per mole kelvin + + + + + + + + joule second + + + + + + + + bunk + + + + + + + + joule square metre per kilogram + + + + + + + + kelvin per watt + + + + + + + + kiloampere + + + + + + + + kiloampere per square metre + + + + + + + + kiloampere per metre + + + + + + + + kilobecquerel per kilogram + + + + + + + + kilocoulomb + + + + + + + + kilocoulomb per cubic metre + + + + + + + + kilocoulomb per square metre + + + + + + + + kiloelectronvolt + + + + + + + + batting pound + + + + + + + + kilogram metre per second + + + + + + + + kilogram metre squared + + + + + + + + kilogram metre squared per second + + + + + + + + kilogram per cubic decimetre + + + + + + + + kilogram per litre + Remarks by GEFEG mbH: +Synonym B35 = kilogram per litre of product + + + + + + + thermochemical calorie per gram + + + + + + + + kilogram-force + + + + + + + + kilogram-force metre + + + + + + + + kilogram-force metre per second + + + + + + + + barrel, imperial + + + + + + + + kilogram-force per square metre + + + + + + + + kilojoule per kelvin + + + + + + + + kilojoule per kilogram + + + + + + + + kilojoule per kilogram kelvin + + + + + + + + kilojoule per mole + + + + + + + + kilomole + + + + + + + + kilomole per cubic metre + + + + + + + + kilonewton + + + + + + + + kilonewton metre + + + + + + + + kiloohm + + + + + + + + billet + + + + + + + + kiloohm metre + + + + + + + + kilopond + + + + + + + + kilosecond + + + + + + + + kilosiemens + + + + + + + + kilosiemens per metre + + + + + + + + kilovolt per metre + + + + + + + + kiloweber per metre + + + + + + + + light year + + + + + + + + litre per mole + + + + + + + + lumen hour + + + + + + + + bun + + + + + + + + lumen per square metre + + + + + + + + lumen per watt + + + + + + + + lumen second + + + + + + + + lux hour + + + + + + + + lux second + + + + + + + + maxwell + + + + + + + + megaampere per square metre + + + + + + + + megabecquerel per kilogram + + + + + + + + megacoulomb per cubic metre + + + + + + + + cycle + + + + + + + + megacoulomb per square metre + + + + + + + + megaelectronvolt + + + + + + + + megagram per cubic metre + + + + + + + + meganewton + + + + + + + + meganewton metre + + + + + + + + megaohm + + + + + + + + megaohm metre + + + + + + + + megasiemens per metre + + + + + + + + megavolt + + + + + + + + megavolt per metre + + + + + + + + joule per cubic metre + + + + + + + + reciprocal metre squared reciprocal second + + + + + + + + metre to the fourth power + + + + + + + + microampere + + + + + + + + microbar + + + + + + + + microcoulomb + + + + + + + + microcoulomb per cubic metre + + + + + + + + microcoulomb per square metre + + + + + + + + microfarad per metre + + + + + + + + batt + + + + + + + + microhenry + + + + + + + + microhenry per metre + + + + + + + + micronewton + + + + + + + + micronewton metre + + + + + + + + microohm + + + + + + + + microohm metre + + + + + + + + micropascal + + + + + + + + microradian + + + + + + + + microsecond + + + + + + + + microsiemens + + + + + + + + bar + + + + + + + + base box + + + + + + + + board + + + + + + + + bundle + + + + + + + + board foot + + + + + + + + bag + + + + + + + + brush + + + + + + + + brake horse power + + + + + + + + trillion (US) + Remarks by GEFEG mbH: +Synonym BIL = billion (EUR) + + + + + + + bucket + + + + + + + + basket + + + + + + + + bale + + + + + + + + dry barrel (US) + + + + + + + + barrel (US) (petroleum etc.) + + + + + + + + bottle + + + + + + + + hundred board feet + + + + + + + + becquerel + + + + + + + + bar + + + + + + + + bolt + + + + + + + + British thermal unit + + + + + + + + bushel (US) + + + + + + + + bushel (UK) + + + + + + + + base weight + + + + + + + + box + + + + + + + + million BTUs + + + + + + + + call + + + + + + + + composite product pound (total weight) + + + + + + + + millifarad + + + + + + + + milligal + + + + + + + + milligram per metre + + + + + + + + milligray + + + + + + + + millihenry + + + + + + + + millijoule + + + + + + + + millimetre per second + + + + + + + + millimetre squared per second + + + + + + + + millimole + + + + + + + + mole per kilogram + + + + + + + + carset + + + + + + + + millinewton + + + + + + + + millinewton per metre + + + + + + + + milliohm metre + + + + + + + + millipascal second + + + + + + + + milliradian + + + + + + + + millisecond + + + + + + + + millisiemens + + + + + + + + millisievert + + + + + + + + millitesla + + + + + + + + microvolt per metre + + + + + + + + millivolt per metre + + + + + + + + milliwatt + + + + + + + + milliwatt per square metre + + + + + + + + milliweber + + + + + + + + mole + + + + + + + + mole per cubic decimetre + + + + + + + + mole per cubic metre + + + + + + + + mole per litre + + + + + + + + nanoampere + + + + + + + + carload + + + + + + + + nanocoulomb + + + + + + + + nanofarad + + + + + + + + nanofarad per metre + + + + + + + + nanohenry + + + + + + + + nanohenry per metre + + + + + + + + nanometre + + + + + + + + nanoohm metre + + + + + + + + nanosecond + + + + + + + + nanotesla + + + + + + + + nanowatt + + + + + + + + cost + + + + + + + + neper + + + + + + + + neper per second + + + + + + + + picometre + + + + + + + + newton metre second + + + + + + + + newton metre squared kilogram squared + + + + + + + + newton per square metre + + + + + + + + newton per square millimetre + + + + + + + + newton second + + + + + + + + newton second per metre + + + + + + + + octave + + + + + + + + cell + + + + + + + + ohm centimetre + + + + + + + + ohm metre + + + + + + + + one + + + + + + + + parsec + + + + + + + + pascal per kelvin + + + + + + + + pascal second + + + + + + + + pascal second per cubic metre + + + + + + + + pascal second per metre + + + + + + + + petajoule + + + + + + + + phon + + + + + + + + centipoise + + + + + + + + picoampere + + + + + + + + picocoulomb + + + + + + + + picofarad per metre + + + + + + + + picohenry + + + + + + + + picowatt + + + + + + + + picowatt per square metre + + + + + + + + pound gage + + + + + + + + pound-force + + + + + + + + millicoulomb per kilogram + + + + + + + + rad + + + + + + + + radian + + + + + + + + radian meter squared per mole + + + + + + + + radian metre squared per kilogram + + + + + + + + radian per metre + + + + + + + + reciprocal †ngstr"m + + + + + + + + reciprocal cubic metre + + + + + + + + reciprocal cubic metre per second + + + + + + + + reciprocal electron volt per cubic metre + + + + + + + + reciprocal henry + + + + + + + + coil group + + + + + + + + reciprocal joule per cubic metre + + + + + + + + reciprocal kelvin or kelvin to the power minus one + + + + + + + + reciprocal metre + + + + + + + + reciprocal square metre + Remarks by GEFEG mbH: +Synonym C93 = reciprocal metre squared + + + + + + + reciprocal minute + + + + + + + + reciprocal mole + + + + + + + + reciprocal pascal or pascal to the power minus one + + + + + + + + reciprocal second + + + + + + + + reciprocal second per cubic metre + + + + + + + + reciprocal second per metre squared + + + + + + + + can + + + + + + + + carrying capacity in metric ton + + + + + + + + candela + + + + + + + + degree Celsius + + + + + + + + hundred + + + + + + + + card + + + + + + + + centigram + + + + + + + + container + + + + + + + + cone + + + + + + + + connector + + + + + + + + coulomb per kilogram + + + + + + + + coil + + + + + + + + hundred leave + + + + + + + + centilitre + + + + + + + + square centimetre + + + + + + + + cubic centimetre + + + + + + + + centimetre + + + + + + + + hundred pack + + + + + + + + cental (UK) + + + + + + + + carboy + + + + + + + + coulomb + + + + + + + + cartridge + + + + + + + + crate + + + + + + + + case + + + + + + + + carton + + + + + + + + metric carat + + + + + + + + cup + + + + + + + + curie + + + + + + + + cover + + + + + + + + hundred pounds (cwt)/hundred weight (US) + + + + + + + + hundred weight (UK) + + + + + + + + cylinder + + + + + + + + combo + + + + + + + + reciprocal second per steradian + + + + + + + + siemens per metre + + + + + + + + siemens square metre per mole + + + + + + + + sievert + + + + + + + + thousand linear yard + + + + + + + + sone + + + + + + + + square centimetre per erg + + + + + + + + square centimetre per steradian erg + + + + + + + + metre kelvin + + + + + + + + square metre kelvin per watt + + + + + + + + reciprocal second per steradian metre squared + + + + + + + + square metre per joule + + + + + + + + square metre per kilogram + + + + + + + + square metre per mole + + + + + + + + pen gram (protein) + + + + + + + + square metre per steradian + + + + + + + + square metre per steradian joule + + + + + + + + square metre per volt second + + + + + + + + steradian + + + + + + + + syphon + + + + + + + + terahertz + + + + + + + + terajoule + + + + + + + + terawatt + + + + + + + + terawatt hour + + + + + + + + tesla + + + + + + + + tex + + + + + + + + thermochemical calorie + + + + + + + + thermochemical calorie per gram kelvin + + + + + + + + thermochemical calorie per second centimetre kelvin + + + + + + + + thermochemical calorie per second square centimetre kelvin + + + + + + + + thousand litre + + + + + + + + tonne per cubic metre + + + + + + + + tropical year + + + + + + + + unified atomic mass unit + + + + + + + + var + + + + + + + + volt squared per kelvin squared + + + + + + + + volt - ampere + + + + + + + + volt per centimetre + + + + + + + + volt per kelvin + + + + + + + + millivolt per kelvin + + + + + + + + kilogram per square centimeter + + + + + + + + volt per metre + + + + + + + + volt per millimetre + + + + + + + + watt per kelvin + + + + + + + + watt per metre kelvin + + + + + + + + watt per square metre + + + + + + + + watt per square metre kelvin + + + + + + + + watt per square metre kelvin to the fourth power + + + + + + + + watt per steradian + + + + + + + + watt per steradian square metre + + + + + + + + weber per metre + + + + + + + + röntgen per second + + + + + + + + weber per millimetre + + + + + + + + minute + + + + + + + + second + + + + + + + + book + + + + + + + + block + + + + + + + + round + + + + + + + + cassette + + + + + + + + dollar per hour + + + + + + + + inch to the fourth power + + + + + + + + sandwich + + + + + + + + International Table (IT) calorie + + + + + + + + International Table (IT) calorie per second centimetre kelvin + + + + + + + + International Table (IT) calorie per second square centimetre kelvin + + + + + + + + joule square metre + + + + + + + + kilogram per mole + + + + + + + + International Table (IT) calorie per gram + + + + + + + + International Table (IT) calorie per gram kelvin + + + + + + + + megacoulomb + + + + + + + + beam + + + + + + + + draize score + + + + + + + + microwatt + + + + + + + + microtesla + + + + + + + + microvolt + + + + + + + + millinewton metre + + + + + + + + microwatt per square metre + + + + + + + + millicoulomb + + + + + + + + millimole per kilogram + + + + + + + + millicoulomb per cubic metre + + + + + + + + millicoulomb per square metre + + + + + + + + dyne per square centimeter + + + + + + + + cubic metre (net) + + + + + + + + rem + + + + + + + + band + + + + + + + + second per cubic metre + + + + + + + + second per radian cubic metre + + + + + + + + joule per gram + + + + + + + + pound gross + + + + + + + + pallet/unit load + + + + + + + + mass pound + + + + + + + + sleeve + + + + + + + + decare + + + + + + + + ten day + + + + + + + + day + + + + + + + + dry pound + + + + + + + + disk (disc) + + + + + + + + degree + + + + + + + + deal + + + + + + + + decade + + + + + + + + decigram + + + + + + + + dispenser + + + + + + + + decagram + + + + + + + + decilitre + + + + + + + + square decimetre + + + + + + + + cubic decimetre + + + + + + + + decimetre + + + + + + + + decinewton metre + + + + + + + + dozen piece + + + + + + + + dozen pair + + + + + + + + displacement tonnage + + + + + + + + data record + + + + + + + + drum + + + + + + + + dram (US) + + + + + + + + dram (UK) + + + + + + + + dozen roll + + + + + + + + drachm (UK) + + + + + + + + display + + + + + + + + dry ton + + + + + + + + decitonne + Remarks by GEFEG mbH: +Synonym DTN = centner, metric +Synonym DTN = quintal, metric + + + + + + + dyne + + + + + + + + pennyweight + + + + + + + + dyne per centimetre + + + + + + + + directory book + + + + + + + + dozen + + + + + + + + dozen pack + + + + + + + + belt + + + + + + + + trailer + + + + + + + + gross kilogram + + + + + + + + metric long ton + + + + + + + + each + + + + + + + + electronic mail box + + + + + + + + each per month + + + + + + + + eleven pack + + + + + + + + equivalent gallon + + + + + + + + envelope + + + + + + + + thousand cubic feet per day + + + + + + + + fibre per cubic centimetre of air + + + + + + + + degree Fahrenheit + + + + + + + + farad + + + + + + + + field + + + + + + + + thousand cubic feet + + + + + + + + million particle per cubic foot + + + + + + + + track foot + + + + + + + + hundred cubic metre + + + + + + + + transdermal patch + + + + + + + + micromole + + + + + + + + flake ton + + + + + + + + million cubic feet + + + + + + + + foot + + + + + + + + pound per square foot + + + + + + + + foot per minute + + + + + + + + foot per second + + + + + + + + square foot + + + + + + + + cubic foot + + + + + + + + US gallon per minute + + + + + + + + Imperial gallon per minute + + + + + + + + microfiche sheet + + + + + + + + gallon (US) per day + + + + + + + + gigabecquerel + + + + + + + + gram per 100 gram + + + + + + + + gross barrel + + + + + + + + pound per gallon (US) + + + + + + + + gram per metre (gram per 100 centimetres) + + + + + + + + gram of fissile isotope + + + + + + + + great gross + + + + + + + + half gallon (US) + + + + + + + + gill (US) + + + + + + + + gill (UK) + + + + + + + + gram per millilitre + + + + + + + + gram per kilogram + + + + + + + + gram per litre + + + + + + + + dry gallon (US) + + + + + + + + gallon (UK) + + + + + + + + gallon (US) + + + + + + + + gram per square metre + + + + + + + + gross gallon + + + + + + + + milligrams per square metre + + + + + + + + milligram per cubic metre + + + + + + + + microgram per cubic meter + + + + + + + + gram + + + + + + + + grain + + + + + + + + gross + + + + + + + + gross register ton + + + + + + + + gross ton + Remarks by GEFEG mbH: +Synonym GT = metric gross ton + + + + + + + gigajoule + + + + + + + + gallon per thousand cubic feet + + + + + + + + gigawatt hour + + + + + + + + gross yard + + + + + + + + gage system + + + + + + + + half page - electronic + + + + + + + + half litre + + + + + + + + hank + + + + + + + + hectare + + + + + + + + hectobar + + + + + + + + hundred boxe + + + + + + + + hundred count + + + + + + + + half dozen + + + + + + + + hundredth of a carat + + + + + + + + hundred feet + + + + + + + + hectogram + + + + + + + + hundred cubic feet + + + + + + + + hundred sheet + + + + + + + + hundred international unit + + + + + + + + metric horse power + + + + + + + + hundred kilogram + + + + + + + + hundred feet (linear) + + + + + + + + hectolitre + + + + + + + + mile per hour + + + + + + + + million cubic metre + + + + + + + + hectometre + + + + + + + + conventional millimetre of mercury + + + + + + + + hundred troy ounce + + + + + + + + conventional millimetre of water + + + + + + + + hectolitre of pure alcohol + + + + + + + + hundred square feet + + + + + + + + half hour + + + + + + + + hertz + + + + + + + + hour + + + + + + + + hundred yard + + + + + + + + inch pound (pound inch) + + + + + + + + count per inch + + + + + + + + person + + + + + + + + inches of water + + + + + + + + column inch + + + + + + + + inch per minute + + + + + + + + impression + + + + + + + + inch + + + + + + + + square inch + + + + + + + + inch cubed + + + + + + + + insurance policy + + + + + + + + count per centimetre + + + + + + + + inch per second (linear speed) + Remarks by GEFEG mbH: +Synonym IU = inch per second (vibration) + + + + + + + inch per second squared (acceleration) + Remarks by GEFEG mbH: +Synonym IV = inch per second squared (vibration acceleration) + + + + + + + joule per kilogram + + + + + + + + jumbo + + + + + + + + joule per kelvin + + + + + + + + jug + + + + + + + + megajoule per kilogram + + + + + + + + megajoule per cubic metre + + + + + + + + joint + + + + + + + + joule + + + + + + + + jar + + + + + + + + kilowatt demand + + + + + + + + kilovolt ampere reactive demand + + + + + + + + kilovolt ampere reactive hour + + + + + + + + kilovolt ampere (reactive) + + + + + + + + kilolitre + + + + + + + + cake + + + + + + + + kilocharacter + + + + + + + + kilobar + + + + + + + + kilogram decimal + + + + + + + + kelvin + + + + + + + + kilopacket + + + + + + + + keg + + + + + + + + kilogram + + + + + + + + kilogram per second + + + + + + + + kilohertz + + + + + + + + kilogram per millimetre width + + + + + + + + kilosegment + + + + + + + + kilojoule + + + + + + + + kilogram per metre + + + + + + + + kilometre per hour + + + + + + + + square kilometre + + + + + + + + kilogram per cubic metre + + + + + + + + kilogram of nitrogen + + + + + + + + kilogram named substance + + + + + + + + knot + + + + + + + + milliequivalence caustic potash per gram of product + + + + + + + + kilopascal + + + + + + + + kilogram of potassium hydroxide (caustic potash) + + + + + + + + kilogram of potassium oxide + + + + + + + + kilogram of phosphorus pentoxide (phosphoric anhydride) + + + + + + + + kiloröntgen + + + + + + + + thousand pound per square inch + + + + + + + + kilogram of substance 90 % dry + + + + + + + + kilogram of sodium hydroxide (caustic soda) + + + + + + + + kit + + + + + + + + kilometre + + + + + + + + kilotonne + + + + + + + + kilogram of uranium + + + + + + + + kilovolt - ampere + + + + + + + + kilovar + + + + + + + + kilovolt + + + + + + + + kilograms per millimeter + + + + + + + + kilowatt hour + + + + + + + + kilowatt + + + + + + + + millilitre per kilogram + + + + + + + + litre per minute + + + + + + + + pound per cubic inch + + + + + + + + pound + Remarks by GEFEG mbH: +Synonym LBR = pound decimal + + + + + + + troy pound (US) + + + + + + + + linear centimetre + + + + + + + + litre per day + + + + + + + + lite + + + + + + + + leaf + + + + + + + + linear foot + + + + + + + + labour hour + + + + + + + + linear inch + + + + + + + + large spray + + + + + + + + link + + + + + + + + linear metre + + + + + + + + length + + + + + + + + lot + + + + + + + + liquid pound + + + + + + + + litre of pure alcohol + + + + + + + + layer + + + + + + + + lump sum + + + + + + + + ton (UK) or longton (US) + + + + + + + + litre + + + + + + + + lumen + + + + + + + + lux + + + + + + + + linear yard per pound + + + + + + + + linear yard + + + + + + + + magnetic tape + + + + + + + + milligrams per litre + + + + + + + + monetary value + + + + + + + + microcurie + + + + + + + + micro-inch + + + + + + + + million Btu per 1000 cubic feet + + + + + + + + machine per unit + + + + + + + + mega litre + + + + + + + + megametre + + + + + + + + megawatt + + + + + + + + thousand standard brick equivalent + + + + + + + + thousand board feet + + + + + + + + millibar + + + + + + + + microgram + + + + + + + + millicurie + + + + + + + + air dry metric ton + + + + + + + + milligram per square foot per side + + + + + + + + milligram + + + + + + + + megahertz + + + + + + + + square mile + + + + + + + + thousand + + + + + + + + minute + + + + + + + + million + + + + + + + + million international unit + + + + + + + + milligram per square inch + + + + + + + + milliard + Remarks by GEFEG mbH: +Synonym MLD = billion (US) + + + + + + + millilitre + + + + + + + + square millimetre + + + + + + + + cubic millimetre + + + + + + + + millimetre + + + + + + + + month + + + + + + + + megapascal + + + + + + + + thousand metre + + + + + + + + cubic metre per hour + + + + + + + + cubic metre per second + + + + + + + + metre per second squared + + + + + + + + mat + + + + + + + + square metre + + + + + + + + cubic metre + Remarks by GEFEG mbH: +Synonym MTQ = metre cubed + + + + + + + metre + + + + + + + + metre per second + + + + + + + + number of mults + + + + + + + + megavolt - ampere + + + + + + + + megawatt hour (1000 kW.h) + + + + + + + + pen calorie + + + + + + + + number of lines + + + + + + + + print point + + + + + + + + milligram per kilogram + + + + + + + + number of articles + + + + + + + + barge + + + + + + + + number of bobbins + + + + + + + + car + + + + + + + + number of cells + + + + + + + + net barrel + + + + + + + + net litre + + + + + + + + newton + + + + + + + + message + + + + + + + + net gallon (us) + + + + + + + + message hour + + + + + + + + net imperial gallon + + + + + + + + number of international units + + + + + + + + number of screens + + + + + + + + load + + + + + + + + nautical mile + + + + + + + + number of packs + + + + + + + + train + + + + + + + + number of parcels + + + + + + + + number of pairs + + + + + + + + number of parts + + + + + + + + mho + + + + + + + + micromho + + + + + + + + number of rolls + + + + + + + + net ton + Remarks by GEFEG mbH: +Synonym NT = metric net ton + + + + + + + net register ton + + + + + + + + newton metre + + + + + + + + vehicle + + + + + + + + part per thousand + + + + + + + + pound per air dry metric ton + + + + + + + + panel + + + + + + + + ohm + + + + + + + + ounce per square yard + + + + + + + + ounce + + + + + + + + two pack + + + + + + + + overtime hour + + + + + + + + ounce av + + + + + + + + fluid ounce (US) + + + + + + + + fluid ounce (UK) + + + + + + + + page - electronic + + + + + + + + percent + + + + + + + + pound per foot + + + + + + + + three pack + + + + + + + + four pack + + + + + + + + five pack + + + + + + + + six pack + + + + + + + + seven pack + + + + + + + + eight pack + + + + + + + + nine pack + + + + + + + + packet + + + + + + + + pascal + + + + + + + + pair inch + + + + + + + + pad + + + + + + + + pound equivalent + + + + + + + + pallet (lift) + + + + + + + + plate + + + + + + + + proof gallon + + + + + + + + pitch + + + + + + + + package + Remarks by GEFEG mbH: +Synonym PK = pack + + + + + + + pail + + + + + + + + pound percentage + + + + + + + + pound net + + + + + + + + pound per inch of length + + + + + + + + page per inch + + + + + + + + pair + + + + + + + + pound-force per square inch + + + + + + + + pint (US) + + + + + + + + dry pint (US) + + + + + + + + pint (UK) + + + + + + + + liquid pint (US) + + + + + + + + tray / tray pack + + + + + + + + half pint (US) + + + + + + + + pound per inch of width + + + + + + + + peck dry (US) + + + + + + + + peck dry (UK) + + + + + + + + meal + + + + + + + + page - facsimile + + + + + + + + quarter (of a year) + + + + + + + + page - hardcopy + + + + + + + + quarter dozen + + + + + + + + quarter hour + + + + + + + + quarter kilogram + + + + + + + + quire + + + + + + + + quart (US) + + + + + + + + dry quart (US) + + + + + + + + quart (UK) + + + + + + + + liquid quart (US) + + + + + + + + quarter (UK) + + + + + + + + pica + + + + + + + + calorie + + + + + + + + thousand cubic metre + + + + + + + + rack + + + + + + + + rod + + + + + + + + ring + + + + + + + + running or operating hour + + + + + + + + roll metric measure + + + + + + + + reel + + + + + + + + ream + + + + + + + + ream metric measure + + + + + + + + roll + + + + + + + + pound per ream + + + + + + + + revolutions per minute + + + + + + + + revolutions per second + + + + + + + + reset + + + + + + + + revenue ton mile + + + + + + + + run + + + + + + + + square foot per second + + + + + + + + square metre per second + + + + + + + + sixty fourths of an inch + + + + + + + + session + + + + + + + + storage unit + + + + + + + + standard advertising unit + + + + + + + + sack + + + + + + + + half year (6 months) + + + + + + + + score + + + + + + + + scruple + + + + + + + + solid pound + + + + + + + + section + + + + + + + + second + + + + + + + + set + + + + + + + + segment + + + + + + + + shipping ton + + + + + + + + siemens + + + + + + + + split tanktruck + + + + + + + + slipsheet + + + + + + + + mile (statute mile) + + + + + + + + square rod + + + + + + + + spool + + + + + + + + shelf package + + + + + + + + square + + + + + + + + strip + + + + + + + + sheet metric measure + + + + + + + + short standard (7200 matches) + + + + + + + + sheet + + + + + + + + stone (UK) + + + + + + + + ton (US) or short ton (UK/US) + Remarks by GEFEG mbH: +Synonym STN = net ton (2000 lb) + + + + + + + skid + + + + + + + + skein + + + + + + + + shipment + + + + + + + + telecommunication line in service + + + + + + + + thousand pound gross + + + + + + + + thousand piece + + + + + + + + thousand bag + + + + + + + + thousand casing + + + + + + + + thousand gallon (US) + + + + + + + + thousand impression + + + + + + + + thousand linear inch + + + + + + + + tenth cubic foot + + + + + + + + kiloampere hour (thousand ampere hour) + + + + + + + + truckload + + + + + + + + therm + + + + + + + + tote + + + + + + + + ten square yard + + + + + + + + thousand square inch + + + + + + + + thousand square centimetre + + + + + + + + tank, rectangular + + + + + + + + thousand feet (linear) + + + + + + + + tin + + + + + + + + tonne (metric ton) + Remarks by GEFEG mbH: +Synonym TNE = metric ton + + + + + + + ten pack + + + + + + + + ten pair + + + + + + + + thousand feet + + + + + + + + thousand cubic metre per day + + + + + + + + ten square feet + + + + + + + + trillion (EUR) + + + + + + + + thousand square feet + + + + + + + + tonne of substance 90 % dry + + + + + + + + ton of steam per hour + + + + + + + + thousand linear metre + + + + + + + + tube + + + + + + + + thousand kilogram + + + + + + + + thousand sheet + + + + + + + + tank, cylindrical + + + + + + + + treatment + + + + + + + + tablet + + + + + + + + torr + + + + + + + + telecommunication line in service average + + + + + + + + telecommunication port + + + + + + + + tenth minute + + + + + + + + tenth hour + + + + + + + + usage per telecommunication line average + + + + + + + + ten thousand yard + + + + + + + + million unit + + + + + + + + volt ampere per kilogram + + + + + + + + vial + + + + + + + + volt + + + + + + + + bulk + + + + + + + + visit + + + + + + + + wet kilo + + + + + + + + two week + + + + + + + + watt per kilogram + + + + + + + + wet pound + + + + + + + + cord + + + + + + + + wet ton + + + + + + + + weber + + + + + + + + week + + + + + + + + wine gallon + + + + + + + + wheel + + + + + + + + watt hour + + + + + + + + weight per square inch + + + + + + + + working month + + + + + + + + wrap + + + + + + + + standard + + + + + + + + watt + + + + + + + + millilitre of water + + + + + + + + chain + + + + + + + + square yard + + + + + + + + cubic yard + + + + + + + + hundred linear yard + + + + + + + + yard + + + + + + + + ten yard + + + + + + + + lift van + + + + + + + + chest + + + + + + + + cask + + + + + + + + hogshead + + + + + + + + lug + + + + + + + + conference point + + + + + + + + newspage agate line + + + + + + + + page + + + + + + + + mutually defined + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonAggregateComponents-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonAggregateComponents-2.0.xsd new file mode 100644 index 0000000..78bf9b2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonAggregateComponents-2.0.xsd @@ -0,0 +1,17444 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ABIE + Address. Details + Information about a structured address. + Address + + + + + + + + + BBIE + Address. Identifier + An identifier for a specific address within a scheme of registered addresses. + 0..1 + Address + Identifier + Identifier + Identifier. Type + DetailsKey + + + + + + + + + BBIE + Address. Address Type Code. Code + A code specifying the type of this address, such as business address or home address. + 0..1 + Address + Address Type Code + Code + Code. Type + + + + + + + + + BBIE + Address. Address Format Code. Code + A code specifying the format of this address. + 0..1 + Address + Address Format Code + Code + Code. Type + + + + + + + + + BBIE + Address. Postbox. Text + A post office box number. + 0..1 + Address + Postbox + Text + Text. Type + PostBox, PO Box + "123" + + + + + + + + + BBIE + Address. Floor. Text + An addressable floor of a building. + 0..1 + Address + Floor + Text + Text. Type + SubPremiseNumber + "30" + + + + + + + + + BBIE + Address. Room. Text + A room, suite, or apartment of a building. + 0..1 + Address + Room + Text + Text. Type + SubPremiseNumber + "Reception" + + + + + + + + + BBIE + Address. Street Name. Name + The name of a street. + 0..1 + Address + Street Name + Name + Name. Type + Thoroughfare + "Kwun Tong Road" + + + + + + + + + BBIE + Address. Additional_ Street Name. Name + An additional name of a street used to further specify the street name. + 0..1 + Address + Additional + Street Name + Name + Name. Type + Thoroughfare + "Cnr Aberdeen Road" + + + + + + + + + BBIE + Address. Block Name. Name + The block name, expressed as text, for an area surrounded by streets and usually containing several buildings for this address. + 0..1 + Address + Block Name + Name + Name. Type + Seabird + + + + + + + + + BBIE + Address. Building Name. Name + The name of a building. + 0..1 + Address + Building Name + Name + Name. Type + BuildingName + "Plot 421" + + + + + + + + + BBIE + Address. Building Number. Text + The number of a building. + 0..1 + Address + Building Number + Text + Text. Type + PremiseNumber + "388" + + + + + + + + + BBIE + Address. Inhouse_ Mail. Text + A specific location within a building. + 0..1 + Address + Inhouse + Mail + Text + Text. Type + MailStop + + + + + + + + + BBIE + Address. Department. Text + An addressable department of an organization. + 0..1 + Address + Department + Text + Text. Type + Department + "Accounts Payable" + + + + + + + + + BBIE + Address. Mark Attention. Text + The name, expressed as text, of a person or department in the organization to whom incoming mail is marked with words such as 'for the attention of' or 'FAO' or 'ATTN' for this address. + 0..1 + Address + Mark Attention + Text + Text. Type + + + + + + + + + BBIE + Address. Mark Care. Text + The name, expressed as text, of a person or organization at this address to whom incoming mail is marked with words such as 'care of' or 'C/O'. + 0..1 + Address + Mark Care + Text + Text. Type + + + + + + + + + BBIE + Address. Plot Identification. Text + The textual expression of the unique identifier for the piece of land on which this address is located such as a plot number. + 0..1 + Address + Plot Identification + Text + Text. Type + + + + + + + + + BBIE + Address. City Subdivision Name. Name + A name, expressed as text, of a subdivision of a city for this address, for example, a district or borough. + 0..1 + Address + City Subdivision Name + Name + Name. Type + + + + + + + + + BBIE + Address. City Name. Name + The name of a city, town, or village. + 0..1 + Address + City Name + Name + Name. Type + LocalityName + "Hong Kong" + + + + + + + + + BBIE + Address. Postal_ Zone. Text + The identifier for an addressable group of properties according to the relevant national postal service, such as a ZIP code or Post Code. + 0..1 + Address + Postal + Zone + Text + Text. Type + PostalCodeNumber + "SW11 4EW" "2500 GG" + + + + + + + + + BBIE + Address. Country Subentity. Text + A territorial division of a country, such as a county or state. + 0..1 + Address + Country Subentity + Text + Text. Type + AdministrativeArea, State, Country, Shire, Canton + "Florida","Tamilnadu" + + + + + + + + + BBIE + Address. Country Subentity Code. Code + A territorial division of a country, such as a county or state, expressed as a code. + 0..1 + Address + Country Subentity Code + Code + Code. Type + AdministrativeAreaCode, State Code + + + + + + + + + BBIE + Address. Region. Text + An addressable region or group of countries. + 0..1 + Address + Region + Text + Text. Type + LocalityName, Economic Zone + "European Union" + + + + + + + + + BBIE + Address. District. Text + A geographical division of a country. + 0..1 + Address + District + Text + Text. Type + LocalityName, Area + "East Coast" + + + + + + + + + BBIE + Address. Timezone Offset. Text + For the time zone in which the address is situated, the measure of time offset from Universal Coordinated Time (UTC). + 0..1 + Address + Timezone Offset + Text + Text. Type + "+8:00" "-3:00" + + + + + + + + + ASBIE + Address. Address Line + An association to Address Line. + 0..n + Address + Address Line + Address Line + + + + + + + + + ASBIE + Address. Country + An association to Country. + 0..1 + Address + Country + Country + + + + + + + + + ASBIE + Address. Location Coordinate + An association to Location Coordinate. + 0..1 + Address + Location Coordinate + Location Coordinate + + + + + + + + + + + ABIE + Address Line. Details + Information about a line of address expressed as unstructured text. + Address Line + + + + + + + + + BBIE + Address Line. Line. Text + A line of address expressed as unstructured text. + 1 + Address Line + Line + Text + Text. Type + "123 Standard Chartered Tower" + + + + + + + + + + + ABIE + Air Transport. Details + Information related to an aircraft. + Air Transport + + + + + + + + + BBIE + Air Transport. Aircraft Identifier. Identifier + Identifies a specific aircraft. + 1 + Air Transport + Aircraft Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Allowance Charge. Details + Information about a charge or discount price component. + Allowance Charge + + + + + + + + + BBIE + Allowance Charge. Identifier + Identifies an Allowance Charge. + 0..1 + Allowance Charge + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Allowance Charge. Charge_ Indicator. Indicator + Indicates whether the Allowance Charge is a charge (true) or a discount (false). + 1 + Allowance Charge + Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Allowance Charge. Allowance Charge Reason Code. Code + The reason for the Allowance Charge, expressed as a code. + 0..1 + Allowance Charge + Allowance Charge Reason Code + Code + Allowance Charge Reason_ Code. Type + + + + + + + + + BBIE + Allowance Charge. Allowance Charge_ Reason. Text + The reason for the Allowance Charge, expressed as text. + 0..1 + Allowance Charge + Allowance Charge + Reason + Text + Text. Type + + + + + + + + + BBIE + Allowance Charge. Multiplier_ Factor. Numeric + The factor applied to the Base Amount to calculate the Allowance Charge. + 0..1 + Allowance Charge + Multiplier + Factor + Numeric + Numeric. Type + 0.20 + + + + + + + + + BBIE + Allowance Charge. Prepaid_ Indicator. Indicator + Indicates whether the Allowance Charge is prepaid (true) or not (false). + 0..1 + Allowance Charge + Prepaid + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Allowance Charge. Sequence. Numeric + Identifies the numerical order sequence in which Allowance Charges are calculated when multiple Allowance Charges apply. If all Allowance Charges apply to the same Base Amount, SequenceNumeric will be '1' for all Allowance Charges. + 0..1 + Allowance Charge + Sequence + Numeric + Numeric. Type + 1, 2, 3, 4, etc. + + + + + + + + + BBIE + Allowance Charge. Amount + The Allowance Charge amount. + 1 + Allowance Charge + Amount + Amount + Amount. Type + 35,23 + + + + + + + + + BBIE + Allowance Charge. Base_ Amount. Amount + The amount to which the MultiplierFactorNumeric is applied to calculate the Allowance Charge. + 0..1 + Allowance Charge + Base + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Allowance Charge. Accounting Cost Code. Code + The buyer's accounting code as applied to the Allowance Charge. + 0..1 + Allowance Charge + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Allowance Charge. Accounting Cost. Text + The buyer's accounting code as applied to the Allowance Charge expressed as text. + 0..1 + Allowance Charge + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Allowance Charge. Tax Category + An association to Tax Category. + 0..n + Allowance Charge + Tax Category + Tax Category + + + + + + + + + ASBIE + Allowance Charge. Tax Total + An association to Tax Total. + 0..1 + Allowance Charge + Tax Total + Tax Total + + + + + + + + + ASBIE + Allowance Charge. Payment Means + An association to Payment Means. + 0..n + Allowance Charge + Payment Means + Payment Means + + + + + + + + + + + ABIE + Attachment. Details + Information about an attached document. An attachment can be referred to externally (with the URI element) or internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element). + Attachment + + + + + + + + + BBIE + Attachment. Embedded_ Document. Binary Object + Contains an embedded document as a BLOB (binary large object). + 0..1 + Attachment + Embedded + Document + Binary Object + Binary Object. Type + + + + + + + + + ASBIE + Attachment. External Reference + An attached document, externally referred to, referred to in the MIME location, or embedded. + 0..1 + Attachment + External Reference + External Reference + + + + + + + + + + + ABIE + Billing Reference. Details + Information directly relating to a related document. + Billing Reference + + + + + + + + + ASBIE + Billing Reference. Invoice_ Document Reference. Document Reference + An associative reference to Invoice. + 0..1 + Billing Reference + Invoice + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Self Billed Invoice_ Document Reference. Document Reference + An associative reference to Self Billed Invoice. + 0..1 + Billing Reference + Self Billed Invoice + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Credit Note_ Document Reference. Document Reference + An associative reference to Credit Note. + 0..1 + Billing Reference + Credit Note + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Self Billed Credit Note_ Document Reference. Document Reference + An associative reference to Self Billed Credit Note. + 0..1 + Billing Reference + Self Billed Credit Note + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Debit Note_ Document Reference. Document Reference + An associative reference to Debit Note. + 0..1 + Billing Reference + Debit Note + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Reminder_ Document Reference. Document Reference + An associative reference to Reminder Document Reference + 0..1 + Billing Reference + Reminder + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..1 + Billing Reference + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Billing Reference Line + An association to Billing Reference Line. + 0..n + Billing Reference + Billing Reference Line + Billing Reference Line + + + + + + + + + + + ABIE + Billing Reference Line. Details + Information about a Billing Line. + Billing Reference Line + + + + + + + + + BBIE + Billing Reference Line. Identifier + An identifier for the Billing Line. + 1 + Billing Reference Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Billing Reference Line. Amount + The amount of the Billing Line, including Allowance Charges but net of taxes. + 0..1 + Billing Reference Line + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Billing Reference Line. Allowance Charge + An association to Allowance Charge. + 0..n + Billing Reference Line + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Branch. Details + Information about a branch or division of an organization. + Branch + + + + + + + + + BBIE + Branch. Identifier + An identifier for a branch or division of an organization. + 0..1 + Branch + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Branch. Name + The name of a branch or division of an organization. + 0..1 + Branch + Name + Name + Name. Type + + + + + + + + + ASBIE + Branch. Financial Institution + An association to Financial Institution. + 0..1 + Branch + Financial Institution + Financial Institution + + + + + + + + + ASBIE + Branch. Address + An association to Address. + 0..1 + Branch + Address + Address + + + + + + + + + + + ABIE + Card Account. Details + Information about a credit card, debit card, or charge card. + Card Account + + + + + + + + + BBIE + Card Account. Primary_ Account Number. Identifier + The card number; the Primary Account Number (PAN). + 1 + Card Account + Primary + Account Number + Identifier + Identifier. Type + 4558 XXXX XXXX XXXX (a real card number) + + + + + + + + + BBIE + Card Account. Network. Identifier + The card network provider. + 1 + Card Account + Network + Identifier + Identifier. Type + “VISA”, “MasterCard”, “American Express” + + + + + + + + + BBIE + Card Account. Card Type Code. Code + The type of card. + 0..1 + Card Account + Card Type Code + Code + Code. Type + “Debit Card”, “Credit Card”, “Procurement Card” + + + + + + + + + BBIE + Card Account. Validity Start Date. Date + The date from which the card is valid. + 0..1 + Card Account + Validity Start Date + Date + Date. Type + + + + + + + + + BBIE + Card Account. Expiry Date. Date + The date up to which the card is valid. + 0..1 + Card Account + Expiry Date + Date + Date. Type + + + + + + + + + BBIE + Card Account. Issuer. Identifier + The identifier for the card issuer. + 0..1 + Card Account + Issuer + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Issue Number. Identifier + The card issue number. + 0..1 + Card Account + Issue Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. CV2. Identifier + The Card Verification Value. + 0..1 + Card Account + CV2 + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Card Chip Code. Code + The distinction between CHIP and MAG STRIPE cards. + 0..1 + Card Account + Card Chip Code + Code + Chip_ Code. Type + + + + + + + + + BBIE + Card Account. Chip_ Application. Identifier + An identifier for the application (AID) on a chip card that provides the information quoted. + 0..1 + Card Account + Chip + Application + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Holder. Name + The name of the cardholder. + 0..1 + Card Account + Holder + Name + Name. Type + + + + + + + + + + + ABIE + Catalogue Item Specification Update Line. Details + Details of Catalogue Line Item Specification. + Catalogue Item Specification Update Line + + + + + + + + + BBIE + Catalogue Item Specification Update Line. Identifier + A unique instance identifier for the line in this Catalogue document. + 1 + Catalogue Item Specification Update Line + Identifier + Identifier + Identifier. Type + "1" + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Item Specification Update Line + Contractor + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Seller_ Supplier Party. Supplier Party + An association to the Seller of the item. + 0..1 + Catalogue Item Specification Update Line + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Item + An association to Item itself. + 1 + Catalogue Item Specification Update Line + Item + Item + + + + + + + + + + + ABIE + Catalogue Line. Details + The basic element of Catalogue; something that can be bought. + Catalogue Line + + + + + + + + + BBIE + Catalogue Line. Identifier + A unique instance identifier for the line in this Catalogue document. + 1 + Catalogue Line + Identifier + Identifier + Identifier. Type + "1" + + + + + + + + + BBIE + Catalogue Line. Action Code. Code + Code indicating the action required for this item to synchronize with external repositories. + 0..1 + Catalogue Line + Action Code + Code + Code. Type + "Replace", "Update", "Delete","Add" + + + + + + + + + BBIE + Catalogue Line. Life Cycle Status Code. Code + Code indicating availability of this line. + 0..1 + Catalogue Line + Life Cycle Status Code + Code + Code. Type + "new - announcement only", "new and available", "deleted - announcement only" + + + + + + + + + BBIE + Catalogue Line. Contract Subdivision. Text + Identifies a subdivision of a contract or tender. + 0..1 + Catalogue Line + Contract Subdivision + Text + Text. Type + "Installation", "Phase One", Support and Maintenance" + + + + + + + + + BBIE + Catalogue Line. Note. Text + Free-text note used for non-structured information about the line in the specific Catalogue document (intended to be human readable). + 0..n + Catalogue Line + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Line. Orderable_ Indicator. Indicator + Indicates whether the line is orderable (that is, not just for information only). + 0..1 + Catalogue Line + Orderable + Indicator + Indicator + Indicator. Type + TRUE means orderable, FALSE means not orderable + + + + + + + + + BBIE + Catalogue Line. Orderable_ Unit. Text + The unit that can be ordered. + 0..1 + Catalogue Line + Orderable + Unit + Text + Text. Type + + + + + + + + + BBIE + Catalogue Line. Content Unit. Quantity + The quantity of the order unit of measure of the line. + 0..1 + Catalogue Line + Content Unit + Quantity + Quantity. Type + If order unit measure identifier is "each", then content unit quantity is "1". + + + + + + + + + BBIE + Catalogue Line. Order Quantity Increment. Numeric + The number of items that can set the order quantity increments. + 0..1 + Catalogue Line + Order Quantity Increment + Numeric + Numeric. Type + + + + + + + + + BBIE + Catalogue Line. Minimum_ Order Quantity. Quantity + The minimum amount of items that can be ordered. + 0..1 + Catalogue Line + Minimum + Order Quantity + Quantity + Quantity. Type + "10 boxes" + + + + + + + + + BBIE + Catalogue Line. Maximum_ Order Quantity. Quantity + The maximum amount of items that can be ordered. + 0..1 + Catalogue Line + Maximum + Order Quantity + Quantity + Quantity. Type + "1 tonne" + + + + + + + + + BBIE + Catalogue Line. Warranty_ Information. Text + Information regarding the warranty for the good or service. Warranty may be provided by any Party (can be described in the assiciation to Warranty Party). + 0..n + Catalogue Line + Warranty + Information + Text + Text. Type + "Unless specified otherwise and in addition to any rights the Customer may have under statute, Dell warrants to the Customer that Dell branded Products (excluding third party products and software), will be free from defects in materials and workmanship affecting normal use for a period of one year from invoice date ('Standard Warranty')." + + + + + + + + + BBIE + Catalogue Line. Pack Level Code. Code + The level of packaging involved. + 0..1 + Catalogue Line + Pack Level Code + Code + Code. Type + Consumer Unit, Trading Unit + "level 2", "Group 4" + + + + + + + + + ASBIE + Catalogue Line. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Line + Contractor + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Line. Seller_ Supplier Party. Supplier Party + An association to Seller of the item. + 0..1 + Catalogue Line + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Line. Warranty_ Party. Party + The party responsible for the Warranty. + 0..1 + Catalogue Line + Warranty + Party + Party + + + + + + + + + ASBIE + Catalogue Line. Warranty Validity_ Period. Period + The period for which the Warranty is valid. + 0..1 + Catalogue Line + Warranty Validity + Period + Period + + + + + + + + + ASBIE + Catalogue Line. Line Validity_ Period. Period + The period for which the Catalogue Line is valid. + 0..1 + Catalogue Line + Line Validity + Period + Period + + + + + + + + + ASBIE + Catalogue Line. Item Comparison + An association to comparative details for this Item. + 0..n + Catalogue Line + Item Comparison + Item Comparison + + + + + + + + + ASBIE + Catalogue Line. Component_ Related Item. Related Item + An association that describes any catalogue items that may be components of this Item. + 0..n + Catalogue Line + Component + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Accessory_ Related Item. Related Item + An association that describes any catalogue items that may be optional accessories to this Item. + 0..n + Catalogue Line + Accessory + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Required_ Related Item. Related Item + An association that describes any catalogue items that may be required for this Item. + 0..n + Catalogue Line + Required + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Replacement_ Related Item. Related Item + An association that describes any catalogue items that may be replacements for this Item. + 0..n + Catalogue Line + Replacement + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Complementary_ Related Item. Related Item + An association that describes any catalogue items that may complement this Item. + 0..n + Catalogue Line + Complementary + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Required_ Item Location Quantity. Item Location Quantity + An association to the description of properties related to locations and quantities of the Item. + 0..n + Catalogue Line + Required + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Catalogue Line. Document Reference + An association to Document Reference. + 0..n + Catalogue Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue Line. Item + An association to the Item itself. + 1 + Catalogue Line + Item + Item + + + + + + + + + + + ABIE + Catalogue Pricing Update Line. Details + Details of Catalogue Line Pricing. + Catalogue Pricing Update Line + + + + + + + + + BBIE + Catalogue Pricing Update Line. Identifier + A unique instance identifier for the line in this Catalogue document. + 1 + Catalogue Pricing Update Line + Identifier + Identifier + Identifier. Type + "1" + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Pricing Update Line + Contractor + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Seller_ Supplier Party. Supplier Party + An association to the Seller of the Item. + 0..1 + Catalogue Pricing Update Line + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Required_ Item Location Quantity. Item Location Quantity + An association to the description of properties related to locations and quantities of the item. + 0..n + Catalogue Pricing Update Line + Required + Item Location Quantity + Item Location Quantity + + + + + + + + + + + ABIE + Catalogue Reference. Details + A reference to a Catalogue. + Catalogue Reference + + + + + + + + + BBIE + Catalogue Reference. Identifier + An identifier for the Catalogue document. + 1 + Catalogue Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Reference. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Catalogue Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Reference. Issue Date. Date + The date when the Catalogue was issued. + 0..1 + Catalogue Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Reference. Issue Time. Time + The time when the Catalogue was issued. + 0..1 + Catalogue Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Reference. Revision Date. Date + The date on which the information in the Catalogue was revised. + 0..1 + Catalogue Reference + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Reference. Revision Time. Time + The time at which the information in the Catalogue was revised. + 0..1 + Catalogue Reference + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Reference. Note. Text + A free-text note about the Catalogue. This is used for information which is only human readable. + 0..n + Catalogue Reference + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Reference. Description. Text + A description of the Catalogue. + 0..n + Catalogue Reference + Description + Text + Text. Type + "computer accessories for laptops" + + + + + + + + + BBIE + Catalogue Reference. Version. Identifier + Indicates the current version of the Catalogue. + 0..1 + Catalogue Reference + Version + Identifier + Identifier. Type + "1.1" + + + + + + + + + BBIE + Catalogue Reference. Previous_ Version. Identifier + Indicates the previous version (the version superseded by this Catalogue). + 0..1 + Catalogue Reference + Previous + Version + Identifier + Identifier. Type + "1.0" + + + + + + + + + + + ABIE + Catalogue Request Line. Details + The basic element of Catalogue; something that can be bought. + Catalogue Request Line + + + + + + + + + BBIE + Catalogue Request Line. Identifier + A unique instance identifier for the line in this Catalogue document. + 1 + Catalogue Request Line + Identifier + Identifier + Identifier. Type + "1" + + + + + + + + + BBIE + Catalogue Request Line. Contract Subdivision. Text + Identifies a subdivision of a contract or tender. + 0..1 + Catalogue Request Line + Contract Subdivision + Text + Text. Type + "Installation", "Phase One", Support and Maintenance" + + + + + + + + + BBIE + Catalogue Request Line. Note. Text + Free-text note used for non-structured information about the line in the specific Catalogue document (intended to be human readable). + 0..n + Catalogue Request Line + Note + Text + Text. Type + + + + + + + + + ASBIE + Catalogue Request Line. Line Validity_ Period. Period + The period for which the Catalogue Line is valid. + 0..1 + Catalogue Request Line + Line Validity + Period + Period + + + + + + + + + ASBIE + Catalogue Request Line. Required_ Item Location Quantity. Item Location Quantity + An association to the description of properties related to locations and quantities of the item. + 0..n + Catalogue Request Line + Required + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Catalogue Request Line. Item + An association to the Item itself. + 1 + Catalogue Request Line + Item + Item + + + + + + + + + + + ABIE + Certificate Of Origin Application. Details + A document that contains information of CO application. + Certificate Of Origin Application + + + + + + + + + BBIE + Certificate Of Origin Application. Reference. Identifier + Holds the unique number that identifies the Despatch Advice, typically according to the seller's system that generated the Despatch Advice. + 1 + Certificate Of Origin Application + Reference + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Certificate Type. Text + Type of CO. Type could be Ordinary, Re-export, Commonwealth Preferential etc. + 1 + Certificate Of Origin Application + Certificate Type + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Application Status Code. Code + Indicates the status of the application (revision, replacement, etc.). + 0..1 + Certificate Of Origin Application + Application Status Code + Code + Code. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Original_ Job Identifier. Identifier + The latest Job Number given to the Origin application. This is used by the system to keep track of the amendments or cancellation of the origin application applied earlier. + 1 + Certificate Of Origin Application + Original + Job Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Previous_ Job Identifier. Identifier + The previous Job Number assigned in case the application undergoes query or change. This is used by the system to keep track of the amendments or cancellation of the origin application applied earlier. + 0..1 + Certificate Of Origin Application + Previous + Job Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Remarks. Text + Remarks by the applicant for the Certificate of Origin Application. + 0..1 + Certificate Of Origin Application + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Certificate Of Origin Application. Shipment + Information about the separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport. + 1 + Certificate Of Origin Application + Shipment + Shipment + + + + + + + + + ASBIE + Certificate Of Origin Application. Endorser Party + The party providing the endorsement. + 1..n + Certificate Of Origin Application + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Preparation_ Party. Party + Details of an individual, a group, or a body that prepares the Certificate of Origin application. + 1 + Certificate Of Origin Application + Preparation + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Issuer_ Party. Party + Details of the authorized organization that issued the Certificate of Origin. + 1 + Certificate Of Origin Application + Issuer + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Issuing_ Country. Country + The country for which the Certificate of Origin is issued. + 1 + Certificate Of Origin Application + Issuing + Country + Country + + + + + + + + + ASBIE + Certificate Of Origin Application. Document Distribution + The distribution of the Certificate of Origin to interested parties. + 0..n + Certificate Of Origin Application + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Certificate Of Origin Application. Supporting_ Document Reference. Document Reference + An associative reference to a supporting document. + 0..n + Certificate Of Origin Application + Supporting + Document Reference + Document Reference + + + + + + + + + ASBIE + Certificate Of Origin Application. Signature + One or more signatures applied to the document instance. + 0..n + Certificate Of Origin Application + Signature + Signature + + + + + + + + + + + ABIE + Classification Category. Details + Information about a Classification Category; a subdivision of a Classification Scheme. + Classification Category + + + + + + + + + BBIE + Classification Category. Name + The name of the Classification Category. + 0..1 + Classification Category + Name + Name + Name. Type + Code List Name + "UNSPSC Class", "UNSPSC Segment", "UNSPSC Family" + + + + + + + + + BBIE + Classification Category. Code Value. Text + The Classification Category value. + 0..1 + Classification Category + Code Value + Text + Text. Type + Code Value + 3420001, 3273666, HSJJD-213 + + + + + + + + + BBIE + Classification Category. Description. Text + The description of the Classification Category. + 0..n + Classification Category + Description + Text + Text. Type + Code Name + "Electrical Goods", "Wooden Toys" + + + + + + + + + ASBIE + Classification Category. Categorizes_ Classification Category. Classification Category + An association to subcategories within the Category. + 0..n + Classification Category + Categorizes + Classification Category + Classification Category + + + + + + + + + + + ABIE + Classification Scheme. Details + Information about Classification Scheme; a scheme that defines a taxonomy for classifying goods or services. + Classification Scheme + + + + + + + + + BBIE + Classification Scheme. Identifier + An identifier for the classification scheme. + 1 + Classification Scheme + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Classification Scheme + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Last_ Revision Date. Date + The date at which the classification scheme was last revised. + 0..1 + Classification Scheme + Last + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Classification Scheme. Last_ Revision Time. Time + The time at which the classification scheme was last revised. + 0..1 + Classification Scheme + Last + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Classification Scheme. Note. Text + Free-form text applying to the Classification Scheme. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Classification Scheme + Note + Text + Text. Type + + + + + + + + + BBIE + Classification Scheme. Name + The name of the Classification Scheme. + 0..1 + Classification Scheme + Name + Name + Name. Type + "UNSPSC" + + + + + + + + + BBIE + Classification Scheme. Description. Text + A description of the Classification Scheme. + 0..n + Classification Scheme + Description + Text + Text. Type + "an open, global multi-sector standard for classification of products and services" + + + + + + + + + BBIE + Classification Scheme. Agency Identifier. Identifier + Identifies the agency that maintains the Classification Scheme. + 0..1 + Classification Scheme + Agency Identifier + Identifier + Identifier. Type + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + + + BBIE + Classification Scheme. Agency Name. Text + The name of the agency that maintains the Classification Scheme. + 0..1 + Classification Scheme + Agency Name + Text + Text. Type + + + + + + + + + BBIE + Classification Scheme. Version. Identifier + Identifies the version of the Classification Scheme. + 0..1 + Classification Scheme + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. URI. Identifier + The Uniform Resource Identifier (URI) that identifies where the Classification is located. + 0..1 + Classification Scheme + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Scheme_ URI. Identifier + The Uniform Resource Identifier (URI) that identifies where the Classification Scheme is located. + 0..1 + Classification Scheme + Scheme + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Language. Identifier + Identifies the language of the Classification Scheme. + 0..1 + Classification Scheme + Language + Identifier + Identifier. Type + + + + + + + + + ASBIE + Classification Scheme. Classification Category + An association to Classification Category. + 1..n + Classification Scheme + Classification Category + Classification Category + + + + + + + + + + + ABIE + Commodity Classification. Details + Information about Commodity Classification. + Commodity Classification + + + + + + + + + BBIE + Commodity Classification. Nature Code. Code + The high-level nature of the Classification issued by a specific maintenance agency, expressed as a code. + 0..1 + Commodity Classification + Nature Code + Code + Code. Type + "wooden products" + + + + + + + + + BBIE + Commodity Classification. Cargo Type Code. Code + The type of cargo, expressed as a code. + 0..1 + Commodity Classification + Cargo Type Code + Code + Code. Type + "Refrigerated" + + + + + + + + + BBIE + Commodity Classification. Commodity Code. Code + The harmonized international commodity code for regulatory (customs and trade statistics) purposes. + 0..1 + Commodity Classification + Commodity Code + Code + Code. Type + Harmonized Code + "1102222883" + + + + + + + + + BBIE + Commodity Classification. Item Classification Code. Code + The trade commodity classification, expressed as a code. + 0..1 + Commodity Classification + Item Classification Code + Code + Code. Type + UN/SPSC Code + "3440234" + + + + + + + + + + + ABIE + Communication. Details + Information about a means of communication. + Communication + + + + + + + + + BBIE + Communication. Channel Code. Code + The method of communication, expressed as a code. + 0..1 + Communication + Channel Code + Code + Channel_ Code. Type + Phone Fax Email + + + + + + + + + BBIE + Communication. Channel. Text + The method of communication, expressed as text. + 0..1 + Communication + Channel + Text + Text. Type + Skype + + + + + + + + + BBIE + Communication. Value. Text + The communication value, such as phone number or email address. + 0..1 + Communication + Value + Text + Text. Type + "+44 1 2345 6789" "president@whitehouse.com" + + + + + + + + + + + ABIE + Consignment. Details + A separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport. + Consignment + + + + + + + + + BBIE + Consignment. Identifier + Unique number assigned to goods, both for import and export. + 1 + Consignment + Identifier + Identifier + Identifier. Type + Unique consignment reference number (UCR) + + + + + + + + + BBIE + Consignment. Summary_ Description. Text + General descriptive text that is not part of any remarks. + 0..n + Consignment + Summary + Description + Text + Text. Type + + + + + + + + + BBIE + Consignment. Total_ Invoice Amount. Amount + Total of all invoice amounts declared in a single consignment. + 0..1 + Consignment + Total + Invoice Amount + Amount + Amount. Type + + + + + + + + + BBIE + Consignment. Declared Customs_ Value. Amount + Amount declared for customs purposes of those goods in a consignment, whether or not they are subject to the same customs procedure, tariff/statistical heading, country information, and duty regime. + 0..1 + Consignment + Declared Customs + Value + Amount + Amount. Type + + + + + + + + + BBIE + Consignment. Tariff Description. Text + A description of the tariff applied to a consignment. + 0..n + Consignment + Tariff Description + Text + Text. Type + + + + + + + + + BBIE + Consignment. Tariff Code. Code + Code specifying a tariff applied to a consignment. + 0..1 + Consignment + Tariff Code + Code + Code. Type + Tariff code number (WCO ID 145) + + + + + + + + + BBIE + Consignment. Insurance Premium Amount. Amount + Amount of premium payable to the insurance company for insuring the goods. + 0..1 + Consignment + Insurance Premium Amount + Amount + Amount. Type + Insurance Cost + + + + + + + + + BBIE + Consignment. Gross_ Weight. Measure + Total weight (mass) of goods for a declaration, including packaging but excluding the carrier's equipment. + 0..1 + Consignment + Gross + Weight + Measure + Measure. Type + Total gross weight (WCO ID 131) + Total cube of all goods items referred to as one consignment. + + + + + + + + + BBIE + Consignment. Net_ Weight. Measure + Total net weight (mass) of all the goods items referred to as one consignment. + 0..1 + Consignment + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Net Net_ Weight. Measure + Weight (mass) of the goods themselves without any packing. + 0..1 + Consignment + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Chargeable_ Weight. Measure + Gross weight (mass) on which a charge is to be based. + 0..1 + Consignment + Chargeable + Weight + Measure + Measure. Type + Chargeable Weight. Basis.Measure + + + + + + + + + BBIE + Consignment. Gross_ Volume. Measure + Total volume of all goods items referred to as one consignment. + 0..1 + Consignment + Gross + Volume + Measure + Measure. Type + Cube + + + + + + + + + BBIE + Consignment. Net_ Volume. Measure + Net volume of all goods items referred to as one consignment. + 0..1 + Consignment + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Loading_ Length. Measure + Total length in a means of transport or a piece of transport equipment whereby the complete width and height over that length is needed for loading all the consignments referred to as one consolidation. + 0..1 + Consignment + Loading + Length + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Remarks. Text + Remarks concerning the complete consignment to be printed on the transport document. + 0..n + Consignment + Remarks + Text + Text. Type + + + + + + + + + BBIE + Consignment. Hazardous Risk_ Indicator. Indicator + Indication that the transport is or is not subject to an international regulation concerning the carriage of dangerous goods. + 0..1 + Consignment + Hazardous Risk + Indicator + Indicator + Indicator. Type + Dangerous Goods RID Indicator + default is negative + + + + + + + + + ASBIE + Consignment. Consignee_ Party. Party + Party to which goods are consigned. + 0..1 + Consignment + Consignee + Party + Party + + + + + + + + + ASBIE + Consignment. Exporter_ Party. Party + The party who makes the export declaration, or on whose behalf the export declaration is made, and who is the owner of the goods or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Consignment + Exporter + Party + Party + + + + + + + + + ASBIE + Consignment. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Consignment + Consignor + Party + Party + + + + + + + + + ASBIE + Consignment. Importer_ Party. Party + The party who makes an import declaration, or on whose behalf a Customs clearing agent or other authorized person makes an import declaration. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Consignment + Importer + Party + Party + + + + + + + + + ASBIE + Consignment. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Consignment + Carrier + Party + Party + + + + + + + + + ASBIE + Consignment. Freight Forwarder_ Party. Party + The party combining individual smaller consignments into a single larger shipment (so called consolidated shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Consignment + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Consignment. Notify_ Party. Party + The party to be notified. + 0..1 + Consignment + Notify + Party + Party + + + + + + + + + ASBIE + Consignment. Original Despatch_ Party. Party + The original despatch party. + 0..1 + Consignment + Original Despatch + Party + Party + + + + + + + + + ASBIE + Consignment. Final Delivery_ Party. Party + The final delivery party. + 0..1 + Consignment + Final Delivery + Party + Party + + + + + + + + + ASBIE + Consignment. Original Departure_ Country. Country + The country from which the goods are originally exported, without any commercial transaction taking place in intermediate countries. + 0..1 + Consignment + Original Departure + Country + Country + + + + + + + + + ASBIE + Consignment. Final Destination_ Country. Country + Name of the country to which the goods are to be delivered to the final consignee or buyer. + 0..1 + Consignment + Final Destination + Country + Country + + + + + + + + + ASBIE + Consignment. Transit_ Country. Country + The countries through which goods or passengers are routed between the country of original departure and the country of final destination. + 0..n + Consignment + Transit + Country + Country + + + + + + + + + ASBIE + Consignment. Transport_ Contract. Contract + An association to Transport Contact. + 0..1 + Consignment + Transport + Contract + Contract + + + + + + + + + ASBIE + Consignment. Original Despatch_ Transportation Service. Transportation Service + The service for pick-up from the consignor under the transport contract. + 0..1 + Consignment + Original Despatch + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Consignment. Final Delivery_ Transportation Service. Transportation Service + The service for delivery to the consignee under the transport contract. + 0..1 + Consignment + Final Delivery + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Consignment. Delivery Terms + All the conditions agreed upon between a seller and a buyer with regard to the delivery of goods and/or services, e.g., CIF, FOB, or EXW from the INCOTERMS Terms of Delivery. + 0..1 + Consignment + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Consignment. Payment Terms + The conditions of payment between the parties in a transaction. + 0..1 + Consignment + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Freight_ Allowance Charge. Allowance Charge + Costs incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance (to the extent that they relate to the freight costs). + 0..n + Consignment + Freight + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Contact. Details + Information about a contactable person or organization department. + Contact + + + + + + + + + BBIE + Contact. Identifier + An identifier for the Contact. + 0..1 + Contact + Identifier + Identifier + Identifier. Type + "Receivals Clerk" + + + + + + + + + BBIE + Contact. Name + The name of the Contact. + 0..1 + Contact + Name + Name + Name. Type + "Delivery Dock" + + + + + + + + + BBIE + Contact. Telephone. Text + The telephone number of the Contact. + 0..1 + Contact + Telephone + Text + Text. Type + + + + + + + + + BBIE + Contact. Telefax. Text + The fax number of the Contact. + 0..1 + Contact + Telefax + Text + Text. Type + + + + + + + + + BBIE + Contact. Electronic_ Mail. Text + The email address of the Contact. + 0..1 + Contact + Electronic + Mail + Text + Text. Type + + + + + + + + + BBIE + Contact. Note. Text + A note such as 'Emergency' or 'After Hours' describing the circumstances in which the Contact can be used. + 0..1 + Contact + Note + Text + Text. Type + + + + + + + + + ASBIE + Contact. Other_ Communication. Communication + An association to Other Communication. + 0..n + Contact + Other + Communication + Communication + + + + + + + + + + + ABIE + Contract. Details + Information about a Contract. + Contract + + + + + + + + + BBIE + Contract. Identifier + Identifies the Contract. + 0..1 + Contract + Identifier + Identifier + Identifier. Type + "CC23" + + + + + + + + + BBIE + Contract. Issue Date. Date + The date on which the Contract was issued. + 0..1 + Contract + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Contract. Issue Time. Time + The time at which the Contract was issued. + 0..1 + Contract + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Contract. Contract Type Code. Code + The type of Contract, expressed as a code. + 0..1 + Contract + Contract Type Code + Code + Code. Type + + + + + + + + + BBIE + Contract. Contract Type. Text + The type of Contract, expressed as text. + 0..1 + Contract + Contract Type + Text + Text. Type + + + + + + + + + ASBIE + Contract. Validity_ Period. Period + An association to Validity Period. + 0..1 + Contract + Validity + Period + Period + + + + + + + + + ASBIE + Contract. Contract_ Document Reference. Document Reference + An associative reference to Contract Document. + 0..n + Contract + Contract + Document Reference + Document Reference + + + + + + + + + + + ABIE + Corporate Registration Scheme. Details + Information directly relating a scheme for corporate registration of businesses. + Corporate Registration Scheme + + + + + + + + + BBIE + Corporate Registration Scheme. Identifier + Identifies the scheme. + 0..1 + Corporate Registration Scheme + Identifier + Identifier + Identifier. Type + "ASIC" in Australia + + + + + + + + + BBIE + Corporate Registration Scheme. Name + Identifies the scheme by name. + 0..1 + Corporate Registration Scheme + Name + Name + Name. Type + "Australian Securities and Investment Commission" in Australia + + + + + + + + + BBIE + Corporate Registration Scheme. Corporate Registration Type Code. Code + Identifies the type of scheme. + 0..1 + Corporate Registration Scheme + Corporate Registration Type Code + Code + Code. Type + "ACN" + + + + + + + + + ASBIE + Corporate Registration Scheme. Jurisdiction Region_ Address. Address + Associates the registration scheme with particulars that identify and locate the geographic area to which the scheme applies. + 0..n + Corporate Registration Scheme + Jurisdiction Region + Address + Address + + + + + + + + + + + ABIE + Country. Details + Information about a geopolitical country. + Country + + + + + + + + + BBIE + Country. Identification Code. Code + An identifier for the Country. + 0..1 + Country + Identification Code + Code + Country Identification_ Code. Type + + + + + + + + + BBIE + Country. Name + The name of the Country. + 0..1 + Country + Name + Name + Name. Type + “SOUTH AFRICA” + + + + + + + + + + + ABIE + Credit Account. Details + Information about a Credit Account (for sales on account). + Credit Account + + + + + + + + + BBIE + Credit Account. Account Identifier. Identifier + Identifies the Credit Account. + 1 + Credit Account + Account Identifier + Identifier + Identifier. Type + "Customer Code 29" + + + + + + + + + + + ABIE + Credit Note Line. Details + Information about a Credit Note Line. + Credit Note Line + + + + + + + + + BBIE + Credit Note Line. Identifier + Identifies the Credit Note Line. + 1 + Credit Note Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Credit Note Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note Line. Note. Text + Free-form text applying to the Credit Note Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Credit Note Line + Note + Text + Text. Type + + + + + + + + + BBIE + Credit Note Line. Credited_ Quantity. Quantity + The quantity of Items credited. + 0..1 + Credit Note Line + Credited + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Credit Note Line. Line Extension Amount. Amount + The total amount for the Credit Note Line, including Allowance Charges but net of taxes. + 0..1 + Credit Note Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Credit Note Line. Tax Point Date. Date + The date of the Credit Note Line, used to indicate the point at which tax becomes applicable. + 0..1 + Credit Note Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note Line. Accounting Cost Code. Code + The buyer's accounting code applied to the Credit Note Line. + 0..1 + Credit Note Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note Line. Accounting Cost. Text + The buyer's accounting code applied to the Credit Note Line, expressed as text. + 0..1 + Credit Note Line + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Credit Note Line. Discrepancy_ Response. Response + An association to Discrepancy Response; the reason for the Credit. + 0..n + Credit Note Line + Discrepancy + Response + Response + + + + + + + + + ASBIE + Credit Note Line. Despatch_ Line Reference. Line Reference + An associative reference to Despatch Line. + 0..n + Credit Note Line + Despatch + Line Reference + Line Reference + + + + + + + + + ASBIE + Credit Note Line. Receipt_ Line Reference. Line Reference + An associative reference to Receipt Line. + 0..n + Credit Note Line + Receipt + Line Reference + Line Reference + + + + + + + + + ASBIE + Credit Note Line. Billing Reference + An association to Billing Reference. + 0..n + Credit Note Line + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Credit Note Line. Document Reference + An association to Document Reference. + 0..n + Credit Note Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note Line. Pricing Reference + An association to Pricing Reference. + 0..1 + Credit Note Line + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Credit Note Line. Delivery + An association to Delivery. + 0..n + Credit Note Line + Delivery + Delivery + + + + + + + + + ASBIE + Credit Note Line. Tax Total + An association to Tax Total. + 0..n + Credit Note Line + Tax Total + Tax Total + + + + + + + + + ASBIE + Credit Note Line. Item + An association to Item + 0..1 + Credit Note Line + Item + Item + + + + + + + + + ASBIE + Credit Note Line. Price + An association to Price. + 0..1 + Credit Note Line + Price + Price + + + + + + + + + + + ABIE + Customer Party. Details + Information about the Customer Party. + Customer Party + + + + + + + + + BBIE + Customer Party. Customer Assigned_ Account Identifier. Identifier + An identifier for the Customer's account, assigned by the Customer itself. + 0..1 + Customer Party + Customer Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Customer Party. Supplier Assigned_ Account Identifier. Identifier + An identifier for the Customer's account, assigned by the Supplier. + 0..1 + Customer Party + Supplier Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Customer Party. Additional_ Account Identifier. Identifier + An identifier for the Customer's account, assigned by a third party. + 0..n + Customer Party + Additional + Account Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Customer Party. Party + An association to Party. + 0..1 + Customer Party + Party + Party + + + + + + + + + ASBIE + Customer Party. Delivery_ Contact. Contact + An association to Delivery Contact. + 0..1 + Customer Party + Delivery + Contact + Contact + + + + + + + + + ASBIE + Customer Party. Accounting_ Contact. Contact + An association to Accounting Contact (Customer). + 0..1 + Customer Party + Accounting + Contact + Contact + + + + + + + + + ASBIE + Customer Party. Buyer_ Contact. Contact + An association to Buyer Contact. + 0..1 + Customer Party + Buyer + Contact + Contact + + + + + + + + + + + ABIE + Debit Note Line. Details + Information about a Debit Note Line. + Debit Note Line + + + + + + + + + BBIE + Debit Note Line. Identifier + Identifies the Debit Note Line. + 1 + Debit Note Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Debit Note Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note Line. Note. Text + Free-form text applying to the Debit Note Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Debit Note Line + Note + Text + Text. Type + + + + + + + + + BBIE + Debit Note Line. Debited_ Quantity. Quantity + The quantity of Items debited. + 0..1 + Debit Note Line + Debited + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Debit Note Line. Line Extension Amount. Amount + The total amount for the Debit Note Line, including Allowance Charges but net of taxes. + 1 + Debit Note Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Debit Note Line. Tax Point Date. Date + The date of the Debit Note Line, used to indicate the point at which tax becomes applicable. + 0..1 + Debit Note Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note Line. Accounting Cost Code. Code + The buyer's accounting code applied to the Debit Note Line. + 0..1 + Debit Note Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Debit Note Line. Accounting Cost. Text + The buyer's accounting code applied to the Debit Note Line, expressed as text. + 0..1 + Debit Note Line + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Debit Note Line. Discrepancy_ Response. Response + An association to Discrepancy Response; the reason for the Debit. + 0..n + Debit Note Line + Discrepancy + Response + Response + + + + + + + + + ASBIE + Debit Note Line. Despatch_ Line Reference. Line Reference + An associative reference to Despatch Line. + 0..n + Debit Note Line + Despatch + Line Reference + Line Reference + + + + + + + + + ASBIE + Debit Note Line. Receipt_ Line Reference. Line Reference + An associative reference to Receipt Line. + 0..n + Debit Note Line + Receipt + Line Reference + Line Reference + + + + + + + + + ASBIE + Debit Note Line. Billing Reference + An association to Billing Reference. + 0..n + Debit Note Line + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Debit Note Line. Document Reference + An association to Document Reference. + 0..n + Debit Note Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note Line. Pricing Reference + An association to Pricing Reference. + 0..1 + Debit Note Line + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Debit Note Line. Delivery + An association to Delivery. + 0..n + Debit Note Line + Delivery + Delivery + + + + + + + + + ASBIE + Debit Note Line. Tax Total + An association to Tax Total. + 0..n + Debit Note Line + Tax Total + Tax Total + + + + + + + + + ASBIE + Debit Note Line. Item + An association to Item + 0..1 + Debit Note Line + Item + Item + + + + + + + + + ASBIE + Debit Note Line. Price + An association to Price. + 0..1 + Debit Note Line + Price + Price + + + + + + + + + + + ABIE + Delivery. Details + Information about Delivery. + Delivery + + + + + + + + + BBIE + Delivery. Identifier + Identifies the Delivery. + 0..1 + Delivery + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Delivery. Quantity + The quantity in a Delivery. + 0..1 + Delivery + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Minimum_ Quantity. Quantity + The minimum quantity in a Delivery. + 0..1 + Delivery + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Maximum_ Quantity. Quantity + The maximum quantity in a Delivery. + 0..1 + Delivery + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Actual_ Delivery Date. Date + The actual Delivery date. + 0..1 + Delivery + Actual + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Delivery. Actual_ Delivery Time. Time + The actual Delivery time. + 0..1 + Delivery + Actual + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Delivery. Latest_ Delivery Date. Date + The latest delivery date allowed by the buyer. + 0..1 + Delivery + Latest + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Delivery. Latest_ Delivery Time. Time + The latest delivery time allowed by the buyer. + 0..1 + Delivery + Latest + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Delivery. Tracking Identifier. Identifier + The delivery Tracking ID (for transport tracking). + 0..1 + Delivery + Tracking Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Delivery. Delivery_ Address. Address + An association to Delivery Address. + 0..1 + Delivery + Delivery + Address + Address + + + + + + + + + ASBIE + Delivery. Delivery_ Location. Location + An association to Location. + 0..1 + Delivery + Delivery + Location + Location + + + + + + + + + ASBIE + Delivery. Requested Delivery_ Period. Period + The requested Period for Delivery. + 0..1 + Delivery + Requested Delivery + Period + Period + + + + + + + + + ASBIE + Delivery. Promised Delivery_ Period. Period + The promised Period for Delivery. + 0..1 + Delivery + Promised Delivery + Period + Period + + + + + + + + + ASBIE + Delivery. Estimated Delivery_ Period. Period + The estimated Period for Delivery. + 0..1 + Delivery + Estimated Delivery + Period + Period + + + + + + + + + ASBIE + Delivery. Delivery_ Party. Party + The party to whom the goods/services are delivered. + 0..1 + Delivery + Delivery + Party + Party + + + + + + + + + ASBIE + Delivery. Despatch + An association to the Despatch. + 0..1 + Delivery + Despatch + Despatch + + + + + + + + + + + ABIE + Delivery Terms. Details + Information about Delivery Terms. + Delivery Terms + + + + + + + + + BBIE + Delivery Terms. Identifier + Identifies the Delivery Terms. + 0..1 + Delivery Terms + Identifier + Identifier + Identifier. Type + CIF, FOB, or EXW from the INCOTERMS Terms of Delivery. (2000 version preferred.) + + + + + + + + + BBIE + Delivery Terms. Special_ Terms. Text + A description of special conditions relating to the Delivery Terms. + 0..1 + Delivery Terms + Special + Terms + Text + Text. Type + + + + + + + + + BBIE + Delivery Terms. Loss Risk Responsibility Code. Code + An identifier for the responsibility for loss risk in the context of the Delivery Terms, expressed as a code. + 0..1 + Delivery Terms + Loss Risk Responsibility Code + Code + Code. Type + + + + + + + + + BBIE + Delivery Terms. Loss Risk. Text + A description of the loss risk in the context of the Delivery Terms. + 0..1 + Delivery Terms + Loss Risk + Text + Text. Type + + + + + + + + + ASBIE + Delivery Terms. Delivery_ Location. Location + An association to Location, e.g., a port. + 0..1 + Delivery Terms + Delivery + Location + Location + + + + + + + + + ASBIE + Delivery Terms. Allowance Charge + An association to Allowance Charge. + 0..1 + Delivery Terms + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Delivery Unit. Details + Information about a Delivery Unit. + Delivery Unit + + + + + + + + + BBIE + Delivery Unit. Batch Quantity. Quantity + The quantity of ordered Items that constitutes a batch for delivery purposes. + 1 + Delivery Unit + Batch Quantity + Quantity + Quantity. Type + "100 units", "by the dozen" + + + + + + + + + BBIE + Delivery Unit. Consumer_ Unit. Quantity + The quantity of consumer units in the Delivery Unit. + 0..1 + Delivery Unit + Consumer + Unit + Quantity + Quantity. Type + "packs of 10" + + + + + + + + + BBIE + Delivery Unit. Hazardous Risk_ Indicator. Indicator + Indicates whether the Item as delivered is hazardous. + 0..1 + Delivery Unit + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + + + ABIE + Despatch. Details + Information about Despatch. + Despatch + + + + + + + + + BBIE + Despatch. Identifier + The identifier for the Delivery. + 0..1 + Despatch + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch. Requested_ Despatch Date. Date + The despatch (pick-up) date requested by the buyer. + 0..1 + Despatch + Requested + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Requested_ Despatch Time. Time + The despatch (pick-up) time requested by the buyer. + 0..1 + Despatch + Requested + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Estimated_ Despatch Date. Date + The despatch (pick-up) date estimated by the seller or Despatch. + 0..1 + Despatch + Estimated + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Estimated_ Despatch Time. Time + The despatch (pick-up) time estimated by the seller or Despatch. + 0..1 + Despatch + Estimated + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Actual_ Despatch Date. Date + The actual despatch (pick-up) date. + 0..1 + Despatch + Actual + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Actual_ Despatch Time. Time + The actual despatch (pick-up) time. + 0..1 + Despatch + Actual + Despatch Time + Time + Time. Type + + + + + + + + + ASBIE + Despatch. Despatch_ Address. Address + An association to Despatch Address. + 0..1 + Despatch + Despatch + Address + Address + + + + + + + + + ASBIE + Despatch. Despatch_ Party. Party + The party who despatched the delivery. + 0..1 + Despatch + Despatch + Party + Party + + + + + + + + + ASBIE + Despatch. Contact + An association to Contact. + 0..1 + Despatch + Contact + Contact + + + + + + + + + + + ABIE + Despatch Line. Details + Information about a Despatch Line. + Despatch Line + + + + + + + + + BBIE + Despatch Line. Identifier + Identifies the Despatch Line. + 1 + Despatch Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Despatch Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Line. Note. Text + Free-form text applying to the Despatch Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Despatch Line + Note + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Line Status Code. Code + Identifies the status of the Despatch Line with respect to its original state. + 0..1 + Despatch Line + Line Status Code + Code + Line Status_ Code. Type + + + + + + + + + BBIE + Despatch Line. Delivered_ Quantity. Quantity + The quantity despatched. + 0..1 + Despatch Line + Delivered + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Backorder_ Quantity. Quantity + The quantity on Back Order at the Supplier. + 0..1 + Despatch Line + Backorder + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Backorder_ Reason. Text + The reason for the Back Order. + 0..1 + Despatch Line + Backorder + Reason + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Outstanding_ Quantity. Quantity + The quantity outstanding (which will follow in a later despatch). + 0..1 + Despatch Line + Outstanding + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Outstanding_ Reason. Text + The reason for the Outstanding Quantity. + 0..1 + Despatch Line + Outstanding + Reason + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Oversupply_ Quantity. Quantity + The quantity over-supplied. + 0..1 + Despatch Line + Oversupply + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Despatch Line. Order Line Reference + An association to Order Line Reference. + 1..n + Despatch Line + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Despatch Line. Document Reference + An association to Document Reference. + 0..n + Despatch Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Despatch Line. Item + An association to Item. + 1 + Despatch Line + Item + Item + + + + + + + + + ASBIE + Despatch Line. Shipment + An association to Shipment. + 0..n + Despatch Line + Shipment + Shipment + + + + + + + + + + + ABIE + Dimension. Details + Information about a measurable dimension of an item. + Dimension + + + + + + + + + BBIE + Dimension. Attribute Identifier. Identifier + An identifier for the attribute to which the measure applies. + 1 + Dimension + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Dimension. Measure + The measurement value. + 0..1 + Dimension + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Dimension. Description. Text + A description of the attribute or measurement of the attribute. + 0..n + Dimension + Description + Text + Text. Type + + + + + + + + + BBIE + Dimension. Minimum_ Measure. Measure + The minimum value in a range of measurement. + 0..1 + Dimension + Minimum + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Dimension. Maximum_ Measure. Measure + The maximum value in a range of measurement. + 0..1 + Dimension + Maximum + Measure + Measure + Measure. Type + + + + + + + + + + + ABIE + Document Distribution. Details + The details of the distribution of the document among business partners. + Document Distribution + + + + + + + + + BBIE + Document Distribution. Print_ Qualifier. Text + The access right for a Party to distribute the document. + 1 + Document Distribution + Print + Qualifier + Text + Text. Type + + + + + + + + + BBIE + Document Distribution. Maximum_ Copies. Numeric + Specifies the maximum number of copies of the document that the user can print. + 1 + Document Distribution + Maximum + Copies + Numeric + Numeric. Type + + + + + + + + + ASBIE + Document Distribution. Party + Details of the Party who can access the document. + 1 + Document Distribution + Party + Party + + + + + + + + + + + ABIE + Document Reference. Details + Information about a document referred to in another document. + Document Reference + + + + + + + + + BBIE + Document Reference. Identifier + Identifies the document being referred to. + 1 + Document Reference + Identifier + Identifier + Identifier. Type + "PO-001" "3333-44-123" + + + + + + + + + BBIE + Document Reference. Copy_ Indicator. Indicator + Indicates whether the referenced document is a copy (true) or the original (false). + 0..1 + Document Reference + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Document Reference. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Document Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Reference. Issue Date. Date + The date, assigned by the sender of the referenced document, on which the referenced document was issued. + 0..1 + Document Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Document Reference. Document Type Code. Code + The document type, expressed as a code. + 0..1 + Document Reference + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Document Reference. Document Type. Text + The document type, expressed as text. + 0..1 + Document Reference + Document Type + Text + Text. Type + + + + + + + + + BBIE + Document Reference. XPath. Text + Refers to another part of the same document instance. + 0..n + Document Reference + XPath + Text + Text. Type + + + + + + + + + ASBIE + Document Reference. Attachment + An attached document, externally referred to, referred to in the MIME location, or embedded. + 0..1 + Document Reference + Attachment + Attachment + + + + + + + + + + + ABIE + Document Response. Details + Information about responses to a document (at the application level). + Document Response + + + + + + + + + ASBIE + Document Response. Response + The response to the document. + 1 + Document Response + Response + Response + + + + + + + + + ASBIE + Document Response. Document Reference + An association to Document Reference. + 1 + Document Response + Document Reference + Document Reference + + + + + + + + + ASBIE + Document Response. Issuer_ Party. Party + The party who issued a document. + 0..1 + Document Response + Issuer + Party + Party + + + + + + + + + ASBIE + Document Response. Recipient_ Party. Party + The party for whom the document is intended. + 0..1 + Document Response + Recipient + Party + Party + + + + + + + + + ASBIE + Document Response. Line Response + Response to various lines in the document. + 0..n + Document Response + Line Response + Line Response + + + + + + + + + + + ABIE + Endorsement. Details + Details of an endorsement on the document. + Endorsement + + + + + + + + + BBIE + Endorsement. Document. Identifier + Identifies the endorsement. + 1 + Endorsement + Document + Identifier + Identifier. Type + + + + + + + + + BBIE + Endorsement. Approval Status. Text + Specifies the status of the endorsement. + 1 + Endorsement + Approval Status + Text + Text. Type + Authentication Code + + + + + + + + + BBIE + Endorsement. Remarks. Text + Remarks by the endorsing party. + 0..n + Endorsement + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Endorsement. Endorser Party + The type of party providing the endorsement. + 1 + Endorsement + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Endorsement. Signature + One or more signatures applied to the endorsement. + 0..n + Endorsement + Signature + Signature + + + + + + + + + + + ABIE + Endorser Party. Details + The party endorsing a document. + Endorser Party + + + + + + + + + BBIE + Endorser Party. Role Code. Code + The role of the party providing the endorsement, e.g., Issuer, Embassy, Insurance, etc. + 1 + Endorser Party + Role Code + Code + Code. Type + + + + + + + + + BBIE + Endorser Party. Sequence. Numeric + The sequence in which the endorsements are to be applied. + 1 + Endorser Party + Sequence + Numeric + Numeric. Type + + + + + + + + + ASBIE + Endorser Party. Party + Details of the party endorsing the application. + 1 + Endorser Party + Party + Party + + + + + + + + + ASBIE + Endorser Party. Signatory_ Contact. Contact + Details of the individual representing the exporter who signs the Certificate of Origin application before submitting it to the Issuer Party. + 1 + Endorser Party + Signatory + Contact + Contact + + + + + + + + + + + ABIE + Exchange Rate. Details + Information about Exchange Rate. + Exchange Rate + + + + + + + + + BBIE + Exchange Rate. Source_ Currency Code. Code + The reference currency for the Exchange Rate; the currency from which the exchange is being made (CC Definition). + 1 + Exchange Rate + Source + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Source_ Currency Base Rate. Rate + The unit base of the source currency for currencies with small denominations. + 0..1 + Exchange Rate + Source + Currency Base Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Target_ Currency Code. Code + The target currency for the Exchange Rate; the currency to which the exchange is being made (CC Definition). + 1 + Exchange Rate + Target + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Target_ Currency Base Rate. Rate + The unit base of the target currency for currencies with small denominations. + 0..1 + Exchange Rate + Target + Currency Base Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Exchange Market Identifier. Identifier + Identifies the currency exchange market used as the source of the Exchange Rate. + 0..1 + Exchange Rate + Exchange Market Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Exchange Rate. Calculation Rate. Rate + The factor applied to the source currency to calculate the target currency. + 0..1 + Exchange Rate + Calculation Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Mathematic Operator Code. Code + An identifier for whether the Calculation Rate should be used to multiply or to divide, expressed as a code. + 0..1 + Exchange Rate + Mathematic Operator Code + Code + Operator_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Date + The date of the Exchange. + 0..1 + Exchange Rate + Date + Date + Date. Type + + + + + + + + + ASBIE + Exchange Rate. Foreign Exchange_ Contract. Contract + An association to Foreign Exchange Contract. + 0..1 + Exchange Rate + Foreign Exchange + Contract + Contract + + + + + + + + + + + ABIE + External Reference. Details + Information directly relating to an external reference i.e. a document stored at a remote location. + External Reference + + + + + + + + + BBIE + External Reference. URI. Identifier + The Uniform Resource Identifier (URI) that identifies where the external document is located. + 0..1 + External Reference + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + External Reference. Document Hash. Text + Specifies the hash code for the externally stored document. + 0..1 + External Reference + Document Hash + Text + Text. Type + + + + + + + + + BBIE + External Reference. Expiry Date. Date + The date on which the document can no longer be found on the URI. + 0..1 + External Reference + Expiry Date + Date + Date. Type + + + + + + + + + BBIE + External Reference. Expiry Time. Time + The time on which the document can no longer be found on the URI. + 0..1 + External Reference + Expiry Time + Time + Time. Type + + + + + + + + + + + ABIE + Financial Account. Details + Information about a Financial Account. + Financial Account + + + + + + + + + BBIE + Financial Account. Identifier + The identifier for the Financial Account; the Bank Account Number. + 0..1 + Financial Account + Identifier + Identifier + Identifier. Type + SWIFT(BIC) and IBAN are defined in ISO 9362 and ISO 13616. + + + + + + + + + BBIE + Financial Account. Name + The name of the Financial Account. + 0..1 + Financial Account + Name + Name + Name. Type + + + + + + + + + BBIE + Financial Account. Account Type Code. Code + The type of Financial Account, expressed as a code. + 0..1 + Financial Account + Account Type Code + Code + Code. Type + + + + + + + + + BBIE + Financial Account. Currency Code. Code + The currency in which the Financial Account is held, expressed as a code. + 0..1 + Financial Account + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Financial Account. Payment_ Note. Text + Free-form text applying to the Payment to the owner of this account. + 0..n + Financial Account + Payment + Note + Text + Text. Type + + + + + + + + + ASBIE + Financial Account. Financial Institution_ Branch. Branch + An association to Financial Institution Branch. + 0..1 + Financial Account + Financial Institution + Branch + Branch + + + + + + + + + ASBIE + Financial Account. Country + An association to Country. + 0..1 + Financial Account + Country + Country + + + + + + + + + + + ABIE + Financial Institution. Details + Information about a Financial Institution. + Financial Institution + + + + + + + + + BBIE + Financial Institution. Identifier + The identifier for the Financial Institution expressed as a code; ISO 9362 BIC (Bank Identification Code) is recommended. + 0..1 + Financial Institution + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Financial Institution. Name + The name of the Financial Institution. + 0..1 + Financial Institution + Name + Name + Name. Type + + + + + + + + + ASBIE + Financial Institution. Address + An association to Address. + 0..1 + Financial Institution + Address + Address + + + + + + + + + + + ABIE + Goods Item. Details + A separately identifiable quantity of products of a single product type. + Goods Item + + + + + + + + + BBIE + Goods Item. Identifier + An identifier for the goods item. + 1 + Goods Item + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item. Sequence Number. Identifier + Sequence number differentiating a specific goods item within a consignment. + 0..1 + Goods Item + Sequence Number + Identifier + Identifier. Type + Customs item number (WCO ID 021), Sequence Position + + + + + + + + + BBIE + Goods Item. Description. Text + Plain language description of a goods item sufficient to identify it for customs, statistical, or transport purposes. + 0..n + Goods Item + Description + Text + Text. Type + Description of goods (WCO ID 137) + + + + + + + + + BBIE + Goods Item. Hazardous Risk_ Indicator. Indicator + Indicates whether the goods item includes hazardous items (dangerous goods). + 0..1 + Goods Item + Hazardous Risk + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Goods Item. Declared Customs_ Value. Amount + Amount declared for Customs purposes of those goods in a consignment which are subject to the same Customs procedure and have the same tariff/statistical heading, country information, and duty regime. + 0..1 + Goods Item + Declared Customs + Value + Amount + Amount. Type + For Customs Value (WCO ID 108) + + + + + + + + + BBIE + Goods Item. Declared For Carriage_ Value. Amount + Value declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage in case of loss or damage to goods or delayed delivery. + 0..1 + Goods Item + Declared For Carriage + Value + Amount + Amount. Type + Interest in delivery, declared value for carriage + + + + + + + + + BBIE + Goods Item. Declared Statistics_ Value. Amount + Value declared for statistical purposes of those goods in a consignment which have the same statistical heading. + 0..1 + Goods Item + Declared Statistics + Value + Amount + Amount. Type + Statistical Value (WCO ID 114) + + + + + + + + + BBIE + Goods Item. Free On Board_ Value. Amount + Monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Goods Item + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Goods Item. Insurance_ Value. Amount + The amount covered by an insurance for a particular goods item. + 0..1 + Goods Item + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Goods Item. Value. Amount + Specifies the amount on which a duty, tax, or fee will be assessed. + 0..1 + Goods Item + Value + Amount + Amount. Type + Duty/tax/fee assessment basis in value (WCO ID 116) + + + + + + + + + BBIE + Goods Item. Gross_ Weight. Measure + Weight (mass) of goods, including packaging but excluding the carrier's equipment. + 0..1 + Goods Item + Gross + Weight + Measure + Measure. Type + Actual Gross Weight + + + + + + + + + BBIE + Goods Item. Net_ Weight. Measure + Weight (mass) of goods item, excluding all packing but including any packaging that normally goes with the goods. + 0..1 + Goods Item + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Net Net_ Weight. Measure + Weight (mass) of goods without any packaging. + 0..1 + Goods Item + Net Net + Weight + Measure + Measure. Type + Customs Weight (WCO ID 128) + + + + + + + + + BBIE + Goods Item. Chargeable_ Weight. Measure + Gross weight (mass) on which a charge is to be based. + 0..1 + Goods Item + Chargeable + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Gross_ Volume. Measure + Measurement normally arrived at by multiplying the maximum length, width, and height of the goods item. + 0..1 + Goods Item + Gross + Volume + Measure + Measure. Type + Volume, Gross Measurement Cube (GMC), Cube (WCO ID 134) + + + + + + + + + BBIE + Goods Item. Net_ Volume. Measure + The volume contained by a goods item, excluding the volume of any packaging material. + 0..1 + Goods Item + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Quantity + Number of goods items. + 0..1 + Goods Item + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Preference Criterion. Code + Specifies the treatment preference for this good according to international trading agreements. + 0..1 + Goods Item + Preference Criterion + Code + Code. Type + "Preference Criterion" is used in the following manner in the paper CO of another country (e.g.): +"A" - The good is "wholly obtained or produced entirely" in the territory of one or more of the NAFTA countries as reference in Article 415. Note: The purchase of a good in the territory does not necessarily render it "wholly obtained or produced". If the good is an agricultural good, see also criterion F and Annex 703.2. (Reference: Article 401(a), 415). +"B" - ... +"C" - ... +"D" - ... +"E" - ... +"F" - The good is an originating agricultural good under preference criterion A,B, or C above and is not subjected to quantitative restriction in the importing NAFTA country because.... +Thus, the column "Preference Criterion" will indicate either A, B, C,... + + + + + + + + + BBIE + Goods Item. Required_ Customs Identifier. Identifier + Additional tariff codes required to specify a type of goods for Customs, transport, statistical, or other regulatory purposes. + 0..1 + Goods Item + Required + Customs Identifier + Identifier + Identifier. Type + Tariff code extensions (WCO ID 255) + + + + + + + + + BBIE + Goods Item. Customs Status Code. Code + Status of goods as identified by customs for regulation purposes. + 0..1 + Goods Item + Customs Status Code + Code + Code. Type + Customs status of goods (WCO ID 094) + + + + + + + + + BBIE + Goods Item. Customs Tariff Quantity. Quantity + Quantity of the goods in the unit as required by Customs for tariff, statistical, or fiscal purposes. + 0..1 + Goods Item + Customs Tariff Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Customs Import_ Classified Indicator. Indicator + Indicates whether the goods have been customs classified for import. + 0..1 + Goods Item + Customs Import + Classified Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Goods Item. Item + Association to a description of the good or service. + 0..n + Goods Item + Item + Item + + + + + + + + + ASBIE + Goods Item. Goods Item Container + Association to describe the transporting of a goods item in a unit of transport equipment (e.g., container). + 0..n + Goods Item + Goods Item Container + Goods Item Container + + + + + + + + + ASBIE + Goods Item. Freight_ Allowance Charge. Allowance Charge + Costs incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance (to the extent that they relate to the freight costs). + 0..n + Goods Item + Freight + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Goods Item. Invoice Line + Association to information directly relating to a line item of an invoice. + 0..n + Goods Item + Invoice Line + Invoice Line + + + + + + + + + ASBIE + Goods Item. Temperature + Any temperatures associated with the goods. + 0..n + Goods Item + Temperature + Temperature + + + + + + + + + ASBIE + Goods Item. Contained_ Goods Item. Goods Item + Associates with any other goods items contained in this goods item. + 0..n + Goods Item + Contained + Goods Item + Goods Item + + + + + + + + + ASBIE + Goods Item. Origin_ Address. Address + Region in which the goods have been produced or manufactured, according to criteria laid down for the purposes of application of the Customs tariff, or quantitative restrictions, or any other measure related to trade. + 0..1 + Goods Item + Origin + Address + Address + + + + + + + + + + + ABIE + Goods Item Container. Details + How goods items are split across transport equipment. + Goods Item Container + + + + + + + + + BBIE + Goods Item Container. Identifier + Identifies goods items split across transport equipment. + 1 + Goods Item Container + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Container. Quantity + Number of goods items loaded into or onto one piece of transport equipment as a total consignment or part of a consignment. + 0..1 + Goods Item Container + Quantity + Quantity + Quantity. Type + Number of packages stuffed + + + + + + + + + ASBIE + Goods Item Container. Transport Equipment + Associates the containers for a single goods item. + 0..n + Goods Item Container + Transport Equipment + Transport Equipment + + + + + + + + + + + ABIE + Hazardous Goods Transit. Details + Information about Hazardous Goods Transit. + Hazardous Goods Transit + + + + + + + + + BBIE + Hazardous Goods Transit. Transport Emergency Card Code. Code + The identifier for a transport emergency card, describing the actions to be taken in an emergency in transporting the Hazardous Goods. May be the identity number of a hazardous emergency response plan assigned by the appropriate authority. + 0..1 + Hazardous Goods Transit + Transport Emergency Card Code + Code + Code. Type + TREM card + + + + + + + + + BBIE + Hazardous Goods Transit. Packing Criteria Code. Code + A code identifying the packaging requirement for the transportation of the Hazardous Goods as assigned by IATA/IMDB/ADR/RID etc. + 0..1 + Hazardous Goods Transit + Packing Criteria Code + Code + Code. Type + Packing Group + + + + + + + + + BBIE + Hazardous Goods Transit. Hazardous Regulation Code. Code + The identifier for a set of legal regulations that govern the transportation of the Hazardous Goods, expressed as a code. + 0..1 + Hazardous Goods Transit + Hazardous Regulation Code + Code + Code. Type + + + + + + + + + BBIE + Hazardous Goods Transit. Inhalation Toxicity Zone Code. Code + An identifier for the Inhalation Toxicity Hazard Zone for the Hazardous Goods, as defined by the US Department of Transportation, expressed as a code. + 0..1 + Hazardous Goods Transit + Inhalation Toxicity Zone Code + Code + Code. Type + + + + + + + + + BBIE + Hazardous Goods Transit. Transport Authorization Code. Code + Code specifying the authorization for the transportation of hazardous cargo. + 0..1 + Hazardous Goods Transit + Transport Authorization Code + Code + Code. Type + Permission for Transport + + + + + + + + + ASBIE + Hazardous Goods Transit. Maximum_ Temperature. Temperature + An association to Maximum Temperature (at which the Hazardous Goods can be safely transported). + 0..1 + Hazardous Goods Transit + Maximum + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Goods Transit. Minimum_ Temperature. Temperature + An association to Minimum Temperature (at which the Hazardous Goods can be safely transported). + 0..1 + Hazardous Goods Transit + Minimum + Temperature + Temperature + + + + + + + + + + + ABIE + Hazardous Item. Details + Information about a Hazardous Item. + Hazardous Item + + + + + + + + + BBIE + Hazardous Item. Identifier + The identifier for a Hazardous Item. + 0..1 + Hazardous Item + Identifier + Identifier + Identifier. Type + "Round Up" + + + + + + + + + BBIE + Hazardous Item. Placard Notation. Text + The placard notation corresponding to the hazard class of the hazardous commodity. Can also be the hazard identification number of the orange placard (upper part) required on the means of transport. + 0..1 + Hazardous Item + Placard Notation + Text + Text. Type + "5.1" + + + + + + + + + BBIE + Hazardous Item. Placard Endorsement. Text + The placard endorsement that is to be shown on the shipping papers for the hazardous commodity. Can also be used for the number of the orange placard (lower part) required on the means of transport. + 0..1 + Hazardous Item + Placard Endorsement + Text + Text. Type + "2" + + + + + + + + + BBIE + Hazardous Item. Additional_ Information. Text + Additional information about the hazardous substance. Can be used to specify information such as the type of regulatory requirements that apply to a description. + 0..1 + Hazardous Item + Additional + Information + Text + Text. Type + "Must be stored away from flammable materials" "N.O.S. or a Waste Characteristics Code in conjunction with an EPA Waste Stream code" + + + + + + + + + BBIE + Hazardous Item. UNDG Code. Code + The identifier assigned to transportable hazardous goods by the United Nations, expressed as a code. + 0..1 + Hazardous Item + UNDG Code + Code + Code. Type + UN Code + + + + + + + + + BBIE + Hazardous Item. Emergency Procedures Code. Code + The emergency procedures for the Hazardous Item, expressed as a code. + 0..1 + Hazardous Item + Emergency Procedures Code + Code + Code. Type + EMG code, EMS Page Number + + + + + + + + + BBIE + Hazardous Item. Medical First Aid Guide Code. Code + The identifier of a medical first aid guide that is relevant to specific hazardous goods, expressed as a code. + 0..1 + Hazardous Item + Medical First Aid Guide Code + Code + Code. Type + MFAG page number + + + + + + + + + BBIE + Hazardous Item. Technical_ Name. Name + The full technical name of the specific hazardous substance. + 0..1 + Hazardous Item + Technical + Name + Name + Name. Type + "Granular Sodium Chlorate WeedKiller" + + + + + + + + + BBIE + Hazardous Item. Category. Name + The name of the category of hazard that applies to the Item. + 0..1 + Hazardous Item + Category + Name + Name. Type + + + + + + + + + BBIE + Hazardous Item. Hazardous Category Code. Code + Code specifying a kind of hazard for a material. + 0..1 + Hazardous Item + Hazardous Category Code + Code + Code. Type + Hazardous material class code + + + + + + + + + BBIE + Hazardous Item. Upper_ Orange Hazard Placard Identifier. Identifier + Specifies the identity number for the upper part of the orange hazard placard required on the means of transport. + 0..1 + Hazardous Item + Upper + Orange Hazard Placard Identifier + Identifier + Identifier. Type + Hazard identification number (upper part) + + + + + + + + + BBIE + Hazardous Item. Lower_ Orange Hazard Placard Identifier. Identifier + Specifies the identity number for the lower part of the orange hazard placard required on the means of transport. + 0..1 + Hazardous Item + Lower + Orange Hazard Placard Identifier + Identifier + Identifier. Type + Substance identification number (lower part) + + + + + + + + + BBIE + Hazardous Item. Marking Identifier. Identifier + Identifies the marking of dangerous goods. + 0..1 + Hazardous Item + Marking Identifier + Identifier + Identifier. Type + Dangerous goods label marking + + + + + + + + + BBIE + Hazardous Item. Hazard Class Identifier. Identifier + Identifies a hazard class applicable to dangerous goods as defined by the relevant regulation authority, such as the IMDG Class Number of the SOLAS Convention of IMO and the ADR/RID Class Number for the road/rail environment. + 0..1 + Hazardous Item + Hazard Class Identifier + Identifier + Identifier. Type + IMDG Class Number, ADR/RID Class Number + + + + + + + + + BBIE + Hazardous Item. Net_ Weight. Measure + The total net weight of hazardous goods; the weight of the goods plus packaging. + 0..1 + Hazardous Item + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Hazardous Item. Net_ Volume. Measure + The volume of hazardous goods net of packaging and transport equipment. + 0..1 + Hazardous Item + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Hazardous Item. Quantity + The quantity of goods that are hazardous. + 0..1 + Hazardous Item + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Hazardous Item. Contact_ Party. Party + Associates the Hazardous Item with details of an individual, group, or body that is the contact in case of hazard incident. + 0..1 + Hazardous Item + Contact + Party + Party + + + + + + + + + ASBIE + Hazardous Item. Secondary Hazard + Associates the Hazardous Item with information about secondary hazards. + 0..n + Hazardous Item + Secondary Hazard + Secondary Hazard + + + + + + + + + ASBIE + Hazardous Item. Hazardous Goods Transit + Associates the Hazardous Item with information about the transportation of hazardous goods. + 0..n + Hazardous Item + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Hazardous Item. Emergency_ Temperature. Temperature + Associates the Hazardous Item with the temperature at which emergency procedures apply during the handling of temperature-controlled hazardous goods. + 0..1 + Hazardous Item + Emergency + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Item. Flashpoint_ Temperature. Temperature + Associates the Hazardous Item with the lowest temperature at which the vapor of a combustible liquid can be made to ignite momentarily in air, known in hazardous goods procedures as the flashpoint. + 0..1 + Hazardous Item + Flashpoint + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Item. Additional_ Temperature. Temperature + Information providing details of temperatures relevant to the handling of hazardous goods. + 0..n + Hazardous Item + Additional + Temperature + Temperature + + + + + + + + + + + ABIE + Invoice Line. Details + Information about an Invoice Line. + Invoice Line + + + + + + + + + BBIE + Invoice Line. Identifier + Identifies the Invoice Line. + 1 + Invoice Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Invoice Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice Line. Note. Text + Free-form text applying to the Invoice Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Invoice Line + Note + Text + Text. Type + + + + + + + + + BBIE + Invoice Line. Invoiced_ Quantity. Quantity + The quantity (of Items) on the Invoice Line. + 0..1 + Invoice Line + Invoiced + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Invoice Line. Line Extension Amount. Amount + The total amount for the Invoice Line, including Allowance Charges but net of taxes. + 1 + Invoice Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Invoice Line. Tax Point Date. Date + The date of the Invoice Line, used to indicate the point at which tax becomes applicable. + 0..1 + Invoice Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Invoice Line. Accounting Cost Code. Code + The buyer's accounting code applied to the Invoice Line. + 0..1 + Invoice Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Invoice Line. Accounting Cost. Text + The buyer's accounting code applied to the Invoice Line, expressed as text. + 0..1 + Invoice Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Invoice Line. Free Of Charge_ Indicator. Indicator + Indicates whether the Invoice Line is Free Of Charge (default = false). + 0..1 + Invoice Line + Free Of Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Invoice Line. Order Line Reference + An association to Order Line Reference. + 0..n + Invoice Line + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Invoice Line. Despatch_ Line Reference. Line Reference + An associative reference to Despatch Line. + 0..n + Invoice Line + Despatch + Line Reference + Line Reference + + + + + + + + + ASBIE + Invoice Line. Receipt_ Line Reference. Line Reference + An associative reference to Receipt Line. + 0..n + Invoice Line + Receipt + Line Reference + Line Reference + + + + + + + + + ASBIE + Invoice Line. Billing Reference + An association to Billing Reference. + 0..n + Invoice Line + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Invoice Line. Document Reference + An association to Document Reference. + 0..n + Invoice Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice Line. Pricing Reference + An association to Pricing Reference. + 0..1 + Invoice Line + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Invoice Line. Originator_ Party. Party + The party who originated the Order to which the Invoice is related. + 0..1 + Invoice Line + Originator + Party + Party + + + + + + + + + ASBIE + Invoice Line. Delivery + An association to Delivery. + 0..n + Invoice Line + Delivery + Delivery + + + + + + + + + ASBIE + Invoice Line. Payment Terms + An association to Payment Terms. + 0..n + Invoice Line + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Invoice Line. Allowance Charge + An association to Allowance Charge. + 0..n + Invoice Line + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Invoice Line. Tax Total + An association to Tax Total. + 0..n + Invoice Line + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice Line. Item + An association to Item. + 1 + Invoice Line + Item + Item + + + + + + + + + ASBIE + Invoice Line. Price + An association to Price. + 0..1 + Invoice Line + Price + Price + + + + + + + + + ASBIE + Invoice Line. Delivery Terms + An association to Delivery Terms. + 0..1 + Invoice Line + Delivery Terms + Delivery Terms + + + + + + + + + + + ABIE + Item. Details + Information directly relating to an item. + Item + article, product, goods item + + + + + + + + + BBIE + Item. Description. Text + Free-form field that can be used to give a text description of the item. + 0..n + Item + Description + Text + Text. Type + + + + + + + + + BBIE + Item. Pack Quantity. Quantity + The unit packaging quantity. + 0..1 + Item + Pack Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item. Pack Size. Numeric + The number of items in a pack. + 0..1 + Item + Pack Size + Numeric + Numeric. Type + + + + + + + + + BBIE + Item. Catalogue_ Indicator. Indicator + Indicates whether the item was ordered from a Catalogue (true) or not (false). + 0..1 + Item + Catalogue + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Item. Name + A short name optionally given to an item, such as a name from a Catalogue, as distinct from a description. + 0..1 + Item + Name + Name + Name. Type + + + + + + + + + BBIE + Item. Hazardous Risk_ Indicator. Indicator + Indicates whether the item as delivered is hazardous. + 0..1 + Item + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Item. Additional_ Information. Text + Provides more details of the item (e.g., the URL of a relevant web page). + 0..1 + Item + Additional + Information + Text + Text. Type + + + + + + + + + BBIE + Item. Keyword. Text + A Seller Party-defined search string for the item. Also could be synonyms for identifying the item. + 0..n + Item + Keyword + Text + Text. Type + + + + + + + + + BBIE + Item. Brand Name. Name + Brand name for the item. + 0..n + Item + Brand Name + Name + Name. Type + Coca-Cola + + + + + + + + + BBIE + Item. Model Name. Name + Model name for the item. + 0..n + Item + Model Name + Name + Name. Type + "VW Beetle" + + + + + + + + + ASBIE + Item. Buyers_ Item Identification. Item Identification + Associates the item with its identification according to the buyer's system. + 0..1 + Item + Buyers + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Sellers_ Item Identification. Item Identification + Associates the item with its identification according to the seller's system. + 0..1 + Item + Sellers + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Manufacturers_ Item Identification. Item Identification + Associates the item with its identification according to the manufacturer's system. + 0..n + Item + Manufacturers + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Standard_ Item Identification. Item Identification + Associates the item with its identification according to a standard system. + 0..1 + Item + Standard + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Catalogue_ Item Identification. Item Identification + Associates the item with its identification according to a cataloguing system. + 0..1 + Item + Catalogue + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Additional_ Item Identification. Item Identification + Associates the item with other identification means. + 0..n + Item + Additional + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Catalogue_ Document Reference. Document Reference + An associative reference to Catalogue. + 0..1 + Item + Catalogue + Document Reference + Document Reference + + + + + + + + + ASBIE + Item. Item Specification_ Document Reference. Document Reference + An associative reference to a document providing Item specification. + 0..n + Item + Item Specification + Document Reference + Document Reference + + + + + + + + + ASBIE + Item. Origin_ Country. Country + Associates the item with its country of origin. + 0..1 + Item + Origin + Country + Country + + + + + + + + + ASBIE + Item. Commodity Classification + Associates the item with its classification(s) according to a commodity classifying system. + 0..n + Item + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Item. Transaction Conditions + Associates the item with sales conditions appertaining to it. + 0..n + Item + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Item. Hazardous Item + Associates the item with its hazardous item information. + 0..n + Item + Hazardous Item + Hazardous Item + + + + + + + + + ASBIE + Item. Classified_ Tax Category. Tax Category + Classifies the item using one or more categories of taxes. + 0..n + Item + Classified + Tax Category + Tax Category + + + + + + + + + ASBIE + Item. Additional_ Item Property. Item Property + Associates the item with a set of additional properties. + 0..n + Item + Additional + Item Property + Item Property + + + + + + + + + ASBIE + Item. Manufacturer_ Party. Party + Associates the item with its manufacturer. + 0..n + Item + Manufacturer + Party + Party + + + + + + + + + ASBIE + Item. Information Content Provider_ Party. Party + Associates the item with the party responsible for the its specification. + 0..1 + Item + Information Content Provider + Party + Party + + + + + + + + + ASBIE + Item. Origin_ Address. Address + Associates the item with the region of origin (not the country). + 0..n + Item + Origin + Address + Address + + + + + + + + + ASBIE + Item. Item Instance + An association to Item Instance. + 0..n + Item + Item Instance + Item Instance + + + + + + + + + + + ABIE + Item Comparison. Details + Used to compare different items based on cost, quantity, or measurements. + Item Comparison + + + + + + + + + BBIE + Item Comparison. Price. Amount + The price for the comparison quantity of the item. + 0..1 + Item Comparison + Price + Amount + Amount. Type + + + + + + + + + BBIE + Item Comparison. Quantity + The quantity used for price comparison with other items. + 0..1 + Item Comparison + Quantity + Quantity + Quantity. Type + "per unit" + + + + + + + + + + + ABIE + Item Identification. Details + Information about item identification. + Item Identification + + + + + + + + + BBIE + Item Identification. Identifier + An identifier for an item. + 1 + Item Identification + Identifier + Identifier + Identifier. Type + "CUST001" "3333-44-123" + + + + + + + + + BBIE + Item Identification. Extended_ Identifier. Identifier + An extended identifier for the item that identifies the item with specific properties, e.g., Item 123 = Chair / Item 123 Ext 45 = brown chair. + 0..1 + Item Identification + Extended + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Item Identification. Physical Attribute + An association to Physical Attribute. + 0..n + Item Identification + Physical Attribute + Physical Attribute + + + + + + + + + ASBIE + Item Identification. Measurement_ Dimension. Dimension + An association to Measurement Dimension. + 0..n + Item Identification + Measurement + Dimension + Dimension + + + + + + + + + ASBIE + Item Identification. Issuer_ Party. Party + An association to Issuer Party i.e. the Party that issued the Item Identification. + 0..1 + Item Identification + Issuer + Party + Party + + + + + + + + + + + ABIE + Item Instance. Details + Information about a specific instance of an item. + Item Instance + + + + + + + + + BBIE + Item Instance. Product Trace_ Identifier. Identifier + An identifier used for tracing the item, such as the EPC number used in RFID. + 0..1 + Item Instance + Product Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Instance. Manufacture Date. Date + The date of manufacture of the Item Instance. + 0..1 + Item Instance + Manufacture Date + Date + Date. Type + + + + + + + + + BBIE + Item Instance. Manufacture Time. Time + The time of manufacture of the Item Instance. + 0..1 + Item Instance + Manufacture Time + Time + Time. Type + + + + + + + + + BBIE + Item Instance. Registration Identifier. Identifier + The registration identifier of the Item Instance. + 0..1 + Item Instance + Registration Identifier + Identifier + Identifier. Type + car registration or licensing number + + + + + + + + + BBIE + Item Instance. Serial Identifier. Identifier + The serial number of the Item Instance. + 0..1 + Item Instance + Serial Identifier + Identifier + Identifier. Type + chassis number of a car + + + + + + + + + ASBIE + Item Instance. Additional_ Item Property. Item Property + An association to Additional Item Property. + 0..n + Item Instance + Additional + Item Property + Item Property + + + + + + + + + ASBIE + Item Instance. Lot Identification + Associates the item instance with its lot identification (the identification that allows recall of the item if necessary). + 0..1 + Item Instance + Lot Identification + Lot Identification + + + + + + + + + + + ABIE + Item Location Quantity. Details + Information about the properties of an item as they relate to specific quantities and/or specific locations. + Item Location Quantity + + + + + + + + + BBIE + Item Location Quantity. Lead Time. Measure + The time taken from the time of order to the time of delivery for an item. + 0..1 + Item Location Quantity + Lead Time + Measure + Measure. Type + "2 days", "24 hours" + + + + + + + + + BBIE + Item Location Quantity. Minimum_ Quantity. Quantity + The minimum quantity that can be ordered to qualify for a specific price. + 0..1 + Item Location Quantity + Minimum + Quantity + Quantity + Quantity. Type + "10 boxes", "1 carton", "1000 sheets" + + + + + + + + + BBIE + Item Location Quantity. Maximum_ Quantity. Quantity + The maximum quantity that can be ordered to qualify for a specific price. + 0..1 + Item Location Quantity + Maximum + Quantity + Quantity + Quantity. Type + "10 boxes", "1 carton", "1000 sheets" + + + + + + + + + BBIE + Item Location Quantity. Hazardous Risk_ Indicator. Indicator + Indicates whether the item as delivered, in the stated quantity to the stated location, is hazardous. + 0..1 + Item Location Quantity + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Item Location Quantity. Trading Restrictions. Text + A description of trade restrictions that apply to the item or quantities of the item. + 0..n + Item Location Quantity + Trading Restrictions + Text + Text. Type + "not for export" + + + + + + + + + ASBIE + Item Location Quantity. Applicable Territory_ Address. Address + An association to Territory (Address). + 0..n + Item Location Quantity + Applicable Territory + Address + Address + + + + + + + + + ASBIE + Item Location Quantity. Price + An association to Price. + 0..1 + Item Location Quantity + Price + Price + + + + + + + + + ASBIE + Item Location Quantity. Delivery Unit + An association to Delivery Unit. + 0..n + Item Location Quantity + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Item Location Quantity. Applicable_ Tax Category. Tax Category + An association to Tax Category. + 0..n + Item Location Quantity + Applicable + Tax Category + Tax Category + + + + + + + + + + + ABIE + Item Property. Details + Information about specific Item Properties. + Item Property + + + + + + + + + BBIE + Item Property. Name + The name of the Item Property. + 1 + Item Property + Name + Name + Name. Type + "Energy Rating", "Collar Size", "Fat Content" + + + + + + + + + BBIE + Item Property. Value. Text + The Item Property value. + 1 + Item Property + Value + Text + Text. Type + "100 watts", "15 European", "20% +/- 5%" + + + + + + + + + ASBIE + Item Property. Usability_ Period. Period + The period for which the Item Property is valid. + 0..1 + Item Property + Usability + Period + Period + + + + + + + + + ASBIE + Item Property. Item Property Group + An association to Item Property Group. + 0..n + Item Property + Item Property Group + Item Property Group + + + + + + + + + + + ABIE + Item Property Group. Details + Information about sets of classifications (or groups) of Item Properties. + Item Property Group + + + + + + + + + BBIE + Item Property Group. Identifier + An identifier for the Item Property Group. + 1 + Item Property Group + Identifier + Identifier + Identifier. Type + "233-004" + + + + + + + + + BBIE + Item Property Group. Name + The name of the Item Property Group. + 0..1 + Item Property Group + Name + Name + Name. Type + "Electrical Specifications", "Dietary Content" + + + + + + + + + + + ABIE + Language. Details + Information about Language. + Language + + + + + + + + + BBIE + Language. Identifier + An identifier for a language, expressed as a code. + 0..1 + Language + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Language. Name + The name of the language. + 0..1 + Language + Name + Name + Name. Type + + + + + + + + + BBIE + Language. Locale Code. Code + The locale where the language is used, expressed as a code. + 0..1 + Language + Locale Code + Code + Code. Type + + + + + + + + + + + ABIE + Line Item. Details + Information about a Line Item. + Line Item + + + + + + + + + BBIE + Line Item. Identifier + Identifies the Line Item assigned by the buyer. + 1 + Line Item + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. Sales_ Order Identifier. Identifier + The identification given to a Line by the seller. + 0..1 + Line Item + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Line Item + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. Note. Text + Free-form text applying to the Line Item. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Line Item + Note + Text + Text. Type + + + + + + + + + BBIE + Line Item. Line Status Code. Code + Identifies the status of the Line with respect to its original state. + 0..1 + Line Item + Line Status Code + Code + Line Status_ Code. Type + + + + + + + + + BBIE + Line Item. Quantity + The quantity of Items for the Line Item. + 0..1 + Line Item + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Line Extension Amount. Amount + The total amount for the Line Item, including Allowance Charges but net of taxes. + 0..1 + Line Item + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Line Item. Total_ Tax Amount. Amount + The total tax amount for the Line Item. + 0..1 + Line Item + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Line Item. Minimum_ Quantity. Quantity + The minimum quantity for the Item on the Line. + 0..1 + Line Item + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Maximum_ Quantity. Quantity + The maximum quantity for the Item on the Line. + 0..1 + Line Item + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Minimum_ Backorder. Quantity + The minimum back order quantity (where back order is allowed). + 0..1 + Line Item + Minimum + Backorder + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Maximum_ Backorder. Quantity + The maximum back order quantity (where back order is allowed). + 0..1 + Line Item + Maximum + Backorder + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Inspection Method. Code + Inspection requirements for a Line Item, expressed as a code. + 0..1 + Line Item + Inspection Method + Code + Code. Type + + + + + + + + + BBIE + Line Item. Partial Delivery Indicator. Indicator + Indicates whether a partial delivery is allowed. + 0..1 + Line Item + Partial Delivery Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Line Item. Back Order Allowed Indicator. Indicator + Indicates whether back order is allowed. + 0..1 + Line Item + Back Order Allowed Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Line Item. Accounting Cost Code. Code + The buyer's accounting code applied to the Line Item. + 0..1 + Line Item + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Line Item. Accounting Cost. Text + The buyer's accounting code applied to the Line Item, expressed as text. + 0..1 + Line Item + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Line Item. Delivery + An association to Delivery. + 0..n + Line Item + Delivery + Delivery + + + + + + + + + ASBIE + Line Item. Delivery Terms + An association to Delivery Terms. + 0..1 + Line Item + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Line Item. Originator_ Party. Party + The party who originated Order. + 0..1 + Line Item + Originator + Party + Party + + + + + + + + + ASBIE + Line Item. Ordered Shipment + An association to Ordered Shipment. + 0..n + Line Item + Ordered Shipment + Ordered Shipment + + + + + + + + + ASBIE + Line Item. Pricing Reference + An association to Pricing Reference. + 0..1 + Line Item + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Line Item. Allowance Charge + An association to Allowance Charge. + 0..n + Line Item + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Line Item. Price + An association to Price. + 0..1 + Line Item + Price + Price + + + + + + + + + ASBIE + Line Item. Item + An association to Item. + 1 + Line Item + Item + Item + + + + + + + + + + + ABIE + Line Reference. Details + Reference to a Line on a document. + Line Reference + + + + + + + + + BBIE + Line Reference. Line Identifier. Identifier + Identifies the Line on the referenced document. + 1 + Line Reference + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Reference. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Line Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Reference. Line Status Code. Code + Identifies the status of the referenced Line with respect to its original state. + 0..1 + Line Reference + Line Status Code + Code + Line Status_ Code. Type + + + + + + + + + ASBIE + Line Reference. Document Reference + An association to Document Reference. + 0..1 + Line Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Line Response. Details + A response to a Line in a Document. + Line Response + + + + + + + + + ASBIE + Line Response. Line Reference + An association to Line Reference. + 1 + Line Response + Line Reference + Line Reference + + + + + + + + + ASBIE + Line Response. Response + An association to Response. + 1..n + Line Response + Response + Response + + + + + + + + + + + ABIE + Location. Details + Information about a location. + Location + + + + + + + + + BBIE + Location. Identifier + The unique identifier for the location, e.g., the EAN Location Number, GLN. + 0..1 + Location + Identifier + Identifier + Identifier. Type + 5790002221134 + + + + + + + + + BBIE + Location. Description. Text + The description or name of the location. + 0..1 + Location + Description + Text + Text. Type + + + + + + + + + BBIE + Location. Conditions. Text + Conditions describing the location. + 0..1 + Location + Conditions + Text + Text. Type + + + + + + + + + BBIE + Location. Country Subentity. Text + A territorial division of a country, such as a county or state. + 0..1 + Location + Country Subentity + Text + Text. Type + AdministrativeArea, State, Country, Shire, Canton + "Florida","Tamilnadu" + + + + + + + + + BBIE + Location. Country Subentity Code. Code + The territorial division of a country, such as a county or state, expressed as a code. + 0..1 + Location + Country Subentity Code + Code + Code. Type + AdministrativeAreaCode, State Code + + + + + + + + + ASBIE + Location. Validity_ Period. Period + Period(s) in which the location can be used, e.g., for delivery. + 0..n + Location + Validity + Period + Period + + + + + + + + + ASBIE + Location. Address + Association to the address of the location. + 0..1 + Location + Address + Address + + + + + + + + + + + ABIE + Location Coordinate. Details + Information about physical (geographical) location. + Location Coordinate + + + + + + + + + BBIE + Location Coordinate. Coordinate System Code. Code + An identifier for the location system used. + 0..1 + Location Coordinate + Coordinate System Code + Code + Code. Type + + + + + + + + + BBIE + Location Coordinate. Latitude_ Degrees. Measure + The measure of latitude in degrees. + 0..1 + Location Coordinate + Latitude + Degrees + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Latitude_ Minutes. Measure + The measure of latitude in minutes. + 0..1 + Location Coordinate + Latitude + Minutes + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Latitude Direction Code. Code + The direction of latitude measurement from the equator. + 0..1 + Location Coordinate + Latitude Direction Code + Code + Latitude Direction_ Code. Type + + + + + + + + + BBIE + Location Coordinate. Longitude_ Degrees. Measure + The measure of longitude in degrees. + 0..1 + Location Coordinate + Longitude + Degrees + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Longitude_ Minutes. Measure + The measure of longitude in minutes. + 0..1 + Location Coordinate + Longitude + Minutes + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Longitude Direction Code. Code + The direction of longitude measurement from the meridian. + 0..1 + Location Coordinate + Longitude Direction Code + Code + Longitude Direction_ Code. Type + + + + + + + + + + + ABIE + Lot Identification. Details + Information about a lot (of Item Instances). + Lot Identification + + + + + + + + + BBIE + Lot Identification. Lot Number. Identifier + Identifies the lot. + 0..1 + Lot Identification + Lot Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Lot Identification. Expiry Date. Date + The expiry date of the lot. + 0..1 + Lot Identification + Expiry Date + Date + Date. Type + + + + + + + + + ASBIE + Lot Identification. Additional_ Item Property. Item Property + An association to Additional Item Property. + 0..n + Lot Identification + Additional + Item Property + Item Property + + + + + + + + + + + ABIE + Maritime Transport. Details + Describes a water (including sea, river, and canal) transport vessel. + Maritime Transport + + + + + + + + + BBIE + Maritime Transport. Vessel Identifier. Identifier + Identifies a specific vessel. + 0..1 + Maritime Transport + Vessel Identifier + Identifier + Identifier. Type + Lloyds Number, Registration Number (WCO ID 167) + International Maritime Organisation number of a vessel + + + + + + + + + BBIE + Maritime Transport. Vessel Name. Name + The name of the vessel. + 0..1 + Maritime Transport + Vessel Name + Name + Name. Type + Ships Name + + + + + + + + + + + ABIE + Monetary Total. Details + Information about Monetary Totals. + Monetary Total + + + + + + + + + BBIE + Monetary Total. Line Extension Amount. Amount + The total of Line Extension Amounts net of tax and settlement discounts, but inclusive of any applicable rounding amount. + 0..1 + Monetary Total + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Tax Exclusive Amount. Amount + The total amount exclusive of taxes. + 0..1 + Monetary Total + Tax Exclusive Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Tax Inclusive Amount. Amount + The total amount inclusive of taxes. + 0..1 + Monetary Total + Tax Inclusive Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Allowance Total Amount. Amount + The total amount of all allowances. + 0..1 + Monetary Total + Allowance Total Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Charge Total Amount. Amount + The total amount of all charges. + 0..1 + Monetary Total + Charge Total Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Prepaid Amount. Amount + The total prepaid amount. + 0..1 + Monetary Total + Prepaid Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Rounding Amount. Amount + The rounding amount (positive or negative) added to the calculated Line Extension Total Amount to produce the rounded Line Extension Total Amount. + 0..1 + Monetary Total + Payable + Rounding Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Amount. Amount + The total amount to be paid. + 1 + Monetary Total + Payable + Amount + Amount + Amount. Type + + + + + + + + + + + ABIE + Ordered Shipment. Details + Information about an Ordered Shipment. + Ordered Shipment + + + + + + + + + ASBIE + Ordered Shipment. Shipment + An association to Shipment. + 1 + Ordered Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Ordered Shipment. Package + An association to Package. + 0..n + Ordered Shipment + Package + Package + + + + + + + + + + + ABIE + Order Line. Details + Information about an Order Line. + Order Line + + + + + + + + + BBIE + Order Line. Substitution Status Code. Code + A code indicating the substitution status of the Order Line. Order Line may indicate that a substitute is proposed by the buyer or by the seller (in Order Response) or that a substitution has been made by the seller (in Order Response). + 0..1 + Order Line + Substitution Status Code + Code + Substitution Status_ Code. Type + + + + + + + + + BBIE + Order Line. Note. Text + Free-form text applying to the Order Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Order Line + Note + Text + Text. Type + + + + + + + + + ASBIE + Order Line. Line Item + An association to Line Item. + 1 + Order Line + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Seller Proposed Substitute_ Line Item. Line Item + Substitute Line Items proposed by the seller (in Order Response). + 0..n + Order Line + Seller Proposed Substitute + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Seller Substituted_ Line Item. Line Item + Item(s) replaced by the seller. The original ordered quantity and pricing may be different from the substituted item. However, when an item is substituted by the seller, it is assumed that other information, such as shipment details, will be the same. + 0..n + Order Line + Seller Substituted + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Buyer Proposed Substitute_ Line Item. Line Item + Possible alternatives, proposed by the buyer, to the Line Item. + 0..n + Order Line + Buyer Proposed Substitute + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Catalogue_ Line Reference. Line Reference + An associative reference to Catalogue Line. + 0..1 + Order Line + Catalogue + Line Reference + Line Reference + + + + + + + + + ASBIE + Order Line. Quotation_ Line Reference. Line Reference + an associative reference to Quotation Line. + 0..1 + Order Line + Quotation + Line Reference + Line Reference + + + + + + + + + ASBIE + Order Line. Document Reference + An association to Document Reference. + 0..n + Order Line + Document Reference + Document Reference + + + + + + + + + + + ABIE + Order Line Reference. Details + Information about an Order Line Reference. + Order Line Reference + + + + + + + + + BBIE + Order Line Reference. Line Identifier. Identifier + Identifies the referenced Order Line assigned by the buyer. + 1 + Order Line Reference + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. Sales Order_ Line Identifier. Identifier + Identifies the referenced Order Line assigned by the seller. + 0..1 + Order Line Reference + Sales Order + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Order Line Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. Line Status Code. Code + Identifies the status of the referenced Order Line with respect to its original state. + 0..1 + Order Line Reference + Line Status Code + Code + Line Status_ Code. Type + + + + + + + + + ASBIE + Order Line Reference. Order Reference + An association to Order Reference. + 0..1 + Order Line Reference + Order Reference + Order Reference + + + + + + + + + + + ABIE + Order Reference. Details + Information about an Order Reference. + Order Reference + + + + + + + + + BBIE + Order Reference. Identifier + Identifies the referenced Order assigned by the buyer. + 1 + Order Reference + Identifier + Identifier + Identifier. Type + "PO-001" "3333-44-123" + + + + + + + + + BBIE + Order Reference. Sales Order Identifier. Identifier + Identifies the referenced Order assigned by the seller. + 0..1 + Order Reference + Sales Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Reference. Copy_ Indicator. Indicator + Indicates whether the referenced Order is a copy (true) or the original (false). + 0..1 + Order Reference + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Reference. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Order Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Reference. Issue Date. Date + The date on which the referenced Order was issued. + 0..1 + Order Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Reference. Issue Time. Time + The time at which the referenced Order was issued. + 0..1 + Order Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Reference. Customer_ Reference. Text + A reference used (CRI) for tagging purchasing card transactions. + 0..1 + Order Reference + Customer + Reference + Text + Text. Type + Customer Reference Identifier (CRI) when using a puchasing card + + + + + + + + + ASBIE + Order Reference. Document Reference + An association to Document Reference. + 0..1 + Order Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Package. Details + Information about a package. + Package + + + + + + + + + BBIE + Package. Identifier + Identifies the package. + 0..1 + Package + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Package. Quantity + The quantity (of items) contained in the package. + 0..1 + Package + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Package. Returnable Material_ Indicator. Indicator + Indicates whether the packaging material is returnable (true) or not (false). + 0..1 + Package + Returnable Material + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Package. Package Level Code. Code + Code specifying a level of packaging. + 0..1 + Package + Package Level Code + Code + Code. Type + + + + + + + + + BBIE + Package. Packaging Type Code. Code + Code specifying the type of packaging of an item. + 0..1 + Package + Packaging Type Code + Code + Packaging Type_ Code. Type + Package classification code + + + + + + + + + BBIE + Package. Packing Material. Text + Description of the type of packaging of an item. + 0..n + Package + Packing Material + Text + Text. Type + + + + + + + + + ASBIE + Package. Contained_ Package. Package + An association to Contained Package; used to describe a package within a package. + 0..n + Package + Contained + Package + Package + + + + + + + + + ASBIE + Package. Goods Item + An association to Goods Item. + 0..n + Package + Goods Item + Goods Item + + + + + + + + + ASBIE + Package. Measurement_ Dimension. Dimension + An association to describe the measurement dimensions of the package. + 0..n + Package + Measurement + Dimension + Dimension + + + + + + + + + ASBIE + Package. Delivery Unit + An association to Delivery Units in the package. + 0..n + Package + Delivery Unit + Delivery Unit + + + + + + + + + + + ABIE + Party. Details + Information about an organization, sub-organization, or individual fulfilling a role in a business process. + Party + + + + + + + + + BBIE + Party. Mark Care_ Indicator. Indicator + Indicates whether a party is C/O (care of). + 0..1 + Party + Mark Care + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party. Mark Attention_ Indicator. Indicator + Indicates whether a party is 'FAO' (for the attention of). + 0..1 + Party + Mark Attention + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party. Website_ URI. Identifier + The Uniform Resource Identifier (URI) of the party. + 0..1 + Party + Website + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Party. Logo Reference. Identifier + A party's logo. + 0..1 + Party + Logo Reference + Identifier + Identifier. Type + http://www2.coca-cola.com/images/logo.gif + + + + + + + + + BBIE + Party. Endpoint Identifier. Identifier + Identifies the end point of the routing service, e.g., EAN Location Number, GLN. + 0..1 + Party + Endpoint Identifier + Identifier + Identifier. Type + 5790002221134 + + + + + + + + + ASBIE + Party. Party Identification + An association to Party Identification. + 0..n + Party + Party Identification + Party Identification + + + + + + + + + ASBIE + Party. Party Name + An association to Party Name. + 0..n + Party + Party Name + Party Name + + + + + + + + + ASBIE + Party. Language + An association to Language. + 0..1 + Party + Language + Language + + + + + + + + + ASBIE + Party. Postal_ Address. Address + The party's postal address. + 0..1 + Party + Postal + Address + Address + + + + + + + + + ASBIE + Party. Physical_ Location. Location + The party's physical location. + 0..1 + Party + Physical + Location + Location + + + + + + + + + ASBIE + Party. Party Tax Scheme + An association to Party Tax Scheme. + 0..n + Party + Party Tax Scheme + Party Tax Scheme + + + + + + + + + ASBIE + Party. Party Legal Entity + An association to Party Legal Entity. + 0..n + Party + Party Legal Entity + Party Legal Entity + + + + + + + + + ASBIE + Party. Contact + An association to Contact. + 0..1 + Party + Contact + Contact + + + + + + + + + ASBIE + Party. Person + An association to a person. + 0..1 + Party + Person + Person + + + + + + + + + ASBIE + Party. Agent_ Party. Party + An association to another party who acts as an agent for this party. + 0..1 + Party + Agent + Party + Party + + + + + + + + + + + ABIE + Party Identification. Details + Information about a party's identification. + Party Identification + + + + + + + + + BBIE + Party Identification. Identifier + Identifies a party. + 1 + Party Identification + Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Party Legal Entity. Details + Information directly relating to the legal registration that is applicable to a party. + Party Legal Entity + + + + + + + + + BBIE + Party Legal Entity. Registration_ Name. Name + The name of a party as registered with the legal authority. + 0..1 + Party Legal Entity + Registration + Name + Name + Name. Type + "Microsoft Corporation" + + + + + + + + + BBIE + Party Legal Entity. Company Identifier. Identifier + Identifies a company as registered with the company registration scheme. + 0..1 + Party Legal Entity + Company Identifier + Identifier + Identifier. Type + Business Registration Number, Company Number + "3556625" + + + + + + + + + ASBIE + Party Legal Entity. Registration_ Address. Address + Associates with the registered address of the party within a Corporate Registration Scheme. + 0..1 + Party Legal Entity + Registration + Address + Address + + + + + + + + + ASBIE + Party Legal Entity. Corporate Registration Scheme + Associates the party with a Corporate Registration Scheme. + 0..1 + Party Legal Entity + Corporate Registration Scheme + Corporate Registration Scheme + + + + + + + + + + + ABIE + Party Name. Details + Information about a party's name. + Party Name + + + + + + + + + BBIE + Party Name. Name + The name of the party. + 1 + Party Name + Name + Name + Name. Type + "Microsoft" + + + + + + + + + + + ABIE + Party Tax Scheme. Details + Information about a party's Tax Scheme. + Party Tax Scheme + + + + + + + + + BBIE + Party Tax Scheme. Registration_ Name. Name + The official name of the party as registered with the relevant fiscal authority. + 0..1 + Party Tax Scheme + Registration + Name + Name + Name. Type + "Microsoft Corporation" + + + + + + + + + BBIE + Party Tax Scheme. Company Identifier. Identifier + The identifier assigned for tax purposes to a party by the taxation authority. + 0..1 + Party Tax Scheme + Company Identifier + Identifier + Identifier. Type + VAT Number + "3556625" + + + + + + + + + BBIE + Party Tax Scheme. Tax Level Code. Code + The section or role within the tax scheme that applies to the party. + 0..1 + Party Tax Scheme + Tax Level Code + Code + Code. Type + + + + + + + + + BBIE + Party Tax Scheme. Exemption Reason Code. Code + A reason for a party's exemption from tax, expressed as a code. + 0..1 + Party Tax Scheme + Exemption Reason Code + Code + Code. Type + + + + + + + + + BBIE + Party Tax Scheme. Exemption_ Reason. Text + A reason for a party's exemption from tax, expressed as text. + 0..1 + Party Tax Scheme + Exemption + Reason + Text + Text. Type + + + + + + + + + ASBIE + Party Tax Scheme. Registration_ Address. Address + An association to Registered Address (for tax purposes). + 0..1 + Party Tax Scheme + Registration + Address + Address + + + + + + + + + ASBIE + Party Tax Scheme. Tax Scheme + An association to Tax Scheme. + 1 + Party Tax Scheme + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Payment. Details + Information directly relating to a specific payment. + Payment + + + + + + + + + BBIE + Payment. Identifier + Identifies the payment. + 0..1 + Payment + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment. Paid_ Amount. Amount + The amount paid. + 0..1 + Payment + Paid + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment. Received_ Date. Date + The date on which the payment was received. + 0..1 + Payment + Received + Date + Date + Date. Type + + + + + + + + + BBIE + Payment. Paid_ Date. Date + The date at which the payment was made. + 0..1 + Payment + Paid + Date + Date + Date. Type + + + + + + + + + BBIE + Payment. Paid_ Time. Time + The time at which the payment was made. + 0..1 + Payment + Paid + Time + Time + Time. Type + + + + + + + + + BBIE + Payment. Instruction Identifier. Identifier + Identifies the Payment Instruction. + 0..1 + Payment + Instruction Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Payment Means. Details + Information about Payment Means. + Payment Means + + + + + + + + + BBIE + Payment Means. Identifier + Identifies the Payment Means. + 0..1 + Payment Means + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Means. Payment Means Code. Code + The Payment Means expressed as a code + 1 + Payment Means + Payment Means Code + Code + Payment Means_ Code. Type + + + + + + + + + BBIE + Payment Means. Payment Due Date. Date + The date on which payment is due for the Payment Means. + 0..1 + Payment Means + Payment Due Date + Date + Date. Type + + + + + + + + + BBIE + Payment Means. Payment Channel Code. Code + The Payment Channel, expressed as a code. + 0..1 + Payment Means + Payment Channel Code + Code + Code. Type + + + + + + + + + BBIE + Payment Means. Instruction Identifier. Identifier + Identifies the Payment Instruction. + 0..1 + Payment Means + Instruction Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Means. Instruction_ Note. Text + Free-form text applying to the Payment. + 0..n + Payment Means + Instruction + Note + Text + Text. Type + + + + + + + + + BBIE + Payment Means. Payment Identifier. Identifier + Identifies the Payment(s). + 0..n + Payment Means + Payment Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Payment Means. Card Account + An association to Card Account. + 0..1 + Payment Means + Card Account + Card Account + + + + + + + + + ASBIE + Payment Means. Payer_ Financial Account. Financial Account + An association to the payer's Financial Account. + 0..1 + Payment Means + Payer + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Means. Payee_ Financial Account. Financial Account + An association to the payee's Financial Account. + 0..1 + Payment Means + Payee + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Means. Credit Account + An association to Credit Account. + 0..1 + Payment Means + Credit Account + Credit Account + + + + + + + + + + + ABIE + Payment Terms. Details + Information about Payment Terms. + Payment Terms + + + + + + + + + BBIE + Payment Terms. Identifier + Identifies the Payment Terms. + 0..1 + Payment Terms + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Payment Means Identifier. Identifier + Identifies the applicable Payment Means. + 0..1 + Payment Terms + Payment Means Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Prepaid Payment Reference Identifier. Identifier + Identifies prepaid payment. + 0..1 + Payment Terms + Prepaid Payment Reference Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Note. Text + Free-form text applying to the Payment Terms. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Payment Terms + Note + Text + Text. Type + + + + + + + + + BBIE + Payment Terms. Reference_ Event Code. Code + The event from which terms are offered for a length of time, identified by a standard code. + 0..1 + Payment Terms + Reference + Event Code + Code + Code. Type + + + + + + + + + BBIE + Payment Terms. Settlement_ Discount Percent. Percent + The settlement discount rate (percentage) offered for payment within the settlement period. + 0..1 + Payment Terms + Settlement + Discount Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Penalty_ Surcharge Percent. Percent + The penalty rate (percentage) charged for late payment. + 0..1 + Payment Terms + Penalty + Surcharge Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Amount + The payment amount for the Payment Terms. + 0..1 + Payment Terms + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Payment Terms. Settlement_ Period. Period + An association to Settlement Period. + 0..1 + Payment Terms + Settlement + Period + Period + + + + + + + + + ASBIE + Payment Terms. Penalty_ Period. Period + An association to Penalty Period. + 0..1 + Payment Terms + Penalty + Period + Period + + + + + + + + + + + ABIE + Period. Details + Information about a period of time. + Period + + + + + + + + + BBIE + Period. Start Date. Date + The start date of the period. + 0..1 + Period + Start Date + Date + Date. Type + + + + + + + + + BBIE + Period. Start Time. Time + The start time of the period. + 0..1 + Period + Start Time + Time + Time. Type + + + + + + + + + BBIE + Period. End Date. Date + The end date of the period. + 0..1 + Period + End Date + Date + Date. Type + + + + + + + + + BBIE + Period. End Time. Time + The end time of the period. + 0..1 + Period + End Time + Time + Time. Type + + + + + + + + + BBIE + Period. Duration. Measure + The duration of a period, expressed as a code; ISO 8601. + 0..1 + Period + Duration + Measure + Measure. Type + + + + + + + + + BBIE + Period. Description Code. Code + A description of the period, expressed as a code. + 0..n + Period + Description Code + Code + Code. Type + + + + + + + + + BBIE + Period. Description. Text + A description of the period. + 0..n + Period + Description + Text + Text. Type + + + + + + + + + + + ABIE + Person. Details + Information about a person. + Person + + + + + + + + + BBIE + Person. First_ Name. Name + A person's forename or first name. + 0..1 + Person + First + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Family_ Name. Name + A person's surname or family name. + 0..1 + Person + Family + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Title. Text + A person's title of address, e.g., Mr, Ms, Dr, Sir. + 0..1 + Person + Title + Text + Text. Type + + + + + + + + + BBIE + Person. Middle_ Name. Name + A person's middle name(s) and/or initial(s). + 0..1 + Person + Middle + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Name Suffix. Text + A suffix to a person's name, e.g., PhD, OBE, Jnr. + 0..1 + Person + Name Suffix + Text + Text. Type + + + + + + + + + BBIE + Person. Job Title. Text + A person's job title within an organization (for a particular role). + 0..1 + Person + Job Title + Text + Text. Type + + + + + + + + + BBIE + Person. Organization_ Department. Text + The department or subdivision of an organization that the person belongs to (for a particular role). + 0..1 + Person + Organization + Department + Text + Text. Type + + + + + + + + + + + ABIE + Physical Attribute. Details + Information about physical attributes. + Physical Attribute + + + + + + + + + BBIE + Physical Attribute. Attribute Identifier. Identifier + Identifies the physical attribute. + 1 + Physical Attribute + Attribute Identifier + Identifier + Identifier. Type + "colour" "style" + + + + + + + + + BBIE + Physical Attribute. Position Code. Code + The position of the physical attribute, expressed as a code. + 0..1 + Physical Attribute + Position Code + Code + Code. Type + + + + + + + + + BBIE + Physical Attribute. Description Code. Code + The description of the physical attribute, expressed as a code. + 0..1 + Physical Attribute + Description Code + Code + Code. Type + "XXL","Small" + + + + + + + + + BBIE + Physical Attribute. Description. Text + The description of the physical attribute, expressed as text. + 0..n + Physical Attribute + Description + Text + Text. Type + + + + + + + + + + + ABIE + Price. Details + Information about the price. + Price + + + + + + + + + BBIE + Price. Price Amount. Amount + The price amount. + 1 + Price + Price Amount + Amount + Amount. Type + unit price + 23.45 + + + + + + + + + BBIE + Price. Base_ Quantity. Quantity + The actual quantity to which the price applies. + 0..1 + Price + Base + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Price. Price Change_ Reason. Text + The reason for the price change, expressed as text. + 0..n + Price + Price Change + Reason + Text + Text. Type + "Clearance of old stock", "New contract applies" + + + + + + + + + BBIE + Price. Price Type Code. Code + The price type, expressed as a code. + 0..1 + Price + Price Type Code + Code + Code. Type + + + + + + + + + BBIE + Price. Price Type. Text + The price type, expressed as text. + 0..1 + Price + Price Type + Text + Text. Type + retail, wholesale, discount, contract + + + + + + + + + BBIE + Price. Orderable Unit Factor. Rate + The factor by which the base price unit can be converted to the orderable unit. + 0..1 + Price + Orderable Unit Factor + Rate + Rate. Type + Nails are priced by weight but ordered by quantity. So this would say how many nails per kilo + + + + + + + + + ASBIE + Price. Validity_ Period. Period + An association to Validity Period. + 0..n + Price + Validity + Period + Period + + + + + + + + + ASBIE + Price. Price List + A reference to a Price List. + 0..1 + Price + Price List + Price List + + + + + + + + + ASBIE + Price. Allowance Charge + An association to Allowance Charge. + 0..n + Price + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Price List. Details + Information about a Price List. + Price List + + + + + + + + + BBIE + Price List. Identifier + Identifies the Price List. + 0..1 + Price List + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Price List. Status Code. Code + Identifies whether the price list is an 'original', 'copy', 'revision', or 'cancellation'. + 0..1 + Price List + Status Code + Code + Code. Type + "new - announcement only", "new and available", "deleted - announcement only" + + + + + + + + + ASBIE + Price List. Validity_ Period. Period + An association to Validity Period. + 0..n + Price List + Validity + Period + Period + + + + + + + + + ASBIE + Price List. Previous_ Price List. Price List + An association to Previous Price List. + 0..1 + Price List + Previous + Price List + Price List + + + + + + + + + + + ABIE + Pricing Reference. Details + A reference to Pricing Information. + Pricing Reference + + + + + + + + + ASBIE + Pricing Reference. Original_ Item Location Quantity. Item Location Quantity + An association to the original Item Location Quantity. + 0..1 + Pricing Reference + Original + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Pricing Reference. Alternative Condition_ Price. Price + The price expressed in terms other than the actual price, e.g., the list price v. the contracted price, or the price in bags v. the price in kilos, or the list price in bags v. the contracted price in kilos. + 0..n + Pricing Reference + Alternative Condition + Price + Price + + + + + + + + + + + ABIE + Quotation Line. Details + Information about a Quotation Line. + Quotation Line + + + + + + + + + BBIE + Quotation Line. Identifier + Identifies the Quotation Line Item. + 0..1 + Quotation Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation Line. Note. Text + Free-form text applying to the Quotation Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Quotation Line + Note + Text + Text. Type + + + + + + + + + BBIE + Quotation Line. Quantity + The quantity of the item quoted. + 0..1 + Quotation Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Quotation Line. Line Extension Amount. Amount + The total amount for the Quotation Line, including Allowance Charges but net of taxes. + 0..1 + Quotation Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Quotation Line. Total_ Tax Amount. Amount + The total tax amount for the Quotation Line. + 0..1 + Quotation Line + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Quotation Line. Document Reference + An association to Document Reference. + 0..n + Quotation Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation Line. Line Item + An association to Line Item. + 1 + Quotation Line + Line Item + Line Item + + + + + + + + + ASBIE + Quotation Line. Seller Proposed Substitute_ Line Item. Line Item + An association to a proposed substitute Line Item. + 0..n + Quotation Line + Seller Proposed Substitute + Line Item + Line Item + + + + + + + + + + + ABIE + Rail Transport. Details + Describes a train. + Rail Transport + + + + + + + + + BBIE + Rail Transport. Train Identifier. Identifier + Identifies a train. + 1 + Rail Transport + Train Identifier + Identifier + Identifier. Type + Train Number (WCO ID 167) + + + + + + + + + BBIE + Rail Transport. Rail Car Identifier. Identifier + Identifies the rail car on the train used for the means of transport. + 0..1 + Rail Transport + Rail Car Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Receipt Line. Details + Information about a Receipt Line. + Receipt Line + + + + + + + + + BBIE + Receipt Line. Identifier + Identifies the Receipt Line. + 1 + Receipt Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Receipt Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Line. Note. Text + Free-form text applying to the Receipt Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Receipt Line + Note + Text + Text. Type + + + + + + + + + BBIE + Receipt Line. Received_ Quantity. Quantity + The quantity received. + 0..1 + Receipt Line + Received + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Short_ Quantity. Quantity + The quantity received short; the difference between the quantity reported despatched and the quantity actually received. + 0..1 + Receipt Line + Short + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Shortage Action Code. Code + The action that the Delivery Party wishes the Despatch Party to take as a result of the shortage, expressed as a code. + 0..1 + Receipt Line + Shortage Action Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Rejected_ Quantity. Quantity + The quantity rejected. + 0..1 + Receipt Line + Rejected + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Reject Reason Code. Code + The reason for rejection, expressed as a code. + 0..1 + Receipt Line + Reject Reason Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Reject_ Reason. Text + The reason for rejection. + 0..1 + Receipt Line + Reject + Reason + Text + Text. Type + + + + + + + + + BBIE + Receipt Line. Reject Action Code. Code + The action that the Delivery Party wishes the Despatch Party to take as a result of the rejection, expressed as a code. + 0..1 + Receipt Line + Reject Action Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Oversupply Quantity. Quantity + The quanitity over-supplied i.e. the quantity over and above that ordered. + 0..1 + Receipt Line + Oversupply Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Received_ Date. Date + The date on which the good/services are received. + 0..1 + Receipt Line + Received + Date + Date + Date. Type + + + + + + + + + BBIE + Receipt Line. Timing Complaint Code. Code + A complaint about the timing of delivery, expressed as a code. + 0..1 + Receipt Line + Timing Complaint Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Timing Complaint. Text + A complaint about the timing of delivery. + 0..1 + Receipt Line + Timing Complaint + Text + Text. Type + + + + + + + + + ASBIE + Receipt Line. Order Line Reference + An association to Order Line Reference. + 0..1 + Receipt Line + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Receipt Line. Despatch_ Line Reference. Line Reference + An associative reference to Despatch Line. + 0..n + Receipt Line + Despatch + Line Reference + Line Reference + + + + + + + + + ASBIE + Receipt Line. Document Reference + An association to Document Reference. + 0..n + Receipt Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Line. Item + An association to Item. + 0..n + Receipt Line + Item + Item + + + + + + + + + ASBIE + Receipt Line. Shipment + An association to Shipment. + 0..n + Receipt Line + Shipment + Shipment + + + + + + + + + + + ABIE + Related Item. Details + Information about the relationship between two items. + Related Item + + + + + + + + + BBIE + Related Item. Identifier + An identifier for the related item. + 0..1 + Related Item + Identifier + Identifier + Identifier. Type + "First", "Second" + + + + + + + + + BBIE + Related Item. Quantity + The quantity that applies to the relationship. + 0..1 + Related Item + Quantity + Quantity + Quantity. Type + "6", "10mg per Kilo" + + + + + + + + + BBIE + Related Item. Description. Text + A description for the relationship. + 0..n + Related Item + Description + Text + Text. Type + "If used in wet conditions or extreme environments" + + + + + + + + + + + ABIE + Reminder Line. Details + Information about a Line on a Reminder document. + Reminder Line + + + + + + + + + BBIE + Reminder Line. Identifier + Identifies the Reminder Line. + 1 + Reminder Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder Line. Note. Text + Free-form text applying to the Reminder Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Reminder Line + Note + Text + Text. Type + + + + + + + + + BBIE + Reminder Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Reminder Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder Line. Balance Brought Forward_ Indicator. Indicator + If true, indicates that the Remonder Line contains a balance brought forward. + 0..1 + Reminder Line + Balance Brought Forward + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Reminder Line. Debit_ Line Amount. Amount + The amount debited on the Reminder Line. + 0..1 + Reminder Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Credit_ Line Amount. Amount + The amount credited on the Reminder Line. + 0..1 + Reminder Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Accounting Cost Code. Code + The buyer's accounting code applied to the Reminder Line. + 0..1 + Reminder Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Reminder Line. Accounting Cost. Text + The buyer's accounting code applied to the Reminder Line, expressed as text. + 0..1 + Reminder Line + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Reminder Line. Reminder_ Period. Period + An association to Period. + 0..n + Reminder Line + Reminder + Period + Period + + + + + + + + + ASBIE + Reminder Line. Billing Reference + An association to Billing Reference + 0..n + Reminder Line + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Reminder Line. Exchange Rate + An association to Exchange Rate (between the Reminder Line Currency and the Related Document currency). + 0..1 + Reminder Line + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Remittance Advice Line. Details + Information about a Line on a Remittance Advice. + Remittance Advice Line + + + + + + + + + BBIE + Remittance Advice Line. Identifier + Identifies the Remittance Advice Line. + 1 + Remittance Advice Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice Line. Note. Text + Free-form text applying to the Remittance Advice Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Remittance Advice Line + Note + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Remittance Advice Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice Line. Debit_ Line Amount. Amount + The amount debited on the Remittance Advice Line. + 0..1 + Remittance Advice Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Credit_ Line Amount. Amount + The amount credited on the Remittance Advice Line. + 0..1 + Remittance Advice Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Balance Amount. Amount + The balance amount on the Remittance Advice Line. + 0..1 + Remittance Advice Line + Balance Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Remittance Advice Line. Accounting_ Supplier Party. Supplier Party + An association to Supplier Accounting Party. + 0..1 + Remittance Advice Line + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice Line. Accounting_ Customer Party. Customer Party + An association to Customer Accounting Party. + 0..1 + Remittance Advice Line + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Buyer_ Customer Party. Customer Party + An association to Buyer. + 0..1 + Remittance Advice Line + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Seller_ Supplier Party. Supplier Party + An association to Seller. + 0..1 + Remittance Advice Line + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice Line. Originator_ Customer Party. Customer Party + An association to Originator. + 0..1 + Remittance Advice Line + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Payee_ Party. Party + An association to Payee. + 0..1 + Remittance Advice Line + Payee + Party + Party + + + + + + + + + ASBIE + Remittance Advice Line. Invoice_ Period. Period + An association to Invoice Period. + 0..n + Remittance Advice Line + Invoice + Period + Period + + + + + + + + + ASBIE + Remittance Advice Line. Billing Reference + An association to Billing Reference. + 0..n + Remittance Advice Line + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Remittance Advice Line. Document Reference + An association to Document Reference. + 0..n + Remittance Advice Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Remittance Advice Line. Exchange Rate + An association to Exchange Rate (between the Remittance Advice Line currency and the Related Document currency). + 0..1 + Remittance Advice Line + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Request For Quotation Line. Details + Information about a Line on a Request For Quotation. + Request For Quotation Line + + + + + + + + + BBIE + Request For Quotation Line. Identifier + Identifies the Request For Quotation Line. + 0..1 + Request For Quotation Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Request For Quotation Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation Line. Note. Text + Free-form text applying to the Request For Quotation Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Request For Quotation Line + Note + Text + Text. Type + + + + + + + + + ASBIE + Request For Quotation Line. Document Reference + An association to Document Reference. + 0..n + Request For Quotation Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation Line. Line Item + An association to Line Item. + 1 + Request For Quotation Line + Line Item + Line Item + + + + + + + + + + + ABIE + Response. Details + Information about responses to a document (at the application level). + Response + + + + + + + + + BBIE + Response. Reference. Identifier + Identifies the section (or line) of the document to which the response applies. + 1 + Response + Reference + Identifier + Identifier. Type + + + + + + + + + BBIE + Response. Response Code. Code + A code for the description of the response to the transaction document. + 0..1 + Response + Response Code + Code + Code. Type + + + + + + + + + BBIE + Response. Description. Text + The description of the response to the transaction document. + 0..n + Response + Description + Text + Text. Type + + + + + + + + + + + ABIE + Road Transport. Details + Describes a road transport vehicle. + Road Transport + + + + + + + + + BBIE + Road Transport. License Plate Identifier. Identifier + Identifies a specific vehicle. + 1 + Road Transport + License Plate Identifier + Identifier + Identifier. Type + Vehicle registration number (WCO ID 167) + + + + + + + + + + + ABIE + Secondary Hazard. Details + Information about Secondary Hazard (related to a Hazardous Item). + Secondary Hazard + + + + + + + + + BBIE + Secondary Hazard. Identifier + Identifies the Secondary Hazard. + 0..1 + Secondary Hazard + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Secondary Hazard. Placard Notation. Text + The placard notation corresponding to the hazard class of the hazardous commodity. Can also be the hazard identification number of the orange placard (upper part) required on the means of transport. + 0..1 + Secondary Hazard + Placard Notation + Text + Text. Type + "5.1" + + + + + + + + + BBIE + Secondary Hazard. Placard Endorsement. Text + The placard endorsement that is to be shown on the shipping papers for the hazardous commodity. Can also be used for the number of the orange placard (lower part) required on the means of transport. + 0..1 + Secondary Hazard + Placard Endorsement + Text + Text. Type + "2" + + + + + + + + + BBIE + Secondary Hazard. Emergency Procedures Code. Code + Emergency procedures for hazardous goods, expressed as a code. + 0..1 + Secondary Hazard + Emergency Procedures Code + Code + Code. Type + EMG code, EMS Page Number + + + + + + + + + BBIE + Secondary Hazard. Extension. Text + Additional information about the hazardous substance. Can be used to specify information such as the type of regulatory requirements that apply to a description. + 0..1 + Secondary Hazard + Extension + Text + Text. Type + "N.O.S. or a Waste Characteristics Code in conjunction with an EPA Waste Stream code" + + + + + + + + + + + ABIE + Shipment. Details + Information about a shipment. + Shipment + Consignment + + + + + + + + + BBIE + Shipment. Identifier + Identifies a shipment. + 1 + Shipment + Identifier + Identifier + Identifier. Type + Waybill Number + + + + + + + + + BBIE + Shipment. Shipping Priority Level. Code + The priority or level of service required for a shipment, expressed as a code. + 0..1 + Shipment + Shipping Priority Level + Code + Code. Type + Service Level, Service Priority + + + + + + + + + BBIE + Shipment. Handling Code. Code + The handling required for a shipment, expressed as a code. + 0..1 + Shipment + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Shipment. Handling_ Instructions. Text + Free-form text describing Handling Instructions for a shipment. + 0..1 + Shipment + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Information. Text + Free-form text applying to a shipment. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Shipment + Information + Text + Text. Type + + + + + + + + + BBIE + Shipment. Gross_ Weight. Measure + The total gross weight of a shipment; the weight of the goods plus packaging plus transport equipment. + 0..1 + Shipment + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net_ Weight. Measure + The total net weight of a shipment; the weight of the goods plus packaging. + 0..1 + Shipment + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net Net_ Weight. Measure + The weight of the goods net of packaging and transport equipment. + 0..1 + Shipment + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Gross_ Volume. Measure + The total volume of the goods in a shipment plus packaging. + 0..1 + Shipment + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net_ Volume. Measure + The volume of a shipment net of packaging and transport equipment. + 0..1 + Shipment + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Total_ Goods Item Quantity. Quantity + Count of the total number of goods items within a shipment. + 0..1 + Shipment + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Shipment. Total_ Transport Handling Unit Quantity. Quantity + Count of the number of pieces of transport handling equipment in a shipment, such as pallets, boxes, and cases. + 0..1 + Shipment + Total + Transport Handling Unit Quantity + Quantity + Quantity. Type + Number of THUs + + + + + + + + + BBIE + Shipment. Insurance_ Value. Amount + The total sum covered by an insurance for the shipment. + 0..1 + Shipment + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Shipment. Declared Customs_ Value. Amount + Amount declared for customs purposes of those goods in a shipment which are subject to the same customs procedure, and have the same tariff/statistical heading, country information, and duty regime. + 0..1 + Shipment + Declared Customs + Value + Amount + Amount. Type + + + + + + + + + BBIE + Shipment. Declared For Carriage_ Value. Amount + Value, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Shipment + Declared For Carriage + Value + Amount + Amount. Type + Declared value for carriage, Interest in delivery + + + + + + + + + BBIE + Shipment. Declared Statistics_ Value. Amount + Value declared for statistical purposes of those goods in a consignment which have the same statistical heading. + 0..1 + Shipment + Declared Statistics + Value + Amount + Amount. Type + Statistical Value + + + + + + + + + BBIE + Shipment. Free On Board_ Value. Amount + Monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Shipment + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Shipment. Special_ Instructions. Text + Special instructions relating to a shipment. + 0..n + Shipment + Special + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Delivery_ Instructions. Text + Delivery instructions relating to a shipment. + 0..n + Shipment + Delivery + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Split Consignment_ Indicator. Indicator + Indicates whether the consignment has been split in transit. + 0..1 + Shipment + Split Consignment + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Shipment. Consignment + An association to Consignment covering the shipment. + 1 + Shipment + Consignment + Consignment + + + + + + + + + ASBIE + Shipment. Goods Item + An association to Goods Item (for Bulk Goods). + 0..n + Shipment + Goods Item + Goods Item + + + + + + + + + ASBIE + Shipment. Shipment Stage + An association to Shipment Stage. + 0..n + Shipment + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Shipment. Delivery + An association to Delivery. + 0..1 + Shipment + Delivery + Delivery + + + + + + + + + ASBIE + Shipment. Transport Handling Unit + An association to Transport Handling Unit used for loose and containerized goods. + 0..n + Shipment + Transport Handling Unit + Transport Handling Unit + + + + + + + + + ASBIE + Shipment. Origin_ Address. Address + An association to the region in which the goods have been produced or manufactured, according to criteria laid down for the purposes of application of the Customs tariff, or quantitative restrictions, or of any other measure related to trade. + 0..1 + Shipment + Origin + Address + Address + + + + + + + + + ASBIE + Shipment. First Arrival Port_ Location. Location + Identifies the first arrival location. This would be a port for sea, airport for air, and border post for land crossing. + 0..1 + Shipment + First Arrival Port + Location + Location + + + + + + + + + ASBIE + Shipment. Last Exit Port_ Location. Location + Identifies the final exporting location. This would be a port for sea, airport for air, and border post for land crossing. + 0..1 + Shipment + Last Exit Port + Location + Location + + + + + + + + + ASBIE + Shipment. Export_ Country. Country + Identifies the country from which the goods are originally exported without any commercial transaction taking place in intermediate countries. + 0..1 + Shipment + Export + Country + Country + + + + + + + + + ASBIE + Shipment. Freight_ Allowance Charge. Allowance Charge + Costs incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance (to the extent that they relate to the freight costs). + 0..n + Shipment + Freight + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Shipment Stage. Details + Information about a shipment stage. + Shipment Stage + + + + + + + + + BBIE + Shipment Stage. Identifier + Identifies a shipment stage. + 0..1 + Shipment Stage + Identifier + Identifier + Identifier. Type + "1","2", etc.. + + + + + + + + + BBIE + Shipment Stage. Transport Mode Code. Code + The method of transport used for a shipment stage. + 0..1 + Shipment Stage + Transport Mode Code + Code + Transport Mode_ Code. Type + + + + + + + + + BBIE + Shipment Stage. Transport Means Type Code. Code + The type of vehicle used for a shipment stage. + 0..1 + Shipment Stage + Transport Means Type Code + Code + Code. Type + + + + + + + + + BBIE + Shipment Stage. Transit_ Direction Code. Code + The direction of transit for a shipment stage. + 0..1 + Shipment Stage + Transit + Direction Code + Code + Code. Type + + + + + + + + + BBIE + Shipment Stage. Pre Carriage_ Indicator. Indicator + Indicates whether the stage is before the main carriage of the shipment. + 1 + Shipment Stage + Pre Carriage + Indicator + Indicator + Indicator. Type + Truck delivery to wharf + + + + + + + + + BBIE + Shipment Stage. On Carriage_ Indicator. Indicator + Indicates whether the stage is after the main carriage of the shipment. + 1 + Shipment Stage + On Carriage + Indicator + Indicator + Indicator. Type + Truck delivery from wharf + + + + + + + + + ASBIE + Shipment Stage. Transit_ Period. Period + An association to Transit Period. + 0..1 + Shipment Stage + Transit + Period + Period + + + + + + + + + ASBIE + Shipment Stage. Carrier_ Party. Party + An association to Carrier. + 0..n + Shipment Stage + Carrier + Party + Party + + + + + + + + + ASBIE + Shipment Stage. Transport Means + An association to the means of transport. + 0..1 + Shipment Stage + Transport Means + Transport Means + + + + + + + + + ASBIE + Shipment Stage. Loading Port_ Location. Location + An association to the port location of loading. + 0..1 + Shipment Stage + Loading Port + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Unloading Port_ Location. Location + An association to the port location of unloading. + 0..1 + Shipment Stage + Unloading Port + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Transship Port_ Location. Location + An association to the port location of transshipment. + 0..1 + Shipment Stage + Transship Port + Location + Location + + + + + + + + + + + ABIE + Signature. Details + Information about signature. A placeholder for signature. + Signature + + + + + + + + + BBIE + Signature. Identifier + An identifier for the Signature. + 1 + Signature + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature. Note. Text + Free form text about the signature or the circumstances where the signature has been used. + 0..1 + Signature + Note + Text + Text. Type + + + + + + + + + BBIE + Signature. Validation Date. Date + Specifies the date when the signature was approved. + 0..1 + Signature + Validation Date + Date + Date. Type + + + + + + + + + BBIE + Signature. Validation Time. Time + Specifies the time when the signature was approved. + 0..1 + Signature + Validation Time + Time + Time. Type + + + + + + + + + BBIE + Signature. Validator Identifier. Identifier + Identifies the organization, person, service or server that has validated the signature. + 0..1 + Signature + Validator Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature. Canonicalization Method. Text + The mathematical logic method used by the Signature. + 0..1 + Signature + Canonicalization Method + Text + Text. Type + + + + + + + + + BBIE + Signature. Signature Method. Text + The method of signature. + 0..1 + Signature + Signature Method + Text + Text. Type + + + + + + + + + ASBIE + Signature. Signatory_ Party. Party + An association to the signing Party. + 1 + Signature + Signatory + Party + Party + + + + + + + + + ASBIE + Signature. Digital Signature_ Attachment. Attachment + Refers to the actual encoded signature (e.g., in XMLDSIG format). + 0..1 + Signature + Digital Signature + Attachment + Attachment + + + + + + + + + ASBIE + Signature. Original_ Document Reference. Document Reference + A reference to the actual document that the signature applies to. For evidentiary purposes, this may be the document image that the signatory party saw when applying their signature. + 0..1 + Signature + Original + Document Reference + Document Reference + + + + + + + + + + + ABIE + Statement Line. Details + Information about a Line on a Statement of Account. + Statement Line + + + + + + + + + BBIE + Statement Line. Identifier + Identifies the Statement Line. + 1 + Statement Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement Line. Note. Text + Free-form text applying to the Statement Line. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..1 + Statement Line + Note + Text + Text. Type + + + + + + + + + BBIE + Statement Line. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Statement Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement Line. Balance Brought Forward_ Indicator. Indicator + If true, indicates that the Statement Line contains a balance brought forward. + 0..1 + Statement Line + Balance Brought Forward + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Statement Line. Debit_ Line Amount. Amount + The amount debited on the Statement Line. + 0..1 + Statement Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Credit_ Line Amount. Amount + The amount credited on the Statement Line. + 0..1 + Statement Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Balance Amount. Amount + The balance amount on the Statement Line. + 0..1 + Statement Line + Balance Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Statement Line. Payment Means + An association to Payment Means. + 0..1 + Statement Line + Payment Means + Payment Means + + + + + + + + + ASBIE + Statement Line. Payment Terms + An association to Payment Terms. + 0..n + Statement Line + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Statement Line. Buyer_ Customer Party. Customer Party + An association to Buyer. + 0..1 + Statement Line + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Seller_ Supplier Party. Supplier Party + An association to Seller. + 0..1 + Statement Line + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement Line. Originator_ Customer Party. Customer Party + An association to Originator. + 0..1 + Statement Line + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Accounting_ Customer Party. Customer Party + An association to Accounting Customer Party. + 0..1 + Statement Line + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Accounting_ Supplier Party. Supplier Party + An association to Accounting Supplier Party. + 0..1 + Statement Line + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement Line. Payee_ Party. Party + An association to Payee. + 0..1 + Statement Line + Payee + Party + Party + + + + + + + + + ASBIE + Statement Line. Invoice_ Period. Period + An association to Invoice Period. + 0..n + Statement Line + Invoice + Period + Period + + + + + + + + + ASBIE + Statement Line. Billing Reference + An association to Billing Reference. + 0..n + Statement Line + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Statement Line. Document Reference + An association to Document Reference. + 0..n + Statement Line + Document Reference + Document Reference + + + + + + + + + ASBIE + Statement Line. Exchange Rate + An association to Exchange Rate (between the Statement Line currency and the Related Document Currency). + 0..1 + Statement Line + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Status. Details + The information relevant to a condition or a position of an object. + Status + + + + + + + + + BBIE + Status. Condition Code. Code + A code specifying the status condition of the related object. + 0..1 + Status + Condition Code + Code + Transportation Status_ Code. Type + UN/ECE Rec 24 + + + + + + + + + BBIE + Status. Reference_ Date. Date + A reference date value for this status. + 0..1 + Status + Reference + Date + Date + Date. Type + + + + + + + + + BBIE + Status. Reference_ Time. Time + A reference time value for this status. + 0..1 + Status + Reference + Time + Time + Time. Type + + + + + + + + + BBIE + Status. Description. Text + A textual description of this status. + 0..1 + Status + Description + Text + Text. Type + + + + + + + + + BBIE + Status. Status Reason Code. Code + A code specifying a reason for a status condition. + 0..1 + Status + Status Reason Code + Code + Code. Type + + + + + + + + + BBIE + Status. Status_ Reason. Text + The reason, expressed as text, for this status condition or position. + 0..1 + Status + Status + Reason + Text + Text. Type + + + + + + + + + BBIE + Status. Sequence. Identifier + A unique identifier of the sequence of this status. + 0..1 + Status + Sequence + Identifier + Identifier. Type + + + + + + + + + BBIE + Status. Text + Provides any textual information related to this status. + 0..1 + Status + Text + Text + Text. Type + + + + + + + + + BBIE + Status. Indication_ Indicator. Indicator + Specifies an indicator relevant to a specific status. + 0..1 + Status + Indication + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Status. Percent + Specifies a percentage relevant to a specific status. + 0..1 + Status + Percent + Percent + Percent. Type + + + + + + + + + + + ABIE + Stowage. Details + A location on board a means of transport where specified goods or transport equipment have been or are to be stowed. + Stowage + + + + + + + + + BBIE + Stowage. Location Identifier. Identifier + Identifies a location on board a means of transport where specified goods or transport equipment have been or are to be stowed. + 0..1 + Stowage + Location Identifier + Identifier + Identifier. Type + Cell Location, coded + + + + + + + + + BBIE + Stowage. Location. Text + Describes a location on board a means of transport where specified goods or transport equipment have been or are to be stowed. + 0..n + Stowage + Location + Text + Text. Type + Cell Location + + + + + + + + + ASBIE + Stowage. Measurement_ Dimension. Dimension + Associates any measurements (including lengths, mass, and volume) for this stowage. + 0..n + Stowage + Measurement + Dimension + Dimension + + + + + + + + + + + ABIE + Supplier Party. Details + Information about the Supplier Party. + Supplier Party + + + + + + + + + BBIE + Supplier Party. Customer Assigned_ Account Identifier. Identifier + The customer's internal identifier for the supplier. + 0..1 + Supplier Party + Customer Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Supplier Party. Additional_ Account Identifier. Identifier + The customer's internal identifier for the supplier. + 0..n + Supplier Party + Additional + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Supplier Party. Data Sending Capability. Text + Capability to send invoice data via the purchase card provider (VISA/MasterCard/American Express). + 0..1 + Supplier Party + Data Sending Capability + Text + Text. Type + The customer's internal identifier for the supplier. + + + + + + + + + ASBIE + Supplier Party. Party + An association to Party. + 0..1 + Supplier Party + Party + Party + + + + + + + + + ASBIE + Supplier Party. Despatch_ Contact. Contact + An association to Despatch Contact. + 0..1 + Supplier Party + Despatch + Contact + Contact + + + + + + + + + ASBIE + Supplier Party. Accounting_ Contact. Contact + An association to Supplier Accounting Contact. + 0..1 + Supplier Party + Accounting + Contact + Contact + + + + + + + + + ASBIE + Supplier Party. Seller_ Contact. Contact + An association to Seller. + 0..1 + Supplier Party + Seller + Contact + Contact + + + + + + + + + + + ABIE + Tax Category. Details + Information about a tax category. + Tax Category + + + + + + + + + BBIE + Tax Category. Identifier + Identifies the tax category. + 0..1 + Tax Category + Identifier + Identifier + Identifier. Type + "ZeroRatedGoods" "NotTaxable" "Standard Rate" + + + + + + + + + BBIE + Tax Category. Name + The name of the tax category. + 0..1 + Tax Category + Name + Name + Name. Type + "Luxury Goods","Wine Equalization", "Exempt" + + + + + + + + + BBIE + Tax Category. Percent + The tax rate for the category, expressed as a percentage. + 0..1 + Tax Category + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Tax Category. Base Unit Measure. Measure + Where a tax is applied at a certain rate per unit, the measure of units on which the tax calculation is based. + 0..1 + Tax Category + Base Unit Measure + Measure + Measure. Type + + + + + + + + + BBIE + Tax Category. Per Unit_ Amount. Amount + Where a tax is applied at a certain rate per unit, the rate per unit applied. + 0..1 + Tax Category + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Category. Tax Exemption Reason Code. Code + The reason for tax being exempted expressed as a code. + 0..1 + Tax Category + Tax Exemption Reason Code + Code + Code. Type + + + + + + + + + BBIE + Tax Category. Tax Exemption Reason. Text + The reason for tax being exempted. + 0..1 + Tax Category + Tax Exemption Reason + Text + Text. Type + + + + + + + + + BBIE + Tax Category. Tier Range. Text + Where a tax is tiered, the range of tiers applied in the calculation of the tax subtotal for the tax category. + 0..1 + Tax Category + Tier Range + Text + Text. Type + + + + + + + + + BBIE + Tax Category. Tier Rate. Percent + Where a tax is tiered, the rate of tax applied to the range of tiers in the calculation of the tax subtotal for the tax category. + 0..1 + Tax Category + Tier Rate + Percent + Percent. Type + + + + + + + + + ASBIE + Tax Category. Tax Scheme + An association to Tax Scheme. + 1 + Tax Category + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Tax Scheme. Details + Information about a tax scheme. + Tax Scheme + + + + + + + + + BBIE + Tax Scheme. Identifier + Identifies the tax scheme. + 0..1 + Tax Scheme + Identifier + Identifier + Identifier. Type + "VAT", "GST" + + + + + + + + + BBIE + Tax Scheme. Name + The name of the tax scheme. + 0..1 + Tax Scheme + Name + Name + Name. Type + "Value Added Tax", "Wholesale Tax", "Sales Tax", "State Tax" + + + + + + + + + BBIE + Tax Scheme. Tax Type Code. Code + An identifier for the tax type. + 0..1 + Tax Scheme + Tax Type Code + Code + Code. Type + "Consumption", "Sales" + + + + + + + + + BBIE + Tax Scheme. Currency Code. Code + The currency in which the tax is collected and reported, expressed as a code. + 0..1 + Tax Scheme + Currency Code + Code + Currency_ Code. Type + + + + + + + + + ASBIE + Tax Scheme. Jurisdiction Region_ Address. Address + An association with Address (of taxation jurisdiction). + 0..n + Tax Scheme + Jurisdiction Region + Address + Address + + + + + + + + + + + ABIE + Tax Subtotal. Details + Information about the subtotal for a particular tax category within a tax scheme, such as standard rate within VAT. + Tax Subtotal + + + + + + + + + BBIE + Tax Subtotal. Taxable_ Amount. Amount + The net amount to which the tax percent (rate) is applied to calculate the tax amount. + 0..1 + Tax Subtotal + Taxable + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Tax Amount. Amount + The amount of tax stated explicitly. + 1 + Tax Subtotal + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Calculation Sequence. Numeric + Identifies the numerical order sequence in which taxes are applied when multiple taxes are attracted. If all taxes apply to the same taxable amount, CalculationSequenceNumeric will be '1' for all taxes. + 0..1 + Tax Subtotal + Calculation Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Tax Subtotal. Transaction Currency_ Tax Amount. Amount + The tax amount, expressed in the currency used for invoicing. + 0..1 + Tax Subtotal + Transaction Currency + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Percent + The tax rate for the category, expressed as a percentage. + 0..1 + Tax Subtotal + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Tax Subtotal. Base Unit Measure. Measure + Where a tax is applied at a certain rate per unit, the measure of units on which the tax calculation is based. + 0..1 + Tax Subtotal + Base Unit Measure + Measure + Measure. Type + + + + + + + + + BBIE + Tax Subtotal. Per Unit_ Amount. Amount + Where a tax is applied at a certain rate per unit, the rate per unit applied. + 0..1 + Tax Subtotal + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Tier Range. Text + Where a tax is tiered, the range of tiers applied in the calculation of the tax subtotal for the tax category. + 0..1 + Tax Subtotal + Tier Range + Text + Text. Type + + + + + + + + + BBIE + Tax Subtotal. Tier Rate. Percent + Where a tax is tiered, the rate of tax applied to the range of tiers in the calculation of the tax subtotal for the tax category. + 0..1 + Tax Subtotal + Tier Rate + Percent + Percent. Type + + + + + + + + + ASBIE + Tax Subtotal. Tax Category + An association to Tax Category. + 1 + Tax Subtotal + Tax Category + Tax Category + + + + + + + + + + + ABIE + Tax Total. Details + Information about a total amount of a particular type of tax. + Tax Total + + + + + + + + + BBIE + Tax Total. Tax Amount. Amount + The total tax amount for particular tax scheme e.g. VAT; the sum of each of the tax subtotals for each tax category within the tax scheme. + 1 + Tax Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Total. Rounding Amount. Amount + The rounding amount (positive or negative) added to the calculated tax total to produce the rounded TotalTaxAmount. + 0..1 + Tax Total + Rounding Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Total. Tax Evidence_ Indicator. Indicator + An indicator as to whether these totals are recognized as legal evidence for taxation purposes. + 0..1 + Tax Total + Tax Evidence + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + ASBIE + Tax Total. Tax Subtotal + An association to Tax Subtotal. + 0..n + Tax Total + Tax Subtotal + Tax Subtotal + + + + + + + + + + + ABIE + Temperature. Details + Information about temperature. + Temperature + + + + + + + + + BBIE + Temperature. Attribute Identifier. Identifier + An identifier for temperature. + 1 + Temperature + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Temperature. Measure + The temperature measurement value. + 1 + Temperature + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Temperature. Description. Text + A description of the temperature measurement. + 0..n + Temperature + Description + Text + Text. Type + "at sea level" + + + + + + + + + + + ABIE + Trading Terms. Details + Information about the terms of a trade agreement. + Trading Terms + + + + + + + + + BBIE + Trading Terms. Information. Text + The terms in text. + 0..n + Trading Terms + Information + Text + Text. Type + "Unless credit terms have been expressly agreed by Dell, payment for the products or services shall be made in full before physical delivery of products or services. Customer shall pay for all shipping and handling charges." + + + + + + + + + BBIE + Trading Terms. Reference. Text + A reference to the terms. + 0..1 + Trading Terms + Reference + Text + Text. Type + http://www1.ap.dell.com/content/topics/topic.aspx/ap/policy/en/au/sales_terms_au?c=au&l=en&s=gen + + + + + + + + + ASBIE + Trading Terms. Applicable_ Address. Address + An association to Address. + 0..1 + Trading Terms + Applicable + Address + Address + + + + + + + + + + + ABIE + Transaction Conditions. Details + Information about purchasing, sales, or payment conditions. + Transaction Conditions + Payment Conditions, Sales Conditions + + + + + + + + + BBIE + Transaction Conditions. Identifier + Identifies conditions of the transaction, typically Purchase/Sales Conditions. + 0..1 + Transaction Conditions + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transaction Conditions. Action Code. Code + An action relating to sales or payment conditions, expressed as a code. + 0..1 + Transaction Conditions + Action Code + Code + Code. Type + + + + + + + + + BBIE + Transaction Conditions. Description. Text + The description of the transaction conditions. + 0..n + Transaction Conditions + Description + Text + Text. Type + + + + + + + + + ASBIE + Transaction Conditions. Document Reference + An association to Document Reference. + 0..n + Transaction Conditions + Document Reference + Document Reference + + + + + + + + + + + ABIE + Transportation Service. Details + Transport service details. + Transportation Service + + + + + + + + + BBIE + Transportation Service. Transport Service Code. Code + A code which describes the general type of service required for the transportation of goods. Specifically, it identifies the extent of the transportation service, e.g., door-to-door, port-to-port. + 1 + Transportation Service + Transport Service Code + Code + Code. Type + + + + + + + + + BBIE + Transportation Service. Tariff Class Code. Code + Specification of a tariff class applicable to a transportation service. + 0..1 + Transportation Service + Tariff Class Code + Code + Code. Type + Tariff Class Specifier + + + + + + + + + BBIE + Transportation Service. Priority. Text + Statement indicating priority of requested transportation service. + 0..1 + Transportation Service + Priority + Text + Text. Type + + + + + + + + + BBIE + Transportation Service. Freight Rate Class Code. Code + Code to indicate applicable rate class for freight. + 0..1 + Transportation Service + Freight Rate Class Code + Code + Code. Type + Charge Basis + + + + + + + + + + + ABIE + Transport Equipment. Details + Information about Transport Equipment; a piece of equipment used to transport goods. + Transport Equipment + Shipping Container, Sea Container, Rail Wagon, Pallet, Trailer, Unit Load Device, ULD + + + + + + + + + BBIE + Transport Equipment. Identifier + Identifies the transport equipment. + 0..1 + Transport Equipment + Identifier + Identifier + Identifier. Type + "OCLU 1234567" + + + + + + + + + BBIE + Transport Equipment. Transport Equipment Type Code. Code + Identifies the type of provider of the transport equipment. + 0..1 + Transport Equipment + Transport Equipment Type Code + Code + Transport Equipment Type_ Code. Type + + + + + + + + + BBIE + Transport Equipment. Provider Type Code. Code + Identifies the type of provider of the transport equipment. + 0..1 + Transport Equipment + Provider Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Owner Type Code. Code + Identifies the type of owner of a piece of transport equipment. + 0..1 + Transport Equipment + Owner Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Size Type Code. Code + The size and type of a piece of transport equipment, expressed as a code. When the transport equipment is a shipping container, it is recommended to use ContainerSizeTypeCode for validation. + 0..1 + Transport Equipment + Size Type Code + Code + Code. Type + Container Size Type Code + + + + + + + + + BBIE + Transport Equipment. Disposition Code. Code + The current disposition of the transport equipment, expressed as a code. + 0..1 + Transport Equipment + Disposition Code + Code + Code. Type + Status + + + + + + + + + BBIE + Transport Equipment. Fullness Indication Code. Code + A code indicating whether a piece of transport equipment is full, partially full, or empty. + 0..1 + Transport Equipment + Fullness Indication Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Refrigeration On_ Indicator. Indicator + Indicates whether the transport equipment's refrigeration is on (true) or off (false). + 0..1 + Transport Equipment + Refrigeration On + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Information. Text + Additional information about the transport equipment. + 0..1 + Transport Equipment + Information + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Returnability_ Indicator. Indicator + Indicates whether a particular item of transport equipment is returnable. + 0..1 + Transport Equipment + Returnability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Legal Status_ Indicator. Indicator + Legal status of the transport equipment with respect to the Container Convention code. + 0..1 + Transport Equipment + Legal Status + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Transport Equipment. Measurement_ Dimension. Dimension + An association to Dimension. + 0..n + Transport Equipment + Measurement + Dimension + Dimension + + + + + + + + + ASBIE + Transport Equipment. Transport Equipment Seal + An association to Transport Equipment Seal. + 0..n + Transport Equipment + Transport Equipment Seal + Transport Equipment Seal + + + + + + + + + ASBIE + Transport Equipment. Minimum_ Temperature. Temperature + The minimum required operating temperature for the container (reefer). + 0..1 + Transport Equipment + Minimum + Temperature + Temperature + + + + + + + + + ASBIE + Transport Equipment. Maximum_ Temperature. Temperature + The maximum required operating temperature for the container (reefer). + 0..1 + Transport Equipment + Maximum + Temperature + Temperature + + + + + + + + + ASBIE + Transport Equipment. Provider_ Party. Party + The party that provides the transport equipment. + 0..1 + Transport Equipment + Provider + Party + Party + + + + + + + + + ASBIE + Transport Equipment. Loading Proof_ Party. Party + The authorized party responsible for certifying that the goods were loaded into the transport equipment. + 0..1 + Transport Equipment + Loading Proof + Party + Party + + + + + + + + + ASBIE + Transport Equipment. Loading_ Location. Location + Identifies the location where the goods are loaded into the transport equipment. + 0..1 + Transport Equipment + Loading + Location + Location + + + + + + + + + + + ABIE + Transport Equipment Seal. Details + Information about a transport equipment seal (a security device attached to the doors of a shipping container). + Transport Equipment Seal + Container Seal + + + + + + + + + BBIE + Transport Equipment Seal. Identifier + Identifies the seal. + 1 + Transport Equipment Seal + Identifier + Identifier + Identifier. Type + "ACS1234" + + + + + + + + + BBIE + Transport Equipment Seal. Seal Issuer Type Code. Code + The type of party that issues and is responsible for a seal, expressed as a code. + 0..1 + Transport Equipment Seal + Seal Issuer Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment Seal. Condition. Text + Information about the condition of a seal. + 0..1 + Transport Equipment Seal + Condition + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment Seal. Seal Status Code. Code + The status of a seal, expressed as a code. + 0..1 + Transport Equipment Seal + Seal Status Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment Seal. Sealing Party Type. Text + Textual description of the role of a sealing party. + 0..1 + Transport Equipment Seal + Sealing Party Type + Text + Text. Type + Sealing Party + + + + + + + + + + + ABIE + Transport Event. Details + A significant occurrence or happening related to the transportation of goods. + Transport Event + + + + + + + + + BBIE + Transport Event. Identification. Identifier + An identifier for the event. + 0..1 + Transport Event + Identification + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Event. Occurrence Date. Date + The date of an occurrence of the event. + 0..1 + Transport Event + Occurrence Date + Date + Date. Type + + + + + + + + + BBIE + Transport Event. Occurrence Time. Time + The time of an occurrence of the event. + 0..1 + Transport Event + Occurrence Time + Time + Time. Type + + + + + + + + + BBIE + Transport Event. Transport Event Type Code. Code + A code specifying the type of event. + 0..1 + Transport Event + Transport Event Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Event. Description. Text + A textual description of the event. + 0..1 + Transport Event + Description + Text + Text. Type + + + + + + + + + BBIE + Transport Event. Completion_ Indicator. Indicator + Indicates if this event is completed. + 0..1 + Transport Event + Completion + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Transport Event. Reported_ Shipment. Shipment + Information about the separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport. + 0..1 + Transport Event + Reported + Shipment + Shipment + + + + + + + + + ASBIE + Transport Event. Current_ Status. Status + The status of the event. + 1..n + Transport Event + Current + Status + Status + + + + + + + + + ASBIE + Transport Event. Contact + Any contacts for the event. + 0..n + Transport Event + Contact + Contact + + + + + + + + + + + ABIE + Transport Handling Unit. Details + A uniquely identifiable physical unit consisting of one or more packages (not necessarily containing the same articles) for enabling physical handling during the transport process. + Transport Handling Unit + Logistics Unit, Handling Unit, THU + + + + + + + + + BBIE + Transport Handling Unit. Identifier + Identifies the transport handling unit. + 0..1 + Transport Handling Unit + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Handling Unit. Transport Handling Unit Type Code. Code + The type of transport handling unit, expressed as a code. + 0..1 + Transport Handling Unit + Transport Handling Unit Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Handling Unit. Handling Code. Code + The handling required for a shipment, expressed as a code. + 0..1 + Transport Handling Unit + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Transport Handling Unit. Handling_ Instructions. Text + Free-form text describing handling instructions for a shipment. + 0..1 + Transport Handling Unit + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Transport Handling Unit. Hazardous Risk_ Indicator. Indicator + Indicates whether the shipment contains hazardous materials. + 0..1 + Transport Handling Unit + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Transport Handling Unit. Total_ Goods Item Quantity. Quantity + The total number of goods items in the transport handling unit. + 0..1 + Transport Handling Unit + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Transport Handling Unit. Total_ Package Quantity. Quantity + The total number of packages in the transport handling unit. + 0..1 + Transport Handling Unit + Total + Package Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Transport Handling Unit. Damage_ Remarks. Text + Description of a type of damage. + 0..n + Transport Handling Unit + Damage + Remarks + Text + Text. Type + + + + + + + + + BBIE + Transport Handling Unit. Shipping_ Marks. Text + Free-form description of the marks and numbers on a transport unit or package. + 0..n + Transport Handling Unit + Shipping + Marks + Text + Text. Type + Marks and Numbers, Shipping Marks + + + + + + + + + ASBIE + Transport Handling Unit. Handling Unit_ Despatch Line. Despatch Line + An association to Handling Unit Despatch Line. + 0..n + Transport Handling Unit + Handling Unit + Despatch Line + Despatch Line + + + + + + + + + ASBIE + Transport Handling Unit. Actual_ Package. Package + An association to Actual Package. + 0..n + Transport Handling Unit + Actual + Package + Package + + + + + + + + + ASBIE + Transport Handling Unit. Received Handling Unit_ Receipt Line. Receipt Line + An association to Receipt Line. + 0..n + Transport Handling Unit + Received Handling Unit + Receipt Line + Receipt Line + + + + + + + + + ASBIE + Transport Handling Unit. Transport Equipment + An association to Transport Equipment. + 0..n + Transport Handling Unit + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transport Handling Unit. Hazardous Goods Transit + An association to information about the transportation of hazardous goods. + 0..n + Transport Handling Unit + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Transport Handling Unit. Measurement_ Dimension. Dimension + An association to Dimension. + 0..n + Transport Handling Unit + Measurement + Dimension + Dimension + + + + + + + + + ASBIE + Transport Handling Unit. Minimum_ Temperature. Temperature + The minimum required operating temperature. + 0..1 + Transport Handling Unit + Minimum + Temperature + Temperature + + + + + + + + + ASBIE + Transport Handling Unit. Maximum_ Temperature. Temperature + The maximum required operating temperature. + 0..1 + Transport Handling Unit + Maximum + Temperature + Temperature + + + + + + + + + + + ABIE + Transport Means. Details + The particular vehicle used for the transport of goods or persons. + Transport Means + Conveyance + + + + + + + + + BBIE + Transport Means. Journey Identifier. Identifier + An identifier assigned to a regularly scheduled service of a means of transport. + 0..1 + Transport Means + Journey Identifier + Identifier + Identifier. Type + Voyage Number, Scheduled Conveyance Identifier (WCO ID 205), Flight Number + + + + + + + + + BBIE + Transport Means. Registration_ Nationality Identifier. Identifier + Formal identification of the country in which a means of transport is registered. + 0..1 + Transport Means + Registration + Nationality Identifier + Identifier + Identifier. Type + Nationality of Means of Transport (WCO 175, 178 and 179) + "LIB" + + + + + + + + + BBIE + Transport Means. Registration_ Nationality. Text + Name of the country in which a means of transport is registered. + 0..n + Transport Means + Registration + Nationality + Text + Text. Type + Flag of Vessel, Nationality of Ship + Liberia + + + + + + + + + BBIE + Transport Means. Direction Code. Code + The direction of the transport means. + 0..1 + Transport Means + Direction Code + Code + Code. Type + Transit Direction + "North","East" + + + + + + + + + ASBIE + Transport Means. Stowage + Association to a location on board a means of transport where specified goods or transport equipment have been or are to be stowed. + 0..1 + Transport Means + Stowage + Stowage + + + + + + + + + ASBIE + Transport Means. Air Transport + Association to identify an aircraft. + 0..1 + Transport Means + Air Transport + Air Transport + + + + + + + + + ASBIE + Transport Means. Road Transport + Association to identify a road vehicle. + 0..1 + Transport Means + Road Transport + Road Transport + + + + + + + + + ASBIE + Transport Means. Rail Transport + Association to identify a train. + 0..1 + Transport Means + Rail Transport + Rail Transport + + + + + + + + + ASBIE + Transport Means. Maritime Transport + Association to identify a ship. + 0..1 + Transport Means + Maritime Transport + Maritime Transport + + + + + + + + + ASBIE + Transport Means. Owner_ Party. Party + Association to the party owning the means of transport. + 0..1 + Transport Means + Owner + Party + Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonBasicComponents-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonBasicComponents-2.0.xsd new file mode 100644 index 0000000..b574967 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonBasicComponents-2.0.xsd @@ -0,0 +1,2922 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonExtensionComponents-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonExtensionComponents-2.0.xsd new file mode 100644 index 0000000..0fac3b4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CommonExtensionComponents-2.0.xsd @@ -0,0 +1,240 @@ + + + + + + + + + + + + + + + A container for all extensions present in the document. + + + + + + + A container for all extensions present in the document. + + + + + + + A single extension for private use. + + + + + + + + + A single extension for private use. + + + + + + + A single extension for private use. + + + + + + + + BBIE + Extension. Identifier + + An identifier for the Extension assigned by the creator of the extension. + 0..1 + Extension + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Extension. Name + + A name for the Extension assigned by the creator of the extension. + 0..1 + Extension + Name + Name + Name. Type + + + + + + + + An agency that maintains one or more Extensions. + + + + + + + The name of the agency that maintains the Extension. + + + + + + + The version of the Extension. + + + + + + + A URI for the Agency that maintains the Extension. + + + + + + + A URI for the Extension. + + + + + + + A code for reason the Extension is being included. + + + + + + + A description of the reason for the Extension. + + + + + + + The definition of the extension content. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CoreComponentParameters-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CoreComponentParameters-2.0.xsd new file mode 100644 index 0000000..0b9e56f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-CoreComponentParameters-2.0.xsd @@ -0,0 +1,64 @@ + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-ExtensionContentDatatype-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-ExtensionContentDatatype-2.0.xsd new file mode 100644 index 0000000..6944f0b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-ExtensionContentDatatype-2.0.xsd @@ -0,0 +1,73 @@ + + + + + + + + + + + + The definition of the extension content. + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-QualifiedDatatypes-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-QualifiedDatatypes-2.0.xsd new file mode 100644 index 0000000..7a61f87 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UBL-QualifiedDatatypes-2.0.xsd @@ -0,0 +1,1955 @@ + + + + + + + + + + + + Allowance Charge Reason_ Code. Type + 2.0 + The set of possible reasons for an allowance or charge. + Code + Allowance Charge Reason + + Used under the terms of the UNECE policy stated at http://www.unece.org/ece_legal.htm. + + + + + + + + + Allowance Charge Reason_ Code List. Identifier + + String + + + + + + + Allowance Charge Reason_ Code List. Agency. Identifier + Defaults to the UN/EDIFACT data element 3055 code list. + String + + + + + + + Allowance Charge Reason_ Code List. Agency Name. Text + + String + + + + + + + Allowance Charge Reason_ Code List. Name. Text + + String + + + + + + + Allowance Charge Reason_ Code List. Version. Identifier + Identifies the Directory of the UN/EDIFACT code list. + String + + + + + + + Allowance Charge Reason_ Code. Name. Text + + String + + + + + + + Allowance Charge Reason_ Language. Identifier + + String + + + + + + + Allowance Charge Reason_ Code List. Uniform Resource. Identifier + + String + + + + + + + Allowance Charge Reason_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Channel_ Code. Type + 2.0 + The set of possible ways in which communication can be made (eg. Phone, email, etc). + Code + Channel + + Used under the terms of the UNECE policy stated at http://www.unece.org/ece_legal.htm. + + + + + + + + + Channel_ Code List. Identifier + + String + + + + + + + Channel_ Code List. Agency. Identifier + Defaults to the UN/EDIFACT data element 3055 code list. + String + + + + + + + Channel_ Code List. Agency Name. Text + + String + + + + + + + Channel_ Code List. Name. Text + + String + + + + + + + Channel_ Code List. Version. Identifier + Identifies the Directory of the UN/EDIFACT code list. + String + + + + + + + Channel_ Code. Name. Text + + String + + + + + + + Channel_ Language. Identifier + + String + + + + + + + Channel_ Code List. Uniform Resource. Identifier + + String + + + + + + + Channel_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Chip_ Code. Type + 2.0 + Distinction between CHIP and MAG STRIPE cards + Code + Chip + + + + + + + + + + Chip_ Code List. Identifier + + String + + + + + + + Chip_ Code List. Agency. Identifier + + String + + + + + + + Chip_ Code List. Agency Name. Text + + String + + + + + + + Chip_ Code List. Name. Text + + String + + + + + + + Chip_ Code List. Version. Identifier + + String + + + + + + + Chip_ Code. Name. Text + + String + + + + + + + Chip_ Language. Identifier + + String + + + + + + + Chip_ Code List. Uniform Resource. Identifier + + String + + + + + + + Chip_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Container Size Type_ Code. Type + 2.0 + The set of code values for classifying series 1 freight containers based on external dimensions and specifies the assoziated ratings and, where appropriate, the minimum internal and door opening dimensions for certain types of containers. + Code + Container Size Type + + + + + + + + + + Container Size Type_ Code List. Identifier + + String + + + + + + + Container Size Type_ Code List. Agency. Identifier + + String + + + + + + + Container Size Type_ Code List. Agency Name. Text + + String + + + + + + + Container Size Type_ Code List. Name. Text + + String + + + + + + + Container Size Type_ Code List. Version. Identifier + + String + + + + + + + Container Size Type_ Code. Name. Text + + String + + + + + + + Container Size Type_ Language. Identifier + + String + + + + + + + Container Size Type_ Code List. Uniform Resource. Identifier + + String + + + + + + + Container Size Type_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Country Identification_ Code. Type + 2.0 + The set of countries of the world. + Code + Country Identification + + Derived from the ISO 3166-1-alpha-2 code elements used under the terms of the ISO policy stated at http://www.iso.org/iso/en/commcentre/pressreleases/2003/Ref871.html. + + + + + + + + + Country Identification_ Code List. Identifier + + String + + + + + + + Country Identification_ Code List. Agency. Identifier + Defaults to the UN/ECE rec 3 (Code for the Representation of Names of Countries) + String + + + + + + + Country Identification_ Code List. Agency Name. Text + + String + + + + + + + Country Identification_ Code List. Name. Text + + String + + + + + + + Country Identification_ Code List. Version. Identifier + + String + + + + + + + Country Identification_ Code. Name. Text + + String + + + + + + + Country Identification_ Language. Identifier + + String + + + + + + + Country Identification_ Code List. Uniform Resource. Identifier + + String + + + + + + + Country Identification_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Currency_ Code. Type + 2.0 + The set of world currencies. + Code + Currency + + Derived from the ISO 4217 currency code list and used under the terms of the ISO policy stated at +http://www.iso.org/iso/en/commcentre/pressreleases/2003/Ref871.html + + + + + + + + + Currency_ Code List. Identifier + + String + + + + + + + Currency_ Code List. Agency. Identifier + Defaults to the UN/EDIFACT data element 3055 code list. + String + + + + + + + Currency_ Code List. Agency Name. Text + + String + + + + + + + Currency_ Code List. Name. Text + + String + + + + + + + Currency_ Code List. Version. Identifier + + String + + + + + + + Currency_ Code. Name. Text + + String + + + + + + + Currency_ Language. Identifier + + String + + + + + + + Currency_ Code List. Uniform Resource. Identifier + + String + + + + + + + Currency_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Document Status_ Code. Type + 2.0 + The set of possible statuses of a document with regard to its original state. + Code + Document Status + + + + + + + + + + Document Status_ Code List. Identifier + + String + + + + + + + Document Status_ Code List. Agency. Identifier + + String + + + + + + + Document Status_ Code List. Agency Name. Text + + String + + + + + + + Document Status_ Code List. Name. Text + + String + + + + + + + Document Status_ Code List. Version. Identifier + + String + + + + + + + Document Status_ Code. Name. Text + + String + + + + + + + Document Status_ Language. Identifier + + String + + + + + + + Document Status_ Code List. Uniform Resource. Identifier + + String + + + + + + + Document Status_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Latitude Direction_ Code. Type + 2.0 + The possible directions of latitude + Code + Latitude Direction + + + + + + + + + + Latitude Direction_ Code List. Identifier + + String + + + + + + + Latitude Direction_ Code List. Agency. Identifier + + String + + + + + + + Latitude Direction_ Code List. Agency Name. Text + + String + + + + + + + Latitude Direction_ Code List. Name. Text + + String + + + + + + + Latitude Direction_ Code List. Version. Identifier + + String + + + + + + + Latitude Direction_ Code. Name. Text + + String + + + + + + + Latitude Direction_ Language. Identifier + + String + + + + + + + Latitude Direction_ Code List. Uniform Resource. Identifier + + String + + + + + + + Latitude Direction_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Line Status_ Code. Type + 2.0 + The set of possible statuses of a line in a transaction with regard to its original state. + Code + Line Status + + + + + + + + + + Line Status_ Code List. Identifier + + String + + + + + + + Line Status_ Code List. Agency. Identifier + + String + + + + + + + Line Status_ Code List. Agency Name. Text + + String + + + + + + + Line Status_ Code List. Name. Text + + String + + + + + + + Line Status_ Code List. Version. Identifier + + String + + + + + + + Line Status_ Code. Name. Text + + String + + + + + + + Line Status_ Language. Identifier + + String + + + + + + + Line Status_ Code List. Uniform Resource. Identifier + + String + + + + + + + Line Status_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Longitude Direction_ Code. Type + 2.0 + The possible directions of longitude + Code + Longitude Direction + + + + + + + + + + Longitude Direction_ Code List. Identifier + + String + + + + + + + Longitude Direction_ Code List. Agency. Identifier + + String + + + + + + + Longitude Direction_ Code List. Agency Name. Text + + String + + + + + + + Longitude Direction_ Code List. Name. Text + + String + + + + + + + Longitude Direction_ Code List. Version. Identifier + + String + + + + + + + Longitude Direction_ Code. Name. Text + + String + + + + + + + Longitude Direction_ Language. Identifier + + String + + + + + + + Longitude Direction_ Code List. Uniform Resource. Identifier + + String + + + + + + + Longitude Direction_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Operator_ Code. Type + 2.0 + The set of valid arithmetic operators + Code + Operator + + + + + + + + + + Operator_ Code List. Identifier + + String + + + + + + + Operator_ Code List. Agency. Identifier + + String + + + + + + + Operator_ Code List. Agency Name. Text + + String + + + + + + + Operator_ Code List. Name. Text + + String + + + + + + + Operator_ Code List. Version. Identifier + + String + + + + + + + Operator_ Code. Name. Text + + String + + + + + + + Operator_ Language. Identifier + + String + + + + + + + Operator_ Code List. Uniform Resource. Identifier + + String + + + + + + + Operator_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Packaging Type_ Code. Type + 2.0 + The set of code values for Passengers, Types of Cargo, Packages and Packaging Materials (with Complementary Codes for Package Names) + Code + Packaging Type + + + + + + + + + + Packaging Type_ Code List. Identifier + + String + + + + + + + Packaging Type_ Code List. Agency. Identifier + + String + + + + + + + Packaging Type_ Code List. Agency Name. Text + + String + + + + + + + Packaging Type_ Code List. Name. Text + + String + + + + + + + Packaging Type_ Code List. Version. Identifier + + String + + + + + + + Packaging Type_ Code. Name. Text + + String + + + + + + + Packaging Type_ Language. Identifier + + String + + + + + + + Packaging Type_ Code List. Uniform Resource. Identifier + + String + + + + + + + Packaging Type_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Payment Means_ Code. Type + 2.0 + The set of valid means of paying the debt incurred. + Code + Payment Means + + Used under the terms of the UNECE policy stated at http://www.unece.org/ece_legal.htm. + + + + + + + + + Payment Means_ Code List. Identifier + + String + + + + + + + Payment Means_ Code List. Agency. Identifier + Defaults to the UN/EDIFACT data element 3055 code list. + String + + + + + + + Payment Means_ Code List. Agency Name. Text + + String + + + + + + + Payment Means_ Code List. Name. Text + + String + + + + + + + Payment Means_ Code List. Version. Identifier + Identifies the Directory of the UN/EDIFACT code list. + String + + + + + + + Payment Means_ Code. Name. Text + + String + + + + + + + Payment Means_ Language. Identifier + + String + + + + + + + Payment Means_ Code List. Uniform Resource. Identifier + + String + + + + + + + Payment Means_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Port_ Code. Type + 2.0 + The set of code values for Trade and Transport Locations + Code + Port + + + + + + + + + + Port_ Code List. Identifier + + String + + + + + + + Port_ Code List. Agency. Identifier + + String + + + + + + + Port_ Code List. Agency Name. Text + + String + + + + + + + Port_ Code List. Name. Text + + String + + + + + + + Port_ Code List. Version. Identifier + + String + + + + + + + Port_ Code. Name. Text + + String + + + + + + + Port_ Language. Identifier + + String + + + + + + + Port_ Code List. Uniform Resource. Identifier + + String + + + + + + + Port_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Substitution Status_ Code. Type + 2.0 + The set of values that indicate the status of an OrderItem in relation to substitution, denoting an acceptable substitute in the Order, an original for which an alternative is offered in the Order Confirmation, or an original for which an actual replacement is advised in the Despatch Advice. + Code + Substitution Status + + + + + + + + + + Substitution Status_ Code List. Identifier + + String + + + + + + + Substitution Status_ Code List. Agency. Identifier + + String + + + + + + + Substitution Status_ Code List. Agency Name. Text + + String + + + + + + + Substitution Status_ Code List. Name. Text + + String + + + + + + + Substitution Status_ Code List. Version. Identifier + + String + + + + + + + Substitution Status_ Code. Name. Text + + String + + + + + + + Substitution Status_ Language. Identifier + + String + + + + + + + Substitution Status_ Code List. Uniform Resource. Identifier + + String + + + + + + + Substitution Status_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Transportation Status_ Code. Type + 2.0 + The set of code values for Trade and Transport Status + Code + Transportation Status + + + + + + + + + + Transportation Status_ Code List. Identifier + + String + + + + + + + Transportation Status_ Code List. Agency. Identifier + + String + + + + + + + Transportation Status_ Code List. Agency Name. Text + + String + + + + + + + Transportation Status_ Code List. Name. Text + + String + + + + + + + Transportation Status_ Code List. Version. Identifier + + String + + + + + + + Transportation Status_ Code. Name. Text + + String + + + + + + + Transportation Status_ Language. Identifier + + String + + + + + + + Transportation Status_ Code List. Uniform Resource. Identifier + + String + + + + + + + Transportation Status_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Transport Equipment Type_ Code. Type + 2.0 + The set of code values for qualifying a type of equipment used in the transportation of goods. + Code + Transport Equipment Type + + + + + + + + + + Transport Equipment Type_ Code List. Identifier + + String + + + + + + + Transport Equipment Type_ Code List. Agency. Identifier + + String + + + + + + + Transport Equipment Type_ Code List. Agency Name. Text + + String + + + + + + + Transport Equipment Type_ Code List. Name. Text + + String + + + + + + + Transport Equipment Type_ Code List. Version. Identifier + + String + + + + + + + Transport Equipment Type_ Code. Name. Text + + String + + + + + + + Transport Equipment Type_ Language. Identifier + + String + + + + + + + Transport Equipment Type_ Code List. Uniform Resource. Identifier + + String + + + + + + + Transport Equipment Type_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Transport Mode_ Code. Type + 2.0 + The set of code values for modes of transport + Code + Transport Mode + + + + + + + + + + Transport Mode_ Code List. Identifier + + String + + + + + + + Transport Mode_ Code List. Agency. Identifier + + String + + + + + + + Transport Mode_ Code List. Agency Name. Text + + String + + + + + + + Transport Mode_ Code List. Name. Text + + String + + + + + + + Transport Mode_ Code List. Version. Identifier + + String + + + + + + + Transport Mode_ Code. Name. Text + + String + + + + + + + Transport Mode_ Language. Identifier + + String + + + + + + + Transport Mode_ Code List. Uniform Resource. Identifier + + String + + + + + + + Transport Mode_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + + + Unit Of Measure_ Code. Type + 2.0 + The set of code values for Units of Measure Used in International Trade + Code + Unit Of Measure + + + + + + + + + + Unit Of Measure_ Code List. Identifier + + String + + + + + + + Unit Of Measure_ Code List. Agency. Identifier + + String + + + + + + + Unit Of Measure_ Code List. Agency Name. Text + + String + + + + + + + Unit Of Measure_ Code List. Name. Text + + String + + + + + + + Unit Of Measure_ Code List. Version. Identifier + + String + + + + + + + Unit Of Measure_ Code. Name. Text + + String + + + + + + + Unit Of Measure_ Language. Identifier + + String + + + + + + + Unit Of Measure_ Code List. Uniform Resource. Identifier + + String + + + + + + + Unit Of Measure_ Code List Scheme. Uniform Resource. Identifier + + String + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UnqualifiedDataTypeSchemaModule-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UnqualifiedDataTypeSchemaModule-2.0.xsd new file mode 100644 index 0000000..128fb86 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/common/UnqualifiedDataTypeSchemaModule-2.0.xsd @@ -0,0 +1,1138 @@ + + + + + + + + + + + + + + + + + + + + + + UDT000001 + UDT + Amount. Type + 1.0 + A number of monetary units specified in a currency where the unit of the currency is explicit or implied. + Amount + decimal + decimal + + + + + + + + UDT000001-SC2 + SC + Amount Currency. Identifier + The currency of the amount. + Amount Currency + Identification + Identifier + string + normalisedString + + + + + + + + + + + + UDT000002 + UDT + Binary Object. Type + 1.0 + A set of finite-length sequences of binary octets. + Binary Object + binary + base64Binary + + + + + + + + UDT000002-SC2 + SC + Binary Object. Format. Text + The format of the binary content. + Binary Object + Format + Text + string + string + + + + + + + UDT000002-SC3 + SC + Binary Object. Mime. Code + The mime type of the binary object. + Binary Object + Mime + Code + string + normalizedString + + + + + + + UDT000002-SC4 + SC + Binary Object. Encoding. Code + Specifies the decoding algorithm of the binary object. + Binary Object + Encoding + Code + string + normalizedString + + + + + + + UDT000002-SC5 + SC + Binary Object. Character Set. Code + The character set of the binary object if the mime type is text. + Binary Object + Character Set + Code + string + normalizedString + + + + + + + UDT000002-SC6 + SC + Binary Object. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the binary object is located. + Binary Object + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + UDT000002-SC7 + SC + Binary Object. Filename.Text + The filename of the binary object. + Binary Object + Filename + Text + string + string + + + + + + + + + + + + UDT000003 + UDT + Graphic. Type + 1.0 + A diagram, graph, mathematical curves, or similar representation. + Graphic + binary + base64Binary + + + + + + + + UDT000003-SC2 + SC + Graphic. Format. Text + The format of the graphic content. + Graphic + Format + Text + string + string + + + + + + + UDT000003-SC3 + SC + Graphic. Mime. Code + The mime type of the graphic object. + Graphic + Mime + Code + string + normalizedString + + + + + + + UDT000003-SC4 + SC + Graphic. Encoding. Code + Specifies the decoding algorithm of the graphic object. + Graphic + Encoding + Code + string + normalizedString + + + + + + + UDT000003-SC6 + SC + Graphic. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the graphic object is located. + Graphic + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + UDT000003-SC7 + SC + Graphic. Filename.Text + The filename of the graphic object. + Graphic + Filename + Text + string + string + + + + + + + + + + + + UDT000004 + UDT + Picture. Type + 1.0 + A diagram, graph, mathematical curves, or similar representation. + Picture + binary + base64Binary + + + + + + + + UDT000004-SC2 + SC + Picture. Format. Text + The format of the picture content. + Picture + Format + Text + string + string + + + + + + + UDT000004-SC3 + SC + Picture. Mime. Code + The mime type of the picture object. + Picture + Mime + Code + string + normalizedString + + + + + + + UDT000004-SC4 + SC + Picture. Encoding. Code + Specifies the decoding algorithm of the picture object. + Picture + Encoding + Code + string + normalizedString + + + + + + + UDT000004-SC6 + SC + Picture. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the picture object is located. + Picture + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + UDT000004-SC7 + SC + Picture. Filename.Text + The filename of the picture object. + Picture + Filename + Text + string + string + + + + + + + + + + + + UDT000005 + UDT + Sound. Type + 1.0 + A diagram, graph, mathematical curves, or similar representation. + Sound + binary + base64Binary + + + + + + + + UDT000005-SC2 + SC + Sound. Format. Text + The format of the sound content. + Sound + Format + Text + string + string + + + + + + + UDT000005-SC3 + SC + Sound. Mime. Code + The mime type of the sound object. + Sound + Mime + Code + string + normalizedString + + + + + + + UDT000005-SC4 + SC + Sound. Encoding. Code + Specifies the decoding algorithm of the sound object. + Sound + Encoding + Code + string + normalizedString + + + + + + + UDT000005-SC6 + SC + Sound. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the sound object is located. + Sound + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + UDT000005-SC7 + SC + Sound. Filename.Text + The filename of the sound object. + Sound + Filename + Text + string + string + + + + + + + + + + + + UDT000006 + UDT + Video. Type + 1.0 + A diagram, graph, mathematical curves, or similar representation. + Graphic + binary + bas64Binary + + + + + + + + UDT000006-SC2 + SC + Video. Format. Text + The format of the video content. + Video + Format + Text + string + string + + + + + + + UDT000006-SC3 + SC + Video. Mime. Code + The mime type of the video object. + Video + Mime + Code + string + normalizedString + + + + + + + UDT000006-SC4 + SC + Video. Encoding. Code + Specifies the decoding algorithm of the video object. + Video + Encoding + Code + string + normalizedString + + + + + + + UDT000006-SC6 + SC + Video. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the video object is located. + Video + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + UDT000006-SC7 + SC + Video. Filename.Text + The filename of the video object. + Video + Filename + Text + string + string + + + + + + + + + + + + UDT000007 + UDT + Code. Type + 1.0 + A character string (letters, figures, or symbols) that for brevity and/or languange independence may be used to represent or replace a definitive value or text of an attribute together with relevant supplementary information. + Code + string + normalizedString + Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the code list and thus, are not declared as attributes. + + + + + + + + UDT000007-SC2 + SC + Code List. Identifier + The identification of a list of codes. + Code List + Identification + Identifier + string + + + + + + + UDT000007-SC3 + SC + Code List. Agency. Identifier + An agency that maintains one or more lists of codes. + Code List + Agency + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UDT000007-SC4 + SC + Code List. Agency Name. Text + The name of the agency that maintains the list of codes. + Code List + Agency Name + Text + string + + + + + + + UDT000007-SC5 + SC + Code List. Name. Text + The name of a list of codes. + Code List + Name + Text + string + + + + + + + UDT000007-SC6 + SC + Code List. Identifier + The identification of a list of codes. + Code List + Identification + Identifier + string + string + + + + + + + UDT000007-SC7 + SC + Code. Name. Text + The textual equivalent of the code content component. + Code + Name + Text + string + string + + + + + + + UDT000007-SC8 + SC + Language. Identifier + The identifier of the language used in the code name. + Language + Identification + Identifier + string + language + + + + + + + UDT000007-SC9 + SC + Code List. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list is located. + Code List + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + UDT000007-SC10 + SC + Code List Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list scheme is located. + Code List Scheme + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + + + + + + UDT000008 + UDT + Date Time. Type + 1.0 + A particular point in the progression of time together with the relevant supplementary information. + Date Time + string + dateTime + Can be used for a date and/or time. + + + + + + + + + + UDT000009 + UDT + Date. Type + 1.0 + One calendar day according the Gregorian calendar. + Date + string + date + + + + + + + + + + UDT0000010 + UDT + Time. Type + 1.0 + The instance of time that occurs every day. + Time + string + time + + + + + + + + + + UDT0000011 + UDT + Identifier. Type + 1.0 + A character string to identify and distinguish uniquely, one instance of an object in an identification scheme from all other objects in the same scheme together with relevant supplementary information. + Identifier + string + normalizedString + Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the identifer list and thus, are not declared as attributes. + + + + + + + + UDT000011-SC2 + SC + Identification Scheme. Identifier + The identification of the identification scheme. + Identification Scheme + Identification + Identifier + string + + + + + + + UDT000011-SC3 + SC + Identification Scheme. Name. Text + The name of the identification scheme. + Identification Scheme + Name + Text + string + + + + + + + UDT000011-SC4 + SC + Identification Scheme Agency. Identifier + The identification of the agency that maintains the identification scheme. + Identification Scheme Agency + Identification + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UDT000011-SC5 + SC + Identification Scheme Agency. Name. Text + The name of the agency that maintains the identification scheme. + Identification Scheme Agency + Agency Name + Text + string + + + + + + + UDT000011-SC6 + SC + Identification Scheme. Version. Identifier + The version of the identification scheme. + Identification Scheme + Version + Identifier + string + normalizedString + + + + + + + UDT0000011-SC7 + SC + Identification Scheme Data. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme data is located. + Identification Scheme Data + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + UDT0000011-SC8 + SC + Identification Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme is located. + Identification Scheme + Uniform Resource Identifier + Identifier + string + anyURI + + + + + + + + + + + + UDT0000012 + UDT + Indicator. Type + 1.0 + A list of two mutually exclusive Boolean values that express the only possible states of a property. + Indicator + string + boolean + + + + + + + + + + + + + UDT0000013 + UDT + Measure. Type + 1.0 + A numeric value determined by measuring an object along with the specified unit of measure. + Measure + Type + decimal + decimal + + + + + + + + UDT0000013-SC2 + SC + Measure Unit. Code + The type of unit of measure. + Measure Unit + Code + Code + string + normalizedString + Reference UN/ECE Rec 20 and X12 355. + + + + + + + + + + + + UDT0000014 + UDT + Numeric. Type + 1.0 + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Numeric + string + decimal + + + + + + + + + + UDT0000015 + UDT + 1.0 + Value. Type + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Value + string + decimal + + + + + + + + + + UDT0000016 + UDT + 1.0 + Percent. Type + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Percent + string + decimal + + + + + + + + + + UDT0000017 + UDT + 1.0 + Rate. Type + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measuret. + Rate + string + decimal + + + + + + + + + + UDT0000018 + UDT + Quantity. Type + 1.0 + A counted number of non-monetary units possibly including fractions. + Quantity + decimal + decimal + + + + + + + + UDT0000018-SC2 + SC + Quantity. Unit. Code + The unit of the quantity + Quantity + Unit Code + Code + string + normalizedString + + + + + + + + + + + + UDT0000019 + UDT + Text. Type + 1.0 + A character string (i.e. a finite set of characters) generally in the form of words of a language. + Text + string + string + + + + + + + + UDT0000019-SC2 + SC + Language. Identifier + The identifier of the language used in the content component. + Language + Identification + Identifier + string + language + + + + + + + + + + + + UDT0000020 + UDT + Name. Type + 1.0 + A character string that consititues the distinctive designation of a person, place, thing or concept. + Name + string + string + + + + + + + + UDT0000020-SC2 + SC + Language. Identifier + The identifier of the language used in the content component. + Language + Identification + Identifier + string + language + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ApplicationResponse-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ApplicationResponse-2.0.xsd new file mode 100644 index 0000000..8335e5c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ApplicationResponse-2.0.xsd @@ -0,0 +1,345 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Application Response. Details + A document to indicate the application's response to a transaction. This may be a business response and/or a technical response, sent automatically by an application or initiated by a user. + Application Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Application Response. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Application Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Application Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Application Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Application Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Application Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Application Response. Identifier + An identifier for the Application Response assigned by the sender. + 1 + Application Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Application Response. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Application Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Application Response. Issue Date. Date + The date assigned by the sender's application on which the Application Response was created. + 1 + Application Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Application Response. Issue Time. Time + The time assigned by the sender's application at which the Application Response was created. + 0..1 + Application Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Application Response. Response Date. Date + The date at which the information in the response was created. + 0..1 + Application Response + Response Date + Date + Date. Type + + + + + + + + + BBIE + Application Response. Response Time. Time + The time at which the information in the response was created. + 0..1 + Application Response + Response Time + Time + Time. Type + + + + + + + + + BBIE + Application Response. Note. Text + Free-form text applying to the Application Response. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Application Response + Note + Text + Text. Type + + + + + + + + + BBIE + Application Response. Version Identifier. Identifier + Identifies the current version of this document. + 0..1 + Application Response + Version Identifier + Identifier + Identifier. Type + "1.1" + + + + + + + + + ASBIE + Application Response. Signature + An association to Signature. + 0..n + Application Response + Signature + Signature + + + + + + + + + ASBIE + Application Response. Sender_ Party. Party + An association to the Party sending this document. + 1 + Application Response + Sender + Party + Party + + + + + + + + + ASBIE + Application Response. Receiver_ Party. Party + An association to the Party receiving this document. + 1 + Application Response + Receiver + Party + Party + + + + + + + + + ASBIE + Application Response. Document Response + A response to one or more documents. + 1..n + Application Response + Document Response + Document Response + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-AttachedDocument-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-AttachedDocument-2.0.xsd new file mode 100644 index 0000000..a5a145d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-AttachedDocument-2.0.xsd @@ -0,0 +1,362 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Attached Document. Details + A UBL 'wrapper' that allows a document of any kind to be packaged with the UBL document that references it. + Attached Document + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Attached Document. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Attached Document + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Attached Document. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Attached Document + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Attached Document. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Attached Document + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Attached Document. Identifier + An identifier for the Attached Document; this ID is used as a reference by the UBL 'parent' document. + 1 + Attached Document + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Attached Document + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Issue Date. Date + A date denoting when the Attached Document was issued. + 1 + Attached Document + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Attached Document. Issue Time. Time + A time denoting when the Attached Document was issued. + 0..1 + Attached Document + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Attached Document. Note. Text + Contains any free-form text pertinent to the entire document or to the document message itself. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Attached Document + Note + Text + Text. Type + + + + + + + + + BBIE + Attached Document. Document Type Code. Code + Qualifies the type of document using a code set. + 0..1 + Attached Document + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Attached Document. Document Type. Text + Qualifies types of document as text. + 0..1 + Attached Document + Document Type + Text + Text. Type + + + + + + + + + BBIE + Attached Document. Parent_ Document Identifier. Identifier + Identifies the parent document. + 1 + Attached Document + Parent + Document Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Parent_ Document Type Code. Code + Identifies the type of parent document. + 0..1 + Attached Document + Parent + Document Type Code + Code + Code. Type + + + + + + + + + ASBIE + Attached Document. Signature + Associates the Attached Document with zero or more signatures. + 0..n + Attached Document + Signature + Signature + + + + + + + + + ASBIE + Attached Document. Sender_ Party. Party + An association to the Party sending this document. + 1 + Attached Document + Sender + Party + Party + + + + + + + + + ASBIE + Attached Document. Receiver_ Party. Party + An association to the Party receiving this document. + 1 + Attached Document + Receiver + Party + Party + + + + + + + + + ASBIE + Attached Document. Attachment + An attachment containing the document content. + 1 + Attached Document + Attachment + Attachment + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-BillOfLading-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-BillOfLading-2.0.xsd new file mode 100644 index 0000000..100e1ff --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-BillOfLading-2.0.xsd @@ -0,0 +1,516 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Bill Of Lading. Details + The Bill of Lading is issued by the party who acts as an agent for the carrier or other agents to the party who gives instructions for the transportation services (shipper, consignor, etc.) stating the details of the transportation, charges, and terms and conditions under which the transportation service is provided. The party issuing this document does not necessarily provide the physical transportation service. It corresponds to the information on the Forwarding Instruction. It is used for any mode of transport. + +A Bill of Lading can serve as a contractual document between the parties for the transportation service. The document evidences a contract of carriage by sea and the acceptance of responsibility for the goods by the carrier, and by which the carrier undertakes to deliver the goods against surrender of the document. A provision in the document that the goods are to be delivered to the order of a named person, or to order, or to bearer, constitutes such an undertaking.. + Bill Of Lading + House Bill of Landing, Master Bill, Bill + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Bill Of Lading. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Bill Of Lading + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Bill Of Lading. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Bill Of Lading + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Bill Of Lading. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Bill Of Lading + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Bill Of Lading. Identifier + Unique Identifier of the Bill Of Lading. Reference number to identify a document evidencing a transport contract. + 1 + Bill Of Lading + Identifier + Identifier + Identifier. Type + Bill of Lading Number + + + + + + + + + BBIE + Bill Of Lading. Carrier Assigned_ Identifier. Identifier + Reference number assigned by a carrier or its agent to identify a specific shipment such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Bill Of Lading + Carrier Assigned + Identifier + Identifier + Identifier. Type + Booking Reference Number + + + + + + + + + BBIE + Bill Of Lading. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Bill Of Lading + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Bill Of Lading. Issue Date. Date + Date on which the Bill Of Lading was issued. + 0..1 + Bill Of Lading + Issue Date + Date + Date. Type + Transport Document Date + + + + + + + + + BBIE + Bill Of Lading. Issue Time. Time + Time at which the Bill Of Lading was issued. + 0..1 + Bill Of Lading + Issue Time + Time + Time. Type + "House Bill", "Consolidated Bill of Lading", "Proforma" + + + + + + + + + BBIE + Bill Of Lading. Name + The business name given to the document type. + 0..1 + Bill Of Lading + Name + Name + Name. Type + + + + + + + + + BBIE + Bill Of Lading. Description. Text + Purpose of the document instance. + 0..n + Bill Of Lading + Description + Text + Text. Type + + + + + + + + + BBIE + Bill Of Lading. Note. Text + Contains any free-form text pertinent to the entire document or to the document message itself. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Bill Of Lading + Note + Text + Text. Type + + + + + + + + + BBIE + Bill Of Lading. Document Status Code. Code + Indicates the status of the Bill Of Lading (revision, replacement, etc.). + 0..1 + Bill Of Lading + Document Status Code + Code + Document Status_ Code. Type + + + + + + + + + BBIE + Bill Of Lading. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order or Forwarding Instruction. + 0..1 + Bill Of Lading + Shipping Order Identifier + Identifier + Identifier. Type + Freight forwarding instruction, Shippers letter of instruction + + + + + + + + + BBIE + Bill Of Lading. To Order_ Indicator. Indicator + Indicates whether the transport document is consigned to order. + 0..1 + Bill Of Lading + To Order + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Bill Of Lading. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Bill Of Lading + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Bill Of Lading. Declared Carriage_ Value. Amount + Value, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Bill Of Lading + Declared Carriage + Value + Amount + Amount. Type + Interest in Delivery + + + + + + + + + BBIE + Bill Of Lading. Other_ Instruction. Text + Contains other free-text-based instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Bill Of Lading + Other + Instruction + Text + Text. Type + Bill of Lading Remark + + + + + + + + + ASBIE + Bill Of Lading. Consignor_ Party. Party + The party consigning goods as stipulated in the transport contract by the party ordering transport. + 0..1 + Bill Of Lading + Consignor + Party + Party + + + + + + + + + ASBIE + Bill Of Lading. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Bill Of Lading + Carrier + Party + Party + + + + + + + + + ASBIE + Bill Of Lading. Freight Forwarder_ Party. Party + The party combining individual smaller consignments into a single larger shipment (so called consolidated shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Bill Of Lading + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Bill Of Lading. Shipment + Information about the separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport. + 0..1 + Bill Of Lading + Shipment + Shipment + + + + + + + + + ASBIE + Bill Of Lading. Document Reference + An association to Document Reference. + 0..n + Bill Of Lading + Document Reference + Document Reference + + + + + + + + + ASBIE + Bill Of Lading. Exchange Rate + Information that directly relates to the rate of exchange (conversion) between two currencies. + 0..n + Bill Of Lading + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Bill Of Lading. Document Distribution + The distribution of the Bill to interested parties. + 0..n + Bill Of Lading + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Bill Of Lading. Signature + One or more signatures applied to the document instance. + 0..n + Bill Of Lading + Signature + Signature + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Catalogue-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Catalogue-2.0.xsd new file mode 100644 index 0000000..7a356a0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Catalogue-2.0.xsd @@ -0,0 +1,492 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Catalogue. Details + The document that describes items, prices, and price validity. + Catalogue + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue. Identifier + An identifier for the Catalogue assigned by the Seller. + 1 + Catalogue + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Catalogue + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue. Name + A name given to a catalogue. + 0..1 + Catalogue + Name + Name + Name. Type + "winter 2005 collection" + + + + + + + + + BBIE + Catalogue. Issue Date. Date + The date when the catalogue was issued. + 1 + Catalogue + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue. Issue Time. Time + The time when the catalogue was issued. + 0..1 + Catalogue + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue. Revision Date. Date + The date (assigned by the Seller Party) at which the information in the catalogue was revised. + 0..1 + Catalogue + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue. Revision Time. Time + The time (assigned by the Seller Party) at which the information in the catalogue was revised. + 0..1 + Catalogue + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue. Note. Text + Free-form text applying to the Catalogue. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Catalogue + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue. Description. Text + A description of the catalogue. + 0..n + Catalogue + Description + Text + Text. Type + "computer accessories for laptops" + + + + + + + + + BBIE + Catalogue. Version. Identifier + Indicates the current version of the catalogue. + 0..1 + Catalogue + Version + Identifier + Identifier. Type + "1.1" + + + + + + + + + BBIE + Catalogue. Previous_ Version. Identifier + Identifies the previous version of the Catalogue which is superceded by this version. + 0..1 + Catalogue + Previous + Version + Identifier + Identifier. Type + "1.0" + + + + + + + + + BBIE + Catalogue. Line Count. Numeric + The number of lines in the document. + 0..1 + Catalogue + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue. Validity_ Period. Period + The period assigned by the Seller during which the information in the Catalogue is effective. This may be given as start and end dates or a duration. + 0..n + Catalogue + Validity + Period + Period + + + + + + + + + ASBIE + Catalogue. Referenced_ Contract. Contract + An association to a framework agreement or contract. + 0..n + Catalogue + Referenced + Contract + Contract + + + + + + + + + ASBIE + Catalogue. Signature + An association to Signature. + 0..n + Catalogue + Signature + Signature + + + + + + + + + ASBIE + Catalogue. Provider_ Party. Party + An association to the Catalogue Provider Party. + 1 + Catalogue + Provider + Party + Party + + + + + + + + + ASBIE + Catalogue. Receiver_ Party. Party + An association to the Catalogue Receiver Party. + 1 + Catalogue + Receiver + Party + Party + + + + + + + + + ASBIE + Catalogue. Seller_ Supplier Party. Supplier Party + The Supplier Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue + Contractor + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue. Trading Terms + An association to trading terms. + 0..n + Catalogue + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue. Catalogue Line + An association to one or more Catalogue Lines. + 1..n + Catalogue + Catalogue Line + Catalogue Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueDeletion-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueDeletion-2.0.xsd new file mode 100644 index 0000000..a38be2a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueDeletion-2.0.xsd @@ -0,0 +1,411 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Catalogue Deletion. Details + The document used to cancel an entire Catalogue. + Catalogue Deletion + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Deletion. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Deletion + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Deletion. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Deletion + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Deletion. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue Deletion + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Deletion. Identifier + An identifier for the Catalogue Deletion assigned by the Seller. + 1 + Catalogue Deletion + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Deletion. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Catalogue Deletion + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Deletion. Name + A name given to a Catalogue Deletion. + 0..1 + Catalogue Deletion + Name + Name + Name. Type + + + + + + + + + BBIE + Catalogue Deletion. Issue Date. Date + The date assigned by the Seller on which the Catalogue was deleted. + 1 + Catalogue Deletion + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Deletion. Issue Time. Time + The time assigned by the Seller at which the Catalogue was deleted. + 0..1 + Catalogue Deletion + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Deletion. Note. Text + Free-form text applying to the Catalogue Deletion. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Catalogue Deletion + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Deletion. Version. Identifier + Indicates the current version of the Catalogue. + 0..1 + Catalogue Deletion + Version + Identifier + Identifier. Type + "1.1" + + + + + + + + + BBIE + Catalogue Deletion. Description. Text + Describes the Catalogue Deletion. + 0..n + Catalogue Deletion + Description + Text + Text. Type + "stock no longer provided" + + + + + + + + + ASBIE + Catalogue Deletion. Validity_ Period. Period + The period during which the deletion of the catalogue becomes effective. This may be given as start (after date) and end dates (before date). + 0..n + Catalogue Deletion + Validity + Period + Period + + + + + + + + + ASBIE + Catalogue Deletion. Deleted_ Catalogue Reference. Catalogue Reference + An association to the Catalogue being deleted. + 1 + Catalogue Deletion + Deleted + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Deletion. Referenced_ Contract. Contract + An association to a framework agreement or contract. + 0..n + Catalogue Deletion + Referenced + Contract + Contract + + + + + + + + + ASBIE + Catalogue Deletion. Signature + One or more signatures applied to the document. + 0..n + Catalogue Deletion + Signature + Signature + + + + + + + + + ASBIE + Catalogue Deletion. Receiver_ Party. Party + An association to the Catalogue Receiver Party. + 1 + Catalogue Deletion + Receiver + Party + Party + + + + + + + + + ASBIE + Catalogue Deletion. Provider_ Party. Party + An association to the Catalogue Provider Party. + 1 + Catalogue Deletion + Provider + Party + Party + + + + + + + + + ASBIE + Catalogue Deletion. Seller_ Supplier Party. Supplier Party + The Supplier Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Deletion + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Deletion. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Deletion + Contractor + Customer Party + Customer Party + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueItemSpecificationUpdate-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueItemSpecificationUpdate-2.0.xsd new file mode 100644 index 0000000..cb6e35e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueItemSpecificationUpdate-2.0.xsd @@ -0,0 +1,506 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Catalogue Item Specification Update. Details + The document used to update information about Items (e.g., technical descriptions and properties) on an existing Catalogue. + Catalogue Item Specification Update + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Item Specification Update. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Item Specification Update + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Item Specification Update. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Item Specification Update + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Item Specification Update. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Catalogue Item Specification Update + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Item Specification Update. Identifier + An identifier for the Catalogue Revision assigned by the Seller. + 1 + Catalogue Item Specification Update + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Catalogue Item Specification Update + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Name + A name given to the Catalogue Revision. + 0..1 + Catalogue Item Specification Update + Name + Name + Name. Type + "electrical goods - new energy ratings." + + + + + + + + + BBIE + Catalogue Item Specification Update. Issue Date. Date + The date when the Catalogue Revision was issued. + 1 + Catalogue Item Specification Update + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Issue Time. Time + The time when the Catalogue Revision was issued. + 0..1 + Catalogue Item Specification Update + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Revision Date. Date + The date assigned by the Seller on which the Catalogue was revised. + 0..1 + Catalogue Item Specification Update + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Revision Time. Time + The time assigned by the Seller at which the Catalogue was revised. + 0..1 + Catalogue Item Specification Update + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Note. Text + Free-form text applying to the Catalogue Revision. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Catalogue Item Specification Update + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Description. Text + A description of the Catalogue Revision. + 0..n + Catalogue Item Specification Update + Description + Text + Text. Type + "ratings based on new environmental standards for EU" + + + + + + + + + BBIE + Catalogue Item Specification Update. Version. Identifier + Indicates the current version of the Catalogue. + 0..1 + Catalogue Item Specification Update + Version + Identifier + Identifier. Type + "1.1" + + + + + + + + + BBIE + Catalogue Item Specification Update. Line Count. Numeric + The number of lines in the document. + 0..1 + Catalogue Item Specification Update + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Item Specification Update. Validity_ Period. Period + The period assigned by the Seller during which the information in the Catalogue Revision is effective. This may be given as start and end dates or a duration. + 0..n + Catalogue Item Specification Update + Validity + Period + Period + + + + + + + + + ASBIE + Catalogue Item Specification Update. Related_ Catalogue Reference. Catalogue Reference + An association to the Catalogue containing the revised Items. + 1 + Catalogue Item Specification Update + Related + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Item Specification Update. Referenced_ Contract. Contract + An association to a framework agreement or contract. + 0..n + Catalogue Item Specification Update + Referenced + Contract + Contract + + + + + + + + + ASBIE + Catalogue Item Specification Update. Signature + One or more signatures applied to the document. + 0..n + Catalogue Item Specification Update + Signature + Signature + + + + + + + + + ASBIE + Catalogue Item Specification Update. Provider_ Party. Party + An association to the Catalogue Provider Party. + 1 + Catalogue Item Specification Update + Provider + Party + Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Receiver_ Party. Party + An association to the Catalogue Receiver Party. + 1 + Catalogue Item Specification Update + Receiver + Party + Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Seller_ Supplier Party. Supplier Party + The Supplier Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Item Specification Update + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Item Specification Update + Contractor + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Trading Terms + An association to trading terms. + 0..1 + Catalogue Item Specification Update + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Item Specification Update. Default_ Language. Language + The default language for the item specifications. + 0..1 + Catalogue Item Specification Update + Default + Language + Language + + + + + + + + + ASBIE + Catalogue Item Specification Update. Catalogue Item Specification Update Line + An association to one or more Catalogue Item Specification Update Lines. + 1..n + Catalogue Item Specification Update + Catalogue Item Specification Update Line + Catalogue Item Specification Update Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CataloguePricingUpdate-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CataloguePricingUpdate-2.0.xsd new file mode 100644 index 0000000..398d3de --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CataloguePricingUpdate-2.0.xsd @@ -0,0 +1,506 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Catalogue Pricing Update. Details + The document used to update information about prices on an existing Catalogue. + Catalogue Pricing Update + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Pricing Update. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Pricing Update + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Pricing Update. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Pricing Update + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Pricing Update. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Catalogue Pricing Update + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Pricing Update. Identifier + An identifier for the Catalogue Revision assigned by the Seller. + 1 + Catalogue Pricing Update + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Catalogue Pricing Update + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Name + A name given to the Catalogue Revision. + 0..1 + Catalogue Pricing Update + Name + Name + Name. Type + "Seasonal Promotion" + + + + + + + + + BBIE + Catalogue Pricing Update. Issue Date. Date + The date when the catalogue revision was issued. + 1 + Catalogue Pricing Update + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Issue Time. Time + The time when the catalogue revision was issued. + 0..1 + Catalogue Pricing Update + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Revision Date. Date + The date assigned by the Seller on which the Catalogue was revised. + 0..1 + Catalogue Pricing Update + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Revision Time. Time + The time assigned by the Seller at which the Catalogue was revised. + 0..1 + Catalogue Pricing Update + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Note. Text + Free-form text applying to the Catalogue Revision. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Catalogue Pricing Update + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Description. Text + Describes the Catalogue Revision. + 0..n + Catalogue Pricing Update + Description + Text + Text. Type + " adjustment of prices for Christmas trading period" + + + + + + + + + BBIE + Catalogue Pricing Update. Version. Identifier + Indicates the current version of the catalogue. + 0..1 + Catalogue Pricing Update + Version + Identifier + Identifier. Type + "1.1" + + + + + + + + + BBIE + Catalogue Pricing Update. Line Count. Numeric + The number of lines in the document. + 0..1 + Catalogue Pricing Update + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Pricing Update. Validity_ Period. Period + The period assigned by the Seller during which the information in the Catalogue Revision is effective. This may be given as start and end dates or a duration. + 0..n + Catalogue Pricing Update + Validity + Period + Period + + + + + + + + + ASBIE + Catalogue Pricing Update. Related_ Catalogue Reference. Catalogue Reference + An association to the Catalogue containing the revised Items. + 1 + Catalogue Pricing Update + Related + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Pricing Update. Referenced_ Contract. Contract + An association to a framework agreement or contract. + 0..n + Catalogue Pricing Update + Referenced + Contract + Contract + + + + + + + + + ASBIE + Catalogue Pricing Update. Signature + One or more signatures applied to the document. + 0..n + Catalogue Pricing Update + Signature + Signature + + + + + + + + + ASBIE + Catalogue Pricing Update. Provider_ Party. Party + An association to the Catalogue Provider Party. + 1 + Catalogue Pricing Update + Provider + Party + Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Receiver_ Party. Party + An association to the Catalogue Receiver Party. + 1 + Catalogue Pricing Update + Receiver + Party + Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Seller_ Supplier Party. Supplier Party + The Supplier Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Pricing Update + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Pricing Update + Contractor + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Trading Terms + An association to trading terms. + 0..1 + Catalogue Pricing Update + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Pricing Update. Default_ Language. Language + The default language for the catalogue pricing update. + 0..1 + Catalogue Pricing Update + Default + Language + Language + + + + + + + + + ASBIE + Catalogue Pricing Update. Catalogue Pricing Update Line + An association to one or more Catalogue Pricing Update Lines. + 1..n + Catalogue Pricing Update + Catalogue Pricing Update Line + Catalogue Pricing Update Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueRequest-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueRequest-2.0.xsd new file mode 100644 index 0000000..d598bf3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CatalogueRequest-2.0.xsd @@ -0,0 +1,525 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Catalogue Request. Details + The document used to request a Catalogue. + Catalogue Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Request. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Request. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Catalogue Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Request. Identifier + An identifier for the Catalogue Request assigned by the Catalogue Managing Party. + 1 + Catalogue Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Catalogue Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. Name + A name given to the Catalogue Request. + 0..1 + Catalogue Request + Name + Name + Name. Type + "winter 2005 collection" + + + + + + + + + BBIE + Catalogue Request. Issue Date. Date + The date assigned by the Catalogue Managing Party on which the Catalogue was requested. + 1 + Catalogue Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Request. Issue Time. Time + The time assigned by the Catalogue Managing Party at which the Catalogue was requested. + 0..1 + Catalogue Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Request. Note. Text + Free-form text applying to the Catalogue Request. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Catalogue Request + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Request. Description. Text + Describes the Catalogue Request. + 0..n + Catalogue Request + Description + Text + Text. Type + "latest computer accessories for laptops" + + + + + + + + + BBIE + Catalogue Request. Pricing Update Request_ Indicator. Indicator + The indicator requesting a pricing update. + 0..1 + Catalogue Request + Pricing Update Request + Indicator + Indicator + Indicator. Type + default is true + + + + + + + + + BBIE + Catalogue Request. Item Update Request_ Indicator. Indicator + The indicator requesting an update of the item specifications. + 0..1 + Catalogue Request + Item Update Request + Indicator + Indicator + Indicator. Type + default is true + + + + + + + + + BBIE + Catalogue Request. Line Count. Numeric + The number of lines in the document. + 0..1 + Catalogue Request + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Request. Validity_ Period. Period + The period assigned by the Catalogue Managing Party during which the information in the Catalogue requested is to be effective. This may be given as start and end dates or a duration. + 0..n + Catalogue Request + Validity + Period + Period + + + + + + + + + ASBIE + Catalogue Request. Receiver_ Party. Party + An association to the Catalogue Receiver Party. + 1 + Catalogue Request + Receiver + Party + Party + + + + + + + + + ASBIE + Catalogue Request. Provider_ Party. Party + An association to the Catalogue Provider Party. + 1 + Catalogue Request + Provider + Party + Party + + + + + + + + + ASBIE + Catalogue Request. Seller_ Supplier Party. Supplier Party + The Supplier Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Request + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Request. Contractor_ Customer Party. Customer Party + The Customer Party responsible for the contract to which the Catalogue relates. + 0..1 + Catalogue Request + Contractor + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Request. Requested_ Catalogue Reference. Catalogue Reference + An association to a specific Catalogue; used if the Catalogue Request is for an update. + 0..1 + Catalogue Request + Requested + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Request. Referenced_ Contract. Contract + An association to a framework agreement or contract. + 0..n + Catalogue Request + Referenced + Contract + Contract + + + + + + + + + ASBIE + Catalogue Request. Trading Terms + An association to trading terms. + 0..1 + Catalogue Request + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Request. Document Reference + An association to other documents. + 0..n + Catalogue Request + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue Request. Applicable Territory_ Address. Address + An association to the territory (regions, country, city, etc.) to which the requested Catalogue will apply. Expressed as an Address. + 0..n + Catalogue Request + Applicable Territory + Address + Address + + + + + + + + + ASBIE + Catalogue Request. Requested_ Language. Language + The language in which the Catalogue is requested to be provided. + 0..1 + Catalogue Request + Requested + Language + Language + + + + + + + + + ASBIE + Catalogue Request. Requested_ Classification Scheme. Classification Scheme + An association to classification categories for the Catalogue requested. + 0..n + Catalogue Request + Requested + Classification Scheme + Classification Scheme + + + + + + + + + ASBIE + Catalogue Request. Catalogue Request Line + An association to specific Catalogue Lines for the catalogue requested. + 0..n + Catalogue Request + Catalogue Request Line + Catalogue Request Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CertificateOfOrigin-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CertificateOfOrigin-2.0.xsd new file mode 100644 index 0000000..3e6fe39 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CertificateOfOrigin-2.0.xsd @@ -0,0 +1,376 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Certificate Of Origin. Details + A document that describes the Certificate of Origin. + Certificate Of Origin + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Certificate Of Origin. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Certificate Of Origin + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Certificate Of Origin. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Certificate Of Origin + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Certificate Of Origin. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Certificate Of Origin + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Certificate Of Origin. Identifier + Unique Identifier of the Certificate Of Origin. + 1 + Certificate Of Origin + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Certificate Of Origin + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin. Issue Date. Date + Date on which the Certificate Of Origin was issued. + 0..1 + Certificate Of Origin + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Certificate Of Origin. Issue Time. Time + Time at which the Certificate Of Origin was issued. + 0..1 + Certificate Of Origin + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Certificate Of Origin. Description. Text + Textual description of a Certificate Of Origin. + 0..n + Certificate Of Origin + Description + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin. Note. Text + Textual note associated with a Certificate Of Origin. + 0..n + Certificate Of Origin + Note + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin. Version Identifier. Identifier + Version identifier of a Certificate Of Origin. + 0..1 + Certificate Of Origin + Version Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Certificate Of Origin. Exporter_ Party. Party + The party who makes the export declaration, or on whose behalf the export declaration is made, and who is the owner of the goods or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Certificate Of Origin + Exporter + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin. Importer_ Party. Party + The party who makes an import declaration, or on whose behalf a Customs clearing agent or other authorized person makes an import declaration. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Certificate Of Origin + Importer + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin. Endorser Party + The party providing the endorsement. + 0..n + Certificate Of Origin + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Certificate Of Origin. Certificate Of Origin Application + Details of the application of a Certificate of Origin. + 1 + Certificate Of Origin + Certificate Of Origin Application + Certificate Of Origin Application + + + + + + + + + ASBIE + Certificate Of Origin. Issuer_ Endorsement. Endorsement + Issuer Endorsement details. + 1 + Certificate Of Origin + Issuer + Endorsement + Endorsement + + + + + + + + + ASBIE + Certificate Of Origin. Embassy_ Endorsement. Endorsement + Embassy Endorsement details. + 0..1 + Certificate Of Origin + Embassy + Endorsement + Endorsement + + + + + + + + + ASBIE + Certificate Of Origin. Insurance_ Endorsement. Endorsement + Insurance Endorsement details. + 0..1 + Certificate Of Origin + Insurance + Endorsement + Endorsement + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CreditNote-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CreditNote-2.0.xsd new file mode 100644 index 0000000..5067fe3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-CreditNote-2.0.xsd @@ -0,0 +1,730 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Credit Note. Details + The document used to specify credits due to the Debtor from the Creditor. + Credit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Credit Note. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Credit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Credit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Credit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Credit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Credit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Credit Note. Identifier + An identifier for the Credit Note assigned by the Creditor. + 1 + Credit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note. Copy_ Indicator. Indicator + Indicates whether the Credit Note is a copy (true) or not (false). + 0..1 + Credit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Credit Note. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Credit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note. Issue Date. Date + The date assigned by the Creditor on which the Credit Note was issued. + 1 + Credit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note. Issue Time. Time + The time assigned by the Creditor at which the Credit Note was issued. + 0..1 + Credit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Credit Note. Tax Point Date. Date + The date of the Credit Note used Indicates the point at which tax becomes applicable. + 0..1 + Credit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note. Note. Text + Free-form text applying to the Credit Note. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Credit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Credit Note. Document_ Currency Code. Code + The default currency for the Credit Note. + 0..1 + Credit Note + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Tax_ Currency Code. Code + The currency used for tax amounts in the Credit Note. + 0..1 + Credit Note + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Pricing_ Currency Code. Code + The currency used for prices in the Credit Note. + 0..1 + Credit Note + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Payment_ Currency Code. Code + The currency used for payment in the Credit Note. + 0..1 + Credit Note + Payment + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Payment Alternative_ Currency Code. Code + The alternative currency used for payment in the Credit Note. + 0..1 + Credit Note + Payment Alternative + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Accounting Cost Code. Code + The Buyer's accounting code applied to the Credit Note as a whole. + 0..1 + Credit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note. Accounting Cost. Text + The Buyer's accounting code applied to the Credit Note as a whole, expressed as text. + 0..1 + Credit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Credit Note. Line Count. Numeric + The number of lines in the document. + 0..1 + Credit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Credit Note. Invoice_ Period. Period + Associates the Credit Note with an Invoicing Period rather than a specific Invoice. + 0..n + Credit Note + Invoice + Period + Period + + + + + + + + + ASBIE + Credit Note. Discrepancy_ Response. Response + An association to a reason for the Credit Note as a whole. + 0..n + Credit Note + Discrepancy + Response + Response + + + + + + + + + ASBIE + Credit Note. Order Reference + An association to Order Reference. + 0..1 + Credit Note + Order Reference + Order Reference + + + + + + + + + ASBIE + Credit Note. Billing Reference + An association to Billing Reference. + 0..n + Credit Note + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Credit Note. Despatch_ Document Reference. Document Reference + An associative reference to Despatch Advice. + 0..n + Credit Note + Despatch + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Receipt_ Document Reference. Document Reference + An associative reference to Receipt Advice. + 0..n + Credit Note + Receipt + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Contract_ Document Reference. Document Reference + An associative reference to Contract. + 0..n + Credit Note + Contract + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Credit Note + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Signature + An association to Signature. + 0..n + Credit Note + Signature + Signature + + + + + + + + + ASBIE + Credit Note. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 1 + Credit Note + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Credit Note. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 1 + Credit Note + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Credit Note. Payee_ Party. Party + An association to the Payee. + 0..1 + Credit Note + Payee + Party + Party + + + + + + + + + ASBIE + Credit Note. Tax Representative_ Party. Party + An association to the Tax Representative. + 0..1 + Credit Note + Tax Representative + Party + Party + + + + + + + + + ASBIE + Credit Note. Tax_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Tax Currency. + 0..1 + Credit Note + Tax + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Pricing_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Pricing Currency. + 0..1 + Credit Note + Pricing + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Payment_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Currency. + 0..1 + Credit Note + Payment + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Payment Alternative_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Alternative Currency. + 0..1 + Credit Note + Payment Alternative + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Allowance Charge + An association to Allowances and Charges that apply to the Credit Note as a whole. + 0..n + Credit Note + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Credit Note. Tax Total + An association to Tax Total. + 0..n + Credit Note + Tax Total + Tax Total + + + + + + + + + ASBIE + Credit Note. Legal_ Monetary Total. Monetary Total + An association to the total amount payable on the Credit Note, including Allowances, Charges, and Taxes. + 1 + Credit Note + Legal + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Credit Note. Credit Note Line + An association to one or more Credit Note Lines. + 1..n + Credit Note + Credit Note Line + Credit Note Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-DebitNote-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-DebitNote-2.0.xsd new file mode 100644 index 0000000..c938683 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-DebitNote-2.0.xsd @@ -0,0 +1,731 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Debit Note. Details + The document used to specify debits made by the Debtor. + Debit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Debit Note. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Debit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Debit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Debit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Debit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Debit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Debit Note. Identifier + An identifier for the Debit Note assigned by the Debtor. + 1 + Debit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note. Copy_ Indicator. Indicator + Indicates whether the Debit Note is a copy (true) or not (false). + 0..1 + Debit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Debit Note. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Debit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note. Issue Date. Date + The date assigned by the Debtor on which the Debit Note was issued. + 1 + Debit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note. Issue Time. Time + The time assigned by the Debtor at which the Debit Note was issued. + 0..1 + Debit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Debit Note. Note. Text + Free-form text applying to the Debit Note. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Debit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Debit Note. Tax Point Date. Date + The date of the Debit Note used to indicate the point at which tax becomes applicable. + 0..1 + Debit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note. Document_ Currency Code. Code + The default currency for the Debit Note. + 0..1 + Debit Note + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Tax_ Currency Code. Code + The currency used for tax amounts in the Debit Note. + 0..1 + Debit Note + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Pricing_ Currency Code. Code + The currency used for prices in the Debit Note. + 0..1 + Debit Note + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Payment_ Currency Code. Code + The currency used for payment in the Debit Note. + 0..1 + Debit Note + Payment + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Payment Alternative_ Currency Code. Code + The alternative currency used for payment in the Debit Note. + 0..1 + Debit Note + Payment Alternative + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Accounting Cost Code. Code + The Buyer's accounting code applied to the Credit Note as a whole. + 0..1 + Debit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Debit Note. Accounting Cost. Text + The Buyer's accounting code applied to the Credit Note as a whole, expressed as text. + 0..1 + Debit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Debit Note. Line Count. Numeric + The number of lines in the document. + 0..1 + Debit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Debit Note. Invoice_ Period. Period + Associates the Debit Note with an Invoicing Period rather than a specific Invoice. + 0..n + Debit Note + Invoice + Period + Period + + + + + + + + + ASBIE + Debit Note. Discrepancy_ Response. Response + An association to a reason for the Debit Note as a whole. + 0..n + Debit Note + Discrepancy + Response + Response + + + + + + + + + ASBIE + Debit Note. Order Reference + An association to Order Reeference + 0..1 + Debit Note + Order Reference + Order Reference + + + + + + + + + ASBIE + Debit Note. Billing Reference + An association to Billing Reference. + 0..n + Debit Note + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Debit Note. Despatch_ Document Reference. Document Reference + An associative reference to Despatch Advice. + 0..n + Debit Note + Despatch + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Receipt_ Document Reference. Document Reference + An associative reference to Receipt Advice. + 0..n + Debit Note + Receipt + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Contract_ Document Reference. Document Reference + An associative reference to Contract. + 0..n + Debit Note + Contract + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Debit Note + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Signature + An association to Signature. + 0..n + Debit Note + Signature + Signature + + + + + + + + + ASBIE + Debit Note. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 1 + Debit Note + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Debit Note. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 1 + Debit Note + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Debit Note. Payee_ Party. Party + An association to the Payee. + 0..1 + Debit Note + Payee + Party + Party + + + + + + + + + ASBIE + Debit Note. Tax Representative_ Party. Party + An association to the Tax Representative. + 0..1 + Debit Note + Tax Representative + Party + Party + + + + + + + + + ASBIE + Debit Note. Prepaid_ Payment. Payment + An association to prepaid payment(s). + 0..n + Debit Note + Prepaid + Payment + Payment + + + + + + + + + ASBIE + Debit Note. Tax_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Tax Currency. + 0..1 + Debit Note + Tax + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Pricing_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Pricing Currency. + 0..1 + Debit Note + Pricing + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Payment_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Currency. + 0..1 + Debit Note + Payment + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Payment Alternative_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Alternative Currency. + 0..1 + Debit Note + Payment Alternative + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Tax Total + An association to Tax Total for specific tax types/rates. + 0..n + Debit Note + Tax Total + Tax Total + + + + + + + + + ASBIE + Debit Note. Requested_ Monetary Total. Monetary Total + An association to the total amount payable on the Debit Note, including Allowances, Charges, and Taxes. + 1 + Debit Note + Requested + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Debit Note. Debit Note Line + An association to one or more Debit Note Lines. + 1..n + Debit Note + Debit Note Line + Debit Note Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-DespatchAdvice-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-DespatchAdvice-2.0.xsd new file mode 100644 index 0000000..3c0d853 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-DespatchAdvice-2.0.xsd @@ -0,0 +1,456 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Despatch Advice. Details + The document used to describe the despatch or delivery of goods and services. + Despatch Advice + Ship Note, Dispatch Advice, Consignment Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Despatch Advice. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Despatch Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Despatch Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Despatch Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Despatch Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Despatch Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Despatch Advice. Identifier + An identifier for the Despatch Advice assigned by Despatch (Party). + 1 + Despatch Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Copy_ Indicator. Indicator + Indicates whether the Despatch Advice is a copy (true) or not (false). + 0..1 + Despatch Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Despatch Advice. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Despatch Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Issue Date. Date + The date assigned by Despatch (Party) on which the Despatch Advice was issued. + 1 + Despatch Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Despatch Advice. Issue Time. Time + The time assigned by Despatch (Party) at which the Despatch Advice was issued. + 0..1 + Despatch Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Despatch Advice. Document Status. Code + Identifies the status of the Despatch Advice with respect to its original state. This may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancelling or revising. + 0..1 + Despatch Advice + Document Status + Code + Document Status_ Code. Type + + + + + + + + + BBIE + Despatch Advice. Despatch Advice Type Code. Code + Identifies the type of the Despatch Advice. + 0..1 + Despatch Advice + Despatch Advice Type Code + Code + Code. Type + + + + + + + + + BBIE + Despatch Advice. Note. Text + Free-form text applying to the Despatch Advice. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Despatch Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Despatch Advice. Line Count. Numeric + The number of lines in the document. + 0..1 + Despatch Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Despatch Advice. Order Reference + An association to Order Reference. + 0..n + Despatch Advice + Order Reference + Order Reference + + + + + + + + + ASBIE + Despatch Advice. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Despatch Advice + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Despatch Advice. Signature + An association to Signature. + 0..n + Despatch Advice + Signature + Signature + + + + + + + + + ASBIE + Despatch Advice. Despatch_ Supplier Party. Supplier Party + An association to the Despatch Party. + 1 + Despatch Advice + Despatch + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Despatch Advice. Delivery_ Customer Party. Customer Party + An association to the Delivery Party. + 1 + Despatch Advice + Delivery + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 0..1 + Despatch Advice + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 0..1 + Despatch Advice + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Despatch Advice. Originator_ Customer Party. Customer Party + An association to the Originator (Party). + 0..1 + Despatch Advice + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Shipment + An association to a Shipment detail. + 0..1 + Despatch Advice + Shipment + Shipment + + + + + + + + + ASBIE + Despatch Advice. Despatch Line + An association to one or more Despatch Advice Lines. + 1..n + Despatch Advice + Despatch Line + Despatch Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ForwardingInstructions-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ForwardingInstructions-2.0.xsd new file mode 100644 index 0000000..7c7448c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ForwardingInstructions-2.0.xsd @@ -0,0 +1,493 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Forwarding Instructions. Details + The document issued to a forwarder, giving instructions regarding the action to be taken for the forwarding of goods described therein. Forwarding Instructions is used by any party who gives instructions for the transportation services required for a consignment of goods to any party who is contracted to provide the transportation services. The parties who issue this document are commonly referred to as the shipper or consignor, while the parties who receive this document are forwarders, carriers, shipping agents, etc. Note that this document may also be issued by a forwarder or shipping agent in their capacity as a "shipper". This document can be used to arrange for the transportation (1) of different types of goods or cargoes; (2) whether containerized or non-containerized; (3) through different modes of transport including multi-modal; and (4) from any origin to any destination. + Forwarding Instructions + Forwarding Instruction + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Forwarding Instructions. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Forwarding Instructions + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Forwarding Instructions. Customization Identifier. Identifier + Identifies a user-defined Customization of UBL for a specific use. + 0..1 + Forwarding Instructions + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Forwarding Instructions. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Forwarding Instructions + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Forwarding Instructions. Identifier + Unique identifier of the Forwarding Instructions. Reference number to identify a Shipping Instruction. + 1 + Forwarding Instructions + Identifier + Identifier + Identifier. Type + Freight Forwarding Instruction, Shippers Letter of Instruction + + + + + + + + + BBIE + Forwarding Instructions. Carrier Assigned_ Identifier. Identifier + Reference number assigned by a carrier or its agent to identify a specific shipment such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Forwarding Instructions + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Forwarding Instructions + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. Issue Date. Date + Date on which the Forwarding Instructions were issued. + 0..1 + Forwarding Instructions + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Forwarding Instructions. Issue Time. Time + Time at which the Forwarding Instructions were issued. + 0..1 + Forwarding Instructions + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forwarding Instructions. Name + Name of a Forwarding Instructions. + 0..1 + Forwarding Instructions + Name + Name + Name. Type + + + + + + + + + BBIE + Forwarding Instructions. Description. Text + Description of the type of Forwarding Instructions. + 0..n + Forwarding Instructions + Description + Text + Text. Type + + + + + + + + + BBIE + Forwarding Instructions. Note. Text + Informative notes associated with the Forwarding Instructions. + 0..n + Forwarding Instructions + Note + Text + Text. Type + + + + + + + + + BBIE + Forwarding Instructions. Document Status Code. Code + Identifies the status of the Forwarding Instructions with respect to its original state. This may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancelling or revising. + 0..1 + Forwarding Instructions + Document Status Code + Code + Document Status_ Code. Type + + + + + + + + + BBIE + Forwarding Instructions. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order. + 0..1 + Forwarding Instructions + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. To Order_ Indicator. Indicator + Indicator of whether the transport document is consigned to order. + 0..1 + Forwarding Instructions + To Order + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forwarding Instructions. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Forwarding Instructions + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forwarding Instructions. Declared Carriage_ Value. Amount + Value, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Forwarding Instructions + Declared Carriage + Value + Amount + Amount. Type + + + + + + + + + BBIE + Forwarding Instructions. Other_ Instruction. Text + Contains other free-text based instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Forwarding Instructions + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Forwarding Instructions. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Forwarding Instructions + Consignor + Party + Party + + + + + + + + + ASBIE + Forwarding Instructions. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Forwarding Instructions + Carrier + Party + Party + + + + + + + + + ASBIE + Forwarding Instructions. Freight Forwarder_ Party. Party + The party combining individual smaller consignments into a single larger consignment (so-called consolidated consignment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Forwarding Instructions + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Forwarding Instructions. Shipment + Information about the separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport. + 1 + Forwarding Instructions + Shipment + Shipment + + + + + + + + + ASBIE + Forwarding Instructions. Document Reference + An association to Document Reference. + 0..n + Forwarding Instructions + Document Reference + Document Reference + + + + + + + + + ASBIE + Forwarding Instructions. Exchange Rate + Information that directly relates to the rate of exchange (conversion) between two currencies. + 0..n + Forwarding Instructions + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Forwarding Instructions. Signature + One or more signatures applied to the document instance. + 0..n + Forwarding Instructions + Signature + Signature + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-FreightInvoice-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-FreightInvoice-2.0.xsd new file mode 100644 index 0000000..74aab3c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-FreightInvoice-2.0.xsd @@ -0,0 +1,809 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Freight Invoice. Details + A document stating the charges incurred for the logistics service. + Freight Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Freight Invoice. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Freight Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Freight Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Freight Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Freight Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Freight Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Freight Invoice. Identifier + An identifier for the Invoice assigned by the Creditor. + 1 + Freight Invoice + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Freight Invoice. Copy_ Indicator. Indicator + Indicates whether a document is a copy (true) or not (false). + 0..1 + Freight Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Freight Invoice. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Freight Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Freight Invoice. Issue Date. Date + The date assigned by the Creditor on which the Invoice was issued. + 1 + Freight Invoice + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Freight Invoice. Issue Time. Time + The time assigned by the Creditor at which the Invoice was issued. + 0..1 + Freight Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Freight Invoice. Invoice Type Code. Code + Code specifying the type of the Invoice. + 0..1 + Freight Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Freight Invoice. Note. Text + Free-form text applying to the Invoice. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Freight Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Freight Invoice. Tax Point Date. Date + The date of the Invoice, used to indicate the point at which tax becomes applicable. + 0..1 + Freight Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Freight Invoice. Document_ Currency Code. Code + The currency in which the Document is presented. This may be the same currency as the pricing or as the tax. + 0..1 + Freight Invoice + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Tax_ Currency Code. Code + The currency used for tax amounts in the Invoice. + 0..1 + Freight Invoice + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Pricing_ Currency Code. Code + The currency used for prices in the Freight Invoice. + 0..1 + Freight Invoice + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Payment_ Currency Code. Code + The currency used for payment in the Freight Invoice. + 0..1 + Freight Invoice + Payment + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Payment Alternative_ Currency Code. Code + The alternative currency used for payment in the Freight Invoice. + 0..1 + Freight Invoice + Payment Alternative + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Accounting Cost Code. Code + The Buyer's accounting code applied to the Invoice as a whole. + 0..1 + Freight Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Freight Invoice. Accounting Cost. Text + The Buyer's accounting code applied to the Invoice as a whole, expressed as text. + 0..1 + Freight Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Freight Invoice. Line Count. Numeric + The number of lines in the document. + 0..1 + Freight Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Freight Invoice. Invoice_ Period. Period + An association to period(s) to which the Invoice applies. + 0..n + Freight Invoice + Invoice + Period + Period + + + + + + + + + ASBIE + Freight Invoice. Shipment + An association to Shipment. + 1 + Freight Invoice + Shipment + Shipment + + + + + + + + + ASBIE + Freight Invoice. Order Reference + An association to Order Reference. + 0..1 + Freight Invoice + Order Reference + Order Reference + + + + + + + + + ASBIE + Freight Invoice. Billing Reference + An association to Billing Reference. + 0..n + Freight Invoice + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Freight Invoice. Despatch_ Document Reference. Document Reference + An associative reference to Despatch Advice. + 0..n + Freight Invoice + Despatch + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Receipt_ Document Reference. Document Reference + An associative reference to Receipt Advice. + 0..n + Freight Invoice + Receipt + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Originator_ Document Reference. Document Reference + An associative reference to Originator Document. + 0..n + Freight Invoice + Originator + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Contract_ Document Reference. Document Reference + An associative reference to Contract. + 0..n + Freight Invoice + Contract + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Freight Invoice + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Signature + An association to Signature. + 0..n + Freight Invoice + Signature + Signature + + + + + + + + + ASBIE + Freight Invoice. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 1 + Freight Invoice + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Freight Invoice. Accounting_ Customer Party. Customer Party + An association to the Accounting Buyer Party. + 1 + Freight Invoice + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Freight Invoice. Payee_ Party. Party + An association to the Payee. + 0..1 + Freight Invoice + Payee + Party + Party + + + + + + + + + ASBIE + Freight Invoice. Tax Representative_ Party. Party + An association to the Tax Representative. + 0..1 + Freight Invoice + Tax Representative + Party + Party + + + + + + + + + ASBIE + Freight Invoice. Payment Means + An association to Payment Means. + 0..n + Freight Invoice + Payment Means + Payment Means + + + + + + + + + ASBIE + Freight Invoice. Payment Terms + An association to Payment Terms. + 0..n + Freight Invoice + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Freight Invoice. Prepaid_ Payment. Payment + An association to prepaid payment(s). + 0..n + Freight Invoice + Prepaid + Payment + Payment + + + + + + + + + ASBIE + Freight Invoice. Allowance Charge + An association to Allowances and Charges that apply to the Invoice as a whole. + 0..n + Freight Invoice + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Freight Invoice. Tax_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Tax Currency. + 0..1 + Freight Invoice + Tax + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Pricing_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Pricing Currency. + 0..1 + Freight Invoice + Pricing + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Payment_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Currency. + 0..1 + Freight Invoice + Payment + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Alternative Currency. + 0..1 + Freight Invoice + Payment Alternative + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Tax Total + An association to tax total for specific tax types/rates. + 0..n + Freight Invoice + Tax Total + Tax Total + + + + + + + + + ASBIE + Freight Invoice. Legal_ Monetary Total. Monetary Total + An association to the total amount payable on the Invoice, including Allowances, Charges, and Taxes. + 1 + Freight Invoice + Legal + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Freight Invoice. Invoice Line + An association to one or more Invoice Lines. + 1..n + Freight Invoice + Invoice Line + Invoice Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Invoice-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Invoice-2.0.xsd new file mode 100644 index 0000000..b8258e8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Invoice-2.0.xsd @@ -0,0 +1,856 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Invoice. Details + The document used to request payment. + Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Invoice. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Invoice. Identifier + An identifier for the Invoice assigned by the Creditor. + 1 + Invoice + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Invoice. Copy_ Indicator. Indicator + Indicates whether a document is a copy (true) or not (false). + 0..1 + Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Invoice. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice. Issue Date. Date + The date assigned by the Creditor on which the Invoice was issued. + 1 + Invoice + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Invoice. Issue Time. Time + The time assigned by the Creditor at which the Invoice was issued. + 0..1 + Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Invoice. Invoice Type Code. Code + Code specifying the type of the Invoice. + 0..1 + Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Invoice. Note. Text + Free-form text applying to the Invoice. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Invoice. Tax Point Date. Date + The date of the Invoice, used to indicate the point at which tax becomes applicable. + 0..1 + Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Invoice. Document_ Currency Code. Code + The currency in which the Document is presented. This may be the same currency as the pricing or as the tax. + 0..1 + Invoice + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Tax_ Currency Code. Code + The currency used for tax amounts in the Invoice. + 0..1 + Invoice + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Pricing_ Currency Code. Code + The currency used for prices in the Invoice. + 0..1 + Invoice + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Payment_ Currency Code. Code + The currency used for payment in the Invoice. + 0..1 + Invoice + Payment + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Payment Alternative_ Currency Code. Code + The alternative currency used for payment in the Invoice. + 0..1 + Invoice + Payment Alternative + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Accounting Cost Code. Code + The Buyer's accounting code applied to the Invoice as a whole. + 0..1 + Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Invoice. Accounting Cost. Text + The Buyer's accounting code applied to the Invoice as a whole, expressed as text. + 0..1 + Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Invoice. Line Count. Numeric + The number of lines in the document. + 0..1 + Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Invoice. Invoice_ Period. Period + An association to period(s) to which the Invoice applies. + 0..n + Invoice + Invoice + Period + Period + + + + + + + + + ASBIE + Invoice. Order Reference + An association to Order Reference. + 0..1 + Invoice + Order Reference + Order Reference + + + + + + + + + ASBIE + Invoice. Billing Reference + An association to Billing Reference. + 0..n + Invoice + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Invoice. Despatch_ Document Reference. Document Reference + An associative reference to Despatch Advice. + 0..n + Invoice + Despatch + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Receipt_ Document Reference. Document Reference + An associative reference to Receipt Advice. + 0..n + Invoice + Receipt + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Originator_ Document Reference. Document Reference + An associative reference to Originator Document. + 0..n + Invoice + Originator + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Contract_ Document Reference. Document Reference + An associative reference to Contract. + 0..n + Invoice + Contract + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Invoice + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Signature + An association to Signature. + 0..n + Invoice + Signature + Signature + + + + + + + + + ASBIE + Invoice. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 1 + Invoice + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Invoice. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 1 + Invoice + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Invoice. Payee_ Party. Party + An association to the Payee. + 0..1 + Invoice + Payee + Party + Party + + + + + + + + + ASBIE + Invoice. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 0..1 + Invoice + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Invoice. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 0..1 + Invoice + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Invoice. Tax Representative_ Party. Party + An association to the Tax Representative. + 0..1 + Invoice + Tax Representative + Party + Party + + + + + + + + + ASBIE + Invoice. Delivery + An association to Delivery. + 0..n + Invoice + Delivery + Delivery + + + + + + + + + ASBIE + Invoice. Delivery Terms + An association to Delivery Terms. + 0..1 + Invoice + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Invoice. Payment Means + An association to Payment Means. + 0..n + Invoice + Payment Means + Payment Means + + + + + + + + + ASBIE + Invoice. Payment Terms + An association to Payment Terms. + 0..n + Invoice + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Invoice. Prepaid_ Payment. Payment + An association to prepaid payment(s). + 0..n + Invoice + Prepaid + Payment + Payment + + + + + + + + + ASBIE + Invoice. Allowance Charge + An association to Allowances and Charges that apply to the Invoice as a whole. + 0..n + Invoice + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Invoice. Tax_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Tax Currency. + 0..1 + Invoice + Tax + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Pricing_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Pricing Currency. + 0..1 + Invoice + Pricing + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Payment_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Currency. + 0..1 + Invoice + Payment + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Alternative Currency. + 0..1 + Invoice + Payment Alternative + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Tax Total + An association to tax total for specific tax types/rates. + 0..n + Invoice + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice. Legal_ Monetary Total. Monetary Total + An association to the total amount payable on the Invoice, including Allowances, Charges, and Taxes. + 1 + Invoice + Legal + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Invoice. Invoice Line + An association to one or more Invoice Lines. + 1..n + Invoice + Invoice Line + Invoice Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Order-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Order-2.0.xsd new file mode 100644 index 0000000..7d30df5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Order-2.0.xsd @@ -0,0 +1,731 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Order. Details + The document used to order goods and services. + Order + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order. Identifier + An identifier for the Order assigned by the Buyer. + 1 + Order + Identifier + Identifier + Identifier. Type + Purchase Order Number, Order Number + + + + + + + + + BBIE + Order. Sales Order Identifier. Identifier + An identifier for the Order assigned by the Seller. + 0..1 + Order + Sales Order Identifier + Identifier + Identifier. Type + Sales Order Number + + + + + + + + + BBIE + Order. Copy_ Indicator. Indicator + Indicates whether the Order is a copy (true) or not (false). + 0..1 + Order + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Order + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order. Issue Date. Date + The date assigned by the Buyer on which the Order was issued. + 1 + Order + Issue Date + Date + Date. Type + Order Date + + + + + + + + + BBIE + Order. Issue Time. Time + The time assigned by the Buyer on which the Order was issued. + 0..1 + Order + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order. Note. Text + Free-form text applying to the Order. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Order + Note + Text + Text. Type + + + + + + + + + BBIE + Order. Requested Invoice_ Currency Code. Code + The currency requested for amount totals in Invoices related to this Order. + 0..1 + Order + Requested Invoice + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order. Document_ Currency Code. Code + The default currency for the Order. + 0..1 + Order + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order. Pricing_ Currency Code. Code + The currency that is used for all prices in the Order. + 0..1 + Order + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order. Tax_ Currency Code. Code + The currency requested for tax amounts in Invoices related to this Order. + 0..1 + Order + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order. Customer Reference. Text + A supplementary reference for the Order. + 0..1 + Order + Customer Reference + Text + Text. Type + CRI in a purchasing card transaction + + + + + + + + + BBIE + Order. Accounting Cost Code. Code + The Buyer's accounting code applied to the Order as a whole. + 0..1 + Order + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order. Accounting Cost. Text + The Buyer's accounting code applied to the Order as a whole, expressed as text. + 0..1 + Order + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order. Line Count. Numeric + The number of lines in the document. + 0..1 + Order + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order. Validity_ Period. Period + The period for which the Order is valid. + 0..n + Order + Validity + Period + Period + + + + + + + + + ASBIE + Order. Quotation_ Document Reference. Document Reference + An associative reference to Quotation. + 0..1 + Order + Quotation + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Order_ Document Reference. Document Reference + An associative reference to [another] Order. + 0..n + Order + Order + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Originator_ Document Reference. Document Reference + An associative reference to Originator Document. + 0..1 + Order + Originator + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Order + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Contract + An association to Contract. + 0..n + Order + Contract + Contract + + + + + + + + + ASBIE + Order. Signature + An association to Signature. + 0..n + Order + Signature + Signature + + + + + + + + + ASBIE + Order. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 1 + Order + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 1 + Order + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Order + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Freight Forwarder_ Party. Party + An association to a Freight Forwarder or Carrier. + 0..1 + Order + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Order. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. The party that Invoice is expected to be sent to if not the buyer party. + 0..1 + Order + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Delivery + An association to Delivery. + 0..n + Order + Delivery + Delivery + + + + + + + + + ASBIE + Order. Delivery Terms + An association to Delivery Terms. + 0..1 + Order + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order. Payment Means + An association to Payment Means. + 0..1 + Order + Payment Means + Payment Means + + + + + + + + + ASBIE + Order. Transaction Conditions + An association with any purchasing or sales conditions applying to the whole order. + 0..1 + Order + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Order. Allowance Charge + An association to Allowances and Charges that apply to the Order as a whole. + 0..n + Order + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order. Destination_ Country. Country + An association to the country of destination (for customs purposes). + 0..1 + Order + Destination + Country + Country + + + + + + + + + ASBIE + Order. Tax Total + An association to the total tax amount of the Order (as calculated by the Buyer). + 0..n + Order + Tax Total + Tax Total + + + + + + + + + ASBIE + Order. Anticipated_ Monetary Total. Monetary Total + An association to the total amounts for the Order anticipated by the Buyer. + 0..1 + Order + Anticipated + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order. Order Line + An association to one or more Order Lines. + 1..n + Order + Order Line + Order Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderCancellation-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderCancellation-2.0.xsd new file mode 100644 index 0000000..24401ab --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderCancellation-2.0.xsd @@ -0,0 +1,393 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Order Cancellation. Details + The document used to cancel an entire Order. + Order Cancellation + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Cancellation. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Cancellation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Cancellation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Cancellation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Cancellation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Cancellation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Cancellation. Identifier + An identifier for the Order Cancellation assigned by the Buyer. + 1 + Order Cancellation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Copy_ Indicator. Indicator + Indicates whether the Order Cancellation is a copy (true) or not (false). + 0..1 + Order Cancellation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Cancellation. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Order Cancellation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Issue Date. Date + The date assigned by the Buyer on which the Order was cancelled. + 1 + Order Cancellation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Cancellation. Issue Time. Time + The time assigned by the Buyer at which the Order was cancelled. + 0..1 + Order Cancellation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Cancellation. Note. Text + Free-form text applying to the Order Cancellation. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Order Cancellation + Note + Text + Text. Type + + + + + + + + + BBIE + Order Cancellation. Cancellation_ Note. Text + The general reason for cancellation of the referenced order. + 1 + Order Cancellation + Cancellation + Note + Text + Text. Type + + + + + + + + + ASBIE + Order Cancellation. Order Reference + An associative reference to the Order(s) being cancelled. It is considered better practice to cancel only one Order in each Order Cancellation document. + 1..n + Order Cancellation + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Cancellation. Originator_ Document Reference. Document Reference + An associative reference to Originator Document. + 0..1 + Order Cancellation + Originator + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Cancellation. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Order Cancellation + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Cancellation. Contract + An association to Contract. + 0..n + Order Cancellation + Contract + Contract + + + + + + + + + ASBIE + Order Cancellation. Signature + An association to Signature. + 0..n + Order Cancellation + Signature + Signature + + + + + + + + + ASBIE + Order Cancellation. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 1 + Order Cancellation + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Cancellation. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 1 + Order Cancellation + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Cancellation. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Order Cancellation + Originator + Customer Party + Customer Party + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderChange-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderChange-2.0.xsd new file mode 100644 index 0000000..d3cdfff --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderChange-2.0.xsd @@ -0,0 +1,759 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Order Change. Details + The document used to specify changes to an existing Order. + Order Change + Purchase Order Change + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Change. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Change + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Change. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Change + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Change. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Change + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Change. Identifier + An identifier for the Order Change assigned by the Buyer. + 0..1 + Order Change + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Sales Order Identifier. Identifier + An identifier for the Order Change issued by the Seller. + 0..1 + Order Change + Sales Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Copy_ Indicator. Indicator + Indicates whether the Order Change is a copy (true) or not (false). + 0..1 + Order Change + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Change. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Order Change + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Issue Date. Date + The date assigned by the Buyer on which the Order was changed. + 1 + Order Change + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Change. Issue Time. Time + The time assigned by the Buyer at which the Order was changed. + 0..1 + Order Change + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Change. Sequence_ Number. Identifier + The Order Change Sequence Number assigned by the Buyer to ensure the proper sequencing of changes. + 1 + Order Change + Sequence + Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Note. Text + Free-form text applying to the Order Change. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Order Change + Note + Text + Text. Type + + + + + + + + + BBIE + Order Change. Requested Invoice_ Currency Code. Code + The currency requested for amount totals in Invoices related to this Order Change. + 0..1 + Order Change + Requested Invoice + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Document_ Currency Code. Code + The default currency for the Order Change. + 0..1 + Order Change + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Pricing_ Currency Code. Code + The currency that is used for all prices in the Order Change. + 0..1 + Order Change + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Tax_ Currency Code. Code + The currency requested for tax amounts in Invoices related to this Order Change. + 0..1 + Order Change + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Customer Reference. Text + A supplementary reference for the transaction (e.g., CRI when using purchasing card). + 0..1 + Order Change + Customer Reference + Text + Text. Type + + + + + + + + + BBIE + Order Change. Accounting Cost Code. Code + The Buyer's accounting code applied to the Order Change as a whole. + 0..1 + Order Change + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Change. Accounting Cost. Text + The Buyer's accounting code applied to the Order Change as a whole, expressed as text. + 0..1 + Order Change + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order Change. Line Count. Numeric + The number of lines in the document. + 0..1 + Order Change + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order Change. Validity_ Period. Period + The period for which the changed Order is valid. + 0..n + Order Change + Validity + Period + Period + + + + + + + + + ASBIE + Order Change. Order Reference + An association to Order Reference (the reference of the Order being changed). + 1 + Order Change + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Change. Quotation_ Document Reference. Document Reference + An associative reference to Quotation. + 0..1 + Order Change + Quotation + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Originator_ Document Reference. Document Reference + An associative reference to Originator Document. + 0..1 + Order Change + Originator + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Order Change + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Contract + An association to Contract + 0..n + Order Change + Contract + Contract + + + + + + + + + ASBIE + Order Change. Signature + An association to Signature. + 0..n + Order Change + Signature + Signature + + + + + + + + + ASBIE + Order Change. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 1 + Order Change + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 1 + Order Change + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Change. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Order Change + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Freight Forwarder_ Party. Party + An association to a Freight Forwarder or Carrier. + 0..1 + Order Change + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Order Change. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 0..1 + Order Change + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 0..1 + Order Change + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Change. Delivery + An association to Delivery. + 0..n + Order Change + Delivery + Delivery + + + + + + + + + ASBIE + Order Change. Delivery Terms + An association to Delivery Terms. + 0..1 + Order Change + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order Change. Payment Means + An association to Payment Means. + 0..1 + Order Change + Payment Means + Payment Means + + + + + + + + + ASBIE + Order Change. Transaction Conditions + Associates the Order Change with a purchasing, sales, or payment condition applying to the whole order. + 0..1 + Order Change + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Order Change. Allowance Charge + An association to Allowances and Charges that apply to the Order Change as a whole. + 0..n + Order Change + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order Change. Destination_ Country. Country + An association to the country of destination (for customs purposes). + 0..1 + Order Change + Destination + Country + Country + + + + + + + + + ASBIE + Order Change. Tax Total + An association to the total tax amount of the changed Order (as calculated by the Buyer). + 0..n + Order Change + Tax Total + Tax Total + + + + + + + + + ASBIE + Order Change. Anticipated_ Monetary Total. Monetary Total + An association to the total amounts for the Order Change anticipated by the Buyer. + 0..1 + Order Change + Anticipated + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order Change. Order Line + An association to one or more (changed) Order Lines. + 1..n + Order Change + Order Line + Order Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderResponse-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderResponse-2.0.xsd new file mode 100644 index 0000000..9b90d99 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderResponse-2.0.xsd @@ -0,0 +1,828 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Order Response. Details + The document used to indicate detailed acceptance or rejection of an Order or to make a counter-offer. + Order Response + Order Acknowledgement, PO Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Response. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL. + 0..1 + Order Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Response. Identifier + An identifier for the Order Response assigned by the Seller. + 1 + Order Response + Identifier + Identifier + Identifier. Type + Purchase Order Response Number, Acknowledgement of Order Number + + + + + + + + + BBIE + Order Response. Sales Order Identifier. Identifier + An identifier for the Order issued by the Seller. + 0..1 + Order Response + Sales Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response. Copy_ Indicator. Indicator + Indicates whether the Order Response is a copy (true) or not (false). + 0..1 + Order Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Order Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response. Issue Date. Date + The date assigned by the Seller on which the Order was responded to. + 1 + Order Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Response. Issue Time. Time + The time assigned by the Seller at which the Order was responded to. + 0..1 + Order Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Response. Note. Text + Free-form text applying to the Order Response. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Order Response + Note + Text + Text. Type + + + + + + + + + BBIE + Order Response. Document_ Currency Code. Code + The default currency for the Order Response. + 0..1 + Order Response + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Pricing_ Currency Code. Code + The currency that is used for all prices in the Order Response. + 0..1 + Order Response + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Tax_ Currency Code. Code + The currency that is used for all tax amounts in the Order Response. + 0..1 + Order Response + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Total_ Packages Quantity. Quantity + The total number of packages contained in the Order Response. + 0..1 + Order Response + Total + Packages Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Order Response. Gross_ Weight. Measure + The total gross weight for the Order Response (goods + packaging + transport equipment). + 0..1 + Order Response + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net_ Weight. Measure + The total net weight for the Order Response (goods + packaging). + 0..1 + Order Response + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net Net_ Weight. Measure + The total net weight of the goods in the Order Response excluding packaging. + 0..1 + Order Response + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Gross_ Volume. Measure + The total volume of the goods in the Order Response including packaging. + 0..1 + Order Response + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net_ Volume. Measure + The total volume of the goods in the Order Response excluding packaging. + 0..1 + Order Response + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Customer Reference. Text + A supplementary reference assigned by the Buyer, e.g. the CRI in a purchasing card transaction. + 0..1 + Order Response + Customer Reference + Text + Text. Type + + + + + + + + + BBIE + Order Response. Accounting Cost Code. Code + An accounting cost code applied to the order as a whole. + 0..1 + Order Response + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Response. Accounting Cost. Text + An accounting cost code applied to the order as a whole, expressed as text. + 0..1 + Order Response + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order Response. Line Count. Numeric + The number of lines in the document. + 0..1 + Order Response + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order Response. Validity_ Period. Period + The period for which the Order Response is valid. + 0..n + Order Response + Validity + Period + Period + + + + + + + + + ASBIE + Order Response. Order Reference + An association to Order Reference (the reference of the Order being responded to). + 1..n + Order Response + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Response. Order_ Document Reference. Document Reference + An associative reference to [another] Order. + 0..n + Order Response + Order + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Originator_ Document Reference. Document Reference + An associative reference to Originator Document. + 0..1 + Order Response + Originator + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Order Response + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Contract + An association to Contract + 0..n + Order Response + Contract + Contract + + + + + + + + + ASBIE + Order Response. Signature + An association to Signature. + 0..n + Order Response + Signature + Signature + + + + + + + + + ASBIE + Order Response. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 1 + Order Response + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 1 + Order Response + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Order Response + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Freight Forwarder_ Party. Party + An association to a Freight Forwarder or Carrier. + 0..1 + Order Response + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Order Response. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 0..1 + Order Response + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 0..1 + Order Response + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Delivery + An association to Delivery. + 0..n + Order Response + Delivery + Delivery + + + + + + + + + ASBIE + Order Response. Delivery Terms + An association to Delivery Terms. + 0..1 + Order Response + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order Response. Payment Means + An association to Payment Means. + 0..1 + Order Response + Payment Means + Payment Means + + + + + + + + + ASBIE + Order Response. Allowance Charge + An association to Allowances and Charges that apply to the Order Response as a whole. + 0..n + Order Response + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order Response. Transaction Conditions + An association with any sales or purchasing conditions applying to the whole order. + 0..1 + Order Response + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Order Response. Destination_ Country. Country + Associates the order response with the country to which it is destined, for Customs purposes. + 0..1 + Order Response + Destination + Country + Country + + + + + + + + + ASBIE + Order Response. Tax Total + An association to the total tax amount of the Order (as calculated by the Seller). + 0..n + Order Response + Tax Total + Tax Total + + + + + + + + + ASBIE + Order Response. Legal_ Monetary Total. Monetary Total + An association to the total amounts for the Order (or counter-offer). + 0..1 + Order Response + Legal + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order Response. Order Line + An association to one or more Order Lines. + 1..n + Order Response + Order Line + Order Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderResponseSimple-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderResponseSimple-2.0.xsd new file mode 100644 index 0000000..601ee1f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-OrderResponseSimple-2.0.xsd @@ -0,0 +1,463 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Order Response Simple. Details + The document used to indicate simple acceptance or rejection of an entire Order. + Order Response Simple + Order Acknowledgement, PO Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Response Simple. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Response Simple + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Response Simple. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Response Simple + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Response Simple. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Response Simple + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Response Simple. Identifier + An identifier for the Order Response Simple assigned by the Seller. + 1 + Order Response Simple + Identifier + Identifier + Identifier. Type + Purchase Order Response Number, Acknowledgement of Order Number + + + + + + + + + BBIE + Order Response Simple. Copy_ Indicator. Indicator + Indicates whether the Order Response Simple is a copy (true) or not (false). + 0..1 + Order Response Simple + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response Simple. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Order Response Simple + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response Simple. Issue Date. Date + The date assigned by the Seller on which the Order was responded to. + 1 + Order Response Simple + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Response Simple. Issue Time. Time + The time assigned by the Seller at which the Order was responded to. + 0..1 + Order Response Simple + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Response Simple. Note. Text + Free-form text applying to the Order Response Simple. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Order Response Simple + Note + Text + Text. Type + + + + + + + + + BBIE + Order Response Simple. Accepted_ Indicator. Indicator + Indicates whether the Order is accepted (true) or rejected (false). + 1 + Order Response Simple + Accepted + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response Simple. Rejection_ Note. Text + The reason for rejection if the order was not accepted. + 0..1 + Order Response Simple + Rejection + Note + Text + Text. Type + "Out of Stock","Not able to supply","Unable to fulfill within the contracted conditions", "Buyer Account not Recognised" + + + + + + + + + BBIE + Order Response Simple. Customer_ Reference. Text + A supplementary reference for the transaction (e.g., when using purchasing card). + 0..1 + Order Response Simple + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Response Simple. Accounting Cost Code. Code + An accounting cost code applied to the order as a whole. + 0..1 + Order Response Simple + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Response Simple. Accounting Cost. Text + An accounting cost code applied to the order as a whole, expressed as text. + 0..1 + Order Response Simple + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Order Response Simple. Order Reference + An association to Order Reference (the reference of the Order being responded to). + 1 + Order Response Simple + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Response Simple. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Order Response Simple + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response Simple. Signature + An association to Signature. + 0..n + Order Response Simple + Signature + Signature + + + + + + + + + ASBIE + Order Response Simple. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 1 + Order Response Simple + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response Simple. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 1 + Order Response Simple + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response Simple. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Order Response Simple + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response Simple. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 0..1 + Order Response Simple + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response Simple. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 0..1 + Order Response Simple + Accounting + Customer Party + Customer Party + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-PackingList-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-PackingList-2.0.xsd new file mode 100644 index 0000000..a3fcc4d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-PackingList-2.0.xsd @@ -0,0 +1,408 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Packing List. Details + A document stating the detail of how goods are packed. + Packing List + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Packing List. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Packing List + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Packing List. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Packing List + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Packing List. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Packing List + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Packing List. Identifier + Unique Identifier of the Packing List. Reference number to identify a packing list. + 1 + Packing List + Identifier + Identifier + Identifier. Type + Packing List Number + + + + + + + + + BBIE + Packing List. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Packing List + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Packing List. Issue Date. Date + Date of issue of a packing list. + 0..1 + Packing List + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Packing List. Issue Time. Time + Time of issue of a packing list. + 0..1 + Packing List + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Packing List. Name + Name of a Packing List. + 0..1 + Packing List + Name + Name + Name. Type + + + + + + + + + BBIE + Packing List. Description. Text + Textual description of a Packing List. + 0..1 + Packing List + Description + Text + Text. Type + + + + + + + + + BBIE + Packing List. Note. Text + Textual note associated with a Packing List. + 0..n + Packing List + Note + Text + Text. Type + + + + + + + + + BBIE + Packing List. Version Identifier. Identifier + Version identifier of a Packing List. + 0..1 + Packing List + Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Packing List. Other_ Instruction. Text + Contains other free-text-based instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..1 + Packing List + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Packing List. Consignor_ Party. Party + The party consigning goods as stipulated in the transport contract by the party ordering transport. + 0..1 + Packing List + Consignor + Party + Party + + + + + + + + + ASBIE + Packing List. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Packing List + Carrier + Party + Party + + + + + + + + + ASBIE + Packing List. Freight Forwarder_ Party. Party + The party combining individual smaller shipments into a single larger consignment (so called consolidated consignment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Packing List + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Packing List. Shipment + Information about the separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport. + 1 + Packing List + Shipment + Shipment + + + + + + + + + ASBIE + Packing List. Document Reference + An association to Document Reference (reference to documents that provide supplementary information to the Packing List). + 0..n + Packing List + Document Reference + Document Reference + + + + + + + + + ASBIE + Packing List. Document Distribution + Contain information on the distribution list of the documents. + 0..n + Packing List + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Packing List. Signature + One or more signatures applied to the document instance. + 0..n + Packing List + Signature + Signature + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Quotation-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Quotation-2.0.xsd new file mode 100644 index 0000000..a6c9d7e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Quotation-2.0.xsd @@ -0,0 +1,532 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Quotation. Details + The document used to quote for the provision of goods and services. + Quotation + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Quotation. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Quotation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Quotation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Quotation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Quotation. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Quotation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Quotation. Identifier + An identifier for the Quotation assigned by the Seller. + 0..1 + Quotation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Copy_ Indicator. Indicator + Indicates whether the Quotation is a copy (true) or not (false). + 0..1 + Quotation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Quotation. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Quotation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Issue Date. Date + The date assigned by the Seller on which the Quotation was issued. + 1 + Quotation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Quotation. Issue Time. Time + The time assigned by the Seller at which the Quotation was issued. + 0..1 + Quotation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Quotation. Note. Text + Free-form text applying to the Quotation. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Quotation + Note + Text + Text. Type + + + + + + + + + BBIE + Quotation. Pricing_ Currency Code. Code + The currency that is used for all prices in the Quotation. + 0..1 + Quotation + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Quotation. Line Count. Numeric + The number of lines in the document. + 0..1 + Quotation + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Quotation. Validity_ Period. Period + The period for which the Quotation is valid. + 0..1 + Quotation + Validity + Period + Period + + + + + + + + + ASBIE + Quotation. Request For Quotation_ Document Reference. Document Reference + An associative reference to Request for Quotation. + 0..1 + Quotation + Request For Quotation + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Quotation + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation. Contract + An association to Contract. + 0..n + Quotation + Contract + Contract + + + + + + + + + ASBIE + Quotation. Signature + An association to Signature. + 0..n + Quotation + Signature + Signature + + + + + + + + + ASBIE + Quotation. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 1 + Quotation + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Quotation. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Quotation + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Quotation. Delivery + An association to Delivery. + 0..n + Quotation + Delivery + Delivery + + + + + + + + + ASBIE + Quotation. Delivery Terms + An association to Delivery Terms. + 0..1 + Quotation + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Quotation. Payment Means + An association to potential Payment Means for Orders related to this Quotation. + 0..1 + Quotation + Payment Means + Payment Means + + + + + + + + + ASBIE + Quotation. Transaction Conditions + An association with any purchasing, sales or payment conditions applying to Orders related to this Quotation. + 0..1 + Quotation + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Quotation. Allowance Charge + An association to Allowances and Charges that apply to the Quotation as a whole. + 0..n + Quotation + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Quotation. Destination_ Country. Country + An association to the country of destination (for customs purposes for potential orders). + 0..1 + Quotation + Destination + Country + Country + + + + + + + + + ASBIE + Quotation. Tax Total + An association to the total tax amount of the Order (as estimated by the Seller). + 0..n + Quotation + Tax Total + Tax Total + + + + + + + + + ASBIE + Quotation. Quoted_ Monetary Total. Monetary Total + An association to the total amounts for the Quotation. + 1 + Quotation + Quoted + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Quotation. Quotation Line + An association to one or more Quotation Lines. + 1..n + Quotation + Quotation Line + Quotation Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ReceiptAdvice-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ReceiptAdvice-2.0.xsd new file mode 100644 index 0000000..cb7fb6f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-ReceiptAdvice-2.0.xsd @@ -0,0 +1,440 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Receipt Advice. Details + The document used to describe the receipt of goods and services. + Receipt Advice + Receipt, Delivery Acknowledgement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Receipt Advice. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Receipt Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Receipt Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Receipt Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Receipt Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Receipt Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Receipt Advice. Identifier + An identifier for the Receipt Advice assigned by Delivery (Party). + 1 + Receipt Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Copy_ Indicator. Indicator + Indicates whether the Receipt Advice is a copy (true) or not (false). + 0..1 + Receipt Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Receipt Advice. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Receipt Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Issue Date. Date + The date assigned by Delivery (Party) on which the Receipt Advice was issued. + 1 + Receipt Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Receipt Advice. Issue Time. Time + The time assigned by Delivery (Party) at which the Receipt Advice was issued. + 0..1 + Receipt Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Receipt Advice. Document Status Code. Code + Identifies the status of the Receipt Advice with respect to its original state. This may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancelling or revising. + 0..1 + Receipt Advice + Document Status Code + Code + Document Status_ Code. Type + + + + + + + + + BBIE + Receipt Advice. Note. Text + Free-form text applying to the Receipt Advice. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Receipt Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Receipt Advice. Line Count. Numeric + The number of lines in the document. + 0..1 + Receipt Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Receipt Advice. Order Reference + An association to Order Reference. + 0..n + Receipt Advice + Order Reference + Order Reference + + + + + + + + + ASBIE + Receipt Advice. Despatch_ Document Reference. Document Reference + An associative reference to Despatch Advice. + 0..n + Receipt Advice + Despatch + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Advice. Additional_ Document Reference. Document Reference + An associative reference to Additional Document + 0..n + Receipt Advice + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Advice. Signature + An association to Signature. + 0..n + Receipt Advice + Signature + Signature + + + + + + + + + ASBIE + Receipt Advice. Delivery_ Customer Party. Customer Party + An association to the Delivery Party. + 1 + Receipt Advice + Delivery + Customer Party + Customer Party + + + + + + + + + ASBIE + Receipt Advice. Despatch_ Supplier Party. Supplier Party + An association to the Dispatch Party. + 1 + Receipt Advice + Despatch + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Receipt Advice. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 0..1 + Receipt Advice + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Receipt Advice. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 0..1 + Receipt Advice + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Receipt Advice. Shipment + An association to Shipment. + 0..1 + Receipt Advice + Shipment + Shipment + + + + + + + + + ASBIE + Receipt Advice. Receipt Line + An association to Receipt Advice Line. + 1..n + Receipt Advice + Receipt Line + Receipt Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Reminder-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Reminder-2.0.xsd new file mode 100644 index 0000000..b9e5fcf --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Reminder-2.0.xsd @@ -0,0 +1,716 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Reminder. Details + The document used to remind the customer of payments overdue. + Reminder + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Reminder. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Reminder + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Reminder. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Reminder + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Reminder. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Reminder + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Reminder. Identifier + An identifier for the Reminder assigned by the Creditor. + 1 + Reminder + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Reminder. Copy_ Indicator. Indicator + Indicates whether a document is a copy (true) or not (false). + 0..1 + Reminder + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Reminder. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Reminder + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder. Issue Date. Date + The date assigned by the Creditor on which the Invoice was issued. + 1 + Reminder + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Reminder. Issue Time. Time + The time assigned by the Creditor on which the Reminder was issued. + 0..1 + Reminder + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Reminder. Reminder Type Code. Code + Code specifying the type of the Reminder. + 0..1 + Reminder + Reminder Type Code + Code + Code. Type + + + + + + + + + BBIE + Reminder. Reminder Sequence. Numeric + The sequence number of the current reminder. Specifies the number of reminders previously sent plus one. + 0..1 + Reminder + Reminder Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Reminder. Note. Text + Free-form text applying to the Reminder. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Reminder + Note + Text + Text. Type + + + + + + + + + BBIE + Reminder. Tax Point Date. Date + The date of the Reminder used to indicate the point at which tax becomes applicable. + 0..1 + Reminder + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Reminder. Document_ Currency Code. Code + The currency in which the Document is presented. This may be the same currency as the pricing or as the tax. + 0..1 + Reminder + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Tax_ Currency Code. Code + The currency used for tax amounts in the Reminder. + 0..1 + Reminder + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Pricing_ Currency Code. Code + The currency used for prices in the Reminder. + 0..1 + Reminder + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Payment_ Currency Code. Code + The currency used for payment in the Reminder. + 0..1 + Reminder + Payment + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Payment Alternative_ Currency Code. Code + The alternative currency used for payment in the Reminder. + 0..1 + Reminder + Payment Alternative + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Accounting Cost Code. Code + The Buyer's accounting code applied to the Reminder as a whole. + 0..1 + Reminder + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Reminder. Accounting Cost. Text + The Buyer's accounting code applied to the Reminder as a whole, expressed as text. + 0..1 + Reminder + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Reminder. Line Count. Numeric + The number of lines in the document. + 0..1 + Reminder + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Reminder. Reminder_ Period. Period + An association to period(s) to which the Reminder applies. + 0..n + Reminder + Reminder + Period + Period + + + + + + + + + ASBIE + Reminder. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Reminder + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Reminder. Signature + An association to Signature. + 0..n + Reminder + Signature + Signature + + + + + + + + + ASBIE + Reminder. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 1 + Reminder + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Reminder. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 1 + Reminder + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Reminder. Payee_ Party. Party + An association to the Payee. + 0..1 + Reminder + Payee + Party + Party + + + + + + + + + ASBIE + Reminder. Tax Representative_ Party. Party + An association to the Tax Representative. + 0..1 + Reminder + Tax Representative + Party + Party + + + + + + + + + ASBIE + Reminder. Payment Means + An association to Payment Means. + 0..n + Reminder + Payment Means + Payment Means + + + + + + + + + ASBIE + Reminder. Payment Terms + An association to Payment Terms. + 0..n + Reminder + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Reminder. Prepaid_ Payment. Payment + An association to prepaid payment(s). + 0..n + Reminder + Prepaid + Payment + Payment + + + + + + + + + ASBIE + Reminder. Allowance Charge + An association to Allowances and Charges that apply to the Reminder as a whole. + 0..n + Reminder + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Reminder. Tax_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Tax Currency. + 0..1 + Reminder + Tax + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Pricing_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Pricing Currency. + 0..1 + Reminder + Pricing + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Payment_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Currency. + 0..1 + Reminder + Payment + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Payment Alternative_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Alternative Currency. + 0..1 + Reminder + Payment Alternative + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Tax Total + An association to Tax Total for specific tax types/rates. + 0..n + Reminder + Tax Total + Tax Total + + + + + + + + + ASBIE + Reminder. Legal_ Monetary Total. Monetary Total + An association to the total amount payable on the Invoice, including Allowances, Charges, and Taxes. + 1 + Reminder + Legal + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Reminder. Reminder Line + An association to Reminder Line. + 1..n + Reminder + Reminder Line + Reminder Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-RemittanceAdvice-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-RemittanceAdvice-2.0.xsd new file mode 100644 index 0000000..212bc4b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-RemittanceAdvice-2.0.xsd @@ -0,0 +1,540 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Remittance Advice. Details + The document used to specify details of an actual payment. + Remittance Advice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Remittance Advice. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Remittance Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Remittance Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Remittance Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Remittance Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Remittance Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Remittance Advice. Identifier + An identifier for the Remittance Advice assigned by the Debtor. + 1 + Remittance Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice. Copy_ Indicator. Indicator + Indicates whether the Remittance Advice is a copy (true) or not (false). + 0..1 + Remittance Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Remittance Advice. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Remittance Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice. Issue Date. Date + The date assigned by the Debtor on which the Remittance Advice was issued. + 1 + Remittance Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Remittance Advice. Issue Time. Time + The time assigned by the Debtor at which the Remittance Advice was issued. + 0..1 + Remittance Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Remittance Advice. Note. Text + Free-form text applying to the Remittance Advice. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Remittance Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Document_ Currency Code. Code + The default currency for the Remittance Advice. + 0..1 + Remittance Advice + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Debit Amount. Amount + The totals of all debit amounts for the Remittance Advice. + 0..1 + Remittance Advice + Total + Debit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Credit Amount. Amount + The totals of all credit amounts for the Remittance Advice. + 0..1 + Remittance Advice + Total + Credit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Payment Amount. Amount + The total payable amount for the Remittance Advice (positive). + 0..1 + Remittance Advice + Total + Payment Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Payment Order Reference. Text + A reference to the Payment Order (from the Payer to the Payer's bank). + 0..1 + Remittance Advice + Payment Order Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Payer_ Reference. Text + The Payer;'s internal reference for the payment. + 0..1 + Remittance Advice + Payer + Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Invoicing Party_ Reference. Text + The Invoicing Party's reference to the payment, previously requested of the Payer to accompany remittance. + 0..1 + Remittance Advice + Invoicing Party + Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Line Count. Numeric + The number of lines in the document. + 0..1 + Remittance Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Remittance Advice. Invoice_ Period. Period + Associates the Remittance Advice with an Invoicing Period rather than a specific Invoice. + 0..n + Remittance Advice + Invoice + Period + Period + + + + + + + + + ASBIE + Remittance Advice. Billing Reference + An association to Billing Reference. + 0..1 + Remittance Advice + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Remittance Advice. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Remittance Advice + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Remittance Advice. Signature + An association to Signature. + 0..n + Remittance Advice + Signature + Signature + + + + + + + + + ASBIE + Remittance Advice. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 1 + Remittance Advice + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 1 + Remittance Advice + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice. Payee_ Party. Party + An association to the Payee. + 0..1 + Remittance Advice + Payee + Party + Party + + + + + + + + + ASBIE + Remittance Advice. Payment Means + An association to Payment Means. + 0..1 + Remittance Advice + Payment Means + Payment Means + + + + + + + + + ASBIE + Remittance Advice. Tax Total + An association to Tax Total. + 0..n + Remittance Advice + Tax Total + Tax Total + + + + + + + + + ASBIE + Remittance Advice. Remittance Advice Line + An association to one or more Remittance Advice Lines. + 1..n + Remittance Advice + Remittance Advice Line + Remittance Advice Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-RequestForQuotation-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-RequestForQuotation-2.0.xsd new file mode 100644 index 0000000..c7d6d11 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-RequestForQuotation-2.0.xsd @@ -0,0 +1,440 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Request For Quotation. Details + The document used to request a Quotation for goods and services from a Seller. + Request For Quotation + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Request For Quotation. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Request For Quotation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Request For Quotation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Request For Quotation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Request For Quotation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Request For Quotation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Request For Quotation. Identifier + An identifier for the Request For Quotation assigned by the Originator. + 0..1 + Request For Quotation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation. Copy_ Indicator. Indicator + Indicates whether the Request For Quotation is a copy (true) or not (false). + 0..1 + Request For Quotation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Request For Quotation. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Request For Quotation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation. Issue Date. Date + The date assigned by the Originator on which the Quotation was requested. + 1 + Request For Quotation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Request For Quotation. Issue Time. Time + The time assigned by the Originator at which the Quotation was requested. + 1 + Request For Quotation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Request For Quotation. Note. Text + Free-form text applying to the Request For Quotation. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Request For Quotation + Note + Text + Text. Type + + + + + + + + + BBIE + Request For Quotation. Pricing_ Currency Code. Code + The currency that the Seller should use to price the Quotation. + 0..1 + Request For Quotation + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Request For Quotation. Line Count. Numeric + The number of lines in the document. + 0..1 + Request For Quotation + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Request For Quotation. Catalogue_ Document Reference. Document Reference + An associative reference to Catalogue. + 0..1 + Request For Quotation + Catalogue + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Request For Quotation + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation. Signature + An association to Signature. + 0..n + Request For Quotation + Signature + Signature + + + + + + + + + ASBIE + Request For Quotation. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Request For Quotation + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Request For Quotation. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 1 + Request For Quotation + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Request For Quotation. Delivery + An association to Delivery. + 0..n + Request For Quotation + Delivery + Delivery + + + + + + + + + ASBIE + Request For Quotation. Delivery Terms + An association to Delivery Terms. + 0..n + Request For Quotation + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Request For Quotation. Destination_ Country. Country + An association to the country of destination (for customs purposes for potential orders). + 0..1 + Request For Quotation + Destination + Country + Country + + + + + + + + + ASBIE + Request For Quotation. Contract + An association to a framework agreement or contract. + 0..n + Request For Quotation + Contract + Contract + + + + + + + + + ASBIE + Request For Quotation. Request For Quotation Line + An association to one or more Request For Quotation Lines. + 1..n + Request For Quotation + Request For Quotation Line + Request For Quotation Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-SelfBilledCreditNote-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-SelfBilledCreditNote-2.0.xsd new file mode 100644 index 0000000..7b7956f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-SelfBilledCreditNote-2.0.xsd @@ -0,0 +1,664 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Self Billed Credit Note. Details + The Credit Note created by the Debtor in a Self Billing arrangement with a Creditor; Self Billed Credit Note replaces Debit Note in such arrangements. + Self Billed Credit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Self Billed Credit Note. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Self Billed Credit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Self Billed Credit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Self Billed Credit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Self Billed Credit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Self Billed Credit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Self Billed Credit Note. Identifier + An identifier for the Self Billed Credit Note assigned by the Debtor. + 1 + Self Billed Credit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Credit Note. Copy_ Indicator. Indicator + Indicates whether the Self Billed Credit Note is a copy (true) or not (false). + 0..1 + Self Billed Credit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Self Billed Credit Note. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Self Billed Credit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Credit Note. Issue Date. Date + The date assigned by the Debtor on which the Self Billed Credit Note was issued. + 1 + Self Billed Credit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Credit Note. Issue Time. Time + The time assigned by the Debtor at which the Self Billed Credit Note was issued. + 0..1 + Self Billed Credit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Self Billed Credit Note. Tax Point Date. Date + The date of the Self Billed Credit Note, used to indicate the point at which tax becomes applicable. + 0..1 + Self Billed Credit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Credit Note. Note. Text + Free-form text applying to the Self Billed Credit Note. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Self Billed Credit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Self Billed Credit Note. Document_ Currency Code. Code + The default currency for the Self Billed Credit Note. + 1 + Self Billed Credit Note + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Tax_ Currency Code. Code + The currency used for tax amounts in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Pricing_ Currency Code. Code + The currency used for prices in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Accounting Cost Code. Code + The Buyer's accounting code applied to the Self Billed Credit Note as a whole. + 0..1 + Self Billed Credit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Accounting Cost. Text + The Buyer's accounting code applied to the Self Billed Credit Note as a whole, expressed as text. + 0..1 + Self Billed Credit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Self Billed Credit Note. Line Count. Numeric + The number of lines in the document. + 0..1 + Self Billed Credit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Self Billed Credit Note. Invoice_ Period. Period + Associates the Self Billed Credit Note with an Invoicing Period rather than a specific Invoice (Self Billing). + 0..n + Self Billed Credit Note + Invoice + Period + Period + + + + + + + + + ASBIE + Self Billed Credit Note. Discrepancy_ Response. Response + An association to a reason for the Self Billed Credit Note as a whole. + 0..n + Self Billed Credit Note + Discrepancy + Response + Response + + + + + + + + + ASBIE + Self Billed Credit Note. Order Reference + An association to Order Reference. + 0..1 + Self Billed Credit Note + Order Reference + Order Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Billing Reference + An association to Billing Reference. + 0..n + Self Billed Credit Note + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Despatch_ Document Reference. Document Reference + An associative reference to Despatch Advice. + 0..n + Self Billed Credit Note + Despatch + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Receipt_ Document Reference. Document Reference + An associative reference to Receipt Advice. + 0..n + Self Billed Credit Note + Receipt + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Contract_ Document Reference. Document Reference + An associative reference to Contract. + 0..n + Self Billed Credit Note + Contract + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Self Billed Credit Note + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Signature + An association to Signature. + 0..n + Self Billed Credit Note + Signature + Signature + + + + + + + + + ASBIE + Self Billed Credit Note. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 1 + Self Billed Credit Note + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Credit Note. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Customer Party. + 1 + Self Billed Credit Note + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Credit Note. Payee_ Party. Party + An association to the Payee. + 0..1 + Self Billed Credit Note + Payee + Party + Party + + + + + + + + + ASBIE + Self Billed Credit Note. Tax Representative_ Party. Party + An association to the Tax Representative. + 0..1 + Self Billed Credit Note + Tax Representative + Party + Party + + + + + + + + + ASBIE + Self Billed Credit Note. Allowance Charge + An association with an overall charge or allowance. + 0..n + Self Billed Credit Note + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Self Billed Credit Note. Tax_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Tax Currency. + 0..1 + Self Billed Credit Note + Tax + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Pricing_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Pricing Currency. + 0..1 + Self Billed Credit Note + Pricing + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Tax Total + An association to Tax Total for specific tax types/rates. + 0..n + Self Billed Credit Note + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Credit Note. Legal_ Monetary Total. Monetary Total + An association to the total amount payable on the Self Billed Credit Note, including Allowances, Charges, and Taxes. + 1 + Self Billed Credit Note + Legal + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Self Billed Credit Note. Credit Note Line + An association to one or more Self Billed Credit Note Lines. + 1..n + Self Billed Credit Note + Credit Note Line + Credit Note Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-SelfBilledInvoice-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-SelfBilledInvoice-2.0.xsd new file mode 100644 index 0000000..121b941 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-SelfBilledInvoice-2.0.xsd @@ -0,0 +1,870 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Self Billed Invoice. Details + The Invoice document created by the Customer (rather than the Supplier) in a Self Billing relationship. + Self Billed Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Self Billed Invoice. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Self Billed Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Self Billed Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Self Billed Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Self Billed Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Self Billed Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Self Billed Invoice. Identifier + An identifier for the Self Billed Invoice. + 1 + Self Billed Invoice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Copy_ Indicator. Indicator + Indicates whether a document is a copy (true) or not (false). + 0..1 + Self Billed Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Self Billed Invoice. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Self Billed Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Issue Date. Date + The date on which the Self Billed Invoice was issued. + 1 + Self Billed Invoice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Invoice. Issue Time. Time + The time at which the Self Billed Invoice was issued. + 0..1 + Self Billed Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Self Billed Invoice. Tax Point Date. Date + The date of the invoice for tax purposes, in accordance with the applicable tax regulation. + 0..1 + Self Billed Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Invoice. Invoice Type Code. Code + Identifies the type of the invoice by a code. + 0..1 + Self Billed Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Note. Text + Contains any free-form text pertinent to the entire document or to the document message itself. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Self Billed Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Self Billed Invoice. Document_ Currency Code. Code + The currency in which the Invoice is presented. This may be the same currency as the pricing or as the tax. + 0..1 + Self Billed Invoice + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Tax_ Currency Code. Code + The currency used for tax amounts in the Invoice. + 0..1 + Self Billed Invoice + Tax + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Pricing_ Currency Code. Code + The currency used for prices in the Invoice. + 0..1 + Self Billed Invoice + Pricing + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Payment_ Currency Code. Code + The currency used for payment in the Invoice. + 0..1 + Self Billed Invoice + Payment + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Payment Alternative_ Currency Code. Code + The alternative currency used for payment in the Invoice. + 0..1 + Self Billed Invoice + Payment Alternative + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Accounting Cost Code. Code + An accounting cost code applied to the Invoice as a whole. + 0..1 + Self Billed Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Accounting Cost. Text + An accounting cost code applied to the Invoice as a whole. + 0..1 + Self Billed Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Self Billed Invoice. Line Count. Numeric + The number of lines in the document. + 0..1 + Self Billed Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Self Billed Invoice. Invoice_ Period. Period + An association to period(s) to which the Self Billed Invoice applies. + 0..n + Self Billed Invoice + Invoice + Period + Period + + + + + + + + + ASBIE + Self Billed Invoice. Order Reference + An association to Order Reference. + 0..1 + Self Billed Invoice + Order Reference + Order Reference + + + + + + + + + ASBIE + Self Billed Invoice. Billing Reference + An association to Billing Reference. + 0..n + Self Billed Invoice + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Self Billed Invoice. Contract_ Document Reference. Document Reference + An associative reference to Contract. + 0..n + Self Billed Invoice + Contract + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Despatch_ Document Reference. Document Reference + An associative reference to Despatch Advice. + 0..n + Self Billed Invoice + Despatch + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Receipt_ Document Reference. Document Reference + An associative reference to Receipt Advice. + 0..n + Self Billed Invoice + Receipt + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Statement_ Document Reference. Document Reference + An associative reference to Statement + 0..n + Self Billed Invoice + Statement + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Originator_ Document Reference. Document Reference + An associative reference to Originator Document. + 0..n + Self Billed Invoice + Originator + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Self Billed Invoice + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Signature + An association to Signature. + 0..n + Self Billed Invoice + Signature + Signature + + + + + + + + + ASBIE + Self Billed Invoice. Accounting_ Customer Party. Customer Party + An association to Accounting Customer Party. + 1 + Self Billed Invoice + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Invoice. Accounting_ Supplier Party. Supplier Party + An association to Accounting Supplier Party. + 1 + Self Billed Invoice + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Invoice. Buyer_ Customer Party. Customer Party + Associates the Invoice with information about the buyer involved in the transaction. + 0..1 + Self Billed Invoice + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Invoice. Seller_ Supplier Party. Supplier Party + Associates the Invoice with information about the seller involved in the transaction. + 0..1 + Self Billed Invoice + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Invoice. Payee_ Party. Party + Associates the Invoice with information about the payee involved in the transaction. + 0..1 + Self Billed Invoice + Payee + Party + Party + + + + + + + + + ASBIE + Self Billed Invoice. Tax Representative_ Party. Party + An association to the Tax Representative. + 0..1 + Self Billed Invoice + Tax Representative + Party + Party + + + + + + + + + ASBIE + Self Billed Invoice. Delivery + Associates the overall Invoice with the details of a delivery (or deliveries). + 0..n + Self Billed Invoice + Delivery + Delivery + + + + + + + + + ASBIE + Self Billed Invoice. Delivery Terms + Associates the Invoice with the delivery terms applicable/required. + 0..n + Self Billed Invoice + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Self Billed Invoice. Payment Means + Associates the Invoice with the expected means of payment. + 0..1 + Self Billed Invoice + Payment Means + Payment Means + + + + + + + + + ASBIE + Self Billed Invoice. Payment Terms + Associates the Invoice with the payment terms applicable/offered. + 0..n + Self Billed Invoice + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Self Billed Invoice. Prepaid_ Payment. Payment + An association to prepaid payment(s). + 0..n + Self Billed Invoice + Prepaid + Payment + Payment + + + + + + + + + ASBIE + Self Billed Invoice. Allowance Charge + Associates the Invoice with an overall charge or allowance. + 0..n + Self Billed Invoice + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Self Billed Invoice. Tax_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Tax Currency. + 0..1 + Self Billed Invoice + Tax + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Pricing_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Pricing Currency. + 0..1 + Self Billed Invoice + Pricing + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Payment_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Currency. + 0..1 + Self Billed Invoice + Payment + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + An association to Exchange Rate between the Document Currency and the Payment Alternative Currency. + 0..1 + Self Billed Invoice + Payment Alternative + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Tax Total + Associates the Invoice with summary information for a particular tax. + 0..n + Self Billed Invoice + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Invoice. Legal_ Monetary Total. Monetary Total + Associates the Invoice with a set of totals required for the Invoice to be a legal document. + 1 + Self Billed Invoice + Legal + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Self Billed Invoice. Invoice Line + An Invoice has one or more invoice lines. + 1..n + Self Billed Invoice + Invoice Line + Invoice Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Statement-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Statement-2.0.xsd new file mode 100644 index 0000000..ff8523b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Statement-2.0.xsd @@ -0,0 +1,553 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Statement. Details + The document used to specify the status of Orders, Billing, and Payment. This document is a Statement of Account and not intended as a summary Invoice + Statement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Statement. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Statement + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Statement. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Statement + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Statement. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Statement + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Statement. Identifier + An identifier for the Statement. + 1 + Statement + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement. Copy_ Indicator. Indicator + Indicates whether the Statement is a copy (true) or not (false). + 0..1 + Statement + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Statement. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Statement + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement. Issue Date. Date + The date assigned by the Creditor on which the Statement was issued. + 1 + Statement + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Statement. Issue Time. Time + The time assigned by the Creditor at which the Statement was issued. + 0..1 + Statement + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Statement. Note. Text + Free-form text applying to the Statement. This element may contain notes or any other similar information that is not contained explicitly in another structure. + 0..n + Statement + Note + Text + Text. Type + + + + + + + + + BBIE + Statement. Document_ Currency Code. Code + The default currency for the Statement. + 1 + Statement + Document + Currency Code + Code + Currency_ Code. Type + + + + + + + + + BBIE + Statement. Total_ Debit Amount. Amount + The total of all debit amounts for the Statement. + 0..1 + Statement + Total + Debit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Total_ Credit Amount. Amount + The total of all credit amounts for the Statement. + 0..1 + Statement + Total + Credit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Total_ Balance Amount. Amount + The total amount for the Statement. + 0..1 + Statement + Total + Balance Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Line Count. Numeric + The number of lines in the document. + 0..1 + Statement + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Statement. Statement_ Period. Period + An association to period(s) to which the Statement applies. + 0..1 + Statement + Statement + Period + Period + + + + + + + + + ASBIE + Statement. Additional_ Document Reference. Document Reference + An associative reference to Additional Document. + 0..n + Statement + Additional + Document Reference + Document Reference + + + + + + + + + ASBIE + Statement. Signature + An association to Signature. + 0..n + Statement + Signature + Signature + + + + + + + + + ASBIE + Statement. Accounting_ Supplier Party. Supplier Party + An association to the Accounting Supplier Party. + 1 + Statement + Accounting + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement. Accounting_ Customer Party. Customer Party + An association to the Accounting Customer Party. + 1 + Statement + Accounting + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Buyer_ Customer Party. Customer Party + An association to the Buyer. + 0..1 + Statement + Buyer + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Seller_ Supplier Party. Supplier Party + An association to the Seller. + 0..1 + Statement + Seller + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement. Originator_ Customer Party. Customer Party + An association to the Originator. + 0..1 + Statement + Originator + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Payee_ Party. Party + An association to the Payee. + 0..1 + Statement + Payee + Party + Party + + + + + + + + + ASBIE + Statement. Payment Means + An association to Payment Means. + 0..1 + Statement + Payment Means + Payment Means + + + + + + + + + ASBIE + Statement. Payment Terms + An association to Payment Terms. + 0..n + Statement + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Statement. Allowance Charge + An association to Allowances and Charges that apply to the Statement period as a whole. + 0..n + Statement + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Statement. Tax Total + An association with summary information for particular taxes. + 0..n + Statement + Tax Total + Tax Total + + + + + + + + + ASBIE + Statement. Statement Line + An association to one or more Statement Lines. + 1..n + Statement + Statement Line + Statement Line + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-TransportationStatus-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-TransportationStatus-2.0.xsd new file mode 100644 index 0000000..4a4c291 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-TransportationStatus-2.0.xsd @@ -0,0 +1,377 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Transportation Status. Details + A message to report the transport status and/or change in the transport status (i.e. event) between agreed parties. + Transportation Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transportation Status. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transportation Status + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Transportation Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transportation Status + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Transportation Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transportation Status + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Transportation Status. Identifier + Unique identifier of the Status message. + 1 + Transportation Status + Identifier + Identifier + Identifier. Type + Freight Forwarding Instruction, Shippers Letter of Instruction + + + + + + + + + BBIE + Transportation Status. Carrier Assigned_ Identifier. Identifier + Reference number assigned by a carrier or its agent to identify a specific shipment, such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Transportation Status + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Transportation Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Issue Date. Date + Date on which the status message was issued. + 0..1 + Transportation Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transportation Status. Issue Time. Time + Time at which the status message was issued. + 0..1 + Transportation Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transportation Status. Name + Name of a status message. + 0..1 + Transportation Status + Name + Name + Name. Type + + + + + + + + + BBIE + Transportation Status. Description. Text + Textual description of a status message. + 0..n + Transportation Status + Description + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Note. Text + Textual note associated with a status message. + 0..n + Transportation Status + Note + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order. + 0..1 + Transportation Status + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Other_ Instruction. Text + Instruction about this message. + 0..1 + Transportation Status + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Transportation Status. Consignment + An association to Consignment covered by the status message. + 1 + Transportation Status + Consignment + Consignment + + + + + + + + + ASBIE + Transportation Status. Transport Event + Events that relate to this status report. + 1..n + Transportation Status + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Status. Document Reference + An association to Document Reference. + 0..n + Transportation Status + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status. Signature + An association to Signature. + 0..n + Transportation Status + Signature + Signature + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Waybill-2.0.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Waybill-2.0.xsd new file mode 100644 index 0000000..fb8c802 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.0/maindoc/UBL-Waybill-2.0.xsd @@ -0,0 +1,476 @@ + + + + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + ABIE + Waybill. Details + The Waybill is issued by the party who acts as an agent for the carrier or other agents, to the party who gives instructions for the transportation services (shipper, consignor, etc.) stating the details of the transportation, charges, and terms and conditions under which the transportation service is provided. The party issuing this document could be a party other than that providing the physical transportation. It corresponds to the information on the Forwarding Instruction. It is used for all modes of transport. It can serve as a contractual document between the parties for the transportation service. The document made out by the carrier or on behalf of the carrier evidencing the contract for the transport of cargo. + Waybill + Consignment Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Waybill. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Waybill + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Waybill. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Waybill + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Waybill. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Waybill + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Waybill. Identifier + Unique identifier of the Waybill. Reference number to identify a document evidencing a transport contract. + 1 + Waybill + Identifier + Identifier + Identifier. Type + Master Waybill Number + + + + + + + + + BBIE + Waybill. Carrier Assigned_ Identifier. Identifier + Reference number assigned by a carrier or its agent to identify a specific shipment. + 0..1 + Waybill + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. UUID. Identifier + A universally unique identifier for an instance of this ABIE. + 0..1 + Waybill + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. Issue Date. Date + Date on which the Waybill was issued. + 0..1 + Waybill + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Waybill. Issue Time. Time + Time at which the Waybill was issued. + 0..1 + Waybill + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Waybill. Name + Name of a Waybill. + 0..1 + Waybill + Name + Name + Name. Type + "Air Waybill", "House Waybill" + + + + + + + + + BBIE + Waybill. Description. Text + Textual description of a Waybill. + 0..n + Waybill + Description + Text + Text. Type + + + + + + + + + BBIE + Waybill. Note. Text + Textual note associated with a Waybill. + 0..n + Waybill + Note + Text + Text. Type + + + + + + + + + BBIE + Waybill. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order or Forwarding Instruction. + 0..1 + Waybill + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Waybill + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Waybill. Declared Carriage_ Value. Amount + Value, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Waybill + Declared Carriage + Value + Amount + Amount. Type + + + + + + + + + BBIE + Waybill. Other_ Instruction. Text + Contains other free-text based instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Waybill + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Waybill. Consignor_ Party. Party + The party consigning goods as stipulated in the transport contract by the party ordering transport. + 0..1 + Waybill + Consignor + Party + Party + + + + + + + + + ASBIE + Waybill. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Waybill + Carrier + Party + Party + + + + + + + + + ASBIE + Waybill. Freight Forwarder_ Party. Party + The party combining individual smaller consignments into a single larger shipment (so-called consolidated consignment ) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Waybill + Freight Forwarder + Party + Party + + + + + + + + + ASBIE + Waybill. Shipment + A separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport. + 1 + Waybill + Shipment + Shipment + + + + + + + + + ASBIE + Waybill. Document Reference + An association to Document Reference. + 0..n + Waybill + Document Reference + Document Reference + + + + + + + + + ASBIE + Waybill. Exchange Rate + Information that directly relates to the rate of exchange (conversion) between two currencies. + 0..n + Waybill + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Waybill. Document Distribution + The distribution of the Waybill to interested parties. + 0..n + Waybill + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Waybill. Signature + An association to Signature. + 0..n + Waybill + Signature + Signature + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/CCTS_CCT_SchemaModule-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/CCTS_CCT_SchemaModule-2.1.xsd new file mode 100644 index 0000000..b7e8983 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/CCTS_CCT_SchemaModule-2.1.xsd @@ -0,0 +1,731 @@ + + + + + + + + + + + + + + UNDT000001 + CCT + Amount. Type + 1.0 + A number of monetary units specified in a currency where the unit of the currency is explicit or implied. + Amount + decimal + + + + + + + + UNDT000001-SC2 + SC + Amount Currency. Identifier + The currency of the amount. + Amount Currency + Identification + Identifier + string + Reference UNECE Rec 9, using 3-letter alphabetic codes. + + + + + + + UNDT000001-SC3 + SC + Amount Currency. Code List Version. Identifier + The VersionID of the UN/ECE Rec9 code list. + Amount Currency + Code List Version + Identifier + string + + + + + + + + + + + + UNDT000002 + CCT + Binary Object. Type + 1.0 + A set of finite-length sequences of binary octets. + Binary Object + binary + + + + + + + + UNDT000002-SC2 + SC + Binary Object. Format. Text + The format of the binary content. + Binary Object + Format + Text + string + + + + + + + UNDT000002-SC3 + SC + Binary Object. Mime. Code + The mime type of the binary object. + Binary Object + Mime + Code + string + + + + + + + UNDT000002-SC4 + SC + Binary Object. Encoding. Code + Specifies the decoding algorithm of the binary object. + Binary Object + Encoding + Code + string + + + + + + + UNDT000002-SC5 + SC + Binary Object. Character Set. Code + The character set of the binary object if the mime type is text. + Binary Object + Character Set + Code + string + + + + + + + UNDT000002-SC6 + SC + Binary Object. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the binary object is located. + Binary Object + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000002-SC7 + SC + Binary Object. Filename.Text + The filename of the binary object. + Binary Object + Filename + Text + string + + + + + + + + + + + + UNDT000007 + CCT + Code. Type + 1.0 + A character string (letters, figures, or symbols) that for brevity and/or languange independence may be used to represent or replace a definitive value or text of an attribute together with relevant supplementary information. + Code + string + Should not be used if the character string identifies an instance of an object class or an object in the real world, in which case the Identifier. Type should be used. + + + + + + + + UNDT000007-SC2 + SC + Code List. Identifier + The identification of a list of codes. + Code List + Identification + Identifier + string + + + + + + + UNDT000007-SC3 + SC + Code List. Agency. Identifier + An agency that maintains one or more lists of codes. + Code List + Agency + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000007-SC4 + SC + Code List. Agency Name. Text + The name of the agency that maintains the list of codes. + Code List + Agency Name + Text + string + + + + + + + UNDT000007-SC5 + SC + Code List. Name. Text + The name of a list of codes. + Code List + Name + Text + string + + + + + + + UNDT000007-SC6 + SC + Code List. Version. Identifier + The version of the list of codes. + Code List + Version + Identifier + string + + + + + + + UNDT000007-SC7 + SC + Code. Name. Text + The textual equivalent of the code content component. + Code + Name + Text + string + + + + + + + UNDT000007-SC8 + SC + Language. Identifier + The identifier of the language used in the code name. + Language + Identification + Identifier + string + + + + + + + UNDT000007-SC9 + SC + Code List. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list is located. + Code List + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000007-SC10 + SC + Code List Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list scheme is located. + Code List Scheme + Uniform Resource Identifier + Identifier + string + + + + + + + + + + + + UNDT000008 + CCT + Date Time. Type + 1.0 + A particular point in the progression of time together with the relevant supplementary information. + Date Time + string + Can be used for a date and/or time. + + + + + + + + UNDT000008-SC1 + SC + Date Time. Format. Text + The format of the date time content + Date Time + Format + Text + string + + + + + + + + + + + + UNDT000011 + CCT + Identifier. Type + 1.0 + A character string to identify and distinguish uniquely, one instance of an object in an identification scheme from all other objects in the same scheme together with relevant supplementary information. + Identifier + string + + + + + + + + UNDT000011-SC2 + SC + Identification Scheme. Identifier + The identification of the identification scheme. + Identification Scheme + Identification + Identifier + string + + + + + + + UNDT000011-SC3 + SC + Identification Scheme. Name. Text + The name of the identification scheme. + Identification Scheme + Name + Text + string + + + + + + + UNDT000011-SC4 + SC + Identification Scheme Agency. Identifier + The identification of the agency that maintains the identification scheme. + Identification Scheme Agency + Identification + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000011-SC5 + SC + Identification Scheme Agency. Name. Text + The name of the agency that maintains the identification scheme. + Identification Scheme Agency + Agency Name + Text + string + + + + + + + UNDT000011-SC6 + SC + Identification Scheme. Version. Identifier + The version of the identification scheme. + Identification Scheme + Version + Identifier + string + + + + + + + UNDT000011-SC7 + SC + Identification Scheme Data. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme data is located. + Identification Scheme Data + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000011-SC8 + SC + Identification Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme is located. + Identification Scheme + Uniform Resource Identifier + Identifier + string + + + + + + + + + + + + UNDT000012 + CCT + Indicator. Type + 1.0 + A list of two mutually exclusive Boolean values that express the only possible states of a Property. + Indicator + string + + + + + + + + UNDT000012-SC2 + SC + Indicator. Format. Text + Whether the indicator is numeric, textual or binary. + Indicator + Format + Text + string + + + + + + + + + + + + UNDT000013 + CCT + Measure. Type + 1.0 + A numeric value determined by measuring an object along with the specified unit of measure. + Measure + decimal + + + + + + + + UNDT000013-SC2 + SC + Measure Unit. Code + The type of unit of measure. + Measure Unit + Code + Code + string + Reference UNECE Rec. 20 and X12 355 + + + + + + + UNDT000013-SC3 + SC + Measure Unit. Code List Version. Identifier + The version of the measure unit code list. + Measure Unit + Code List Version + Identifier + string + + + + + + + + + + + + UNDT000014 + CCT + Numeric. Type + 1.0 + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Numeric + string + + + + + + + + UNDT000014-SC2 + SC + Numeric. Format. Text + Whether the number is an integer, decimal, real number or percentage. + Numeric + Format + Text + string + + + + + + + + + + + + UNDT000018 + CCT + Quantity. Type + 1.0 + A counted number of non-monetary units possibly including fractions. + Quantity + decimal + + + + + + + + UNDT000018-SC2 + SC + Quantity. Unit. Code + The unit of the quantity + Quantity + Unit Code + Code + string + + + + + + + UNDT000018-SC3 + SC + Quantity Unit. Code List. Identifier + The quantity unit code list. + Quantity Unit + Code List + Identifier + string + + + + + + + UNDT000018-SC4 + SC + Quantity Unit. Code List Agency. Identifier + The identification of the agency that maintains the quantity unit code list + Quantity Unit + Code List Agency + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000018-SC5 + SC + Quantity Unit. Code List Agency Name. Text + The name of the agency which maintains the quantity unit code list. + Quantity Unit + Code List Agency Name + Text + string + + + + + + + + + + + + UNDT000019 + CCT + Text. Type + 1.0 + A character string (i.e. a finite set of characters) generally in the form of words of a language. + Text + string + + + + + + + + UNDT000019-SC2 + SC + Language. Identifier + The identifier of the language used in the content component. + Language + Identification + Identifier + string + + + + + + + UNDT000019-SC3 + SC + Language. Locale. Identifier + The identification of the locale of the language. + Language + Locale + Identifier + string + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonAggregateComponents-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonAggregateComponents-2.1.xsd new file mode 100644 index 0000000..ec896c7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonAggregateComponents-2.1.xsd @@ -0,0 +1,39799 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ABIE + Activity Data Line. Details + A class to associate a time period and locations (activity data) with an item for inventory planning purposes. + Activity Data Line + + + + + + + + + BBIE + Activity Data Line. Identifier + An identifier for this activity data line. + 1 + Activity Data Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Activity Data Line. Supply Chain Activity Type Code. Code + A code signifying the type of supply chain activity. + 1 + Activity Data Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + ASBIE + Activity Data Line. Buyer_ Customer Party. Customer Party + The buyer of the item. + 0..1 + Activity Data Line + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Activity Data Line. Seller_ Supplier Party. Supplier Party + The seller of the item. + 0..1 + Activity Data Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Activity Data Line. Activity_ Period. Period + The period during which the activity is realized. + 0..1 + Activity Data Line + Activity + Period + Period + Period + + + + + + + + + ASBIE + Activity Data Line. Activity Origin_ Location. Location + Either the location where the movement of goods is observed or the location from which the goods are moved. + 1 + Activity Data Line + Activity Origin + Location + Location + Location + + + + + + + + + ASBIE + Activity Data Line. Activity Final_ Location. Location + The location to which the goods are moved. + 0..1 + Activity Data Line + Activity Final + Location + Location + Location + + + + + + + + + ASBIE + Activity Data Line. Sales Item + Sales information for an item to which this line applies. + 1..n + Activity Data Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Activity Property. Details + A class to define a name/value pair for a property of an inventory planning activity. + Activity Property + + + + + + + + + BBIE + Activity Property. Name + The name of this activity property. + 1 + Activity Property + Name + Name + Name. Type + + + + + + + + + BBIE + Activity Property. Value. Text + The value of this activity property. + 1 + Activity Property + Value + Text + Text. Type + + + + + + + + + + + ABIE + Address. Details + A class to define common information related to an address. + Address + + + + + + + + + BBIE + Address. Identifier + An identifier for this address within an agreed scheme of address identifiers. + 0..1 + Address + Identifier + Identifier + Identifier. Type + DetailsKey + + + + + + + + + BBIE + Address. Address Type Code. Code + A mutually agreed code signifying the type of this address. + 0..1 + Address + Address Type Code + Code + Code. Type + + + + + + + + + BBIE + Address. Address Format Code. Code + A mutually agreed code signifying the format of this address. + 0..1 + Address + Address Format Code + Code + Code. Type + + + + + + + + + BBIE + Address. Postbox. Text + A post office box number registered for postal delivery by a postal service provider. + 0..1 + Address + Postbox + Text + Text. Type + PostBox, PO Box + 123 + + + + + + + + + BBIE + Address. Floor. Text + An identifiable floor of a building. + 0..1 + Address + Floor + Text + Text. Type + SubPremiseNumber + 30 + + + + + + + + + BBIE + Address. Room. Text + An identifiable room, suite, or apartment of a building. + 0..1 + Address + Room + Text + Text. Type + SubPremiseNumber + Reception + + + + + + + + + BBIE + Address. Street Name. Name + The name of the street, road, avenue, way, etc. to which the number of the building is attached. + 0..1 + Address + Street Name + Name + Name. Type + Thoroughfare + Kwun Tong Road + + + + + + + + + BBIE + Address. Additional_ Street Name. Name + An additional street name used to further clarify the address. + 0..1 + Address + Additional + Street Name + Name + Name. Type + Thoroughfare + Cnr Aberdeen Road + + + + + + + + + BBIE + Address. Block Name. Name + The name of the block (an area surrounded by streets and usually containing several buildings) in which this address is located. + 0..1 + Address + Block Name + Name + Name. Type + Seabird + + + + + + + + + BBIE + Address. Building Name. Name + The name of a building. + 0..1 + Address + Building Name + Name + Name. Type + BuildingName + Plot 421 + + + + + + + + + BBIE + Address. Building Number. Text + The number of a building within the street. + 0..1 + Address + Building Number + Text + Text. Type + PremiseNumber + 388 + + + + + + + + + BBIE + Address. Inhouse_ Mail. Text + The specific identifable location within a building where mail is delivered. + 0..1 + Address + Inhouse + Mail + Text + Text. Type + MailStop + + + + + + + + + BBIE + Address. Department. Text + The department of the addressee. + 0..1 + Address + Department + Text + Text. Type + Department + Accounts Payable + + + + + + + + + BBIE + Address. Mark Attention. Text + The name, expressed as text, of a person or department in an organization to whose attention incoming mail is directed; corresponds to the printed forms "for the attention of", "FAO", and ATTN:". + 0..1 + Address + Mark Attention + Text + Text. Type + + + + + + + + + BBIE + Address. Mark Care. Text + The name, expressed as text, of a person or organization at this address into whose care incoming mail is entrusted; corresponds to the printed forms "care of" and "c/o". + 0..1 + Address + Mark Care + Text + Text. Type + + + + + + + + + BBIE + Address. Plot Identification. Text + An identifier (e.g., a parcel number) for the piece of land associated with this address. + 0..1 + Address + Plot Identification + Text + Text. Type + + + + + + + + + BBIE + Address. City Subdivision Name. Name + The name of the subdivision of a city, town, or village in which this address is located, such as the name of its district or borough. + 0..1 + Address + City Subdivision Name + Name + Name. Type + + + + + + + + + BBIE + Address. City Name. Name + The name of a city, town, or village. + 0..1 + Address + City Name + Name + Name. Type + LocalityName + Hong Kong + + + + + + + + + BBIE + Address. Postal_ Zone. Text + The postal identifier for this address according to the relevant national postal service, such as a ZIP code or Post Code. + 0..1 + Address + Postal + Zone + Text + Text. Type + PostalCodeNumber + SW11 4EW 2500 GG + + + + + + + + + BBIE + Address. Country Subentity. Text + The political or administrative division of a country in which this address is located, such as the name of its county, province, or state, expressed as text. + 0..1 + Address + Country Subentity + Text + Text. Type + AdministrativeArea, State, Country, Shire, Canton + Florida , Tamilnadu + + + + + + + + + BBIE + Address. Country Subentity Code. Code + The political or administrative division of a country in which this address is located, such as a county, province, or state, expressed as a code (typically nationally agreed). + 0..1 + Address + Country Subentity Code + Code + Code. Type + AdministrativeAreaCode, State Code + + + + + + + + + BBIE + Address. Region. Text + The recognized geographic or economic region or group of countries in which this address is located. + 0..1 + Address + Region + Text + Text. Type + LocalityName, Economic Zone + European Union + + + + + + + + + BBIE + Address. District. Text + The district or geographical division of a country or region in which this address is located. + 0..1 + Address + District + Text + Text. Type + LocalityName, Area + East Coast + + + + + + + + + BBIE + Address. Timezone Offset. Text + The time zone in which this address is located (as an offset from Universal Coordinated Time (UTC)) at the time of exchange. + 0..1 + Address + Timezone Offset + Text + Text. Type + +8:00 -3:00 + + + + + + + + + ASBIE + Address. Address Line + An unstructured address line. + 0..n + Address + Address Line + Address Line + Address Line + + + + + + + + + ASBIE + Address. Country + The country in which this address is situated. + 0..1 + Address + Country + Country + Country + + + + + + + + + ASBIE + Address. Location Coordinate + The geographical coordinates of this address. + 0..n + Address + Location Coordinate + Location Coordinate + Location Coordinate + + + + + + + + + + + ABIE + Address Line. Details + A class to define an unstructured address line. + Address Line + + + + + + + + + BBIE + Address Line. Line. Text + An address line expressed as unstructured text. + 1 + Address Line + Line + Text + Text. Type + 123 Standard Chartered Tower + + + + + + + + + + + ABIE + Air Transport. Details + A class to identify a specific aircraft used for transportation. + Air Transport + + + + + + + + + BBIE + Air Transport. Aircraft Identifier. Identifier + An identifer for a specific aircraft. + 1 + Air Transport + Aircraft Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Allowance Charge. Details + A class to describe information about a charge or discount as applied to a price component. + Allowance Charge + + + + + + + + + BBIE + Allowance Charge. Identifier + An identifier for this allowance or charge. + 0..1 + Allowance Charge + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Allowance Charge. Charge_ Indicator. Indicator + An indicator that this AllowanceCharge describes a charge (true) or a discount (false). + 1 + Allowance Charge + Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Allowance Charge. Allowance Charge Reason Code. Code + A mutually agreed code signifying the reason for this allowance or charge. + 0..1 + Allowance Charge + Allowance Charge Reason Code + Code + Allowance Charge Reason + Allowance Charge Reason_ Code. Type + + + + + + + + + BBIE + Allowance Charge. Allowance Charge_ Reason. Text + The reason for this allowance or charge. + 0..n + Allowance Charge + Allowance Charge + Reason + Text + Text. Type + + + + + + + + + BBIE + Allowance Charge. Multiplier_ Factor. Numeric + A number by which the base amount is multiplied to calculate the actual amount of this allowance or charge. + 0..1 + Allowance Charge + Multiplier + Factor + Numeric + Numeric. Type + 0.20 + + + + + + + + + BBIE + Allowance Charge. Prepaid_ Indicator. Indicator + An indicator that this allowance or charge is prepaid (true) or not (false). + 0..1 + Allowance Charge + Prepaid + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Allowance Charge. Sequence. Numeric + A number indicating the order of this allowance or charge in the sequence of calculations applied when there are multiple allowances or charges. + 0..1 + Allowance Charge + Sequence + Numeric + Numeric. Type + 1, 2, 3, 4, etc. + + + + + + + + + BBIE + Allowance Charge. Amount + The monetary amount of this allowance or charge to be applied. + 1 + Allowance Charge + Amount + Amount + Amount. Type + 35,23 + + + + + + + + + BBIE + Allowance Charge. Base_ Amount. Amount + The monetary amount to which the multiplier factor is applied in calculating the amount of this allowance or charge. + 0..1 + Allowance Charge + Base + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Allowance Charge. Accounting Cost Code. Code + The accounting cost centre used by the buyer to account for this allowance or charge, expressed as a code. + 0..1 + Allowance Charge + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Allowance Charge. Accounting Cost. Text + The accounting cost centre used by the buyer to account for this allowance or charge, expressed as text. + 0..1 + Allowance Charge + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Allowance Charge. Per Unit_ Amount. Amount + The allowance or charge per item; the total allowance or charge is calculated by multiplying the per unit amount by the quantity of items, either at the level of the individual transaction line or for the total number of items in the document, depending on the context in which it appears. + 0..1 + Allowance Charge + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Allowance Charge. Tax Category + A tax category applicable to this allowance or charge. + 0..n + Allowance Charge + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Allowance Charge. Tax Total + The total of all the taxes applicable to this allowance or charge. + 0..1 + Allowance Charge + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Allowance Charge. Payment Means + A means of payment for this allowance or charge. + 0..n + Allowance Charge + Payment Means + Payment Means + Payment Means + + + + + + + + + + + ABIE + Appeal Terms. Details + A class to describe the terms and conditions, set by the contracting authority, under which an appeal can be lodged for a tender award. + Appeal Terms + + + + + + + + + BBIE + Appeal Terms. Description. Text + Text describing the terms of an appeal. + 0..n + Appeal Terms + Description + Text + Text. Type + + + + + + + + + ASBIE + Appeal Terms. Presentation_ Period. Period + The period during which an appeal can be presented. + 0..1 + Appeal Terms + Presentation + Period + Period + Period + + + + + + + + + ASBIE + Appeal Terms. Appeal Information_ Party. Party + The party presenting the information for an appeal. + 0..1 + Appeal Terms + Appeal Information + Party + Party + Party + + + + + + + + + ASBIE + Appeal Terms. Appeal Receiver_ Party. Party + The party to whom an appeal should be presented. + 0..1 + Appeal Terms + Appeal Receiver + Party + Party + Party + + + + + + + + + ASBIE + Appeal Terms. Mediation_ Party. Party + The party that has been appointed to mediate any appeal. + 0..1 + Appeal Terms + Mediation + Party + Party + Party + + + + + + + + + + + ABIE + Attachment. Details + A class to describe an attached document. An attachment can refer to an external document or be included with the document being exchanged. + Attachment + + + + + + + + + BBIE + Attachment. Embedded_ Document. Binary Object + A binary large object containing an attached document. + 0..1 + Attachment + Embedded + Document + Binary Object + Binary Object. Type + + + + + + + + + ASBIE + Attachment. External Reference + A reference to an attached document that is external to the document(s) being exchanged. + 0..1 + Attachment + External Reference + External Reference + External Reference + + + + + + + + + + + ABIE + Auction Terms. Details + A class to describe the terms to be fulfilled by tenderers if an auction is to be executed before the awarding of a tender. + Auction Terms + + + + + + + + + BBIE + Auction Terms. Auction_ Constraint. Indicator + Indicates whether an electronic auction will be used before the awarding of a contract (true) or not (false). + 0..1 + Auction Terms + Auction + Constraint + Indicator + Indicator. Type + + + + + + + + + BBIE + Auction Terms. Justification_ Description. Text + Text describing a justification for the use of an auction in awarding the tender. + 0..n + Auction Terms + Justification + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Description. Text + Text for tenderers describing terms governing the auction. + 0..n + Auction Terms + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Process_ Description. Text + Text describing the auction process. + 0..n + Auction Terms + Process + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Conditions_ Description. Text + Text describing the conditions under which the tenderers will be able to bid as part of the auction. + 0..n + Auction Terms + Conditions + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Electronic Device_ Description. Text + Text describing an electronic device used for the auction, including associated connectivity specifications. + 0..n + Auction Terms + Electronic Device + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Auction_ URI. Identifier + The Uniform Resource Identifier (URI) of the electronic device used for the auction. + 0..1 + Auction Terms + Auction + URI + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Awarding Criterion. Details + A class to define a criterion from the contracting party that will be taken into account when awarding a contract. An awarding criterion can be objective, when it can be evaluated following a formula, or subjective, when human analysis is required. + Awarding Criterion + + + + + + + + + BBIE + Awarding Criterion. Identifier + Identifies a specific awarding criterion. + 0..1 + Awarding Criterion + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarding Criterion. Awarding Criterion Type Code. Code + A code used to define this awarding criterion. + 0..1 + Awarding Criterion + Awarding Criterion Type Code + Code + Code. Type + + + + + + + + + BBIE + Awarding Criterion. Description. Text + A description of the awarding criterion. + 0..n + Awarding Criterion + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion. Weight Numeric. Numeric + A number defining the comparative weighting assigned to this awarding criterion, to enable formulaic evaluation. + 0..1 + Awarding Criterion + Weight Numeric + Numeric + Numeric. Type + + + + + + + + + BBIE + Awarding Criterion. Weight. Text + A description of the comparative weighting for this awarding criterion. + 0..n + Awarding Criterion + Weight + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion. Calculation Expression. Text + The mathematical expression that will be used to evaluate this criterion. + 0..n + Awarding Criterion + Calculation Expression + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion. Calculation Expression Code. Code + A code identifying the mathematical expression that will be used to evaluate this criterion. + 0..1 + Awarding Criterion + Calculation Expression Code + Code + Code. Type + + + + + + + + + BBIE + Awarding Criterion. Minimum_ Quantity. Quantity + The minimum quantity for an awarding criterion. + 0..1 + Awarding Criterion + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Awarding Criterion. Maximum_ Quantity. Quantity + The maximum quantity for an awarding criterion. + 0..1 + Awarding Criterion + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Awarding Criterion. Minimum_ Amount. Amount + The minimum monetary amount for an awarding criterion. + 0..1 + Awarding Criterion + Minimum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Awarding Criterion. Maximum_ Amount. Amount + The maximum monetary amount for an awarding criterion. + 0..1 + Awarding Criterion + Maximum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Awarding Criterion. Minimum Improvement Bid. Text + Describes the minimum improvement bid for this awarding criterion when used in an auction. + 0..n + Awarding Criterion + Minimum Improvement Bid + Text + Text. Type + + + + + + + + + ASBIE + Awarding Criterion. Subordinate_ Awarding Criterion. Awarding Criterion + Defines any subsidiary awarding criterion. + 0..n + Awarding Criterion + Subordinate + Awarding Criterion + Awarding Criterion + Awarding Criterion + + + + + + + + + + + ABIE + Awarding Criterion Response. Details + Defines the response for an awarding criterion from the tendering party. + Awarding Criterion Response + + + + + + + + + BBIE + Awarding Criterion Response. Identifier + An identification of this awarding criterion response. + 0..1 + Awarding Criterion Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarding Criterion Response. Awarding Criterion Identifier. Identifier + An identifer of the awarding criterion being referred to. + 0..1 + Awarding Criterion Response + Awarding Criterion Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarding Criterion Response. Awarding Criterion_ Description. Text + Describes the awarding criterion. + 0..n + Awarding Criterion Response + Awarding Criterion + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion Response. Description. Text + Describes the awarding criterion response. + 0..n + Awarding Criterion Response + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion Response. Quantity + Specifies the quantity tendered for this awarding criterion. + 0..1 + Awarding Criterion Response + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Awarding Criterion Response. Amount + Specifies the monetary amount tendered for this awarding criterion. + 0..1 + Awarding Criterion Response + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Awarding Criterion Response. Subordinate_ Awarding Criterion Response. Awarding Criterion Response + Defines responses to any subsidiary awarding criterion. + 0..n + Awarding Criterion Response + Subordinate + Awarding Criterion Response + Awarding Criterion Response + Awarding Criterion Response + + + + + + + + + + + ABIE + Awarding Terms. Details + A class to define the terms for awarding a contract. + Awarding Terms + + + + + + + + + BBIE + Awarding Terms. Weighting Algorithm Code. Code + A code signifying the weighting algorithm for awarding criteria. When multiple awarding criteria is used, different weighting and choices management algorithms based upon scores and weights of all award criteria can be used. An algorithm for weighting criteria shall be reported in the call for tenders document. It is used to determine how to perform the final management of tenders based on the results in each of the established award criteria + 0..1 + Awarding Terms + Weighting Algorithm Code + Code + Code. Type + + + + + + + + + BBIE + Awarding Terms. Description. Text + Text describing terms under which the contract is to be awarded. + 0..n + Awarding Terms + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Technical Committee_ Description. Text + Text describing the committee of experts evaluating the subjective criteria for awarding the contract. + 0..n + Awarding Terms + Technical Committee + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Low Tenders_ Description. Text + Text describing the exclusion criterion for abnormally low tenders. + 0..n + Awarding Terms + Low Tenders + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Prize Indicator. Indicator + Indicates whether a prize will be awarded (true) or not (false). + 0..1 + Awarding Terms + Prize Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Awarding Terms. Prize Description. Text + Number and value of the prizes to be awarded. + 0..n + Awarding Terms + Prize Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Payment Description. Text + Details of payments to all participants. + 0..n + Awarding Terms + Payment Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Followup Contract Indicator. Indicator + Indicates if any service contract following the contest will be awarded to the winner or one of the winners of the contest (true) or not (false). + 0..1 + Awarding Terms + Followup Contract Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Awarding Terms. Binding On Buyer Indicator. Indicator + Indicates if the decision is binding on the buyer (true) or not (false). + 0..1 + Awarding Terms + Binding On Buyer Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Awarding Terms. Awarding Criterion + Defines a criterion for awarding this tender. + 0..n + Awarding Terms + Awarding Criterion + Awarding Criterion + Awarding Criterion + + + + + + + + + ASBIE + Awarding Terms. Technical Committee_ Person. Person + A member of a committee of experts evaluating the subjective criteria for awarding the contract. + 0..n + Awarding Terms + Technical Committee + Person + Person + Person + + + + + + + + + + + ABIE + Billing Reference. Details + A class to define a reference to a billing document. + Billing Reference + + + + + + + + + ASBIE + Billing Reference. Invoice_ Document Reference. Document Reference + A reference to an invoice. + 0..1 + Billing Reference + Invoice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Self Billed Invoice_ Document Reference. Document Reference + A reference to a self billed invoice. + 0..1 + Billing Reference + Self Billed Invoice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Credit Note_ Document Reference. Document Reference + A reference to a credit note. + 0..1 + Billing Reference + Credit Note + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Self Billed Credit Note_ Document Reference. Document Reference + A reference to a self billed credit note. + 0..1 + Billing Reference + Self Billed Credit Note + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Debit Note_ Document Reference. Document Reference + A reference to a debit note. + 0..1 + Billing Reference + Debit Note + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Reminder_ Document Reference. Document Reference + A reference to a billing reminder. + 0..1 + Billing Reference + Reminder + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Additional_ Document Reference. Document Reference + A reference to an additional document. + 0..1 + Billing Reference + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Billing Reference Line + A reference to a transaction line in the billing document. + 0..n + Billing Reference + Billing Reference Line + Billing Reference Line + Billing Reference Line + + + + + + + + + + + ABIE + Billing Reference Line. Details + A class to define a reference to a transaction line in a billing document. + Billing Reference Line + + + + + + + + + BBIE + Billing Reference Line. Identifier + An identifier for this transaction line in a billing document. + 1 + Billing Reference Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Billing Reference Line. Amount + The monetary amount of the transaction line, including any allowances and charges but excluding taxes. + 0..1 + Billing Reference Line + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Billing Reference Line. Allowance Charge + An allowance or charge applicable to the transaction line. + 0..n + Billing Reference Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Branch. Details + A class to describe a branch or a division of an organization. + Branch + + + + + + + + + BBIE + Branch. Identifier + An identifier for this branch or division of an organization. + 0..1 + Branch + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Branch. Name + The name of this branch or division of an organization. + 0..1 + Branch + Name + Name + Name. Type + + + + + + + + + ASBIE + Branch. Financial Institution + The financial institution that this branch belongs to (if applicable). + 0..1 + Branch + Financial Institution + Financial Institution + Financial Institution + + + + + + + + + ASBIE + Branch. Address + The address of this branch or division. + 0..1 + Branch + Address + Address + Address + + + + + + + + + + + ABIE + Budget Account. Details + A class to define a budget account. + Budget Account + + + + + + + + + BBIE + Budget Account. Identifier + An identifier for the budget account, typically an internal accounting reference. + 0..1 + Budget Account + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Budget Account. Budget Year. Numeric + The number of the year for this budget account, e.g. 2012 + 0..1 + Budget Account + Budget Year + Numeric + Numeric. Type + + + + + + + + + ASBIE + Budget Account. Required_ Classification Scheme. Classification Scheme + A classification scheme required for this budget account. + 0..1 + Budget Account + Required + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + + + ABIE + Budget Account Line. Details + A class to define a budget account line. + Budget Account Line + + + + + + + + + BBIE + Budget Account Line. Identifier + An identifier for this budget account line. + 0..1 + Budget Account Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Budget Account Line. Total_ Amount. Amount + The total monetary amount for this budget account line. + 0..1 + Budget Account Line + Total + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Budget Account Line. Budget Account + An account covering this budget account line. + 0..n + Budget Account Line + Budget Account + Budget Account + Budget Account + + + + + + + + + + + ABIE + Capability. Details + A class to describe a specific capability of an organization. + Capability + + + + + + + + + BBIE + Capability. Capability Type Code. Code + This class can be used as Financial or Technical capabilities. For instance, "Turnover" or "Qualified Engineers" are two possible codes. + 0..1 + Capability + Capability Type Code + Code + Code. Type + + + + + + + + + BBIE + Capability. Description. Text + Text describing this capability. + 0..n + Capability + Description + Text + Text. Type + + + + + + + + + BBIE + Capability. Value. Amount + A monetary amount as a measure of this capability. + 0..1 + Capability + Value + Amount + Amount. Type + + + + + + + + + BBIE + Capability. Value_ Quantity. Quantity + A quantity as a measure of this capability. + 0..1 + Capability + Value + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Capability. Evidence Supplied + The evidence that supports the capability claim. + 0..n + Capability + Evidence Supplied + Evidence Supplied + Evidence Supplied + + + + + + + + + ASBIE + Capability. Validity_ Period. Period + The period of time for which this capability is (or has been) valid. + 0..1 + Capability + Validity + Period + Period + Period + + + + + + + + + + + ABIE + Card Account. Details + A class to define a credit card, debit card, or charge card account. + Card Account + + + + + + + + + BBIE + Card Account. Primary_ Account Number. Identifier + An identifier of the card (e.g., the Primary Account Number (PAN)). + 1 + Card Account + Primary + Account Number + Identifier + Identifier. Type + 4558 XXXX XXXX XXXX (a real card number) + + + + + + + + + BBIE + Card Account. Network. Identifier + An identifier for the financial service network provider of the card. + 1 + Card Account + Network + Identifier + Identifier. Type + VISA, MasterCard, American Express + + + + + + + + + BBIE + Card Account. Card Type Code. Code + A mutually agreed code signifying the type of card. Examples of types are "debit", "credit" and "purchasing" + 0..1 + Card Account + Card Type Code + Code + Code. Type + Debit Card, Credit Card, Procurement Card + + + + + + + + + BBIE + Card Account. Validity Start Date. Date + The date from which the card is valid. + 0..1 + Card Account + Validity Start Date + Date + Date. Type + + + + + + + + + BBIE + Card Account. Expiry Date. Date + The date on which the card expires. + 0..1 + Card Account + Expiry Date + Date + Date. Type + + + + + + + + + BBIE + Card Account. Issuer. Identifier + An identifier for the institution issuing the card. + 0..1 + Card Account + Issuer + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Issue Number. Identifier + An identifier for the card, specified by the issuer. + 0..1 + Card Account + Issue Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. CV2. Identifier + An identifier for the Card Verification Value (often found on the reverse of the card itself). + 0..1 + Card Account + CV2 + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Card Chip Code. Code + A mutually agreed code to distinguish between CHIP and MAG STRIPE cards. + 0..1 + Card Account + Card Chip Code + Code + Chip + Chip_ Code. Type + + + + + + + + + BBIE + Card Account. Chip_ Application. Identifier + An identifier on the chip card for the application that provides the quoted information; an AID (application ID). + 0..1 + Card Account + Chip + Application + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Holder. Name + The name of the cardholder. + 0..1 + Card Account + Holder + Name + Name. Type + + + + + + + + + + + ABIE + Catalogue Item Specification Update Line. Details + A class to define a line describing the transaction that updates the specification of an item in a catalogue. + Catalogue Item Specification Update Line + + + + + + + + + BBIE + Catalogue Item Specification Update Line. Identifier + An identifier for the line to be updated in a catalogue. + 1 + Catalogue Item Specification Update Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Contractor_ Customer Party. Customer Party + The customer responsible for the contract associated with the catalogue item. + 0..1 + Catalogue Item Specification Update Line + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Seller_ Supplier Party. Supplier Party + The seller/supplier responsible for the contract associated with the catalogue item. + 0..1 + Catalogue Item Specification Update Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Item + The catalogue item to be updated. + 1 + Catalogue Item Specification Update Line + Item + Item + Item + + + + + + + + + + + ABIE + Catalogue Line. Details + A class to define a line in a Catalogue describing a purchasable item. + Catalogue Line + + + + + + + + + BBIE + Catalogue Line. Identifier + An identifier for the line in the catalogue. + 1 + Catalogue Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Catalogue Line. Action Code. Code + A code signifying the action required to synchronize this catalogue line. Recommend codes (delete, update, add) + 0..1 + Catalogue Line + Action Code + Code + Code. Type + Replace , Update , Delete , Add + + + + + + + + + BBIE + Catalogue Line. Life Cycle Status Code. Code + A code signifying the life cycle status of this catalogue line. Examples are pre-order, end of production + 0..1 + Catalogue Line + Life Cycle Status Code + Code + Code. Type + new - announcement only , new and available , deleted - announcement only + + + + + + + + + BBIE + Catalogue Line. Contract Subdivision. Text + A subdivision of a contract or tender covering this catalogue line. + 0..1 + Catalogue Line + Contract Subdivision + Text + Text. Type + Installation , Phase One , Support and Maintenance + + + + + + + + + BBIE + Catalogue Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Line + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Line. Orderable_ Indicator. Indicator + An indicator that this catalogue line describes an orderable item (true) or is included for reference purposes only (false). + 0..1 + Catalogue Line + Orderable + Indicator + Indicator + Indicator. Type + TRUE means orderable, FALSE means not orderable + + + + + + + + + BBIE + Catalogue Line. Orderable_ Unit. Text + A textual description of the units in which the item described in this catalogue line can be ordered. + 0..1 + Catalogue Line + Orderable + Unit + Text + Text. Type + + + + + + + + + BBIE + Catalogue Line. Content Unit. Quantity + The numeric quantity of the ordering unit (and units of measure) of the catalogue line. + 0..1 + Catalogue Line + Content Unit + Quantity + Quantity. Type + If order unit measure identifier is each , then content unit quantity is 1 . + + + + + + + + + BBIE + Catalogue Line. Order Quantity Increment. Numeric + The number of items that can set the order quantity increments. + 0..1 + Catalogue Line + Order Quantity Increment + Numeric + Numeric. Type + + + + + + + + + BBIE + Catalogue Line. Minimum_ Order Quantity. Quantity + The minimum amount of the item described in this catalogue line that can be ordered. + 0..1 + Catalogue Line + Minimum + Order Quantity + Quantity + Quantity. Type + 10 boxes + + + + + + + + + BBIE + Catalogue Line. Maximum_ Order Quantity. Quantity + The maximum amount of the item described in this catalogue line that can be ordered. + 0..1 + Catalogue Line + Maximum + Order Quantity + Quantity + Quantity. Type + 1 tonne + + + + + + + + + BBIE + Catalogue Line. Warranty_ Information. Text + Text about a warranty (provided by WarrantyParty) for the good or service described in this catalogue line. + 0..n + Catalogue Line + Warranty + Information + Text + Text. Type + Unless specified otherwise and in addition to any rights the Customer may have under statute, Dell warrants to the Customer that Dell branded Products (excluding third party products and software), will be free from defects in materials and workmanship affecting normal use for a period of one year from invoice date ( Standard Warranty ). + + + + + + + + + BBIE + Catalogue Line. Pack Level Code. Code + A mutually agreed code signifying the level of packaging associated with the item described in this catalogue line. + 0..1 + Catalogue Line + Pack Level Code + Code + Code. Type + Consumer Unit, Trading Unit + level 2 , Group 4 + + + + + + + + + ASBIE + Catalogue Line. Contractor_ Customer Party. Customer Party + The customer responsible for the contract with which this catalogue line is associated. + 0..1 + Catalogue Line + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Line. Seller_ Supplier Party. Supplier Party + The seller/supplier responsible for the contract with which this catalogue line is associated. + 0..1 + Catalogue Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Line. Warranty_ Party. Party + The party responsible for any warranty associated with the item described in this catalogue line. + 0..1 + Catalogue Line + Warranty + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Line. Warranty Validity_ Period. Period + The period for which a warranty associated with the item in this catalogue line is valid. + 0..1 + Catalogue Line + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Line. Line Validity_ Period. Period + The period for which the information in this catalogue line is valid. + 0..1 + Catalogue Line + Line Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Line. Item Comparison + A combination of price and quantity used to provide price comparisons based on different sizes of order. + 0..n + Catalogue Line + Item Comparison + Item Comparison + Item Comparison + + + + + + + + + ASBIE + Catalogue Line. Component_ Related Item. Related Item + An item that may be a component of the item in this catalogue line. + 0..n + Catalogue Line + Component + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Accessory_ Related Item. Related Item + An item that may be an optional accessory of the item in this catalogue line. + 0..n + Catalogue Line + Accessory + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Required_ Related Item. Related Item + An item that may be required for the item in this catalogue line. + 0..n + Catalogue Line + Required + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Replacement_ Related Item. Related Item + An item that may be a replacement for the item in this catalogue line. + 0..n + Catalogue Line + Replacement + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Complementary_ Related Item. Related Item + An item that may complement the item in this catalogue line. + 0..n + Catalogue Line + Complementary + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Replaced_ Related Item. Related Item + An item in an existing catalogue that is being replaced by the item in this catalogue line. + 0..n + Catalogue Line + Replaced + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Required_ Item Location Quantity. Item Location Quantity + Properties of the item in this catalogue line that are dependent on location and quantity. + 0..n + Catalogue Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Catalogue Line. Document Reference + A reference to a document associated with this catalogue line. + 0..n + Catalogue Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue Line. Item + A specification of the item itself. + 1 + Catalogue Line + Item + Item + Item + + + + + + + + + ASBIE + Catalogue Line. Keyword_ Item Property. Item Property + A property of the item in this catalogue line. + 0..n + Catalogue Line + Keyword + Item Property + Item Property + Item Property + + + + + + + + + ASBIE + Catalogue Line. Call For Tenders_ Line Reference. Line Reference + Reference to a Line on a Call For Tenders document. + 0..1 + Catalogue Line + Call For Tenders + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Catalogue Line. Call For Tenders_ Document Reference. Document Reference + A class defining references to a Call For Tenders document. + 0..1 + Catalogue Line + Call For Tenders + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Catalogue Pricing Update Line. Details + A class to define a line describing a pricing update to a catalogue line. + Catalogue Pricing Update Line + + + + + + + + + BBIE + Catalogue Pricing Update Line. Identifier + An identifier for the catalogue line to be updated. + 1 + Catalogue Pricing Update Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Contractor_ Customer Party. Customer Party + The customer responsible for the contract associated with the catalogue line being updated. + 0..1 + Catalogue Pricing Update Line + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Seller_ Supplier Party. Supplier Party + The seller/supplier responsible for the contract associated with the catalogue line being updated. + 0..1 + Catalogue Pricing Update Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Required_ Item Location Quantity. Item Location Quantity + Updated properties of the item in this catalogue line that are dependent on location and quantity. + 0..n + Catalogue Pricing Update Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + + + ABIE + Catalogue Reference. Details + A class to define a reference to a catalogue. + Catalogue Reference + + + + + + + + + BBIE + Catalogue Reference. Identifier + An identifier for a specific catalogue. + 1 + Catalogue Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Reference. UUID. Identifier + A universally unique identifier for a specific catalogue. + 0..1 + Catalogue Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Reference. Issue Date. Date + The date on which the catalogue was issued. + 0..1 + Catalogue Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Reference. Issue Time. Time + The time at which the catalogue was issued. + 0..1 + Catalogue Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Reference. Revision Date. Date + The date on which the information in the catalogue was last revised. + 0..1 + Catalogue Reference + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Reference. Revision Time. Time + The time at which the information in the catalogue was last revised. + 0..1 + Catalogue Reference + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Reference. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Reference + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Reference. Description. Text + Text describing the catalogue. + 0..n + Catalogue Reference + Description + Text + Text. Type + computer accessories for laptops + + + + + + + + + BBIE + Catalogue Reference. Version. Identifier + An identifier for the current version of the catalogue. + 0..1 + Catalogue Reference + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Reference. Previous_ Version. Identifier + An identifier for the previous version of the catalogue that is superseded by this version. + 0..1 + Catalogue Reference + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + + + ABIE + Catalogue Request Line. Details + A class to define a line describing a request for a catalogue line. + Catalogue Request Line + + + + + + + + + BBIE + Catalogue Request Line. Identifier + An identifier for the requested catalogue line. + 1 + Catalogue Request Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Catalogue Request Line. Contract Subdivision. Text + A subdivision of a contract or tender covering the line being requested. + 0..1 + Catalogue Request Line + Contract Subdivision + Text + Text. Type + Installation , Phase One , Support and Maintenance + + + + + + + + + BBIE + Catalogue Request Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Request Line + Note + Text + Text. Type + + + + + + + + + ASBIE + Catalogue Request Line. Line Validity_ Period. Period + The period for which the information in the requested catalogue line is valid. + 0..1 + Catalogue Request Line + Line Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Request Line. Required_ Item Location Quantity. Item Location Quantity + Properties of the item in the requested catalogue line that are dependent on location and quantity. + 0..n + Catalogue Request Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Catalogue Request Line. Item + The item associated with the requested catalogue line. + 1 + Catalogue Request Line + Item + Item + Item + + + + + + + + + + + ABIE + Certificate. Details + A class to define a certificate applied to the item. Certificated can be a requirement to sell goods or services in a jurisdiction. + Certificate + + + + + + + + + BBIE + Certificate. Identifier + An identifier for this certificate. + 1 + Certificate + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate. Certificate Type Code. Code + The type of this certificate, expressed as a code. The type specifies what array it belongs to, e.g.. Environmental, security, health improvement etc. + 1 + Certificate + Certificate Type Code + Code + Code. Type + + + + + + + + + BBIE + Certificate. Certificate Type. Text + The type of this certificate, expressed as a code. The type specifies what array it belongs to, e.g.. Environmental, security, health improvement etc. + 1 + Certificate + Certificate Type + Text + Text. Type + + + + + + + + + BBIE + Certificate. Remarks. Text + Remarks by the applicant for this certificate. + 0..n + Certificate + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Certificate. Issuer_ Party. Party + The authorized organization that issued this certificate, the provider of the certificate. + 1 + Certificate + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Certificate. Document Reference + A reference to a document relevant to this certificate or an application for this certificate. + 0..n + Certificate + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Certificate. Signature + A signature applied to this certificate. + 0..n + Certificate + Signature + Signature + Signature + + + + + + + + + + + ABIE + Certificate Of Origin Application. Details + A class to define an application for a Certificate of Origin (CoO). + Certificate Of Origin Application + + + + + + + + + BBIE + Certificate Of Origin Application. Reference. Identifier + An identifier for a reference as part of the CoO application. + 1 + Certificate Of Origin Application + Reference + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Certificate Type. Text + The type of CoO being applied for (Ordinary, Re-export, Commonwealth Preferential, etc.). + 1 + Certificate Of Origin Application + Certificate Type + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Application Status Code. Code + A code signifying the status of the application (revision, replacement, etc.). + 0..1 + Certificate Of Origin Application + Application Status Code + Code + Code. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Original_ Job Identifier. Identifier + The latest job number given to the CoO application. This is used by the system to keep track of amendments to or cancellation of any earlier applications. + 1 + Certificate Of Origin Application + Original + Job Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Previous_ Job Identifier. Identifier + An identifier for the previous job used in case the application requires query or change. + 0..1 + Certificate Of Origin Application + Previous + Job Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Remarks. Text + Remarks by the applicant for the CoO. + 0..n + Certificate Of Origin Application + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Certificate Of Origin Application. Shipment + The shipment of goods covered by the CoO. + 1 + Certificate Of Origin Application + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Certificate Of Origin Application. Endorser Party + A party providing an endorsement to the CoO. + 1..n + Certificate Of Origin Application + Endorser Party + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Preparation_ Party. Party + The party (individual, group, or body) that prepared this CoO application. + 1 + Certificate Of Origin Application + Preparation + Party + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Issuer_ Party. Party + The organization authorized to issue the CoO requested by this application. + 1 + Certificate Of Origin Application + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Exporter_ Party. Party + The party making an export declaration, or on behalf of which the export declaration is made, and that is the owner of the goods or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Certificate Of Origin Application + Exporter + Party + Party + Party + Exporter (WCO ID 41 and 42) + + + + + + + + + ASBIE + Certificate Of Origin Application. Importer_ Party. Party + The party making an import declaration, or on behalf of which a customs clearing agent or other authorized person makes an import declaration. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Certificate Of Origin Application + Importer + Party + Party + Party + Importer (WCO ID 39 and 40) + + + + + + + + + ASBIE + Certificate Of Origin Application. Issuing_ Country. Country + The country where the requested CoO will be issued. + 1 + Certificate Of Origin Application + Issuing + Country + Country + Country + + + + + + + + + ASBIE + Certificate Of Origin Application. Document Distribution + An interested party to which the CoO is to be distributed. + 0..n + Certificate Of Origin Application + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Certificate Of Origin Application. Supporting_ Document Reference. Document Reference + A reference to a document supporting this application. + 0..n + Certificate Of Origin Application + Supporting + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Certificate Of Origin Application. Signature + A signature applied to this application. + 0..n + Certificate Of Origin Application + Signature + Signature + Signature + + + + + + + + + + + ABIE + Classification Category. Details + A class to define a category within a classification scheme. + Classification Category + + + + + + + + + BBIE + Classification Category. Name + The name of this category within the classification scheme. + 0..1 + Classification Category + Name + Name + Name. Type + Code List Name + UNSPSC Class , UNSPSC Segment , UNSPSC Family + + + + + + + + + BBIE + Classification Category. Code Value. Text + The value of a code used to identify this category within the classification scheme. + 0..1 + Classification Category + Code Value + Text + Text. Type + Code Value + 3420001, 3273666, HSJJD-213 + + + + + + + + + BBIE + Classification Category. Description. Text + Text describing this category. + 0..n + Classification Category + Description + Text + Text. Type + Code Name + Electrical Goods , Wooden Toys + + + + + + + + + ASBIE + Classification Category. Categorizes_ Classification Category. Classification Category + A recursive description of a subcategory of this category. + 0..n + Classification Category + Categorizes + Classification Category + Classification Category + Classification Category + + + + + + + + + + + ABIE + Classification Scheme. Details + A class to define a classification scheme, such as a taxonomy for classifying goods or services. + Classification Scheme + + + + + + + + + BBIE + Classification Scheme. Identifier + An identifier for this classification scheme. + 1 + Classification Scheme + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. UUID. Identifier + A universally unique identifier for this classification scheme. + 0..1 + Classification Scheme + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Last_ Revision Date. Date + The date on which this classification scheme was last revised. + 0..1 + Classification Scheme + Last + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Classification Scheme. Last_ Revision Time. Time + The time at which this classification scheme was last revised. + 0..1 + Classification Scheme + Last + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Classification Scheme. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Classification Scheme + Note + Text + Text. Type + + + + + + + + + BBIE + Classification Scheme. Name + The name of this classification scheme. + 0..1 + Classification Scheme + Name + Name + Name. Type + UNSPSC + + + + + + + + + BBIE + Classification Scheme. Description. Text + Text describing this classification scheme. + 0..n + Classification Scheme + Description + Text + Text. Type + an open, global multi-sector standard for classification of products and services + + + + + + + + + BBIE + Classification Scheme. Agency Identifier. Identifier + An identifier for the agency that maintains this classification scheme. + 0..1 + Classification Scheme + Agency Identifier + Identifier + Identifier. Type + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + + + BBIE + Classification Scheme. Agency Name. Text + The name of the agency that maintains the classification scheme. + 0..1 + Classification Scheme + Agency Name + Text + Text. Type + + + + + + + + + BBIE + Classification Scheme. Version. Identifier + An identifier for the version of this classification scheme. + 0..1 + Classification Scheme + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. URI. Identifier + The Uniform Resource Identifier (URI) of the documentation for this classification scheme. + 0..1 + Classification Scheme + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Scheme_ URI. Identifier + The Uniform Resource Identifier (URI) of this classification scheme. + 0..1 + Classification Scheme + Scheme + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Language. Identifier + An identifier for the language of this classification scheme. + 0..1 + Classification Scheme + Language + Identifier + Identifier. Type + + + + + + + + + ASBIE + Classification Scheme. Classification Category + A description of a category within this classification scheme. + 1..n + Classification Scheme + Classification Category + Classification Category + Classification Category + + + + + + + + + + + ABIE + Clause. Details + A class to define a clause (a distinct article or provision) in a contract, treaty, will, or other formal or legal written document requiring compliance. + Clause + + + + + + + + + BBIE + Clause. Identifier + An identifier for this clause. + 0..1 + Clause + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Clause. Content. Text + The text of this clause. + 0..n + Clause + Content + Text + Text. Type + + + + + + + + + + + ABIE + Commodity Classification. Details + A class to describe the classification of a commodity. + Commodity Classification + + + + + + + + + BBIE + Commodity Classification. Nature Code. Code + A code defined by a specific maintenance agency signifying the high-level nature of the commodity. + 0..1 + Commodity Classification + Nature Code + Code + Code. Type + wooden products + + + + + + + + + BBIE + Commodity Classification. Cargo Type Code. Code + A mutually agreed code signifying the type of cargo for purposes of commodity classification. + 0..1 + Commodity Classification + Cargo Type Code + Code + Code. Type + Refrigerated + + + + + + + + + BBIE + Commodity Classification. Commodity Code. Code + The harmonized international commodity code for cross border and regulatory (customs and trade statistics) purposes. + 0..1 + Commodity Classification + Commodity Code + Code + Code. Type + Harmonized Code + 1102222883 + + + + + + + + + BBIE + Commodity Classification. Item Classification Code. Code + A code signifying the trade classification of the commodity. + 0..1 + Commodity Classification + Item Classification Code + Code + Code. Type + UN/SPSC Code + 3440234 + + + + + + + + + + + ABIE + Communication. Details + A class to describe a means of communication. + Communication + + + + + + + + + BBIE + Communication. Channel Code. Code + The method of communication, expressed as a code. + 0..1 + Communication + Channel Code + Code + Channel + Channel_ Code. Type + Phone Fax Email + + + + + + + + + BBIE + Communication. Channel. Text + The method of communication, expressed as text. + 0..1 + Communication + Channel + Text + Text. Type + Skype + + + + + + + + + BBIE + Communication. Value. Text + An identifying value (phone number, email address, etc.) for this channel of communication + 0..1 + Communication + Value + Text + Text. Type + +44 1 2345 6789 president@whitehouse.com + + + + + + + + + + + ABIE + Completed Task. Details + A class to describe the completion of a specific task in the tendering process. + Completed Task + + + + + + + + + BBIE + Completed Task. Annual_ Average. Amount + The average monetary amount of a task such as this completed task. + 0..1 + Completed Task + Annual + Average + Amount + Amount. Type + + + + + + + + + BBIE + Completed Task. Total Task. Amount + The actual total monetary amount of this completed task. + 0..1 + Completed Task + Total Task + Amount + Amount. Type + + + + + + + + + BBIE + Completed Task. Party Capacity. Amount + A monetary amount corresponding to the financial capacity of the party that carried out this completed task. + 0..1 + Completed Task + Party Capacity + Amount + Amount. Type + + + + + + + + + BBIE + Completed Task. Description. Text + Text describing this completed task. + 0..n + Completed Task + Description + Text + Text. Type + + + + + + + + + ASBIE + Completed Task. Evidence Supplied + The evidence justifying a designation of "complete" for this task. + 0..n + Completed Task + Evidence Supplied + Evidence Supplied + Evidence Supplied + + + + + + + + + ASBIE + Completed Task. Period + The period in which this completed task was performed. + 0..1 + Completed Task + Period + Period + Period + + + + + + + + + ASBIE + Completed Task. Recipient_ Customer Party. Customer Party + The original customer for this completed task. + 0..1 + Completed Task + Recipient + Customer Party + Customer Party + Customer Party + + + + + + + + + + + ABIE + Condition. Details + A class to define a measurable condition of an object. + Condition + + + + + + + + + BBIE + Condition. Attribute Identifier. Identifier + An identifier for the attribute that applies to the condition. + 1 + Condition + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Condition. Measure + The measurement value. + 0..1 + Condition + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Condition. Description. Text + Text describing the attribute that applies to the condition. + 0..n + Condition + Description + Text + Text. Type + + + + + + + + + BBIE + Condition. Minimum_ Measure. Measure + The minimum value in a range of measurement for this condition. + 0..1 + Condition + Minimum + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Condition. Maximum_ Measure. Measure + The maximum value in a range of measurement for this condition. + 0..1 + Condition + Maximum + Measure + Measure + Measure. Type + + + + + + + + + + + ABIE + Consignment. Details + A class to describe an identifiable collection of one or more goods items to be transported between the consignor and the consignee. This information may be defined within a transport contract. A consignment may comprise more than one shipment (e.g., when consolidated by a freight forwarder). + Consignment + + + + + + + + + BBIE + Consignment. Identifier + An identifier assigned to a collection of goods for both import and export. + 1 + Consignment + Identifier + Identifier + Identifier. Type + Unique consignment reference number (UCR) + + + + + + + + + BBIE + Consignment. Carrier Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the carrier. + 0..1 + Consignment + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Consignee Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the consignee. + 0..1 + Consignment + Consignee Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Consignor Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the consignor. + 0..1 + Consignment + Consignor Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Freight Forwarder Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the freight forwarder. + 0..1 + Consignment + Freight Forwarder Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Broker Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the broker. + 0..1 + Consignment + Broker Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Contracted Carrier Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the contracted carrier. + 0..1 + Consignment + Contracted Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Performing Carrier Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the performing carrier. + 0..1 + Consignment + Performing Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Summary_ Description. Text + A textual summary description of the consignment. + 0..n + Consignment + Summary + Description + Text + Text. Type + + + + + + + + + BBIE + Consignment. Total_ Invoice Amount. Amount + The total of all invoice amounts declared in this consignment. + 0..1 + Consignment + Total + Invoice Amount + Amount + Amount. Type + + + + + + + + + BBIE + Consignment. Declared Customs_ Value. Amount + The total declared value for customs purposes of all the goods in this consignment, regardless of whether they are subject to the same customs procedure, tariff/statistical categorization, country information, or duty regime. + 0..1 + Consignment + Declared Customs + Value + Amount + Amount. Type + + + + + + + + + BBIE + Consignment. Tariff Description. Text + Text describing the tariff applied to this consignment. + 0..n + Consignment + Tariff Description + Text + Text. Type + + + + + + + + + BBIE + Consignment. Tariff Code. Code + A code signifying the tariff applied to this consignment. + 0..1 + Consignment + Tariff Code + Code + Code. Type + Tariff code number (WCO ID 145) + + + + + + + + + BBIE + Consignment. Insurance Premium Amount. Amount + The amount of the premium payable to an insurance company for insuring the goods contained in this consignment. + 0..1 + Consignment + Insurance Premium Amount + Amount + Amount. Type + Insurance Cost + + + + + + + + + BBIE + Consignment. Gross_ Weight. Measure + The total declared weight of the goods in this consignment, including packaging but excluding the carrier's equipment. + 0..1 + Consignment + Gross + Weight + Measure + Measure. Type + Total gross weight (WCO ID 131) + Total cube of all goods items referred to as one consignment. + + + + + + + + + BBIE + Consignment. Net_ Weight. Measure + The total net weight of all the goods items referred to as one consignment. + 0..1 + Consignment + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Net Net_ Weight. Measure + The total net weight of the goods in this consignment, exclusive of packaging. + 0..1 + Consignment + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Chargeable_ Weight. Measure + The weight upon which a charge is to be based. + 0..1 + Consignment + Chargeable + Weight + Measure + Measure. Type + Chargeable Weight. Basis.Measure + + + + + + + + + BBIE + Consignment. Gross_ Volume. Measure + The total volume of the goods referred to as one consignment. + 0..1 + Consignment + Gross + Volume + Measure + Measure. Type + Cube + + + + + + + + + BBIE + Consignment. Net_ Volume. Measure + The total net volume of all goods items referred to as one consignment. + 0..1 + Consignment + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Loading_ Length. Measure + The total length in a means of transport or a piece of transport equipment which, given the width and height of the transport means, will accommodate all of the consignments in a single consolidation. + 0..1 + Consignment + Loading + Length + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Remarks. Text + Remarks concerning the complete consignment, to be printed on the transport document. + 0..n + Consignment + Remarks + Text + Text. Type + + + + + + + + + BBIE + Consignment. Hazardous Risk_ Indicator. Indicator + An indication that the transported goods in this consignment are subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Consignment + Hazardous Risk + Indicator + Indicator + Indicator. Type + Dangerous Goods RID Indicator + default is negative + + + + + + + + + BBIE + Consignment. Animal_ Food Indicator. Indicator + An indication that the transported goods in this consignment are animal foodstuffs (true) or not (false). + 0..1 + Consignment + Animal + Food Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Human_ Food Indicator. Indicator + An indication that the transported goods in this consignment are for human consumption (true) or not (false). + 0..1 + Consignment + Human + Food Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Livestock_ Indicator. Indicator + An indication that the transported goods are livestock (true) or not (false). + 0..1 + Consignment + Livestock + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Bulk Cargo_ Indicator. Indicator + An indication that the transported goods in this consignment are bulk cargoes (true) or not (false). + 0..1 + Consignment + Bulk Cargo + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Containerized_ Indicator. Indicator + An indication that the transported goods in this consignment are containerized cargoes (true) or not (false). + 0..1 + Consignment + Containerized + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. General Cargo_ Indicator. Indicator + An indication that the transported goods in this consignment are general cargoes (true) or not (false). + 0..1 + Consignment + General Cargo + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Special_ Security Indicator. Indicator + An indication that the transported goods in this consignment require special security (true) or not (false). + 0..1 + Consignment + Special + Security Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Third Party Payer_ Indicator. Indicator + An indication that this consignment will be paid for by a third party (true) or not (false). + 0..1 + Consignment + Third Party Payer + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Carrier Service_ Instructions. Text + Service instructions to the carrier, expressed as text. + 0..n + Consignment + Carrier Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Customs Clearance Service_ Instructions. Text + Service instructions for customs clearance, expressed as text. + 0..n + Consignment + Customs Clearance Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Forwarder Service_ Instructions. Text + Service instructions for the forwarder, expressed as text. + 0..n + Consignment + Forwarder Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Special Service_ Instructions. Text + Special service instructions, expressed as text. + 0..n + Consignment + Special Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Sequence Identifier. Identifier + A sequence identifier for this consignment. + 0..1 + Consignment + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Shipping Priority Level Code. Code + A code signifying the priority or level of service required for this consignment. + 0..1 + Consignment + Shipping Priority Level Code + Code + Code. Type + + + + + + + + + BBIE + Consignment. Handling Code. Code + The handling required for this consignment, expressed as a code. + 0..1 + Consignment + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Consignment. Handling_ Instructions. Text + The handling required for this consignment, expressed as text. + 0..n + Consignment + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Information. Text + Free-form text pertinent to this consignment, conveying information that is not contained explicitly in other structures. + 0..n + Consignment + Information + Text + Text. Type + + + + + + + + + BBIE + Consignment. Total_ Goods Item Quantity. Quantity + The total number of goods items in this consignment. + 0..1 + Consignment + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consignment. Total_ Transport Handling Unit Quantity. Quantity + The number of pieces of transport handling equipment (pallets, boxes, cases, etc.) in this consignment. + 0..1 + Consignment + Total + Transport Handling Unit Quantity + Quantity + Quantity. Type + Number of THUs + + + + + + + + + BBIE + Consignment. Insurance_ Value. Amount + The amount covered by insurance for this consignment. + 0..1 + Consignment + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Consignment. Declared For Carriage_ Value. Amount + The value of this consignment, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Consignment + Declared For Carriage + Value + Amount + Amount. Type + Declared value for carriage, Interest in delivery + + + + + + + + + BBIE + Consignment. Declared Statistics_ Value. Amount + The value, declared for statistical purposes, of those goods in this consignment that have the same statistical heading. + 0..1 + Consignment + Declared Statistics + Value + Amount + Amount. Type + Statistical Value + + + + + + + + + BBIE + Consignment. Free On Board_ Value. Amount + The monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Consignment + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Consignment. Special_ Instructions. Text + Special instructions relating to this consignment. + 0..n + Consignment + Special + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Split Consignment_ Indicator. Indicator + An indicator that this consignment has been split in transit (true) or not (false). + 0..1 + Consignment + Split Consignment + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Consignment. Delivery_ Instructions. Text + A set of delivery instructions relating to this consignment. + 0..n + Consignment + Delivery + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Consignment_ Quantity. Quantity + The count in this consignment considering goods items, child consignments, shipments + 0..1 + Consignment + Consignment + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consignment. Consolidatable_ Indicator. Indicator + An indicator that this consignment can be consolidated (true) or not (false). + 0..1 + Consignment + Consolidatable + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Haulage_ Instructions. Text + Instructions regarding haulage of this consignment, expressed as text. + 0..n + Consignment + Haulage + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Loading_ Sequence Identifier. Identifier + An identifier for the loading sequence of this consignment. + 0..1 + Consignment + Loading + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Child Consignment Quantity. Quantity + The quantity of (consolidated) child consignments + 0..1 + Consignment + Child Consignment Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consignment. Total_ Packages Quantity. Quantity + The total number of packages associated with a Consignment. + 0..1 + Consignment + Total + Packages Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Consignment. Consolidated_ Shipment. Shipment + A consolidated shipment (a shipment created by an act of consolidation). + 0..n + Consignment + Consolidated + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Consignment. Customs Declaration + A class describing identifiers or references relating to customs procedures. + 0..n + Consignment + Customs Declaration + Customs Declaration + Customs Declaration + + + + + + + + + ASBIE + Consignment. Requested Pickup_ Transport Event. Transport Event + The pickup of this consignment requested by the party requesting a transportation service (the transport user). + 0..1 + Consignment + Requested Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Requested Delivery_ Transport Event. Transport Event + The delivery of this consignment requested by the party requesting a transportation service (the transport user). + 0..1 + Consignment + Requested Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Planned Pickup_ Transport Event. Transport Event + The pickup of this consignment planned by the party responsible for providing the transportation service (the transport service provider). + 0..1 + Consignment + Planned Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Planned Delivery_ Transport Event. Transport Event + The delivery of this consignment planned by the party responsible for providing the transportation service (the transport service provider). + 0..1 + Consignment + Planned Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Status + The status of a particular condition associated with this consignment. + 0..n + Consignment + Status + Status + Status + + + + + + + + + ASBIE + Consignment. Child_ Consignment. Consignment + One of the child consignments of which a consolidated consignment is composed. + 0..n + Consignment + Child + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Consignment. Consignee_ Party. Party + A party to which goods are consigned. + 0..1 + Consignment + Consignee + Party + Party + Party + Consignee (WCO ID 51 and 52) + + + + + + + + + ASBIE + Consignment. Exporter_ Party. Party + The party that makes the export declaration, or on behalf of which the export declaration is made, and that is the owner of the goods in this consignment or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Consignment + Exporter + Party + Party + Party + Exporter (WCO ID 41 and 42) + + + + + + + + + ASBIE + Consignment. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Consignment + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Consignment. Importer_ Party. Party + The party that makes an import declaration regarding this consignment, or on behalf of which a customs clearing agent or other authorized person makes an import declaration regarding this consignment. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Consignment + Importer + Party + Party + Party + Importer (WCO ID 39 and 40) + + + + + + + + + ASBIE + Consignment. Carrier_ Party. Party + The party providing the transport of goods in this consignment between named points. + 0..1 + Consignment + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Consignment. Freight Forwarder_ Party. Party + The party combining individual smaller consignments into a single larger shipment (the consolidated shipment), which is sent to a counterpart that mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Consignment + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Consignment. Notify_ Party. Party + The party to be notified upon arrival of goods and when special occurrences (usually pre-defined) take place during a transportation service. + 0..1 + Consignment + Notify + Party + Party + Party + WCO ID 57 and 58 + + + + + + + + + ASBIE + Consignment. Original Despatch_ Party. Party + The original despatch (sender) party for this consignment. + 0..1 + Consignment + Original Despatch + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Final Delivery_ Party. Party + The final delivery party for this consignment. + 0..1 + Consignment + Final Delivery + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Performing Carrier_ Party. Party + The party performing the carriage of this consignment. + 0..1 + Consignment + Performing Carrier + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Substitute Carrier_ Party. Party + A substitute party performing the carriage of this consignment. + 0..1 + Consignment + Substitute Carrier + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Logistics Operator_ Party. Party + The logistics operator party for this consignment. + 0..1 + Consignment + Logistics Operator + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Transport Advisor_ Party. Party + The party providing transport advice this consignment. + 0..1 + Consignment + Transport Advisor + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Hazardous Item Notification_ Party. Party + The party that would be notified of a hazardous item in this consignment. + 0..1 + Consignment + Hazardous Item Notification + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Insurance_ Party. Party + The party holding the insurance for this consignment. + 0..1 + Consignment + Insurance + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Mortgage Holder_ Party. Party + The party holding the mortgage for this consignment. + 0..1 + Consignment + Mortgage Holder + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Bill Of Lading Holder_ Party. Party + The party holding the bill of lading for this consignment. + 0..1 + Consignment + Bill Of Lading Holder + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Original Departure_ Country. Country + The country from which the goods in this consignment were originally exported, without any commercial transaction taking place in intermediate countries. + 0..1 + Consignment + Original Departure + Country + Country + Country + Country of origin (WCO ID 062) + + + + + + + + + ASBIE + Consignment. Final Destination_ Country. Country + The country in which the goods in this consignment are to be delivered to the final consignee or buyer. + 0..1 + Consignment + Final Destination + Country + Country + Country + Ultimate Destination Country, Country of Final Arrival, Country of Destination + + + + + + + + + ASBIE + Consignment. Transit_ Country. Country + One of the countries through which goods or passengers in this consignment are routed between the country of original departure and the country of final destination. + 0..n + Consignment + Transit + Country + Country + Country + Country(ies) of routing (WCO ID 064) + + + + + + + + + ASBIE + Consignment. Transport_ Contract. Contract + A transport contract relating to this consignment. + 0..1 + Consignment + Transport + Contract + Contract + Contract + + + + + + + + + ASBIE + Consignment. Transport Event + A class describing a significant occurrence or happening related to the transportation of goods. + 0..n + Consignment + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Original Despatch_ Transportation Service. Transportation Service + The service for pickup from the consignor under the transport contract for this consignment. + 0..1 + Consignment + Original Despatch + Transportation Service + Transportation Service + Transportation Service + Door-to-door , Pier-to-door + + + + + + + + + ASBIE + Consignment. Final Delivery_ Transportation Service. Transportation Service + The service for delivery to the consignee under the transport contract for this consignment. + 0..1 + Consignment + Final Delivery + Transportation Service + Transportation Service + Transportation Service + Door-to-door , Pier-to-door + + + + + + + + + ASBIE + Consignment. Delivery Terms + The conditions agreed upon between a seller and a buyer with regard to the delivery of goods and/or services (e.g., CIF, FOB, or EXW from the INCOTERMS Terms of Delivery). + 0..1 + Consignment + Delivery Terms + Delivery Terms + Delivery Terms + Trade Terms, INCOTERMS + + + + + + + + + ASBIE + Consignment. Payment Terms + The terms of payment between the parties (such as logistics service client, logistics service provider) in a transaction. + 0..1 + Consignment + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Collect_ Payment Terms. Payment Terms + The terms of payment that apply to the collection of this consignment. + 0..1 + Consignment + Collect + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Disbursement_ Payment Terms. Payment Terms + The terms of payment for disbursement. + 0..1 + Consignment + Disbursement + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Prepaid_ Payment Terms. Payment Terms + The terms of payment for prepayment. + 0..1 + Consignment + Prepaid + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Freight_ Allowance Charge. Allowance Charge + A cost incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage for this consignment. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance to the extent that they relate to the freight costs. + 0..n + Consignment + Freight + Allowance Charge + Allowance Charge + Allowance Charge + Freight Costs + + + + + + + + + ASBIE + Consignment. Extra_ Allowance Charge. Allowance Charge + A charge for extra allowance. + 0..n + Consignment + Extra + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Consignment. Main Carriage_ Shipment Stage. Shipment Stage + A shipment stage during main carriage. + 0..n + Consignment + Main Carriage + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Consignment. Pre Carriage_ Shipment Stage. Shipment Stage + A shipment stage during precarriage (usually refers to movement activity that takes place prior to the container being loaded at a port of loading). + 0..n + Consignment + Pre Carriage + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Consignment. On Carriage_ Shipment Stage. Shipment Stage + A shipment stage during on-carriage (usually refers to movement activity that takes place after the container is discharged at a port of discharge). + 0..n + Consignment + On Carriage + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Consignment. Transport Handling Unit + A transport handling unit used for loose and containerized goods. + 0..n + Consignment + Transport Handling Unit + Transport Handling Unit + Transport Handling Unit + + + + + + + + + ASBIE + Consignment. First Arrival Port_ Location. Location + The first arrival location in a transport. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Consignment + First Arrival Port + Location + Location + Location + + + + + + + + + ASBIE + Consignment. Last Exit Port_ Location. Location + The final exporting location in a transport. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Consignment + Last Exit Port + Location + Location + Location + + + + + + + + + + + ABIE + Consumption. Details + A class to describe the consumption of a utility. + Consumption + + + + + + + + + BBIE + Consumption. Utility Statement Type Code. Code + A code identifying the type of the Utility Statement required for this consumption. Explains the kind of utility the statement is about, e.g.. "gas", "electricity", "telephone" + 0..1 + Consumption + Utility Statement Type Code + Code + Code. Type + Electricity + + + + + + + + + ASBIE + Consumption. Main_ Period. Period + The period of consumption. + 0..1 + Consumption + Main + Period + Period + Period + + + + + + + + + ASBIE + Consumption. Allowance Charge + An allowance or charges that may apply with this consumption. + 0..n + Consumption + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Consumption. Tax Total + The total of taxes for each tax type covering the consumption. + 0..n + Consumption + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Consumption. Energy Water Supply + The details of any energy or water consumption. + 0..1 + Consumption + Energy Water Supply + Energy Water Supply + Energy Water Supply + + + + + + + + + ASBIE + Consumption. Telecommunications Supply + The details of any telecommunications consumption. + 0..1 + Consumption + Telecommunications Supply + Telecommunications Supply + Telecommunications Supply + + + + + + + + + ASBIE + Consumption. Legal_ Monetary Total. Monetary Total + The total amount payable on this consumption, including any allowances, charges, or taxes. + 1 + Consumption + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + + + ABIE + Consumption Average. Details + A class to define an average consumption as a monetary amount. + Consumption Average + + + + + + + + + BBIE + Consumption Average. Average_ Amount. Amount + The average monetary amount of the consumption. + 0..1 + Consumption Average + Average + Amount + Amount + Amount. Type + 1.65 + + + + + + + + + BBIE + Consumption Average. Description. Text + A description of the average consumed. + 0..n + Consumption Average + Description + Text + Text. Type + Average price incl. value added tax per kilowatt-hour in the billing period. + + + + + + + + + + + ABIE + Consumption Correction. Details + The Statement of correction, for examples heating correction. + Consumption Correction + + + + + + + + + BBIE + Consumption Correction. Correction Type. Text + Statement for the correction type. + 0..1 + Consumption Correction + Correction Type + Text + Text. Type + Heating Correction + + + + + + + + + BBIE + Consumption Correction. Correction Type Code. Code + Statement at the code for the correction type. + 0..1 + Consumption Correction + Correction Type Code + Code + Code. Type + HeatingCorrection + + + + + + + + + BBIE + Consumption Correction. Meter Number. Text + Statement for meter number. + 0..1 + Consumption Correction + Meter Number + Text + Text. Type + 530071575 + + + + + + + + + BBIE + Consumption Correction. Gas Pressure. Quantity + Correction of the gas pressure. + 0..1 + Consumption Correction + Gas Pressure + Quantity + Quantity. Type + + + + + + + + + BBIE + Consumption Correction. Actual_ Temperature Reduction. Quantity + Statement for the actuel heating correction temperature. + 0..1 + Consumption Correction + Actual + Temperature Reduction + Quantity + Quantity. Type + -36.69 + + + + + + + + + BBIE + Consumption Correction. Normal_ Temperature Reduction. Quantity + Statement for the standard for heating correction temperature. + 0..1 + Consumption Correction + Normal + Temperature Reduction + Quantity + Quantity. Type + -37.00 + + + + + + + + + BBIE + Consumption Correction. Difference_ Temperature Reduction. Quantity + Deviation from standard heating correction. + 0..1 + Consumption Correction + Difference + Temperature Reduction + Quantity + Quantity. Type + 0.31 + + + + + + + + + BBIE + Consumption Correction. Description. Text + Description related to the corrections. + 0..n + Consumption Correction + Description + Text + Text. Type + + + + + + + + + BBIE + Consumption Correction. Correction Unit Amount. Amount + Correction per MWH per degree C. + 0..1 + Consumption Correction + Correction Unit Amount + Amount + Amount. Type + 0.0000 + + + + + + + + + BBIE + Consumption Correction. Consumption Energy. Quantity + Your consumpt for district heating energy. + 0..1 + Consumption Correction + Consumption Energy + Quantity + Quantity. Type + 563.6240 + + + + + + + + + BBIE + Consumption Correction. Consumption Water. Quantity + Your consumpt for district heating water. + 0..1 + Consumption Correction + Consumption Water + Quantity + Quantity. Type + 13212.14 + + + + + + + + + BBIE + Consumption Correction. Correction Amount. Amount + Your correction for heating correction. + 0..1 + Consumption Correction + Correction Amount + Amount + Amount. Type + 0.00 + + + + + + + + + + + ABIE + Consumption History. Details + A class to describe the measurement of a type of consumption during a particular period, used for the subscriber to get an overview of his consumption + Consumption History + + + + + + + + + BBIE + Consumption History. Meter Number. Text + A text identifier for the meter measuring the consumption. + 0..1 + Consumption History + Meter Number + Text + Text. Type + 61722x + + + + + + + + + BBIE + Consumption History. Quantity + The quantity consumed. + 1 + Consumption History + Quantity + Quantity + Quantity. Type + 7621.00 + + + + + + + + + BBIE + Consumption History. Amount + The monetary amount to be charged for the quantity consumed. + 0..1 + Consumption History + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Consumption History. Consumption Level Code. Code + The consumption level, expressed as a code used explain the consumption quantity, e.g.. diversion from the normal. + 0..1 + Consumption History + Consumption Level Code + Code + Code. Type + B + + + + + + + + + BBIE + Consumption History. Consumption Level Text. Text + The consumption level, expressed as text, used explain the consumption quantity, e.g.. diversion from the normal. + 0..1 + Consumption History + Consumption Level Text + Text + Text. Type + Average + + + + + + + + + BBIE + Consumption History. Description. Text + Text describing the consumption itself. + 0..n + Consumption History + Description + Text + Text. Type + 2004/2005 + + + + + + + + + ASBIE + Consumption History. Period + The period during which the consumption took place. + 1 + Consumption History + Period + Period + Period + + + + + + + + + + + ABIE + Consumption Line. Details + A class to describe a line item for utility consumption. To specify more than one utility item, use separate consumption lines. + Consumption Line + + + + + + + + + BBIE + Consumption Line. Identifier + An identifier for this consumption line. + 1 + Consumption Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Consumption Line. Parent_ Document Line Reference Identifier. Identifier + An identifier for the transaction line on a related document (such as an invoice) that covers this consumption line. + 0..1 + Consumption Line + Parent + Document Line Reference Identifier + Identifier + Identifier. Type + Consumption + + + + + + + + + BBIE + Consumption Line. Invoiced_ Quantity. Quantity + The quantity invoiced. + 1 + Consumption Line + Invoiced + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consumption Line. Line Extension Amount. Amount + The monetary amount, including discount, to be charged for this consumption line. + 1 + Consumption Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Consumption Line. Period + The period of time covered by this consumption line. + 0..1 + Consumption Line + Period + Period + Period + + + + + + + + + ASBIE + Consumption Line. Delivery + A delivery of the utility item on this consumption line. + 0..n + Consumption Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Consumption Line. Allowance Charge + An allowance or charge that applies to this consumption line. + 0..n + Consumption Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Consumption Line. Tax Total + A total amount of taxes of a particular kind applicable to this consumption line. + 0..n + Consumption Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Consumption Line. Utility Item + The utility item consumed. + 1 + Consumption Line + Utility Item + Utility Item + Utility Item + + + + + + + + + ASBIE + Consumption Line. Price + The price associated with this consumption line, expressed in a data structure containing multiple properties. + 0..1 + Consumption Line + Price + Price + Price + + + + + + + + + ASBIE + Consumption Line. Unstructured Price + The price associated with this consumption line expressed in a less structured form that includes just the amount and the time of use. + 0..1 + Consumption Line + Unstructured Price + Unstructured Price + Unstructured Price + + + + + + + + + + + ABIE + Consumption Point. Details + A class to define the point of consumption for a utility, such as a meter. + Consumption Point + + + + + + + + + BBIE + Consumption Point. Identifier + An identifier for this point of consumption. + 1 + Consumption Point + Identifier + Identifier + Identifier. Type + 7411013716x + + + + + + + + + BBIE + Consumption Point. Description. Text + Text describing this consumption point. + 0..n + Consumption Point + Description + Text + Text. Type + Additional informations concerning the consumption point + + + + + + + + + BBIE + Consumption Point. Subscriber Identifier. Identifier + An identifier for the subscriber responsible for the consumption at this consumption point. + 0..1 + Consumption Point + Subscriber Identifier + Identifier + Identifier. Type + 98143211 + + + + + + + + + BBIE + Consumption Point. Subscriber Type. Text + The type of subscriber, expressed as text. + 0..1 + Consumption Point + Subscriber Type + Text + Text. Type + + + + + + + + + BBIE + Consumption Point. Subscriber Type Code. Code + The type of subscriber, expressed as a code. + 0..1 + Consumption Point + Subscriber Type Code + Code + Code. Type + APL + + + + + + + + + BBIE + Consumption Point. Total_ Delivered Quantity. Quantity + The total quantity delivered, calculated at this consumption point. + 0..1 + Consumption Point + Total + Delivered Quantity + Quantity + Quantity. Type + 5761.00 + + + + + + + + + ASBIE + Consumption Point. Address + The address of this consumption point. + 0..1 + Consumption Point + Address + Address + Address + + + + + + + + + ASBIE + Consumption Point. Web Site Access + Access information for the website of this consumption point. + 0..1 + Consumption Point + Web Site Access + Web Site Access + Web Site Access + + + + + + + + + ASBIE + Consumption Point. Utility_ Meter. Meter + A meter at this consumption point. + 0..n + Consumption Point + Utility + Meter + Meter + Meter + + + + + + + + + + + ABIE + Consumption Report. Details + A class to describe utility consumption, including details of the environment in which consumption takes place. + Consumption Report + + + + + + + + + BBIE + Consumption Report. Identifier + An identifier for this consumption report. + 1 + Consumption Report + Identifier + Identifier + Identifier. Type + n/a + + + + + + + + + BBIE + Consumption Report. Consumption Type. Text + The type of consumption, expressed as text. + 0..1 + Consumption Report + Consumption Type + Text + Text. Type + Consumption + + + + + + + + + BBIE + Consumption Report. Consumption Type Code. Code + The type of consumption, expressed as a code. + 0..1 + Consumption Report + Consumption Type Code + Code + Code. Type + Consumption + + + + + + + + + BBIE + Consumption Report. Description. Text + Text reporting utility consumption. + 0..n + Consumption Report + Description + Text + Text. Type + This report contain the latest year consumption + + + + + + + + + BBIE + Consumption Report. Total_ Consumed Quantity. Quantity + The total quantity consumed. + 0..1 + Consumption Report + Total + Consumed Quantity + Quantity + Quantity. Type + 20479.00 + + + + + + + + + BBIE + Consumption Report. Basic_ Consumed Quantity. Quantity + The basic quantity consumed, excluding additional consumption. + 0..1 + Consumption Report + Basic + Consumed Quantity + Quantity + Quantity. Type + 20000.00 + + + + + + + + + BBIE + Consumption Report. Resident_ Occupants Numeric. Numeric + The number of people occupying the residence covered by this report. + 0..1 + Consumption Report + Resident + Occupants Numeric + Numeric + Numeric. Type + 4.0 + + + + + + + + + BBIE + Consumption Report. Consumers_ Energy Level Code. Code + The level of energy consumed, compared to the average for this residence type and the number of people living in the residence, expressed as a code. + 0..1 + Consumption Report + Consumers + Energy Level Code + Code + Code. Type + B + + + + + + + + + BBIE + Consumption Report. Consumers_ Energy Level. Text + The level of energy consumed, compared to the average for this residence type and the number of people living in the residence, expressed as text. + 0..1 + Consumption Report + Consumers + Energy Level + Text + Text. Type + Middel + + + + + + + + + BBIE + Consumption Report. Residence Type. Text + The type of residence (house, apartment, etc.) covered in this report, expressed as text. + 0..1 + Consumption Report + Residence Type + Text + Text. Type + House + + + + + + + + + BBIE + Consumption Report. Residence Type Code. Code + The type of residence (house, apartment, etc.) covered in this report, expressed as a code. + 0..1 + Consumption Report + Residence Type Code + Code + Code. Type + House + + + + + + + + + BBIE + Consumption Report. Heating Type. Text + The type of heating in the residence covered in this report, expressed as text. + 0..1 + Consumption Report + Heating Type + Text + Text. Type + District heating + + + + + + + + + BBIE + Consumption Report. Heating Type Code. Code + The type of heating in the residence covered in this report, expressed as a code. + 0..1 + Consumption Report + Heating Type Code + Code + Code. Type + DistrictHeating + + + + + + + + + ASBIE + Consumption Report. Period + The period of consumption covered in this report. + 0..1 + Consumption Report + Period + Period + Period + + + + + + + + + ASBIE + Consumption Report. Guidance_ Document Reference. Document Reference + A reference to a document providing an explanation of this kind of report. + 0..1 + Consumption Report + Guidance + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Consumption Report. Document Reference + A reference to some other document (for example, this report in another format). + 0..1 + Consumption Report + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Consumption Report. Consumption Report Reference + A reference to a previous consumption report. + 0..n + Consumption Report + Consumption Report Reference + Consumption Report Reference + Consumption Report Reference + + + + + + + + + ASBIE + Consumption Report. Consumption History + A report describing historical parameters relating to a specific instance of consumption. + 0..n + Consumption Report + Consumption History + Consumption History + Consumption History + + + + + + + + + + + ABIE + Consumption Report Reference. Details + A class to define a reference to an earlier consumption report (e.g., last year's consumption). + Consumption Report Reference + + + + + + + + + BBIE + Consumption Report Reference. Consumption_ Report Identifier. Identifier + An identifier for the referenced consumption report. + 1 + Consumption Report Reference + Consumption + Report Identifier + Identifier + Identifier. Type + n/a + + + + + + + + + BBIE + Consumption Report Reference. Consumption Type. Text + The reported consumption type, expressed as text. + 0..1 + Consumption Report Reference + Consumption Type + Text + Text. Type + Consumption + + + + + + + + + BBIE + Consumption Report Reference. Consumption Type Code. Code + The reported consumption type, expressed as a code. + 0..1 + Consumption Report Reference + Consumption Type Code + Code + Code. Type + Consumption + + + + + + + + + BBIE + Consumption Report Reference. Total_ Consumed Quantity. Quantity + The total quantity consumed during the period of the referenced report. + 1 + Consumption Report Reference + Total + Consumed Quantity + Quantity + Quantity. Type + 20479.00 + + + + + + + + + ASBIE + Consumption Report Reference. Period + The period of consumption covered by the referenced report. + 1 + Consumption Report Reference + Period + Period + Period + + + + + + + + + + + ABIE + Contact. Details + A class to describe a contactable person or department in an organization. + Contact + + + + + + + + + BBIE + Contact. Identifier + An identifier for this contact. + 0..1 + Contact + Identifier + Identifier + Identifier. Type + Receivals Clerk + + + + + + + + + BBIE + Contact. Name + The name of this contact. It is recommended that this be used for a functional name and not a personal name. + 0..1 + Contact + Name + Name + Name. Type + Delivery Dock + + + + + + + + + BBIE + Contact. Telephone. Text + The primary telephone number of this contact. + 0..1 + Contact + Telephone + Text + Text. Type + + + + + + + + + BBIE + Contact. Telefax. Text + The primary fax number of this contact. + 0..1 + Contact + Telefax + Text + Text. Type + + + + + + + + + BBIE + Contact. Electronic_ Mail. Text + The primary email address of this contact. + 0..1 + Contact + Electronic + Mail + Text + Text. Type + + + + + + + + + BBIE + Contact. Note. Text + Free-form text conveying information that is not contained explicitly in other structures; in particular, a textual description of the circumstances under which this contact can be used (e.g., "emergency" or "after hours"). + 0..n + Contact + Note + Text + Text. Type + + + + + + + + + ASBIE + Contact. Other_ Communication. Communication + Another means of communication with this contact. + 0..n + Contact + Other + Communication + Communication + Communication + + + + + + + + + + + ABIE + Contract. Details + A class to describe a contract. + Contract + + + + + + + + + BBIE + Contract. Identifier + An identifier for this contract. + 0..1 + Contract + Identifier + Identifier + Identifier. Type + CC23 + + + + + + + + + BBIE + Contract. Issue Date. Date + The date on which this contract was issued. + 0..1 + Contract + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Contract. Issue Time. Time + The time at which this contract was issued. + 0..1 + Contract + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Contract. Nomination Date. Date + In a transportation contract, the deadline date by which the services referred to in the transport execution plan have to be booked. For example, if this service is a carrier service scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011. + 0..1 + Contract + Nomination Date + Date + Date. Type + + + + + + + + + BBIE + Contract. Nomination Time. Time + In a transportation contract, the deadline time by which the services referred to in the transport execution plan have to be booked. For example, if this service is a carrier service scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011 and the nomination time 4 p.m. at the latest. + 0..1 + Contract + Nomination Time + Time + Time. Type + + + + + + + + + BBIE + Contract. Contract Type Code. Code + The type of this contract, expressed as a code, such as "Cost plus award fee" and "Cost plus fixed fee" from UNCEFACT Contract Type code list. + 0..1 + Contract + Contract Type Code + Code + Code. Type + + + + + + + + + BBIE + Contract. Contract Type. Text + The type of this contract, expressed as text, such as "Cost plus award fee" and "Cost plus fixed fee" from UNCEFACT Contract Type code list. + 0..1 + Contract + Contract Type + Text + Text. Type + + + + + + + + + BBIE + Contract. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Contract + Note + Text + Text. Type + Remarks + + + + + + + + + BBIE + Contract. Version. Identifier + An identifier for the current version of this contract. + 0..1 + Contract + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract. Description. Text + Text describing this contract. + 0..n + Contract + Description + Text + Text. Type + + + + + + + + + ASBIE + Contract. Validity_ Period. Period + The period during which this contract is valid. + 0..1 + Contract + Validity + Period + Period + Period + + + + + + + + + ASBIE + Contract. Contract_ Document Reference. Document Reference + A reference to a contract document. + 0..n + Contract + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Contract. Nomination_ Period. Period + In a transportation contract, the period required to book the services specified in the contract before the services can begin. + 0..1 + Contract + Nomination + Period + Period + Period + + + + + + + + + ASBIE + Contract. Contractual_ Delivery. Delivery + In a transportation contract, the delivery of the services required to book the services specified in the contract. + 0..1 + Contract + Contractual + Delivery + Delivery + Delivery + + + + + + + + + + + ABIE + Contract Execution Requirement. Details + A class to describe a requirement for execution of a contract. + Contract Execution Requirement + + + + + + + + + BBIE + Contract Execution Requirement. Name + A name for this requirement. + 0..n + Contract Execution Requirement + Name + Name + Name. Type + + + + + + + + + BBIE + Contract Execution Requirement. Execution Requirement Code. Code + A code signifying the type of party independent of its role. + 0..1 + Contract Execution Requirement + Execution Requirement Code + Code + Code. Type + + + + + + + + + BBIE + Contract Execution Requirement. Description. Text + Text describing this requirement. + 0..n + Contract Execution Requirement + Description + Text + Text. Type + + + + + + + + + + + ABIE + Contract Extension. Details + A class to describe possible extensions to a contract. + Contract Extension + + + + + + + + + BBIE + Contract Extension. Options Description. Text + A description for the possible options that can be carried out during the execution of the contract. + 0..n + Contract Extension + Options Description + Text + Text. Type + + + + + + + + + BBIE + Contract Extension. Minimum_ Number. Numeric + The fixed minimum number of contract extensions or renewals. + 0..1 + Contract Extension + Minimum + Number + Numeric + Numeric. Type + + + + + + + + + BBIE + Contract Extension. Maximum_ Number. Numeric + The maximum allowed number of contract extensions. + 0..1 + Contract Extension + Maximum + Number + Numeric + Numeric. Type + + + + + + + + + ASBIE + Contract Extension. Option Validity_ Period. Period + The period during which the option for extending the contract is available. + 0..1 + Contract Extension + Option Validity + Period + Period + Period + + + + + + + + + ASBIE + Contract Extension. Renewal + The period allowed for each contract extension. + 0..n + Contract Extension + Renewal + Renewal + Renewal + + + + + + + + + + + ABIE + Contracting Activity. Details + The nature of the type of business of the organization. + Contracting Activity + + + + + + + + + BBIE + Contracting Activity. Activity Type Code. Code + A code specifying the nature of the type of business of the organization. + 0..1 + Contracting Activity + Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Contracting Activity. Activity Type. Text + The nature of the type of business of the organization, expressed as text. + 0..1 + Contracting Activity + Activity Type + Text + Text. Type + + + + + + + + + + + ABIE + Contracting Party. Details + A class to describe an individual, a group, or a body having a procurement role in a tendering process. + Contracting Party + + + + + + + + + BBIE + Contracting Party. Buyer Profile_ URI. Identifier + The buyer profile is typically located on a web site where the contracting party publishes its procurement opportunities + 0..1 + Contracting Party + Buyer Profile + URI + Identifier + Identifier. Type + Buyer Profile + + + + + + + + + ASBIE + Contracting Party. Contracting Party Type + The type of contracting party that is independent of its role. + 0..n + Contracting Party + Contracting Party Type + Contracting Party Type + Contracting Party Type + + + + + + + + + ASBIE + Contracting Party. Contracting Activity + The nature of the type of business of the organization + 0..n + Contracting Party + Contracting Activity + Contracting Activity + Contracting Activity + + + + + + + + + ASBIE + Contracting Party. Party + The contracting party itself. + 1 + Contracting Party + Party + Party + Party + + + + + + + + + + + ABIE + Contracting Party Type. Details + The type of contracting party that is independent of its role. + Contracting Party Type + + + + + + + + + BBIE + Contracting Party Type. Party Type Code. Code + A code specifying the type of party that is independent of its role. + 0..1 + Contracting Party Type + Party Type Code + Code + Code. Type + + + + + + + + + BBIE + Contracting Party Type. Party Type. Text + The type of party that is independent of its role, expressed as text. + 0..1 + Contracting Party Type + Party Type + Text + Text. Type + + + + + + + + + + + ABIE + Corporate Registration Scheme. Details + A class to describe a scheme for corporate registration. + Corporate Registration Scheme + + + + + + + + + BBIE + Corporate Registration Scheme. Identifier + An identifier for this registration scheme. + 0..1 + Corporate Registration Scheme + Identifier + Identifier + Identifier. Type + ASIC in Australia + + + + + + + + + BBIE + Corporate Registration Scheme. Name + The name of this registration scheme. + 0..1 + Corporate Registration Scheme + Name + Name + Name. Type + Australian Securities and Investment Commission in Australia + + + + + + + + + BBIE + Corporate Registration Scheme. Corporate Registration Type Code. Code + A code signifying the type of this registration scheme. + 0..1 + Corporate Registration Scheme + Corporate Registration Type Code + Code + Code. Type + ACN + + + + + + + + + ASBIE + Corporate Registration Scheme. Jurisdiction Region_ Address. Address + A geographic area in which this registration scheme applies. + 0..n + Corporate Registration Scheme + Jurisdiction Region + Address + Address + Address + England , Wales + + + + + + + + + + + ABIE + Country. Details + A class to describe a country. + Country + + + + + + + + + BBIE + Country. Identification Code. Code + A code signifying this country. + 0..1 + Country + Identification Code + Code + Country Identification + Country Identification_ Code. Type + + + + + + + + + BBIE + Country. Name + The name of this country. + 0..1 + Country + Name + Name + Name. Type + SOUTH AFRICA + + + + + + + + + + + ABIE + Credit Account. Details + A class to identify a credit account for sales on account. + Credit Account + + + + + + + + + BBIE + Credit Account. Account Identifier. Identifier + An identifier for this credit account. + 1 + Credit Account + Account Identifier + Identifier + Identifier. Type + Customer Code 29 + + + + + + + + + + + ABIE + Credit Note Line. Details + A class to define a line in a Credit Note or Self Billed Credit Note. + Credit Note Line + + + + + + + + + BBIE + Credit Note Line. Identifier + An identifier for this credit note line. + 1 + Credit Note Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note Line. UUID. Identifier + A universally unique identifier for this credit note line. + 0..1 + Credit Note Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Credit Note Line + Note + Text + Text. Type + + + + + + + + + BBIE + Credit Note Line. Credited_ Quantity. Quantity + The quantity of items credited in this credit note line. + 0..1 + Credit Note Line + Credited + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Credit Note Line. Line Extension Amount. Amount + The total amount for this credit note line, including allowance charges but exclusive of taxes. + 0..1 + Credit Note Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Credit Note Line. Tax Point Date. Date + The date of this credit note line, used to indicate the point at which tax becomes applicable. + 0..1 + Credit Note Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this credit note line, expressed as a code. + 0..1 + Credit Note Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note Line. Accounting Cost. Text + The buyer's accounting cost centre for this credit note line, expressed as text. + 0..1 + Credit Note Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Credit Note Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Credit Note Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note Line. Free Of Charge_ Indicator. Indicator + An indicator that this credit note line is free of charge (true) or not (false). The default is false. + 0..1 + Credit Note Line + Free Of Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Credit Note Line. Invoice_ Period. Period + An invoice period to which this credit note line applies. + 0..n + Credit Note Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Credit Note Line. Order Line Reference + A reference to an order line associated with this credit note line. + 0..n + Credit Note Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Credit Note Line. Discrepancy_ Response. Response + A reason for the credit. + 0..n + Credit Note Line + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Credit Note Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this credit note line. + 0..n + Credit Note Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Credit Note Line. Receipt_ Line Reference. Line Reference + A reference to a receipt line associated with this credit note line. + 0..n + Credit Note Line + Receipt + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Credit Note Line. Billing Reference + A reference to a billing document associated with this credit note line. + 0..n + Credit Note Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Credit Note Line. Document Reference + A reference to a document associated with this credit note line. + 0..n + Credit Note Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note Line. Pricing Reference + A reference to pricing and item location information associated with this credit note line. + 0..1 + Credit Note Line + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Credit Note Line. Originator_ Party. Party + The party who originated the Order to which the Credit Note is related. + 0..1 + Credit Note Line + Originator + Party + Party + Party + + + + + + + + + ASBIE + Credit Note Line. Delivery + A delivery associated with this credit note line. + 0..n + Credit Note Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Credit Note Line. Payment Terms + A specification of payment terms associated with this credit note line. + 0..n + Credit Note Line + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Credit Note Line. Tax Total + A total amount of taxes of a particular kind applicable to this credit note line. + 0..n + Credit Note Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Credit Note Line. Allowance Charge + An allowance or charge associated with this credit note. + 0..n + Credit Note Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Credit Note Line. Item + The item associated with this credit note line. + 0..1 + Credit Note Line + Item + Item + Item + + + + + + + + + ASBIE + Credit Note Line. Price + The price of the item associated with this credit note line. + 0..1 + Credit Note Line + Price + Price + Price + Unit Price, Base Price + + + + + + + + + ASBIE + Credit Note Line. Delivery Terms + Terms and conditions of a delivery associated with this credit note line. + 0..n + Credit Note Line + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Credit Note Line. Sub_ Credit Note Line. Credit Note Line + A class defining one or more Credit Note Lines detailing the credit note line. + 0..n + Credit Note Line + Sub + Credit Note Line + Credit Note Line + Credit Note Line + + + + + + + + + ASBIE + Credit Note Line. Item_ Price Extension. Price Extension + The price extension, calculated by multiplying the price per unit by the quantity of items on this credit note line. + 0..1 + Credit Note Line + Item + Price Extension + Price Extension + Price Extension + + + + + + + + + + + ABIE + Customer Party. Details + A class to describe a customer party. + Customer Party + + + + + + + + + BBIE + Customer Party. Customer Assigned_ Account Identifier. Identifier + An identifier for the customer's account, assigned by the customer itself. + 0..1 + Customer Party + Customer Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Customer Party. Supplier Assigned_ Account Identifier. Identifier + An identifier for the customer's account, assigned by the supplier. + 0..1 + Customer Party + Supplier Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Customer Party. Additional_ Account Identifier. Identifier + An identifier for the customer's account, assigned by a third party. + 0..n + Customer Party + Additional + Account Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Customer Party. Party + The customer party itself. + 0..1 + Customer Party + Party + Party + Party + + + + + + + + + ASBIE + Customer Party. Delivery_ Contact. Contact + A customer contact for deliveries. + 0..1 + Customer Party + Delivery + Contact + Contact + Contact + + + + + + + + + ASBIE + Customer Party. Accounting_ Contact. Contact + A customer contact for accounting. + 0..1 + Customer Party + Accounting + Contact + Contact + Contact + + + + + + + + + ASBIE + Customer Party. Buyer_ Contact. Contact + A customer contact for purchasing. + 0..1 + Customer Party + Buyer + Contact + Contact + Contact + + + + + + + + + + + ABIE + Customs Declaration. Details + A class describing identifiers or references relating to customs procedures. + Customs Declaration + Movement Reference Number, Local Reference Number + + + + + + + + + BBIE + Customs Declaration. Identifier + An identifier associated with customs related procedures. + 1 + Customs Declaration + Identifier + Identifier + Identifier. Type + CUST001 3333-44-123 + + + + + + + + + ASBIE + Customs Declaration. Issuer_ Party. Party + Describes the party issuing the customs declaration. + 0..1 + Customs Declaration + Issuer + Party + Party + Party + + + + + + + + + + + ABIE + Debit Note Line. Details + A class to define a line in a Debit Note. + Debit Note Line + + + + + + + + + BBIE + Debit Note Line. Identifier + An identifier for this debit note line. + 1 + Debit Note Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note Line. UUID. Identifier + A universally unique identifier for this debit note line. + 0..1 + Debit Note Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Debit Note Line + Note + Text + Text. Type + + + + + + + + + BBIE + Debit Note Line. Debited_ Quantity. Quantity + The quantity of Items debited in this debit note line. + 0..1 + Debit Note Line + Debited + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Debit Note Line. Line Extension Amount. Amount + The total amount for this debit note line, including allowance charges but net of taxes. + 1 + Debit Note Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Debit Note Line. Tax Point Date. Date + The date of this debit note line, used to indicate the point at which tax becomes applicable. + 0..1 + Debit Note Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this debit note line, expressed as a code. + 0..1 + Debit Note Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Debit Note Line. Accounting Cost. Text + The buyer's accounting cost centre for this debit note line, expressed as text. + 0..1 + Debit Note Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Debit Note Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Debit Note Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Debit Note Line. Discrepancy_ Response. Response + A reason for the debit. + 0..n + Debit Note Line + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Debit Note Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this debit note line. + 0..n + Debit Note Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Debit Note Line. Receipt_ Line Reference. Line Reference + A reference to a receipt line associated with this debit note line. + 0..n + Debit Note Line + Receipt + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Debit Note Line. Billing Reference + A reference to a billing document associated with this debit note line. + 0..n + Debit Note Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Debit Note Line. Document Reference + A reference to a document associated with this debit note line. + 0..n + Debit Note Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note Line. Pricing Reference + A reference to pricing and item location information associated with this debit note line. + 0..1 + Debit Note Line + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Debit Note Line. Delivery + A delivery associated with this debit note line. + 0..n + Debit Note Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Debit Note Line. Tax Total + A total amount of taxes of a particular kind applicable to this debit note line. + 0..n + Debit Note Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Debit Note Line. Allowance Charge + An allowance or charge associated with this debit note. + 0..n + Debit Note Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Debit Note Line. Item + The item associated with this debit note line. + 0..1 + Debit Note Line + Item + Item + Item + + + + + + + + + ASBIE + Debit Note Line. Price + The price of the item associated with this debit note line. + 0..1 + Debit Note Line + Price + Price + Price + Unit Price, Base Price + + + + + + + + + ASBIE + Debit Note Line. Sub_ Debit Note Line. Debit Note Line + A recursive description of a debit note line subsidiary to this debit note line. + 0..n + Debit Note Line + Sub + Debit Note Line + Debit Note Line + Debit Note Line + + + + + + + + + + + ABIE + Declaration. Details + A class to describe a declaration by an economic operator of certain characteristics or capabilities in fulfilment of requirements specified in a call for tenders. + Declaration + + + + + + + + + BBIE + Declaration. Name + The name of this declaration. + 0..n + Declaration + Name + Name + Name. Type + + + + + + + + + BBIE + Declaration. Declaration Type Code. Code + A code signifying the type of this declaration. + 0..1 + Declaration + Declaration Type Code + Code + Code. Type + + + + + + + + + BBIE + Declaration. Description. Text + Text describing this declaration. + 0..n + Declaration + Description + Text + Text. Type + + + + + + + + + ASBIE + Declaration. Evidence Supplied + The evidence supporting this declaration. + 0..n + Declaration + Evidence Supplied + Evidence Supplied + Evidence Supplied + + + + + + + + + + + ABIE + Delivery. Details + A class to describe a delivery. + Delivery + + + + + + + + + BBIE + Delivery. Identifier + An identifier for this delivery. + 0..1 + Delivery + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Delivery. Quantity + The quantity of items, child consignments, shipments in this delivery. + 0..1 + Delivery + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Minimum_ Quantity. Quantity + The minimum quantity of items, child consignments, shipments in this delivery. + 0..1 + Delivery + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Maximum_ Quantity. Quantity + The maximum quantity of items, child consignments, shipments in this delivery. + 0..1 + Delivery + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Actual_ Delivery Date. Date + The actual date of delivery. + 0..1 + Delivery + Actual + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Delivery. Actual_ Delivery Time. Time + The actual time of delivery. + 0..1 + Delivery + Actual + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Delivery. Latest_ Delivery Date. Date + The latest date of delivery allowed by the buyer. + 0..1 + Delivery + Latest + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Delivery. Latest_ Delivery Time. Time + The latest time of delivery allowed by the buyer. + 0..1 + Delivery + Latest + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Delivery. Release. Identifier + An identifier used for approval of access to delivery locations (e.g., port terminals). + 0..1 + Delivery + Release + Identifier + Identifier. Type + + + + + + + + + BBIE + Delivery. Tracking Identifier. Identifier + The delivery Tracking ID (for transport tracking). + 0..1 + Delivery + Tracking Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Delivery. Delivery_ Address. Address + The delivery address. + 0..1 + Delivery + Delivery + Address + Address + Address + + + + + + + + + ASBIE + Delivery. Delivery_ Location. Location + The delivery location. + 0..1 + Delivery + Delivery + Location + Location + Location + + + + + + + + + ASBIE + Delivery. Alternative Delivery_ Location. Location + An alternative delivery location. + 0..1 + Delivery + Alternative Delivery + Location + Location + Location + + + + + + + + + ASBIE + Delivery. Requested Delivery_ Period. Period + The period requested for delivery. + 0..1 + Delivery + Requested Delivery + Period + Period + Period + + + + + + + + + ASBIE + Delivery. Promised Delivery_ Period. Period + The period promised for delivery. + 0..1 + Delivery + Promised Delivery + Period + Period + Period + + + + + + + + + ASBIE + Delivery. Estimated Delivery_ Period. Period + The period estimated for delivery. + 0..1 + Delivery + Estimated Delivery + Period + Period + Period + + + + + + + + + ASBIE + Delivery. Carrier_ Party. Party + The party responsible for delivering the goods. + 0..1 + Delivery + Carrier + Party + Party + Party + + + + + + + + + ASBIE + Delivery. Delivery_ Party. Party + The party to whom the goods are delivered. + 0..1 + Delivery + Delivery + Party + Party + Party + + + + + + + + + ASBIE + Delivery. Notify_ Party. Party + A party to be notified of this delivery. + 0..n + Delivery + Notify + Party + Party + Party + + + + + + + + + ASBIE + Delivery. Despatch + The despatch (pickup) associated with this delivery. + 0..1 + Delivery + Despatch + Despatch + Despatch + + + + + + + + + ASBIE + Delivery. Delivery Terms + Terms and conditions relating to the delivery. + 0..n + Delivery + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Delivery. Minimum_ Delivery Unit. Delivery Unit + The minimum delivery unit for this delivery. + 0..1 + Delivery + Minimum + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Delivery. Maximum_ Delivery Unit. Delivery Unit + The maximum delivery unit for this delivery. + 0..1 + Delivery + Maximum + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Delivery. Shipment + The shipment being delivered. + 0..1 + Delivery + Shipment + Shipment + Shipment + + + + + + + + + + + ABIE + Delivery Terms. Details + A class for describing the terms and conditions applying to the delivery of goods. + Delivery Terms + + + + + + + + + BBIE + Delivery Terms. Identifier + An identifier for this description of delivery terms. + 0..1 + Delivery Terms + Identifier + Identifier + Identifier. Type + CIF, FOB, or EXW from the INCOTERMS Terms of Delivery. (2000 version preferred.) + + + + + + + + + BBIE + Delivery Terms. Special_ Terms. Text + A description of any terms or conditions relating to the delivery items. + 0..n + Delivery Terms + Special + Terms + Text + Text. Type + + + + + + + + + BBIE + Delivery Terms. Loss Risk Responsibility Code. Code + A code that identifies one of various responsibilities for loss risk in the execution of the delivery. + 0..1 + Delivery Terms + Loss Risk Responsibility Code + Code + Code. Type + + + + + + + + + BBIE + Delivery Terms. Loss Risk. Text + A description of responsibility for risk of loss in execution of the delivery, expressed as text. + 0..n + Delivery Terms + Loss Risk + Text + Text. Type + + + + + + + + + BBIE + Delivery Terms. Amount + The monetary amount covered by these delivery terms. + 0..1 + Delivery Terms + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Delivery Terms. Delivery_ Location. Location + The location for the contracted delivery. + 0..1 + Delivery Terms + Delivery + Location + Location + Location + + + + + + + + + ASBIE + Delivery Terms. Allowance Charge + An allowance or charge covered by these delivery terms. + 0..1 + Delivery Terms + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Delivery Unit. Details + A class to describe a delivery unit. + Delivery Unit + + + + + + + + + BBIE + Delivery Unit. Batch Quantity. Quantity + The quantity of ordered Items that constitutes a batch for delivery purposes. + 1 + Delivery Unit + Batch Quantity + Quantity + Quantity. Type + 100 units , by the dozen + + + + + + + + + BBIE + Delivery Unit. Consumer_ Unit. Quantity + The quantity of units in the Delivery Unit expressed in the units used by the consumer. + 0..1 + Delivery Unit + Consumer + Unit + Quantity + Quantity. Type + packs of 10 + + + + + + + + + BBIE + Delivery Unit. Hazardous Risk_ Indicator. Indicator + An indication that the transported goods are subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Delivery Unit + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + + + ABIE + Dependent Price Reference. Details + A class to define the price of an item as a percentage of the price of a different item. + Dependent Price Reference + + + + + + + + + BBIE + Dependent Price Reference. Percent + The percentage by which the price of the different item is multiplied to calculate the price of the item. + 0..1 + Dependent Price Reference + Percent + Percent + Percent. Type + + + + + + + + + ASBIE + Dependent Price Reference. Location_ Address. Address + The reference location for this dependent price reference. + 0..1 + Dependent Price Reference + Location + Address + Address + Address + + + + + + + + + ASBIE + Dependent Price Reference. Dependent_ Line Reference. Line Reference + A reference to a line that the price is depended of. + 0..1 + Dependent Price Reference + Dependent + Line Reference + Line Reference + Line Reference + + + + + + + + + + + ABIE + Despatch. Details + A class to describe the despatching of goods (their pickup for delivery). + Despatch + + + + + + + + + BBIE + Despatch. Identifier + An identifier for this despatch event. + 0..1 + Despatch + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch. Requested_ Despatch Date. Date + The despatch (pickup) date requested, normally by the buyer. + 0..1 + Despatch + Requested + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Requested_ Despatch Time. Time + The despatch (pickup) time requested, normally by the buyer. + 0..1 + Despatch + Requested + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Estimated_ Despatch Date. Date + The estimated despatch (pickup) date. + 0..1 + Despatch + Estimated + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Estimated_ Despatch Time. Time + The estimated despatch (pickup) time. + 0..1 + Despatch + Estimated + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Actual_ Despatch Date. Date + The actual despatch (pickup) date. + 0..1 + Despatch + Actual + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Actual_ Despatch Time. Time + The actual despatch (pickup) time. + 0..1 + Despatch + Actual + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Guaranteed_ Despatch Date. Date + The date guaranteed for the despatch (pickup). + 0..1 + Despatch + Guaranteed + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Guaranteed_ Despatch Time. Time + The time guaranteed for the despatch (pickup). + 0..1 + Despatch + Guaranteed + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Release. Identifier + An identifier for the release of the despatch used as security control or cargo control (pick-up). + 0..1 + Despatch + Release + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch. Instructions. Text + Text describing any special instructions applying to the despatch (pickup). + 0..n + Despatch + Instructions + Text + Text. Type + + + + + + + + + ASBIE + Despatch. Despatch_ Address. Address + The address of the despatch (pickup). + 0..1 + Despatch + Despatch + Address + Address + Address + + + + + + + + + ASBIE + Despatch. Despatch_ Location. Location + The location of the despatch (pickup). + 0..1 + Despatch + Despatch + Location + Location + Location + + + + + + + + + ASBIE + Despatch. Despatch_ Party. Party + The party despatching the goods. + 0..1 + Despatch + Despatch + Party + Party + Party + + + + + + + + + ASBIE + Despatch. Carrier_ Party. Party + The party carrying the goods. + 0..1 + Despatch + Carrier + Party + Party + Party + + + + + + + + + ASBIE + Despatch. Notify_ Party. Party + A party to be notified of this despatch (pickup). + 0..n + Despatch + Notify + Party + Party + Party + + + + + + + + + ASBIE + Despatch. Contact + The primary contact for this despatch (pickup). + 0..1 + Despatch + Contact + Contact + Contact + + + + + + + + + ASBIE + Despatch. Estimated Despatch_ Period. Period + The period estimated for the despatch (pickup) of goods. + 0..1 + Despatch + Estimated Despatch + Period + Period + Period + + + + + + + + + ASBIE + Despatch. Requested Despatch_ Period. Period + The period requested for the despatch (pickup) of goods. + 0..1 + Despatch + Requested Despatch + Period + Period + Period + + + + + + + + + + + ABIE + Despatch Line. Details + A class to define a line in a Despatch Advice. + Despatch Line + + + + + + + + + BBIE + Despatch Line. Identifier + An identifier for this despatch line. + 1 + Despatch Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Line. UUID. Identifier + A universally unique identifier for this despatch line. + 0..1 + Despatch Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Despatch Line + Note + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Line Status Code. Code + A code signifying the status of this despatch line with respect to its original state. + 0..1 + Despatch Line + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + BBIE + Despatch Line. Delivered_ Quantity. Quantity + The quantity despatched (picked up). + 0..1 + Despatch Line + Delivered + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Backorder_ Quantity. Quantity + The quantity on back order at the supplier. + 0..1 + Despatch Line + Backorder + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Backorder_ Reason. Text + The reason for the back order. + 0..n + Despatch Line + Backorder + Reason + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Outstanding_ Quantity. Quantity + The quantity outstanding (which will follow in a later despatch). + 0..1 + Despatch Line + Outstanding + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Outstanding_ Reason. Text + The reason for the outstanding quantity. + 0..n + Despatch Line + Outstanding + Reason + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Oversupply_ Quantity. Quantity + The quantity over-supplied, i.e., the quantity over and above that ordered. + 0..1 + Despatch Line + Oversupply + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Despatch Line. Order Line Reference + A reference to an order line associated with this despatch line. + 1..n + Despatch Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Despatch Line. Document Reference + A reference to a document associated with this despatch line. + 0..n + Despatch Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Despatch Line. Item + The item associated with this despatch line. + 1 + Despatch Line + Item + Item + Item + + + + + + + + + ASBIE + Despatch Line. Shipment + A shipment associated with this despatch line. + 0..n + Despatch Line + Shipment + Shipment + Shipment + + + + + + + + + + + ABIE + Dimension. Details + A class to define a measurable dimension (length, mass, weight, volume, or area) of an item. + Dimension + + + + + + + + + BBIE + Dimension. Attribute Identifier. Identifier + An identifier for the attribute to which the measure applies. + 1 + Dimension + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Dimension. Measure + The measurement value. + 0..1 + Dimension + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Dimension. Description. Text + Text describing the measurement attribute. + 0..n + Dimension + Description + Text + Text. Type + + + + + + + + + BBIE + Dimension. Minimum_ Measure. Measure + The minimum value in a range of measurement of this dimension. + 0..1 + Dimension + Minimum + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Dimension. Maximum_ Measure. Measure + The maximum value in a range of measurement of this dimension. + 0..1 + Dimension + Maximum + Measure + Measure + Measure. Type + + + + + + + + + + + ABIE + Document Distribution. Details + A class to describe the distribution of a document to an interested party. + Document Distribution + + + + + + + + + BBIE + Document Distribution. Print_ Qualifier. Text + Text describing the interested party's distribution rights. + 1 + Document Distribution + Print + Qualifier + Text + Text. Type + + + + + + + + + BBIE + Document Distribution. Maximum_ Copies. Numeric + The maximum number of printed copies of the document that the interested party is allowed to make. + 1 + Document Distribution + Maximum + Copies + Numeric + Numeric. Type + + + + + + + + + ASBIE + Document Distribution. Party + The interested party to which the document should be distributed. + 1 + Document Distribution + Party + Party + Party + + + + + + + + + + + ABIE + Document Reference. Details + A class to define a reference to a document. + Document Reference + + + + + + + + + BBIE + Document Reference. Identifier + An identifier for the referenced document. + 1 + Document Reference + Identifier + Identifier + Identifier. Type + PO-001 3333-44-123 + + + + + + + + + BBIE + Document Reference. Copy_ Indicator. Indicator + An indicator that the referenced document is a copy (true) or the original (false). + 0..1 + Document Reference + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Document Reference. UUID. Identifier + A universally unique identifier for this document reference. + 0..1 + Document Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Reference. Issue Date. Date + The date, assigned by the sender of the referenced document, on which the document was issued. + 0..1 + Document Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Document Reference. Issue Time. Time + The time, assigned by the sender of the referenced document, at which the document was issued. + 0..1 + Document Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Document Reference. Document Type Code. Code + The type of document being referenced, expressed as a code. + 0..1 + Document Reference + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Document Reference. Document Type. Text + The type of document being referenced, expressed as text. + 0..1 + Document Reference + Document Type + Text + Text. Type + + + + + + + + + BBIE + Document Reference. XPath. Text + A reference to another place in the same XML document instance in which DocumentReference appears. + 0..n + Document Reference + XPath + Text + Text. Type + + + + + + + + + BBIE + Document Reference. Language. Identifier + An identifier for the language used in the referenced document. + 0..1 + Document Reference + Language + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Reference. Locale Code. Code + A code signifying the locale in which the language in the referenced document is used. + 0..1 + Document Reference + Locale Code + Code + Code. Type + + + + + + + + + BBIE + Document Reference. Version. Identifier + An identifier for the current version of the referenced document. + 0..1 + Document Reference + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Document Reference. Document Status Code. Code + A code signifying the status of the reference document with respect to its original state. + 0..1 + Document Reference + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Document Reference. Document_ Description. Text + Text describing the referenced document. + 0..n + Document Reference + Document + Description + Text + Text. Type + stock no longer provided + + + + + + + + + ASBIE + Document Reference. Attachment + The referenced document as an attachment to the document from which it is referenced. + 0..1 + Document Reference + Attachment + Attachment + Attachment + + + + + + + + + ASBIE + Document Reference. Validity_ Period. Period + The period for which this document reference is valid. + 0..1 + Document Reference + Validity + Period + Period + Period + + + + + + + + + ASBIE + Document Reference. Issuer_ Party. Party + The party who issued the referenced document. + 0..1 + Document Reference + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Document Reference. Result Of Verification + The result of an attempt to verify a signature associated with the referenced document. + 0..1 + Document Reference + Result Of Verification + Result Of Verification + Result Of Verification + + + + + + + + + + + ABIE + Document Response. Details + A class to describe an application-level response to a document. + Document Response + + + + + + + + + ASBIE + Document Response. Response + A response to the document as a whole. + 1 + Document Response + Response + Response + Response + + + + + + + + + ASBIE + Document Response. Document Reference + A referenced document. + 1..n + Document Response + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Document Response. Issuer_ Party. Party + The party that issued the document. + 0..1 + Document Response + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Document Response. Recipient_ Party. Party + The party for which the document is intended. + 0..1 + Document Response + Recipient + Party + Party + Party + + + + + + + + + ASBIE + Document Response. Line Response + A response to a particular line in the document. + 0..n + Document Response + Line Response + Line Response + Line Response + + + + + + + + + + + ABIE + Duty. Details + The charging rate used for both call charging and time dependent charging + Duty + + + + + + + + + BBIE + Duty. Amount + The amount of this duty. + 1 + Duty + Amount + Amount + Amount. Type + 88.23 + + + + + + + + + BBIE + Duty. Duty. Text + Text describing this duty. + 0..1 + Duty + Duty + Text + Text. Type + ConnectionFee + + + + + + + + + BBIE + Duty. Duty Code. Code + The type of this charge rate, expressed as a code. + 0..1 + Duty + Duty Code + Code + Code. Type + ConnectionFee + + + + + + + + + ASBIE + Duty. Tax Category + The tax category applicable to this duty. + 0..1 + Duty + Tax Category + Tax Category + Tax Category + + + + + + + + + + + ABIE + Economic Operator Role. Details + A class to describe the tenderer contracting role. + Economic Operator Role + + + + + + + + + BBIE + Economic Operator Role. Role Code. Code + A code specifying the role of the party. + 0..1 + Economic Operator Role + Role Code + Code + Code. Type + + + + + + + + + BBIE + Economic Operator Role. Role Description. Text + A textual description of the party role. + 0..n + Economic Operator Role + Role Description + Text + Text. Type + + + + + + + + + + + ABIE + Economic Operator Short List. Details + A class to provide information about the preselection of a short list of economic operators for consideration as possible candidates in a tendering process. + Economic Operator Short List + + + + + + + + + BBIE + Economic Operator Short List. Limitation_ Description. Text + Text describing the criteria used to restrict the number of candidates. + 0..n + Economic Operator Short List + Limitation + Description + Text + Text. Type + + + + + + + + + BBIE + Economic Operator Short List. Expected_ Quantity. Quantity + The number of economic operators expected to be on the short list. + 0..1 + Economic Operator Short List + Expected + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Economic Operator Short List. Maximum_ Quantity. Quantity + The maximum number of economic operators on the short list. + 0..1 + Economic Operator Short List + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Economic Operator Short List. Minimum_ Quantity. Quantity + The minimum number of economic operators on the short list. + 0..1 + Economic Operator Short List + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Economic Operator Short List. Pre Selected_ Party. Party + The parties pre-selected allowed to submit tenders in a negotiated procedure. Negotiated procedure is a type of procedure where the contracting authorities can set the parties to be invited in the procurement project + 0..n + Economic Operator Short List + Pre Selected + Party + Party + Party + + + + + + + + + + + ABIE + Emission Calculation Method. Details + A class to define how an environmental emission is calculated. + Emission Calculation Method + + + + + + + + + BBIE + Emission Calculation Method. Calculation Method Code. Code + A code signifying the method used to calculate the emission. + 0..1 + Emission Calculation Method + Calculation Method Code + Code + Code. Type + + + + + + + + + BBIE + Emission Calculation Method. Fullness Indication Code. Code + A code signifying whether a piece of transport equipment is full, partially full, or empty. This indication is used as a parameter when calculating the environmental emission. + 0..1 + Emission Calculation Method + Fullness Indication Code + Code + Code. Type + + + + + + + + + ASBIE + Emission Calculation Method. Measurement From_ Location. Location + A start location from which an environmental emission is calculated. + 0..1 + Emission Calculation Method + Measurement From + Location + Location + Location + + + + + + + + + ASBIE + Emission Calculation Method. Measurement To_ Location. Location + An end location to which an environmental emission is calculated. + 0..1 + Emission Calculation Method + Measurement To + Location + Location + Location + + + + + + + + + + + ABIE + Endorsement. Details + A class to describe an endorsement of a document. + Endorsement + + + + + + + + + BBIE + Endorsement. Document. Identifier + An identifier for this endorsement. + 1 + Endorsement + Document + Identifier + Identifier. Type + + + + + + + + + BBIE + Endorsement. Approval Status. Text + The status of this endorsement. + 1 + Endorsement + Approval Status + Text + Text. Type + Authentication Code + + + + + + + + + BBIE + Endorsement. Remarks. Text + Remarks provided by the endorsing party. + 0..n + Endorsement + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Endorsement. Endorser Party + The type of party providing this endorsement. + 1 + Endorsement + Endorser Party + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Endorsement. Signature + A signature applied to this endorsement. + 0..n + Endorsement + Signature + Signature + Signature + + + + + + + + + + + ABIE + Endorser Party. Details + A class to describe the party endorsing a document. + Endorser Party + + + + + + + + + BBIE + Endorser Party. Role Code. Code + A code specifying the role of the party providing the endorsement (e.g., issuer, embassy, insurance, etc.). + 1 + Endorser Party + Role Code + Code + Code. Type + + + + + + + + + BBIE + Endorser Party. Sequence. Numeric + A number indicating the order of the endorsement provided by this party in the sequence in which endorsements are to be applied. + 1 + Endorser Party + Sequence + Numeric + Numeric. Type + + + + + + + + + ASBIE + Endorser Party. Party + The party endorsing the application. + 1 + Endorser Party + Party + Party + Party + + + + + + + + + ASBIE + Endorser Party. Signatory_ Contact. Contact + The individual representing the exporter who signs the Certificate of Origin application before submitting it to the issuer party. + 1 + Endorser Party + Signatory + Contact + Contact + Contact + + + + + + + + + + + ABIE + Energy Tax Report. Details + A class to describe energy taxes. + Energy Tax Report + + + + + + + + + BBIE + Energy Tax Report. Tax Energy Amount. Amount + The monetary amount of taxes (and duties). + 0..1 + Energy Tax Report + Tax Energy Amount + Amount + Amount. Type + 3087.90 + + + + + + + + + BBIE + Energy Tax Report. Tax Energy_ On Account Amount. Amount + The monetary amount of taxes (and duties) paid on account. + 0..1 + Energy Tax Report + Tax Energy + On Account Amount + Amount + Amount. Type + 2855.40 + + + + + + + + + BBIE + Energy Tax Report. Tax Energy Balance. Amount + The monetary amount of the balance of taxes owing. + 0..1 + Energy Tax Report + Tax Energy Balance + Amount + Amount. Type + 232.49 + + + + + + + + + ASBIE + Energy Tax Report. Tax Scheme + The relevant taxation scheme. + 1 + Energy Tax Report + Tax Scheme + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Energy Water Supply. Details + A class to describe the supply (and therefore consumption) of an amount of energy or water. + Energy Water Supply + + + + + + + + + ASBIE + Energy Water Supply. Consumption Report + An amount of energy or water consumed. + 0..n + Energy Water Supply + Consumption Report + Consumption Report + Consumption Report + + + + + + + + + ASBIE + Energy Water Supply. Energy Tax Report + A tax on the consumption of energy or water. + 0..n + Energy Water Supply + Energy Tax Report + Energy Tax Report + Energy Tax Report + + + + + + + + + ASBIE + Energy Water Supply. Consumption Average + A consumption average. + 0..n + Energy Water Supply + Consumption Average + Consumption Average + Consumption Average + + + + + + + + + ASBIE + Energy Water Supply. Energy Water_ Consumption Correction. Consumption Correction + Describes any corrections or adjustments to the supply of energy or water. + 0..n + Energy Water Supply + Energy Water + Consumption Correction + Consumption Correction + Consumption Correction + + + + + + + + + + + ABIE + Environmental Emission. Details + A class to describe an environmental emission. + Environmental Emission + + + + + + + + + BBIE + Environmental Emission. Environmental Emission Type Code. Code + A code specifying the type of environmental emission. + 1 + Environmental Emission + Environmental Emission Type Code + Code + Code. Type + + + + + + + + + BBIE + Environmental Emission. Value. Measure + A value measurement for the environmental emission. + 1 + Environmental Emission + Value + Measure + Measure. Type + + + + + + + + + BBIE + Environmental Emission. Description. Text + Text describing this environmental emission. + 0..n + Environmental Emission + Description + Text + Text. Type + + + + + + + + + ASBIE + Environmental Emission. Emission Calculation Method + A method used to calculate the amount of this emission. + 0..n + Environmental Emission + Emission Calculation Method + Emission Calculation Method + Emission Calculation Method + + + + + + + + + + + ABIE + Evaluation Criterion. Details + A class defining the required criterion for a tenderer to be elligible in a tendering process. + Evaluation Criterion + + + + + + + + + BBIE + Evaluation Criterion. Evaluation Criterion Type Code. Code + A code that specifies the criterion; it may be financial, technical or organizational. + 0..1 + Evaluation Criterion + Evaluation Criterion Type Code + Code + Code. Type + + + + + + + + + BBIE + Evaluation Criterion. Description. Text + A description of the criterion. + 0..n + Evaluation Criterion + Description + Text + Text. Type + + + + + + + + + BBIE + Evaluation Criterion. Threshold_ Amount. Amount + Estimated monetary amount of the threshold for the criterion. + 0..1 + Evaluation Criterion + Threshold + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Evaluation Criterion. Threshold_ Quantity. Quantity + Estimated quantity of the threshold for the criterion. + 0..1 + Evaluation Criterion + Threshold + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Evaluation Criterion. Expression Code. Code + A code identifying the expression that will be used to evaluate the criterion. + 0..1 + Evaluation Criterion + Expression Code + Code + Code. Type + + + + + + + + + BBIE + Evaluation Criterion. Expression. Text + The expression that will be used to evaluate the criterion. + 0..n + Evaluation Criterion + Expression + Text + Text. Type + + + + + + + + + ASBIE + Evaluation Criterion. Duration_ Period. Period + Describes the period for which the evaluation criterion is valid. + 0..1 + Evaluation Criterion + Duration + Period + Period + Period + + + + + + + + + ASBIE + Evaluation Criterion. Suggested_ Evidence. Evidence + Describes any evidences that should be used to satisfy the criterion. + 0..n + Evaluation Criterion + Suggested + Evidence + Evidence + Evidence + + + + + + + + + + + ABIE + Event. Details + A class to describe a significant occurrence relating to an object, process, or person. + Event + + + + + + + + + BBIE + Event. Identification. Identifier + An identifier for this event within an agreed event identification scheme. + 0..1 + Event + Identification + Identifier + Identifier. Type + + + + + + + + + BBIE + Event. Occurrence Date. Date + The date of this event. + 0..1 + Event + Occurrence Date + Date + Date. Type + + + + + + + + + BBIE + Event. Occurrence Time. Time + The time of this event. + 0..1 + Event + Occurrence Time + Time + Time. Type + + + + + + + + + BBIE + Event. Type Code. Code + A code signifying the type of this event. + 0..1 + Event + Type Code + Code + Code. Type + + + + + + + + + BBIE + Event. Description. Text + Text describing this event. + 0..n + Event + Description + Text + Text. Type + + + + + + + + + BBIE + Event. Completion_ Indicator. Indicator + An indicator that this event has been completed (true) or not (false). + 0..1 + Event + Completion + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Event. Current_ Status. Status + The current status of this event. + 0..n + Event + Current + Status + Status + Status + + + + + + + + + ASBIE + Event. Contact + Contacts associated with this event. + 0..n + Event + Contact + Contact + Contact + + + + + + + + + ASBIE + Event. Occurence_ Location. Location + The location of this event. + 0..1 + Event + Occurence + Location + Location + Location + + + + + + + + + + + ABIE + Event Comment. Details + A class to define comments about a retail event. + Event Comment + + + + + + + + + BBIE + Event Comment. Comment. Text + Text commenting on the event. + 1 + Event Comment + Comment + Text + Text. Type + + + + + + + + + BBIE + Event Comment. Issue Date. Date + The date on which this comment was made. + 0..1 + Event Comment + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Event Comment. Issue Time. Time + The time at which this comment was made. + 0..1 + Event Comment + Issue Time + Time + Time. Type + + + + + + + + + + + ABIE + Event Line Item. Details + A class to define a line item describing the expected impacts associated with a retail event involving a specific product at a specific location. + Event Line Item + + + + + + + + + BBIE + Event Line Item. Line Number. Numeric + The number of this event line item. + 0..1 + Event Line Item + Line Number + Numeric + Numeric. Type + + + + + + + + + ASBIE + Event Line Item. Participating Locations_ Location. Location + The location of the stores involved in the event described in this line item. + 0..1 + Event Line Item + Participating Locations + Location + Location + Location + + + + + + + + + ASBIE + Event Line Item. Retail Planned Impact + A planned impact of the event described in this line item. + 0..n + Event Line Item + Retail Planned Impact + Retail Planned Impact + Retail Planned Impact + + + + + + + + + ASBIE + Event Line Item. Supply_ Item. Item + The product with which the event is associated. + 1 + Event Line Item + Supply + Item + Item + Item + + + + + + + + + + + ABIE + Event Tactic. Details + A class defining a specific type of action or situation arranged by the Buyer or the Seller to promote the product or products. + Event Tactic + + + + + + + + + BBIE + Event Tactic. Comment. Text + Generic field to add additional information or to specify mutually defined eventTacticTypes that are not currently listed. + 0..1 + Event Tactic + Comment + Text + Text. Type + + + + + + + + + BBIE + Event Tactic. Quantity + The currencies, units, etc. that describes what is need for the event or promotion Usage example: Number of pallets per store for a stack display + 0..1 + Event Tactic + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Event Tactic. Event Tactic Enumeration + The set of codes that describes this event tactic. + 1 + Event Tactic + Event Tactic Enumeration + Event Tactic Enumeration + Event Tactic Enumeration + + + + + + + + + ASBIE + Event Tactic. Period + The period covered by this event tactic. + 0..1 + Event Tactic + Period + Period + Period + + + + + + + + + + + ABIE + Event Tactic Enumeration. Details + A class to define a set of codes that describes a retail tactic. + Event Tactic Enumeration + + + + + + + + + BBIE + Event Tactic Enumeration. Consumer Incentive Tactic Type Code. Code + A code signifying the type of consumer incentive. Examples include:Free Item, Temporary Price reduction + 0..1 + Event Tactic Enumeration + Consumer Incentive Tactic Type Code + Code + Code. Type + + + + + + + + + BBIE + Event Tactic Enumeration. Display Tactic Type Code. Code + A code signifying the type of display. Examples Include: ON_COUNTER_DISPLAY, FLOOR_GRAPHICS FLOOR_STACK_DISPLAY + 0..1 + Event Tactic Enumeration + Display Tactic Type Code + Code + Code. Type + + + + + + + + + BBIE + Event Tactic Enumeration. Feature Tactic Type Code. Code + A code signifying a special feature. Examples Include: BILLBOARD DIRECT_MAIL_AD, FLYER + 0..1 + Event Tactic Enumeration + Feature Tactic Type Code + Code + Code. Type + + + + + + + + + BBIE + Event Tactic Enumeration. Trade Item Packing Labeling Type Code. Code + A code signifying the type of trade item packing and labeling. Examples Include: BONUS_SIZE CO_BRANDED_TRADE_ITEM + 0..1 + Event Tactic Enumeration + Trade Item Packing Labeling Type Code + Code + Code. Type + + + + + + + + + + + ABIE + Evidence. Details + A class to describe an item of evidentiary support for representations of capabilities or the ability to meet tendering requirements, which an economic operator must provide for acceptance into a tendering process. + Evidence + + + + + + + + + BBIE + Evidence. Identifier + An identifier for this item of evidentiary support. + 0..1 + Evidence + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Evidence. Evidence Type Code. Code + A code signifying the type of evidence. + 0..1 + Evidence + Evidence Type Code + Code + Code. Type + + + + + + + + + BBIE + Evidence. Description. Text + The textual description for this Evidence. + 0..n + Evidence + Description + Text + Text. Type + + + + + + + + + BBIE + Evidence. Candidate_ Statement. Text + Information about a candidate statement that the contracting authority accepts as a sufficient response. + 0..n + Evidence + Candidate + Statement + Text + Text. Type + + + + + + + + + ASBIE + Evidence. Evidence Issuing_ Party. Party + A class to describe a party issuing an evidentiary document. + 0..1 + Evidence + Evidence Issuing + Party + Party + Party + + + + + + + + + ASBIE + Evidence. Document Reference + A reference to the evidentiary document. + 0..1 + Evidence + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Evidence. Language + Information about a required translation to be part of the response, i.e. the language. + 0..1 + Evidence + Language + Language + Language + + + + + + + + + + + ABIE + Evidence Supplied. Details + A reference to evidence. + Evidence Supplied + + + + + + + + + BBIE + Evidence Supplied. Identifier + The identifier of the referenced evidence. + 1 + Evidence Supplied + Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Exception Criteria Line. Details + A class to define a line in an ExceptionCriteria document that specifies a threshold for forecast variance, product activity, or performance history, the exceeding of which should trigger an exception message. + Exception Criteria Line + + + + + + + + + BBIE + Exception Criteria Line. Identifier + An identifier for this exception criteria line. + 1 + Exception Criteria Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Criteria Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Exception Criteria Line + Note + Text + Text. Type + + + + + + + + + BBIE + Exception Criteria Line. Threshold Value Comparison Code. Code + Type of comparison to be carried out in reference to the set threshold." Allowed values are: EXCEEDS_EXCEPTION_VALUE FALLS_BELOW_EXCEPTION_VALUE + 1 + Exception Criteria Line + Threshold Value Comparison Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Threshold_ Quantity. Quantity + A quantity beyond which an exception will be triggered. + 1 + Exception Criteria Line + Threshold + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Exception Criteria Line. Exception Status Code. Code + A code signifying status specific to a shipment exception. + 0..1 + Exception Criteria Line + Exception Status Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Collaboration_ Priority Code. Code + A collaboratively assigned code signifying priority of the Exception. Possible values are: HIGH, LOW, MEDIUM + 0..1 + Exception Criteria Line + Collaboration + Priority Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Exception_ Resolution Code. Code + Coded representation of possible resolution methods". Possible values are: DEFAULT_TO_AVERAGE_OF_COMPARED_VALUES DEFAULT_TO_BUYERS_VALUE DEFAULT_TO_HIGH_VALUE DEFAULT_TO_LOW_VALUE DEFAULT_TO_SELLERS_VALUE MANUAL_RESOLUTION MUTUALLY_DEFINED + 0..1 + Exception Criteria Line + Exception + Resolution Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Supply Chain Activity Type Code. Code + Establishes the criterion for one of the three types of exceptions. There can be three types of exception criteria: Operational, Metric and Forecast Exceptions. This will be set if this Exception is about an Operational Exception. Description could be: A code used to identify an operational exception. Possible values are: CANCELED_ORDERS EMERGENCY_ORDERS ON_HAND ORDERS RECEIPTS SALES SHIPMENTS + 0..1 + Exception Criteria Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Performance Metric Type Code. Code + A code signifying a measure of performance. + 0..1 + Exception Criteria Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Exception Criteria Line. Effective_ Period. Period + The period during which this exception criteria line is in effect. + 0..1 + Exception Criteria Line + Effective + Period + Period + Period + + + + + + + + + ASBIE + Exception Criteria Line. Supply_ Item. Item + The Trade Item that is the subject of the Exception Criterion. + 1..n + Exception Criteria Line + Supply + Item + Item + Item + + + + + + + + + ASBIE + Exception Criteria Line. Forecast Exception Criterion Line + Establishes the criterion for one of the three types of exceptions. This class provides the criterion for the kind of forecast exception, the identification of the purpose of the forecast, the source of data and the time basis criterion for the exception. + 0..1 + Exception Criteria Line + Forecast Exception Criterion Line + Forecast Exception Criterion Line + Forecast Exception Criterion Line + + + + + + + + + + + ABIE + Exception Notification Line. Details + A class to define a line in an Exception Notification. + Exception Notification Line + + + + + + + + + BBIE + Exception Notification Line. Identifier + An identifier for this exception notification line. + 1 + Exception Notification Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Notification Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Exception Notification Line + Note + Text + Text. Type + + + + + + + + + BBIE + Exception Notification Line. Description. Text + Text describing the exception. + 0..n + Exception Notification Line + Description + Text + Text. Type + + + + + + + + + BBIE + Exception Notification Line. Exception Status Code. Code + A code signifying status specific to a shipment exception. + 0..1 + Exception Notification Line + Exception Status Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Collaboration_ Priority Code. Code + Priority of Exception. + 0..1 + Exception Notification Line + Collaboration + Priority Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Resolution Code. Code + Coded representation of possible resolution methods". Possible values are: DEFAULT_TO_AVERAGE_OF_COMPARED_VALUES DEFAULT_TO_BUYERS_VALUE DEFAULT_TO_HIGH_VALUE DEFAULT_TO_LOW_VALUE DEFAULT_TO_SELLERS_VALUE MANUAL_RESOLUTION MUTUALLY_DEFINED + 0..1 + Exception Notification Line + Resolution Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Compared Value. Measure + The value that was compared with the source value that resulted in the exception + 1 + Exception Notification Line + Compared Value + Measure + Measure. Type + + + + + + + + + BBIE + Exception Notification Line. Source Value. Measure + The value used as the basis of comparison + 1 + Exception Notification Line + Source Value + Measure + Measure. Type + + + + + + + + + BBIE + Exception Notification Line. Variance. Quantity + The variance of a data item from an expected value during a particular time interval. + 0..1 + Exception Notification Line + Variance + Quantity + Quantity. Type + + + + + + + + + BBIE + Exception Notification Line. Supply Chain Activity Type Code. Code + Establishes the criterion for one of the three types of exceptions: Operational, performance metric and forecast. This reports an exception notification about an operational exception. Description could be: A code used to identify an operational exception. Possible values are: CANCELED_ORDERS EMERGENCY_ORDERS ON_HAND ORDERS RECEIPTS SALES SHIPMENTS + 0..1 + Exception Notification Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Performance Metric Type Code. Code + A code used to identify a measure of performance. It defines the type of the Performance Metric on which an exception criteria is being defined + 0..1 + Exception Notification Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Exception Notification Line. Exception Observation_ Period. Period + The period (start-end date) when this exception is observed + 0..1 + Exception Notification Line + Exception Observation + Period + Period + Period + + + + + + + + + ASBIE + Exception Notification Line. Document Reference + A reference to Exception Criteria document can be provided. + 0..n + Exception Notification Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Exception Notification Line. Forecast Exception + A forecast accuracy or comparison exception. + 0..1 + Exception Notification Line + Forecast Exception + Forecast Exception + Forecast Exception + + + + + + + + + ASBIE + Exception Notification Line. Supply_ Item. Item + The product associated with this exception notification line. + 1 + Exception Notification Line + Supply + Item + Item + Item + + + + + + + + + + + ABIE + Exchange Rate. Details + A class to define an exchange rate. + Exchange Rate + + + + + + + + + BBIE + Exchange Rate. Source_ Currency Code. Code + The reference currency for this exchange rate; the currency from which the exchange is being made. + 1 + Exchange Rate + Source + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Source_ Currency Base Rate. Rate + In the case of a source currency with denominations of small value, the unit base. + 0..1 + Exchange Rate + Source + Currency Base Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Target_ Currency Code. Code + The target currency for this exchange rate; the currency to which the exchange is being made. + 1 + Exchange Rate + Target + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Target_ Currency Base Rate. Rate + In the case of a target currency with denominations of small value, the unit base. + 0..1 + Exchange Rate + Target + Currency Base Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Exchange Market Identifier. Identifier + An identifier for the currency exchange market used as the source of this exchange rate. + 0..1 + Exchange Rate + Exchange Market Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Exchange Rate. Calculation Rate. Rate + The factor applied to the source currency to calculate the target currency. + 0..1 + Exchange Rate + Calculation Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Mathematic Operator Code. Code + A code signifying whether the calculation rate is a multiplier or a divisor. + 0..1 + Exchange Rate + Mathematic Operator Code + Code + Operator + Operator_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Date + The date on which the exchange rate was established. + 0..1 + Exchange Rate + Date + Date + Date. Type + + + + + + + + + ASBIE + Exchange Rate. Foreign Exchange_ Contract. Contract + A contract for foreign exchange. + 0..1 + Exchange Rate + Foreign Exchange + Contract + Contract + Contract + + + + + + + + + + + ABIE + External Reference. Details + A class to describe an external object, such as a document stored at a remote location. + External Reference + + + + + + + + + BBIE + External Reference. URI. Identifier + The Uniform Resource Identifier (URI) that identifies the external object as an Internet resource. + 0..1 + External Reference + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + External Reference. Document Hash. Text + A hash value for the externally stored object. + 0..1 + External Reference + Document Hash + Text + Text. Type + + + + + + + + + BBIE + External Reference. Hash Algorithm Method. Text + A hash algorithm used to calculate the hash value of the externally stored object. + 0..1 + External Reference + Hash Algorithm Method + Text + Text. Type + + + + + + + + + BBIE + External Reference. Expiry Date. Date + The date on which availability of the resource can no longer be relied upon. + 0..1 + External Reference + Expiry Date + Date + Date. Type + + + + + + + + + BBIE + External Reference. Expiry Time. Time + The time after which availability of the resource can no longer be relied upon. + 0..1 + External Reference + Expiry Time + Time + Time. Type + + + + + + + + + BBIE + External Reference. Mime Code. Code + A code signifying the mime type of the external object. + 0..1 + External Reference + Mime Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. Format Code. Code + A code signifying the format of the external object. + 0..1 + External Reference + Format Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. Encoding Code. Code + A code signifying the encoding/decoding algorithm used with the external object. + 0..1 + External Reference + Encoding Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. Character Set Code. Code + A code signifying the character set of an external document. + 0..1 + External Reference + Character Set Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. File Name. Name + The file name of the external object. + 0..1 + External Reference + File Name + Name + Name. Type + + + + + + + + + BBIE + External Reference. Description. Text + Text describing the external object. + 0..n + External Reference + Description + Text + Text. Type + computer accessories for laptops + + + + + + + + + + + ABIE + Financial Account. Details + A class to describe a financial account. + Financial Account + + + + + + + + + BBIE + Financial Account. Identifier + The identifier for this financial account; the bank account number. + 0..1 + Financial Account + Identifier + Identifier + Identifier. Type + SWIFT(BIC) and IBAN are defined in ISO 9362 and ISO 13616. + + + + + + + + + BBIE + Financial Account. Name + The name of this financial account. + 0..1 + Financial Account + Name + Name + Name. Type + + + + + + + + + BBIE + Financial Account. Alias_ Name. Name + An alias for the name of this financial account, to be used in place of the actual account name for security reasons. + 0..1 + Financial Account + Alias + Name + Name + Name. Type + + + + + + + + + BBIE + Financial Account. Account Type Code. Code + A code signifying the type of this financial account. + 0..1 + Financial Account + Account Type Code + Code + Code. Type + + + + + + + + + BBIE + Financial Account. Account Format Code. Code + A code signifying the format of this financial account. + 0..1 + Financial Account + Account Format Code + Code + Code. Type + ISO20022 Clearing System Identification Code + + + + + + + + + BBIE + Financial Account. Currency Code. Code + A code signifying the currency in which this financial account is held. + 0..1 + Financial Account + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Financial Account. Payment_ Note. Text + Free-form text applying to the Payment for the owner of this account. + 0..n + Financial Account + Payment + Note + Text + Text. Type + + + + + + + + + ASBIE + Financial Account. Financial Institution_ Branch. Branch + The branch of the financial institution associated with this financial account. + 0..1 + Financial Account + Financial Institution + Branch + Branch + Branch + + + + + + + + + ASBIE + Financial Account. Country + The country in which the holder of the financial account is domiciled. + 0..1 + Financial Account + Country + Country + Country + + + + + + + + + + + ABIE + Financial Guarantee. Details + A class to describe the bond guarantee of a tenderer or bid submitter's actual entry into a contract in the event that it is the successful bidder. + Financial Guarantee + + + + + + + + + BBIE + Financial Guarantee. Guarantee Type Code. Code + A code signifying the type of financial guarantee. For instance "Provisional Guarantee" or "Final Guarantee" + 1 + Financial Guarantee + Guarantee Type Code + Code + Code. Type + + + + + + + + + BBIE + Financial Guarantee. Description. Text + Text describing this financial guarantee. + 0..n + Financial Guarantee + Description + Text + Text. Type + + + + + + + + + BBIE + Financial Guarantee. Liability. Amount + The amount of liability in this financial guarantee. + 0..1 + Financial Guarantee + Liability + Amount + Amount. Type + + + + + + + + + BBIE + Financial Guarantee. Amount. Rate + The rate used to calculate the amount of liability in this financial guarantee. + 0..1 + Financial Guarantee + Amount + Rate + Rate. Type + + + + + + + + + ASBIE + Financial Guarantee. Constitution_ Period. Period + The period during the tendering process to which this financial guarantee has to be settled. + 0..1 + Financial Guarantee + Constitution + Period + Period + Period + + + + + + + + + + + ABIE + Financial Institution. Details + A class to describe a financial institution. + Financial Institution + + + + + + + + + BBIE + Financial Institution. Identifier + An identifier for this financial institution. It is recommended that the ISO 9362 Bank Identification Code (BIC) be used as the ID. + 0..1 + Financial Institution + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Financial Institution. Name + The name of this financial institution. + 0..1 + Financial Institution + Name + Name + Name. Type + + + + + + + + + ASBIE + Financial Institution. Address + The address of this financial institution. + 0..1 + Financial Institution + Address + Address + Address + + + + + + + + + + + ABIE + Forecast Exception. Details + As explained in Exception Criteria Line: Three types of exception criteria can be defined, Operational, Metric or Forecast Exceptions. This class provides criteria for forecast exception type: the identification of the purpose of the forecast, the source of data and the time basis criteria for the exception. + Forecast Exception + + + + + + + + + BBIE + Forecast Exception. Forecast_ Purpose Code. Code + It is either Sales forecast or Order Forecast. Definition can be changed like: "The purpose of the Forecast (either sales or order), about which an exception criteria is being defined". + 1 + Forecast Exception + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Forecast Type Code. Code + A code signifying the type of forecast. Example of values are:BASE PROMOTIONAL SEASONAL TOTAL + 1 + Forecast Exception + Forecast Type Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Issue Date. Date + The date on which the forecast was issued. + 1 + Forecast Exception + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Forecast Exception. Issue Time. Time + The time at which the forecast was issued. + 0..1 + Forecast Exception + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Exception. Data Source Code. Code + A code signifying the partner who provides this information. + 1 + Forecast Exception + Data Source Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Comparison Data Code. Code + A code signifying the partner providing the information in this forecast exception. + 0..1 + Forecast Exception + Comparison Data Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Comparison Forecast Issue Time. Time + The time at which this comparison forecast was issued. + 0..1 + Forecast Exception + Comparison Forecast Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Exception. Comparison Forecast Issue Date. Date + The date on which this comparison forecast was issued. + 0..1 + Forecast Exception + Comparison Forecast Issue Date + Date + Date. Type + + + + + + + + + + + ABIE + Forecast Exception Criterion Line. Details + Establishes the criterion for one of the three types of exceptions. This class provides criteria for the kind of forecast exception, the identification of the purpose of the forecast, the source of data and the time basis criterion for the exception. + Forecast Exception Criterion Line + + + + + + + + + BBIE + Forecast Exception Criterion Line. Forecast_ Purpose Code. Code + A description of the purpose for the forecast that is assigned to each forecast data item exception criterion. + 1 + Forecast Exception Criterion Line + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Forecast Type Code. Code + A description of a Forecast selected from a list. + 1 + Forecast Exception Criterion Line + Forecast Type Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Comparison Data Source Code. Code + If it is a forecast comparison exception, this value indicates the other source of information. + 0..1 + Forecast Exception Criterion Line + Comparison Data Source Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Data Source Code. Code + Indication of the partner who provides the information. + 1 + Forecast Exception Criterion Line + Data Source Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Time Delta Days Quantity. Quantity + Time basis in days for the Exception. + 0..1 + Forecast Exception Criterion Line + Time Delta Days Quantity + Quantity + Quantity. Type + + + + + + + + + + + ABIE + Forecast Line. Details + Detailed information about a particular Forecast Line within a Forecast Document + Forecast Line + + + + + + + + + BBIE + Forecast Line. Identifier + An identifier for this forecast line. + 1 + Forecast Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Forecast Line + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast Line. Frozen Document Indicator. Indicator + An indicator that the status of the forecast is modifiable (true) or not (false). + 0..1 + Forecast Line + Frozen Document Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast Line. Forecast Type Code. Code + A code signifying the type of forecast. Examples: BASE PROMOTIONAL SEASONAL TOTAL + 1 + Forecast Line + Forecast Type Code + Code + Code. Type + seasonal, total + + + + + + + + + ASBIE + Forecast Line. Forecast_ Period. Period + The period to which the forecast applies. + 0..1 + Forecast Line + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast Line. Sales Item + Sales information for the item to which this line applies. + 0..1 + Forecast Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Forecast Revision Line. Details + A class to define a line in a Forecast Revision describing a revision to a line in a Forecast. + Forecast Revision Line + + + + + + + + + BBIE + Forecast Revision Line. Identifier + An identifier for this forecast revision line. + 1 + Forecast Revision Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Forecast Revision Line + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast Revision Line. Description. Text + Text describing the revision to this line. + 0..n + Forecast Revision Line + Description + Text + Text. Type + + + + + + + + + BBIE + Forecast Revision Line. Revised_ Forecast Line Identifier. Identifier + An identifier for the revised forecast line. + 1 + Forecast Revision Line + Revised + Forecast Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision Line. Source Forecast_ Issue Date. Date + The date on which the forecast modified by this revision was generated or created. + 1 + Forecast Revision Line + Source Forecast + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Forecast Revision Line. Source Forecast_ Issue Time. Time + The time at which the forecast modified by this revision was generated or created. + 1 + Forecast Revision Line + Source Forecast + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Revision Line. Adjustment Reason Code. Code + A code signifying the reason for the adjustment specified in this forecast revision line. + 0..1 + Forecast Revision Line + Adjustment Reason Code + Code + Code. Type + + + + + + + + + ASBIE + Forecast Revision Line. Forecast_ Period. Period + The period to which this forecast revision line applies. + 0..1 + Forecast Revision Line + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast Revision Line. Sales Item + Sales information for the item to which this line applies. + 0..1 + Forecast Revision Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Framework Agreement. Details + A class to describe a tendering framework agreement. + Framework Agreement + + + + + + + + + BBIE + Framework Agreement. Expected_ Operator. Quantity + The number of economic operators expected to participate in this framework agreement. + 0..1 + Framework Agreement + Expected + Operator + Quantity + Quantity. Type + + + + + + + + + BBIE + Framework Agreement. Maximum_ Operator. Quantity + The maximum number of economic operators allowed to participate in this framework agreement. + 0..1 + Framework Agreement + Maximum + Operator + Quantity + Quantity. Type + + + + + + + + + BBIE + Framework Agreement. Justification. Text + Text describing the justification for this framework agreement. + 0..n + Framework Agreement + Justification + Text + Text. Type + + + + + + + + + BBIE + Framework Agreement. Frequency. Text + Text describing the frequency with which subsequent contracts will be awarded. + 0..n + Framework Agreement + Frequency + Text + Text. Type + + + + + + + + + ASBIE + Framework Agreement. Duration_ Period. Period + The period during which this framework agreement applies. + 0..1 + Framework Agreement + Duration + Period + Period + Period + + + + + + + + + ASBIE + Framework Agreement. Subsequent Process_ Tender Requirement. Tender Requirement + A tender requirement intended for consumption by downstream tendering processes derived from the establishment of this framework agreement. + 0..n + Framework Agreement + Subsequent Process + Tender Requirement + Tender Requirement + Tender Requirement + Curricula required + + + + + + + + + + + ABIE + Goods Item. Details + A class to describe a separately identifiable quantity of goods of a single product type. + Goods Item + + + + + + + + + BBIE + Goods Item. Identifier + An identifier for this goods item. + 0..1 + Goods Item + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item. Sequence Number. Identifier + A sequence number differentiating a specific goods item within a consignment. + 0..1 + Goods Item + Sequence Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item. Description. Text + Text describing this goods item to identify it for customs, statistical, or transport purposes. + 0..n + Goods Item + Description + Text + Text. Type + Description of goods (WCO ID 137) + + + + + + + + + BBIE + Goods Item. Hazardous Risk_ Indicator. Indicator + An indication that the transported goods item is subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Goods Item + Hazardous Risk + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Goods Item. Declared Customs_ Value. Amount + The total declared value for customs purposes of the goods item. + 0..1 + Goods Item + Declared Customs + Value + Amount + Amount. Type + For Customs Value (WCO ID 108) + + + + + + + + + BBIE + Goods Item. Declared For Carriage_ Value. Amount + The value of this goods item, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Goods Item + Declared For Carriage + Value + Amount + Amount. Type + Interest in delivery, declared value for carriage + + + + + + + + + BBIE + Goods Item. Declared Statistics_ Value. Amount + The total declared value of all the goods items in the same consignment with this goods item that have the same statistical heading. + 0..1 + Goods Item + Declared Statistics + Value + Amount + Amount. Type + Statistical Value (WCO ID 114) + + + + + + + + + BBIE + Goods Item. Free On Board_ Value. Amount + The monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Goods Item + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Goods Item. Insurance_ Value. Amount + The amount covered by insurance for this goods item. + 0..1 + Goods Item + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Goods Item. Value. Amount + The amount on which a duty, tax, or fee will be assessed. + 0..1 + Goods Item + Value + Amount + Amount. Type + + + + + + + + + BBIE + Goods Item. Gross_ Weight. Measure + The weight of this goods item, including packing and packaging but excluding the carrier's equipment. + 0..1 + Goods Item + Gross + Weight + Measure + Measure. Type + Actual Gross Weight + + + + + + + + + BBIE + Goods Item. Net_ Weight. Measure + The weight of this goods item, excluding packing but including packaging that normally accompanies the goods. + 0..1 + Goods Item + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Net Net_ Weight. Measure + The total weight of this goods item, excluding all packing and packaging. + 0..1 + Goods Item + Net Net + Weight + Measure + Measure. Type + Customs Weight (WCO ID 128) + + + + + + + + + BBIE + Goods Item. Chargeable_ Weight. Measure + The weight on which a charge is to be based. + 0..1 + Goods Item + Chargeable + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Gross_ Volume. Measure + The volume of this goods item, normally calculated by multiplying its maximum length, width, and height. + 0..1 + Goods Item + Gross + Volume + Measure + Measure. Type + Volume, Gross Measurement Cube (GMC), Cube (WCO ID 134) + + + + + + + + + BBIE + Goods Item. Net_ Volume. Measure + The volume contained by a goods item, excluding the volume of any packaging material. + 0..1 + Goods Item + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Quantity + The number of units making up this goods item. + 0..1 + Goods Item + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Preference Criterion Code. Code + A code signifying the treatment preference for this goods item according to international trading agreements. + 0..1 + Goods Item + Preference Criterion Code + Code + Code. Type + Preference Criterion is used in the following manner in the paper CO of another country (e.g.): +A - The good is wholly obtained or produced entirely in the territory of one or more of the NAFTA countries as reference in Article 415. Note: The purchase of a good in the territory does not necessarily render it wholly obtained or produced . If the good is an agricultural good, see also criterion F and Annex 703.2. (Reference: Article 401(a), 415). +B - ... +C - ... +D - ... +E - ... +F - The good is an originating agricultural good under preference criterion A,B, or C above and is not subjected to quantitative restriction in the importing NAFTA country because.... +Thus, the column Preference Criterion will indicate either A, B, C,... + + + + + + + + + BBIE + Goods Item. Required_ Customs Identifier. Identifier + An identifier for a set of tariff codes required to specify a type of goods for customs, transport, statistical, or other regulatory purposes. + 0..1 + Goods Item + Required + Customs Identifier + Identifier + Identifier. Type + Tariff code extensions (WCO ID 255) + + + + + + + + + BBIE + Goods Item. Customs Status Code. Code + A code assigned by customs to signify the status of this goods item. + 0..1 + Goods Item + Customs Status Code + Code + Code. Type + Customs status of goods (WCO ID 094) + + + + + + + + + BBIE + Goods Item. Customs Tariff Quantity. Quantity + Quantity of the units in this goods item as required by customs for tariff, statistical, or fiscal purposes. + 0..1 + Goods Item + Customs Tariff Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Customs Import_ Classified Indicator. Indicator + An indicator that this goods item has been classified for import by customs (true) or not (false). + 0..1 + Goods Item + Customs Import + Classified Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Goods Item. Chargeable_ Quantity. Quantity + The number of units in the goods item to which charges apply. + 0..1 + Goods Item + Chargeable + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Returnable_ Quantity. Quantity + The number of units in the goods item that may be returned. + 0..1 + Goods Item + Returnable + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Trace_ Identifier. Identifier + An identifier for use in tracing this goods item, such as the EPC number used in RFID. + 0..1 + Goods Item + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Goods Item. Item + Product information relating to a goods item. + 0..n + Goods Item + Item + Item + Item + + + + + + + + + ASBIE + Goods Item. Goods Item Container + The transporting of a goods item in a unit of transport equipment (e.g., container). + 0..n + Goods Item + Goods Item Container + Goods Item Container + Goods Item Container + + + + + + + + + ASBIE + Goods Item. Freight_ Allowance Charge. Allowance Charge + A cost incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance to the extent that they relate to the freight costs. + 0..n + Goods Item + Freight + Allowance Charge + Allowance Charge + Allowance Charge + Freight Costs + + + + + + + + + ASBIE + Goods Item. Invoice Line + Information about an invoice line relating to this goods item. + 0..n + Goods Item + Invoice Line + Invoice Line + Invoice Line + + + + + + + + + ASBIE + Goods Item. Temperature + The temperature of the goods item. + 0..n + Goods Item + Temperature + Temperature + Temperature + maximum, storage, minimum + + + + + + + + + ASBIE + Goods Item. Contained_ Goods Item. Goods Item + A goods item contained in this goods item. + 0..n + Goods Item + Contained + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Goods Item. Origin_ Address. Address + The region in which the goods have been produced or manufactured, according to criteria laid down for the purposes of application of the customs tariff, or of quantitative restrictions, or of any other measure related to trade. + 0..1 + Goods Item + Origin + Address + Address + Address + Region of origin (WCO ID 066) + + + + + + + + + ASBIE + Goods Item. Delivery + The delivery of this goods item. + 0..1 + Goods Item + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Goods Item. Pickup + The pickup of this goods item. + 0..1 + Goods Item + Pickup + Pickup + Pickup + + + + + + + + + ASBIE + Goods Item. Despatch + The despatch of this goods item. + 0..1 + Goods Item + Despatch + Despatch + Despatch + + + + + + + + + ASBIE + Goods Item. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this goods item. + 0..n + Goods Item + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Goods Item. Containing_ Package. Package + A package containing this goods item. + 0..n + Goods Item + Containing + Package + Package + Package + + + + + + + + + ASBIE + Goods Item. Shipment_ Document Reference. Document Reference + A reference to a shipping document associated with this goods item. + 0..1 + Goods Item + Shipment + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Goods Item. Minimum_ Temperature. Temperature + Information about minimum temperature. + 0..1 + Goods Item + Minimum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Goods Item. Maximum_ Temperature. Temperature + Information about maximum temperature. + 0..1 + Goods Item + Maximum + Temperature + Temperature + Temperature + + + + + + + + + + + ABIE + Goods Item Container. Details + A class defining how goods items are split across transport equipment. + Goods Item Container + + + + + + + + + BBIE + Goods Item Container. Identifier + An identifier for this goods item container. + 1 + Goods Item Container + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Container. Quantity + The number of goods items loaded into or onto one piece of transport equipment as a total consignment or part of a consignment. + 0..1 + Goods Item Container + Quantity + Quantity + Quantity. Type + Number of packages stuffed + + + + + + + + + ASBIE + Goods Item Container. Transport Equipment + A piece of transport equipment used to contain a single goods item. + 0..n + Goods Item Container + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + + + ABIE + Hazardous Goods Transit. Details + A class to describe hazardous goods in transit. + Hazardous Goods Transit + + + + + + + + + BBIE + Hazardous Goods Transit. Transport Emergency Card Code. Code + An identifier for a transport emergency card describing the actions to be taken in an emergency in transporting the hazardous goods. It may be the identity number of a hazardous emergency response plan assigned by the appropriate authority. + 0..1 + Hazardous Goods Transit + Transport Emergency Card Code + Code + Code. Type + TREM card + + + + + + + + + BBIE + Hazardous Goods Transit. Packing Criteria Code. Code + A code signifying the packaging requirement for transportation of the hazardous goods as assigned by IATA, IMDB, ADR, RID etc. + 0..1 + Hazardous Goods Transit + Packing Criteria Code + Code + Code. Type + Packing Group + + + + + + + + + BBIE + Hazardous Goods Transit. Hazardous Regulation Code. Code + A code signifying the set of legal regulations governing the transportation of the hazardous goods. + 0..1 + Hazardous Goods Transit + Hazardous Regulation Code + Code + Code. Type + + + + + + + + + BBIE + Hazardous Goods Transit. Inhalation Toxicity Zone Code. Code + A code signifying the Inhalation Toxicity Hazard Zone for the hazardous goods, as defined by the US Department of Transportation. + 0..1 + Hazardous Goods Transit + Inhalation Toxicity Zone Code + Code + Code. Type + + + + + + + + + BBIE + Hazardous Goods Transit. Transport Authorization Code. Code + A code signifying authorization for the transportation of hazardous cargo. + 0..1 + Hazardous Goods Transit + Transport Authorization Code + Code + Code. Type + Permission for Transport + + + + + + + + + ASBIE + Hazardous Goods Transit. Maximum_ Temperature. Temperature + The maximum temperature at which the hazardous goods can safely be transported. + 0..1 + Hazardous Goods Transit + Maximum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Goods Transit. Minimum_ Temperature. Temperature + The minimum temperature at which the hazardous goods can safely be transported. + 0..1 + Hazardous Goods Transit + Minimum + Temperature + Temperature + Temperature + + + + + + + + + + + ABIE + Hazardous Item. Details + A class to describe a hazardous item. + Hazardous Item + + + + + + + + + BBIE + Hazardous Item. Identifier + An identifier for this hazardous item. + 0..1 + Hazardous Item + Identifier + Identifier + Identifier. Type + Round Up + + + + + + + + + BBIE + Hazardous Item. Placard Notation. Text + Text of the placard notation corresponding to the hazard class of this hazardous item. Can also be the hazard identification number of the orange placard (upper part) required on the means of transport. + 0..1 + Hazardous Item + Placard Notation + Text + Text. Type + 5.1 + + + + + + + + + BBIE + Hazardous Item. Placard Endorsement. Text + Text of the placard endorsement that is to be shown on the shipping papers for this hazardous item. Can also be used for the number of the orange placard (lower part) required on the means of transport. + 0..1 + Hazardous Item + Placard Endorsement + Text + Text. Type + 2 + + + + + + + + + BBIE + Hazardous Item. Additional_ Information. Text + Text providing further information about the hazardous substance. + 0..n + Hazardous Item + Additional + Information + Text + Text. Type + Must be stored away from flammable materials N.O.S. or a Waste Characteristics Code in conjunction with an EPA Waste Stream code + + + + + + + + + BBIE + Hazardous Item. UNDG Code. Code + The UN code for this kind of hazardous item. + 0..1 + Hazardous Item + UNDG Code + Code + Code. Type + UN Code + + + + + + + + + BBIE + Hazardous Item. Emergency Procedures Code. Code + A code signifying the emergency procedures for this hazardous item. + 0..1 + Hazardous Item + Emergency Procedures Code + Code + Code. Type + EMG code, EMS Page Number + + + + + + + + + BBIE + Hazardous Item. Medical First Aid Guide Code. Code + A code signifying a medical first aid guide appropriate to this hazardous item. + 0..1 + Hazardous Item + Medical First Aid Guide Code + Code + Code. Type + MFAG page number + + + + + + + + + BBIE + Hazardous Item. Technical_ Name. Name + The full technical name of a specific hazardous substance contained in this goods item. + 0..1 + Hazardous Item + Technical + Name + Name + Name. Type + Granular Sodium Chlorate WeedKiller + + + + + + + + + BBIE + Hazardous Item. Category. Name + The name of the category of hazard that applies to the Item. + 0..1 + Hazardous Item + Category + Name + Name. Type + + + + + + + + + BBIE + Hazardous Item. Hazardous Category Code. Code + A code signifying a kind of hazard for a material. + 0..1 + Hazardous Item + Hazardous Category Code + Code + Code. Type + Hazardous material class code + + + + + + + + + BBIE + Hazardous Item. Upper_ Orange Hazard Placard Identifier. Identifier + The number for the upper part of the orange hazard placard required on the means of transport. + 0..1 + Hazardous Item + Upper + Orange Hazard Placard Identifier + Identifier + Identifier. Type + Hazard identification number (upper part) + + + + + + + + + BBIE + Hazardous Item. Lower_ Orange Hazard Placard Identifier. Identifier + The number for the lower part of the orange hazard placard required on the means of transport. + 0..1 + Hazardous Item + Lower + Orange Hazard Placard Identifier + Identifier + Identifier. Type + Substance identification number (lower part) + + + + + + + + + BBIE + Hazardous Item. Marking Identifier. Identifier + An identifier to the marking of the Hazardous Item + 0..1 + Hazardous Item + Marking Identifier + Identifier + Identifier. Type + Dangerous goods label marking + + + + + + + + + BBIE + Hazardous Item. Hazard Class Identifier. Identifier + An identifier for the hazard class applicable to this hazardous item as defined by the relevant regulation authority (e.g., the IMDG Class Number of the SOLAS Convention of IMO and the ADR/RID Class Number for the road/rail environment). + 0..1 + Hazardous Item + Hazard Class Identifier + Identifier + Identifier. Type + IMDG Class Number, ADR/RID Class Number + + + + + + + + + BBIE + Hazardous Item. Net_ Weight. Measure + The net weight of this hazardous item, excluding packaging. + 0..1 + Hazardous Item + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Hazardous Item. Net_ Volume. Measure + The volume of this hazardous item, excluding packaging and transport equipment. + 0..1 + Hazardous Item + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Hazardous Item. Quantity + The quantity of goods items in this hazardous item that are hazardous. + 0..1 + Hazardous Item + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Hazardous Item. Contact_ Party. Party + The individual, group, or body to be contacted in case of a hazardous incident associated with this item. + 0..1 + Hazardous Item + Contact + Party + Party + Party + + + + + + + + + ASBIE + Hazardous Item. Secondary Hazard + A secondary hazard associated with this hazardous item. + 0..n + Hazardous Item + Secondary Hazard + Secondary Hazard + Secondary Hazard + + + + + + + + + ASBIE + Hazardous Item. Hazardous Goods Transit + Information related to the transit of this kind of hazardous goods. + 0..n + Hazardous Item + Hazardous Goods Transit + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Hazardous Item. Emergency_ Temperature. Temperature + The threshold temperature at which emergency procedures apply in the handling of temperature-controlled goods. + 0..1 + Hazardous Item + Emergency + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Item. Flashpoint_ Temperature. Temperature + The flashpoint temperature of this hazardous item; i.e., the lowest temperature at which vapors above a volatile combustible substance ignite in air when exposed to flame. + 0..1 + Hazardous Item + Flashpoint + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Item. Additional_ Temperature. Temperature + Another temperature relevant to the handling of this hazardous item. + 0..n + Hazardous Item + Additional + Temperature + Temperature + Temperature + + + + + + + + + + + ABIE + Immobilized Security. Details + A class to describe an immobilized security to be used as a guarantee. + Immobilized Security + + + + + + + + + BBIE + Immobilized Security. Immobilization Certificate Identifier. Identifier + An identifier for the certificate of this immobilized security. + 0..1 + Immobilized Security + Immobilization Certificate Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Immobilized Security. Security Identifier. Identifier + An identifier for the security being immobilized. + 0..1 + Immobilized Security + Security Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Immobilized Security. Issue Date. Date + The date on which this immobilized security was issued. + 0..1 + Immobilized Security + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Immobilized Security. Face Value. Amount + The value of the security on the day it was immobilized. + 0..1 + Immobilized Security + Face Value + Amount + Amount. Type + + + + + + + + + BBIE + Immobilized Security. Market Value. Amount + The current market value of the immobilized security. + 0..1 + Immobilized Security + Market Value + Amount + Amount. Type + + + + + + + + + BBIE + Immobilized Security. Shares Number. Quantity + The number of shares immobilized. + 0..1 + Immobilized Security + Shares Number + Quantity + Quantity. Type + + + + + + + + + ASBIE + Immobilized Security. Issuer_ Party. Party + The party issuing the immobilized security certificate. + 0..1 + Immobilized Security + Issuer + Party + Party + Party + + + + + + + + + + + ABIE + Instruction For Returns Line. Details + A class to define a line in an Instruction for Returns. + Instruction For Returns Line + + + + + + + + + BBIE + Instruction For Returns Line. Identifier + An identifier for this instruction for returns line. + 1 + Instruction For Returns Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Instruction For Returns Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Instruction For Returns Line + Note + Text + Text. Type + + + + + + + + + BBIE + Instruction For Returns Line. Quantity + The quantity of goods being returned. + 1 + Instruction For Returns Line + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Instruction For Returns Line. Manufacturer_ Party. Party + The manufacturer of the goods being returned. + 0..1 + Instruction For Returns Line + Manufacturer + Party + Party + Party + + + + + + + + + ASBIE + Instruction For Returns Line. Item + A description of the item being returned. + 1 + Instruction For Returns Line + Item + Item + Item + + + + + + + + + + + ABIE + Inventory Report Line. Details + A class to define a line in an Inventory Report. + Inventory Report Line + + + + + + + + + BBIE + Inventory Report Line. Identifier + An identifier for this inventory report line. + 1 + Inventory Report Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Inventory Report Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Inventory Report Line + Note + Text + Text. Type + + + + + + + + + BBIE + Inventory Report Line. Quantity + The quantity of the item reported that is currently in stock. + 1 + Inventory Report Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Inventory Report Line. Inventory_ Value. Amount + The value of the quantity of the item reported that is currently in stock. + 0..1 + Inventory Report Line + Inventory + Value + Amount + Amount. Type + + + + + + + + + BBIE + Inventory Report Line. Availability Date. Date + The date from which the goods will be available. If not present, the goods are available now. + 0..1 + Inventory Report Line + Availability Date + Date + Date. Type + + + + + + + + + BBIE + Inventory Report Line. Availability Status Code. Code + A code signifying the item's level of availability. + 0..1 + Inventory Report Line + Availability Status Code + Code + Code. Type + + + + + + + + + ASBIE + Inventory Report Line. Item + The item associated with this inventory report line. + 1 + Inventory Report Line + Item + Item + Item + + + + + + + + + ASBIE + Inventory Report Line. Inventory_ Location. Location + The location of the reported quantity of goods. + 0..1 + Inventory Report Line + Inventory + Location + Location + Location + + + + + + + + + + + ABIE + Invoice Line. Details + A class to define a line in an Invoice. + Invoice Line + + + + + + + + + BBIE + Invoice Line. Identifier + An identifier for this invoice line. + 1 + Invoice Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice Line. UUID. Identifier + A universally unique identifier for this invoice line. + 0..1 + Invoice Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Invoice Line + Note + Text + Text. Type + + + + + + + + + BBIE + Invoice Line. Invoiced_ Quantity. Quantity + The quantity (of items) on this invoice line. + 0..1 + Invoice Line + Invoiced + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Invoice Line. Line Extension Amount. Amount + The total amount for this invoice line, including allowance charges but net of taxes. + 1 + Invoice Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Invoice Line. Tax Point Date. Date + The date of this invoice line, used to indicate the point at which tax becomes applicable. + 0..1 + Invoice Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Invoice Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this invoice line, expressed as a code. + 0..1 + Invoice Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Invoice Line. Accounting Cost. Text + The buyer's accounting cost centre for this invoice line, expressed as text. + 0..1 + Invoice Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Invoice Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Invoice Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Invoice Line. Free Of Charge_ Indicator. Indicator + An indicator that this invoice line is free of charge (true) or not (false). The default is false. + 0..1 + Invoice Line + Free Of Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Invoice Line. Invoice_ Period. Period + An invoice period to which this invoice line applies. + 0..n + Invoice Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Invoice Line. Order Line Reference + A reference to an order line associated with this invoice line. + 0..n + Invoice Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Invoice Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this invoice line. + 0..n + Invoice Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Invoice Line. Receipt_ Line Reference. Line Reference + A reference to a receipt line associated with this invoice line. + 0..n + Invoice Line + Receipt + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Invoice Line. Billing Reference + A reference to a billing document associated with this invoice line. + 0..n + Invoice Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Invoice Line. Document Reference + A reference to a document associated with this invoice line. + 0..n + Invoice Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice Line. Pricing Reference + A reference to pricing and item location information associated with this invoice line. + 0..1 + Invoice Line + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Invoice Line. Originator_ Party. Party + The party who originated the Order to which the Invoice is related. + 0..1 + Invoice Line + Originator + Party + Party + Party + + + + + + + + + ASBIE + Invoice Line. Delivery + A delivery associated with this invoice line. + 0..n + Invoice Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Invoice Line. Payment Terms + A specification of payment terms associated with this invoice line. + 0..n + Invoice Line + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Invoice Line. Allowance Charge + An allowance or charge associated with this invoice line. + 0..n + Invoice Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Invoice Line. Tax Total + A total amount of taxes of a particular kind applicable to this invoice line. + 0..n + Invoice Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice Line. Withholding_ Tax Total. Tax Total + A reference to a TaxTotal class describing the amount that has been withhold by the authorities, e.g. if the creditor is in dept because of non paid taxes. + 0..n + Invoice Line + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice Line. Item + The item associated with this invoice line. + 1 + Invoice Line + Item + Item + Item + + + + + + + + + ASBIE + Invoice Line. Price + The price of the item associated with this invoice line. + 0..1 + Invoice Line + Price + Price + Price + Unit Price, Base Price + + + + + + + + + ASBIE + Invoice Line. Delivery Terms + Terms and conditions of the delivery associated with this invoice line. + 0..1 + Invoice Line + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Invoice Line. Sub_ Invoice Line. Invoice Line + An invoice line subsidiary to this invoice line. + 0..n + Invoice Line + Sub + Invoice Line + Invoice Line + Invoice Line + + + + + + + + + ASBIE + Invoice Line. Item_ Price Extension. Price Extension + The price extension, calculated by multiplying the price per unit by the quantity of items on this invoice line. + 0..1 + Invoice Line + Item + Price Extension + Price Extension + Price Extension + + + + + + + + + + + ABIE + Item. Details + A class to describe an item of trade. It includes a generic description applicable to all examples of the item together with optional subsidiary descriptions of any number of actual instances of the type. + Item + article, product, goods item + + + + + + + + + BBIE + Item. Description. Text + Text describing this item. + 0..n + Item + Description + Text + Text. Type + + + + + + + + + BBIE + Item. Pack Quantity. Quantity + The unit packaging quantity; the number of subunits making up this item. + 0..1 + Item + Pack Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item. Pack Size. Numeric + The number of items in a pack of this item. + 0..1 + Item + Pack Size + Numeric + Numeric. Type + + + + + + + + + BBIE + Item. Catalogue_ Indicator. Indicator + An indicator that this item was ordered from a catalogue (true) or not (false). + 0..1 + Item + Catalogue + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Item. Name + A short name optionally given to this item, such as a name from a catalogue, as distinct from a description. + 0..1 + Item + Name + Name + Name. Type + + + + + + + + + BBIE + Item. Hazardous Risk_ Indicator. Indicator + An indication that the transported item, as delivered, is subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Item + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Item. Additional_ Information. Text + Further details regarding this item (e.g., the URL of a relevant web page). + 0..n + Item + Additional + Information + Text + Text. Type + + + + + + + + + BBIE + Item. Keyword. Text + A keyword (search string) for this item, assigned by the seller party. Can also be a synonym for the name of the item. + 0..n + Item + Keyword + Text + Text. Type + + + + + + + + + BBIE + Item. Brand Name. Name + A brand name of this item. + 0..n + Item + Brand Name + Name + Name. Type + Coca-Cola + + + + + + + + + BBIE + Item. Model Name. Name + A model name of this item. + 0..n + Item + Model Name + Name + Name. Type + VW Beetle + + + + + + + + + ASBIE + Item. Buyers_ Item Identification. Item Identification + Identifying information for this item, assigned by the buyer. + 0..1 + Item + Buyers + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Sellers_ Item Identification. Item Identification + Identifying information for this item, assigned by the seller. + 0..1 + Item + Sellers + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Manufacturers_ Item Identification. Item Identification + Identifying information for this item, assigned by the manufacturer. + 0..n + Item + Manufacturers + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Standard_ Item Identification. Item Identification + Identifying information for this item, assigned according to a standard system. + 0..1 + Item + Standard + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Catalogue_ Item Identification. Item Identification + Identifying information for this item, assigned according to a cataloguing system. + 0..1 + Item + Catalogue + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Additional_ Item Identification. Item Identification + An additional identifier for this item. + 0..n + Item + Additional + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Catalogue_ Document Reference. Document Reference + A reference to the catalogue in which this item appears. + 0..1 + Item + Catalogue + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Item. Item Specification_ Document Reference. Document Reference + A reference to a specification document for this item. + 0..n + Item + Item Specification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Item. Origin_ Country. Country + The country of origin of this item. + 0..1 + Item + Origin + Country + Country + Country + + + + + + + + + ASBIE + Item. Commodity Classification + A classification of this item according to a specific system for classifying commodities. + 0..n + Item + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Item. Transaction Conditions + A set of sales conditions applying to this item. + 0..n + Item + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Item. Hazardous Item + Information pertaining to this item as a hazardous item. + 0..n + Item + Hazardous Item + Hazardous Item + Hazardous Item + + + + + + + + + ASBIE + Item. Classified_ Tax Category. Tax Category + A tax category applicable to this item. + 0..n + Item + Classified + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Item. Additional_ Item Property. Item Property + An additional property of this item. + 0..n + Item + Additional + Item Property + Item Property + Item Property + + + + + + + + + ASBIE + Item. Manufacturer_ Party. Party + The manufacturer of this item. + 0..n + Item + Manufacturer + Party + Party + Party + + + + + + + + + ASBIE + Item. Information Content Provider_ Party. Party + The party responsible for specification of this item. + 0..1 + Item + Information Content Provider + Party + Party + Party + + + + + + + + + ASBIE + Item. Origin_ Address. Address + A region (not country) of origin of this item. + 0..n + Item + Origin + Address + Address + Address + + + + + + + + + ASBIE + Item. Item Instance + A trackable, unique instantiation of this item. + 0..n + Item + Item Instance + Item Instance + Item Instance + + + + + + + + + ASBIE + Item. Certificate + A certificate associated with this item. + 0..n + Item + Certificate + Certificate + Certificate + + + + + + + + + ASBIE + Item. Dimension + One of the measurable dimensions (length, mass, weight, or volume) of this item. + 0..n + Item + Dimension + Dimension + Dimension + + + + + + + + + + + ABIE + Item Comparison. Details + A class to provide information about price and quantity of an item for use in price comparisons based on price, quantity, or measurements. + Item Comparison + + + + + + + + + BBIE + Item Comparison. Price Amount. Amount + The price for the Item Comparison + 0..1 + Item Comparison + Price Amount + Amount + Amount. Type + + + + + + + + + BBIE + Item Comparison. Quantity + The quantity for which this comparison is valid. + 0..1 + Item Comparison + Quantity + Quantity + Quantity. Type + per unit + + + + + + + + + + + ABIE + Item Identification. Details + A class for assigning identifying information to an item. + Item Identification + + + + + + + + + BBIE + Item Identification. Identifier + An identifier for the item. + 1 + Item Identification + Identifier + Identifier + Identifier. Type + CUST001 3333-44-123 + + + + + + + + + BBIE + Item Identification. Extended_ Identifier. Identifier + An extended identifier for the item that identifies the item with specific properties, e.g., Item 123 = Chair / Item 123 Ext 45 = brown chair. Two chairs can have the same item number, but one is brown. The other is white. + 0..1 + Item Identification + Extended + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Identification. Barcode_ Symbology Identifier. Identifier + An identifier for a system of barcodes. + 0..1 + Item Identification + Barcode + Symbology Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Item Identification. Physical Attribute + A physical attribute of the item. + 0..n + Item Identification + Physical Attribute + Physical Attribute + Physical Attribute + + + + + + + + + ASBIE + Item Identification. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of the item. + 0..n + Item Identification + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Item Identification. Issuer_ Party. Party + The party that issued this item identification. + 0..1 + Item Identification + Issuer + Party + Party + Party + + + + + + + + + + + ABIE + Item Information Request Line. Details + A class to define a line in an Item Information Request asking a trading partner for item information. + Item Information Request Line + + + + + + + + + BBIE + Item Information Request Line. Time Frequency Code. Code + A code signifying the frequency with which item information should be sent to the requester. + 0..1 + Item Information Request Line + Time Frequency Code + Code + Code. Type + + + + + + + + + BBIE + Item Information Request Line. Supply Chain Activity Type Code. Code + A code used to identify the type of supply chain activity about which information request is issued. Examples: CANCELED_ORDERS EMERGENCY_ORDERS ON_HAND ORDERS + 0..1 + Item Information Request Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Item Information Request Line. Forecast Type Code. Code + The information request can be either about supply chain activity or about forecasts or about performance metrics, so it should be optional + 0..1 + Item Information Request Line + Forecast Type Code + Code + Code. Type + + + + + + + + + BBIE + Item Information Request Line. Performance Metric Type Code. Code + A code signifying a measure of performance. + 0..1 + Item Information Request Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Item Information Request Line. Period + A period for which this information is requested. + 1..n + Item Information Request Line + Period + Period + Period + + + + + + + + + ASBIE + Item Information Request Line. Sales Item + Sales information for the item to which this line applies. + 1..n + Item Information Request Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Item Instance. Details + A class to describe a specific, trackable instance of an item. + Item Instance + + + + + + + + + BBIE + Item Instance. Product Trace_ Identifier. Identifier + An identifier used for tracing this item instance, such as the EPC number used in RFID. + 0..1 + Item Instance + Product Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Instance. Manufacture Date. Date + The date on which this item instance was manufactured. + 0..1 + Item Instance + Manufacture Date + Date + Date. Type + + + + + + + + + BBIE + Item Instance. Manufacture Time. Time + The time at which this item instance was manufactured. + 0..1 + Item Instance + Manufacture Time + Time + Time. Type + + + + + + + + + BBIE + Item Instance. Best Before Date. Date + The date before which it is best to use this item instance. + 0..1 + Item Instance + Best Before Date + Date + Date. Type + + + + + + + + + BBIE + Item Instance. Registration Identifier. Identifier + The registration identifier of this item instance. + 0..1 + Item Instance + Registration Identifier + Identifier + Identifier. Type + car registration or licensing number + + + + + + + + + BBIE + Item Instance. Serial Identifier. Identifier + The serial number of this item instance. + 0..1 + Item Instance + Serial Identifier + Identifier + Identifier. Type + chassis number of a car + + + + + + + + + ASBIE + Item Instance. Additional_ Item Property. Item Property + An additional property of this item instance. + 0..n + Item Instance + Additional + Item Property + Item Property + Item Property + + + + + + + + + ASBIE + Item Instance. Lot Identification + The lot identifier of this item instance (the identifier that allows recall of the item if necessary). + 0..1 + Item Instance + Lot Identification + Lot Identification + Lot Identification + + + + + + + + + + + ABIE + Item Location Quantity. Details + A class for information about pricing structure, lead time, and location associated with an item. + Item Location Quantity + + + + + + + + + BBIE + Item Location Quantity. Lead Time. Measure + The lead time, i.e., the time taken from the time at which an item is ordered to the time of its delivery. + 0..1 + Item Location Quantity + Lead Time + Measure + Measure. Type + 2 days , 24 hours + + + + + + + + + BBIE + Item Location Quantity. Minimum_ Quantity. Quantity + The minimum quantity that can be ordered to qualify for a specific price. + 0..1 + Item Location Quantity + Minimum + Quantity + Quantity + Quantity. Type + 10 boxes , 1 carton , 1000 sheets + + + + + + + + + BBIE + Item Location Quantity. Maximum_ Quantity. Quantity + The maximum quantity that can be ordered to qualify for a specific price. + 0..1 + Item Location Quantity + Maximum + Quantity + Quantity + Quantity. Type + 10 boxes , 1 carton , 1000 sheets + + + + + + + + + BBIE + Item Location Quantity. Hazardous Risk_ Indicator. Indicator + An indication that the transported item, as delivered, in the stated quantity to the stated location, is subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Item Location Quantity + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Item Location Quantity. Trading Restrictions. Text + Text describing trade restrictions on the quantity of this item or on the item itself. + 0..n + Item Location Quantity + Trading Restrictions + Text + Text. Type + not for export + + + + + + + + + ASBIE + Item Location Quantity. Applicable Territory_ Address. Address + The applicable sales territory. + 0..n + Item Location Quantity + Applicable Territory + Address + Address + Address + + + + + + + + + ASBIE + Item Location Quantity. Price + The price associated with the given location. + 0..1 + Item Location Quantity + Price + Price + Price + + + + + + + + + ASBIE + Item Location Quantity. Delivery Unit + A delivery unit in which the item is located. + 0..n + Item Location Quantity + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Item Location Quantity. Applicable_ Tax Category. Tax Category + A tax category applicable to this item location quantity. + 0..n + Item Location Quantity + Applicable + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Item Location Quantity. Package + The package to which this price applies. + 0..1 + Item Location Quantity + Package + Package + Package + + + + + + + + + ASBIE + Item Location Quantity. Allowance Charge + An allowance or charge associated with this item location quantity. + 0..n + Item Location Quantity + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Item Location Quantity. Dependent Price Reference + The price of the item as a percentage of the price of some other item. + 0..1 + Item Location Quantity + Dependent Price Reference + Dependent Price Reference + Dependent Price Reference + + + + + + + + + + + ABIE + Item Management Profile. Details + A class to define a management profile for an item. + Item Management Profile + + + + + + + + + BBIE + Item Management Profile. Frozen Period Days. Numeric + The number of days in the future that an order forecast quantity automatically becomes a confirmed order for a product. + 0..1 + Item Management Profile + Frozen Period Days + Numeric + Numeric. Type + + + + + + + + + BBIE + Item Management Profile. Minimum_ Inventory Quantity. Quantity + The quantity of the item that should trigger a replenishment order to avoid depleting the safety stock. + 0..1 + Item Management Profile + Minimum + Inventory Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item Management Profile. Multiple_ Order Quantity. Quantity + The order quantity multiples in which the product may be ordered. + 0..1 + Item Management Profile + Multiple + Order Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item Management Profile. Order Interval Days. Numeric + The number of days between regular replenishment orders for the product. + 0..1 + Item Management Profile + Order Interval Days + Numeric + Numeric. Type + + + + + + + + + BBIE + Item Management Profile. Replenishment Owner Description. Text + The trading partner maintaining this item management profile. + 0..n + Item Management Profile + Replenishment Owner Description + Text + Text. Type + + + + + + + + + BBIE + Item Management Profile. Target Service Percent. Percent + The Unit Service Level the trading partners expect to be maintained, expressed as a percentage. Unite Service Level (USL) is a term used in Inventory Management, which is sometimes known as "fill rate", counts the average number of units short expressed as the percentage of the order quantity. + 0..1 + Item Management Profile + Target Service Percent + Percent + Percent. Type + + + + + + + + + BBIE + Item Management Profile. Target_ Inventory Quantity. Quantity + The target inventory quantity. + 0..1 + Item Management Profile + Target + Inventory Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Item Management Profile. Effective_ Period. Period + The period during which this profile is effective. + 1 + Item Management Profile + Effective + Period + Period + Period + + + + + + + + + ASBIE + Item Management Profile. Item + The item associated with this item management profile. + 1 + Item Management Profile + Item + Item + Item + + + + + + + + + ASBIE + Item Management Profile. Item Location Quantity + A set of location-specific properties (e.g., price and quantity) associated with the item. + 0..1 + Item Management Profile + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + + + ABIE + Item Property. Details + A class to describe a specific property of an item. + Item Property + + + + + + + + + BBIE + Item Property. Identifier + An identifier for this property of an item. + 0..1 + Item Property + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Property. Name + The name of this item property. + 1 + Item Property + Name + Name + Name. Type + Energy Rating , Collar Size , Fat Content + + + + + + + + + BBIE + Item Property. Name Code. Code + The name of this item property, expressed as a code. + 0..1 + Item Property + Name Code + Code + Code. Type + + + + + + + + + BBIE + Item Property. Test Method. Text + The method of testing the value of this item property. + 0..1 + Item Property + Test Method + Text + Text. Type + 100 watts , 15 European , 20% +/- 5% + + + + + + + + + BBIE + Item Property. Value. Text + The value of this item property, expressed as text. + 0..1 + Item Property + Value + Text + Text. Type + 100 watts , 15 European , 20% +/- 5% + + + + + + + + + BBIE + Item Property. Value_ Quantity. Quantity + The value of this item property, expressed as a quantity. + 0..1 + Item Property + Value + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item Property. Value Qualifier. Text + Text qualifying the value of the property. + 0..n + Item Property + Value Qualifier + Text + Text. Type + + + + + + + + + BBIE + Item Property. Importance Code. Code + A code signifying the importance of this property in using it to describe a related Item. + 0..1 + Item Property + Importance Code + Code + Code. Type + + + + + + + + + BBIE + Item Property. List Value. Text + The value expressed as a text in case the property is a value in a list. For example, a colour. + 0..n + Item Property + List Value + Text + Text. Type + + + + + + + + + ASBIE + Item Property. Usability_ Period. Period + The period during which this item property is valid. + 0..1 + Item Property + Usability + Period + Period + Period + + + + + + + + + ASBIE + Item Property. Item Property Group + A description of the property group to which this item property belongs. + 0..n + Item Property + Item Property Group + Item Property Group + Item Property Group + + + + + + + + + ASBIE + Item Property. Range_ Dimension. Dimension + The range of values for the dimensions of this property. + 0..1 + Item Property + Range + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Item Property. Item Property Range + A range of values for this item property. + 0..1 + Item Property + Item Property Range + Item Property Range + Item Property Range + + + + + + + + + + + ABIE + Item Property Group. Details + A class to describe a property group or classification. + Item Property Group + + + + + + + + + BBIE + Item Property Group. Identifier + An identifier for this group of item properties. + 1 + Item Property Group + Identifier + Identifier + Identifier. Type + 233-004 + + + + + + + + + BBIE + Item Property Group. Name + The name of this item property group. + 0..1 + Item Property Group + Name + Name + Name. Type + Electrical Specifications , Dietary Content + + + + + + + + + BBIE + Item Property Group. Importance Code. Code + A code signifying the importance of this property group in using it to describe a required Item. + 0..1 + Item Property Group + Importance Code + Code + Code. Type + + + + + + + + + + + ABIE + Item Property Range. Details + A class to describe a range of values for an item property. + Item Property Range + + + + + + + + + BBIE + Item Property Range. Minimum_ Value. Text + The minimum value in this range of values. + 0..1 + Item Property Range + Minimum + Value + Text + Text. Type + + + + + + + + + BBIE + Item Property Range. Maximum_ Value. Text + The maximum value in this range of values. + 0..1 + Item Property Range + Maximum + Value + Text + Text. Type + + + + + + + + + + + ABIE + Language. Details + A class to describe a language. + Language + + + + + + + + + BBIE + Language. Identifier + An identifier for this language. + 0..1 + Language + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Language. Name + The name of this language. + 0..1 + Language + Name + Name + Name. Type + + + + + + + + + BBIE + Language. Locale Code. Code + A code signifying the locale in which this language is used. + 0..1 + Language + Locale Code + Code + Code. Type + + + + + + + + + + + ABIE + Line Item. Details + A class to describe a line item. + Line Item + + + + + + + + + BBIE + Line Item. Identifier + An identifier for this line item, assigned by the buyer. + 1 + Line Item + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. Sales_ Order Identifier. Identifier + An identifier for this line item, assigned by the seller. + 0..1 + Line Item + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. UUID. Identifier + A universally unique identifier for this line item. + 0..1 + Line Item + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Line Item + Note + Text + Text. Type + + + + + + + + + BBIE + Line Item. Line Status Code. Code + A code signifying the status of this line item with respect to its original state. + 0..1 + Line Item + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + BBIE + Line Item. Quantity + The quantity of items associated with this line item. + 0..1 + Line Item + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Line Extension Amount. Amount + The total amount for this line item, including allowance charges but net of taxes. + 0..1 + Line Item + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Line Item. Total_ Tax Amount. Amount + The total tax amount for this line item. + 0..1 + Line Item + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Line Item. Minimum_ Quantity. Quantity + The minimum quantity of the item associated with this line. + 0..1 + Line Item + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Maximum_ Quantity. Quantity + The maximum quantity of the item associated with this line. + 0..1 + Line Item + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Minimum_ Backorder. Quantity + The minimum back order quantity of the item associated with this line (where back order is allowed). + 0..1 + Line Item + Minimum + Backorder + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Maximum_ Backorder. Quantity + The maximum back order quantity of the item associated with this line (where back order is allowed). + 0..1 + Line Item + Maximum + Backorder + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Inspection Method Code. Code + A code signifying the inspection requirements for the item associated with this line item. + 0..1 + Line Item + Inspection Method Code + Code + Code. Type + + + + + + + + + BBIE + Line Item. Partial Delivery Indicator. Indicator + An indicator that a partial delivery is allowed (true) or not (false). + 0..1 + Line Item + Partial Delivery Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Line Item. Back Order Allowed Indicator. Indicator + An indicator that back order is allowed (true) or not (false). + 0..1 + Line Item + Back Order Allowed Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Line Item. Accounting Cost Code. Code + The buyer's accounting cost centre for this line item, expressed as a code. + 0..1 + Line Item + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Line Item. Accounting Cost. Text + The buyer's accounting cost centre for this line item, expressed as text. + 0..1 + Line Item + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Line Item. Warranty_ Information. Text + Text describing a warranty (provided by WarrantyParty) for the good or service described in this line item. + 0..n + Line Item + Warranty + Information + Text + Text. Type + Unless specified otherwise and in addition to any rights the Customer may have under statute, Dell warrants to the Customer that Dell branded Products (excluding third party products and software), will be free from defects in materials and workmanship affecting normal use for a period of one year from invoice date ( Standard Warranty ). + + + + + + + + + ASBIE + Line Item. Delivery + A delivery associated with this line item. + 0..n + Line Item + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Line Item. Delivery Terms + Terms and conditions of the delivery associated with this line item. + 0..1 + Line Item + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Line Item. Originator_ Party. Party + The party who originated the Order associated with this line item. + 0..1 + Line Item + Originator + Party + Party + Party + + + + + + + + + ASBIE + Line Item. Ordered Shipment + An ordered shipment associated with this line item. + 0..n + Line Item + Ordered Shipment + Ordered Shipment + Ordered Shipment + + + + + + + + + ASBIE + Line Item. Pricing Reference + A reference to pricing and item location information associated with this line item. + 0..1 + Line Item + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Line Item. Allowance Charge + An allowance or charge associated with this line item. + 0..n + Line Item + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Line Item. Price + The price of the item of trade associated with this line item. + 0..1 + Line Item + Price + Price + Price + + + + + + + + + ASBIE + Line Item. Item + The item of trade associated with this line item. + 1 + Line Item + Item + Item + Item + + + + + + + + + ASBIE + Line Item. Sub_ Line Item. Line Item + The subsidiary line items that constitute the main line item, such as in a bill of materials. + 0..n + Line Item + Sub + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Line Item. Warranty Validity_ Period. Period + The period during which the warranty associated with this line item is valid. + 0..1 + Line Item + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Line Item. Warranty_ Party. Party + The party responsible for any warranty associated with this line item. + 0..1 + Line Item + Warranty + Party + Party + Party + + + + + + + + + ASBIE + Line Item. Tax Total + A total amount of taxes of a particular kind applicable to this item. + 0..n + Line Item + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Line Item. Item_ Price Extension. Price Extension + The price extension, calculated by multiplying the price per unit by the quantity of items. + 0..1 + Line Item + Item + Price Extension + Price Extension + Price Extension + + + + + + + + + ASBIE + Line Item. Line Reference + A reference to a line in a document associated with this line item. + 0..n + Line Item + Line Reference + Line Reference + Line Reference + + + + + + + + + + + ABIE + Line Reference. Details + A class to define a reference to a line in a document. + Line Reference + + + + + + + + + BBIE + Line Reference. Line Identifier. Identifier + Identifies the referenced line in the document. + 1 + Line Reference + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Reference. UUID. Identifier + A universally unique identifier for this line reference. + 0..1 + Line Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Reference. Line Status Code. Code + A code signifying the status of the referenced line with respect to its original state. + 0..1 + Line Reference + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + ASBIE + Line Reference. Document Reference + A reference to the document containing the referenced line. + 0..1 + Line Reference + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Line Response. Details + A class to describe responses to a line in a document. + Line Response + + + + + + + + + ASBIE + Line Response. Line Reference + A reference to the line being responded to. + 1 + Line Response + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Line Response. Response + A response to the referenced line. + 1..n + Line Response + Response + Response + Response + + + + + + + + + + + ABIE + Location. Details + A class to describe a location. + Location + + + + + + + + + BBIE + Location. Identifier + An identifier for this location, e.g., the EAN Location Number, GLN. + 0..1 + Location + Identifier + Identifier + Identifier. Type + 5790002221134 + + + + + + + + + BBIE + Location. Description. Text + Text describing this location. + 0..n + Location + Description + Text + Text. Type + + + + + + + + + BBIE + Location. Conditions. Text + Free-form text describing the physical conditions of the location. + 0..n + Location + Conditions + Text + Text. Type + + + + + + + + + BBIE + Location. Country Subentity. Text + A territorial division of a country, such as a county or state, expressed as text. + 0..1 + Location + Country Subentity + Text + Text. Type + AdministrativeArea, State, Country, Shire, Canton + Florida , Tamilnadu + + + + + + + + + BBIE + Location. Country Subentity Code. Code + A territorial division of a country, such as a county or state, expressed as a code. + 0..1 + Location + Country Subentity Code + Code + Code. Type + AdministrativeAreaCode, State Code + + + + + + + + + BBIE + Location. Location Type Code. Code + A code signifying the type of location. + 0..1 + Location + Location Type Code + Code + Code. Type + + + + + + + + + BBIE + Location. Information_ URI. Identifier + The Uniform Resource Identifier (URI) of a document providing information about this location. + 0..1 + Location + Information + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Location. Name + The name of this location. + 0..1 + Location + Name + Name + Name. Type + winter 2005 collection + + + + + + + + + ASBIE + Location. Validity_ Period. Period + A period during which this location can be used (e.g., for delivery). + 0..n + Location + Validity + Period + Period + Period + + + + + + + + + ASBIE + Location. Address + The address of this location. + 0..1 + Location + Address + Address + Address + + + + + + + + + ASBIE + Location. Subsidiary_ Location. Location + A location subsidiary to this location. + 0..n + Location + Subsidiary + Location + Location + Location + + + + + + + + + ASBIE + Location. Location Coordinate + The geographical coordinates of this location. + 0..n + Location + Location Coordinate + Location Coordinate + Location Coordinate + + + + + + + + + + + ABIE + Location Coordinate. Details + A class for defining a set of geographical coordinates (apparently misnamed). + Location Coordinate + + + + + + + + + BBIE + Location Coordinate. Coordinate System Code. Code + A code signifying the location system used. + 0..1 + Location Coordinate + Coordinate System Code + Code + Code. Type + + + + + + + + + BBIE + Location Coordinate. Latitude_ Degrees. Measure + The degree component of a latitude measured in degrees and minutes. + 0..1 + Location Coordinate + Latitude + Degrees + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Latitude_ Minutes. Measure + The minutes component of a latitude measured in degrees and minutes (modulo 60). + 0..1 + Location Coordinate + Latitude + Minutes + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Latitude Direction Code. Code + A code signifying the direction of latitude measurement from the equator (north or south). + 0..1 + Location Coordinate + Latitude Direction Code + Code + Latitude Direction + Latitude Direction_ Code. Type + + + + + + + + + BBIE + Location Coordinate. Longitude_ Degrees. Measure + The degree component of a longitude measured in degrees and minutes. + 0..1 + Location Coordinate + Longitude + Degrees + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Longitude_ Minutes. Measure + The minutes component of a longitude measured in degrees and minutes (modulo 60). + 0..1 + Location Coordinate + Longitude + Minutes + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Longitude Direction Code. Code + A code signifying the direction of longitude measurement from the prime meridian (east or west). + 0..1 + Location Coordinate + Longitude Direction Code + Code + Longitude Direction + Longitude Direction_ Code. Type + + + + + + + + + BBIE + Location Coordinate. Altitude. Measure + The altitude of the location. + 0..1 + Location Coordinate + Altitude + Measure + Measure. Type + + + + + + + + + + + ABIE + Lot Identification. Details + A class for defining a lot identifier (the identifier of a set of item instances that would be used in case of a recall of that item). + Lot Identification + + + + + + + + + BBIE + Lot Identification. Lot Number. Identifier + An identifier for the lot. + 0..1 + Lot Identification + Lot Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Lot Identification. Expiry Date. Date + The expiry date of the lot. + 0..1 + Lot Identification + Expiry Date + Date + Date. Type + + + + + + + + + ASBIE + Lot Identification. Additional_ Item Property. Item Property + An additional property of the lot. + 0..n + Lot Identification + Additional + Item Property + Item Property + Item Property + + + + + + + + + + + ABIE + Maritime Transport. Details + A class to describe a vessel used for transport by water (including sea, river, and canal). + Maritime Transport + + + + + + + + + BBIE + Maritime Transport. Vessel Identifier. Identifier + An identifier for a specific vessel. + 0..1 + Maritime Transport + Vessel Identifier + Identifier + Identifier. Type + Lloyds Number, Registration Number (WCO ID 167) + International Maritime Organisation number of a vessel + + + + + + + + + BBIE + Maritime Transport. Vessel Name. Name + The name of the vessel. + 0..1 + Maritime Transport + Vessel Name + Name + Name. Type + Ships Name + + + + + + + + + BBIE + Maritime Transport. Radio Call Sign Identifier. Identifier + The radio call sign of the vessel. + 0..1 + Maritime Transport + Radio Call Sign Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Maritime Transport. Ships Requirements. Text + Information about what services a vessel will require when it arrives at a port, such as refueling, maintenance, waste disposal etc. + 0..n + Maritime Transport + Ships Requirements + Text + Text. Type + + + + + + + + + BBIE + Maritime Transport. Gross Tonnage. Measure + Gross tonnage is calculated by measuring a ship's volume (from keel to funnel, to the outside of the hull framing) and applying a mathematical formula and is used to determine things such as a ship's manning regulations, safety rules, registration fees and port dues. + 0..1 + Maritime Transport + Gross Tonnage + Measure + Measure. Type + + + + + + + + + BBIE + Maritime Transport. Net Tonnage. Measure + Net tonnage is calculated by measuring a ship's internal volume and applying a mathematical formula and is used to calculate the port duties. + 0..1 + Maritime Transport + Net Tonnage + Measure + Measure. Type + + + + + + + + + ASBIE + Maritime Transport. Registry Certificate_ Document Reference. Document Reference + The certificate issued to the ship by the ships registry in a given flag state. + 0..1 + Maritime Transport + Registry Certificate + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Maritime Transport. Registry Port_ Location. Location + The port in which a vessel is registered or permanently based. + 0..1 + Maritime Transport + Registry Port + Location + Location + Location + + + + + + + + + + + ABIE + Meter. Details + A class to describe a meter and its readings. + Meter + + + + + + + + + BBIE + Meter. Meter Number. Text + The meter number, expressed as text. + 0..1 + Meter + Meter Number + Text + Text. Type + 61722x + + + + + + + + + BBIE + Meter. Meter Name. Text + The name of this meter, which serves as an identifier to distinguish a main meter from a submeter. + 0..1 + Meter + Meter Name + Text + Text. Type + + + + + + + + + BBIE + Meter. Meter Constant. Text + The factor by which readings of this meter must be multiplied to calculate consumption, expressed as text. + 0..1 + Meter + Meter Constant + Text + Text. Type + 1.000 + + + + + + + + + BBIE + Meter. Meter Constant Code. Code + A code signifying the formula to be used in applying the meter constant. + 0..1 + Meter + Meter Constant Code + Code + Code. Type + Factor + + + + + + + + + BBIE + Meter. Total_ Delivered Quantity. Quantity + The quantity delivered; the total quantity consumed as calculated from the meter readings. + 0..1 + Meter + Total + Delivered Quantity + Quantity + Quantity. Type + 5761.00 + + + + + + + + + ASBIE + Meter. Meter Reading + A reading of this meter. + 0..n + Meter + Meter Reading + Meter Reading + Meter Reading + + + + + + + + + ASBIE + Meter. Meter Property + A property of this meter. + 0..n + Meter + Meter Property + Meter Property + Meter Property + + + + + + + + + + + ABIE + Meter Property. Details + The name of this meter property. + Meter Property + + + + + + + + + BBIE + Meter Property. Name + The name of this meter property, expressed as a code. + 0..1 + Meter Property + Name + Name + Name. Type + Energy Rating , Collar Size , Fat Content + + + + + + + + + BBIE + Meter Property. Name Code. Code + The value of this meter property, expressed as text. + 0..1 + Meter Property + Name Code + Code + Code. Type + + + + + + + + + BBIE + Meter Property. Value. Text + The value of this meter property, expressed as a quantity. + 0..1 + Meter Property + Value + Text + Text. Type + 100 watts , 15 European , 20% +/- 5% + + + + + + + + + BBIE + Meter Property. Value_ Quantity. Quantity + The value of this meter property, expressed as a quantity. + 0..1 + Meter Property + Value + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Meter Property. Value Qualifier. Text + An additional value to qualify the value of the meter + 0..n + Meter Property + Value Qualifier + Text + Text. Type + + + + + + + + + + + ABIE + Meter Reading. Details + A class to describe a meter reading. + Meter Reading + + + + + + + + + BBIE + Meter Reading. Identifier + An identifier for this meter reading. + 0..1 + Meter Reading + Identifier + Identifier + Identifier. Type + 7411013716x + + + + + + + + + BBIE + Meter Reading. Meter Reading Type. Text + The type of this meter reading, expressed as text. + 0..1 + Meter Reading + Meter Reading Type + Text + Text. Type + Electricity + + + + + + + + + BBIE + Meter Reading. Meter Reading Type Code. Code + The type of this meter reading, expressed as a code. + 0..1 + Meter Reading + Meter Reading Type Code + Code + Code. Type + Electricity + + + + + + + + + BBIE + Meter Reading. Previous_ Meter Reading Date. Date + The date of the previous meter reading. + 1 + Meter Reading + Previous + Meter Reading Date + Date + Date. Type + 2006-09-01 + + + + + + + + + BBIE + Meter Reading. Previous_ Meter Quantity. Quantity + The quantity of the previous meter reading. + 1 + Meter Reading + Previous + Meter Quantity + Quantity + Quantity. Type + 122604.00 + + + + + + + + + BBIE + Meter Reading. Latest_ Meter Reading Date. Date + The date of the latest meter reading. + 1 + Meter Reading + Latest + Meter Reading Date + Date + Date. Type + 2006-09-01 + + + + + + + + + BBIE + Meter Reading. Latest_ Meter Quantity. Quantity + The quantity of the latest meter reading. + 1 + Meter Reading + Latest + Meter Quantity + Quantity + Quantity. Type + 128365.00 + + + + + + + + + BBIE + Meter Reading. Previous Meter Reading_ Method. Text + The method used for the previous meter reading, expressed as text. + 0..1 + Meter Reading + Previous Meter Reading + Method + Text + Text. Type + Manuel + + + + + + + + + BBIE + Meter Reading. Previous Meter Reading_ Method Code. Code + The method used for the previous meter reading, expressed as a code. + 0..1 + Meter Reading + Previous Meter Reading + Method Code + Code + Code. Type + Estimated + + + + + + + + + BBIE + Meter Reading. Latest Meter Reading_ Method. Text + The method used for the latest meter reading, expressed as text. + 0..1 + Meter Reading + Latest Meter Reading + Method + Text + Text. Type + Manuel + + + + + + + + + BBIE + Meter Reading. Latest Meter Reading_ Method Code. Code + The method used for the latest meter reading, expressed as a code. + 0..1 + Meter Reading + Latest Meter Reading + Method Code + Code + Code. Type + Estimated + + + + + + + + + BBIE + Meter Reading. Meter Reading_ Comments. Text + Text containing comments on this meter reading. + 0..n + Meter Reading + Meter Reading + Comments + Text + Text. Type + The last stated meterstand is estimated + + + + + + + + + BBIE + Meter Reading. Delivered_ Quantity. Quantity + Consumption in the period from PreviousMeterReadingDate to LatestMeterReadingDate. + 1 + Meter Reading + Delivered + Quantity + Quantity + Quantity. Type + + + + + + + + + + + ABIE + Miscellaneous Event. Details + A class to describe a miscellaneous event associated with a retail event. + Miscellaneous Event + + + + + + + + + BBIE + Miscellaneous Event. Miscellaneous Event Type Code. Code + A code signifying the type of this miscellaneous event. Examples are: ASSORTMENT_CHARGE DISASTER FORECAST_DECREASE FORECAST_INCREASE FREIGHT_FLOW_ALLOCATION INVENTORY_POLICY_CHANGE LOCATION_CLOSING LOCATION_OPENING OTHER OUT_OF_STOCK PACKAGING_LABELING_CHANGE PRICE_DECREASE PRICE_INCREASE STORE_FORMAT_OR_PLANOGRAM_CHANGE TEST_MARKET WEATHER + 1 + Miscellaneous Event + Miscellaneous Event Type Code + Code + Code. Type + + + + + + + + + ASBIE + Miscellaneous Event. Event Line Item + An event line item for this miscellaneous retail event. + 1..n + Miscellaneous Event + Event Line Item + Event Line Item + Event Line Item + + + + + + + + + + + ABIE + Monetary Total. Details + A class to define a monetary total. + Monetary Total + + + + + + + + + BBIE + Monetary Total. Line Extension Amount. Amount + The monetary amount of an extended transaction line, net of tax and settlement discounts, but inclusive of any applicable rounding amount. + 0..1 + Monetary Total + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Tax Exclusive Amount. Amount + The monetary amount of an extended transaction line, exclusive of taxes. + 0..1 + Monetary Total + Tax Exclusive Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Tax Inclusive Amount. Amount + The monetary amount including taxes; the sum of payable amount and prepaid amount. + 0..1 + Monetary Total + Tax Inclusive Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Allowance_ Total Amount. Amount + The total monetary amount of all allowances. + 0..1 + Monetary Total + Allowance + Total Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Charge_ Total Amount. Amount + The total monetary amount of all charges. + 0..1 + Monetary Total + Charge + Total Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Prepaid Amount. Amount + The total prepaid monetary amount. + 0..1 + Monetary Total + Prepaid Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Rounding Amount. Amount + The rounding amount (positive or negative) added to produce the line extension amount. + 0..1 + Monetary Total + Payable + Rounding Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Amount. Amount + The amount of the monetary total to be paid. + 1 + Monetary Total + Payable + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Alternative Amount. Amount + The amount of the monetary total to be paid, expressed in an alternative currency. + 0..1 + Monetary Total + Payable + Alternative Amount + Amount + Amount. Type + + + + + + + + + + + ABIE + Notification Requirement. Details + A class to describe a notification requirement. + Notification Requirement + + + + + + + + + BBIE + Notification Requirement. Notification Type Code. Code + A code signifying the type of notification (e.g., pickup status). + 1 + Notification Requirement + Notification Type Code + Code + Code. Type + + + + + + + + + BBIE + Notification Requirement. Post Event Notification Duration. Measure + The length of time between the occurrence of a given event and the issuance of a notification. + 0..1 + Notification Requirement + Post Event Notification Duration + Measure + Measure. Type + + + + + + + + + BBIE + Notification Requirement. Pre Event Notification Duration. Measure + The length of time to elapse between the issuance of a notification and the occurrence of the event it relates to. + 0..1 + Notification Requirement + Pre Event Notification Duration + Measure + Measure. Type + + + + + + + + + ASBIE + Notification Requirement. Notify_ Party. Party + A party to be notified. + 0..n + Notification Requirement + Notify + Party + Party + Party + + + + + + + + + ASBIE + Notification Requirement. Notification_ Period. Period + A period during which a notification should be issued. + 0..n + Notification Requirement + Notification + Period + Period + Period + + + + + + + + + ASBIE + Notification Requirement. Notification_ Location. Location + A location at which a notification should be issued. + 0..n + Notification Requirement + Notification + Location + Location + Location + + + + + + + + + + + ABIE + On Account Payment. Details + A scheduled prepayment (on-account payment) for a estimated utility consumption + On Account Payment + + + + + + + + + BBIE + On Account Payment. Estimated_ Consumed Quantity. Quantity + The estimated consumed quantity covered by the payment. + 1 + On Account Payment + Estimated + Consumed Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + On Account Payment. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + On Account Payment + Note + Text + Text. Type + We make a reservation for price regulations. You will receive you next yearly statement about one year from today. + + + + + + + + + ASBIE + On Account Payment. Payment Terms + A specification of payment terms associated with this payment. + 1..n + On Account Payment + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + + + ABIE + Order Line. Details + A class to define a line in an order document (e.g., Order, Order Change, or Order Response) describing an item being ordered. + Order Line + + + + + + + + + BBIE + Order Line. Substitution Status Code. Code + A code signifying the substitution status of the item on this order line. The order line may indicate that the substitute is proposed by the buyer (in Order) or by the seller (in Order Response) or that a substitution has been made by the seller (in Order Response). + 0..1 + Order Line + Substitution Status Code + Code + Substitution Status + Substitution Status_ Code. Type + + + + + + + + + BBIE + Order Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Order Line + Note + Text + Text. Type + + + + + + + + + ASBIE + Order Line. Line Item + The line item itself. + 1 + Order Line + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Seller Proposed Substitute_ Line Item. Line Item + In Order Response, a line item proposed by the seller describing a product that might substitute for the product described in this order line. + 0..n + Order Line + Seller Proposed Substitute + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Seller Substituted_ Line Item. Line Item + In Order Response, a line item that has replaced the original order line item. The specified quantity and pricing may differ from those in the original line item, but when a line item is substituted by the seller, it is assumed that other information, such as shipment details, will remain the same. + 0..n + Order Line + Seller Substituted + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Buyer Proposed Substitute_ Line Item. Line Item + A description of an item proposed by the buyer as a possible alternative to the item associated with this order line. + 0..n + Order Line + Buyer Proposed Substitute + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Catalogue_ Line Reference. Line Reference + A reference to a catalogue line associated with this order line. + 0..1 + Order Line + Catalogue + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Order Line. Quotation_ Line Reference. Line Reference + A reference to a quotation line associated with this order line. + 0..1 + Order Line + Quotation + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Order Line. Order Line Reference + A reference to another order line, such as in a replacement order or another line on the same order that is related. + 0..n + Order Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Order Line. Document Reference + A reference to a document associated with this order line. + 0..n + Order Line + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Order Line Reference. Details + A class to define a reference to an order line. + Order Line Reference + + + + + + + + + BBIE + Order Line Reference. Line Identifier. Identifier + An identifier for the referenced order line, assigned by the buyer. + 1 + Order Line Reference + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. Sales Order_ Line Identifier. Identifier + An identifier for the referenced order line, assigned by the seller. + 0..1 + Order Line Reference + Sales Order + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. UUID. Identifier + A universally unique identifier for this order line reference. + 0..1 + Order Line Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. Line Status Code. Code + A code signifying the status of the referenced order line with respect to its original state. + 0..1 + Order Line Reference + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + ASBIE + Order Line Reference. Order Reference + A reference to the Order containing the referenced order line. + 0..1 + Order Line Reference + Order Reference + Order Reference + Order Reference + + + + + + + + + + + ABIE + Order Reference. Details + A class to define a reference to an Order. + Order Reference + + + + + + + + + BBIE + Order Reference. Identifier + An identifier for this order reference, assigned by the buyer. + 1 + Order Reference + Identifier + Identifier + Identifier. Type + PO-001 3333-44-123 + + + + + + + + + BBIE + Order Reference. Sales_ Order Identifier. Identifier + An identifier for this order reference, assigned by the seller. + 0..1 + Order Reference + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Reference. Copy_ Indicator. Indicator + Indicates whether the referenced Order is a copy (true) or the original (false). + 0..1 + Order Reference + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Reference. UUID. Identifier + A universally unique identifier for this order reference. + 0..1 + Order Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Reference. Issue Date. Date + The date on which the referenced Order was issued. + 0..1 + Order Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Reference. Issue Time. Time + The time at which the referenced Order was issued. + 0..1 + Order Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Reference. Customer_ Reference. Text + Text used for tagging purchasing card transactions. + 0..1 + Order Reference + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Reference. Order Type Code. Code + A code signifying the type of the referenced Order. + 0..1 + Order Reference + Order Type Code + Code + Code. Type + + + + + + + + + ASBIE + Order Reference. Document Reference + A document associated with this reference to an Order. + 0..1 + Order Reference + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Ordered Shipment. Details + A class to describe an ordered shipment. + Ordered Shipment + + + + + + + + + ASBIE + Ordered Shipment. Shipment + The ordered shipment. + 1 + Ordered Shipment + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Ordered Shipment. Package + A package in this ordered shipment. + 0..n + Ordered Shipment + Package + Package + Package + + + + + + + + + + + ABIE + Package. Details + A class to describe a package. + Package + + + + + + + + + BBIE + Package. Identifier + An identifier for this package. + 0..1 + Package + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Package. Quantity + The quantity of items contained in this package. + 0..1 + Package + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Package. Returnable Material_ Indicator. Indicator + An indicator that the packaging material is returnable (true) or not (false). + 0..1 + Package + Returnable Material + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Package. Package Level Code. Code + A code signifying a level of packaging. + 0..1 + Package + Package Level Code + Code + Code. Type + + + + + + + + + BBIE + Package. Packaging Type Code. Code + A code signifying a type of packaging. + 0..1 + Package + Packaging Type Code + Code + Packaging Type + Packaging Type_ Code. Type + Package classification code + + + + + + + + + BBIE + Package. Packing Material. Text + Text describing the packaging material. + 0..n + Package + Packing Material + Text + Text. Type + + + + + + + + + BBIE + Package. Trace_ Identifier. Identifier + An identifier for use in tracing this package, such as the EPC number used in RFID. + 0..1 + Package + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Package. Contained_ Package. Package + A package contained within this package. + 0..n + Package + Contained + Package + Package + Package + + + + + + + + + ASBIE + Package. Containing_ Transport Equipment. Transport Equipment + The piece of transport equipment containing this package. + 0..1 + Package + Containing + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Package. Goods Item + A goods item included in this package. + 0..n + Package + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Package. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this package. + 0..n + Package + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Package. Delivery Unit + A delivery unit within this package. + 0..n + Package + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Package. Delivery + The delivery of this package. + 0..1 + Package + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Package. Pickup + The pickup of this package. + 0..1 + Package + Pickup + Pickup + Pickup + + + + + + + + + ASBIE + Package. Despatch + The despatch of this package. + 0..1 + Package + Despatch + Despatch + Despatch + + + + + + + + + + + ABIE + Party. Details + A class to describe an organization, sub-organization, or individual fulfilling a role in a business process. + Party + + + + + + + + + BBIE + Party. Mark Care_ Indicator. Indicator + An indicator that this party is "care of" (c/o) (true) or not (false). + 0..1 + Party + Mark Care + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party. Mark Attention_ Indicator. Indicator + An indicator that this party is "for the attention of" (FAO) (true) or not (false). + 0..1 + Party + Mark Attention + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party. Website_ URI. Identifier + The Uniform Resource Identifier (URI) that identifies this party's web site; i.e., the web site's Uniform Resource Locator (URL). + 0..1 + Party + Website + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Party. Logo Reference. Identifier + An identifier for this party's logo. + 0..1 + Party + Logo Reference + Identifier + Identifier. Type + http://www2.coca-cola.com/images/logo.gif + + + + + + + + + BBIE + Party. Endpoint Identifier. Identifier + An identifier for the end point of the routing service (e.g., EAN Location Number, GLN). + 0..1 + Party + Endpoint Identifier + Identifier + Identifier. Type + 5790002221134 + + + + + + + + + BBIE + Party. Industry Classification Code. Code + This party's Industry Classification Code. + 0..1 + Party + Industry Classification Code + Code + Code. Type + Public authority , NAIC codes + + + + + + + + + ASBIE + Party. Party Identification + An identifier for this party. + 0..n + Party + Party Identification + Party Identification + Party Identification + + + + + + + + + ASBIE + Party. Party Name + A name for this party. + 0..n + Party + Party Name + Party Name + Party Name + + + + + + + + + ASBIE + Party. Language + The language associated with this party. + 0..1 + Party + Language + Language + Language + + + + + + + + + ASBIE + Party. Postal_ Address. Address + The party's postal address. + 0..1 + Party + Postal + Address + Address + Address + + + + + + + + + ASBIE + Party. Physical_ Location. Location + The physical location of this party. + 0..1 + Party + Physical + Location + Location + Location + + + + + + + + + ASBIE + Party. Party Tax Scheme + A tax scheme applying to this party. + 0..n + Party + Party Tax Scheme + Party Tax Scheme + Party Tax Scheme + + + + + + + + + ASBIE + Party. Party Legal Entity + A description of this party as a legal entity. + 0..n + Party + Party Legal Entity + Party Legal Entity + Party Legal Entity + + + + + + + + + ASBIE + Party. Contact + The primary contact for this party. + 0..1 + Party + Contact + Contact + Contact + + + + + + + + + ASBIE + Party. Person + A person associated with this party. + 0..n + Party + Person + Person + Person + + + + + + + + + ASBIE + Party. Agent_ Party. Party + A party who acts as an agent for this party. + 0..1 + Party + Agent + Party + Party + Party + Customs Broker + + + + + + + + + ASBIE + Party. Service Provider Party + A party providing a service to this party. + 0..n + Party + Service Provider Party + Service Provider Party + Service Provider Party + + + + + + + + + ASBIE + Party. Power Of Attorney + A power of attorney associated with this party. + 0..n + Party + Power Of Attorney + Power Of Attorney + Power Of Attorney + + + + + + + + + ASBIE + Party. Financial Account + The financial account associated with this party. + 0..1 + Party + Financial Account + Financial Account + Financial Account + + + + + + + + + + + ABIE + Party Identification. Details + A class to define an identifier for a party. + Party Identification + + + + + + + + + BBIE + Party Identification. Identifier + An identifier for the party. + 1 + Party Identification + Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Party Legal Entity. Details + A class to describe a party as a legal entity. + Party Legal Entity + + + + + + + + + BBIE + Party Legal Entity. Registration_ Name. Name + The name of the party as registered with the relevant legal authority. + 0..1 + Party Legal Entity + Registration + Name + Name + Name. Type + Microsoft Corporation + + + + + + + + + BBIE + Party Legal Entity. Company Identifier. Identifier + An identifier for the party as registered within a company registration scheme. + 0..1 + Party Legal Entity + Company Identifier + Identifier + Identifier. Type + Business Registration Number, Company Number + 3556625 + + + + + + + + + BBIE + Party Legal Entity. Registration_ Date. Date + The registration date of the CompanyID. + 0..1 + Party Legal Entity + Registration + Date + Date + Date. Type + + + + + + + + + BBIE + Party Legal Entity. Registration Expiration_ Date. Date + The date upon which a registration expires (e.g., registration for an import/export license). + 0..1 + Party Legal Entity + Registration Expiration + Date + Date + Date. Type + + + + + + + + + BBIE + Party Legal Entity. Company Legal Form Code. Code + A code signifying the party's legal status. + 0..1 + Party Legal Entity + Company Legal Form Code + Code + Code. Type + Legal Status + + + + + + + + + BBIE + Party Legal Entity. Company Legal Form. Text + The company legal status, expressed as a text. + 0..1 + Party Legal Entity + Company Legal Form + Text + Text. Type + + + + + + + + + BBIE + Party Legal Entity. Sole Proprietorship Indicator. Indicator + An indicator that the company is owned and controlled by one person (true) or not (false). + 0..1 + Party Legal Entity + Sole Proprietorship Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party Legal Entity. Company Liquidation Status Code. Code + A code signifying the party's liquidation status. + 0..1 + Party Legal Entity + Company Liquidation Status Code + Code + Code. Type + + + + + + + + + BBIE + Party Legal Entity. Corporate Stock_ Amount. Amount + The number of shares in the capital stock of a corporation. + 0..1 + Party Legal Entity + Corporate Stock + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Party Legal Entity. Fully Paid Shares Indicator. Indicator + An indicator that all shares of corporate stock have been paid by shareholders (true) or not (false). + 0..1 + Party Legal Entity + Fully Paid Shares Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Party Legal Entity. Registration_ Address. Address + The registered address of the party within a corporate registration scheme. + 0..1 + Party Legal Entity + Registration + Address + Address + Address + + + + + + + + + ASBIE + Party Legal Entity. Corporate Registration Scheme + The corporate registration scheme used to register the party. + 0..1 + Party Legal Entity + Corporate Registration Scheme + Corporate Registration Scheme + Corporate Registration Scheme + + + + + + + + + ASBIE + Party Legal Entity. Head Office_ Party. Party + The head office of the legal entity + 0..1 + Party Legal Entity + Head Office + Party + Party + Party + + + + + + + + + ASBIE + Party Legal Entity. Shareholder Party + A party owning shares in this legal entity. + 0..n + Party Legal Entity + Shareholder Party + Shareholder Party + Shareholder Party + + + + + + + + + + + ABIE + Party Name. Details + A class for defining the name of a party. + Party Name + + + + + + + + + BBIE + Party Name. Name + The name of the party. + 1 + Party Name + Name + Name + Name. Type + Microsoft + + + + + + + + + + + ABIE + Party Tax Scheme. Details + A class to describe a taxation scheme applying to a party. + Party Tax Scheme + + + + + + + + + BBIE + Party Tax Scheme. Registration_ Name. Name + The name of the party as registered with the relevant fiscal authority. + 0..1 + Party Tax Scheme + Registration + Name + Name + Name. Type + Microsoft Corporation + + + + + + + + + BBIE + Party Tax Scheme. Company Identifier. Identifier + An identifier for the party assigned for tax purposes by the taxation authority. + 0..1 + Party Tax Scheme + Company Identifier + Identifier + Identifier. Type + VAT Number + 3556625 + + + + + + + + + BBIE + Party Tax Scheme. Tax Level Code. Code + A code signifying the tax level applicable to the party within this taxation scheme. + 0..1 + Party Tax Scheme + Tax Level Code + Code + Code. Type + + + + + + + + + BBIE + Party Tax Scheme. Exemption Reason Code. Code + A reason for the party's exemption from tax, expressed as a code. + 0..1 + Party Tax Scheme + Exemption Reason Code + Code + Code. Type + + + + + + + + + BBIE + Party Tax Scheme. Exemption_ Reason. Text + A reason for the party's exemption from tax, expressed as text. + 0..n + Party Tax Scheme + Exemption + Reason + Text + Text. Type + + + + + + + + + ASBIE + Party Tax Scheme. Registration_ Address. Address + The address of the party as registered for tax purposes. + 0..1 + Party Tax Scheme + Registration + Address + Address + Address + + + + + + + + + ASBIE + Party Tax Scheme. Tax Scheme + The taxation scheme applicable to the party. + 1 + Party Tax Scheme + Tax Scheme + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Payment. Details + A class to describe a payment. + Payment + + + + + + + + + BBIE + Payment. Identifier + An identifier for this payment. + 0..1 + Payment + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment. Paid_ Amount. Amount + The amount of this payment. + 0..1 + Payment + Paid + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment. Received_ Date. Date + The date on which this payment was received. + 0..1 + Payment + Received + Date + Date + Date. Type + + + + + + + + + BBIE + Payment. Paid_ Date. Date + The date on which this payment was made. + 0..1 + Payment + Paid + Date + Date + Date. Type + + + + + + + + + BBIE + Payment. Paid_ Time. Time + The time at which this payment was made. + 0..1 + Payment + Paid + Time + Time + Time. Type + + + + + + + + + BBIE + Payment. Instruction Identifier. Identifier + An identifier for the payment instruction. + 0..1 + Payment + Instruction Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Payment Mandate. Details + A class to describe a payment mandate. + Payment Mandate + + + + + + + + + BBIE + Payment Mandate. Identifier + An identifier for this payment mandate. + 0..1 + Payment Mandate + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Mandate. Mandate Type Code. Code + A code signifying the type of this payment mandate. + 0..1 + Payment Mandate + Mandate Type Code + Code + Code. Type + + + + + + + + + BBIE + Payment Mandate. Maximum Payment Instructions. Numeric + The number of maximum payment instructions allowed within the validity period. + 0..1 + Payment Mandate + Maximum Payment Instructions + Numeric + Numeric. Type + + + + + + + + + BBIE + Payment Mandate. Maximum_ Paid Amount. Amount + The maximum amount to be paid within a single instruction. + 0..1 + Payment Mandate + Maximum + Paid Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Mandate. Signature Identifier. Identifier + An identifier for a signature applied by a signatory party. + 0..1 + Payment Mandate + Signature Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Payment Mandate. Payer_ Party. Party + The payer party (if different from the debtor). + 0..1 + Payment Mandate + Payer + Party + Party + Party + + + + + + + + + ASBIE + Payment Mandate. Payer_ Financial Account. Financial Account + The payer's financial account. + 0..1 + Payment Mandate + Payer + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Mandate. Validity_ Period. Period + The period during which this mandate is valid. + 0..1 + Payment Mandate + Validity + Period + Period + Period + + + + + + + + + ASBIE + Payment Mandate. Payment Reversal_ Period. Period + The period of the reverse payment. + 0..1 + Payment Mandate + Payment Reversal + Period + Period + Period + + + + + + + + + ASBIE + Payment Mandate. Clause + A clause applicable to this payment mandate. + 0..n + Payment Mandate + Clause + Clause + Clause + + + + + + + + + + + ABIE + Payment Means. Details + A class to describe a means of payment. + Payment Means + + + + + + + + + BBIE + Payment Means. Identifier + An identifier for this means of payment. + 0..1 + Payment Means + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Means. Payment Means Code. Code + A code signifying the type of this means of payment. + 1 + Payment Means + Payment Means Code + Code + Payment Means + Payment Means_ Code. Type + + + + + + + + + BBIE + Payment Means. Payment Due Date. Date + The date on which payment is due for this means of payment. + 0..1 + Payment Means + Payment Due Date + Date + Date. Type + + + + + + + + + BBIE + Payment Means. Payment Channel Code. Code + A code signifying the payment channel for this means of payment. + 0..1 + Payment Means + Payment Channel Code + Code + Code. Type + + + + + + + + + BBIE + Payment Means. Instruction Identifier. Identifier + An identifier for the payment instruction. + 0..1 + Payment Means + Instruction Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Means. Instruction_ Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Payment Means + Instruction + Note + Text + Text. Type + + + + + + + + + BBIE + Payment Means. Payment Identifier. Identifier + An identifier for a payment made using this means of payment. + 0..n + Payment Means + Payment Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Payment Means. Card Account + A credit card, debit card, or charge card account that constitutes this means of payment. + 0..1 + Payment Means + Card Account + Card Account + Card Account + + + + + + + + + ASBIE + Payment Means. Payer_ Financial Account. Financial Account + The payer's financial account. + 0..1 + Payment Means + Payer + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Means. Payee_ Financial Account. Financial Account + The payee's financial account. + 0..1 + Payment Means + Payee + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Means. Credit Account + A credit account associated with this means of payment. + 0..1 + Payment Means + Credit Account + Credit Account + Credit Account + + + + + + + + + ASBIE + Payment Means. Payment Mandate + The payment mandate associated with this means of payment. + 0..1 + Payment Means + Payment Mandate + Payment Mandate + Payment Mandate + + + + + + + + + ASBIE + Payment Means. Trade Financing + A trade finance agreement applicable to this means of payment. + 0..1 + Payment Means + Trade Financing + Trade Financing + Trade Financing + + + + + + + + + + + ABIE + Payment Terms. Details + A class to describe a set of payment terms. + Payment Terms + + + + + + + + + BBIE + Payment Terms. Identifier + An identifier for this set of payment terms. + 0..1 + Payment Terms + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Payment Means Identifier. Identifier + An identifier for a means of payment associated with these payment terms. + 0..n + Payment Terms + Payment Means Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Prepaid Payment Reference Identifier. Identifier + An identifier for a reference to a prepaid payment. + 0..1 + Payment Terms + Prepaid Payment Reference Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Payment Terms + Note + Text + Text. Type + + + + + + + + + BBIE + Payment Terms. Reference_ Event Code. Code + A code signifying the event during which these terms are offered. + 0..1 + Payment Terms + Reference + Event Code + Code + Code. Type + + + + + + + + + BBIE + Payment Terms. Settlement_ Discount Percent. Percent + The percentage for the settlement discount that is offered for payment under these payment terms. + 0..1 + Payment Terms + Settlement + Discount Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Penalty_ Surcharge Percent. Percent + The penalty for payment after the settlement period, expressed as a percentage of the payment. + 0..1 + Payment Terms + Penalty + Surcharge Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Payment Percent. Percent + The part of a payment, expressed as a percent, relevant for these payment terms. + 0..1 + Payment Terms + Payment Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Amount + The monetary amount covered by these payment terms. + 0..1 + Payment Terms + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Terms. Settlement_ Discount Amount. Amount + The amount of a settlement discount offered for payment under these payment terms. + 0..1 + Payment Terms + Settlement + Discount Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Terms. Penalty_ Amount. Amount + The monetary amount of the penalty for payment after the settlement period. + 0..1 + Payment Terms + Penalty + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Terms. Payment Terms Details URI. Identifier + The Uniform Resource Identifier (URI) of a document providing additional details regarding these payment terms. + 0..1 + Payment Terms + Payment Terms Details URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Payment Due Date. Date + The due date for these payment terms. + 0..1 + Payment Terms + Payment Due Date + Date + Date. Type + + + + + + + + + BBIE + Payment Terms. Installment Due Date. Date + The due date for an installment payment for these payment terms. + 0..1 + Payment Terms + Installment Due Date + Date + Date. Type + + + + + + + + + BBIE + Payment Terms. Invoicing Party_ Reference. Text + A reference to the payment terms used by the invoicing party. This may have been requested of the payer by the payee to accompany its remittance. + 0..1 + Payment Terms + Invoicing Party + Reference + Text + Text. Type + + + + + + + + + ASBIE + Payment Terms. Settlement_ Period. Period + The period during which settlement may occur. + 0..1 + Payment Terms + Settlement + Period + Period + Period + + + + + + + + + ASBIE + Payment Terms. Penalty_ Period. Period + The period during which penalties may apply. + 0..1 + Payment Terms + Penalty + Period + Period + Period + + + + + + + + + ASBIE + Payment Terms. Exchange Rate + The currency exchange rate for purposes of these payment terms. + 0..1 + Payment Terms + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Payment Terms. Validity_ Period. Period + The period during which these payment terms are valid. + 0..1 + Payment Terms + Validity + Period + Period + Period + + + + + + + + + + + ABIE + Performance Data Line. Details + A class to define a line in a Performance History. + Performance Data Line + + + + + + + + + BBIE + Performance Data Line. Identifier + An identifier for this performance data line. + 1 + Performance Data Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Performance Data Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Performance Data Line + Note + Text + Text. Type + + + + + + + + + BBIE + Performance Data Line. Performance Value. Quantity + The value of the reported attribute. + 1 + Performance Data Line + Performance Value + Quantity + Quantity. Type + + + + + + + + + BBIE + Performance Data Line. Performance Metric Type Code. Code + A code signifying the measure of performance applicable to the reported attribute. + 1 + Performance Data Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Performance Data Line. Period + The period to which this performance data line applies. + 0..1 + Performance Data Line + Period + Period + Period + + + + + + + + + ASBIE + Performance Data Line. Item + The item whose performance is reported in this data line. + 0..1 + Performance Data Line + Item + Item + Item + + + + + + + + + + + ABIE + Period. Details + A class to describe a period of time. + Period + + + + + + + + + BBIE + Period. Start Date. Date + The date on which this period begins. + 0..1 + Period + Start Date + Date + Date. Type + + + + + + + + + BBIE + Period. Start Time. Time + The time at which this period begins. + 0..1 + Period + Start Time + Time + Time. Type + + + + + + + + + BBIE + Period. End Date. Date + The date on which this period ends. + 0..1 + Period + End Date + Date + Date. Type + + + + + + + + + BBIE + Period. End Time. Time + The time at which this period ends. + 0..1 + Period + End Time + Time + Time. Type + + + + + + + + + BBIE + Period. Duration. Measure + The duration of this period, expressed as an ISO 8601 code. + 0..1 + Period + Duration + Measure + Measure. Type + + + + + + + + + BBIE + Period. Description Code. Code + A description of this period, expressed as a code. + 0..n + Period + Description Code + Code + Code. Type + + + + + + + + + BBIE + Period. Description. Text + A description of this period, expressed as text. + 0..n + Period + Description + Text + Text. Type + + + + + + + + + + + ABIE + Person. Details + A class to describe a person. + Person + + + + + + + + + BBIE + Person. Identifier + An identifier for this person. + 0..1 + Person + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Person. First_ Name. Name + This person's given name. + 0..1 + Person + First + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Family_ Name. Name + This person's family name. + 0..1 + Person + Family + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Title. Text + This person's title of address (e.g., Mr, Ms, Dr, Sir). + 0..1 + Person + Title + Text + Text. Type + + + + + + + + + BBIE + Person. Middle_ Name. Name + This person's middle name(s) or initials. + 0..1 + Person + Middle + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Other_ Name. Name + This person's second family name. + 0..1 + Person + Other + Name + Name + Name. Type + Delivery Dock + + + + + + + + + BBIE + Person. Name Suffix. Text + A suffix to this person's name (e.g., PhD, OBE, Jr). + 0..1 + Person + Name Suffix + Text + Text. Type + + + + + + + + + BBIE + Person. Job Title. Text + This person's job title (for a particular role) within an organization. + 0..1 + Person + Job Title + Text + Text. Type + + + + + + + + + BBIE + Person. Nationality. Identifier + An identifier for this person's nationality. + 0..1 + Person + Nationality + Identifier + Identifier. Type + + + + + + + + + BBIE + Person. Gender Code. Code + A code (e.g., ISO 5218) signifying the gender of this person. + 0..1 + Person + Gender Code + Code + Code. Type + + + + + + + + + BBIE + Person. Birth Date. Date + This person's date of birth. + 0..1 + Person + Birth Date + Date + Date. Type + + + + + + + + + BBIE + Person. Birthplace Name. Text + The name of the place where this person was born, expressed as text. + 0..1 + Person + Birthplace Name + Text + Text. Type + + + + + + + + + BBIE + Person. Organization_ Department. Text + The department or subdivision of an organization that this person belongs to (in a particular role). + 0..1 + Person + Organization + Department + Text + Text. Type + + + + + + + + + ASBIE + Person. Contact + Contact information for this person. + 0..1 + Person + Contact + Contact + Contact + + + + + + + + + ASBIE + Person. Financial Account + The financial account associated with this person. + 0..1 + Person + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Person. Identity_ Document Reference. Document Reference + A reference to a document that can precisely identify this person (e.g., a driver's license). + 0..n + Person + Identity + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Person. Residence_ Address. Address + This person's address of residence. + 0..1 + Person + Residence + Address + Address + Address + + + + + + + + + + + ABIE + Physical Attribute. Details + A class to describe a physical attribute. + Physical Attribute + + + + + + + + + BBIE + Physical Attribute. Attribute Identifier. Identifier + An identifier for this physical attribute. + 1 + Physical Attribute + Attribute Identifier + Identifier + Identifier. Type + colour style + + + + + + + + + BBIE + Physical Attribute. Position Code. Code + A code signifying the position of this physical attribute. + 0..1 + Physical Attribute + Position Code + Code + Code. Type + + + + + + + + + BBIE + Physical Attribute. Description Code. Code + A description of the physical attribute, expressed as a code. + 0..1 + Physical Attribute + Description Code + Code + Code. Type + XXL , Small + + + + + + + + + BBIE + Physical Attribute. Description. Text + A description of the physical attribute, expressed as text. + 0..n + Physical Attribute + Description + Text + Text. Type + + + + + + + + + + + ABIE + Pickup. Details + A class to describe a pickup for delivery. + Pickup + Collection + + + + + + + + + BBIE + Pickup. Identifier + An identifier for this pickup. + 0..1 + Pickup + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Pickup. Actual_ Pickup Date. Date + The actual pickup date. + 0..1 + Pickup + Actual + Pickup Date + Date + Date. Type + + + + + + + + + BBIE + Pickup. Actual_ Pickup Time. Time + The actual pickup time. + 0..1 + Pickup + Actual + Pickup Time + Time + Time. Type + + + + + + + + + BBIE + Pickup. Earliest_ Pickup Date. Date + The earliest pickup date. + 0..1 + Pickup + Earliest + Pickup Date + Date + Date. Type + + + + + + + + + BBIE + Pickup. Earliest_ Pickup Time. Time + The earliest pickup time. + 0..1 + Pickup + Earliest + Pickup Time + Time + Time. Type + + + + + + + + + BBIE + Pickup. Latest_ Pickup Date. Date + The latest pickup date. + 0..1 + Pickup + Latest + Pickup Date + Date + Date. Type + + + + + + + + + BBIE + Pickup. Latest_ Pickup Time. Time + The latest pickup time. + 0..1 + Pickup + Latest + Pickup Time + Time + Time. Type + + + + + + + + + ASBIE + Pickup. Pickup_ Location. Location + The pickup location. + 0..1 + Pickup + Pickup + Location + Location + Location + + + + + + + + + ASBIE + Pickup. Pickup_ Party. Party + The party responsible for picking up a delivery. + 0..1 + Pickup + Pickup + Party + Party + Party + + + + + + + + + + + ABIE + Power Of Attorney. Details + A class to describe a power of attorney. + Power Of Attorney + + + + + + + + + BBIE + Power Of Attorney. Identifier + An identifier for this power of attorney. + 0..1 + Power Of Attorney + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Power Of Attorney. Issue Date. Date + The date on which this power of attorney was issued. + 0..1 + Power Of Attorney + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Power Of Attorney. Issue Time. Time + The time at which this power of attorney was issued. + 0..1 + Power Of Attorney + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Power Of Attorney. Description. Text + Text describing this power of attorney. + 0..n + Power Of Attorney + Description + Text + Text. Type + + + + + + + + + ASBIE + Power Of Attorney. Notary_ Party. Party + The party notarizing this power of attorney. + 0..1 + Power Of Attorney + Notary + Party + Party + Party + + + + + + + + + ASBIE + Power Of Attorney. Agent_ Party. Party + The party who acts as an agent or fiduciary for the principal and who holds this power of attorney on behalf of the principal. + 1 + Power Of Attorney + Agent + Party + Party + Party + + + + + + + + + ASBIE + Power Of Attorney. Witness_ Party. Party + An association to a WitnessParty. + 0..n + Power Of Attorney + Witness + Party + Party + Party + + + + + + + + + ASBIE + Power Of Attorney. Mandate_ Document Reference. Document Reference + A reference to a mandate associated with this power of attorney. + 0..n + Power Of Attorney + Mandate + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Price. Details + A class to describe a price, expressed in a data structure containing multiple properties (compare with UnstructuredPrice). + Price + + + + + + + + + BBIE + Price. Price Amount. Amount + The amount of the price. + 1 + Price + Price Amount + Amount + Amount. Type + unit price + 23.45 + + + + + + + + + BBIE + Price. Base_ Quantity. Quantity + The quantity at which this price applies. + 0..1 + Price + Base + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Price. Price Change_ Reason. Text + A reason for a price change. + 0..n + Price + Price Change + Reason + Text + Text. Type + Clearance of old stock , New contract applies + + + + + + + + + BBIE + Price. Price Type Code. Code + The type of price, expressed as a code. + 0..1 + Price + Price Type Code + Code + Code. Type + + + + + + + + + BBIE + Price. Price Type. Text + The type of price, expressed as text. + 0..1 + Price + Price Type + Text + Text. Type + retail, wholesale, discount, contract + + + + + + + + + BBIE + Price. Orderable Unit Factor. Rate + The factor by which the base price unit can be converted to the orderable unit. + 0..1 + Price + Orderable Unit Factor + Rate + Rate. Type + Nails are priced by weight but ordered by quantity. So this would say how many nails per kilo + + + + + + + + + ASBIE + Price. Validity_ Period. Period + A period during which this price is valid. + 0..n + Price + Validity + Period + Period + Period + + + + + + + + + ASBIE + Price. Price List + Information about a price list applicable to this price. + 0..1 + Price + Price List + Price List + Price List + + + + + + + + + ASBIE + Price. Allowance Charge + An allowance or charge associated with this price. + 0..n + Price + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Price. Pricing_ Exchange Rate. Exchange Rate + The exchange rate applicable to this price, if it differs from the exchange rate applicable to the document as a whole. + 0..1 + Price + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Price Extension. Details + A class to describe a price extension, calculated by multiplying the price per unit by the quantity of items. + Price Extension + + + + + + + + + BBIE + Price Extension. Amount + The amount of this price extension. + 1 + Price Extension + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Price Extension. Tax Total + A total amount of taxes of a particular kind applicable to this price extension. + 0..n + Price Extension + Tax Total + Tax Total + Tax Total + + + + + + + + + + + ABIE + Price List. Details + A class to describe a price list. + Price List + + + + + + + + + BBIE + Price List. Identifier + An identifier for this price list. + 0..1 + Price List + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Price List. Status Code. Code + A code signifying whether this price list is an original, copy, revision, or cancellation. + 0..1 + Price List + Status Code + Code + Code. Type + new - announcement only , new and available , deleted - announcement only + + + + + + + + + ASBIE + Price List. Validity_ Period. Period + A period during which this price list is valid. + 0..n + Price List + Validity + Period + Period + Period + + + + + + + + + ASBIE + Price List. Previous_ Price List. Price List + The previous price list. + 0..1 + Price List + Previous + Price List + Price List + Price List + + + + + + + + + + + ABIE + Pricing Reference. Details + A reference to the basis for pricing. This may be based on a catalogue or a quoted amount from a price list and include some alternative pricing conditions. + Pricing Reference + + + + + + + + + ASBIE + Pricing Reference. Original_ Item Location Quantity. Item Location Quantity + An original set of location-specific properties (e.g., price and quantity) associated with this item. + 0..1 + Pricing Reference + Original + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Pricing Reference. Alternative Condition_ Price. Price + The price expressed in terms other than the actual price, e.g., the list price v. the contracted price, or the price in bags v. the price in kilos, or the list price in bags v. the contracted price in kilos. + 0..n + Pricing Reference + Alternative Condition + Price + Price + Price + + + + + + + + + + + ABIE + Process Justification. Details + A class to describe a justification for the choice of tendering process. + Process Justification + + + + + + + + + BBIE + Process Justification. Previous_ Cancellation Reason Code. Code + A code signifying the type of the previous tendering process (which is now being cancelled). + 0..1 + Process Justification + Previous + Cancellation Reason Code + Code + Code. Type + + + + + + + + + BBIE + Process Justification. Process_ Reason Code. Code + The reason why the contracting authority has followed a particular tendering procedure for the awarding of a contract, expressed as a code. + 0..1 + Process Justification + Process + Reason Code + Code + Code. Type + + + + + + + + + BBIE + Process Justification. Process_ Reason. Text + The reason why the contracting authority has followed a particular tendering procedure for the awarding of a contract, expressed as text. + 0..n + Process Justification + Process + Reason + Text + Text. Type + + + + + + + + + BBIE + Process Justification. Description. Text + Text providing justification for the selection of this process. + 0..n + Process Justification + Description + Text + Text. Type + + + + + + + + + + + ABIE + Procurement Project. Details + A class to describe a project to procure goods, works, or services. + Procurement Project + + + + + + + + + BBIE + Procurement Project. Identifier + An identifier for this procurement project. + 0..1 + Procurement Project + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Procurement Project. Name + A name of this procurement project. + 1..n + Procurement Project + Name + Name + Name. Type + + + + + + + + + BBIE + Procurement Project. Description. Text + Text describing this procurement project. + 0..n + Procurement Project + Description + Text + Text. Type + + + + + + + + + BBIE + Procurement Project. Procurement_ Type Code. Code + A code signifying the type of procurement project (e.g., goods, works, services). + 0..1 + Procurement Project + Procurement + Type Code + Code + Code. Type + + + + + + + + + BBIE + Procurement Project. Procurement Sub_ Type Code. Code + A code signifying the subcategory of the type of work for this project (e.g., land surveying, IT consulting). + 0..1 + Procurement Project + Procurement Sub + Type Code + Code + Code. Type + + + + + + + + + BBIE + Procurement Project. Quality Control Code. Code + The indication of whether or not the control quality is included in the works project. + 0..1 + Procurement Project + Quality Control Code + Code + Code. Type + + + + + + + + + BBIE + Procurement Project. Required_ Fee. Amount + The amount of the reimbursement fee for concession procurement projects. + 0..1 + Procurement Project + Required + Fee + Amount + Amount. Type + + + + + + + + + BBIE + Procurement Project. Fee_ Description. Text + Text describing the reimbursement fee for concession procurement projects. + 0..n + Procurement Project + Fee + Description + Text + Text. Type + + + + + + + + + BBIE + Procurement Project. Requested_ Delivery Date. Date + The requested delivery date for this procurement project. + 0..1 + Procurement Project + Requested + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Procurement Project. Estimated_ Overall Contract. Quantity + The estimated overall quantity for this procurement project. + 0..1 + Procurement Project + Estimated + Overall Contract + Quantity + Quantity. Type + + + + + + + + + BBIE + Procurement Project. Note. Text + Free-form text applying to the Procurement Project. This element may contain additional information about the lot/contract that is not contained explicitly in another structure. + 0..n + Procurement Project + Note + Text + Text. Type + + + + + + + + + ASBIE + Procurement Project. Requested Tender Total + Budget monetary amounts for the project as whole. + 0..1 + Procurement Project + Requested Tender Total + Requested Tender Total + Requested Tender Total + + + + + + + + + ASBIE + Procurement Project. Main_ Commodity Classification. Commodity Classification + An association to the main classification category for the deliverable requested. + 0..1 + Procurement Project + Main + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Procurement Project. Additional_ Commodity Classification. Commodity Classification + An association to additional classification categories for the deliverable requested. + 0..n + Procurement Project + Additional + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Procurement Project. Realized_ Location. Location + A place where this procurement project will be physically realized. + 0..n + Procurement Project + Realized + Location + Location + Location + + + + + + + + + ASBIE + Procurement Project. Planned_ Period. Period + The period during which this procurement project is planned to take place. + 0..1 + Procurement Project + Planned + Period + Period + Period + + + + + + + + + ASBIE + Procurement Project. Contract Extension + The contract extension for this tendering process. + 0..1 + Procurement Project + Contract Extension + Contract Extension + Contract Extension + + + + + + + + + ASBIE + Procurement Project. Request For Tender Line + A good or service this project is intended to procure. + 0..n + Procurement Project + Request For Tender Line + Request For Tender Line + Request For Tender Line + + + + + + + + + + + ABIE + Procurement Project Lot. Details + A class to describe one of the parts of a procurement project that is being subdivided to allow the contracting party to award different lots to different economic operators under different contracts. + Procurement Project Lot + + + + + + + + + BBIE + Procurement Project Lot. Identifier + An identifier for this procurement project lot. + 1 + Procurement Project Lot + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Procurement Project Lot. Tendering Terms + Tendering terms for this procurement project lot. + 0..1 + Procurement Project Lot + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Procurement Project Lot. Procurement Project + A description of the procurement project to be divided. + 0..1 + Procurement Project Lot + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + + + ABIE + Project Reference. Details + A class to define a reference to a procurement project. + Project Reference + + + + + + + + + BBIE + Project Reference. Identifier + An identifier for the referenced project. + 1 + Project Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Project Reference. UUID. Identifier + A universally unique identifier for the referenced project. + 0..1 + Project Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Project Reference. Issue Date. Date + The date on which the referenced project was issued. + 0..1 + Project Reference + Issue Date + Date + Date. Type + + + + + + + + + ASBIE + Project Reference. Work Phase Reference + A specific phase of work in the referenced project. + 0..n + Project Reference + Work Phase Reference + Work Phase Reference + Work Phase Reference + + + + + + + + + + + ABIE + Promotional Event. Details + Agree can be renamed as PromotionalEvents + Promotional Event + + + + + + + + + BBIE + Promotional Event. Promotional Event Type Code. Code + A code signifying the type of this promotional event. Examples can be: Holiday, Seasonal Event, Store Closing, Trade Item Introduction + 1 + Promotional Event + Promotional Event Type Code + Code + Code. Type + + + + + + + + + BBIE + Promotional Event. Submission. Date + The date on which a proposal for this promotional event was submitted. + 0..1 + Promotional Event + Submission + Date + Date. Type + + + + + + + + + BBIE + Promotional Event. First Shipment Availibility Date. Date + The first day that products will be available to ship from buyer to seller if the proposal for this promotional event is accepted. + 0..1 + Promotional Event + First Shipment Availibility Date + Date + Date. Type + + + + + + + + + BBIE + Promotional Event. Latest_ Proposal Acceptance Date. Date + The deadline for acceptance of this promotional event. + 0..1 + Promotional Event + Latest + Proposal Acceptance Date + Date + Date. Type + + + + + + + + + ASBIE + Promotional Event. Promotional Specification + A specification for a promotional event. + 1..n + Promotional Event + Promotional Specification + Promotional Specification + Promotional Specification + + + + + + + + + + + ABIE + Promotional Event Line Item. Details + A class to describe a line item associated with a promotional event. + Promotional Event Line Item + + + + + + + + + BBIE + Promotional Event Line Item. Amount + The amount associated with this promotional event line item. + 1 + Promotional Event Line Item + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Promotional Event Line Item. Event Line Item + A line item describing the expected impacts associated with this promotional event for a specific product at a specific location. + 1 + Promotional Event Line Item + Event Line Item + Event Line Item + Event Line Item + + + + + + + + + + + ABIE + Promotional Specification. Details + A class to describe a promotional event as a set of item locations that share a set of promotional tactics. + Promotional Specification + + + + + + + + + BBIE + Promotional Specification. Specification Identifier. Identifier + An identifier for this promotional specification. + 0..1 + Promotional Specification + Specification Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Promotional Specification. Promotional Event Line Item + A line item for a promotional event involving a specific product at a specific location; it describes the expected impacts associated with the event and specifies the promotional price of the item." + 1..n + Promotional Specification + Promotional Event Line Item + Promotional Event Line Item + Promotional Event Line Item + + + + + + + + + ASBIE + Promotional Specification. Event Tactic + An event tactic associated with this promotion. + 0..n + Promotional Specification + Event Tactic + Event Tactic + Event Tactic + + + + + + + + + + + ABIE + Qualification Resolution. Details + A class to describe the acceptance or rejection of an economic operator in a tendering process. + Qualification Resolution + + + + + + + + + BBIE + Qualification Resolution. Admission Code. Code + An indicator that the economic operator has been accepted into the tendering process (true) or rejected from the tendering process (false). + 1 + Qualification Resolution + Admission Code + Code + Code. Type + + + + + + + + + BBIE + Qualification Resolution. Exclusion Reason. Text + Text describing a reason for an exclusion from the tendering process. + 0..n + Qualification Resolution + Exclusion Reason + Text + Text. Type + + + + + + + + + BBIE + Qualification Resolution. Resolution. Text + Text describing this qualification resolution. + 0..n + Qualification Resolution + Resolution + Text + Text. Type + + + + + + + + + BBIE + Qualification Resolution. Resolution Date. Date + The date on which this qualification resolution was formalized. + 1 + Qualification Resolution + Resolution Date + Date + Date. Type + + + + + + + + + BBIE + Qualification Resolution. Resolution Time. Time + The time at which this qualification resolution was formalized. + 0..1 + Qualification Resolution + Resolution Time + Time + Time. Type + + + + + + + + + ASBIE + Qualification Resolution. Procurement Project Lot + The Procurement project lot to which this tenderer is accepted or rejected. + 0..1 + Qualification Resolution + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + + + ABIE + Qualifying Party. Details + A class to describe the distinctive features or characteristics qualifying an economic operator to be a party in a tendering process (e.g., number of employees, number of operating units, type of business, technical and financial capabilities, completed projects). + Qualifying Party + + + + + + + + + BBIE + Qualifying Party. Participation. Percent + The extent to which this party is expected to participate in the tendering process, expressed as a percentage. + 0..1 + Qualifying Party + Participation + Percent + Percent. Type + + + + + + + + + BBIE + Qualifying Party. Personal Situation. Text + Text describing the personal situation of the qualifying party. + 0..n + Qualifying Party + Personal Situation + Text + Text. Type + + + + + + + + + BBIE + Qualifying Party. Operating Years. Quantity + The number of years that this qualifying party has been in operation. + 0..1 + Qualifying Party + Operating Years + Quantity + Quantity. Type + + + + + + + + + BBIE + Qualifying Party. Employee. Quantity + The number of people employed by this qualifying party. + 0..1 + Qualifying Party + Employee + Quantity + Quantity. Type + + + + + + + + + BBIE + Qualifying Party. Business Classification Evidence. Identifier + An identifier for an item of evidence to support the classification of this qualifying party. + 0..1 + Qualifying Party + Business Classification Evidence + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualifying Party. Business Identity Evidence. Identifier + An identifier for an item of evidence to support the business identity of this qualifying party. + 0..1 + Qualifying Party + Business Identity Evidence + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualifying Party. Tenderer Role Code. Code + A code stating the Tenderer Role. + 0..1 + Qualifying Party + Tenderer Role Code + Code + Code. Type + + + + + + + + + ASBIE + Qualifying Party. Business_ Classification Scheme. Classification Scheme + The classification scheme used for the business profile. + 0..1 + Qualifying Party + Business + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + ASBIE + Qualifying Party. Technical_ Capability. Capability + A technical capability of this qualifying party. + 0..n + Qualifying Party + Technical + Capability + Capability + Capability + + + + + + + + + ASBIE + Qualifying Party. Financial_ Capability. Capability + A financial capability of this qualifying party. + 0..n + Qualifying Party + Financial + Capability + Capability + Capability + + + + + + + + + ASBIE + Qualifying Party. Completed Task + A former task completed by this qualifying party. + 0..n + Qualifying Party + Completed Task + Completed Task + Completed Task + + + + + + + + + ASBIE + Qualifying Party. Declaration + A declaration by this qualifying party. of certain characteristics or capabilities in fulfilment of requirements specified in a call for tenders. + 0..n + Qualifying Party + Declaration + Declaration + Declaration + + + + + + + + + ASBIE + Qualifying Party. Party + The qualifying party itself. + 0..1 + Qualifying Party + Party + Party + Party + + + + + + + + + ASBIE + Qualifying Party. Economic Operator Role + A class to describe the tenderer contracting role. + 0..1 + Qualifying Party + Economic Operator Role + Economic Operator Role + Economic Operator Role + + + + + + + + + + + ABIE + Quotation Line. Details + A class to define a line in a Quotation. + Quotation Line + + + + + + + + + BBIE + Quotation Line. Identifier + An identifier for this quotation line. + 0..1 + Quotation Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Quotation Line + Note + Text + Text. Type + + + + + + + + + BBIE + Quotation Line. Quantity + The quantity of the item quoted. + 0..1 + Quotation Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Quotation Line. Line Extension Amount. Amount + The total amount for this quotation line, including allowance charges but net of taxes. + 0..1 + Quotation Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Quotation Line. Total_ Tax Amount. Amount + The total tax amount for this quotation line. + 0..1 + Quotation Line + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Quotation Line. Request For Quotation Line Identifier. Identifier + An identifier for the line in the Request for Quotation to which this line is a response. + 0..1 + Quotation Line + Request For Quotation Line Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Quotation Line. Document Reference + A reference to a document associated with this quotation line. + 0..n + Quotation Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation Line. Line Item + The item that is the subject of this quotation line. + 1 + Quotation Line + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Quotation Line. Seller Proposed Substitute_ Line Item. Line Item + An item proposed by the seller as a substitute for the item that is the subject of this quotation line. + 0..n + Quotation Line + Seller Proposed Substitute + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Quotation Line. Alternative_ Line Item. Line Item + An item proposed by the seller as an alternative to the item that is the subject of this quotation line. + 0..n + Quotation Line + Alternative + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Quotation Line. Request_ Line Reference. Line Reference + A reference to the line in the Request for Quotation to which this line is a response. + 0..1 + Quotation Line + Request + Line Reference + Line Reference + Line Reference + + + + + + + + + + + ABIE + Rail Transport. Details + A class defining details about a train wagon used as a means of transport. + Rail Transport + + + + + + + + + BBIE + Rail Transport. Train Identifier. Identifier + An identifier for the train used as the means of transport. + 1 + Rail Transport + Train Identifier + Identifier + Identifier. Type + Train Number (WCO ID 167) + + + + + + + + + BBIE + Rail Transport. Rail Car Identifier. Identifier + An identifier for the rail car on the train used as the means of transport. + 0..1 + Rail Transport + Rail Car Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Receipt Line. Details + A class to define a line in a Receipt Advice. + Receipt Line + + + + + + + + + BBIE + Receipt Line. Identifier + An identifier for this receipt line. + 1 + Receipt Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Line. UUID. Identifier + A universally unique identifier for this receipt line. + 0..1 + Receipt Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Receipt Line + Note + Text + Text. Type + + + + + + + + + BBIE + Receipt Line. Received_ Quantity. Quantity + The quantity received. + 0..1 + Receipt Line + Received + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Short_ Quantity. Quantity + The quantity received short; the difference between the quantity reported despatched and the quantity actually received. + 0..1 + Receipt Line + Short + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Shortage Action Code. Code + A code signifying the action that the delivery party wishes the despatch party to take as the result of a shortage. + 0..1 + Receipt Line + Shortage Action Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Rejected_ Quantity. Quantity + The quantity rejected. + 0..1 + Receipt Line + Rejected + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Reject Reason Code. Code + The reason for a rejection, expressed as a code. + 0..1 + Receipt Line + Reject Reason Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Reject_ Reason. Text + The reason for a rejection, expressed as text. + 0..n + Receipt Line + Reject + Reason + Text + Text. Type + + + + + + + + + BBIE + Receipt Line. Reject Action Code. Code + A code signifying the action that the delivery party wishes the despatch party to take as the result of a rejection. + 0..1 + Receipt Line + Reject Action Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Quantity Discrepancy Code. Code + A code signifying the type of a discrepancy in quantity. + 0..1 + Receipt Line + Quantity Discrepancy Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Oversupply_ Quantity. Quantity + The quantity over-supplied, i.e., the quantity over and above the quantity ordered. + 0..1 + Receipt Line + Oversupply + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Received_ Date. Date + The date on which the goods or services were received. + 0..1 + Receipt Line + Received + Date + Date + Date. Type + + + + + + + + + BBIE + Receipt Line. Timing Complaint Code. Code + A complaint about the timing of delivery, expressed as a code. + 0..1 + Receipt Line + Timing Complaint Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Timing Complaint. Text + A complaint about the timing of delivery, expressed as text. + 0..1 + Receipt Line + Timing Complaint + Text + Text. Type + + + + + + + + + ASBIE + Receipt Line. Order Line Reference + A reference to the order line associated with this receipt line. + 0..1 + Receipt Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Receipt Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this receipt line. + 0..n + Receipt Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Receipt Line. Document Reference + A reference to a document associated with this receipt line. + 0..n + Receipt Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Line. Item + An item associated with this receipt line. + 0..n + Receipt Line + Item + Item + Item + + + + + + + + + ASBIE + Receipt Line. Shipment + A shipment associated with this receipt line. + 0..n + Receipt Line + Shipment + Shipment + Shipment + + + + + + + + + + + ABIE + Regulation. Details + A class to describe a regulation. + Regulation + Points to regulation at atomic level + + + + + + + + + BBIE + Regulation. Name + A name for this regulation. + 1 + Regulation + Name + Name + Name. Type + + + + + + + + + BBIE + Regulation. Legal Reference. Text + Text describing a legal reference. + 0..1 + Regulation + Legal Reference + Text + Text. Type + Art. 45 2 b + + + + + + + + + BBIE + Regulation. Ontology URI. Identifier + The Uniform Resource Identifier (URI) of an ontology related to this regulation. + 0..1 + Regulation + Ontology URI + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Related Item. Details + A class to describe the relationship to an item different from the item associated with the item line in which RelatedItem is used. + Related Item + + + + + + + + + BBIE + Related Item. Identifier + An identifier for the related item. + 0..1 + Related Item + Identifier + Identifier + Identifier. Type + First , Second + + + + + + + + + BBIE + Related Item. Quantity + The quantity that applies to the relationship. + 0..1 + Related Item + Quantity + Quantity + Quantity. Type + 6 , 10mg per Kilo + + + + + + + + + BBIE + Related Item. Description. Text + Text describing the relationship. + 0..n + Related Item + Description + Text + Text. Type + If used in wet conditions or extreme environments + + + + + + + + + + + ABIE + Reminder Line. Details + A class to define a line in a Reminder document. + Reminder Line + + + + + + + + + BBIE + Reminder Line. Identifier + An identifier for this reminder line. + 1 + Reminder Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Reminder Line + Note + Text + Text. Type + + + + + + + + + BBIE + Reminder Line. UUID. Identifier + A universally unique identifier for this reminder line. + 0..1 + Reminder Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder Line. Balance Brought Forward_ Indicator. Indicator + An indication that this reminder line contains a balance brought forward (true) or does not (false). + 0..1 + Reminder Line + Balance Brought Forward + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Reminder Line. Debit_ Line Amount. Amount + The amount debited on this reminder line. + 0..1 + Reminder Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Credit_ Line Amount. Amount + The amount credited on this reminder line. + 0..1 + Reminder Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this reminder line, expressed as a code. + 0..1 + Reminder Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Reminder Line. Accounting Cost. Text + The buyer's accounting cost centre for this reminder line, expressed as text. + 0..1 + Reminder Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Reminder Line. Penalty_ Surcharge Percent. Percent + The penalty for late payment, expressed as a percentage. + 0..1 + Reminder Line + Penalty + Surcharge Percent + Percent + Percent. Type + + + + + + + + + BBIE + Reminder Line. Amount + The amount on this reminder line. + 0..1 + Reminder Line + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Reminder Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Reminder Line. Reminder_ Period. Period + A period to which this reminder line applies. + 0..n + Reminder Line + Reminder + Period + Period + Period + + + + + + + + + ASBIE + Reminder Line. Billing Reference + A reference to a billing document associated with this reminder line. + 0..n + Reminder Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Reminder Line. Exchange Rate + The rate of exchange between the currency of the Reminder and the currency of the document described in the BillingReference. + 0..1 + Reminder Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Remittance Advice Line. Details + A class to define a line in a Remittance Advice. + Remittance Advice Line + + + + + + + + + BBIE + Remittance Advice Line. Identifier + An identifier for this remittance advice line. + 1 + Remittance Advice Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Remittance Advice Line + Note + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice Line. UUID. Identifier + A universally unique identifier for this remittance advice line. + 0..1 + Remittance Advice Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice Line. Debit_ Line Amount. Amount + The amount debited on this remittance advice line. + 0..1 + Remittance Advice Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Credit_ Line Amount. Amount + The amount credited on this remittance advice line. + 0..1 + Remittance Advice Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Balance Amount. Amount + The monetary balance associated with this remittance advice line. + 0..1 + Remittance Advice Line + Balance Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Remittance Advice Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Remittance Advice Line. Invoicing Party_ Reference. Text + A reference to the order for payment used by the invoicing party. This may have been requested of the payer by the payee to accompany its remittance. + 0..1 + Remittance Advice Line + Invoicing Party + Reference + Text + Text. Type + + + + + + + + + ASBIE + Remittance Advice Line. Accounting_ Supplier Party. Supplier Party + The Accounting Supplier Party related to the remittance information reported on this Remittance Advice Line. + 0..1 + Remittance Advice Line + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice Line. Accounting_ Customer Party. Customer Party + The Accounting Customer Party related to the remittance information reported on this Remittance Advice Line. + 0..1 + Remittance Advice Line + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Buyer_ Customer Party. Customer Party + The buyer associated with this remittance advice line. + 0..1 + Remittance Advice Line + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Seller_ Supplier Party. Supplier Party + The seller/supplier associated with this remittance advice line. + 0..1 + Remittance Advice Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice Line. Originator_ Customer Party. Customer Party + The originating party. + 0..1 + Remittance Advice Line + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Payee_ Party. Party + The payee. + 0..1 + Remittance Advice Line + Payee + Party + Party + Party + + + + + + + + + ASBIE + Remittance Advice Line. Invoice_ Period. Period + An invoice period to which this remittance advice line applies. + 0..n + Remittance Advice Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Remittance Advice Line. Billing Reference + A reference to a billing document associated with this remittance advice line. + 0..n + Remittance Advice Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Remittance Advice Line. Document Reference + A reference to a document associated with this remittance advice line. + 0..n + Remittance Advice Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Remittance Advice Line. Exchange Rate + The rate of exchange between the currency of the Remittance Advice and the currency of the document described in the BillingReference. + 0..1 + Remittance Advice Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Renewal. Details + A class to describe the renewal of a commercial arrangement, such as a contract or licence fee. + Renewal + + + + + + + + + BBIE + Renewal. Amount + The monetary amount of this renewal. + 0..1 + Renewal + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Renewal. Period + The period for which the arrangement is now valid + 0..1 + Renewal + Period + Period + Period + + + + + + + + + + + ABIE + Request For Quotation Line. Details + A class to define a line in a Request for Quotation. + Request For Quotation Line + + + + + + + + + BBIE + Request For Quotation Line. Identifier + An identifier for this line in the request for quotation. + 0..1 + Request For Quotation Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation Line. UUID. Identifier + A universally unique identifier for this line in the request for quotation. + 0..1 + Request For Quotation Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Request For Quotation Line + Note + Text + Text. Type + + + + + + + + + BBIE + Request For Quotation Line. Optional_ Line Item Indicator. Indicator + An indication whether this line is optional (true) or not (false) for purposes of this request for quotation. + 0..1 + Request For Quotation Line + Optional + Line Item Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Request For Quotation Line. Privacy Code. Code + A code signifying the level of confidentiality of this request for quotation line. + 0..1 + Request For Quotation Line + Privacy Code + Code + Code. Type + + + + + + + + + BBIE + Request For Quotation Line. Security Classification Code. Code + A code signifying the security classification of this request for quotation line. + 0..1 + Request For Quotation Line + Security Classification Code + Code + Code. Type + + + + + + + + + ASBIE + Request For Quotation Line. Document Reference + A document associated with this request for quotation line. + 0..n + Request For Quotation Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation Line. Line Item + A description of the item for which a quotation is requested. + 1 + Request For Quotation Line + Line Item + Line Item + Line Item + + + + + + + + + + + ABIE + Request For Tender Line. Details + A class to define a line in a Request for Tender describing an item of goods or a service solicited in the Request for Tender. + Request For Tender Line + + + + + + + + + BBIE + Request For Tender Line. Identifier + An identifier for this request for tender line. + 0..1 + Request For Tender Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Tender Line. UUID. Identifier + A universally unique identifier for this request for tender line. + 0..1 + Request For Tender Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Tender Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Request For Tender Line + Note + Text + Text. Type + + + + + + + + + BBIE + Request For Tender Line. Quantity + The quantity of the item for which a tender is requested in this line. + 0..1 + Request For Tender Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Request For Tender Line. Minimum_ Quantity. Quantity + The minimum quantity of the item associated with this request for tender line. + 0..1 + Request For Tender Line + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Request For Tender Line. Maximum_ Quantity. Quantity + The maximum quantity of the item associated with this request for tender line. + 0..1 + Request For Tender Line + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Request For Tender Line. Tax Included_ Indicator. Indicator + Indicates whether the amounts are taxes included (true) or not (false). + 0..1 + Request For Tender Line + Tax Included + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Request For Tender Line. Minimum_ Amount. Amount + The minimum amount allowed for this deliverable. + 0..1 + Request For Tender Line + Minimum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Request For Tender Line. Maximum_ Amount. Amount + The maximum amount allowed for this deliverable. + 0..1 + Request For Tender Line + Maximum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Request For Tender Line. Estimated_ Amount. Amount + The estimated total amount of the deliverable. + 0..1 + Request For Tender Line + Estimated + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Request For Tender Line. Document Reference + A reference to a document associated with this request for tender line. + 0..n + Request For Tender Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Tender Line. Delivery_ Period. Period + An applicable period for the deliverable or set of deliverables in this tendering process. + 0..n + Request For Tender Line + Delivery + Period + Period + Period + + + + + + + + + ASBIE + Request For Tender Line. Required_ Item Location Quantity. Item Location Quantity + Properties of the item specified in this request for tender line that are dependent on location and quantity. + 0..n + Request For Tender Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Request For Tender Line. Warranty Validity_ Period. Period + The period during which a warranty to be associated with this request for tender line must apply. + 0..1 + Request For Tender Line + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Request For Tender Line. Item + An item for which a tender is requested. + 1 + Request For Tender Line + Item + Item + Item + + + + + + + + + ASBIE + Request For Tender Line. Sub_ Request For Tender Line. Request For Tender Line + A subsidiary request for tender line. + 0..n + Request For Tender Line + Sub + Request For Tender Line + Request For Tender Line + Request For Tender Line + + + + + + + + + + + ABIE + Requested Tender Total. Details + A class defining budgeted monetary amounts. + Requested Tender Total + + + + + + + + + BBIE + Requested Tender Total. Estimated_ Overall Contract. Amount + The estimated overall monetary amount of a contract. + 0..1 + Requested Tender Total + Estimated + Overall Contract + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Total_ Amount. Amount + The monetary amount of the total budget including net amount, taxes, and material and instalment costs. + 0..1 + Requested Tender Total + Total + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Tax Included_ Indicator. Indicator + Indicates whether the amounts are taxes included (true) or not (false). + 0..1 + Requested Tender Total + Tax Included + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Requested Tender Total. Minimum_ Amount. Amount + The minimum monetary amount of the budget. + 0..1 + Requested Tender Total + Minimum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Maximum_ Amount. Amount + The maximum monetary amount of the budget. + 0..1 + Requested Tender Total + Maximum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Monetary Scope. Text + A description of the monetary scope of the budget. + 0..n + Requested Tender Total + Monetary Scope + Text + Text. Type + + + + + + + + + BBIE + Requested Tender Total. Average_ Subsequent Contract. Amount + The average monetary amount for the subsequent contracts following this budget amount. + 0..1 + Requested Tender Total + Average + Subsequent Contract + Amount + Amount. Type + + + + + + + + + ASBIE + Requested Tender Total. Applicable_ Tax Category. Tax Category + Describes the categories of taxes that apply to the budget amount. + 0..n + Requested Tender Total + Applicable + Tax Category + Tax Category + Tax Category + + + + + + + + + + + ABIE + Response. Details + A class to describe an application-level response to a document. + Response + + + + + + + + + BBIE + Response. Reference. Identifier + An identifier for the section (or line) of the document to which this response applies. + 0..1 + Response + Reference + Identifier + Identifier. Type + + + + + + + + + BBIE + Response. Response Code. Code + A code signifying the type of response. + 0..1 + Response + Response Code + Code + Code. Type + + + + + + + + + BBIE + Response. Description. Text + Text describing this response. + 0..n + Response + Description + Text + Text. Type + + + + + + + + + BBIE + Response. Effective Date. Date + The date upon which this response is valid. + 0..1 + Response + Effective Date + Date + Date. Type + + + + + + + + + BBIE + Response. Effective Time. Time + The time at which this response is valid. + 0..1 + Response + Effective Time + Time + Time. Type + + + + + + + + + ASBIE + Response. Status + A status report associated with this response. + 0..n + Response + Status + Status + Status + + + + + + + + + + + ABIE + Result Of Verification. Details + A class to describe the result of an attempt to verify a signature. + Result Of Verification + + + + + + + + + BBIE + Result Of Verification. Validator. Identifier + An identifier for the organization, person, service, or server that verified the signature. + 0..1 + Result Of Verification + Validator + Identifier + Identifier. Type + + + + + + + + + BBIE + Result Of Verification. Validation_ Result Code. Code + A code signifying the result of the verification. + 0..1 + Result Of Verification + Validation + Result Code + Code + Code. Type + + + + + + + + + BBIE + Result Of Verification. Validation Date. Date + The date upon which verification took place. + 0..1 + Result Of Verification + Validation Date + Date + Date. Type + + + + + + + + + BBIE + Result Of Verification. Validation Time. Time + The time at which verification took place. + 0..1 + Result Of Verification + Validation Time + Time + Time. Type + + + + + + + + + BBIE + Result Of Verification. Validate_ Process. Text + The verification process. + 0..1 + Result Of Verification + Validate + Process + Text + Text. Type + + + + + + + + + BBIE + Result Of Verification. Validate_ Tool. Text + The tool used to verify the signature. + 0..1 + Result Of Verification + Validate + Tool + Text + Text. Type + + + + + + + + + BBIE + Result Of Verification. Validate_ Tool Version. Text + The version of the tool used to verify the signature. + 0..1 + Result Of Verification + Validate + Tool Version + Text + Text. Type + + + + + + + + + ASBIE + Result Of Verification. Signatory_ Party. Party + The signing party. + 0..1 + Result Of Verification + Signatory + Party + Party + Party + + + + + + + + + + + ABIE + Retail Planned Impact. Details + A class to describe a planned effect of a retail event (e.g., a promotion or a change in inventory policy) upon supply or demand. + Retail Planned Impact + + + + + + + + + BBIE + Retail Planned Impact. Amount + Estimated monetary value of the planned event as an impact + 1 + Retail Planned Impact + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Retail Planned Impact. Forecast_ Purpose Code. Code + It will have impact on either Sales forecast or Order Forecast + 1 + Retail Planned Impact + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Retail Planned Impact. Forecast Type Code. Code + A code signifying the type of forecast. Examples of values are: BASE PROMOTIONAL SEASONAL TOTAL + 1 + Retail Planned Impact + Forecast Type Code + Code + Code. Type + + + + + + + + + ASBIE + Retail Planned Impact. Period + The period to which this impact applies. + 0..1 + Retail Planned Impact + Period + Period + Period + + + + + + + + + + + ABIE + Road Transport. Details + A class for identifying a vehicle used for road transport. + Road Transport + + + + + + + + + BBIE + Road Transport. License Plate Identifier. Identifier + The license plate identifier of this vehicle. + 1 + Road Transport + License Plate Identifier + Identifier + Identifier. Type + Vehicle registration number (WCO ID 167) + + + + + + + + + + + ABIE + Sales Item. Details + A class to describe information related to an item in a sales context + Sales Item + + + + + + + + + BBIE + Sales Item. Quantity + The quantity the given information are related to + 1 + Sales Item + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Sales Item. Activity Property + A class to describe the activity (for example "sales", "movement", ...) related to the item. + 0..n + Sales Item + Activity Property + Activity Property + Activity Property + + + + + + + + + ASBIE + Sales Item. Tax Exclusive_ Price. Price + A price for this sales item, exclusive of tax. + 0..n + Sales Item + Tax Exclusive + Price + Price + Price + + + + + + + + + ASBIE + Sales Item. Tax Inclusive_ Price. Price + A price for this sales item, including tax. + 0..n + Sales Item + Tax Inclusive + Price + Price + Price + + + + + + + + + ASBIE + Sales Item. Item + The sales item itself. + 1 + Sales Item + Item + Item + Item + + + + + + + + + + + ABIE + Secondary Hazard. Details + A class to describe a secondary hazard associated with a hazardous item. + Secondary Hazard + + + + + + + + + BBIE + Secondary Hazard. Identifier + An identifier for this secondary hazard. + 0..1 + Secondary Hazard + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Secondary Hazard. Placard Notation. Text + Text of the placard notation corresponding to the hazard class of this secondary hazard. Can also be the hazard identification number of the orange placard (upper part) required on the means of transport. + 0..1 + Secondary Hazard + Placard Notation + Text + Text. Type + 5.1 + + + + + + + + + BBIE + Secondary Hazard. Placard Endorsement. Text + Text of the placard endorsement for this secondary hazard that is to be shown on the shipping papers for a hazardous item. Can also be used for the number of the orange placard (lower part) required on the means of transport. + 0..1 + Secondary Hazard + Placard Endorsement + Text + Text. Type + 2 + + + + + + + + + BBIE + Secondary Hazard. Emergency Procedures Code. Code + A code signifying the emergency procedures for this secondary hazard. + 0..1 + Secondary Hazard + Emergency Procedures Code + Code + Code. Type + EMG code, EMS Page Number + + + + + + + + + BBIE + Secondary Hazard. Extension. Text + Additional information about the hazardous substance, which can be used (for example) to specify the type of regulatory requirements that apply to this secondary hazard. + 0..n + Secondary Hazard + Extension + Text + Text. Type + N.O.S. or a Waste Characteristics Code in conjunction with an EPA Waste Stream code + + + + + + + + + + + ABIE + Service Frequency. Details + A class to specify which day of the week a transport service is operational. + Service Frequency + + + + + + + + + BBIE + Service Frequency. Week Day. Code + A day of the week, expressed as code. + 1 + Service Frequency + Week Day + Code + Week Day + Week Day_ Code. Type + + + + + + + + + + + ABIE + Service Provider Party. Details + A class to describe a party contracting to provide services, such as transportation, finance, etc. + Service Provider Party + + + + + + + + + BBIE + Service Provider Party. Identifier + An identifier for this service provider. + 0..1 + Service Provider Party + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Service Provider Party. Service Type Code. Code + The type of service provided, expressed as a code. + 0..1 + Service Provider Party + Service Type Code + Code + Code. Type + + + + + + + + + BBIE + Service Provider Party. Service Type. Text + The type of service provided, expressed as text. + 0..n + Service Provider Party + Service Type + Text + Text. Type + + + + + + + + + ASBIE + Service Provider Party. Party + The party providing the service. + 1 + Service Provider Party + Party + Party + Party + + + + + + + + + ASBIE + Service Provider Party. Seller_ Contact. Contact + The contact for the service provider. + 0..1 + Service Provider Party + Seller + Contact + Contact + Contact + + + + + + + + + + + ABIE + Shareholder Party. Details + A class to describe a shareholder party. + Shareholder Party + + + + + + + + + BBIE + Shareholder Party. Partecipation. Percent + The shareholder participation, expressed as a percentage. + 0..1 + Shareholder Party + Partecipation + Percent + Percent. Type + + + + + + + + + ASBIE + Shareholder Party. Party + The shareholder party. + 0..1 + Shareholder Party + Party + Party + Party + + + + + + + + + + + ABIE + Shipment. Details + A class defining an identifiable collection of one or more goods items to be transported between the seller party and the buyer party. This information may be defined within a commercial contract. A shipment can be transported in different consignments (e.g., split for logistical purposes). + Shipment + + + + + + + + + BBIE + Shipment. Identifier + An identifier for this shipment. + 1 + Shipment + Identifier + Identifier + Identifier. Type + Waybill Number + + + + + + + + + BBIE + Shipment. Shipping Priority Level Code. Code + A code signifying the priority or level of service required for this shipment. + 0..1 + Shipment + Shipping Priority Level Code + Code + Code. Type + Service Level, Service Priority + + + + + + + + + BBIE + Shipment. Handling Code. Code + The handling required for this shipment, expressed as a code. + 0..1 + Shipment + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Shipment. Handling_ Instructions. Text + The handling required for this shipment, expressed as text. + 0..n + Shipment + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Information. Text + Free-form text pertinent to this shipment, conveying information that is not contained explicitly in other structures. + 0..n + Shipment + Information + Text + Text. Type + + + + + + + + + BBIE + Shipment. Gross_ Weight. Measure + The total gross weight of a shipment; the weight of the goods plus packaging plus transport equipment. + 0..1 + Shipment + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net_ Weight. Measure + The net weight of this shipment, excluding packaging. + 0..1 + Shipment + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net Net_ Weight. Measure + The total net weight of this shipment, excluding packaging and transport equipment. + 0..1 + Shipment + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Gross_ Volume. Measure + The total volume of the goods in this shipment, including packaging. + 0..1 + Shipment + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net_ Volume. Measure + The total volume of the goods in this shipment, excluding packaging and transport equipment. + 0..1 + Shipment + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Total_ Goods Item Quantity. Quantity + The total number of goods items in this shipment. + 0..1 + Shipment + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Shipment. Total_ Transport Handling Unit Quantity. Quantity + The number of pieces of transport handling equipment (pallets, boxes, cases, etc.) in this shipment. + 0..1 + Shipment + Total + Transport Handling Unit Quantity + Quantity + Quantity. Type + Number of THUs + + + + + + + + + BBIE + Shipment. Insurance_ Value. Amount + The amount covered by insurance for this shipment. + 0..1 + Shipment + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Shipment. Declared Customs_ Value. Amount + The total declared value for customs purposes of those goods in this shipment that are subject to the same customs procedure and have the same tariff/statistical heading, country information, and duty regime. + 0..1 + Shipment + Declared Customs + Value + Amount + Amount. Type + + + + + + + + + BBIE + Shipment. Declared For Carriage_ Value. Amount + The value of this shipment, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Shipment + Declared For Carriage + Value + Amount + Amount. Type + Declared value for carriage, Interest in delivery + + + + + + + + + BBIE + Shipment. Declared Statistics_ Value. Amount + The value, declared for statistical purposes, of those goods in this shipment that have the same statistical heading. + 0..1 + Shipment + Declared Statistics + Value + Amount + Amount. Type + Statistical Value + + + + + + + + + BBIE + Shipment. Free On Board_ Value. Amount + The monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Shipment + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Shipment. Special_ Instructions. Text + Special instructions relating to this shipment. + 0..n + Shipment + Special + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Delivery_ Instructions. Text + Delivery instructions relating to this shipment. + 0..n + Shipment + Delivery + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Split Consignment_ Indicator. Indicator + An indicator that the consignment has been split in transit (true) or not (false). + 0..1 + Shipment + Split Consignment + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Shipment. Consignment_ Quantity. Quantity + The total number of consignments within this shipment. + 0..1 + Shipment + Consignment + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Shipment. Consignment + A consignment covering this shipment. + 0..n + Shipment + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Shipment. Goods Item + A goods item included in this shipment. + 0..n + Shipment + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Shipment. Shipment Stage + A stage in the transport movement of this shipment. + 0..n + Shipment + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Shipment. Delivery + The delivery of this shipment. + 0..1 + Shipment + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Shipment. Transport Handling Unit + A transport handling unit associated with this shipment. + 0..n + Shipment + Transport Handling Unit + Transport Handling Unit + Transport Handling Unit + + + + + + + + + ASBIE + Shipment. Return_ Address. Address + The address to which a shipment should be returned. + 0..1 + Shipment + Return + Address + Address + Address + + + + + + + + + ASBIE + Shipment. Origin_ Address. Address + The region in which the goods have been produced or manufactured, according to criteria laid down for the purposes of application of the customs tariff, or of quantitative restrictions, or of any other measure related to trade. + 0..1 + Shipment + Origin + Address + Address + Address + + + + + + + + + ASBIE + Shipment. First Arrival Port_ Location. Location + The first arrival location of a shipment. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Shipment + First Arrival Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment. Last Exit Port_ Location. Location + The final exporting location for a shipment. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Shipment + Last Exit Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment. Export_ Country. Country + The country from which the goods were originally exported, without any commercial transaction taking place in intermediate countries. + 0..1 + Shipment + Export + Country + Country + Country + Country of exportation (WCO ID 062) + + + + + + + + + ASBIE + Shipment. Freight_ Allowance Charge. Allowance Charge + A cost incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance to the extent that they relate to the freight costs. + 0..n + Shipment + Freight + Allowance Charge + Allowance Charge + Allowance Charge + Freight Costs + + + + + + + + + + + ABIE + Shipment Stage. Details + A class to describe one stage of movement in a transport of goods. + Shipment Stage + + + + + + + + + BBIE + Shipment Stage. Identifier + An identifier for this shipment stage. + 0..1 + Shipment Stage + Identifier + Identifier + Identifier. Type + 1 , 2 , etc.. + + + + + + + + + BBIE + Shipment Stage. Transport Mode Code. Code + A code signifying the method of transport used for this shipment stage. + 0..1 + Shipment Stage + Transport Mode Code + Code + Transport Mode + Transport Mode_ Code. Type + + + + + + + + + BBIE + Shipment Stage. Transport Means Type Code. Code + A code signifying the kind of transport means (truck, vessel, etc.) used for this shipment stage. + 0..1 + Shipment Stage + Transport Means Type Code + Code + Code. Type + + + + + + + + + BBIE + Shipment Stage. Transit_ Direction Code. Code + A code signifying the direction of transit in this shipment stage. + 0..1 + Shipment Stage + Transit + Direction Code + Code + Code. Type + + + + + + + + + BBIE + Shipment Stage. Pre Carriage_ Indicator. Indicator + An indicator that this stage takes place before the main carriage of the shipment (true) or not (false). + 0..1 + Shipment Stage + Pre Carriage + Indicator + Indicator + Indicator. Type + Truck delivery to wharf + + + + + + + + + BBIE + Shipment Stage. On Carriage_ Indicator. Indicator + An indicator that this stage takes place after the main carriage of the shipment (true) or not (false). + 0..1 + Shipment Stage + On Carriage + Indicator + Indicator + Indicator. Type + Truck delivery from wharf + + + + + + + + + BBIE + Shipment Stage. Estimated_ Delivery Date. Date + The estimated date of delivery in this shipment stage. + 0..1 + Shipment Stage + Estimated + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Shipment Stage. Estimated_ Delivery Time. Time + The estimated time of delivery in this shipment stage. + 0..1 + Shipment Stage + Estimated + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Shipment Stage. Required_ Delivery Date. Date + The delivery date required by the buyer in this shipment stage. + 0..1 + Shipment Stage + Required + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Shipment Stage. Required_ Delivery Time. Time + The delivery time required by the buyer in this shipment stage. + 0..1 + Shipment Stage + Required + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Shipment Stage. Loading_ Sequence Identifier. Identifier + An identifier for the loading sequence (of consignments) associated with this shipment stage. + 0..1 + Shipment Stage + Loading + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Shipment Stage. Successive_ Sequence Identifier. Identifier + Identifies the successive loading sequence (of consignments) associated with a shipment stage. + 0..1 + Shipment Stage + Successive + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Shipment Stage. Instructions. Text + Text of instructions applicable to a shipment stage. + 0..n + Shipment Stage + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment Stage. Demurrage_ Instructions. Text + Text of instructions relating to demurrage (the case in which a vessel is prevented from loading or discharging cargo within the stipulated laytime). + 0..n + Shipment Stage + Demurrage + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment Stage. Crew Quantity. Quantity + The total number of crew aboard a transport means. + 0..1 + Shipment Stage + Crew Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Shipment Stage. Passenger Quantity. Quantity + The total number of passengers aboard a transport means. + 0..1 + Shipment Stage + Passenger Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Shipment Stage. Transit_ Period. Period + The period during which this shipment stage actually took place. + 0..1 + Shipment Stage + Transit + Period + Period + Period + + + + + + + + + ASBIE + Shipment Stage. Carrier_ Party. Party + A carrier party responsible for this shipment stage. + 0..n + Shipment Stage + Carrier + Party + Party + Party + + + + + + + + + ASBIE + Shipment Stage. Transport Means + The means of transport used in this shipment stage. + 0..1 + Shipment Stage + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Shipment Stage. Loading Port_ Location. Location + The location of loading for a shipment stage. + 0..1 + Shipment Stage + Loading Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Unloading Port_ Location. Location + The location of unloading for a shipment stage. + 0..1 + Shipment Stage + Unloading Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Transship Port_ Location. Location + The location of transshipment relating to a shipment stage. + 0..1 + Shipment Stage + Transship Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Loading_ Transport Event. Transport Event + The loading of goods in this shipment stage. + 0..1 + Shipment Stage + Loading + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Examination_ Transport Event. Transport Event + The examination of shipments in this shipment stage. + 0..1 + Shipment Stage + Examination + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Availability_ Transport Event. Transport Event + The making available of shipments in this shipment stage. + 0..1 + Shipment Stage + Availability + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Exportation_ Transport Event. Transport Event + The export event associated with this shipment stage. + 0..1 + Shipment Stage + Exportation + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Discharge_ Transport Event. Transport Event + The discharge event associated with this shipment stage. + 0..1 + Shipment Stage + Discharge + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Warehousing_ Transport Event. Transport Event + The warehousing event associated with this shipment stage. + 0..1 + Shipment Stage + Warehousing + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Takeover_ Transport Event. Transport Event + The receiver's takeover of the goods in this shipment stage. + 0..1 + Shipment Stage + Takeover + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Optional Takeover_ Transport Event. Transport Event + The optional takeover of the goods in this shipment stage. + 0..1 + Shipment Stage + Optional Takeover + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Dropoff_ Transport Event. Transport Event + The dropping off of goods in this shipment stage. + 0..1 + Shipment Stage + Dropoff + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Pickup_ Transport Event. Transport Event + The pickup of goods in this shipment stage. + 0..1 + Shipment Stage + Actual Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Delivery_ Transport Event. Transport Event + The delivery of goods in this shipment stage. + 0..1 + Shipment Stage + Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Receipt_ Transport Event. Transport Event + The receipt of goods in this shipment stage. + 0..1 + Shipment Stage + Receipt + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Storage_ Transport Event. Transport Event + The storage of goods in this shipment stage. + 0..1 + Shipment Stage + Storage + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Acceptance_ Transport Event. Transport Event + The acceptance of goods in this shipment stage. + 0..1 + Shipment Stage + Acceptance + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Terminal Operator_ Party. Party + A terminal operator associated with this shipment stage. + 0..1 + Shipment Stage + Terminal Operator + Party + Party + Party + + + + + + + + + ASBIE + Shipment Stage. Customs Agent_ Party. Party + A customs agent associated with this shipment stage. + 0..1 + Shipment Stage + Customs Agent + Party + Party + Party + + + + + + + + + ASBIE + Shipment Stage. Estimated Transit_ Period. Period + The estimated transit period of this shipment stage. + 0..1 + Shipment Stage + Estimated Transit + Period + Period + Period + + + + + + + + + ASBIE + Shipment Stage. Freight_ Allowance Charge. Allowance Charge + A freight allowance charge for this shipment stage. + 0..n + Shipment Stage + Freight + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Shipment Stage. Freight Charge_ Location. Location + The location associated with a freight charge related to this shipment stage. + 0..1 + Shipment Stage + Freight Charge + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Detention_ Transport Event. Transport Event + The detention of a transport means during loading and unloading operations. + 0..n + Shipment Stage + Detention + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Requested Departure_ Transport Event. Transport Event + The departure requested by the party requesting a transportation service. + 0..1 + Shipment Stage + Requested Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Requested Arrival_ Transport Event. Transport Event + The arrival requested by the party requesting a transportation service. + 0..1 + Shipment Stage + Requested Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Requested Waypoint_ Transport Event. Transport Event + A waypoint requested by the party requesting a transportation service. + 0..n + Shipment Stage + Requested Waypoint + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Planned Departure_ Transport Event. Transport Event + The departure planned by the party providing a transportation service. + 0..1 + Shipment Stage + Planned Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Planned Arrival_ Transport Event. Transport Event + The arrival planned by the party providing a transportation service. + 0..1 + Shipment Stage + Planned Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Planned Waypoint_ Transport Event. Transport Event + A waypoint planned by the party providing a transportation service. + 0..n + Shipment Stage + Planned Waypoint + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Departure_ Transport Event. Transport Event + The actual departure from a specific location during a transportation service. + 0..1 + Shipment Stage + Actual Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Waypoint_ Transport Event. Transport Event + The location of an actual waypoint during a transportation service. + 0..1 + Shipment Stage + Actual Waypoint + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Arrival_ Transport Event. Transport Event + The actual arrival at a specific location during a transportation service. + 0..1 + Shipment Stage + Actual Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Transport Event + A significant occurrence in the course of this shipment of goods. + 0..n + Shipment Stage + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Estimated Departure_ Transport Event. Transport Event + Describes an estimated departure at a location during a transport service. + 0..1 + Shipment Stage + Estimated Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Estimated Arrival_ Transport Event. Transport Event + Describes an estimated arrival at a location during a transport service. + 0..1 + Shipment Stage + Estimated Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Passenger_ Person. Person + A person who travels in a conveyance without participating in its operation. + 0..n + Shipment Stage + Passenger + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Driver_ Person. Person + Describes a person responsible for driving the transport means. + 0..n + Shipment Stage + Driver + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Reporting_ Person. Person + Describes a person being responsible for providing the required administrative reporting relating to a transport. + 0..1 + Shipment Stage + Reporting + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Crew Member_ Person. Person + A person operating or serving aboard a transport means. + 0..n + Shipment Stage + Crew Member + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Security Officer_ Person. Person + The person on board the vessel, accountable to the master, designated by the company as responsible for the security of the ship, including implementation and maintenance of the ship security plan and for the liaison with the company security officer and the port facility security officers. + 0..1 + Shipment Stage + Security Officer + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Master_ Person. Person + The person responsible for the ship's safe and efficient operation, including cargo operations, navigation, crew management and for ensuring that the vessel complies with local and international laws, as well as company and flag state policies. + 0..1 + Shipment Stage + Master + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Ships Surgeon_ Person. Person + The person responsible for the health of the people aboard a ship at sea. + 0..1 + Shipment Stage + Ships Surgeon + Person + Person + Person + + + + + + + + + + + ABIE + Signature. Details + A class to define a signature. + Signature + + + + + + + + + BBIE + Signature. Identifier + An identifier for this signature. + 1 + Signature + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature. Note. Text + Free-form text conveying information that is not contained explicitly in other structures; in particular, information regarding the circumstances in which the signature is being used. + 0..n + Signature + Note + Text + Text. Type + + + + + + + + + BBIE + Signature. Validation Date. Date + The date upon which this signature was verified. + 0..1 + Signature + Validation Date + Date + Date. Type + + + + + + + + + BBIE + Signature. Validation Time. Time + The time at which this signature was verified. + 0..1 + Signature + Validation Time + Time + Time. Type + + + + + + + + + BBIE + Signature. Validator. Identifier + An identifier for the organization, person, service, or server that verified this signature. + 0..1 + Signature + Validator + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature. Canonicalization Method. Text + The method used to perform XML canonicalization of this signature. + 0..1 + Signature + Canonicalization Method + Text + Text. Type + + + + + + + + + BBIE + Signature. Signature Method. Text + Text describing the method of signature. + 0..1 + Signature + Signature Method + Text + Text. Type + + + + + + + + + ASBIE + Signature. Signatory_ Party. Party + The signing party. + 0..1 + Signature + Signatory + Party + Party + Party + + + + + + + + + ASBIE + Signature. Digital Signature_ Attachment. Attachment + The actual encoded signature (e.g., in XMLDsig format). + 0..1 + Signature + Digital Signature + Attachment + Attachment + Attachment + + + + + + + + + ASBIE + Signature. Original_ Document Reference. Document Reference + A reference to the document that the signature applies to. For evidentiary purposes, this may be the document image that the signatory party saw when applying their signature. + 0..1 + Signature + Original + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Statement Line. Details + A class to define a line in a Statement of account. + Statement Line + + + + + + + + + BBIE + Statement Line. Identifier + An identifier for this statement line. + 1 + Statement Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Statement Line + Note + Text + Text. Type + + + + + + + + + BBIE + Statement Line. UUID. Identifier + A universally unique identifier for this statement line. + 0..1 + Statement Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement Line. Balance Brought Forward_ Indicator. Indicator + An indication that this statement line contains an outstanding balance from the previous bill(s) (true) or does not (false). + 0..1 + Statement Line + Balance Brought Forward + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Statement Line. Debit_ Line Amount. Amount + The amount debited on this statement line. + 0..1 + Statement Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Credit_ Line Amount. Amount + The amount credited on this statement line. + 0..1 + Statement Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Balance Amount. Amount + The balance amount on this statement line. + 0..1 + Statement Line + Balance Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Statement Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Statement Line. Payment Means + A means of payment associated with this statement line. + 0..1 + Statement Line + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Statement Line. Payment Terms + A specification of payment terms associated with this statement line. + 0..n + Statement Line + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Statement Line. Buyer_ Customer Party. Customer Party + The buyer associated with this statement line. + 0..1 + Statement Line + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Seller_ Supplier Party. Supplier Party + The seller/supplier associated with this statement line. + 0..1 + Statement Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement Line. Originator_ Customer Party. Customer Party + The originating party. + 0..1 + Statement Line + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Accounting_ Customer Party. Customer Party + The Accounting Customer Party related to the statement information reported on this Statement Line. + 0..1 + Statement Line + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Accounting_ Supplier Party. Supplier Party + The Accounting Supplier Party related to the statement information reported on this Statement Line. + 0..1 + Statement Line + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement Line. Payee_ Party. Party + The payee. + 0..1 + Statement Line + Payee + Party + Party + Party + + + + + + + + + ASBIE + Statement Line. Invoice_ Period. Period + An invoice period to which this statement line applies. + 0..n + Statement Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Statement Line. Billing Reference + A reference to a billing document associated with this statement line. + 0..n + Statement Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Statement Line. Document Reference + A reference to a document associated with this statement line. + 0..n + Statement Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Statement Line. Exchange Rate + The rate of exchange between the currency of the Statement and the currency of the document described in the BillingReference. + 0..1 + Statement Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Statement Line. Allowance Charge + A charge or discount price component associated with this statement line. + 0..n + Statement Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Statement Line. Collected_ Payment. Payment + A collected payment. + 0..n + Statement Line + Collected + Payment + Payment + Payment + + + + + + + + + + + ABIE + Status. Details + A class to describe the condition or position of an object. + Status + + + + + + + + + BBIE + Status. Condition Code. Code + Specifies the status condition of the related object. + 0..1 + Status + Condition Code + Code + Code. Type + + + + + + + + + BBIE + Status. Reference Date. Date + The reference date for this status. + 0..1 + Status + Reference Date + Date + Date. Type + + + + + + + + + BBIE + Status. Reference Time. Time + The reference time for this status. + 0..1 + Status + Reference Time + Time + Time. Type + + + + + + + + + BBIE + Status. Description. Text + Text describing this status. + 0..n + Status + Description + Text + Text. Type + + + + + + + + + BBIE + Status. Status Reason Code. Code + The reason for this status condition or position, expressed as a code. + 0..1 + Status + Status Reason Code + Code + Code. Type + + + + + + + + + BBIE + Status. Status_ Reason. Text + The reason for this status condition or position, expressed as text. + 0..n + Status + Status + Reason + Text + Text. Type + + + + + + + + + BBIE + Status. Sequence Identifier. Identifier + A sequence identifier for this status. + 0..1 + Status + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Status. Text + Provides any textual information related to this status. + 0..n + Status + Text + Text + Text. Type + + + + + + + + + BBIE + Status. Indication_ Indicator. Indicator + Specifies an indicator relevant to a specific status. + 0..1 + Status + Indication + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Status. Percent + A percentage meaningful in the context of this status. + 0..1 + Status + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Status. Reliability Percent. Percent + The reliability of this status, expressed as a percentage. + 0..1 + Status + Reliability Percent + Percent + Percent. Type + + + + + + + + + ASBIE + Status. Condition + Measurements that quantify the condition of the objects covered by the status. + 0..n + Status + Condition + Condition + Condition + + + + + + + + + + + ABIE + Stock Availability Report Line. Details + A class to define a line in a Stock Availability Report describing the availability of an item of sale. + Stock Availability Report Line + + + + + + + + + BBIE + Stock Availability Report Line. Identifier + An identifier for this stock availability line. + 1 + Stock Availability Report Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Stock Availability Report Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Stock Availability Report Line + Note + Text + Text. Type + + + + + + + + + BBIE + Stock Availability Report Line. Quantity + The quantity of the item currently in stock. + 1 + Stock Availability Report Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Stock Availability Report Line. Value. Amount + The monetary value of the quantity of the item currently in stock. + 0..1 + Stock Availability Report Line + Value + Amount + Amount. Type + + + + + + + + + BBIE + Stock Availability Report Line. Availability Date. Date + The date from which the item will be available. A date identical to or earlier than the IssueDate of the Stock Availability Report means that the item is available now + 0..1 + Stock Availability Report Line + Availability Date + Date + Date. Type + + + + + + + + + BBIE + Stock Availability Report Line. Availability Status Code. Code + A code signifying the level of availability of the item. + 0..1 + Stock Availability Report Line + Availability Status Code + Code + Code. Type + + + + + + + + + ASBIE + Stock Availability Report Line. Item + The item associated with this stock availability report line. + 1 + Stock Availability Report Line + Item + Item + Item + + + + + + + + + + + ABIE + Stowage. Details + A class to describe a location on board a means of transport where specified goods or transport equipment have been stowed or are to be stowed. + Stowage + + + + + + + + + BBIE + Stowage. Location Identifier. Identifier + An identifier for the location. + 0..1 + Stowage + Location Identifier + Identifier + Identifier. Type + Cell Location, coded + + + + + + + + + BBIE + Stowage. Location. Text + Text describing the location. + 0..n + Stowage + Location + Text + Text. Type + Cell Location + + + + + + + + + ASBIE + Stowage. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this stowage. + 0..n + Stowage + Measurement + Dimension + Dimension + Dimension + + + + + + + + + + + ABIE + Subcontract Terms. Details + A class to describe subcontract terms for a tendering process. + Subcontract Terms + + + + + + + + + BBIE + Subcontract Terms. Rate + MF: I agree with the query. Rate? + 0..1 + Subcontract Terms + Rate + Rate + Rate. Type + + + + + + + + + BBIE + Subcontract Terms. Unknown_ Price. Indicator + An indicator that the subcontract price is known (true) or not (false). + 0..1 + Subcontract Terms + Unknown + Price + Indicator + Indicator. Type + + + + + + + + + BBIE + Subcontract Terms. Description. Text + Text describing the subcontract terms. + 0..n + Subcontract Terms + Description + Text + Text. Type + + + + + + + + + BBIE + Subcontract Terms. Amount + The monetary amount assigned to the subcontracted task. + 0..1 + Subcontract Terms + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Subcontract Terms. Subcontracting Conditions Code. Code + A code specifying the conditions for subcontracting. + 0..1 + Subcontract Terms + Subcontracting Conditions Code + Code + Code. Type + + + + + + + + + BBIE + Subcontract Terms. Maximum_ Percent. Percent + The maximum percentage allowed to be subcontracted. + 0..1 + Subcontract Terms + Maximum + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Subcontract Terms. Minimum_ Percent. Percent + The minimum percentage allowed to be subcontracted. + 0..1 + Subcontract Terms + Minimum + Percent + Percent + Percent. Type + + + + + + + + + + + ABIE + Subscriber Consumption. Details + The consumption for a specific party for given consumption point provided by a numbers of suppliers. An enterprise can have one utility statement for several parties (e.g. a ministry of defence receiving a telephone bill). In this way each subscriber consumption represent a sub utility statement. + Subscriber Consumption + + + + + + + + + BBIE + Subscriber Consumption. Consumption Identifier. Identifier + The identifier tor this specification. + 0..1 + Subscriber Consumption + Consumption Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Subscriber Consumption. Specification Type Code. Code + The code which specifies the type of this specification, e.g. an on account specification or the yearly specification. + 0..1 + Subscriber Consumption + Specification Type Code + Code + Code. Type + + + + + + + + + BBIE + Subscriber Consumption. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Subscriber Consumption + Note + Text + Text. Type + This is how we have calculating your yearly statement + + + + + + + + + BBIE + Subscriber Consumption. Total Metered Quantity. Quantity + The total quantity consumed, as calculated from meter readings. + 0..1 + Subscriber Consumption + Total Metered Quantity + Quantity + Quantity. Type + 2000.0 + + + + + + + + + ASBIE + Subscriber Consumption. Subscriber_ Party. Party + The party subscribing to the utility. + 0..1 + Subscriber Consumption + Subscriber + Party + Party + Party + + + + + + + + + ASBIE + Subscriber Consumption. Utility_ Consumption Point. Consumption Point + The point at which the utility is consumed. + 1 + Subscriber Consumption + Utility + Consumption Point + Consumption Point + Consumption Point + + + + + + + + + ASBIE + Subscriber Consumption. On Account Payment + The planned prepayments (on account) regarding this subscription. + 0..n + Subscriber Consumption + On Account Payment + On Account Payment + On Account Payment + + + + + + + + + ASBIE + Subscriber Consumption. Consumption + The consumption in case the consumption is from one and only one supplier. + 0..1 + Subscriber Consumption + Consumption + Consumption + Consumption + + + + + + + + + ASBIE + Subscriber Consumption. Supplier Consumption + The consumption in case the consumption is from more than one supplier. + 0..n + Subscriber Consumption + Supplier Consumption + Supplier Consumption + Supplier Consumption + + + + + + + + + + + ABIE + Supplier Consumption. Details + The consumption in case the consumption is for one and only one supplier. + Supplier Consumption + + + + + + + + + BBIE + Supplier Consumption. Description. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Supplier Consumption + Description + Text + Text. Type + This is what you pay for electricity to DONG Energy North Utility + + + + + + + + + ASBIE + Supplier Consumption. Utility Supplier_ Party. Party + The party supplying the utility. + 0..1 + Supplier Consumption + Utility Supplier + Party + Party + Party + + + + + + + + + ASBIE + Supplier Consumption. Utility Customer_ Party. Party + The utility customer. + 0..1 + Supplier Consumption + Utility Customer + Party + Party + Party + + + + + + + + + ASBIE + Supplier Consumption. Consumption + The consumption regarding this supplier + 1 + Supplier Consumption + Consumption + Consumption + Consumption + + + + + + + + + ASBIE + Supplier Consumption. Contract + A contract setting forth conditions regulating the consumption. + 0..1 + Supplier Consumption + Contract + Contract + Contract + + + + + + + + + ASBIE + Supplier Consumption. Consumption Line + The consumption of a utility product. + 1..n + Supplier Consumption + Consumption Line + Consumption Line + Consumption Line + + + + + + + + + + + ABIE + Supplier Party. Details + A class to describe a supplier party. + Supplier Party + + + + + + + + + BBIE + Supplier Party. Customer Assigned_ Account Identifier. Identifier + An identifier for this supplier party, assigned by the customer. + 0..1 + Supplier Party + Customer Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Supplier Party. Additional_ Account Identifier. Identifier + An additional identifier for this supplier party. + 0..n + Supplier Party + Additional + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Supplier Party. Data Sending Capability. Text + Text describing the supplier's ability to send invoice data via a purchase card provider (e.g., VISA, MasterCard, American Express). + 0..1 + Supplier Party + Data Sending Capability + Text + Text. Type + + + + + + + + + ASBIE + Supplier Party. Party + The supplier party itself. + 0..1 + Supplier Party + Party + Party + Party + + + + + + + + + ASBIE + Supplier Party. Despatch_ Contact. Contact + A contact at this supplier party for despatches (pickups). + 0..1 + Supplier Party + Despatch + Contact + Contact + Contact + + + + + + + + + ASBIE + Supplier Party. Accounting_ Contact. Contact + A contact at this supplier party for accounting. + 0..1 + Supplier Party + Accounting + Contact + Contact + Contact + + + + + + + + + ASBIE + Supplier Party. Seller_ Contact. Contact + The primary contact for this supplier party. + 0..1 + Supplier Party + Seller + Contact + Contact + Contact + + + + + + + + + + + ABIE + Tax Category. Details + A class to describe one of the tax categories within a taxation scheme (e.g., High Rate VAT, Low Rate VAT). + Tax Category + + + + + + + + + BBIE + Tax Category. Identifier + An identifier for this tax category. + 0..1 + Tax Category + Identifier + Identifier + Identifier. Type + http://www.unece.org/uncefact/codelist/standard/UNECE_DutyorTaxorFeeCategoryCode_D09B.xsd + + + + + + + + + BBIE + Tax Category. Name + The name of this tax category. + 0..1 + Tax Category + Name + Name + Name. Type + Luxury Goods , Wine Equalization , Exempt + + + + + + + + + BBIE + Tax Category. Percent + The tax rate for this category, expressed as a percentage. + 0..1 + Tax Category + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Tax Category. Base Unit Measure. Measure + A Unit of Measures used as the basic for the tax calculation applied at a certain rate per unit. + 0..1 + Tax Category + Base Unit Measure + Measure + Measure. Type + + + + + + + + + BBIE + Tax Category. Per Unit_ Amount. Amount + Where a tax is applied at a certain rate per unit, the rate per unit applied. + 0..1 + Tax Category + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Category. Tax Exemption Reason Code. Code + The reason for tax being exempted, expressed as a code. + 0..1 + Tax Category + Tax Exemption Reason Code + Code + Code. Type + http://www.unece.org/uncefact/codelist/standard/UNECE_DutyTaxFeeTypeCode_D09B.xsd + + + + + + + + + BBIE + Tax Category. Tax Exemption Reason. Text + The reason for tax being exempted, expressed as text. + 0..n + Tax Category + Tax Exemption Reason + Text + Text. Type + + + + + + + + + BBIE + Tax Category. Tier Range. Text + Where a tax is tiered, the range of taxable amounts that determines the rate of tax applicable to this tax category. + 0..1 + Tax Category + Tier Range + Text + Text. Type + + + + + + + + + BBIE + Tax Category. Tier Rate. Percent + Where a tax is tiered, the tax rate that applies within the specified range of taxable amounts for this tax category. + 0..1 + Tax Category + Tier Rate + Percent + Percent. Type + + + + + + + + + ASBIE + Tax Category. Tax Scheme + The taxation scheme within which this tax category is defined. + 1 + Tax Category + Tax Scheme + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Tax Scheme. Details + A class to describe a taxation scheme (e.g., VAT, State tax, County tax). + Tax Scheme + + + + + + + + + BBIE + Tax Scheme. Identifier + An identifier for this taxation scheme. + 0..1 + Tax Scheme + Identifier + Identifier + Identifier. Type + http://www.unece.org/uncefact/codelist/standard/EDIFICASEU_TaxExemptionReason_D09B.xsd + + + + + + + + + BBIE + Tax Scheme. Name + The name of this taxation scheme. + 0..1 + Tax Scheme + Name + Name + Name. Type + Value Added Tax , Wholesale Tax , Sales Tax , State Tax + + + + + + + + + BBIE + Tax Scheme. Tax Type Code. Code + A code signifying the type of tax. + 0..1 + Tax Scheme + Tax Type Code + Code + Code. Type + Consumption , Sales + + + + + + + + + BBIE + Tax Scheme. Currency Code. Code + A code signifying the currency in which the tax is collected and reported. + 0..1 + Tax Scheme + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Tax Scheme. Jurisdiction Region_ Address. Address + A geographic area in which this taxation scheme applies. + 0..n + Tax Scheme + Jurisdiction Region + Address + Address + Address + + + + + + + + + + + ABIE + Tax Subtotal. Details + A class to define the subtotal for a particular tax category within a particular taxation scheme, such as standard rate within VAT. + Tax Subtotal + + + + + + + + + BBIE + Tax Subtotal. Taxable_ Amount. Amount + The net amount to which the tax percent (rate) is applied to calculate the tax amount. + 0..1 + Tax Subtotal + Taxable + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Tax Amount. Amount + The amount of this tax subtotal. + 1 + Tax Subtotal + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Calculation Sequence. Numeric + The number of this tax subtotal in the sequence of subtotals corresponding to the order in which multiple taxes are applied. If all taxes are applied to the same taxable amount (i.e., their order of application is inconsequential), then CalculationSequenceNumeric is 1 for all tax subtotals applied to a given amount. + 0..1 + Tax Subtotal + Calculation Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Tax Subtotal. Transaction Currency_ Tax Amount. Amount + The amount of this tax subtotal, expressed in the currency used for invoicing. + 0..1 + Tax Subtotal + Transaction Currency + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Percent + The tax rate of the tax category applied to this tax subtotal, expressed as a percentage. + 0..1 + Tax Subtotal + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Tax Subtotal. Base Unit Measure. Measure + The unit of measure on which the tax calculation is based + 0..1 + Tax Subtotal + Base Unit Measure + Measure + Measure. Type + + + + + + + + + BBIE + Tax Subtotal. Per Unit_ Amount. Amount + Where a tax is applied at a certain rate per unit, the rate per unit applied. + 0..1 + Tax Subtotal + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Tier Range. Text + Where a tax is tiered, the range of taxable amounts that determines the rate of tax applicable to this tax subtotal. + 0..1 + Tax Subtotal + Tier Range + Text + Text. Type + + + + + + + + + BBIE + Tax Subtotal. Tier Rate. Percent + Where a tax is tiered, the tax rate that applies within a specified range of taxable amounts for this tax subtotal. + 0..1 + Tax Subtotal + Tier Rate + Percent + Percent. Type + + + + + + + + + ASBIE + Tax Subtotal. Tax Category + The tax category applicable to this subtotal. + 1 + Tax Subtotal + Tax Category + Tax Category + Tax Category + + + + + + + + + + + ABIE + Tax Total. Details + A class to describe the total tax for a particular taxation scheme. + Tax Total + + + + + + + + + BBIE + Tax Total. Tax Amount. Amount + The total tax amount for a particular taxation scheme, e.g., VAT; the sum of the tax subtotals for each tax category within the taxation scheme. + 1 + Tax Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Total. Rounding Amount. Amount + The rounding amount (positive or negative) added to the calculated tax total to produce the rounded TaxAmount. + 0..1 + Tax Total + Rounding Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Total. Tax Evidence_ Indicator. Indicator + An indicator that this total is recognized as legal evidence for taxation purposes (true) or not (false). + 0..1 + Tax Total + Tax Evidence + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Tax Total. Tax Included_ Indicator. Indicator + An indicator that tax is included in the calculation (true) or not (false). + 0..1 + Tax Total + Tax Included + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Tax Total. Tax Subtotal + One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme. + 0..n + Tax Total + Tax Subtotal + Tax Subtotal + Tax Subtotal + + + + + + + + + + + ABIE + Telecommunications Service. Details + A class to describe a telecommunications service (e.g., a telephone call or a video on demand service). + Telecommunications Service + + + + + + + + + BBIE + Telecommunications Service. Identifier + An identifier for this telecommunications service. + 0..1 + Telecommunications Service + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Telecommunications Service. Call_ Date. Date + In the case of a telephone call, the date of the call. + 1 + Telecommunications Service + Call + Date + Date + Date. Type + 2008-01-01 + + + + + + + + + BBIE + Telecommunications Service. Call_ Time. Time + In the case of a telephone call, the time of the call. + 1 + Telecommunications Service + Call + Time + Time + Time. Type + 00:01:00 + + + + + + + + + BBIE + Telecommunications Service. Service Number Called. Text + In the case of a telephone call, the phone number called. + 1 + Telecommunications Service + Service Number Called + Text + Text. Type + 12345679 + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Category. Text + The telecommunications category, expressed as text. + 0..1 + Telecommunications Service + Telecommunications Service Category + Text + Text. Type + Subscription + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Category Code. Code + The telecommunications category, expressed as a code. + 0..1 + Telecommunications Service + Telecommunications Service Category Code + Code + Code. Type + Subscription + + + + + + + + + BBIE + Telecommunications Service. Movie Title. Text + The title of a movie delivered via this telecommunications service. + 0..1 + Telecommunications Service + Movie Title + Text + Text. Type + The Matrix + + + + + + + + + BBIE + Telecommunications Service. Roaming Partner Name. Name + Statement of the roaming partner name. + 0..1 + Telecommunications Service + Roaming Partner Name + Name + Name. Type + + + + + + + + + BBIE + Telecommunications Service. Pay Per View. Text + A pay-per-view delivered via this telecommunications service. + 0..1 + Telecommunications Service + Pay Per View + Text + Text. Type + + + + + + + + + BBIE + Telecommunications Service. Quantity + The number of calls. + 0..1 + Telecommunications Service + Quantity + Quantity + Quantity. Type + 5761 + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Call. Text + The telecommunications call described as a text + 0..1 + Telecommunications Service + Telecommunications Service Call + Text + Text. Type + CallAttempt + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Call Code. Code + The telecommunications call described as a code + 0..1 + Telecommunications Service + Telecommunications Service Call Code + Code + Code. Type + CallAttempt + + + + + + + + + BBIE + Telecommunications Service. Call Base_ Amount. Amount + The amount to be payed as the base for one call + 0..1 + Telecommunications Service + Call Base + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Telecommunications Service. Call Extension_ Amount. Amount + The amount to be payed for the call + 0..1 + Telecommunications Service + Call Extension + Amount + Amount + Amount. Type + 542.44 + + + + + + + + + ASBIE + Telecommunications Service. Price + The price for using the telecommunication service + 0..1 + Telecommunications Service + Price + Price + Price + + + + + + + + + ASBIE + Telecommunications Service. Country + The country to which the service is provided. In case of a telephone call it is the country where the receiver is located. + 0..1 + Telecommunications Service + Country + Country + Country + + + + + + + + + ASBIE + Telecommunications Service. Exchange Rate + A exchanges rates used in the pricing e.g.. when phone calls has crossed border lines. + 0..n + Telecommunications Service + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Telecommunications Service. Allowance Charge + An allowance or charge that applies to the UtilityStatement as a whole. + 0..n + Telecommunications Service + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Telecommunications Service. Tax Total + A total amount of taxes of a particular kind applicable to this telecommunications service. + 0..n + Telecommunications Service + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Telecommunications Service. Call_ Duty. Duty + In the case of a telephone call, a duty on this call. + 0..n + Telecommunications Service + Call + Duty + Duty + Duty + + + + + + + + + ASBIE + Telecommunications Service. Time_ Duty. Duty + A duty on a consumption of time. + 0..n + Telecommunications Service + Time + Duty + Duty + Duty + + + + + + + + + + + ABIE + Telecommunications Supply. Details + A class describing the supply of a telecommunication service, e.g., providing telephone calls. + Telecommunications Supply + + + + + + + + + BBIE + Telecommunications Supply. Telecommunications Supply Type. Text + The type of telecommunications supply, expressed as text. + 0..1 + Telecommunications Supply + Telecommunications Supply Type + Text + Text. Type + Itemized tele Statement + + + + + + + + + BBIE + Telecommunications Supply. Telecommunications Supply Type Code. Code + The type of telecommunications supply, expressed as a code. + 0..1 + Telecommunications Supply + Telecommunications Supply Type Code + Code + Code. Type + TeleExtended + + + + + + + + + BBIE + Telecommunications Supply. Privacy Code. Code + A code signifying the level of confidentiality of this information for this telecommunication supply. + 1 + Telecommunications Supply + Privacy Code + Code + Code. Type + CompanyLevel + + + + + + + + + BBIE + Telecommunications Supply. Description. Text + Text describing the telecommunications supply. + 0..n + Telecommunications Supply + Description + Text + Text. Type + Extended conversation Statement January quarter 2008. + + + + + + + + + BBIE + Telecommunications Supply. Total_ Amount. Amount + The total amount associated with this telecommunications supply. + 0..1 + Telecommunications Supply + Total + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Telecommunications Supply. Telecommunications Supply Line + Outlines the provided telecommunication supply + 1..n + Telecommunications Supply + Telecommunications Supply Line + Telecommunications Supply Line + Telecommunications Supply Line + + + + + + + + + + + ABIE + Telecommunications Supply Line. Details + A class that outlines the telecommunication supply in details + Telecommunications Supply Line + + + + + + + + + BBIE + Telecommunications Supply Line. Identifier + An identifier for this telecommunications supply line. + 1 + Telecommunications Supply Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Telecommunications Supply Line. Phone Number. Text + The phone number used for this telecommunication supply line + 1 + Telecommunications Supply Line + Phone Number + Text + Text. Type + 12345678 + + + + + + + + + BBIE + Telecommunications Supply Line. Description. Text + The description of the telecommunication supply line + 0..n + Telecommunications Supply Line + Description + Text + Text. Type + Additional informations + + + + + + + + + BBIE + Telecommunications Supply Line. Line Extension Amount. Amount + An amount specifying the cost of this telecommunication line + 0..1 + Telecommunications Supply Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Telecommunications Supply Line. Exchange Rate + Exchanges rates used to calculate the amount for this line. + 0..n + Telecommunications Supply Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Telecommunications Supply Line. Allowance Charge + An allowance or charge that applies to this telecommunication supply line. + 0..n + Telecommunications Supply Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Telecommunications Supply Line. Tax Total + A total amount of taxes of a particular kind applicable to this telecommunications supply line + 0..n + Telecommunications Supply Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Telecommunications Supply Line. Telecommunications Service + A telecommunications service (e.g., a telephone call). + 1..n + Telecommunications Supply Line + Telecommunications Service + Telecommunications Service + Telecommunications Service + + + + + + + + + + + ABIE + Temperature. Details + A class to describe a measurement of temperature. + Temperature + + + + + + + + + BBIE + Temperature. Attribute Identifier. Identifier + An identifier for this temperature measurement. + 1 + Temperature + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Temperature. Measure + The value of this temperature measurement. + 1 + Temperature + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Temperature. Description. Text + Text describing this temperature measurement. + 0..n + Temperature + Description + Text + Text. Type + at sea level + + + + + + + + + + + ABIE + Tender Line. Details + A class to define a line in a Tender. + Tender Line + + + + + + + + + BBIE + Tender Line. Identifier + An identifier for this tender line. + 0..1 + Tender Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Tender Line + Note + Text + Text. Type + + + + + + + + + BBIE + Tender Line. Quantity + The quantity of the item quoted in this tender line. + 0..1 + Tender Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Tender Line. Line Extension Amount. Amount + The total amount for this tender line, including allowance charges but net of taxes. + 0..1 + Tender Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tender Line. Total_ Tax Amount. Amount + The total tax amount for this tender line. + 0..1 + Tender Line + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tender Line. Orderable_ Unit. Text + Text describing a unit in which the item described in this tender line can be ordered. + 0..1 + Tender Line + Orderable + Unit + Text + Text. Type + + + + + + + + + BBIE + Tender Line. Content Unit. Quantity + The unit of measure and quantity of the orderable unit. + 0..1 + Tender Line + Content Unit + Quantity + Quantity. Type + If order unit measure identifier is each , then content unit quantity is 1 . + + + + + + + + + BBIE + Tender Line. Order Quantity Increment. Numeric + The number of items that can set the order quantity increments. + 0..1 + Tender Line + Order Quantity Increment + Numeric + Numeric. Type + + + + + + + + + BBIE + Tender Line. Minimum_ Order Quantity. Quantity + The minimum number of items described in this tender line that can be ordered. + 0..1 + Tender Line + Minimum + Order Quantity + Quantity + Quantity. Type + 10 boxes + + + + + + + + + BBIE + Tender Line. Maximum_ Order Quantity. Quantity + The maximum number of items described in this tender line that can be ordered. + 0..1 + Tender Line + Maximum + Order Quantity + Quantity + Quantity. Type + 1 tonne + + + + + + + + + BBIE + Tender Line. Warranty_ Information. Text + Text about a warranty (provided by WarrantyParty) for the good or service described in this tender line. + 0..n + Tender Line + Warranty + Information + Text + Text. Type + Unless specified otherwise and in addition to any rights the Customer may have under statute, Dell warrants to the Customer that Dell branded Products (excluding third party products and software), will be free from defects in materials and workmanship affecting normal use for a period of one year from invoice date ( Standard Warranty ). + + + + + + + + + BBIE + Tender Line. Pack Level Code. Code + A mutually agreed code signifying the level of packaging associated with the item described in this tender line. + 0..1 + Tender Line + Pack Level Code + Code + Code. Type + Consumer Unit, Trading Unit + level 2 , Group 4 + + + + + + + + + ASBIE + Tender Line. Document Reference + A reference to a document associated with this tender line. + 0..n + Tender Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Line. Item + The item associated with this tender line. + 0..1 + Tender Line + Item + Item + Item + + + + + + + + + ASBIE + Tender Line. Offered_ Item Location Quantity. Item Location Quantity + A set of location-specific properties (e.g., price, quantity, lead time) associated with the item described in this tender line. + 0..n + Tender Line + Offered + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Tender Line. Replacement_ Related Item. Related Item + A catalogue item that may be a replacement for the item described in this tender line. + 0..n + Tender Line + Replacement + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Tender Line. Warranty_ Party. Party + The party responsible for any warranty described in this tender line. + 0..1 + Tender Line + Warranty + Party + Party + Party + + + + + + + + + ASBIE + Tender Line. Warranty Validity_ Period. Period + The period for which a warranty associated with the item described in this tender line is valid. + 0..1 + Tender Line + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Tender Line. Sub_ Tender Line. Tender Line + An association to a Sub Tender Line + 0..n + Tender Line + Sub + Tender Line + Tender Line + Tender Line + + + + + + + + + ASBIE + Tender Line. Call For Tenders_ Line Reference. Line Reference + Reference to a Line on a Call For Tenders document. + 0..1 + Tender Line + Call For Tenders + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Tender Line. Call For Tenders_ Document Reference. Document Reference + A class defining references to a Call For Tenders document. + 0..1 + Tender Line + Call For Tenders + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Tender Preparation. Details + A class to describe directions for preparing a tender. + Tender Preparation + + + + + + + + + BBIE + Tender Preparation. Tender Envelope Identifier. Identifier + An identifier for the tender envelope to be used with the tender. + 1 + Tender Preparation + Tender Envelope Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Preparation. Tender Envelope Type Code. Code + A code signifying the type of tender envelope (economical or objective criteria versus technical or subjective criteria). + 0..1 + Tender Preparation + Tender Envelope Type Code + Code + Code. Type + + + + + + + + + BBIE + Tender Preparation. Description. Text + Text describing the tender envelope. + 0..n + Tender Preparation + Description + Text + Text. Type + + + + + + + + + BBIE + Tender Preparation. Open Tender Identifier. Identifier + An identifier for the open tender associated with this tender preparation. + 0..1 + Tender Preparation + Open Tender Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Tender Preparation. Procurement Project Lot + The procurement project lot associated with a particular tenderer. + 0..n + Tender Preparation + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Tender Preparation. Document_ Tender Requirement. Tender Requirement + A reference to the template for a required document in a tendering process. + 0..n + Tender Preparation + Document + Tender Requirement + Tender Requirement + Tender Requirement + Curricula required, Experience required, .... + + + + + + + + + + + ABIE + Tender Requirement. Details + A template for a required document in a tendering process. + Tender Requirement + + + + + + + + + BBIE + Tender Requirement. Name + A name of this tender requirement. + 1 + Tender Requirement + Name + Name + Name. Type + + + + + + + + + BBIE + Tender Requirement. Description. Text + Text describing this tender requirement. + 0..n + Tender Requirement + Description + Text + Text. Type + + + + + + + + + ASBIE + Tender Requirement. Template_ Document Reference. Document Reference + A reference to the template for a required document. + 0..1 + Tender Requirement + Template + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Tender Result. Details + A class to describe the awarding of a tender in a tendering process. + Tender Result + + + + + + + + + BBIE + Tender Result. Tender_ Result Code. Code + A code signifying the result of the tendering process. + 0..1 + Tender Result + Tender + Result Code + Code + Code. Type + + + + + + + + + BBIE + Tender Result. Description. Text + Text describing the result of the tendering process. + 0..n + Tender Result + Description + Text + Text. Type + + + + + + + + + BBIE + Tender Result. Advertisement. Amount + The monetary value of the advertisement for this tendering process. + 0..1 + Tender Result + Advertisement + Amount + Amount. Type + + + + + + + + + BBIE + Tender Result. Award Date. Date + The date on which this result was formalized. + 1 + Tender Result + Award Date + Date + Date. Type + + + + + + + + + BBIE + Tender Result. Award Time. Time + The time at which this result was formalized. + 0..1 + Tender Result + Award Time + Time + Time. Type + + + + + + + + + BBIE + Tender Result. Received_ Tender. Quantity + The total number of tenders received in this tendering process. + 0..1 + Tender Result + Received + Tender + Quantity + Quantity. Type + + + + + + + + + BBIE + Tender Result. Lower_ Tender. Amount + The least expensive tender received in the tendering process. + 0..1 + Tender Result + Lower + Tender + Amount + Amount. Type + + + + + + + + + BBIE + Tender Result. Higher_ Tender. Amount + The most expensive tender received in this tendering process. + 0..1 + Tender Result + Higher + Tender + Amount + Amount. Type + + + + + + + + + BBIE + Tender Result. Start Date. Date + The date on which the awarded contract begins. + 0..1 + Tender Result + Start Date + Date + Date. Type + + + + + + + + + BBIE + Tender Result. Received_ Electronic Tender Quantity. Quantity + The number of electronic tenders received. + 0..1 + Tender Result + Received + Electronic Tender Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Tender Result. Received_ Foreign Tender Quantity. Quantity + The number of foreing tenders received. + 0..1 + Tender Result + Received + Foreign Tender Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Tender Result. Contract + A contract governing this tender result. + 0..1 + Tender Result + Contract + Contract + Contract + + + + + + + + + ASBIE + Tender Result. Awarded_ Tendered Project. Tendered Project + The awarded tendered project associated with this tender result. + 0..1 + Tender Result + Awarded + Tendered Project + Tendered Project + Tendered Project + + + + + + + + + ASBIE + Tender Result. Contract Formalization_ Period. Period + The period during which a contract associated with the awarded project is to be formalized. + 0..1 + Tender Result + Contract Formalization + Period + Period + Period + + + + + + + + + ASBIE + Tender Result. Subcontract Terms + Subcontract terms for this tender result. + 0..n + Tender Result + Subcontract Terms + Subcontract Terms + Subcontract Terms + + + + + + + + + ASBIE + Tender Result. Winning Party + A party that is identified as the awarded by a tender result. + 0..n + Tender Result + Winning Party + Winning Party + Winning Party + + + + + + + + + + + ABIE + Tendered Project. Details + A class to describe a tendered project or project lot. + Tendered Project + + + + + + + + + BBIE + Tendered Project. Variant. Identifier + An identifier for this variant of a tendered project. + 0..1 + Tendered Project + Variant + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendered Project. Fee. Amount + The fee amount for tendered projects. + 0..1 + Tendered Project + Fee + Amount + Amount. Type + + + + + + + + + BBIE + Tendered Project. Fee_ Description. Text + Text describing the fee amount for tendered projects. + 0..n + Tendered Project + Fee + Description + Text + Text. Type + + + + + + + + + BBIE + Tendered Project. Tender Envelope Identifier. Identifier + An identifier for the tender envelope this tendered project belongs to. + 0..1 + Tendered Project + Tender Envelope Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendered Project. Tender Envelope Type Code. Code + A code signifying the type of tender envelope this tendered project belongs to. + 0..1 + Tendered Project + Tender Envelope Type Code + Code + Code. Type + + + + + + + + + ASBIE + Tendered Project. Procurement Project Lot + The procurement project lot to which this Tender Line refers to. If there are no lots, this should not be defined. + 0..1 + Tendered Project + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Tendered Project. Evidence_ Document Reference. Document Reference + A reference to a non-structured evidentiary document supporting this tendered project. + 0..n + Tendered Project + Evidence + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendered Project. Tax Total + A total amount of taxes of a particular kind applicable to the monetary total for this tendered project. + 0..n + Tendered Project + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Tendered Project. Legal_ Monetary Total. Monetary Total + The total amount for this tendered project. + 0..1 + Tendered Project + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Tendered Project. Tender Line + A line in the tender for this tendered project. + 0..n + Tendered Project + Tender Line + Tender Line + Tender Line + + + + + + + + + ASBIE + Tendered Project. Awarding Criterion Response + An association to an Awarding Criterion Response. + 0..n + Tendered Project + Awarding Criterion Response + Awarding Criterion Response + Awarding Criterion Response + + + + + + + + + + + ABIE + Tenderer Party Qualification. Details + A class to describe the qualifications of a tenderer party. + Tenderer Party Qualification + + + + + + + + + ASBIE + Tenderer Party Qualification. Interested_ Procurement Project Lot. Procurement Project Lot + The procurement project lot the party is interested in. + 0..n + Tenderer Party Qualification + Interested + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Tenderer Party Qualification. Main_ Qualifying Party. Qualifying Party + The qualifications of the main tenderer party. + 1 + Tenderer Party Qualification + Main + Qualifying Party + Qualifying Party + Qualifying Party + + + + + + + + + ASBIE + Tenderer Party Qualification. Additional_ Qualifying Party. Qualifying Party + The qualifications of a tenderer party other than the main tenderer party when bidding as a consortium. + 0..n + Tenderer Party Qualification + Additional + Qualifying Party + Qualifying Party + Qualifying Party + + + + + + + + + + + ABIE + Tenderer Qualification Request. Details + The evaluation that the Contracting Authority party requests to fulfill to the tenderers. + Tenderer Qualification Request + + + + + + + + + BBIE + Tenderer Qualification Request. Company Legal Form Code. Code + The legal status requested for potential tenderers, expressed as a code. + 0..1 + Tenderer Qualification Request + Company Legal Form Code + Code + Code. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Company Legal Form. Text + The legal status requested for potential tenderers, expressed as text + 0..1 + Tenderer Qualification Request + Company Legal Form + Text + Text. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Personal Situation. Text + Text describing the personal situation of the economic operators in this tendering process. + 0..n + Tenderer Qualification Request + Personal Situation + Text + Text. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Operating Years. Quantity + Textual description of the legal form required for potential tenderers. + 0..1 + Tenderer Qualification Request + Operating Years + Quantity + Quantity. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Employee. Quantity + Textual description of the legal form required for potential tenderers. + 0..1 + Tenderer Qualification Request + Employee + Quantity + Quantity. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Description. Text + Text describing the evaluation requirements for this tenderer. + 0..n + Tenderer Qualification Request + Description + Text + Text. Type + + + + + + + + + ASBIE + Tenderer Qualification Request. Required Business_ Classification Scheme. Classification Scheme + A classification scheme for the business profile. + 0..n + Tenderer Qualification Request + Required Business + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + ASBIE + Tenderer Qualification Request. Technical_ Evaluation Criterion. Evaluation Criterion + A technical evaluation criterion required for an economic operator in a tendering process. + 0..n + Tenderer Qualification Request + Technical + Evaluation Criterion + Evaluation Criterion + Evaluation Criterion + + + + + + + + + ASBIE + Tenderer Qualification Request. Financial_ Evaluation Criterion. Evaluation Criterion + A financial evaluation criterion required for an economic operator in a tendering process. + 0..n + Tenderer Qualification Request + Financial + Evaluation Criterion + Evaluation Criterion + Evaluation Criterion + + + + + + + + + ASBIE + Tenderer Qualification Request. Specific_ Tenderer Requirement. Tenderer Requirement + A requirement to be met by a tenderer. + 0..n + Tenderer Qualification Request + Specific + Tenderer Requirement + Tenderer Requirement + Tenderer Requirement + Preregistration in a Business Registry + + + + + + + + + ASBIE + Tenderer Qualification Request. Economic Operator Role + A class to describe the tenderer contracting role. + 0..n + Tenderer Qualification Request + Economic Operator Role + Economic Operator Role + Economic Operator Role + + + + + + + + + + + ABIE + Tenderer Requirement. Details + A class to describe an action or statement required of an economic operator participating in a tendering process. + Tenderer Requirement + + + + + + + + + BBIE + Tenderer Requirement. Name + A name of this tenderer requirement. + 0..n + Tenderer Requirement + Name + Name + Name. Type + + + + + + + + + BBIE + Tenderer Requirement. Tenderer Requirement_ Type Code. Code + A code signifying this requirement. + 0..1 + Tenderer Requirement + Tenderer Requirement + Type Code + Code + Code. Type + + + + + + + + + BBIE + Tenderer Requirement. Description. Text + Text describing this requirement. + 0..n + Tenderer Requirement + Description + Text + Text. Type + + + + + + + + + BBIE + Tenderer Requirement. Legal Reference. Text + The legal reference of the exclusion criterion. + 0..1 + Tenderer Requirement + Legal Reference + Text + Text. Type + Art. 45 2 b + + + + + + + + + ASBIE + Tenderer Requirement. Suggested_ Evidence. Evidence + An item of evidence that should be submitted to satisfy this requirement. + 0..n + Tenderer Requirement + Suggested + Evidence + Evidence + Evidence + + + + + + + + + + + ABIE + Tendering Process. Details + A class to describe the process of a formal offer and response to execute work or supply goods at a stated price. + Tendering Process + + + + + + + + + BBIE + Tendering Process. Identifier + An identifier for this tendering process. + 0..1 + Tendering Process + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Process. Original_ Contracting System. Identifier + When reopening a tendering process, the identifier of the original framework agreement or dynamic purchasing system. + 0..1 + Tendering Process + Original + Contracting System + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Process. Description. Text + Text describing the tendering process. + 0..n + Tendering Process + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Process. Negotiation_ Description. Text + Text describing the negotiation to be followed during the tendering process. + 0..n + Tendering Process + Negotiation + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Process. Procedure Code. Code + A code signifying the type of this tendering procedure. + 0..1 + Tendering Process + Procedure Code + Code + Code. Type + Open, Restricted, Negotiated + + + + + + + + + BBIE + Tendering Process. Urgency Code. Code + A code signifying the urgency of this tendering process. + 0..1 + Tendering Process + Urgency Code + Code + Code. Type + Urgent, Normal, Emergency + + + + + + + + + BBIE + Tendering Process. Expense Code. Code + A code signifying the type of expense for this tendering process. + 0..1 + Tendering Process + Expense Code + Code + Code. Type + Normal, Anticipated + + + + + + + + + BBIE + Tendering Process. Part Presentation Code. Code + A code signifying the type of presentation of tenders required (e.g., one lot, multiple lots, or all the lots). + 0..1 + Tendering Process + Part Presentation Code + Code + Code. Type + One Lot, Multiple Lots, All Lots + + + + + + + + + BBIE + Tendering Process. Contracting System Code. Code + A code signifying the type of contracting system (e.g., framework agreement, dynamic purchasing system). If the procedure is individual (nonrepetitive), this code should be omitted. + 0..1 + Tendering Process + Contracting System Code + Code + Code. Type + Framework Agreement, Dynamic Purchasing System + + + + + + + + + BBIE + Tendering Process. Submission Method Code. Code + A code signifying the method to be followed in submitting tenders. + 0..1 + Tendering Process + Submission Method Code + Code + Code. Type + Manual, Electronically, etc. + + + + + + + + + BBIE + Tendering Process. Candidate Reduction_ Constraint. Indicator + An indicator that the number of candidates participating in this process has been reduced (true) or not (false). + 0..1 + Tendering Process + Candidate Reduction + Constraint + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Process. Government Agreement_ Constraint. Indicator + An indicator that the project associated with this tendering process is constrained by a government procurement agreement (true) or not (false). + 0..1 + Tendering Process + Government Agreement + Constraint + Indicator + Indicator. Type + + + + + + + + + ASBIE + Tendering Process. Document Availability_ Period. Period + The period during which documents relating to this tendering process must be completed. + 0..1 + Tendering Process + Document Availability + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Tender Submission Deadline_ Period. Period + The period during which tenders must be delivered. + 0..1 + Tendering Process + Tender Submission Deadline + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Invitation Submission_ Period. Period + The period during which invitations to tender must be completed and delivered. + 0..1 + Tendering Process + Invitation Submission + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Participation Request Reception_ Period. Period + The period during which requests for participation must be completed and delivered. + 0..1 + Tendering Process + Participation Request Reception + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Notice_ Document Reference. Document Reference + A reference to a notice pertaining to this tendering process. + 0..n + Tendering Process + Notice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Process. Additional_ Document Reference. Document Reference + A reference to an additional document. + 0..n + Tendering Process + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Process. Process Justification + A justification for the selection of this tendering process. + 0..n + Tendering Process + Process Justification + Process Justification + Process Justification + + + + + + + + + ASBIE + Tendering Process. Economic Operator Short List + A set of criteria used to create a short list of candidates. + 0..1 + Tendering Process + Economic Operator Short List + Economic Operator Short List + Economic Operator Short List + + + + + + + + + ASBIE + Tendering Process. Open Tender_ Event. Event + Textual description of the legal form required for potential tenderers. + 0..n + Tendering Process + Open Tender + Event + Event + Event + + + + + + + + + ASBIE + Tendering Process. Auction Terms + The terms to be fulfilled by tenderers if an auction is to be executed before the awarding of a tender. + 0..1 + Tendering Process + Auction Terms + Auction Terms + Auction Terms + + + + + + + + + ASBIE + Tendering Process. Framework Agreement + A tendering framework agreement. + 0..1 + Tendering Process + Framework Agreement + Framework Agreement + Framework Agreement + + + + + + + + + + + ABIE + Tendering Terms. Details + A class to describe tendering terms for a tendering process. + Tendering Terms + + + + + + + + + BBIE + Tendering Terms. Awarding Method Type Code. Code + A code signifying the awarding method in a tendering process (e.g., a method favoring the tender with the lowest price or the tender that is most economically advantageous). + 0..1 + Tendering Terms + Awarding Method Type Code + Code + Code. Type + Price, Multiple criteria + + + + + + + + + BBIE + Tendering Terms. Price Evaluation Code. Code + Textual description of the legal form required for potential tenderers. + 0..1 + Tendering Terms + Price Evaluation Code + Code + Code. Type + Unit prices, global price + + + + + + + + + BBIE + Tendering Terms. Maximum Variant_ Quantity. Quantity + Maximum number of variants the tenderer is allowed to present for this tendering project. + 0..1 + Tendering Terms + Maximum Variant + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Tendering Terms. Variant_ Constraint. Indicator + An indicator that variants are allowed and unconstrained in number (true) or not allowed (false). + 0..1 + Tendering Terms + Variant + Constraint + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Terms. Accepted Variants_ Description. Text + Text specifying the things for which variants are accepted. + 0..n + Tendering Terms + Accepted Variants + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Price Revision_ Formula Description. Text + Text describing the formula for price revision. + 0..n + Tendering Terms + Price Revision + Formula Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Funding_ Program Code. Code + The program that funds the tendering process (e.g., "National", "European"), expressed as a code. + 0..1 + Tendering Terms + Funding + Program Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Terms. Funding_ Program. Text + The program that funds the tendering process (e.g., EU 6th Framework Program) expressed as text. + 0..n + Tendering Terms + Funding + Program + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Maximum_ Advertisement. Amount + The maximum advertised monetary value of the tendering process. + 0..1 + Tendering Terms + Maximum + Advertisement + Amount + Amount. Type + + + + + + + + + BBIE + Tendering Terms. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Tendering Terms + Note + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Payment Frequency Code. Code + A code signifying the frequency of payment in the contract associated with the tendering process. + 0..1 + Tendering Terms + Payment Frequency Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Terms. Economic Operator Registry_ URI. Identifier + The Uniform Resource Identifier (URI) of an electronic registry of economic operators. + 0..1 + Tendering Terms + Economic Operator Registry + URI + Identifier + Identifier. Type + Web site + + + + + + + + + BBIE + Tendering Terms. Required Curricula. Indicator + An indicator that tenderers are required to provide a curriculum vitae for each participant in the project (true) or are not so required (false). + 0..1 + Tendering Terms + Required Curricula + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Terms. Other_ Conditions. Indicator + Indicates whether other conditions exist (true) or not (false). If the indicator is true, the description may be provided. + 0..1 + Tendering Terms + Other + Conditions + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Terms. Additional_ Conditions. Text + Other existing conditions. + 0..n + Tendering Terms + Additional + Conditions + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Latest_ Security Clearance Date. Date + The end date until which the candidates can obtain the necessary level of security clearance. + 0..1 + Tendering Terms + Latest + Security Clearance Date + Date + Date. Type + + + + + + + + + BBIE + Tendering Terms. Documentation Fee Amount. Amount + The amount to be paid to obtain the contract documents and additional documentation. + 0..1 + Tendering Terms + Documentation Fee Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Tendering Terms. Penalty_ Clause. Clause + The penalty clauses + 0..n + Tendering Terms + Penalty + Clause + Clause + Clause + + + + + + + + + ASBIE + Tendering Terms. Required_ Financial Guarantee. Financial Guarantee + A financial guarantee of a tenderer or bid submitter's actual entry into a contract in the event that it is the successful bidder. + 0..n + Tendering Terms + Required + Financial Guarantee + Financial Guarantee + Financial Guarantee + + + + + + + + + ASBIE + Tendering Terms. Procurement Legislation_ Document Reference. Document Reference + A reference to a document providing references to procurement legislation applicable to the tendering process. + 0..1 + Tendering Terms + Procurement Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Fiscal Legislation_ Document Reference. Document Reference + A reference to a document providing references to fiscal legislation applicable to the tendering process. + 0..1 + Tendering Terms + Fiscal Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Environmental Legislation_ Document Reference. Document Reference + A reference to a document providing references to environmental legislation applicable to the tendering process. + 0..1 + Tendering Terms + Environmental Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Employment Legislation_ Document Reference. Document Reference + A reference to a document providing references to employment legislation applicable to the tendering process. + 0..1 + Tendering Terms + Employment Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Contractual_ Document Reference. Document Reference + A reference to a document that will become part of the awarded contract. + 0..n + Tendering Terms + Contractual + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Call For Tenders_ Document Reference. Document Reference + A reference to the Call for Tender associated with these tendering terms. + 0..1 + Tendering Terms + Call For Tenders + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Warranty Validity_ Period. Period + The period during which a warranty for work, service, or goods associated with these tendering terms is valid. + 0..1 + Tendering Terms + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Tendering Terms. Payment Terms + A specification of payment terms associated with the tendering process. + 0..n + Tendering Terms + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Tendering Terms. Tenderer Qualification Request + Required set of qualifications for a tenderer in this tendering process. + 0..n + Tendering Terms + Tenderer Qualification Request + Tenderer Qualification Request + Tenderer Qualification Request + + + + + + + + + ASBIE + Tendering Terms. Allowed_ Subcontract Terms. Subcontract Terms + Subcontract terms for the tendering process. + 0..n + Tendering Terms + Allowed + Subcontract Terms + Subcontract Terms + Subcontract Terms + + + + + + + + + ASBIE + Tendering Terms. Tender Preparation + Directions for preparing a tender for the+D2057 tendering process. + 0..n + Tendering Terms + Tender Preparation + Tender Preparation + Tender Preparation + Curricula required, Experience required, .... + + + + + + + + + ASBIE + Tendering Terms. Contract Execution Requirement + A requirement relating to execution of the contract that will be awarded as a result of the tendering process. + 0..n + Tendering Terms + Contract Execution Requirement + Contract Execution Requirement + Contract Execution Requirement + + + + + + + + + ASBIE + Tendering Terms. Awarding Terms + The terms in the tendering process for awarding the contract for a project. + 0..1 + Tendering Terms + Awarding Terms + Awarding Terms + Awarding Terms + + + + + + + + + ASBIE + Tendering Terms. Additional Information_ Party. Party + A party that has additional information about the tendering process. + 0..1 + Tendering Terms + Additional Information + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Document Provider_ Party. Party + The party that has the contract documents for the tendering process. + 0..1 + Tendering Terms + Document Provider + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Tender Recipient_ Party. Party + The party to which tenders should be presented. + 0..1 + Tendering Terms + Tender Recipient + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Contract Responsible_ Party. Party + The party responsible for the execution of the contract. + 0..1 + Tendering Terms + Contract Responsible + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Tender Evaluation_ Party. Party + A party in the contracting authority responsible for evaluating tenders received. + 0..n + Tendering Terms + Tender Evaluation + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Tender Validity_ Period. Period + The period during which tenders submitted for this tendering process must remain valid. + 0..1 + Tendering Terms + Tender Validity + Period + Period + Period + + + + + + + + + ASBIE + Tendering Terms. Contract Acceptance_ Period. Period + The period of time during which the contracting authority may accept a contract. + 0..1 + Tendering Terms + Contract Acceptance + Period + Period + Period + + + + + + + + + ASBIE + Tendering Terms. Appeal Terms + Information about the terms to present for an appeal against a tender award. + 0..1 + Tendering Terms + Appeal Terms + Appeal Terms + Appeal Terms + + + + + + + + + ASBIE + Tendering Terms. Language + One of the default languages specified for the tendering process. + 0..n + Tendering Terms + Language + Language + Language + + + + + + + + + ASBIE + Tendering Terms. Budget Account Line + A budget account line associated with the tendering process. + 0..n + Tendering Terms + Budget Account Line + Budget Account Line + Budget Account Line + + + + + + + + + ASBIE + Tendering Terms. Replaced Notice_ Document Reference. Document Reference + A class defining a reference to the notice that is being replaced. + 0..1 + Tendering Terms + Replaced Notice + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Trade Financing. Details + A class to describe a trade financing instrument. + Trade Financing + + + + + + + + + BBIE + Trade Financing. Identifier + An identifier for this trade financing instrument. + 0..1 + Trade Financing + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Trade Financing. Financing Instrument Code. Code + A code signifying the type of this financing instrument. + 0..1 + Trade Financing + Financing Instrument Code + Code + Code. Type + Factoring , Invoice Financing , Pre-shipment Financing , Letter of Credit , Irrevocable Letter of Credit . + + + + + + + + + + ASBIE + Trade Financing. Contract_ Document Reference. Document Reference + A reference to a contract document. + 0..1 + Trade Financing + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Trade Financing. Document Reference + A reference to a document associated with this trade financing instrument. + 0..n + Trade Financing + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Trade Financing. Financing_ Party. Party + The financing party (bank or other enabled party). + 1 + Trade Financing + Financing + Party + Party + Party + + + + + + + + + ASBIE + Trade Financing. Financing_ Financial Account. Financial Account + An internal bank account used by the bank or its first agent to manage the line of credit granted to the financing requester. + 0..1 + Trade Financing + Financing + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Trade Financing. Clause + A clause applicable to this trade financing instrument. + 0..n + Trade Financing + Clause + Clause + Clause + + + + + + + + + + + ABIE + Trading Terms. Details + A class for describing the terms of a trade agreement. + Trading Terms + + + + + + + + + BBIE + Trading Terms. Information. Text + Text describing the terms of a trade agreement. + 0..n + Trading Terms + Information + Text + Text. Type + Unless credit terms have been expressly agreed by Dell, payment for the products or services shall be made in full before physical delivery of products or services. Customer shall pay for all shipping and handling charges. + + + + + + + + + BBIE + Trading Terms. Reference. Text + A reference quoting the basis of the terms + 0..1 + Trading Terms + Reference + Text + Text. Type + http://www1.ap.dell.com/content/topics/topic.aspx/ap/policy/en/au/sales_terms_au?c=au&l=en&s=gen + + + + + + + + + ASBIE + Trading Terms. Applicable_ Address. Address + The address at which these trading terms apply. + 0..1 + Trading Terms + Applicable + Address + Address + Address + + + + + + + + + + + ABIE + Transaction Conditions. Details + A class to describe purchasing, sales, or payment conditions. + Transaction Conditions + Payment Conditions, Sales Conditions + + + + + + + + + BBIE + Transaction Conditions. Identifier + An identifier for conditions of the transaction, typically purchase/sales conditions. + 0..1 + Transaction Conditions + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transaction Conditions. Action Code. Code + A code signifying a type of action relating to sales or payment conditions. + 0..1 + Transaction Conditions + Action Code + Code + Code. Type + + + + + + + + + BBIE + Transaction Conditions. Description. Text + Text describing the transaction conditions. + 0..n + Transaction Conditions + Description + Text + Text. Type + + + + + + + + + ASBIE + Transaction Conditions. Document Reference + A document associated with these transaction conditions. + 0..n + Transaction Conditions + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Transport Equipment. Details + A class to describe a piece of equipment used to transport goods. + Transport Equipment + Shipping Container, Sea Container, Rail Wagon, Pallet, Trailer, Unit Load Device, ULD + + + + + + + + + BBIE + Transport Equipment. Identifier + An identifier for this piece of transport equipment. + 0..1 + Transport Equipment + Identifier + Identifier + Identifier. Type + OCLU 1234567 + + + + + + + + + BBIE + Transport Equipment. Referenced_ Consignment Identifier. Identifier + An identifier for the consignment contained by this piece of transport equipment. + 0..n + Transport Equipment + Referenced + Consignment Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Equipment. Transport Equipment Type Code. Code + A code signifying the type of this piece of transport equipment. + 0..1 + Transport Equipment + Transport Equipment Type Code + Code + Transport Equipment Type + Transport Equipment Type_ Code. Type + + + + + + + + + BBIE + Transport Equipment. Provider Type Code. Code + A code signifying the type of provider of this piece of transport equipment. + 0..1 + Transport Equipment + Provider Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Owner Type Code. Code + A code signifying the type of owner of this piece of transport equipment. + 0..1 + Transport Equipment + Owner Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Size Type Code. Code + A code signifying the size and type of this piece of piece of transport equipment. When the piece of transport equipment is a shipping container, it is recommended to use ContainerSizeTypeCode for validation. + 0..1 + Transport Equipment + Size Type Code + Code + Code. Type + Container Size Type Code + + + + + + + + + BBIE + Transport Equipment. Disposition Code. Code + A code signifying the current disposition of this piece of transport equipment. + 0..1 + Transport Equipment + Disposition Code + Code + Code. Type + Status + + + + + + + + + BBIE + Transport Equipment. Fullness Indication Code. Code + A code signifying whether this piece of transport equipment is full, partially full, or empty. + 0..1 + Transport Equipment + Fullness Indication Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Refrigeration On_ Indicator. Indicator + An indicator that this piece of transport equipment's refrigeration is on (true) or off (false). + 0..1 + Transport Equipment + Refrigeration On + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Information. Text + Additional information about this piece of transport equipment. + 0..n + Transport Equipment + Information + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Returnability_ Indicator. Indicator + An indicator that this piece of transport equipment is returnable (true) or not (false). + 0..1 + Transport Equipment + Returnability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Legal Status_ Indicator. Indicator + An indication of the legal status of this piece of transport equipment with respect to the Container Convention Code. + 0..1 + Transport Equipment + Legal Status + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Air Flow Percent. Percent + The percent of the airflow within this piece of transport equipment. + 0..1 + Transport Equipment + Air Flow Percent + Percent + Percent. Type + + + + + + + + + BBIE + Transport Equipment. Humidity Percent. Percent + The percent humidity within this piece of transport equipment. + 0..1 + Transport Equipment + Humidity Percent + Percent + Percent. Type + + + + + + + + + BBIE + Transport Equipment. Animal Food_ Approved Indicator. Indicator + An indicator that this piece of transport equipment is approved for animal food (true) or not (false). + 0..1 + Transport Equipment + Animal Food + Approved Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Human Food_ Approved Indicator. Indicator + An indicator that this piece of transport equipment is approved for human food (true) or not (false). + 0..1 + Transport Equipment + Human Food + Approved Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Dangerous Goods_ Approved Indicator. Indicator + An indicator that this piece of transport equipment is approved for dangerous goods (true) or not (false). + 0..1 + Transport Equipment + Dangerous Goods + Approved Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Refrigerated_ Indicator. Indicator + An indicator that this piece of transport equipment is refrigerated (true) or not (false). + 0..1 + Transport Equipment + Refrigerated + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Characteristics. Text + Characteristics of this piece of transport equipment. + 0..1 + Transport Equipment + Characteristics + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Damage_ Remarks. Text + Damage associated with this piece of transport equipment. + 0..n + Transport Equipment + Damage + Remarks + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Description. Text + Text describing this piece of transport equipment. + 0..n + Transport Equipment + Description + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Special_ Transport Requirements. Text + Special transport requirements expressed as text. + 0..n + Transport Equipment + Special + Transport Requirements + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Gross_ Weight. Measure + The gross weight of this piece of transport equipment. + 0..1 + Transport Equipment + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Transport Equipment. Gross_ Volume. Measure + The gross volume of this piece of transport equipment. + 0..1 + Transport Equipment + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Transport Equipment. Tare_ Weight. Measure + The weight of this piece of transport equipment when empty. + 0..1 + Transport Equipment + Tare + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Transport Equipment. Tracking Device Code. Code + A code signifying the tracking device for this piece of transport equipment. + 0..1 + Transport Equipment + Tracking Device Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Power. Indicator + An indicator that this piece of transport equipment can supply power (true) or not (false). + 0..1 + Transport Equipment + Power + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Trace_ Identifier. Identifier + An identifier for use in tracing this piece of transport equipment, such as the EPC number used in RFID. + 0..1 + Transport Equipment + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Transport Equipment. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this piece of transport equipment. + 0..n + Transport Equipment + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Equipment. Transport Equipment Seal + A seal securing the door of a piece of transport equipment. + 0..n + Transport Equipment + Transport Equipment Seal + Transport Equipment Seal + Transport Equipment Seal + + + + + + + + + ASBIE + Transport Equipment. Minimum_ Temperature. Temperature + In the case of a refrigeration unit, the minimum allowable operating temperature for this container. + 0..1 + Transport Equipment + Minimum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Equipment. Maximum_ Temperature. Temperature + In the case of a refrigeration unit, the maximum allowable operating temperature for this container. + 0..1 + Transport Equipment + Maximum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Equipment. Provider_ Party. Party + The party providing this piece of transport equipment. + 0..1 + Transport Equipment + Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Equipment. Loading Proof_ Party. Party + The authorized party responsible for certifying that the goods were loaded into this piece of transport equipment. + 0..1 + Transport Equipment + Loading Proof + Party + Party + Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Supplier Party + The party that supplies this piece of transport equipment. + 0..1 + Transport Equipment + Supplier Party + Supplier Party + Supplier Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Owner_ Party. Party + The party that owns this piece of transport equipment. + 0..1 + Transport Equipment + Owner + Party + Party + Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Operating_ Party. Party + The party that operates this piece of transport equipment. + 0..1 + Transport Equipment + Operating + Party + Party + Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Loading_ Location. Location + The location where this piece of transport equipment is loaded. + 0..1 + Transport Equipment + Loading + Location + Location + Location + Vanning address (WCO ID 068), Stuffing location + + + + + + + + + ASBIE + Transport Equipment. Unloading_ Location. Location + The location where this piece of transport equipment is unloaded. + 0..1 + Transport Equipment + Unloading + Location + Location + Location + + + + + + + + + ASBIE + Transport Equipment. Storage_ Location. Location + The location where this piece of transport equipment is being stored. + 0..1 + Transport Equipment + Storage + Location + Location + Location + + + + + + + + + ASBIE + Transport Equipment. Positioning_ Transport Event. Transport Event + A positioning of this piece of transport equipment. + 0..n + Transport Equipment + Positioning + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Quarantine_ Transport Event. Transport Event + A quarantine of this piece of transport equipment. + 0..n + Transport Equipment + Quarantine + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Delivery_ Transport Event. Transport Event + A delivery of this piece of transport equipment. + 0..n + Transport Equipment + Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Pickup_ Transport Event. Transport Event + A pickup of this piece of transport equipment. + 0..n + Transport Equipment + Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Handling_ Transport Event. Transport Event + A handling of this piece of transport equipment. + 0..n + Transport Equipment + Handling + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Loading_ Transport Event. Transport Event + A loading of this piece of transport equipment. + 0..n + Transport Equipment + Loading + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Transport Event + A transport event associated with this piece of transport equipment. + 0..n + Transport Equipment + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Applicable_ Transport Means. Transport Means + The applicable transport means associated with this piece of transport equipment. + 0..1 + Transport Equipment + Applicable + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Equipment. Haulage_ Trading Terms. Trading Terms + A set of haulage trading terms associated with this piece of transport equipment. + 0..n + Transport Equipment + Haulage + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Transport Equipment. Hazardous Goods Transit + Transit-related information regarding a type of hazardous goods contained in this piece of transport equipment. + 0..n + Transport Equipment + Hazardous Goods Transit + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Transport Equipment. Packaged_ Transport Handling Unit. Transport Handling Unit + A packaged transport handling unit associated with this piece of transport equipment. + 0..n + Transport Equipment + Packaged + Transport Handling Unit + Transport Handling Unit + Transport Handling Unit + + + + + + + + + ASBIE + Transport Equipment. Service_ Allowance Charge. Allowance Charge + A service allowance charge associated with this piece of transport equipment. + 0..n + Transport Equipment + Service + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Transport Equipment. Freight_ Allowance Charge. Allowance Charge + A freight allowance charge associated with this piece of transport equipment. + 0..n + Transport Equipment + Freight + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Transport Equipment. Attached_ Transport Equipment. Transport Equipment + A piece of transport equipment attached to this piece of transport equipment. + 0..n + Transport Equipment + Attached + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transport Equipment. Delivery + The delivery of this piece of transport equipment. + 0..1 + Transport Equipment + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Transport Equipment. Pickup + The pickup of this piece of transport equipment. + 0..1 + Transport Equipment + Pickup + Pickup + Pickup + + + + + + + + + ASBIE + Transport Equipment. Despatch + The despatch of this piece of transport equipment. + 0..1 + Transport Equipment + Despatch + Despatch + Despatch + + + + + + + + + ASBIE + Transport Equipment. Shipment_ Document Reference. Document Reference + A reference to a shipping document associated with this piece of transport equipment. + 0..n + Transport Equipment + Shipment + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Equipment. Contained In_ Transport Equipment. Transport Equipment + A piece of transport equipment contained in this piece of transport equipment. + 0..n + Transport Equipment + Contained In + Transport Equipment + Transport Equipment + Transport Equipment + e.g. pallets inside containers + + + + + + + + + ASBIE + Transport Equipment. Package + A package contained in this piece of transport equipment. + 0..n + Transport Equipment + Package + Package + Package + + + + + + + + + ASBIE + Transport Equipment. Goods Item + A goods item contained in this piece of transport equipment. + 0..n + Transport Equipment + Goods Item + Goods Item + Goods Item + + + + + + + + + + + ABIE + Transport Equipment Seal. Details + A class to describe a device (a transport equipment seal) for securing the doors of a shipping container. + Transport Equipment Seal + Container Seal + + + + + + + + + BBIE + Transport Equipment Seal. Identifier + An identifier for this transport equipment seal. + 1 + Transport Equipment Seal + Identifier + Identifier + Identifier. Type + ACS1234 + + + + + + + + + BBIE + Transport Equipment Seal. Seal Issuer Type Code. Code + A code signifying the type of party that issues and is responsible for this transport equipment seal. + 0..1 + Transport Equipment Seal + Seal Issuer Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment Seal. Condition. Text + The condition of this transport equipment seal. + 0..1 + Transport Equipment Seal + Condition + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment Seal. Seal Status Code. Code + A code signifying the condition of this transport equipment seal. + 0..1 + Transport Equipment Seal + Seal Status Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment Seal. Sealing Party Type. Text + The role of the sealing party. + 0..1 + Transport Equipment Seal + Sealing Party Type + Text + Text. Type + Sealing Party + + + + + + + + + + + ABIE + Transport Event. Details + A class to describe a significant occurrence or happening related to the transportation of goods. + Transport Event + + + + + + + + + BBIE + Transport Event. Identification. Identifier + An identifier for this transport event within an agreed event identification scheme. + 0..1 + Transport Event + Identification + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Event. Occurrence Date. Date + The date of this transport event. + 0..1 + Transport Event + Occurrence Date + Date + Date. Type + + + + + + + + + BBIE + Transport Event. Occurrence Time. Time + The time of this transport event. + 0..1 + Transport Event + Occurrence Time + Time + Time. Type + + + + + + + + + BBIE + Transport Event. Transport Event Type Code. Code + A code signifying the type of this transport event. + 0..1 + Transport Event + Transport Event Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Event. Description. Text + Text describing this transport event. + 0..n + Transport Event + Description + Text + Text. Type + + + + + + + + + BBIE + Transport Event. Completion_ Indicator. Indicator + An indicator that this transport event has been completed (true) or not (false). + 0..1 + Transport Event + Completion + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Transport Event. Reported_ Shipment. Shipment + The shipment involved in this transport event. + 0..1 + Transport Event + Reported + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Transport Event. Current_ Status. Status + The current status of this transport event. + 0..n + Transport Event + Current + Status + Status + Status + + + + + + + + + ASBIE + Transport Event. Contact + A contact associated with this transport event. + 0..n + Transport Event + Contact + Contact + Contact + + + + + + + + + ASBIE + Transport Event. Location + The location associated with this transport event. + 0..1 + Transport Event + Location + Location + Location + + + + + + + + + ASBIE + Transport Event. Signature + A signature that can be used to sign for an entry or an exit at a transport location (e.g., port terminal). + 0..1 + Transport Event + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Event. Period + A period of time associated with this transport event. + 0..n + Transport Event + Period + Period + Period + + + + + + + + + + + ABIE + Transport Execution Terms. Details + A class to describe terms applying to a transport execution plan. + Transport Execution Terms + + + + + + + + + BBIE + Transport Execution Terms. Transport User_ Special Terms. Text + Text describing special terms specified by the transport user. + 0..n + Transport Execution Terms + Transport User + Special Terms + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Terms. Transport Service Provider_ Special Terms. Text + Text describing special terms specified by the transport service provider. + 0..n + Transport Execution Terms + Transport Service Provider + Special Terms + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Terms. Change Conditions. Text + Text describing conditions applying to a change of these transport execution terms. + 0..n + Transport Execution Terms + Change Conditions + Text + Text. Type + + + + + + + + + ASBIE + Transport Execution Terms. Payment Terms + Payment terms associated with the transportation service. + 0..n + Transport Execution Terms + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Delivery Terms + Delivery terms (e.g., Incoterms) associated with the transportation service. + 0..n + Transport Execution Terms + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Transport Execution Terms. Bonus_ Payment Terms. Payment Terms + Terms relating to payment of applicable bonuses associated with the transport service. + 0..1 + Transport Execution Terms + Bonus + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Commission_ Payment Terms. Payment Terms + Terms of payment applying to a commission specified in the transport execution plan. + 0..1 + Transport Execution Terms + Commission + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Penalty_ Payment Terms. Payment Terms + Terms of payment applying to a penalty specified in the transport execution plan. + 0..1 + Transport Execution Terms + Penalty + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Environmental Emission + An environmental emission resulting from the transportation service. + 0..n + Transport Execution Terms + Environmental Emission + Environmental Emission + Environmental Emission + + + + + + + + + ASBIE + Transport Execution Terms. Notification Requirement + A notification requirement related to the transportation service; e.g., a requirement that the transport user should be notified when goods are ready for pickup. + 0..n + Transport Execution Terms + Notification Requirement + Notification Requirement + Notification Requirement + + + + + + + + + ASBIE + Transport Execution Terms. Service Charge_ Payment Terms. Payment Terms + Payment terms for the service charge associated with the transport service. + 0..1 + Transport Execution Terms + Service Charge + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + + + ABIE + Transport Handling Unit. Details + A class to describe a uniquely identifiable unit consisting of one or more packages, goods items, or pieces of transport equipment. + Transport Handling Unit + Logistics Unit, Handling Unit, THU + + + + + + + + + BBIE + Transport Handling Unit. Identifier + An identifier for this transport handling unit. + 0..1 + Transport Handling Unit + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Handling Unit. Transport Handling Unit Type Code. Code + A code signifying the type of this transport handling unit. + 0..1 + Transport Handling Unit + Transport Handling Unit Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Handling Unit. Handling Code. Code + The handling required for this transport handling unit, expressed as a code. + 0..1 + Transport Handling Unit + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Transport Handling Unit. Handling_ Instructions. Text + The handling required for this transport handling unit, expressed as text. + 0..n + Transport Handling Unit + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Transport Handling Unit. Hazardous Risk_ Indicator. Indicator + An indicator that the materials contained in this transport handling unit are subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Transport Handling Unit + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Transport Handling Unit. Total_ Goods Item Quantity. Quantity + The total number of goods items in this transport handling unit. + 0..1 + Transport Handling Unit + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Transport Handling Unit. Total_ Package Quantity. Quantity + The total number of packages in this transport handling unit. + 0..1 + Transport Handling Unit + Total + Package Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Transport Handling Unit. Damage_ Remarks. Text + Text describing damage associated with this transport handling unit. + 0..n + Transport Handling Unit + Damage + Remarks + Text + Text. Type + + + + + + + + + BBIE + Transport Handling Unit. Shipping_ Marks. Text + Text describing the marks and numbers on this transport handling unit. + 0..n + Transport Handling Unit + Shipping + Marks + Text + Text. Type + Marks and Numbers, Shipping Marks + + + + + + + + + BBIE + Transport Handling Unit. Trace_ Identifier. Identifier + An identifier for use in tracing this transport handling unit, such as the EPC number used in RFID. + 0..1 + Transport Handling Unit + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Transport Handling Unit. Handling Unit_ Despatch Line. Despatch Line + A despatch line associated with this transport handling unit. + 0..n + Transport Handling Unit + Handling Unit + Despatch Line + Despatch Line + Despatch Line + + + + + + + + + ASBIE + Transport Handling Unit. Actual_ Package. Package + A package contained in this transport handling unit. + 0..n + Transport Handling Unit + Actual + Package + Package + Package + + + + + + + + + ASBIE + Transport Handling Unit. Received Handling Unit_ Receipt Line. Receipt Line + A receipt line associated with this transport handling unit. + 0..n + Transport Handling Unit + Received Handling Unit + Receipt Line + Receipt Line + Receipt Line + + + + + + + + + ASBIE + Transport Handling Unit. Transport Equipment + A piece of transport equipment associated with this transport handling unit. + 0..n + Transport Handling Unit + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transport Handling Unit. Transport Means + A means of transport associated with this transport handling unit. + 0..n + Transport Handling Unit + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Handling Unit. Hazardous Goods Transit + Transit-related information regarding a type of hazardous goods contained in this transport handling unit. + 0..n + Transport Handling Unit + Hazardous Goods Transit + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Transport Handling Unit. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this transport handling unit. + 0..n + Transport Handling Unit + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Handling Unit. Minimum_ Temperature. Temperature + The minimum required operating temperature of this transport handling unit. + 0..1 + Transport Handling Unit + Minimum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Handling Unit. Maximum_ Temperature. Temperature + The maximum allowable operating temperature of this transport handling unit. + 0..1 + Transport Handling Unit + Maximum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Handling Unit. Goods Item + A goods item contained in this transport handling unit. + 0..n + Transport Handling Unit + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Transport Handling Unit. Floor Space Measurement_ Dimension. Dimension + The floor space measurement dimension associated with this transport handling unit. + 0..1 + Transport Handling Unit + Floor Space Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Handling Unit. Pallet Space Measurement_ Dimension. Dimension + The pallet space measurement dimension associated to this transport handling unit. + 0..1 + Transport Handling Unit + Pallet Space Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Handling Unit. Shipment_ Document Reference. Document Reference + A reference to a shipping document associated with this transport handling unit. + 0..n + Transport Handling Unit + Shipment + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Handling Unit. Status + The status of this transport handling unit. + 0..n + Transport Handling Unit + Status + Status + Status + + + + + + + + + ASBIE + Transport Handling Unit. Customs Declaration + Describes identifiers or references relating to customs procedures. + 0..n + Transport Handling Unit + Customs Declaration + Customs Declaration + Customs Declaration + + + + + + + + + ASBIE + Transport Handling Unit. Referenced_ Shipment. Shipment + A shipment associated with this transport handling unit. + 0..n + Transport Handling Unit + Referenced + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Transport Handling Unit. Package + A package contained in this transport handling unit. + 0..n + Transport Handling Unit + Package + Package + Package + + + + + + + + + + + ABIE + Transport Means. Details + A class to describe a particular vehicle or vessel used for the conveyance of goods or persons. + Transport Means + Conveyance + + + + + + + + + BBIE + Transport Means. Journey Identifier. Identifier + An identifier for the regular service schedule of this means of transport. + 0..1 + Transport Means + Journey Identifier + Identifier + Identifier. Type + Voyage Number, Scheduled Conveyance Identifier (WCO ID 205), Flight Number + + + + + + + + + BBIE + Transport Means. Registration_ Nationality Identifier. Identifier + An identifier for the country in which this means of transport is registered. + 0..1 + Transport Means + Registration + Nationality Identifier + Identifier + Identifier. Type + Nationality of Means of Transport (WCO 175, 178 and 179) + LIB + + + + + + + + + BBIE + Transport Means. Registration_ Nationality. Text + Text describing the country in which this means of transport is registered. + 0..n + Transport Means + Registration + Nationality + Text + Text. Type + Flag of Vessel, Nationality of Ship + Liberia + + + + + + + + + BBIE + Transport Means. Direction Code. Code + A code signifying the direction of this means of transport. + 0..1 + Transport Means + Direction Code + Code + Code. Type + Transit Direction + North , East + + + + + + + + + BBIE + Transport Means. Transport Means Type Code. Code + A code signifying the type of this means of transport (truck, vessel, etc.). + 0..1 + Transport Means + Transport Means Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Means. Trade Service Code. Code + A code signifying the service regularly provided by the carrier operating this means of transport. + 0..1 + Transport Means + Trade Service Code + Code + Code. Type + + + + + + + + + ASBIE + Transport Means. Stowage + The location within the means of transport where goods are to be or have been stowed. + 0..1 + Transport Means + Stowage + Stowage + Stowage + + + + + + + + + ASBIE + Transport Means. Air Transport + An aircraft used for transport. + 0..1 + Transport Means + Air Transport + Air Transport + Air Transport + + + + + + + + + ASBIE + Transport Means. Road Transport + A vehicle used for road transport. + 0..1 + Transport Means + Road Transport + Road Transport + Road Transport + + + + + + + + + ASBIE + Transport Means. Rail Transport + Equipment used for rail transport. + 0..1 + Transport Means + Rail Transport + Rail Transport + Rail Transport + + + + + + + + + ASBIE + Transport Means. Maritime Transport + A vessel used for transport by water (not only by sea). + 0..1 + Transport Means + Maritime Transport + Maritime Transport + Maritime Transport + + + + + + + + + ASBIE + Transport Means. Owner_ Party. Party + The party that owns this means of transport. + 0..1 + Transport Means + Owner + Party + Party + Party + + + + + + + + + ASBIE + Transport Means. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this means of transport. + 0..n + Transport Means + Measurement + Dimension + Dimension + Dimension + + + + + + + + + + + ABIE + Transport Schedule. Details + Describes the location and schedule relating to a transport means. + Transport Schedule + + + + + + + + + BBIE + Transport Schedule. Sequence. Numeric + A number indicating the order of this status in the sequence in which statuses are to be presented. + 1 + Transport Schedule + Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Transport Schedule. Reference Date. Date + The reference date for the transport schedule status. + 0..1 + Transport Schedule + Reference Date + Date + Date. Type + + + + + + + + + BBIE + Transport Schedule. Reference Time. Time + The reference time for the transport schedule status. + 0..1 + Transport Schedule + Reference Time + Time + Time. Type + + + + + + + + + BBIE + Transport Schedule. Reliability Percent. Percent + The reliability of the transport schedule status, expressed as a percentage. + 0..1 + Transport Schedule + Reliability Percent + Percent + Percent. Type + + + + + + + + + BBIE + Transport Schedule. Remarks. Text + Remarks related to the transport schedule status. + 0..n + Transport Schedule + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Transport Schedule. Status_ Location. Location + The location for which status is reported. + 1 + Transport Schedule + Status + Location + Location + Location + + + + + + + + + ASBIE + Transport Schedule. Actual Arrival_ Transport Event. Transport Event + The actual arrival at a location. + 0..1 + Transport Schedule + Actual Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Actual Departure_ Transport Event. Transport Event + The actual departure from a location. + 0..1 + Transport Schedule + Actual Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Estimated Departure_ Transport Event. Transport Event + An estimated departure from a specified location. + 0..1 + Transport Schedule + Estimated Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Estimated Arrival_ Transport Event. Transport Event + An estimated arrival at a specified location. + 0..1 + Transport Schedule + Estimated Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Planned Departure_ Transport Event. Transport Event + The planned departure from a specified location. + 0..1 + Transport Schedule + Planned Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Planned Arrival_ Transport Event. Transport Event + The planned arrival at a specified location. + 0..1 + Transport Schedule + Planned Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + + + ABIE + Transportation Segment. Details + A class to describe one segment or leg in a transportation service. + Transportation Segment + + + + + + + + + BBIE + Transportation Segment. Sequence. Numeric + A number indicating the order of this segment in the sequence of transportation segments making up a transportation service. + 1 + Transportation Segment + Sequence + Numeric + Numeric. Type + 1, 2, 3, 4, etc. + + + + + + + + + BBIE + Transportation Segment. Transport Execution Plan Reference. Identifier + An identifier for the transport execution plan governing this transportation segment. + 0..1 + Transportation Segment + Transport Execution Plan Reference + Identifier + Identifier. Type + + + + + + + + + ASBIE + Transportation Segment. Transportation Service + The transportation service used in this transportation segment. + 1 + Transportation Segment + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transportation Segment. Transport Service Provider_ Party. Party + The transport service provider responsible for carrying out transportation services in this transportation segment. + 1 + Transportation Segment + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transportation Segment. Referenced_ Consignment. Consignment + A consignment referenced in this transportation segment. Such a consignment may have different identifiers than the consignment identifiers being used in the transportation service agreed between the transport user and the transport service provider. + 0..1 + Transportation Segment + Referenced + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Transportation Segment. Shipment Stage + The shipment stage associated with this transportation segment. + 0..n + Transportation Segment + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + + + ABIE + Transportation Service. Details + A class to describe a transportation service. + Transportation Service + + + + + + + + + BBIE + Transportation Service. Transport Service Code. Code + A code signifying the extent of this transportation service (e.g., door-to-door, port-to-port). + 1 + Transportation Service + Transport Service Code + Code + Code. Type + + + + + + + + + BBIE + Transportation Service. Tariff Class Code. Code + A code signifying the tariff class applicable to this transportation service. + 0..1 + Transportation Service + Tariff Class Code + Code + Code. Type + Tariff Class Specifier + + + + + + + + + BBIE + Transportation Service. Priority. Text + The priority of this transportation service. + 0..1 + Transportation Service + Priority + Text + Text. Type + + + + + + + + + BBIE + Transportation Service. Freight Rate Class Code. Code + A code signifying the rate class for freight in this transportation service. + 0..1 + Transportation Service + Freight Rate Class Code + Code + Code. Type + Charge Basis + + + + + + + + + BBIE + Transportation Service. Transportation Service Description. Text + Text describing this transportation service. + 0..n + Transportation Service + Transportation Service Description + Text + Text. Type + + + + + + + + + BBIE + Transportation Service. Transportation Service Details URI. Identifier + The Uniform Resource Identifier (URI) of a document providing additional details regarding this transportation service. + 0..1 + Transportation Service + Transportation Service Details URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Service. Nomination Date. Date + In a transport contract, the deadline date by which this transportation service has to be booked. For example, if this service is scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011. + 0..1 + Transportation Service + Nomination Date + Date + Date. Type + + + + + + + + + BBIE + Transportation Service. Nomination Time. Time + In a transport contract, the deadline time by which this transportation service has to be booked. For example, if this service is scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011 and the nomination time 4 p.m. at the latest. + 0..1 + Transportation Service + Nomination Time + Time + Time. Type + + + + + + + + + BBIE + Transportation Service. Name + The name of this transportation service. + 0..1 + Transportation Service + Name + Name + Name. Type + + + + + + + + + BBIE + Transportation Service. Sequence. Numeric + A number indicating the order of this transportation service in a sequence of transportation services. + 0..1 + Transportation Service + Sequence + Numeric + Numeric. Type + + + + + + + + + ASBIE + Transportation Service. Transport Equipment + A piece of transport equipment used in this transportation service. + 0..n + Transportation Service + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transportation Service. Supported_ Transport Equipment. Transport Equipment + A piece of transport equipment supported in this transportation service. + 0..n + Transportation Service + Supported + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transportation Service. Unsupported_ Transport Equipment. Transport Equipment + A piece of transport equipment that is not supported in this transportation service. + 0..n + Transportation Service + Unsupported + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transportation Service. Commodity Classification + A classification of this transportation service. + 0..n + Transportation Service + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Transportation Service. Supported_ Commodity Classification. Commodity Classification + A classification (e.g., general cargo) for commodities that can be handled in this transportation service. + 0..n + Transportation Service + Supported + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Transportation Service. Unsupported_ Commodity Classification. Commodity Classification + A classification for commodities that cannot be handled in this transportation service. + 0..n + Transportation Service + Unsupported + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Transportation Service. Total Capacity_ Dimension. Dimension + The total capacity or volume available in this transportation service. + 0..1 + Transportation Service + Total Capacity + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transportation Service. Shipment Stage + One of the stages of shipment in this transportation service. + 0..n + Transportation Service + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Transportation Service. Transport Event + One of the transport events taking place in this transportation service. + 0..n + Transportation Service + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Service. Responsible Transport Service Provider_ Party. Party + The transport service provider responsible for this transportation service. + 0..1 + Transportation Service + Responsible Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transportation Service. Environmental Emission + An environmental emission resulting from this transportation service. + 0..n + Transportation Service + Environmental Emission + Environmental Emission + Environmental Emission + + + + + + + + + ASBIE + Transportation Service. Estimated Duration_ Period. Period + The estimated duration of this transportation service. + 0..1 + Transportation Service + Estimated Duration + Period + Period + Period + + + + + + + + + ASBIE + Transportation Service. Scheduled_ Service Frequency. Service Frequency + A class to specify which day of the week a transport service is operational. + 0..n + Transportation Service + Scheduled + Service Frequency + Service Frequency + Service Frequency + + + + + + + + + + + ABIE + Unstructured Price. Details + A simplified version of the Price class intended for applications such as telephone billing. + Unstructured Price + + + + + + + + + BBIE + Unstructured Price. Price Amount. Amount + The price amount. + 0..1 + Unstructured Price + Price Amount + Amount + Amount. Type + 23.45 + + + + + + + + + BBIE + Unstructured Price. Time Amount. Text + The usage time upon which the price is based. + 0..1 + Unstructured Price + Time Amount + Text + Text. Type + + + + + + + + + + + ABIE + Utility Item. Details + A class to describe the consumption of a utility product. + Utility Item + + + + + + + + + BBIE + Utility Item. Identifier + An identifier for this utility item. + 1 + Utility Item + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Utility Item. Subscriber Identifier. Identifier + An identifier for the subscriber to the utility. + 0..1 + Utility Item + Subscriber Identifier + Identifier + Identifier. Type + 98143211 + + + + + + + + + BBIE + Utility Item. Subscriber Type. Text + Identification of the subscriber type, expressed as text.. + 0..1 + Utility Item + Subscriber Type + Text + Text. Type + + + + + + + + + BBIE + Utility Item. Subscriber Type Code. Code + The code identifying for the service type. + 0..1 + Utility Item + Subscriber Type Code + Code + Code. Type + + + + + + + + + BBIE + Utility Item. Description. Text + Text describing the consumption product. + 0..n + Utility Item + Description + Text + Text. Type + Basis price quarter (5.761 kWh per 35,58 cents), Transport of electricity, etc. + + + + + + + + + BBIE + Utility Item. Pack Quantity. Quantity + The unit packaging quantity. + 0..1 + Utility Item + Pack Quantity + Quantity + Quantity. Type + 1 + + + + + + + + + BBIE + Utility Item. Pack Size. Numeric + The number of items in a pack. + 0..1 + Utility Item + Pack Size + Numeric + Numeric. Type + + + + + + + + + BBIE + Utility Item. Consumption Type. Text + The type of product consumed, expressed as text. + 0..1 + Utility Item + Consumption Type + Text + Text. Type + Consumption + + + + + + + + + BBIE + Utility Item. Consumption Type Code. Code + The type of product consumed, expressed as a code. + 0..1 + Utility Item + Consumption Type Code + Code + Code. Type + Consumption + + + + + + + + + BBIE + Utility Item. Current_ Charge Type. Text + Information of the actual payments type for the utility Item + 0..1 + Utility Item + Current + Charge Type + Text + Text. Type + + + + + + + + + BBIE + Utility Item. Current_ Charge Type Code. Code + Information of the actual payments type code expressed as a code + 0..1 + Utility Item + Current + Charge Type Code + Code + Code. Type + + + + + + + + + BBIE + Utility Item. One Time_ Charge Type. Text + Information about the one-time payment type in case everything is paid One time + 0..1 + Utility Item + One Time + Charge Type + Text + Text. Type + + + + + + + + + BBIE + Utility Item. One Time_ Charge Type Code. Code + Information about the one-time payment type code + 0..1 + Utility Item + One Time + Charge Type Code + Code + Code. Type + + + + + + + + + ASBIE + Utility Item. Tax Category + The tax category applicable to this utility item. + 0..1 + Utility Item + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Utility Item. Contract + A contract setting forth conditions applicable to this utility item. + 0..1 + Utility Item + Contract + Contract + Contract + + + + + + + + + + + ABIE + Web Site Access. Details + A class to describe access to a web site. + Web Site Access + + + + + + + + + BBIE + Web Site Access. URI. Identifier + The Uniform Resource Identifier (URI) for this web site; i.e., its Uniform Resource Locator (URL). + 0..1 + Web Site Access + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Web Site Access. Password. Text + A password to the web site. + 1 + Web Site Access + Password + Text + Text. Type + confidence + + + + + + + + + BBIE + Web Site Access. Login. Text + Text describing login details. + 1 + Web Site Access + Login + Text + Text. Type + Utsuser + + + + + + + + + + + ABIE + Winning Party. Details + A party that is identified as the awarded by a tender result. + Winning Party + + + + + + + + + BBIE + Winning Party. Rank. Text + Indicates the rank obtained in the award. + 0..1 + Winning Party + Rank + Text + Text. Type + + + + + + + + + ASBIE + Winning Party. Party + Information about an organization, sub-organization, or individual fulfilling a role in a business process. + 1 + Winning Party + Party + Party + Party + + + + + + + + + + + ABIE + Work Phase Reference. Details + A class that refers to a phase of work. Used for instance to specify what part of the contract the billing is referring to. + Work Phase Reference + + + + + + + + + BBIE + Work Phase Reference. Identifier + An identifier for this phase of work. + 0..1 + Work Phase Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Work Phase Reference. Work Phase Code. Code + A code signifying this phase of work. + 0..1 + Work Phase Reference + Work Phase Code + Code + Code. Type + + + + + + + + + BBIE + Work Phase Reference. Work Phase. Text + Text describing this phase of work. + 0..n + Work Phase Reference + Work Phase + Text + Text. Type + + + + + + + + + BBIE + Work Phase Reference. Progress Percent. Percent + The progress percentage of the work phase. + 0..1 + Work Phase Reference + Progress Percent + Percent + Percent. Type + + + + + + + + + BBIE + Work Phase Reference. Start Date. Date + The date on which this phase of work begins. + 0..1 + Work Phase Reference + Start Date + Date + Date. Type + + + + + + + + + BBIE + Work Phase Reference. End Date. Date + The date on which this phase of work ends. + 0..1 + Work Phase Reference + End Date + Date + Date. Type + + + + + + + + + ASBIE + Work Phase Reference. Work Order_ Document Reference. Document Reference + A reference to a document regarding the work order for the project in which this phase of work takes place. + 0..n + Work Phase Reference + Work Order + Document Reference + Document Reference + Document Reference + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonBasicComponents-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonBasicComponents-2.1.xsd new file mode 100644 index 0000000..00fe6f2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonBasicComponents-2.1.xsd @@ -0,0 +1,5389 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonExtensionComponents-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonExtensionComponents-2.1.xsd new file mode 100644 index 0000000..e9a236d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonExtensionComponents-2.1.xsd @@ -0,0 +1,223 @@ + + + + + + + + + + + + + A container for all extensions present in the document. + + + + + + + A container for all extensions present in the document. + + + + + + + A single extension for private use. + + + + + + + + + A single extension for private use. + + + + + + + A single extension for private use. + + + + + + + An identifier for the Extension assigned by the creator of the extension. + + + + + + + A name for the Extension assigned by the creator of the extension. + + + + + + + An agency that maintains one or more Extensions. + + + + + + + The name of the agency that maintains the Extension. + + + + + + + The version of the Extension. + + + + + + + A URI for the Agency that maintains the Extension. + + + + + + + A URI for the Extension. + + + + + + + A code for reason the Extension is being included. + + + + + + + A description of the reason for the Extension. + + + + + + + The definition of the extension content. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonSignatureComponents-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonSignatureComponents-2.1.xsd new file mode 100644 index 0000000..c3234b8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CommonSignatureComponents-2.1.xsd @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + ABIE + UBL Document Signatures. Details + This class collects all signature information for a document. + UBL Document Signatures + + + + + + + + + ASBIE + UBL Document Signatures. Signature Information + Each of these is scaffolding for a single digital signature. + 1..n + UBL Document Signatures + Signature Information + Signature Information + Signature Information + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CoreComponentParameters-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CoreComponentParameters-2.1.xsd new file mode 100644 index 0000000..ba40b5b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-CoreComponentParameters-2.1.xsd @@ -0,0 +1,63 @@ + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-ExtensionContentDataType-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-ExtensionContentDataType-2.1.xsd new file mode 100644 index 0000000..7c10dd0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-ExtensionContentDataType-2.1.xsd @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + Any element in any namespace other than the UBL extension + namespace is allowed to be the apex element of an extension. + Only those elements found in the UBL schemas and in the + trees of schemas imported in this module are validated. + Any element for which there is no schema declaration in any + of the trees of schemas passes validation and is not + treated as a schema constraint violation. + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-QualifiedDataTypes-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-QualifiedDataTypes-2.1.xsd new file mode 100644 index 0000000..e945467 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-QualifiedDataTypes-2.1.xsd @@ -0,0 +1,69 @@ + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-SignatureAggregateComponents-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-SignatureAggregateComponents-2.1.xsd new file mode 100644 index 0000000..b89d450 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-SignatureAggregateComponents-2.1.xsd @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + ABIE + Signature Information. Details + This class captures a single signature and optionally associates to a signature in the document with the corresponding identifier. + Signature Information + + + + + + + + + BBIE + Signature Information. Identifier + This specifies the identifier of the signature distinguishing it from other signatures. + 0..1 + Signature Information + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature Information. Referenced Signature Identifier. Identifier + This associates this signature with the identifier of a signature business object in the document. + 0..1 + Signature Information + Referenced Signature Identifier + Identifier + Identifier. Type + + + + + + + This is a single digital signature as defined by the W3C specification. + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-SignatureBasicComponents-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-SignatureBasicComponents-2.1.xsd new file mode 100644 index 0000000..cc95181 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-SignatureBasicComponents-2.1.xsd @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-UnqualifiedDataTypes-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-UnqualifiedDataTypes-2.1.xsd new file mode 100644 index 0000000..56cb405 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-UnqualifiedDataTypes-2.1.xsd @@ -0,0 +1,553 @@ + + + + + + + + + + UBLUDT000001 + UDT + Amount. Type + 1.0 + A number of monetary units specified using a given unit of currency. + Amount + + + + + + + + UNDT000001-SC2 + SC + Amount. Currency. Identifier + The currency of the amount. + Amount Currency + Identification + Identifier + string + Reference UNECE Rec 9, using 3-letter alphabetic codes. + + + + + + + + + + + UBLUDT000002 + UDT + Binary Object. Type + 1.0 + A set of finite-length sequences of binary octets. + Binary Object + binary + + + + + + + + UNDT000002-SC3 + SC + Binary Object. Mime. Code + The mime type of the binary object. + Binary Object + Mime + Code + string + + + + + + + + + + + UBLUDT000003 + UDT + Graphic. Type + 1.0 + A diagram, graph, mathematical curve, or similar representation. + Graphic + binary + + + + + + + + UNDT000003-SC3 + SC + Graphic. Mime. Code + The mime type of the graphic object. + Graphic + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000004 + UDT + Picture. Type + 1.0 + A diagram, graph, mathematical curve, or similar representation. + Picture + binary + + + + + + + + UNDT000004-SC3 + SC + Picture. Mime. Code + The mime type of the picture object. + Picture + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000005 + UDT + Sound. Type + 1.0 + An audio representation. + Sound + binary + + + + + + + + UNDT000005-SC3 + SC + Sound. Mime. Code + The mime type of the sound object. + Sound + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000006 + UDT + Video. Type + 1.0 + A video representation. + Video + binary + + + + + + + + UNDT000006-SC3 + SC + Video. Mime. Code + The mime type of the video object. + Video + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000007 + UDT + Code. Type + 1.0 + A character string (letters, figures, or symbols) that for brevity and/or language independence may be used to represent or replace a definitive value or text of an attribute, together with relevant supplementary information. + Code + string + Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the code list and thus, are not declared as attributes. + + + + + + + + + + + UBLUDT000008 + UDT + Date Time. Type + 1.0 + A particular point in the progression of time, together with relevant supplementary information. + Date Time + string + Can be used for a date and/or time. + + + + + + + + + + + UBLUDT000009 + UDT + Date. Type + 1.0 + One calendar day according the Gregorian calendar. + Date + string + + + + + + + + + + + UBLUDT0000010 + UDT + Time. Type + 1.0 + An instance of time that occurs every day. + Time + string + + + + + + + + + + + UBLUDT0000011 + UDT + Identifier. Type + 1.0 + A character string to identify and uniquely distinguish one instance of an object in an identification scheme from all other objects in the same scheme, together with relevant supplementary information. + Identifier + string + Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the identifier list and thus, are not declared as attributes. + + + + + + + + + + + UBLUDT0000012 + UDT + Indicator. Type + 1.0 + A list of two mutually exclusive Boolean values that express the only possible states of a property. + Indicator + string + + + + + + + + + + + UBLUDT0000013 + UDT + Measure. Type + 1.0 + A numeric value determined by measuring an object using a specified unit of measure. + Measure + Type + decimal + + + + + + + + UNDT000013-SC2 + SC + Measure. Unit. Code + The type of unit of measure. + Measure Unit + Code + Code + normalizedString + Reference UNECE Rec. 20 and X12 355 + + + + + + + + + + + UBLUDT0000014 + UDT + Numeric. Type + 1.0 + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Numeric + string + + + + + + + + + + + UBLUDT0000015 + UDT + 1.0 + Value. Type + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Value + string + + + + + + + + + + + UBLUDT0000016 + UDT + 1.0 + Percent. Type + Numeric information that is assigned or is determined by calculation, counting, or sequencing and is expressed as a percentage. It does not require a unit of quantity or unit of measure. + Percent + string + + + + + + + + + + + UBLUDT0000017 + UDT + 1.0 + Rate. Type + A numeric expression of a rate that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Rate + string + + + + + + + + + + + UBLUDT0000018 + UDT + Quantity. Type + 1.0 + A counted number of non-monetary units, possibly including a fractional part. + Quantity + decimal + + + + + + + + + + + UBLUDT0000019 + UDT + Text. Type + 1.0 + A character string (i.e. a finite set of characters), generally in the form of words of a language. + Text + string + + + + + + + + + + + UBLUDT0000020 + UDT + Name. Type + 1.0 + A character string that constitutes the distinctive designation of a person, place, thing or concept. + Name + string + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-XAdESv132-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-XAdESv132-2.1.xsd new file mode 100644 index 0000000..1c079b5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-XAdESv132-2.1.xsd @@ -0,0 +1,476 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-XAdESv141-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-XAdESv141-2.1.xsd new file mode 100644 index 0000000..4be9191 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-XAdESv141-2.1.xsd @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-xmldsig-core-schema-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-xmldsig-core-schema-2.1.xsd new file mode 100644 index 0000000..a0fb04a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/common/UBL-xmldsig-core-schema-2.1.xsd @@ -0,0 +1,330 @@ + + + + + + + ]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ApplicationResponse-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ApplicationResponse-2.1.xsd new file mode 100644 index 0000000..5713d0d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ApplicationResponse-2.1.xsd @@ -0,0 +1,362 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Application Response. Details + A document to indicate the application's response to a transaction. This may be a business response initiated by a user or a technical response sent automatically by an application. + Application Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Application Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Application Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Application Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Application Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Application Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Application Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Application Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Application Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Application Response. Identifier + An identifier for this document, assigned by the sender. + 1 + Application Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Application Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Application Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Application Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Application Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Application Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Application Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Application Response. Response Date. Date + The date on which the information in the response was created. + 0..1 + Application Response + Response Date + Date + Date. Type + + + + + + + + + BBIE + Application Response. Response Time. Time + The time at which the information in the response was created. + 0..1 + Application Response + Response Time + Time + Time. Type + + + + + + + + + BBIE + Application Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Application Response + Note + Text + Text. Type + + + + + + + + + BBIE + Application Response. Version. Identifier + Identifies the current version of this document. + 0..1 + Application Response + Version + Identifier + Identifier. Type + + + + + + + + + ASBIE + Application Response. Signature + A signature applied to this document. + 0..n + Application Response + Signature + Signature + Signature + + + + + + + + + ASBIE + Application Response. Sender_ Party. Party + The party sending this document. + 1 + Application Response + Sender + Party + Party + Party + + + + + + + + + ASBIE + Application Response. Receiver_ Party. Party + The party receiving this document. + 1 + Application Response + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Application Response. Document Response + A response to a document. + 0..n + Application Response + Document Response + Document Response + Document Response + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-AttachedDocument-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-AttachedDocument-2.1.xsd new file mode 100644 index 0000000..24c048a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-AttachedDocument-2.1.xsd @@ -0,0 +1,416 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Attached Document. Details + A wrapper that allows a document of any kind to be packaged with the UBL document that references it. + Attached Document + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Attached Document. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Attached Document + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Attached Document. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Attached Document + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Attached Document. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Attached Document + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Attached Document. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Attached Document + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Identifier + An identifier for this document, assigned by the sender. + 1 + Attached Document + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Attached Document + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Attached Document + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Attached Document. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Attached Document + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Attached Document. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Attached Document + Note + Text + Text. Type + + + + + + + + + BBIE + Attached Document. Document Type Code. Code + A code signifying the type of document. + 0..1 + Attached Document + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Attached Document. Document Type. Text + Text specifying the type of document. + 0..1 + Attached Document + Document Type + Text + Text. Type + + + + + + + + + BBIE + Attached Document. Parent_ Document Identifier. Identifier + The Identifier of the parent document. + 1 + Attached Document + Parent + Document Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Parent_ Document Type Code. Code + A code signifying the type of parent document. + 0..1 + Attached Document + Parent + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Attached Document. Parent Document_ Version. Identifier + Indicates the current version of the referred document. + 0..1 + Attached Document + Parent Document + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + ASBIE + Attached Document. Signature + A signature applied to this document. + 0..n + Attached Document + Signature + Signature + Signature + + + + + + + + + ASBIE + Attached Document. Sender_ Party. Party + The party sending this document. + 1 + Attached Document + Sender + Party + Party + Party + + + + + + + + + ASBIE + Attached Document. Receiver_ Party. Party + The party receiving this document. + 1 + Attached Document + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Attached Document. Attachment + An attachment containing the document content. + 1 + Attached Document + Attachment + Attachment + Attachment + + + + + + + + + ASBIE + Attached Document. Parent Document_ Line Reference. Line Reference + A reference to a line in the attached document. + 0..n + Attached Document + Parent Document + Line Reference + Line Reference + Line Reference + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-AwardedNotification-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-AwardedNotification-2.1.xsd new file mode 100644 index 0000000..2bb77ca --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-AwardedNotification-2.1.xsd @@ -0,0 +1,418 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Awarded Notification. Details + The document used to communicate a contract award to the winner. + Awarded Notification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Awarded Notification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Awarded Notification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Awarded Notification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Awarded Notification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Awarded Notification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Awarded Notification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Awarded Notification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Awarded Notification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Awarded Notification. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Awarded Notification + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarded Notification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Awarded Notification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Awarded Notification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Awarded Notification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarded Notification. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Awarded Notification + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarded Notification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Awarded Notification + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Awarded Notification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Awarded Notification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Awarded Notification. Contract Name. Text + The name, expressed as text, of this procurement project. + 0..n + Awarded Notification + Contract Name + Text + Text. Type + + + + + + + + + BBIE + Awarded Notification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Awarded Notification + Note + Text + Text. Type + + + + + + + + + ASBIE + Awarded Notification. Sender_ Party. Party + The party sending this document. + 1 + Awarded Notification + Sender + Party + Party + Party + + + + + + + + + ASBIE + Awarded Notification. Receiver_ Party. Party + The party receiving this document. + 1 + Awarded Notification + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Awarded Notification. Minutes_ Document Reference. Document Reference + A reference to a set of minutes associated with this award. + 0..1 + Awarded Notification + Minutes + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Awarded Notification. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Awarded Notification + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Awarded Notification. Tender Result + The result of the tendering process reported in this notification. + 1..n + Awarded Notification + Tender Result + Tender Result + Tender Result + + + + + + + + + ASBIE + Awarded Notification. Final_ Financial Guarantee. Financial Guarantee + A bond guarantee by the submitter of a tender or bid, required of the tender winner. + 0..n + Awarded Notification + Final + Financial Guarantee + Financial Guarantee + Financial Guarantee + + + + + + + + + ASBIE + Awarded Notification. Signature + A signature applied to this document. + 0..n + Awarded Notification + Signature + Signature + Signature + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-BillOfLading-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-BillOfLading-2.1.xsd new file mode 100644 index 0000000..b446936 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-BillOfLading-2.1.xsd @@ -0,0 +1,540 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Bill Of Lading. Details + A document issued by the party who acts as an agent for a transportation carrier or other agents to the party who gives instructions for the transportation services (shipper, consignor, etc.) stating the details of the transportation, charges, and terms and conditions under which the transportation service is provided. The party issuing this document does not necessarily provide the physical transportation service. The information in the Bill of Lading corresponds to the information on the Forwarding Instructions. It is used for any mode of transport. A Bill of Lading can serve as a contractual document between the parties for the transportation service. The document evidences a contract of carriage by sea and the acceptance of responsibility for the goods by the carrier, by which the carrier undertakes to deliver the goods against surrender of the document. A provision in the document that the goods are to be delivered to the order of a named person, or to order, or to bearer, constitutes such an undertaking. + Bill Of Lading + House Bill of Landing, Master Bill, Bill + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Bill Of Lading. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Bill Of Lading + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Bill Of Lading. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Bill Of Lading + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Bill Of Lading. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Bill Of Lading + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Bill Of Lading. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Bill Of Lading + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Bill Of Lading. Identifier + An identifier for this document, assigned by the sender. + 1 + Bill Of Lading + Identifier + Identifier + Identifier. Type + Bill of Lading Number + + + + + + + + + BBIE + Bill Of Lading. Carrier Assigned_ Identifier. Identifier + Reference number (such as a booking reference number) assigned by a carrier or its agent to identify a specific shipment when cargo space is reserved prior to loading. + 0..1 + Bill Of Lading + Carrier Assigned + Identifier + Identifier + Identifier. Type + Booking Reference Number + + + + + + + + + BBIE + Bill Of Lading. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Bill Of Lading + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Bill Of Lading. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Bill Of Lading + Issue Date + Date + Date. Type + Transport Document Date + + + + + + + + + BBIE + Bill Of Lading. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Bill Of Lading + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Bill Of Lading. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Bill Of Lading + Name + Name + Name. Type + House Bill , Consolidated Bill of Lading , Proforma , Sea Waybill + + + + + + + + + BBIE + Bill Of Lading. Description. Text + Textual description of the document instance. + 0..n + Bill Of Lading + Description + Text + Text. Type + + + + + + + + + BBIE + Bill Of Lading. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Bill Of Lading + Note + Text + Text. Type + + + + + + + + + BBIE + Bill Of Lading. Document Status Code. Code + A code signifying the status of the Bill Of Lading (revision, replacement, etc.). + 0..1 + Bill Of Lading + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Bill Of Lading. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order or Forwarding Instruction. + 0..1 + Bill Of Lading + Shipping Order Identifier + Identifier + Identifier. Type + Freight forwarding instruction, Shippers letter of instruction + + + + + + + + + BBIE + Bill Of Lading. To Order_ Indicator. Indicator + Indicates whether the transport document is consigned to order. + 0..1 + Bill Of Lading + To Order + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Bill Of Lading. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Bill Of Lading + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Bill Of Lading. Declared Carriage_ Value. Amount + Value declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage in case of loss or damage to goods or delayed delivery. + 0..1 + Bill Of Lading + Declared Carriage + Value + Amount + Amount. Type + Interest in Delivery + + + + + + + + + BBIE + Bill Of Lading. Other_ Instruction. Text + Other free-text instructions to the forwarders or carriers related to the shipment. This element should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Bill Of Lading + Other + Instruction + Text + Text. Type + Bill of Lading Remark + + + + + + + + + ASBIE + Bill Of Lading. Consignor_ Party. Party + The party consigning goods as stipulated in the transport contract by the party ordering transport. + 0..1 + Bill Of Lading + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Bill Of Lading. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Bill Of Lading + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Bill Of Lading. Freight Forwarder_ Party. Party + A party combining individual smaller consignments into a single larger shipment (a so-called consolidated consignment or shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Bill Of Lading + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Bill Of Lading. Shipment + An identifiable collection of one or more goods items to be transported between the seller party and the buyer party. + 0..1 + Bill Of Lading + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Bill Of Lading. Document Reference + A reference to another document associated with this document. + 0..n + Bill Of Lading + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Bill Of Lading. Exchange Rate + Information that directly relates to the rate of exchange (conversion) between two currencies. + 0..n + Bill Of Lading + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Bill Of Lading. Document Distribution + A list of interested parties to whom this document is distributed. + 0..n + Bill Of Lading + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Bill Of Lading. Signature + A signature applied to this document. + 0..n + Bill Of Lading + Signature + Signature + Signature + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CallForTenders-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CallForTenders-2.1.xsd new file mode 100644 index 0000000..1d6ad9c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CallForTenders-2.1.xsd @@ -0,0 +1,513 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Call For Tenders. Details + A document used by a Contracting Party to define a procurement project to buy goods, services, or works during a specified period. + Call For Tenders + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Call For Tenders. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Call For Tenders + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Call For Tenders + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Call For Tenders + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Call For Tenders + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Call For Tenders + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Call For Tenders + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Call For Tenders. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Call For Tenders + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Call For Tenders + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Approval Date. Date + The date, assigned by the contracting party, on which the Call For Tenders was approved. + 0..1 + Call For Tenders + Approval Date + Date + Date. Type + + + + + + + + + BBIE + Call For Tenders. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Call For Tenders + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Call For Tenders. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Call For Tenders + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Call For Tenders. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Call For Tenders + Note + Text + Text. Type + + + + + + + + + BBIE + Call For Tenders. Version. Identifier + Indicates the current version of the Call for Tenders. + 0..1 + Call For Tenders + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Call For Tenders. Previous_ Version. Identifier + Identifies the previous version of the Call for Tenders which is superceded by this version. + 0..1 + Call For Tenders + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + ASBIE + Call For Tenders. Legal_ Document Reference. Document Reference + A reference to a legal document. + 0..1 + Call For Tenders + Legal + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Technical_ Document Reference. Document Reference + A reference to a technical document. + 0..1 + Call For Tenders + Technical + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Call For Tenders + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Signature + A signature applied to this document. + 0..n + Call For Tenders + Signature + Signature + Signature + + + + + + + + + ASBIE + Call For Tenders. Contracting Party + The contracting party. + 1 + Call For Tenders + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Call For Tenders. Originator_ Customer Party. Customer Party + The party who originated Order. + 0..n + Call For Tenders + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Call For Tenders. Receiver_ Party. Party + The party receiving this document. + 0..1 + Call For Tenders + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Call For Tenders. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Call For Tenders + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Call For Tenders. Tendering Process + A description of the tendering process itself. + 0..1 + Call For Tenders + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Call For Tenders. Procurement Project + An overall definition of this procurement project. + 1 + Call For Tenders + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Call For Tenders. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Call For Tenders + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Catalogue-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Catalogue-2.1.xsd new file mode 100644 index 0000000..d89a2fd --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Catalogue-2.1.xsd @@ -0,0 +1,565 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue. Details + A document that describes items, prices, and price validity. + Catalogue + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Catalogue. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue. Action Code. Code + A code signifying whether the transaction is a replacement or an update. + 0..1 + Catalogue + Action Code + Code + Code. Type + Replace , Update . + + + + + + + + + BBIE + Catalogue. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue + Name + Name + Name. Type + winter 2005 collection + + + + + + + + + BBIE + Catalogue. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue. Revision Date. Date + The date, assigned by the seller party, on which the information in the Catalogue was last revised. + 0..1 + Catalogue + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue. Revision Time. Time + The time, assigned by the Seller party, at which the information in the Catalogue was last revised. + 0..1 + Catalogue + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue. Description. Text + Textual description of the document instance. + 0..n + Catalogue + Description + Text + Text. Type + computer accessories for laptops + + + + + + + + + BBIE + Catalogue. Version. Identifier + An identifier for the current version of the Catalogue. + 0..1 + Catalogue + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue. Previous_ Version. Identifier + An identifier for the previous version of the Catalogue that is superseded by this version. + 0..1 + Catalogue + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + BBIE + Catalogue. Line Count. Numeric + The number of Catalogue Lines in the document. + 0..1 + Catalogue + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue. Validity_ Period. Period + A period, assigned by the seller, during which the information in the Catalogue is effective. This may be given as start and end dates or as a duration. + 0..n + Catalogue + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue. Referenced_ Contract. Contract + A contract or framework agreement with which this Catalogue is associated. + 0..n + Catalogue + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue. Source_ Catalogue Reference. Catalogue Reference + A reference to the source catalogue. + 0..1 + Catalogue + Source + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue. Document Reference + A reference to another document associated with this document. + 0..n + Catalogue + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue. Signature + A signature applied to this document. + 0..n + Catalogue + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue. Provider_ Party. Party + The party providing the Catalogue. + 1 + Catalogue + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue. Receiver_ Party. Party + The party receiving the Catalogue. + 1 + Catalogue + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue. Trading Terms + The trading terms associated with this Catalogue. + 0..n + Catalogue + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue. Catalogue Line + A line in a Catalogue describing an item of sale. + 1..n + Catalogue + Catalogue Line + Catalogue Line + Catalogue Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueDeletion-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueDeletion-2.1.xsd new file mode 100644 index 0000000..842a6f6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueDeletion-2.1.xsd @@ -0,0 +1,465 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Deletion. Details + A document used to cancel an entire Catalogue. + Catalogue Deletion + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Deletion. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Deletion + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Deletion. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Deletion + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Deletion. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue Deletion + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Deletion. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Deletion + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Catalogue Deletion. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Deletion + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Deletion. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Deletion + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Deletion. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Deletion + Name + Name + Name. Type + + + + + + + + + BBIE + Catalogue Deletion. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Deletion + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Deletion. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Deletion + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Deletion. Effective Date. Date + The effective date, assigned by the seller, on which the Catalogue expires. + 0..1 + Catalogue Deletion + Effective Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Deletion. Effective Time. Time + The effective time, assigned by the seller, at which the Catalogue expires. + 0..1 + Catalogue Deletion + Effective Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Deletion. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Deletion + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Deletion. Version. Identifier + Identifies the current version of the Catalogue. + 0..1 + Catalogue Deletion + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Deletion. Description. Text + Textual description of the document instance. + 0..n + Catalogue Deletion + Description + Text + Text. Type + stock no longer provided + + + + + + + + + ASBIE + Catalogue Deletion. Validity_ Period. Period + The period during which the Deletion of the catalogue becomes effective. This may be given as start (after date) and end dates (before date). + 0..n + Catalogue Deletion + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Deletion. Deleted_ Catalogue Reference. Catalogue Reference + A reference to the Catalogue being deleted. + 1 + Catalogue Deletion + Deleted + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Deletion. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue was associated. + 0..n + Catalogue Deletion + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Deletion. Signature + A signature applied to this document. + 0..n + Catalogue Deletion + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Deletion. Receiver_ Party. Party + The party receiving the Catalogue Deletion. + 1 + Catalogue Deletion + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Deletion. Provider_ Party. Party + The party sending the Catalogue Deletion. + 1 + Catalogue Deletion + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Deletion. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Deletion + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Deletion. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue was associated. + 0..1 + Catalogue Deletion + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueItemSpecificationUpdate-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueItemSpecificationUpdate-2.1.xsd new file mode 100644 index 0000000..3aff271 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueItemSpecificationUpdate-2.1.xsd @@ -0,0 +1,533 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Item Specification Update. Details + A document used to update information (e.g., technical descriptions and properties) about Items in an existing Catalogue. + Catalogue Item Specification Update + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Item Specification Update. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Item Specification Update + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Item Specification Update. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Item Specification Update + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Item Specification Update. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Catalogue Item Specification Update + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Item Specification Update. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Item Specification Update + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Item Specification Update + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Item Specification Update + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Item Specification Update + Name + Name + Name. Type + electrical goods - new energy ratings. + + + + + + + + + BBIE + Catalogue Item Specification Update. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Item Specification Update + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Item Specification Update + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Revision Date. Date + The date, assigned by the seller, on which the Catalogue was revised. + 0..1 + Catalogue Item Specification Update + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Revision Time. Time + The time, assigned by the seller, at which the Catalogue was revised. + 0..1 + Catalogue Item Specification Update + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Item Specification Update + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Description. Text + Textual description of the document instance. + 0..n + Catalogue Item Specification Update + Description + Text + Text. Type + ratings based on new environmental standards for EU + + + + + + + + + BBIE + Catalogue Item Specification Update. Version. Identifier + Identifies the current version of the Catalogue. + 0..1 + Catalogue Item Specification Update + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Item Specification Update. Line Count. Numeric + The number of Catalogue Item Specification Update Lines in this document. + 0..1 + Catalogue Item Specification Update + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Item Specification Update. Validity_ Period. Period + A period, assigned by the seller, during which the information in the Catalogue Revision is effective. This may be given as start and end dates or as a duration. + 0..n + Catalogue Item Specification Update + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Item Specification Update. Related_ Catalogue Reference. Catalogue Reference + A reference to the Catalogue being updated. + 1 + Catalogue Item Specification Update + Related + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Item Specification Update. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue is associated. + 0..n + Catalogue Item Specification Update + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Item Specification Update. Signature + A signature applied to this document. + 0..n + Catalogue Item Specification Update + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Item Specification Update. Provider_ Party. Party + The party sending the Catalogue Item Specification Update. + 1 + Catalogue Item Specification Update + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Receiver_ Party. Party + The party receiving the Catalogue Item Specification Update. + 1 + Catalogue Item Specification Update + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Item Specification Update + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue Item Specification Update + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Trading Terms + The trading terms associated with the Catalogue. + 0..1 + Catalogue Item Specification Update + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Item Specification Update. Default_ Language. Language + The default language for the item specifications. + 0..1 + Catalogue Item Specification Update + Default + Language + Language + Language + + + + + + + + + ASBIE + Catalogue Item Specification Update. Catalogue Item Specification Update Line + One or more lines in the Catalogue Item Specification Update, each line updating a specific catalogue item. + 1..n + Catalogue Item Specification Update + Catalogue Item Specification Update Line + Catalogue Item Specification Update Line + Catalogue Item Specification Update Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CataloguePricingUpdate-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CataloguePricingUpdate-2.1.xsd new file mode 100644 index 0000000..8d2b045 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CataloguePricingUpdate-2.1.xsd @@ -0,0 +1,532 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Pricing Update. Details + A document used to update information about prices in an existing Catalogue. + Catalogue Pricing Update + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Pricing Update. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Pricing Update + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Pricing Update. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Pricing Update + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Pricing Update. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Catalogue Pricing Update + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Pricing Update. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Pricing Update + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Pricing Update + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Pricing Update + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Pricing Update + Name + Name + Name. Type + Seasonal Promotion + + + + + + + + + BBIE + Catalogue Pricing Update. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Pricing Update + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Pricing Update + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Revision Date. Date + The date, assigned by the seller, on which the Catalogue was revised. + 0..1 + Catalogue Pricing Update + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Revision Time. Time + The time, assigned by the seller, at which the Catalogue was revised. + 0..1 + Catalogue Pricing Update + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Pricing Update + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Description. Text + Describes the Catalogue Revision. + 0..n + Catalogue Pricing Update + Description + Text + Text. Type + adjustment of prices for Christmas trading period + + + + + + + + + BBIE + Catalogue Pricing Update. Version. Identifier + Indicates the current version of the catalogue. + 0..1 + Catalogue Pricing Update + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Pricing Update. Line Count. Numeric + The number of lines in the document. + 0..1 + Catalogue Pricing Update + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Pricing Update. Validity_ Period. Period + A period, assigned by the seller, during which the information in the Catalogue Revision is effective. This may be given as start and end dates or as a duration. + 0..n + Catalogue Pricing Update + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Pricing Update. Related_ Catalogue Reference. Catalogue Reference + A reference to the Catalogue being updated. + 1 + Catalogue Pricing Update + Related + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Pricing Update. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue is associated. + 0..n + Catalogue Pricing Update + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Pricing Update. Signature + A signature applied to this document. + 0..n + Catalogue Pricing Update + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Pricing Update. Provider_ Party. Party + The party sending the Catalogue Pricing Update. + 1 + Catalogue Pricing Update + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Receiver_ Party. Party + The party receiving the Catalogue Pricing Update. + 1 + Catalogue Pricing Update + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Pricing Update + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue Pricing Update + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Trading Terms + The trading terms associated with the Catalogue. + 0..1 + Catalogue Pricing Update + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Pricing Update. Default_ Language. Language + The default language for the catalogue pricing update. + 0..1 + Catalogue Pricing Update + Default + Language + Language + Language + + + + + + + + + ASBIE + Catalogue Pricing Update. Catalogue Pricing Update Line + One or more lines in the Catalogue Pricing Update, each line updating a specific catalogue item. + 1..n + Catalogue Pricing Update + Catalogue Pricing Update Line + Catalogue Pricing Update Line + Catalogue Pricing Update Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueRequest-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueRequest-2.1.xsd new file mode 100644 index 0000000..d54c80e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CatalogueRequest-2.1.xsd @@ -0,0 +1,571 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Request. Details + A document used to request a Catalogue. + Catalogue Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Request + Name + Name + Name. Type + winter 2005 collection + + + + + + + + + BBIE + Catalogue Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Request + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Request. Description. Text + Textual description of the document instance. + 0..n + Catalogue Request + Description + Text + Text. Type + latest computer accessories for laptops + + + + + + + + + BBIE + Catalogue Request. Pricing Update Request_ Indicator. Indicator + Indicates a request for a pricing update. + 0..1 + Catalogue Request + Pricing Update Request + Indicator + Indicator + Indicator. Type + default is true + + + + + + + + + BBIE + Catalogue Request. Item Update Request_ Indicator. Indicator + Indicates a request for an update of the item specifications. + 0..1 + Catalogue Request + Item Update Request + Indicator + Indicator + Indicator. Type + default is true + + + + + + + + + BBIE + Catalogue Request. Line Count. Numeric + The number of Catalogue Lines in this document. + 0..1 + Catalogue Request + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Request. Validity_ Period. Period + The period, assigned by the Catalogue Managing party, during which the information in the Catalogue requested is to be effective. This may be given as start and end dates or a duration. + 0..n + Catalogue Request + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Request. Signature + A signature applied to this document. + 0..n + Catalogue Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Request. Receiver_ Party. Party + The party receiving the Catalogue Request. + 1 + Catalogue Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Request. Provider_ Party. Party + The party sending the Catalogue Request. + 1 + Catalogue Request + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Request. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Request + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Request. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue Request + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Request. Requested_ Catalogue Reference. Catalogue Reference + A reference to a specific Catalogue; used if the Catalogue Request is for an update. + 0..1 + Catalogue Request + Requested + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Request. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue being requested is associated. + 0..n + Catalogue Request + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Request. Trading Terms + The trading terms associated with the requested Catalogue. + 0..1 + Catalogue Request + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Request. Document Reference + A reference to another document associated with this document. + 0..n + Catalogue Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue Request. Applicable Territory_ Address. Address + A reference to a territory (region, country, city, etc.) to which the requested Catalogue will apply, expressed as an Address. + 0..n + Catalogue Request + Applicable Territory + Address + Address + Address + + + + + + + + + ASBIE + Catalogue Request. Requested_ Language. Language + The language in which the Catalogue is requested to be provided. + 0..1 + Catalogue Request + Requested + Language + Language + Language + + + + + + + + + ASBIE + Catalogue Request. Requested_ Classification Scheme. Classification Scheme + A requested classification scheme for the requested Catalogue. + 0..n + Catalogue Request + Requested + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + ASBIE + Catalogue Request. Catalogue Request Line + An association to specific Catalogue Lines for the catalogue requested. + 0..n + Catalogue Request + Catalogue Request Line + Catalogue Request Line + Catalogue Request Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CertificateOfOrigin-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CertificateOfOrigin-2.1.xsd new file mode 100644 index 0000000..c06c8b5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CertificateOfOrigin-2.1.xsd @@ -0,0 +1,417 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Certificate Of Origin. Details + A document that describes the Certificate of Origin. + Certificate Of Origin + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Certificate Of Origin. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Certificate Of Origin + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Certificate Of Origin. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Certificate Of Origin + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Certificate Of Origin. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Certificate Of Origin + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Certificate Of Origin. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Certificate Of Origin + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Certificate Of Origin. Identifier + An identifier for this document, assigned by the sender. + 1 + Certificate Of Origin + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Certificate Of Origin + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Certificate Of Origin + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Certificate Of Origin. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Certificate Of Origin + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Certificate Of Origin. Description. Text + Textual description of the document instance. + 0..n + Certificate Of Origin + Description + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Certificate Of Origin + Note + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin. Version. Identifier + Identifies the version of this Certificate of Origin. + 0..1 + Certificate Of Origin + Version + Identifier + Identifier. Type + + + + + + + + + ASBIE + Certificate Of Origin. Signature + A signature applied to this document. + 0..n + Certificate Of Origin + Signature + Signature + Signature + + + + + + + + + ASBIE + Certificate Of Origin. Exporter_ Party. Party + The Party who makes the export declaration, or on whose behalf the export declaration is made, and who is the owner of the goods or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Certificate Of Origin + Exporter + Party + Party + Party + Exporter (WCO ID 41 and 42) + + + + + + + + + ASBIE + Certificate Of Origin. Importer_ Party. Party + The Party who makes an import declaration, or on whose behalf a Customs clearing agent or other authorized person makes an import declaration. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Certificate Of Origin + Importer + Party + Party + Party + Importer (WCO ID 39 and 40) + + + + + + + + + ASBIE + Certificate Of Origin. Endorser Party + The Party providing the endorsement. + 0..n + Certificate Of Origin + Endorser Party + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Certificate Of Origin. Certificate Of Origin Application + Details of the application for a Certificate of Origin. + 1 + Certificate Of Origin + Certificate Of Origin Application + Certificate Of Origin Application + Certificate Of Origin Application + + + + + + + + + ASBIE + Certificate Of Origin. Issuer_ Endorsement. Endorsement + Issuer Endorsement details. + 1 + Certificate Of Origin + Issuer + Endorsement + Endorsement + Endorsement + + + + + + + + + ASBIE + Certificate Of Origin. Embassy_ Endorsement. Endorsement + Embassy Endorsement details. + 0..1 + Certificate Of Origin + Embassy + Endorsement + Endorsement + Endorsement + + + + + + + + + ASBIE + Certificate Of Origin. Insurance_ Endorsement. Endorsement + Insurance Endorsement details. + 0..1 + Certificate Of Origin + Insurance + Endorsement + Endorsement + Endorsement + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ContractAwardNotice-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ContractAwardNotice-2.1.xsd new file mode 100644 index 0000000..5ac44d5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ContractAwardNotice-2.1.xsd @@ -0,0 +1,493 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Contract Award Notice. Details + A document published by a Contracting Party to announce the awarding of a procurement project. + Contract Award Notice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Contract Award Notice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Contract Award Notice + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Contract Award Notice + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Contract Award Notice + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Contract Award Notice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Contract Award Notice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Contract Award Notice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Contract Award Notice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Contract Award Notice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Contract Award Notice + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Contract Award Notice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Contract Award Notice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Contract Award Notice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Contract Award Notice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Contract Award Notice + Note + Text + Text. Type + + + + + + + + + BBIE + Contract Award Notice. Regulatory Domain. Text + Information about the law that defines the regulatory domain. + 0..n + Contract Award Notice + Regulatory Domain + Text + Text. Type + + + + + + + + + BBIE + Contract Award Notice. Publish Award Indicator. Indicator + An indicator specifying if the notice is published for service contracts within certain service categories (true) or not (false). + 0..1 + Contract Award Notice + Publish Award Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Contract Award Notice. Previous_ Document Reference. Document Reference + A reference to a previously sent document. + 0..n + Contract Award Notice + Previous + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Contract Award Notice. Minutes_ Document Reference. Document Reference + A reference to a set of minutes. + 0..n + Contract Award Notice + Minutes + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Contract Award Notice. Signature + A signature applied to this document. + 0..n + Contract Award Notice + Signature + Signature + Signature + + + + + + + + + ASBIE + Contract Award Notice. Contracting Party + The contracting party. + 1 + Contract Award Notice + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Contract Award Notice. Originator_ Customer Party. Customer Party + The party who originated Order. + 0..1 + Contract Award Notice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Contract Award Notice. Receiver_ Party. Party + The party receiving this document. + 0..1 + Contract Award Notice + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Contract Award Notice. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Contract Award Notice + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Contract Award Notice. Tendering Process + A description of the tendering process itself. + 0..1 + Contract Award Notice + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Contract Award Notice. Procurement Project + An overall definition of this procurement project. + 0..1 + Contract Award Notice + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Contract Award Notice. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Contract Award Notice + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Contract Award Notice. Tender Result + A result of the bid opening in the tendering process. + 1..n + Contract Award Notice + Tender Result + Tender Result + Tender Result + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ContractNotice-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ContractNotice-2.1.xsd new file mode 100644 index 0000000..999585a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ContractNotice-2.1.xsd @@ -0,0 +1,459 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Contract Notice. Details + A document used by a Contracting party to announce a project to buy goods, services, or works. + Contract Notice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Contract Notice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Contract Notice + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Contract Notice + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Contract Notice + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Contract Notice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Contract Notice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Contract Notice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Contract Notice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Contract Notice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Contract Notice + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Contract Notice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Contract Notice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Contract Notice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Contract Notice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Contract Notice + Note + Text + Text. Type + + + + + + + + + BBIE + Contract Notice. Requested_ Publication Date. Date + The requested publication date for this Contract Notice. + 0..1 + Contract Notice + Requested + Publication Date + Date + Date. Type + + + + + + + + + BBIE + Contract Notice. Regulatory Domain. Text + Information about the law that defines the regulatory domain. + 0..n + Contract Notice + Regulatory Domain + Text + Text. Type + + + + + + + + + ASBIE + Contract Notice. Frequency_ Period. Period + The estimated frequency of future notices. + 0..1 + Contract Notice + Frequency + Period + Period + Period + + + + + + + + + ASBIE + Contract Notice. Signature + A signature applied to this document. + 0..n + Contract Notice + Signature + Signature + Signature + + + + + + + + + ASBIE + Contract Notice. Contracting Party + The contracting party. + 1 + Contract Notice + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Contract Notice. Originator_ Customer Party. Customer Party + A party who originally requested the tender. + 0..n + Contract Notice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Contract Notice. Receiver_ Party. Party + The party receiving this document. + 0..1 + Contract Notice + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Contract Notice. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Contract Notice + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Contract Notice. Tendering Process + A description of the tendering process itself. + 0..1 + Contract Notice + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Contract Notice. Procurement Project + An overall definition of this procurement project. + 1 + Contract Notice + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Contract Notice. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Contract Notice + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CreditNote-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CreditNote-2.1.xsd new file mode 100644 index 0000000..7fda93c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-CreditNote-2.1.xsd @@ -0,0 +1,951 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Credit Note. Details + A document used to specify credits due to the Debtor from the Creditor. + Credit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Credit Note. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Credit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Credit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Credit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Credit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Credit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Credit Note. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Credit Note + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Credit Note. Identifier + An identifier for this document, assigned by the sender. + 1 + Credit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Credit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Credit Note. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Credit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Credit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Credit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Credit Note. Tax Point Date. Date + The date of the Credit Note, used to indicate the point at which tax becomes applicable. + 0..1 + Credit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note. Credit Note Type Code. Code + A code signifying the type of the Credit Note. + 0..1 + Credit Note + Credit Note Type Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Credit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Credit Note. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Credit Note + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Credit Note. + 0..1 + Credit Note + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Credit Note. + 0..1 + Credit Note + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Credit Note. + 0..1 + Credit Note + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Credit Note. + 0..1 + Credit Note + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Accounting Cost Code. Code + The buyer's accounting code, applied to the Credit Note as a whole. + 0..1 + Credit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note. Accounting Cost. Text + The buyer's accounting code, applied to the Credit Note as a whole, expressed as text. + 0..1 + Credit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Credit Note. Line Count. Numeric + The number of Credit Note Lines in the document. + 0..1 + Credit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Credit Note. Buyer_ Reference. Text + A reference provided by the buyer used for internal routing of the document. + 0..1 + Credit Note + Buyer + Reference + Text + Text. Type + + + + + + + + + ASBIE + Credit Note. Invoice_ Period. Period + Associates the Credit Note with Invoicing Periods rather than with a specific Invoice. + 0..n + Credit Note + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Credit Note. Discrepancy_ Response. Response + A reason for the Credit Note as a whole. + 0..n + Credit Note + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Credit Note. Order Reference + The Order associated with this Credit Note. + 0..1 + Credit Note + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Credit Note. Billing Reference + A reference to a billing document associated with this document. + 0..n + Credit Note + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Credit Note. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Credit Note + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Credit Note + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Credit Note + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Credit Note + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Credit Note + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Credit Note + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Signature + A signature applied to this document. + 0..n + Credit Note + Signature + Signature + Signature + + + + + + + + + ASBIE + Credit Note. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Credit Note + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Credit Note. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Credit Note + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Credit Note. Payee_ Party. Party + The payee. + 0..1 + Credit Note + Payee + Party + Party + Party + + + + + + + + + ASBIE + Credit Note. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Credit Note + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Credit Note. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Credit Note + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Credit Note. Tax Representative_ Party. Party + The tax representative. + 0..1 + Credit Note + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Credit Note. Delivery + A delivery associated with this document. + 0..n + Credit Note + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Credit Note. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Credit Note + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Credit Note. Payment Means + Expected means of payment. + 0..n + Credit Note + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Credit Note. Payment Terms + A set of payment terms associated with this document. + 0..n + Credit Note + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Credit Note. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Credit Note + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Credit Note + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Credit Note + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Credit Note + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Credit Note + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Credit Note. Tax Total + The total amount of a specific type of tax. + 0..n + Credit Note + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Credit Note. Legal_ Monetary Total. Monetary Total + The total amount payable on the Credit Note, including allowances, charges, and taxes. + 1 + Credit Note + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Credit Note. Credit Note Line + A Credit Note line. + 1..n + Credit Note + Credit Note Line + Credit Note Line + Credit Note Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DebitNote-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DebitNote-2.1.xsd new file mode 100644 index 0000000..695454b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DebitNote-2.1.xsd @@ -0,0 +1,916 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Debit Note. Details + A document used to specify debts incurred by the Debtor. + Debit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Debit Note. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Debit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Debit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Debit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Debit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Debit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Debit Note. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Debit Note + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Debit Note. Identifier + An identifier for this document, assigned by the sender. + 1 + Debit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Debit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Debit Note. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Debit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Debit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Debit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Debit Note. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Debit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Debit Note. Tax Point Date. Date + The date of the Debit Note, used to indicate the point at which tax becomes applicable. + 0..1 + Debit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Debit Note + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Debit Note. + 0..1 + Debit Note + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Debit Note. + 0..1 + Debit Note + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Debit Note. + 0..1 + Debit Note + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Debit Note. + 0..1 + Debit Note + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Accounting Cost Code. Code + The Buyer's accounting code, applied to the Credit Note as a whole. + 0..1 + Debit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Debit Note. Accounting Cost. Text + The Buyer's accounting code, applied to the Credit Note as a whole, expressed as text. + 0..1 + Debit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Debit Note. Line Count. Numeric + The number of Debit Note Lines in this document. + 0..1 + Debit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Debit Note. Invoice_ Period. Period + A period (rather than a specific invoice) associated with this document. + 0..n + Debit Note + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Debit Note. Discrepancy_ Response. Response + A reason for the Debit Note as a whole. + 0..n + Debit Note + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Debit Note. Order Reference + A reference to an Order with which this Debit Note is associated. + 0..1 + Debit Note + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Debit Note. Billing Reference + A reference to a billing document associated with this document. + 0..n + Debit Note + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Debit Note. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Debit Note + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Debit Note + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Debit Note + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Debit Note + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Debit Note + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Signature + A signature applied to this document. + 0..n + Debit Note + Signature + Signature + Signature + + + + + + + + + ASBIE + Debit Note. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Debit Note + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Debit Note. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Debit Note + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Debit Note. Payee_ Party. Party + The payee. + 0..1 + Debit Note + Payee + Party + Party + Party + + + + + + + + + ASBIE + Debit Note. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Debit Note + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Debit Note. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Debit Note + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Debit Note. Tax Representative_ Party. Party + The tax representative. + 0..1 + Debit Note + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Debit Note. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Debit Note + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Debit Note. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Debit Note + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Debit Note. Delivery + A delivery associated with this document. + 0..n + Debit Note + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Debit Note. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Debit Note + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Debit Note. Payment Means + Expected means of payment. + 0..n + Debit Note + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Debit Note. Payment Terms + A set of payment terms associated with this document. + 0..n + Debit Note + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Debit Note. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Debit Note + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Debit Note + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Debit Note + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Debit Note + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Tax Total + The total amount of a specific type of tax. + 0..n + Debit Note + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Debit Note. Requested_ Monetary Total. Monetary Total + The total amount payable on the Debit Note, including allowances, charges, and taxes. + 1 + Debit Note + Requested + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Debit Note. Debit Note Line + A Debit Note line. + 1..n + Debit Note + Debit Note Line + Debit Note Line + Debit Note Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DespatchAdvice-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DespatchAdvice-2.1.xsd new file mode 100644 index 0000000..035df0e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DespatchAdvice-2.1.xsd @@ -0,0 +1,482 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Despatch Advice. Details + A document used to describe the despatch or delivery of goods and services. + Despatch Advice + Ship Note, Dispatch Advice, Consignment Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Despatch Advice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Despatch Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Despatch Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Despatch Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Despatch Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Despatch Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Despatch Advice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Despatch Advice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Identifier + An identifier for this document, assigned by the sender. + 1 + Despatch Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Despatch Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Despatch Advice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Despatch Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Despatch Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Despatch Advice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Despatch Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Despatch Advice. Document Status Code. Code + A code signifying the status of the Despatch Advice with respect to its original state. This code may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancellation or revision. + 0..1 + Despatch Advice + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Despatch Advice. Despatch Advice Type Code. Code + A code signifying the type of the Despatch Advice. + 0..1 + Despatch Advice + Despatch Advice Type Code + Code + Code. Type + + + + + + + + + BBIE + Despatch Advice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Despatch Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Despatch Advice. Line Count. Numeric + The number of Despatch Lines in this document. + 0..1 + Despatch Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Despatch Advice. Order Reference + A reference to an Order with which this Despatch Advice is associated. + 0..n + Despatch Advice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Despatch Advice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Despatch Advice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Despatch Advice. Signature + A signature applied to this document. + 0..n + Despatch Advice + Signature + Signature + Signature + + + + + + + + + ASBIE + Despatch Advice. Despatch_ Supplier Party. Supplier Party + The despatch party. + 1 + Despatch Advice + Despatch + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Despatch Advice. Delivery_ Customer Party. Customer Party + The delivery recipient. + 1 + Despatch Advice + Delivery + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Despatch Advice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Despatch Advice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Despatch Advice. Originator_ Customer Party. Customer Party + A customer party as originator. + 0..1 + Despatch Advice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Shipment + The shipment. + 0..1 + Despatch Advice + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Despatch Advice. Despatch Line + A Despatch Line associated with a kind of item delivered. + 1..n + Despatch Advice + Despatch Line + Despatch Line + Despatch Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DocumentStatus-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DocumentStatus-2.1.xsd new file mode 100644 index 0000000..aab91e4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DocumentStatus-2.1.xsd @@ -0,0 +1,350 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Document Status. Details + A document used to provide information about document status. + Document Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Document Status. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Document Status + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Document Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Document Status + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Document Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Document Status + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Document Status. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Document Status + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Document Status. Identifier + An identifier for this document, assigned by the sender. + 1 + Document Status + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Document Status + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Document Status. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Document Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Document Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Document Status. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Document Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Document Status. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Document Status + Note + Text + Text. Type + + + + + + + + + ASBIE + Document Status. Signature + A signature applied to this document. + 0..n + Document Status + Signature + Signature + Signature + + + + + + + + + ASBIE + Document Status. Sender_ Party. Party + The party sending this document. + 0..1 + Document Status + Sender + Party + Party + Party + + + + + + + + + ASBIE + Document Status. Receiver_ Party. Party + The party receiving this document. + 0..1 + Document Status + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Document Status. Document Response + A response to the document. + 0..1 + Document Status + Document Response + Document Response + Document Response + + + + + + + + + ASBIE + Document Status. Additional_ Document Response. Document Response + A document linked or related to the document for which the status was requested. + 0..n + Document Status + Additional + Document Response + Document Response + Document Response + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DocumentStatusRequest-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DocumentStatusRequest-2.1.xsd new file mode 100644 index 0000000..0bd9ada --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-DocumentStatusRequest-2.1.xsd @@ -0,0 +1,348 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Document Status Request. Details + A document used to request the status of another document. + Document Status Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Document Status Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Document Status Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Document Status Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Document Status Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Document Status Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Document Status Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Document Status Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Document Status Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Document Status Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Document Status Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Document Status Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Document Status Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Document Status Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Document Status Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Document Status Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Document Status Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Document Status Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Document Status Request + Note + Text + Text. Type + + + + + + + + + BBIE + Document Status Request. Tracking Identifier. Identifier + An identifier for tracking status of the business process . + 0..1 + Document Status Request + Tracking Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Document Status Request. Requested_ Document Reference. Document Reference + The document about which status is requested. + 0..1 + Document Status Request + Requested + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Document Status Request. Signature + A signature applied to this document. + 0..n + Document Status Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Document Status Request. Sender_ Party. Party + The party sending this document. + 0..1 + Document Status Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Document Status Request. Receiver_ Party. Party + The party receiving this document. + 0..1 + Document Status Request + Receiver + Party + Party + Party + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ExceptionCriteria-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ExceptionCriteria-2.1.xsd new file mode 100644 index 0000000..3bf5132 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ExceptionCriteria-2.1.xsd @@ -0,0 +1,417 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Exception Criteria. Details + A document used to specify the thresholds for forecast variance, product activity, and performance history beyond which exceptions should be triggered. + Exception Criteria + Exception Criteria + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Exception Criteria. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Exception Criteria + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Exception Criteria. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Exception Criteria + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Exception Criteria. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Exception Criteria + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Exception Criteria. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Exception Criteria + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Exception Criteria. Identifier + An identifier for this document, assigned by the sender. + 1 + Exception Criteria + Identifier + Identifier + Identifier. Type + Exception Criteria Number + + + + + + + + + BBIE + Exception Criteria. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Exception Criteria + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Exception Criteria. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Exception Criteria + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Criteria. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Exception Criteria + Issue Date + Date + Date. Type + Exception Criteria Date + + + + + + + + + BBIE + Exception Criteria. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Exception Criteria + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Exception Criteria. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Exception Criteria + Note + Text + Text. Type + + + + + + + + + BBIE + Exception Criteria. Version. Identifier + Identifies the current version of this document. + 0..1 + Exception Criteria + Version + Identifier + Identifier. Type + + + + + + + + + ASBIE + Exception Criteria. Validity_ Period. Period + The period of time during which the Exception Criteria is valid. + 1 + Exception Criteria + Validity + Period + Period + Period + + + + + + + + + ASBIE + Exception Criteria. Document Reference + A reference to another document associated with this document. + 0..n + Exception Criteria + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Exception Criteria. Signature + A signature applied to this document. + 0..n + Exception Criteria + Signature + Signature + Signature + + + + + + + + + ASBIE + Exception Criteria. Sender_ Party. Party + The party sending this document. + 1 + Exception Criteria + Sender + Party + Party + Party + + + + + + + + + ASBIE + Exception Criteria. Receiver_ Party. Party + The party receiving this document. + 1 + Exception Criteria + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Exception Criteria. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Exception Criteria + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Exception Criteria. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Exception Criteria + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Exception Criteria. Exception Criteria Line + A line expressing an exception criterion setting thresholds beyond which an exception should be triggered. + 1..n + Exception Criteria + Exception Criteria Line + Exception Criteria Line + Exception Criteria Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ExceptionNotification-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ExceptionNotification-2.1.xsd new file mode 100644 index 0000000..a7f21f3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ExceptionNotification-2.1.xsd @@ -0,0 +1,403 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Exception Notification. Details + A document used to notify an exception in forecast variance, product activity, or performance history. + Exception Notification + ExceptionNotification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Exception Notification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Exception Notification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Exception Notification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Exception Notification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Exception Notification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Exception Notification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Exception Notification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Exception Notification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Exception Notification. Identifier + An identifier for this document, assigned by the sender. + 1 + Exception Notification + Identifier + Identifier + Identifier. Type + Exception Notification Number + + + + + + + + + BBIE + Exception Notification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Exception Notification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Exception Notification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Exception Notification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Notification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Exception Notification + Issue Date + Date + Date. Type + Exception Notification Date + + + + + + + + + BBIE + Exception Notification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Exception Notification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Exception Notification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Exception Notification + Note + Text + Text. Type + + + + + + + + + ASBIE + Exception Notification. Exception Observation_ Period. Period + The period of time during which the exceptions are observed. + 1 + Exception Notification + Exception Observation + Period + Period + Period + + + + + + + + + ASBIE + Exception Notification. Document Reference + A reference to another document associated with this document. + 0..n + Exception Notification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Exception Notification. Signature + A signature applied to this document. + 0..n + Exception Notification + Signature + Signature + Signature + + + + + + + + + ASBIE + Exception Notification. Sender_ Party. Party + The party sending this document. + 1 + Exception Notification + Sender + Party + Party + Party + + + + + + + + + ASBIE + Exception Notification. Receiver_ Party. Party + The party receiving this document. + 1 + Exception Notification + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Exception Notification. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Exception Notification + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Exception Notification. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Exception Notification + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Exception Notification. Exception Notification Line + A line in the Exception Notification. + 1..n + Exception Notification + Exception Notification Line + Exception Notification Line + Exception Notification Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Forecast-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Forecast-2.1.xsd new file mode 100644 index 0000000..9b983af --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Forecast-2.1.xsd @@ -0,0 +1,454 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Forecast. Details + A document used to forecast sales or orders. + Forecast + Forecast + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Forecast. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Forecast + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Forecast. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Forecast + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Forecast. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Forecast + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Forecast. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Forecast + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Forecast. Identifier + An identifier for this document, assigned by the sender. + 1 + Forecast + Identifier + Identifier + Identifier. Type + Forecast Number + + + + + + + + + BBIE + Forecast. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Forecast + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Forecast + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Forecast + Issue Date + Date + Date. Type + Forecast Date + + + + + + + + + BBIE + Forecast. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Forecast + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Forecast + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast. Version. Identifier + Identifies the current version of this document. + 0..1 + Forecast + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast. Based On Consensus_ Indicator. Indicator + Indicates whether the Forecast is based on consensus (true) or not (false). + 0..1 + Forecast + Based On Consensus + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast. Forecast_ Purpose Code. Code + A code signifying the purpose of the Forecast document. + 1 + Forecast + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Forecast. Forecast_ Period. Period + The period to which the Forecast applies. + 1 + Forecast + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Forecast + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Forecast. Signature + A signature applied to this document. + 0..n + Forecast + Signature + Signature + Signature + + + + + + + + + ASBIE + Forecast. Sender_ Party. Party + The party sending this document. + 1 + Forecast + Sender + Party + Party + Party + + + + + + + + + ASBIE + Forecast. Receiver_ Party. Party + The party receiving this document. + 1 + Forecast + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Forecast. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Forecast + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Forecast. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Forecast + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Forecast. Forecast Line + A Forecast Line. + 1..n + Forecast + Forecast Line + Forecast Line + Forecast Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ForecastRevision-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ForecastRevision-2.1.xsd new file mode 100644 index 0000000..ab4eb34 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ForecastRevision-2.1.xsd @@ -0,0 +1,453 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Forecast Revision. Details + A document used to revise a Forecast. + Forecast Revision + Forecast Revision + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Forecast Revision. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Forecast Revision + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Forecast Revision. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Forecast Revision + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Forecast Revision. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Forecast Revision + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Forecast Revision. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Forecast Revision + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Forecast Revision. Identifier + An identifier for this document, assigned by the sender. + 1 + Forecast Revision + Identifier + Identifier + Identifier. Type + Forecast Revision Number + + + + + + + + + BBIE + Forecast Revision. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Forecast Revision + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast Revision. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Forecast Revision + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Forecast Revision + Issue Date + Date + Date. Type + Forecast Date + + + + + + + + + BBIE + Forecast Revision. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Forecast Revision + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Revision. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Forecast Revision + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast Revision. Sequence Number. Identifier + A sequence number, to ensure the proper sequencing of revisions. + 1 + Forecast Revision + Sequence Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision. Revision_ Status Code. Code + Indicates the revision status of this Forecast Revision. + 0..1 + Forecast Revision + Revision + Status Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Revision. Purpose Code. Code + Indicates the purpose of the revision. + 0..1 + Forecast Revision + Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Forecast Revision. Forecast_ Period. Period + The period to which the Forecast applies. + 1 + Forecast Revision + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast Revision. Original_ Document Reference. Document Reference + The Forecast document being revised. + 0..n + Forecast Revision + Original + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Forecast Revision. Signature + A signature applied to this document. + 0..n + Forecast Revision + Signature + Signature + Signature + + + + + + + + + ASBIE + Forecast Revision. Sender_ Party. Party + The party sending this document. + 1 + Forecast Revision + Sender + Party + Party + Party + + + + + + + + + ASBIE + Forecast Revision. Receiver_ Party. Party + The party receiving this document. + 1 + Forecast Revision + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Forecast Revision. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Forecast Revision + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Forecast Revision. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Forecast Revision + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Forecast Revision. Forecast Revision Line + A line that revises a line in the Forecast. + 1..n + Forecast Revision + Forecast Revision Line + Forecast Revision Line + Forecast Revision Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ForwardingInstructions-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ForwardingInstructions-2.1.xsd new file mode 100644 index 0000000..e2ca102 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ForwardingInstructions-2.1.xsd @@ -0,0 +1,517 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Forwarding Instructions. Details + A document issued to a forwarder, giving instructions regarding the action to be taken for the forwarding of goods described therein. Forwarding Instructions is used by any party who gives instructions for the transportation services required for a consignment of goods to any party who is contracted to provide the transportation services. The parties who issue this document are commonly referred to as the shipper or consignor, while the parties who receive this document are forwarders, carriers, shipping agents, etc. This document may also be issued by a forwarder or shipping agent in its capacity as a shipper. This document can be used to arrange for the transportation (1) of different types of goods or cargoes; (2) whether containerized or non-containerized; (3) through different modes of transport including multi-modal; and (4) from any origin to any destination. + Forwarding Instructions + Forwarding Instruction, Freight Forwarding Instruction, Shippers Letter of Instruction, Shipper's Letter of Instruction, Shipping Instruction + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Forwarding Instructions. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Forwarding Instructions + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Forwarding Instructions. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Forwarding Instructions + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Forwarding Instructions. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Forwarding Instructions + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Forwarding Instructions. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Forwarding Instructions + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Forwarding Instructions. Identifier + An identifier for this document, assigned by the sender. + 1 + Forwarding Instructions + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. Carrier Assigned_ Identifier. Identifier + Reference number assigned by a carrier or its agent to identify a specific shipment, such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Forwarding Instructions + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Forwarding Instructions + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Forwarding Instructions + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Forwarding Instructions. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Forwarding Instructions + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forwarding Instructions. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Forwarding Instructions + Name + Name + Name. Type + + + + + + + + + BBIE + Forwarding Instructions. Description. Text + Textual description of the document instance. + 0..n + Forwarding Instructions + Description + Text + Text. Type + + + + + + + + + BBIE + Forwarding Instructions. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Forwarding Instructions + Note + Text + Text. Type + + + + + + + + + BBIE + Forwarding Instructions. Document Status Code. Code + A code signifying the status of the Forwarding Instructions with respect to its original state. This code may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancellation or revision. + 0..1 + Forwarding Instructions + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Forwarding Instructions. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order. + 0..1 + Forwarding Instructions + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. To Order_ Indicator. Indicator + Indicates whether the transport document is consigned to order. + 0..1 + Forwarding Instructions + To Order + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forwarding Instructions. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Forwarding Instructions + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forwarding Instructions. Declared Carriage_ Value. Amount + Value declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage in case of loss or damage to goods or delayed delivery. + 0..1 + Forwarding Instructions + Declared Carriage + Value + Amount + Amount. Type + + + + + + + + + BBIE + Forwarding Instructions. Other_ Instruction. Text + Contains other free-text instructions to the forwarders or carriers related to the shipment. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Forwarding Instructions + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Forwarding Instructions. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Forwarding Instructions + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Forwarding Instructions. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Forwarding Instructions + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Forwarding Instructions. Freight Forwarder_ Party. Party + A party combining individual smaller consignments into a single larger shipment (a so-called consolidated consignment or shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Forwarding Instructions + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Forwarding Instructions. Shipment + An identifiable collection of one or more goods items to be transported between the seller party and the buyer party. + 1 + Forwarding Instructions + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Forwarding Instructions. Document Reference + A reference to another document associated with this document. + 0..n + Forwarding Instructions + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Forwarding Instructions. Exchange Rate + Information about the rate of exchange (conversion) between two currencies. + 0..n + Forwarding Instructions + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Forwarding Instructions. Signature + A signature applied to this document. + 0..n + Forwarding Instructions + Signature + Signature + Signature + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-FreightInvoice-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-FreightInvoice-2.1.xsd new file mode 100644 index 0000000..7b642d1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-FreightInvoice-2.1.xsd @@ -0,0 +1,867 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Freight Invoice. Details + A document stating the charges incurred for a logistics service. + Freight Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Freight Invoice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Freight Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Freight Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Freight Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Freight Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Freight Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Freight Invoice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Freight Invoice + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Freight Invoice. Identifier + An identifier for this document, assigned by the sender. + 1 + Freight Invoice + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Freight Invoice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Freight Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Freight Invoice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Freight Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Freight Invoice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Freight Invoice + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Freight Invoice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Freight Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Freight Invoice. Invoice Type Code. Code + A code signifying the type of the Freight Invoice. + 0..1 + Freight Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Freight Invoice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Freight Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Freight Invoice. Tax Point Date. Date + The date of the Freight Invoice, used to indicate the point at which tax becomes applicable. + 0..1 + Freight Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Freight Invoice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Freight Invoice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Freight Invoice. + 0..1 + Freight Invoice + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Freight Invoice. + 0..1 + Freight Invoice + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Freight Invoice. + 0..1 + Freight Invoice + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Freight Invoice. + 0..1 + Freight Invoice + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Accounting Cost Code. Code + The buyer's accounting code, applied to the Freight Invoice as a whole. + 0..1 + Freight Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Freight Invoice. Accounting Cost. Text + The buyer's accounting cost centre, applied to the Freight Invoice as a whole, expressed as text. + 0..1 + Freight Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Freight Invoice. Line Count. Numeric + The number of Invoice Lines in the document. + 0..1 + Freight Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Freight Invoice. Invoice_ Period. Period + The time periods to which the Freight Invoice applies. + 0..n + Freight Invoice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Freight Invoice. Shipment + Details about one or more shipments covered by this Freight Invoice. + 1..n + Freight Invoice + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Freight Invoice. Order Reference + Reference to an Order associated with this Freight Invoice. + 0..1 + Freight Invoice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Freight Invoice. Billing Reference + A reference to a billing document associated with this document. + 0..n + Freight Invoice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Freight Invoice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Freight Invoice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Freight Invoice + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Freight Invoice + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Freight Invoice + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Freight Invoice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Signature + A signature applied to this document. + 0..n + Freight Invoice + Signature + Signature + Signature + + + + + + + + + ASBIE + Freight Invoice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Freight Invoice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Freight Invoice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Freight Invoice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Freight Invoice. Payee_ Party. Party + The payee. + 0..1 + Freight Invoice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Freight Invoice. Tax Representative_ Party. Party + The tax representative. + 0..1 + Freight Invoice + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Freight Invoice. Payment Means + Expected means of payment. + 0..n + Freight Invoice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Freight Invoice. Payment Terms + A set of payment terms associated with this document. + 0..n + Freight Invoice + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Freight Invoice. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Freight Invoice + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Freight Invoice. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Freight Invoice + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Freight Invoice. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Freight Invoice + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Freight Invoice + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Freight Invoice + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Freight Invoice + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Tax Total + The total amount of a specific type of tax. + 0..n + Freight Invoice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Freight Invoice. Legal_ Monetary Total. Monetary Total + The total amount payable on the Freight Invoice, including Allowances, Charges, and Taxes. + 1 + Freight Invoice + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Freight Invoice. Invoice Line + An Invoice Line. + 1..n + Freight Invoice + Invoice Line + Invoice Line + Invoice Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-FulfilmentCancellation-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-FulfilmentCancellation-2.1.xsd new file mode 100644 index 0000000..4693f4a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-FulfilmentCancellation-2.1.xsd @@ -0,0 +1,471 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Fulfilment Cancellation. Details + A document used to cancel an entire fulfilment document (Despatch Advice or Receipt Advice). + Fulfilment Cancellation + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Fulfilment Cancellation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Fulfilment Cancellation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Fulfilment Cancellation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Fulfilment Cancellation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Fulfilment Cancellation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Fulfilment Cancellation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Fulfilment Cancellation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Fulfilment Cancellation + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Identifier + An identifier for this document, assigned by the sender. + 1 + Fulfilment Cancellation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Fulfilment Cancellation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Fulfilment Cancellation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Fulfilment Cancellation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Fulfilment Cancellation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Fulfilment Cancellation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Fulfilment Cancellation + Note + Text + Text. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Cancellation_ Note. Text + The reason for cancellation of the referenced document. + 1..n + Fulfilment Cancellation + Cancellation + Note + Text + Text. Type + + + + + + + + + ASBIE + Fulfilment Cancellation. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Fulfilment Cancellation + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Fulfilment Cancellation + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Order Reference + A reference to an Order document associated with the referenced Despatch or Receipt Advice(s). + 0..n + Fulfilment Cancellation + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Fulfilment Cancellation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Contract + The contracts or framework agreements with which the referenced fulfilment document is associated. + 0..n + Fulfilment Cancellation + Contract + Contract + Contract + + + + + + + + + ASBIE + Fulfilment Cancellation. Signature + A signature applied to this document. + 0..n + Fulfilment Cancellation + Signature + Signature + Signature + + + + + + + + + ASBIE + Fulfilment Cancellation. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Fulfilment Cancellation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Fulfilment Cancellation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Delivery_ Customer Party. Customer Party + The delivery party. + 0..1 + Fulfilment Cancellation + Delivery + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Despatch_ Supplier Party. Supplier Party + The despatch party. + 0..1 + Fulfilment Cancellation + Despatch + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Originator_ Customer Party. Customer Party + The originator party + 0..1 + Fulfilment Cancellation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-GoodsItemItinerary-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-GoodsItemItinerary-2.1.xsd new file mode 100644 index 0000000..06cfe4e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-GoodsItemItinerary-2.1.xsd @@ -0,0 +1,431 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Goods Item Itinerary. Details + A document providing details relating to a transport service, such as transport movement, identification of equipment and goods, subcontracted service providers, etc. + Goods Item Itinerary + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Goods Item Itinerary. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Goods Item Itinerary + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Goods Item Itinerary + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Goods Item Itinerary + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Goods Item Itinerary + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Identifier + An identifier for this document, assigned by the sender. + 1 + Goods Item Itinerary + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Goods Item Itinerary + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Goods Item Itinerary. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Goods Item Itinerary + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Goods Item Itinerary + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Goods Item Itinerary. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Goods Item Itinerary + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Goods Item Itinerary. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Goods Item Itinerary + Note + Text + Text. Type + + + + + + + + + BBIE + Goods Item Itinerary. Version. Identifier + Identifies a version of a Goods Item Itinerary in order to distinguish updates. + 1 + Goods Item Itinerary + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Transport Execution Plan Reference. Identifier + The Transport Execution Plan associated with this Goods Item Itinerary. + 1 + Goods Item Itinerary + Transport Execution Plan Reference + Identifier + Identifier. Type + + + + + + + + + ASBIE + Goods Item Itinerary. Signature + A signature applied to this document. + 0..n + Goods Item Itinerary + Signature + Signature + Signature + + + + + + + + + ASBIE + Goods Item Itinerary. Sender_ Party. Party + The sender of this Goods Item Itinerary. + 0..1 + Goods Item Itinerary + Sender + Party + Party + Party + + + + + + + + + ASBIE + Goods Item Itinerary. Receiver_ Party. Party + The receiver of this Goods Item Itinerary. + 0..1 + Goods Item Itinerary + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Consignment. Consignment + A consignment being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Transport Equipment. Transport Equipment + Transport equipment being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Package. Package + A package being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Package + Package + Package + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Goods Item. Goods Item + An item of goods being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Goods Item Itinerary. Transportation Segment + A part of a transport service that has its own Transport Execution Plan. A Transportation Segment may cover services other than transport, such as terminal handling, document management, customs procedures, etc. + 1..n + Goods Item Itinerary + Transportation Segment + Transportation Segment + Transportation Segment + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-GuaranteeCertificate-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-GuaranteeCertificate-2.1.xsd new file mode 100644 index 0000000..86bf80b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-GuaranteeCertificate-2.1.xsd @@ -0,0 +1,481 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Guarantee Certificate. Details + A document to notify the deposit of a bid bond guarantee. + Guarantee Certificate + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Guarantee Certificate. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Guarantee Certificate + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Guarantee Certificate. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Guarantee Certificate + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Guarantee Certificate. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Guarantee Certificate + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Guarantee Certificate. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Guarantee Certificate + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Guarantee Certificate. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Guarantee Certificate + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Guarantee Certificate. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Guarantee Certificate + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Guarantee Certificate. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Guarantee Certificate + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Guarantee Certificate. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Guarantee Certificate + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Guarantee Certificate. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Guarantee Certificate + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Guarantee Certificate. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Guarantee Certificate + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Guarantee Certificate. Guarantee Type Code. Code + A code signifying the type of the guarantee. + 0..1 + Guarantee Certificate + Guarantee Type Code + Code + Code. Type + + + + + + + + + BBIE + Guarantee Certificate. Purpose. Text + A textual description of the purpose of the bid bond guarantee. + 0..n + Guarantee Certificate + Purpose + Text + Text. Type + + + + + + + + + BBIE + Guarantee Certificate. Liability. Amount + The liability amount (a monetary value) in the bid bond guarantee. + 1 + Guarantee Certificate + Liability + Amount + Amount. Type + + + + + + + + + BBIE + Guarantee Certificate. Constitution Code. Code + The code stating the constitution means of the guarantee. + 0..1 + Guarantee Certificate + Constitution Code + Code + Code. Type + + + + + + + + + BBIE + Guarantee Certificate. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Guarantee Certificate + Note + Text + Text. Type + + + + + + + + + ASBIE + Guarantee Certificate. Applicable_ Period. Period + The specified period in the tendering process for which this bid bond guarantee is effective + 0..1 + Guarantee Certificate + Applicable + Period + Period + Period + + + + + + + + + ASBIE + Guarantee Certificate. Applicable_ Regulation. Regulation + A reference to an applicable regulation. + 0..n + Guarantee Certificate + Applicable + Regulation + Regulation + Regulation + + + + + + + + + ASBIE + Guarantee Certificate. Guarantee_ Document Reference. Document Reference + A reference to a legal document. + 0..n + Guarantee Certificate + Guarantee + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Guarantee Certificate. Immobilized Security + Details of an immobilized security. + 0..n + Guarantee Certificate + Immobilized Security + Immobilized Security + Immobilized Security + + + + + + + + + ASBIE + Guarantee Certificate. Signature + A signature applied to this document. + 1..n + Guarantee Certificate + Signature + Signature + Signature + + + + + + + + + ASBIE + Guarantee Certificate. Guarantor_ Party. Party + The guarantee creditor organization that has the authority to charge bid bond guarantee credit. + 1 + Guarantee Certificate + Guarantor + Party + Party + Party + + + + + + + + + ASBIE + Guarantee Certificate. Interested_ Party. Party + The party depositing the bid bond guarantee. + 1 + Guarantee Certificate + Interested + Party + Party + Party + + + + + + + + + ASBIE + Guarantee Certificate. Beneficiary_ Party. Party + The beneficiary of the bid bond guarantee. + 0..1 + Guarantee Certificate + Beneficiary + Party + Party + Party + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-InstructionForReturns-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-InstructionForReturns-2.1.xsd new file mode 100644 index 0000000..20f2f27 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-InstructionForReturns-2.1.xsd @@ -0,0 +1,383 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Instruction For Returns. Details + A document used to initiate a return of goods. The producer is requesting the return of products that are not selling well, either to use in other places or to free up rack or shelf space. + Instruction For Returns + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Instruction For Returns. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Instruction For Returns + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Instruction For Returns. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Instruction For Returns + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Instruction For Returns. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Instruction For Returns + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Instruction For Returns. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Instruction For Returns + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Instruction For Returns. Identifier + An identifier for this document, assigned by the sender. + 1 + Instruction For Returns + Identifier + Identifier + Identifier. Type + Document Number, Instruction for Returns Number + + + + + + + + + BBIE + Instruction For Returns. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Instruction For Returns + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Instruction For Returns. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Instruction For Returns + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Instruction For Returns. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Instruction For Returns + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Instruction For Returns. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Instruction For Returns + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Instruction For Returns. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Instruction For Returns + Note + Text + Text. Type + + + + + + + + + ASBIE + Instruction For Returns. Document Reference + A reference to another document associated with this document. + 0..n + Instruction For Returns + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Instruction For Returns. Signature + A signature applied to this document. + 0..n + Instruction For Returns + Signature + Signature + Signature + + + + + + + + + ASBIE + Instruction For Returns. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Instruction For Returns + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Instruction For Returns. Retailer_ Customer Party. Customer Party + The retailer. + 1 + Instruction For Returns + Retailer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Instruction For Returns. Manufacturer_ Party. Party + The manufacturer. + 0..1 + Instruction For Returns + Manufacturer + Party + Party + Party + + + + + + + + + ASBIE + Instruction For Returns. Shipment + The shipment. + 0..1 + Instruction For Returns + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Instruction For Returns. Instruction For Returns Line + A line providing details about one type of article to be returned. + 1..n + Instruction For Returns + Instruction For Returns Line + Instruction For Returns Line + Instruction For Returns Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-InventoryReport-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-InventoryReport-2.1.xsd new file mode 100644 index 0000000..6319a59 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-InventoryReport-2.1.xsd @@ -0,0 +1,401 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Inventory Report. Details + A report on the quantities of each item that are, or will be, in stock. This document is sent by a Buyer (for example a retailer) to a Seller (for example a producer). + Inventory Report + Storage status report. + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Inventory Report. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Inventory Report + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Inventory Report. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Inventory Report + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Inventory Report. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Inventory Report + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Inventory Report. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Inventory Report + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Inventory Report. Identifier + An identifier for the Inventory Report, assigned by the Issuer. + 1 + Inventory Report + Identifier + Identifier + Identifier. Type + Document Number, Inventory Report Number + + + + + + + + + BBIE + Inventory Report. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Inventory Report + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Inventory Report. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Inventory Report + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Inventory Report. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Inventory Report + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Inventory Report. Issue Time. Time + The time at which the Inventory Report was issued. + 0..1 + Inventory Report + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Inventory Report. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Inventory Report + Note + Text + Text. Type + + + + + + + + + BBIE + Inventory Report. Document_ Currency Code. Code + A code signifying the currency in which the Document is presented. This may be the same currency as the pricing or as the tax. + 0..1 + Inventory Report + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Inventory Report. Inventory_ Period. Period + The period covered by this report. + 0..1 + Inventory Report + Inventory + Period + Period + Period + + + + + + + + + ASBIE + Inventory Report. Document Reference + A reference to another document associated with this document. + 0..n + Inventory Report + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Inventory Report. Signature + A signature applied to this document. + 0..n + Inventory Report + Signature + Signature + Signature + + + + + + + + + ASBIE + Inventory Report. Retailer_ Customer Party. Customer Party + The retailer, who sends this message. + 1 + Inventory Report + Retailer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Inventory Report. Inventory Reporting_ Party. Party + An association to the Party that will really use the Inventory report (normally the branch for which the stock is reported). + 1 + Inventory Report + Inventory Reporting + Party + Party + Party + + + + + + + + + ASBIE + Inventory Report. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Inventory Report + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Inventory Report. Inventory Report Line + A line representing a particular item of sale and associated with a line in the Catalogue. + 1..n + Inventory Report + Inventory Report Line + Inventory Report Line + Inventory Report Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Invoice-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Invoice-2.1.xsd new file mode 100644 index 0000000..931c0fa --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Invoice-2.1.xsd @@ -0,0 +1,1002 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Invoice. Details + A document used to request payment. + Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Invoice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Invoice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Invoice + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Invoice. Identifier + An identifier for this document, assigned by the sender. + 1 + Invoice + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Invoice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Invoice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Invoice + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Invoice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Invoice. Due Date. Date + The date on which Invoice is due. + 0..1 + Invoice + Due Date + Date + Date. Type + + + + + + + + + BBIE + Invoice. Invoice Type Code. Code + A code signifying the type of the Invoice. + 0..1 + Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Invoice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Invoice. Tax Point Date. Date + The date of the Invoice, used to indicate the point at which tax becomes applicable. + 0..1 + Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Invoice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Invoice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Invoice. + 0..1 + Invoice + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Invoice. + 0..1 + Invoice + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Invoice. + 0..1 + Invoice + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Invoice. + 0..1 + Invoice + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Accounting Cost Code. Code + The buyer's accounting code, applied to the Invoice as a whole. + 0..1 + Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Invoice. Accounting Cost. Text + The buyer's accounting code, applied to the Invoice as a whole, expressed as text. + 0..1 + Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Invoice. Line Count. Numeric + The number of lines in the document. + 0..1 + Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Invoice. Buyer_ Reference. Text + A reference provided by the buyer used for internal routing of the document. + 0..1 + Invoice + Buyer + Reference + Text + Text. Type + + + + + + + + + ASBIE + Invoice. Invoice_ Period. Period + A period to which the Invoice applies. + 0..n + Invoice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Invoice. Order Reference + A reference to the Order with which this Invoice is associated. + 0..1 + Invoice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Invoice. Billing Reference + A reference to a billing document associated with this document. + 0..n + Invoice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Invoice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Invoice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Invoice + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Invoice + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Invoice + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Invoice + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Invoice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Project Reference + Information about a project. + 0..n + Invoice + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Invoice. Signature + A signature applied to this document. + 0..n + Invoice + Signature + Signature + Signature + + + + + + + + + ASBIE + Invoice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Invoice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Invoice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Invoice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Invoice. Payee_ Party. Party + The payee. + 0..1 + Invoice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Invoice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Invoice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Invoice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Invoice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Invoice. Tax Representative_ Party. Party + The tax representative. + 0..1 + Invoice + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Invoice. Delivery + A delivery associated with this document. + 0..n + Invoice + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Invoice. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Invoice + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Invoice. Payment Means + Expected means of payment. + 0..n + Invoice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Invoice. Payment Terms + A set of payment terms associated with this document. + 0..n + Invoice + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Invoice. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Invoice + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Invoice. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Invoice + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Invoice. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Invoice + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Invoice + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Invoice + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Invoice + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Tax Total + The total amount of a specific type of tax. + 0..n + Invoice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice. Withholding_ Tax Total. Tax Total + The total withholding tax. + 0..n + Invoice + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice. Legal_ Monetary Total. Monetary Total + The total amount payable on the Invoice, including Allowances, Charges, and Taxes. + 1 + Invoice + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Invoice. Invoice Line + A line describing an invoice item. + 1..n + Invoice + Invoice Line + Invoice Line + Invoice Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ItemInformationRequest-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ItemInformationRequest-2.1.xsd new file mode 100644 index 0000000..af26453 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ItemInformationRequest-2.1.xsd @@ -0,0 +1,402 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Item Information Request. Details + A document used to request product activity, forecast, or performance data. + Item Information Request + Item Information Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Item Information Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Item Information Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Item Information Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Item Information Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Item Information Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Item Information Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Item Information Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Item Information Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Item Information Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Item Information Request + Identifier + Identifier + Identifier. Type + Item Information Request Number + + + + + + + + + BBIE + Item Information Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Item Information Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Item Information Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Item Information Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Information Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Item Information Request + Issue Date + Date + Date. Type + Item Information Request Date + + + + + + + + + BBIE + Item Information Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Item Information Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Item Information Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Item Information Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Item Information Request. Period + The period of time to which the Item Information Request applies. + 1 + Item Information Request + Period + Period + Period + + + + + + + + + ASBIE + Item Information Request. Document Reference + A reference to another document associated with this document. + 0..n + Item Information Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Item Information Request. Signature + A signature applied to this document. + 0..n + Item Information Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Item Information Request. Sender_ Party. Party + The buyer. + 1 + Item Information Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Item Information Request. Receiver_ Party. Party + The seller. + 1 + Item Information Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Item Information Request. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Item Information Request + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Item Information Request. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Item Information Request + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Item Information Request. Item Information Request Line + A line requesting information regarding an item of sale. + 1..n + Item Information Request + Item Information Request Line + Item Information Request Line + Item Information Request Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Order-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Order-2.1.xsd new file mode 100644 index 0000000..197b993 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Order-2.1.xsd @@ -0,0 +1,891 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order. Details + A document used to order goods and services. + Order + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Order. Identifier + An identifier for this document, assigned by the sender. + 1 + Order + Identifier + Identifier + Identifier. Type + Purchase Order Number, Order Number + + + + + + + + + BBIE + Order. Sales_ Order Identifier. Identifier + An identifier for the Order, assigned by the seller. + 0..1 + Order + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order + Issue Date + Date + Date. Type + Order Date + + + + + + + + + BBIE + Order. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order. Order Type Code. Code + A code signifying the type of Order. + 0..1 + Order + Order Type Code + Code + Code. Type + + + + + + + + + BBIE + Order. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order + Note + Text + Text. Type + + + + + + + + + BBIE + Order. Requested Invoice_ Currency Code. Code + A code signifying the currency requested for amount totals in Invoices related to this Order. + 0..1 + Order + Requested Invoice + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Order + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Pricing_ Currency Code. Code + A code signifying the currency used for all prices in the Order. + 0..1 + Order + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Tax_ Currency Code. Code + A code signifying the currency requested for tax amounts in Invoices related to this Order. + 0..1 + Order + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Customer_ Reference. Text + A supplementary reference for the Order. + 0..1 + Order + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order. Accounting Cost Code. Code + The buyer's accounting code, applied to the Order as a whole. + 0..1 + Order + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order. Accounting Cost. Text + The buyer's accounting cost centre, applied to the Order as a whole, expressed as text. + 0..1 + Order + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order. Line Count. Numeric + The number of Order Lines in the document. + 0..1 + Order + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order. Validity_ Period. Period + The period for which the Order is valid. + 0..n + Order + Validity + Period + Period + Period + + + + + + + + + ASBIE + Order. Quotation_ Document Reference. Document Reference + A reference to a Quotation. + 0..1 + Order + Quotation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Order_ Document Reference. Document Reference + A reference to another Order. + 0..n + Order + Order + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Catalogue Reference + A reference to the Catalogue on which this Order is based. + 0..1 + Order + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Order. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Contract + A contracts associated with this Order. + 0..n + Order + Contract + Contract + Contract + + + + + + + + + ASBIE + Order. Project Reference + A project with which this Order is associated. + 0..n + Order + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Order. Signature + A signature applied to this document. + 0..n + Order + Signature + Signature + Signature + + + + + + + + + ASBIE + Order. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Freight Forwarder_ Party. Party + A freight forwarder or carrier. + 0..1 + Order + Freight Forwarder + Party + Party + Party + Carrier + + + + + + + + + ASBIE + Order. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Delivery + A delivery associated with this document. + 0..n + Order + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Order. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Order + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order. Payment Means + Expected means of payment. + 0..n + Order + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Order. Payment Terms + A set of payment terms associated with this document. + 0..n + Order + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Order. Transaction Conditions + A specification of purchasing or sales conditions applying to the whole Order. + 0..1 + Order + Transaction Conditions + Transaction Conditions + Transaction Conditions + Sales condition, procurement condition + + + + + + + + + ASBIE + Order. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Order + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Order + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Order + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Order + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order. Destination_ Country. Country + The country of destination (for customs purposes). + 0..1 + Order + Destination + Country + Country + Country + + + + + + + + + ASBIE + Order. Tax Total + The total amount of a specific type of tax. + 0..n + Order + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Order. Anticipated_ Monetary Total. Monetary Total + The total amount for the Order anticipated by the buyer. + 0..1 + Order + Anticipated + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order. Order Line + A line associated with a line in the Catalogue and specifying a kind of item being ordered. + 1..n + Order + Order Line + Order Line + Order Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderCancellation-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderCancellation-2.1.xsd new file mode 100644 index 0000000..6f6d03f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderCancellation-2.1.xsd @@ -0,0 +1,416 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Cancellation. Details + A document used to cancel an entire Order. + Order Cancellation + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Cancellation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Cancellation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Cancellation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Cancellation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Cancellation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Cancellation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Cancellation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Cancellation + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Identifier + An identifier for this document, assigned by the sender. + 1 + Order Cancellation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Cancellation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Cancellation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Cancellation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Cancellation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Cancellation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Cancellation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Cancellation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Cancellation + Note + Text + Text. Type + + + + + + + + + BBIE + Order Cancellation. Cancellation_ Note. Text + The general reason for cancellation of the referenced order. + 1..n + Order Cancellation + Cancellation + Note + Text + Text. Type + + + + + + + + + ASBIE + Order Cancellation. Order Reference + A reference to the Order being cancelled. While multiple references are allowed, it is considered better practice to cancel only one Order in each Order Cancellation document. + 1..n + Order Cancellation + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Cancellation. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order Cancellation + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Cancellation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Cancellation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Cancellation. Contract + A contract associated with the original Order(s). + 0..n + Order Cancellation + Contract + Contract + Contract + + + + + + + + + ASBIE + Order Cancellation. Signature + A signature applied to this document. + 0..n + Order Cancellation + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Cancellation. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Cancellation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Cancellation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Cancellation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Cancellation. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Cancellation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderChange-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderChange-2.1.xsd new file mode 100644 index 0000000..b568bec --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderChange-2.1.xsd @@ -0,0 +1,869 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Change. Details + A document used to specify changes to an existing Order. + Order Change + Purchase Order Change + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Change. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Change + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Change. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Change + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Change. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Change + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Change. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Change + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Order Change. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Order Change + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Sales_ Order Identifier. Identifier + An identifier for the Order Change, assigned by the seller. + 0..1 + Order Change + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Change + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Change. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Change + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Change + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Change. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Change + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Change. Sequence Number. Identifier + The Order Change Sequence Number assigned by the Buyer to ensure the proper sequencing of changes. + 1 + Order Change + Sequence Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Change + Note + Text + Text. Type + + + + + + + + + BBIE + Order Change. Requested Invoice_ Currency Code. Code + A code signifying he currency requested for amount totals in Invoices related to this Order Change. + 0..1 + Order Change + Requested Invoice + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Order Change + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Pricing_ Currency Code. Code + A code signifying the currency that is used for all prices in the Order Change. + 0..1 + Order Change + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Tax_ Currency Code. Code + A code signifying the currency requested for tax amounts in Invoices related to this Order Change. + 0..1 + Order Change + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Customer_ Reference. Text + A supplementary reference for the transaction (e.g., CRI when using purchasing card). + 0..1 + Order Change + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Change. Accounting Cost Code. Code + The buyer's accounting code, applied to the Order Change as a whole. + 0..1 + Order Change + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Change. Accounting Cost. Text + The buyer's accounting code, applied to the Order Change as a whole, expressed as text. + 0..1 + Order Change + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order Change. Line Count. Numeric + The number of Order Change lines in the document. + 0..1 + Order Change + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order Change. Validity_ Period. Period + A period during which the Order Change is valid. + 0..n + Order Change + Validity + Period + Period + Period + + + + + + + + + ASBIE + Order Change. Order Reference + A reference to the Order being changed. + 1 + Order Change + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Change. Quotation_ Document Reference. Document Reference + A reference to a Quotation. + 0..1 + Order Change + Quotation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order Change + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Change + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Contract + A contract associated with the Order being changed. + 0..n + Order Change + Contract + Contract + Contract + + + + + + + + + ASBIE + Order Change. Signature + A signature applied to this document. + 0..n + Order Change + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Change. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Change + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Change + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Change. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Change + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Freight Forwarder_ Party. Party + A freight forwarder or carrier. + 0..1 + Order Change + Freight Forwarder + Party + Party + Party + + + + + + + + + ASBIE + Order Change. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order Change + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 0..1 + Order Change + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Change. Delivery + A delivery associated with this document. + 0..n + Order Change + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Order Change. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Order Change + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order Change. Payment Means + Expected means of payment. + 0..n + Order Change + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Order Change. Payment Terms + A set of payment terms associated with this document. + 0..n + Order Change + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Order Change. Transaction Conditions + Purchasing, sales, or payment conditions applying to the whole Order being changed. + 0..1 + Order Change + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Order Change. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Order Change + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order Change. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Order Change + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Change. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Order Change + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Change. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Order Change + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Change. Destination_ Country. Country + The country of destination (for customs purposes). + 0..1 + Order Change + Destination + Country + Country + Country + + + + + + + + + ASBIE + Order Change. Tax Total + The total amount of a specific type of tax. + 0..n + Order Change + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Order Change. Anticipated_ Monetary Total. Monetary Total + The amount of change to the total cost of the order anticipated by the buyer. + 0..1 + Order Change + Anticipated + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order Change. Order Line + An association to one or more (changed) Order Lines. + 1..n + Order Change + Order Line + Order Line + Order Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderResponse-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderResponse-2.1.xsd new file mode 100644 index 0000000..379f637 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderResponse-2.1.xsd @@ -0,0 +1,956 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Response. Details + A document used to indicate detailed acceptance or rejection of an Order or to make a counter-offer. + Order Response + Order Acknowledgement, PO Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL. + 0..1 + Order Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Order Response. Identifier + An identifier for this document, assigned by the sender. + 1 + Order Response + Identifier + Identifier + Identifier. Type + Purchase Order Response Number, Acknowledgement of Order Number + + + + + + + + + BBIE + Order Response. Sales_ Order Identifier. Identifier + An identifier for the Order, issued by the Seller. + 0..1 + Order Response + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Response. Order Response Code. Code + A code signifying the type of response for this Order. + 0..1 + Order Response + Order Response Code + Code + Code. Type + + + + + + + + + BBIE + Order Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Response + Note + Text + Text. Type + + + + + + + + + BBIE + Order Response. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Order Response + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Pricing_ Currency Code. Code + A code signifying the currency that is used for all prices in the Order Response. + 0..1 + Order Response + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Tax_ Currency Code. Code + A code signifying the currency that is used for all tax amounts in the Order Response. + 0..1 + Order Response + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Total_ Packages Quantity. Quantity + The total number of packages contained in the Order Response. + 0..1 + Order Response + Total + Packages Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Order Response. Gross_ Weight. Measure + The total gross weight for the Order Response (goods + packaging + transport equipment). + 0..1 + Order Response + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net_ Weight. Measure + The total net weight for the Order Response (goods + packaging). + 0..1 + Order Response + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net Net_ Weight. Measure + The total net weight of the goods in the Order Response excluding packaging. + 0..1 + Order Response + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Gross_ Volume. Measure + The total volume of the goods in the Order Response including packaging. + 0..1 + Order Response + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net_ Volume. Measure + The total volume of the goods in the Order Response excluding packaging. + 0..1 + Order Response + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Customer_ Reference. Text + A supplementary reference assigned by the buyer, e.g., the CRI in a purchasing card transaction. + 0..1 + Order Response + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Response. Accounting Cost Code. Code + An accounting cost code applied to the order as a whole. + 0..1 + Order Response + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Response. Accounting Cost. Text + An accounting cost code applied to the order as a whole, expressed as text. + 0..1 + Order Response + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order Response. Line Count. Numeric + The number of Order Lines in this document. + 0..1 + Order Response + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order Response. Validity_ Period. Period + The period for which the Order Response is valid. + 0..n + Order Response + Validity + Period + Period + Period + + + + + + + + + ASBIE + Order Response. Order Reference + A reference to the Order being responded to. + 1..n + Order Response + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Response. Order_ Document Reference. Document Reference + A reference to an Order other than the one being responded to. + 0..n + Order Response + Order + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order Response + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Response + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Contract + A contract associated with the Order being responded to. + 0..n + Order Response + Contract + Contract + Contract + + + + + + + + + ASBIE + Order Response. Signature + A signature applied to this document. + 0..n + Order Response + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Response. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Response + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Response + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Response + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Freight Forwarder_ Party. Party + A freight forwarder or carrier. + 0..1 + Order Response + Freight Forwarder + Party + Party + Party + + + + + + + + + ASBIE + Order Response. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 0..1 + Order Response + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order Response + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Delivery + A delivery associated with this document. + 0..n + Order Response + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Order Response. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Order Response + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order Response. Payment Means + Expected means of payment. + 0..n + Order Response + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Order Response. Payment Terms + A set of payment terms associated with this document. + 0..n + Order Response + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Order Response. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Order Response + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order Response. Transaction Conditions + A specification of purchasing or sales conditions applying to the whole Order. + 0..1 + Order Response + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Order Response. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Order Response + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Response. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Order Response + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Response. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Order Response + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Response. Destination_ Country. Country + The country of destination (for customs purposes). + 0..1 + Order Response + Destination + Country + Country + Country + + + + + + + + + ASBIE + Order Response. Tax Total + The total amount of a specific type of tax, as calculated by the seller. + 0..n + Order Response + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Order Response. Legal_ Monetary Total. Monetary Total + The total amount of the Order (or counter-offer). + 0..1 + Order Response + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order Response. Order Line + A line associated with a line in the Catalogue and specifying a kind of item being ordered. + 0..n + Order Response + Order Line + Order Line + Order Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderResponseSimple-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderResponseSimple-2.1.xsd new file mode 100644 index 0000000..2bdc970 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-OrderResponseSimple-2.1.xsd @@ -0,0 +1,486 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Response Simple. Details + A document used to indicate simple acceptance or rejection of an entire Order. + Order Response Simple + Order Acknowledgement, PO Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Response Simple. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Response Simple + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Response Simple. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Response Simple + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Response Simple. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Response Simple + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Response Simple. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Response Simple + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response Simple. Identifier + An identifier for this document, assigned by the sender. + 1 + Order Response Simple + Identifier + Identifier + Identifier. Type + Purchase Order Response Number, Acknowledgement of Order Number + + + + + + + + + BBIE + Order Response Simple. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Response Simple + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response Simple. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Response Simple + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response Simple. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Response Simple + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Response Simple. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Response Simple + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Response Simple. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Response Simple + Note + Text + Text. Type + + + + + + + + + BBIE + Order Response Simple. Accepted_ Indicator. Indicator + Indicates whether the Order is accepted (true) or rejected (false). + 1 + Order Response Simple + Accepted + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response Simple. Rejection_ Note. Text + The reason for rejection if the order was not accepted. + 0..n + Order Response Simple + Rejection + Note + Text + Text. Type + Out of Stock , Not able to supply , Unable to fulfill within the contracted conditions , Buyer Account not Recognised + + + + + + + + + BBIE + Order Response Simple. Customer_ Reference. Text + A supplementary reference for the transaction (e.g., when using a purchasing card). + 0..1 + Order Response Simple + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Response Simple. Accounting Cost Code. Code + An accounting cost code applied to the order as a whole. + 0..1 + Order Response Simple + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Response Simple. Accounting Cost. Text + An accounting cost code applied to the order as a whole, expressed as text. + 0..1 + Order Response Simple + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Order Response Simple. Order Reference + A reference to the Order being responded to. + 1 + Order Response Simple + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Response Simple. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Response Simple + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response Simple. Signature + A signature applied to this document. + 0..n + Order Response Simple + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Response Simple. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Response Simple + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response Simple. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Response Simple + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response Simple. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Response Simple + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response Simple. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 0..1 + Order Response Simple + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response Simple. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order Response Simple + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-PackingList-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-PackingList-2.1.xsd new file mode 100644 index 0000000..1828095 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-PackingList-2.1.xsd @@ -0,0 +1,432 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Packing List. Details + A document describing how goods are packed. + Packing List + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Packing List. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Packing List + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Packing List. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Packing List + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Packing List. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Packing List + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Packing List. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Packing List + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Packing List. Identifier + An identifier for this document, assigned by the sender. + 1 + Packing List + Identifier + Identifier + Identifier. Type + Packing List Number + + + + + + + + + BBIE + Packing List. UUID. Identifier + A universally unique identifier for an instance of this document.. + 0..1 + Packing List + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Packing List. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Packing List + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Packing List. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Packing List + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Packing List. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Packing List + Name + Name + Name. Type + + + + + + + + + BBIE + Packing List. Description. Text + Textual description of the document instance. + 0..n + Packing List + Description + Text + Text. Type + + + + + + + + + BBIE + Packing List. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Packing List + Note + Text + Text. Type + + + + + + + + + BBIE + Packing List. Version. Identifier + Version identifier of a Packing List. + 0..1 + Packing List + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Packing List. Other_ Instruction. Text + Contains other free-text-based instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..1 + Packing List + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Packing List. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Packing List + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Packing List. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Packing List + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Packing List. Freight Forwarder_ Party. Party + The party combining individual smaller shipments into a single larger consignment (a so-called consolidated consignment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Packing List + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Packing List. Shipment + A description of the shipment. + 1 + Packing List + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Packing List. Document Reference + A reference to another document associated with this document. + 0..n + Packing List + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Packing List. Document Distribution + A list of interested parties to whom this document is distributed. + 0..n + Packing List + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Packing List. Signature + A signature applied to this document. + 0..n + Packing List + Signature + Signature + Signature + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-PriorInformationNotice-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-PriorInformationNotice-2.1.xsd new file mode 100644 index 0000000..3adf8c3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-PriorInformationNotice-2.1.xsd @@ -0,0 +1,441 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Prior Information Notice. Details + A document used by a contracting party to declare the intention to buy goods, services, or works during a specified period. + Prior Information Notice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Prior Information Notice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Prior Information Notice + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Prior Information Notice + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Prior Information Notice + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Prior Information Notice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Prior Information Notice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Prior Information Notice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Prior Information Notice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Prior Information Notice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Prior Information Notice + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Prior Information Notice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Prior Information Notice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Prior Information Notice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Prior Information Notice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Prior Information Notice + Note + Text + Text. Type + + + + + + + + + BBIE + Prior Information Notice. Planned Date. Date + The date planned by the Contracting Party for publication of the contract notice. + 0..1 + Prior Information Notice + Planned Date + Date + Date. Type + + + + + + + + + ASBIE + Prior Information Notice. Document Reference + A reference to another document associated with this document. + 0..n + Prior Information Notice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Prior Information Notice. Signature + A signature applied to this document. + 0..n + Prior Information Notice + Signature + Signature + Signature + + + + + + + + + ASBIE + Prior Information Notice. Contracting Party + The contracting party. + 1 + Prior Information Notice + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Prior Information Notice. Originator_ Customer Party. Customer Party + A party who originated the tendering process. + 0..n + Prior Information Notice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Prior Information Notice. Receiver_ Party. Party + The party receiving this document. + 0..1 + Prior Information Notice + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Prior Information Notice. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Prior Information Notice + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Prior Information Notice. Tendering Process + A description of the tendering process itself. + 0..1 + Prior Information Notice + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Prior Information Notice. Procurement Project + An overall definition of this procurement project. + 0..1 + Prior Information Notice + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Prior Information Notice. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Prior Information Notice + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ProductActivity-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ProductActivity-2.1.xsd new file mode 100644 index 0000000..92a5c57 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ProductActivity-2.1.xsd @@ -0,0 +1,387 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Product Activity. Details + A document reporting the movement of goods at specified retail locations for inventory tracking purposes. + Product Activity + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Product Activity. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Product Activity + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Product Activity. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Product Activity + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Product Activity. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Product Activity + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Product Activity. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Product Activity + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Product Activity. Identifier + An identifier for this document, assigned by the sender. + 1 + Product Activity + Identifier + Identifier + Identifier. Type + Product Acvtivity Number + + + + + + + + + BBIE + Product Activity. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Product Activity + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Product Activity. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Product Activity + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Product Activity. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Product Activity + Issue Date + Date + Date. Type + Activity Date + + + + + + + + + BBIE + Product Activity. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Product Activity + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Product Activity. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Product Activity + Note + Text + Text. Type + + + + + + + + + BBIE + Product Activity. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Product Activity + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Product Activity. Activity_ Period. Period + The period covered by this Product Activity report. + 1 + Product Activity + Activity + Period + Period + Period + + + + + + + + + ASBIE + Product Activity. Document Reference + A reference to another document associated with this document. + 0..n + Product Activity + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Product Activity. Signature + A signature applied to this document. + 0..n + Product Activity + Signature + Signature + Signature + + + + + + + + + ASBIE + Product Activity. Sender_ Party. Party + The sender of the Product Activity. + 1 + Product Activity + Sender + Party + Party + Party + + + + + + + + + ASBIE + Product Activity. Receiver_ Party. Party + The receiver of the Product Activity. + 1 + Product Activity + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Product Activity. Supply Chain_ Activity Data Line. Activity Data Line + A line describing the movement of goods to a specific location. + 1..n + Product Activity + Supply Chain + Activity Data Line + Activity Data Line + Activity Data Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Quotation-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Quotation-2.1.xsd new file mode 100644 index 0000000..4cebf29 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Quotation-2.1.xsd @@ -0,0 +1,583 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Quotation. Details + A document used to quote for the provision of goods and services. + Quotation + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Quotation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Quotation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Quotation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Quotation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Quotation. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Quotation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Quotation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Quotation + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Quotation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Quotation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Quotation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Quotation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Quotation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Quotation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Quotation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Quotation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Quotation + Note + Text + Text. Type + + + + + + + + + BBIE + Quotation. Pricing_ Currency Code. Code + A code signifying the currency used for all prices in the Quotation. + 0..1 + Quotation + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Quotation. Line Count. Numeric + The number of Quotation Lines in this document. + 0..1 + Quotation + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Quotation. Validity_ Period. Period + The period for which the Quotation is valid. + 0..1 + Quotation + Validity + Period + Period + Period + + + + + + + + + ASBIE + Quotation. Request For Quotation_ Document Reference. Document Reference + A reference to the Request for Quotation associated with this Quotation. + 0..1 + Quotation + Request For Quotation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Quotation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation. Contract + A contract associated with this Quotation. + 0..n + Quotation + Contract + Contract + Contract + + + + + + + + + ASBIE + Quotation. Signature + A signature applied to this document. + 0..n + Quotation + Signature + Signature + Signature + + + + + + + + + ASBIE + Quotation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Quotation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Quotation. Buyer_ Customer Party. Customer Party + Association to the Buyer. + 0..1 + Quotation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Quotation. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Quotation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Quotation. Delivery + A delivery associated with this document. + 0..n + Quotation + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Quotation. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Quotation + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Quotation. Payment Means + Expected means of payment. + 0..1 + Quotation + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Quotation. Transaction Conditions + A specification of purchasing, sales, or payment conditions applying to Orders related to this Quotation. + 0..1 + Quotation + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Quotation. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Quotation + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Quotation. Destination_ Country. Country + The country of destination of potential orders (for customs purposes). + 0..1 + Quotation + Destination + Country + Country + Country + + + + + + + + + ASBIE + Quotation. Tax Total + The total amount of a specific type of tax. + 0..n + Quotation + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Quotation. Quoted_ Monetary Total. Monetary Total + The total amount of the Quotation. + 1 + Quotation + Quoted + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Quotation. Quotation Line + A line quoting a cost for one kind of item. + 1..n + Quotation + Quotation Line + Quotation Line + Quotation Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ReceiptAdvice-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ReceiptAdvice-2.1.xsd new file mode 100644 index 0000000..1fddbb5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-ReceiptAdvice-2.1.xsd @@ -0,0 +1,485 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Receipt Advice. Details + A document used to describe the receipt of goods and services. + Receipt Advice + Receipt, Delivery Acknowledgement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Receipt Advice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Receipt Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Receipt Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Receipt Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Receipt Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Receipt Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Receipt Advice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Receipt Advice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Identifier + An identifier for this document, assigned by the sender. + 1 + Receipt Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Receipt Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Receipt Advice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Receipt Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Receipt Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Receipt Advice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Receipt Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Receipt Advice. Document Status Code. Code + A code signifying the status of the Receipt Advice with respect to its original state. This code may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancellation or revision. + 0..1 + Receipt Advice + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Receipt Advice. Receipt Advice Type Code. Code + A code signifying the type of the Receipt Advice. + 0..1 + Receipt Advice + Receipt Advice Type Code + Code + Receipt Advice Type + Receipt Advice Type_ Code. Type + + + + + + + + + BBIE + Receipt Advice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Receipt Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Receipt Advice. Line Count. Numeric + The number of Receipt Lines in this document. + 0..1 + Receipt Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Receipt Advice. Order Reference + A reference to an Order associated with this Receipt Advice. + 0..n + Receipt Advice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Receipt Advice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Receipt Advice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Advice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Receipt Advice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Advice. Signature + A signature applied to this document. + 0..n + Receipt Advice + Signature + Signature + Signature + + + + + + + + + ASBIE + Receipt Advice. Delivery_ Customer Party. Customer Party + The customer party. + 1 + Receipt Advice + Delivery + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Receipt Advice. Despatch_ Supplier Party. Supplier Party + The supplier party. + 1 + Receipt Advice + Despatch + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Receipt Advice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Receipt Advice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Receipt Advice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Receipt Advice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Receipt Advice. Shipment + Details about the Shipment. + 0..1 + Receipt Advice + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Receipt Advice. Receipt Line + A line detailing a kind of item received. + 1..n + Receipt Advice + Receipt Line + Receipt Line + Receipt Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Reminder-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Reminder-2.1.xsd new file mode 100644 index 0000000..8e160f6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Reminder-2.1.xsd @@ -0,0 +1,759 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Reminder. Details + A document used to remind a customer of payments past due. + Reminder + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Reminder. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Reminder + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Reminder. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Reminder + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Reminder. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Reminder + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Reminder. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Reminder + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Reminder. Identifier + An identifier for this document, assigned by the sender. + 1 + Reminder + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Reminder. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Reminder + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Reminder. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Reminder + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Reminder + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Reminder. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Reminder + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Reminder. Reminder Type Code. Code + A code signifying the type of the Reminder. + 0..1 + Reminder + Reminder Type Code + Code + Code. Type + + + + + + + + + BBIE + Reminder. Reminder Sequence. Numeric + The number of the current Reminder in the sequence of reminders relating to the specified payments; the number of reminders previously sent plus one. + 0..1 + Reminder + Reminder Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Reminder. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Reminder + Note + Text + Text. Type + + + + + + + + + BBIE + Reminder. Tax Point Date. Date + The date of the Reminder, used to indicate the point at which tax becomes applicable. + 0..1 + Reminder + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Reminder. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Reminder + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Reminder. + 0..1 + Reminder + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Reminder. + 0..1 + Reminder + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Reminder. + 0..1 + Reminder + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Reminder. + 0..1 + Reminder + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Accounting Cost Code. Code + The buyer's accounting code, applied to the Reminder as a whole. + 0..1 + Reminder + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Reminder. Accounting Cost. Text + The buyer's accounting code, applied to the Reminder as a whole, expressed as text. + 0..1 + Reminder + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Reminder. Line Count. Numeric + The number of Reminder Lines in this document. + 0..1 + Reminder + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Reminder. Reminder_ Period. Period + The periods to which the Reminder applies. + 0..n + Reminder + Reminder + Period + Period + Period + + + + + + + + + ASBIE + Reminder. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Reminder + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Reminder. Signature + A signature applied to this document. + 0..n + Reminder + Signature + Signature + Signature + + + + + + + + + ASBIE + Reminder. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Reminder + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Reminder. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Reminder + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Reminder. Payee_ Party. Party + The payee. + 0..1 + Reminder + Payee + Party + Party + Party + + + + + + + + + ASBIE + Reminder. Tax Representative_ Party. Party + The tax representative. + 0..1 + Reminder + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Reminder. Payment Means + Expected means of payment. + 0..n + Reminder + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Reminder. Payment Terms + A set of payment terms associated with this document. + 0..n + Reminder + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Reminder. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Reminder + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Reminder. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Reminder + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Reminder. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Reminder + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Reminder + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Reminder + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Reminder + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Tax Total + The total amount of a specific type of tax. + 0..n + Reminder + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Reminder. Legal_ Monetary Total. Monetary Total + The total amount payable on the Invoice, including Allowances, Charges, and Taxes. + 1 + Reminder + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Reminder. Reminder Line + A line describing a payment past due. + 1..n + Reminder + Reminder Line + Reminder Line + Reminder Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RemittanceAdvice-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RemittanceAdvice-2.1.xsd new file mode 100644 index 0000000..f92ee30 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RemittanceAdvice-2.1.xsd @@ -0,0 +1,567 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Remittance Advice. Details + A document that specifies details of an actual payment. + Remittance Advice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Remittance Advice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Remittance Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Remittance Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Remittance Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Remittance Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Remittance Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Remittance Advice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Remittance Advice + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Remittance Advice. Identifier + An identifier for this document, assigned by the sender. + 1 + Remittance Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Remittance Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Remittance Advice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Remittance Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Remittance Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Remittance Advice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Remittance Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Remittance Advice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Remittance Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Remittance Advice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Debit Amount. Amount + The totals of all debit amounts for the Remittance Advice. + 0..1 + Remittance Advice + Total + Debit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Credit Amount. Amount + The totals of all credit amounts for the Remittance Advice. + 0..1 + Remittance Advice + Total + Credit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Payment Amount. Amount + The total payable amount for the Remittance Advice (must be positive). + 0..1 + Remittance Advice + Total + Payment Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Payment Order Reference. Text + An internal reference to the order for payment from the payer to the payer's bank. + 0..1 + Remittance Advice + Payment Order Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Payer_ Reference. Text + An internal reference to the payer's order for payment. + 0..1 + Remittance Advice + Payer + Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Invoicing Party_ Reference. Text + An internal reference to the order for payment by the invoicing party. This may have been requested of the payer by the payee to accompany the payer's remittance. + 0..1 + Remittance Advice + Invoicing Party + Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Line Count. Numeric + The number of Remittance Advice Lines in the document. + 0..1 + Remittance Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Remittance Advice. Invoice_ Period. Period + A period (rather than a specific invoice) associated with this document. + 0..n + Remittance Advice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Remittance Advice. Billing Reference + A reference to a billing document associated with this document. + 0..1 + Remittance Advice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Remittance Advice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Remittance Advice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Remittance Advice. Signature + A signature applied to this document. + 0..n + Remittance Advice + Signature + Signature + Signature + + + + + + + + + ASBIE + Remittance Advice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Remittance Advice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Remittance Advice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice. Payee_ Party. Party + The payee. + 0..1 + Remittance Advice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Remittance Advice. Payment Means + Expected means of payment. + 0..1 + Remittance Advice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Remittance Advice. Tax Total + The total amount of a specific type of tax. + 0..n + Remittance Advice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Remittance Advice. Remittance Advice Line + A line specifying a balance. + 1..n + Remittance Advice + Remittance Advice Line + Remittance Advice Line + Remittance Advice Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RequestForQuotation-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RequestForQuotation-2.1.xsd new file mode 100644 index 0000000..35a90c0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RequestForQuotation-2.1.xsd @@ -0,0 +1,519 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Request For Quotation. Details + A document used to request a Quotation for goods and services from a Seller. + Request For Quotation + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Request For Quotation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Request For Quotation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Request For Quotation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Request For Quotation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Request For Quotation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Request For Quotation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Request For Quotation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Request For Quotation + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Request For Quotation. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Request For Quotation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Request For Quotation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Request For Quotation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Request For Quotation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Request For Quotation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Request For Quotation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Request For Quotation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Request For Quotation. Submission Due Date. Date + The due date for submission of the Quotation. + 0..1 + Request For Quotation + Submission Due Date + Date + Date. Type + + + + + + + + + BBIE + Request For Quotation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Request For Quotation + Note + Text + Text. Type + + + + + + + + + BBIE + Request For Quotation. Pricing_ Currency Code. Code + The currency that the Seller should use to price the Quotation. + 0..1 + Request For Quotation + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Request For Quotation. Line Count. Numeric + The number of Request For Quotation Lines in this document. + 0..1 + Request For Quotation + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Request For Quotation. Requested Validity_ Period. Period + The validity period requested for this Quotation. + 0..1 + Request For Quotation + Requested Validity + Period + Period + Period + + + + + + + + + ASBIE + Request For Quotation. Catalogue_ Document Reference. Document Reference + The Catalogue on which this Request for Quotation is based. + 0..1 + Request For Quotation + Catalogue + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Request For Quotation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation. Signature + A signature applied to this document. + 0..n + Request For Quotation + Signature + Signature + Signature + + + + + + + + + ASBIE + Request For Quotation. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Request For Quotation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Request For Quotation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Request For Quotation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Request For Quotation. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Request For Quotation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Request For Quotation. Delivery + A delivery associated with this document. + 0..n + Request For Quotation + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Request For Quotation. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Request For Quotation + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Request For Quotation. Destination_ Country. Country + The country of destination of potential orders (for customs purposes). + 0..1 + Request For Quotation + Destination + Country + Country + Country + + + + + + + + + ASBIE + Request For Quotation. Contract + A contract associated with this Request for Quotation.. + 0..n + Request For Quotation + Contract + Contract + Contract + + + + + + + + + ASBIE + Request For Quotation. Request For Quotation Line + A line specifying a kind of item of sale. + 1..n + Request For Quotation + Request For Quotation Line + Request For Quotation Line + Request For Quotation Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RetailEvent-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RetailEvent-2.1.xsd new file mode 100644 index 0000000..4adee85 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-RetailEvent-2.1.xsd @@ -0,0 +1,515 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Retail Event. Details + A document used to specify basic information about retail events (such as promotions, product introductions, and community or environmental events) that affect supply or demand. + Retail Event + Event + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Retail Event. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Retail Event + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Retail Event. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Retail Event + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Retail Event. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Retail Event + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Retail Event. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Retail Event + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Retail Event. Identifier + An identifier for this document, assigned by the sender. + 1 + Retail Event + Identifier + Identifier + Identifier. Type + Retail Event Number + + + + + + + + + BBIE + Retail Event. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Retail Event + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Retail Event. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Retail Event + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Retail Event. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Retail Event + Issue Date + Date + Date. Type + Retail Event Date + + + + + + + + + BBIE + Retail Event. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Retail Event + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Retail Event. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Retail Event + Note + Text + Text. Type + + + + + + + + + BBIE + Retail Event. Retail Event Name. Name + A title, theme, slogan, or other identifier for the event for use by trading partners. + 0..1 + Retail Event + Retail Event Name + Name + Name. Type + + + + + + + + + BBIE + Retail Event. Retail Event Status Code. Code + Describes the logical state of the discrete activity affecting supply or demand in the supply chain + 1 + Retail Event + Retail Event Status Code + Code + Code. Type + + + + + + + + + BBIE + Retail Event. Seller Event Identifier. Identifier + An event tracking identifier assigned by the seller. + 0..1 + Retail Event + Seller Event Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Retail Event. Buyer Event Identifier. Identifier + An event tracking identifier assigned by the buyer. + 0..1 + Retail Event + Buyer Event Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Retail Event. Description. Text + Definition of the discrete activity affecting supply or demand in the supply chain + 0..n + Retail Event + Description + Text + Text. Type + + + + + + + + + ASBIE + Retail Event. Period + The period during which the event takes place. + 1 + Retail Event + Period + Period + Period + + + + + + + + + ASBIE + Retail Event. Original_ Document Reference. Document Reference + A reference to a Forecast document associated with this event. + 0..n + Retail Event + Original + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Retail Event. Signature + A signature applied to this document. + 0..n + Retail Event + Signature + Signature + Signature + + + + + + + + + ASBIE + Retail Event. Sender_ Party. Party + The party sending this document. + 1 + Retail Event + Sender + Party + Party + Party + + + + + + + + + ASBIE + Retail Event. Receiver_ Party. Party + The party receiving this document. + 1 + Retail Event + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Retail Event. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Retail Event + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Retail Event. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Retail Event + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Retail Event. Event Comment + A comment regarding the event. + 0..n + Retail Event + Event Comment + Event Comment + Event Comment + + + + + + + + + ASBIE + Retail Event. Promotional Event + The description of a promotional event associated with this event. + 0..1 + Retail Event + Promotional Event + Promotional Event + Promotional Event + + + + + + + + + ASBIE + Retail Event. Miscellaneous Event + A miscellaneous event associated with this event. + 0..1 + Retail Event + Miscellaneous Event + Miscellaneous Event + Miscellaneous Event + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-SelfBilledCreditNote-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-SelfBilledCreditNote-2.1.xsd new file mode 100644 index 0000000..42fc54f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-SelfBilledCreditNote-2.1.xsd @@ -0,0 +1,918 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Self Billed Credit Note. Details + A credit note created by the debtor in a self billing arrangement with a creditor; Self Billed Credit Note replaces Debit Note in such arrangements. + Self Billed Credit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Self Billed Credit Note. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Self Billed Credit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Self Billed Credit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Self Billed Credit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Self Billed Credit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Self Billed Credit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Self Billed Credit Note. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Self Billed Credit Note + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Self Billed Credit Note. Identifier + An identifier for this document, assigned by the sender. + 1 + Self Billed Credit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Credit Note. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Self Billed Credit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Self Billed Credit Note. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Self Billed Credit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Credit Note. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Self Billed Credit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Credit Note. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Self Billed Credit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Self Billed Credit Note. Tax Point Date. Date + The date of the Self Billed Credit Note, used to indicate the point at which tax becomes applicable. + 0..1 + Self Billed Credit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Credit Note. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Self Billed Credit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Self Billed Credit Note. Document_ Currency Code. Code + A code signifying the default currency for this document. + 1 + Self Billed Credit Note + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Accounting Cost Code. Code + The buyer's accounting code, applied to the Self Billed Credit Note as a whole. + 0..1 + Self Billed Credit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Accounting Cost. Text + The buyer's accounting code, applied to the Self Billed Credit Note as a whole, expressed as text. + 0..1 + Self Billed Credit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Self Billed Credit Note. Line Count. Numeric + The number of Self Billed Credit Note Lines in this document. + 0..1 + Self Billed Credit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Self Billed Credit Note. Invoice_ Period. Period + A period (rather than a specific Invoice) associated with the Self Billed Credit Note. + 0..n + Self Billed Credit Note + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Self Billed Credit Note. Discrepancy_ Response. Response + A reason for the Self Billed Credit Note as a whole. + 0..n + Self Billed Credit Note + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Self Billed Credit Note. Order Reference + The Order associated with this Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Billing Reference + A reference to a billing document associated with this document. + 0..n + Self Billed Credit Note + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Self Billed Credit Note + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Self Billed Credit Note + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Self Billed Credit Note + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Self Billed Credit Note + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Self Billed Credit Note + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Self Billed Credit Note + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Signature + A signature applied to this document. + 0..n + Self Billed Credit Note + Signature + Signature + Signature + + + + + + + + + ASBIE + Self Billed Credit Note. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Self Billed Credit Note + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Credit Note. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Self Billed Credit Note + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Credit Note. Payee_ Party. Party + The payee. + 0..1 + Self Billed Credit Note + Payee + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Credit Note. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Self Billed Credit Note + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Credit Note. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Self Billed Credit Note + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Credit Note. Tax Representative_ Party. Party + The tax representative. + 0..1 + Self Billed Credit Note + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Credit Note. Delivery + A delivery associated with this document. + 0..n + Self Billed Credit Note + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Self Billed Credit Note. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Self Billed Credit Note + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Self Billed Credit Note. Payment Means + Expected means of payment. + 0..n + Self Billed Credit Note + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Self Billed Credit Note. Payment Terms + A set of payment terms associated with this document. + 0..n + Self Billed Credit Note + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Self Billed Credit Note. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Self Billed Credit Note + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Self Billed Credit Note. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Self Billed Credit Note + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Self Billed Credit Note + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Self Billed Credit Note + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Self Billed Credit Note + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Tax Total + The total amount of a specific type of tax. + 0..n + Self Billed Credit Note + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Credit Note. Legal_ Monetary Total. Monetary Total + The total amount payable on the Self Billed Credit Note, including Allowances, Charges, and Taxes. + 1 + Self Billed Credit Note + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Self Billed Credit Note. Credit Note Line + A Self Billed Credit Note Line. + 1..n + Self Billed Credit Note + Credit Note Line + Credit Note Line + Credit Note Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-SelfBilledInvoice-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-SelfBilledInvoice-2.1.xsd new file mode 100644 index 0000000..4162314 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-SelfBilledInvoice-2.1.xsd @@ -0,0 +1,933 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Self Billed Invoice. Details + An Invoice document created by the Customer (rather than the Supplier) in a Self Billing relationship. + Self Billed Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Self Billed Invoice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Self Billed Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Self Billed Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Self Billed Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Self Billed Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Self Billed Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Self Billed Invoice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Self Billed Invoice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Identifier + An identifier for this document, assigned by the sender. + 1 + Self Billed Invoice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Self Billed Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Self Billed Invoice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Self Billed Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Self Billed Invoice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Invoice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Self Billed Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Self Billed Invoice. Tax Point Date. Date + The date of the invoice for tax purposes, in accordance with the applicable tax regulation. + 0..1 + Self Billed Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Invoice. Invoice Type Code. Code + A code signifying the type of invoice. + 0..1 + Self Billed Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Self Billed Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Self Billed Invoice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Self Billed Invoice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Invoice. + 0..1 + Self Billed Invoice + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Invoice. + 0..1 + Self Billed Invoice + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Invoice. + 0..1 + Self Billed Invoice + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Invoice. + 0..1 + Self Billed Invoice + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Accounting Cost Code. Code + An accounting cost code, applied to the Invoice as a whole. + 0..1 + Self Billed Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Accounting Cost. Text + An accounting cost code, applied to the Invoice as a whole, expressed as text. + 0..1 + Self Billed Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Self Billed Invoice. Line Count. Numeric + The number of Invoice Lines in this document. + 0..1 + Self Billed Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Self Billed Invoice. Invoice_ Period. Period + A period to which the Self Billed Invoice applies. + 0..n + Self Billed Invoice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Self Billed Invoice. Order Reference + A reference to the Order with which this Invoice is associated. + 0..1 + Self Billed Invoice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Self Billed Invoice. Billing Reference + A reference to a billing document associated with this document. + 0..n + Self Billed Invoice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Self Billed Invoice. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Self Billed Invoice + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Self Billed Invoice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Self Billed Invoice + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Self Billed Invoice + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Self Billed Invoice + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Self Billed Invoice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Signature + A signature applied to this document. + 0..n + Self Billed Invoice + Signature + Signature + Signature + + + + + + + + + ASBIE + Self Billed Invoice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Self Billed Invoice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Invoice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Self Billed Invoice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Invoice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Self Billed Invoice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Invoice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Self Billed Invoice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Invoice. Payee_ Party. Party + The payee. + 0..1 + Self Billed Invoice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Invoice. Tax Representative_ Party. Party + The tax representative. + 0..1 + Self Billed Invoice + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Invoice. Delivery + A delivery associated with this document. + 0..n + Self Billed Invoice + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Self Billed Invoice. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Self Billed Invoice + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Self Billed Invoice. Payment Means + Expected means of payment. + 0..1 + Self Billed Invoice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Self Billed Invoice. Payment Terms + A set of payment terms associated with this document. + 0..n + Self Billed Invoice + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Self Billed Invoice. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Self Billed Invoice + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Self Billed Invoice. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Self Billed Invoice + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Self Billed Invoice. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Self Billed Invoice + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Self Billed Invoice + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Self Billed Invoice + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Self Billed Invoice + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Tax Total + The total amount of a specific type of tax. + 0..n + Self Billed Invoice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Invoice. Legal_ Monetary Total. Monetary Total + A set of totals associated with this Invoice that are required for the Invoice to be a legal document. + 1 + Self Billed Invoice + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Self Billed Invoice. Invoice Line + A line describing an Invoice Item. + 1..n + Self Billed Invoice + Invoice Line + Invoice Line + Invoice Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Statement-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Statement-2.1.xsd new file mode 100644 index 0000000..e2c1a76 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Statement-2.1.xsd @@ -0,0 +1,600 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Statement. Details + A document used to report the status of orders, billing, and payment. This document is a statement of account, not a summary invoice. + Statement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Statement. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Statement + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Statement. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Statement + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Statement. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Statement + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Statement. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Statement + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Statement. Identifier + An identifier for this document, assigned by the sender. + 1 + Statement + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Statement + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Statement. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Statement + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Statement + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Statement. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Statement + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Statement. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Statement + Note + Text + Text. Type + + + + + + + + + BBIE + Statement. Document_ Currency Code. Code + The default currency for the Statement. + 1 + Statement + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Statement. Total_ Debit Amount. Amount + The total of all debit amounts for the Statement. + 0..1 + Statement + Total + Debit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Total_ Credit Amount. Amount + The total of all credit amounts for the Statement. + 0..1 + Statement + Total + Credit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Total_ Balance Amount. Amount + The total amount for the Statement. + 0..1 + Statement + Total + Balance Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Line Count. Numeric + The number of Statement Lines in the Statement. + 0..1 + Statement + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Statement. Statement Type Code. Code + A code signifying the type of the Statement. + 0..1 + Statement + Statement Type Code + Code + Code. Type + + + + + + + + + ASBIE + Statement. Statement_ Period. Period + A period to which the Statement applies. + 0..1 + Statement + Statement + Period + Period + Period + + + + + + + + + ASBIE + Statement. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Statement + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Statement. Signature + A signature applied to this document. + 0..n + Statement + Signature + Signature + Signature + + + + + + + + + ASBIE + Statement. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Statement + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Statement + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Statement + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Statement + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Statement + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Payee_ Party. Party + The payee. + 0..1 + Statement + Payee + Party + Party + Party + + + + + + + + + ASBIE + Statement. Payment Means + Expected means of payment. + 0..n + Statement + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Statement. Payment Terms + A set of payment terms associated with this document. + 0..n + Statement + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Statement. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Statement + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Statement. Tax Total + The total amount of a specific type of tax. + 0..n + Statement + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Statement. Statement Line + A Statement Line. + 1..n + Statement + Statement Line + Statement Line + Statement Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-StockAvailabilityReport-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-StockAvailabilityReport-2.1.xsd new file mode 100644 index 0000000..9b3a98a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-StockAvailabilityReport-2.1.xsd @@ -0,0 +1,403 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Stock Availability Report. Details + A report on the quantities of each item that are, or will be, in stock. This document is sent by a Seller (for example a producer) to a Buyer (for example a retailer). + Stock Availability Report + Storage status report. + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Stock Availability Report. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Stock Availability Report + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Stock Availability Report. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Stock Availability Report + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Stock Availability Report. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Stock Availability Report + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Stock Availability Report. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Stock Availability Report + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Stock Availability Report. Identifier + An identifier for this document, assigned by the sender. + 1 + Stock Availability Report + Identifier + Identifier + Identifier. Type + Document Number, Inventory Report Number + + + + + + + + + BBIE + Stock Availability Report. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Stock Availability Report + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Stock Availability Report. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Stock Availability Report + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Stock Availability Report. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Stock Availability Report + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Stock Availability Report. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Stock Availability Report + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Stock Availability Report. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Stock Availability Report + Note + Text + Text. Type + + + + + + + + + BBIE + Stock Availability Report. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Stock Availability Report + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Stock Availability Report. Inventory_ Period. Period + The inventory period covered by the Report. + 0..1 + Stock Availability Report + Inventory + Period + Period + Period + + + + + + + + + ASBIE + Stock Availability Report. Document Reference + A reference to another document associated with this document. + 0..n + Stock Availability Report + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Stock Availability Report. Signature + A signature applied to this document. + 0..n + Stock Availability Report + Signature + Signature + Signature + + + + + + + + + ASBIE + Stock Availability Report. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Stock Availability Report + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Stock Availability Report. Retailer_ Customer Party. Customer Party + The retailer. + 0..1 + Stock Availability Report + Retailer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Stock Availability Report. Inventory Reporting_ Party. Party + The party that will receive and use the Stock Availability Report (normally the branch for which the stock is reported). + 1 + Stock Availability Report + Inventory Reporting + Party + Party + Party + + + + + + + + + ASBIE + Stock Availability Report. Stock Availability Report Line + A line representing a particular item of sale and associated with a line in the Catalogue. + 1..n + Stock Availability Report + Stock Availability Report Line + Stock Availability Report Line + Stock Availability Report Line + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Tender-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Tender-2.1.xsd new file mode 100644 index 0000000..256c069 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Tender-2.1.xsd @@ -0,0 +1,464 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender. Details + A document whereby an economic operator (the tenderer) makes a formal offer (the tender) to a contracting authority to execute an order for the supply or purchase of goods, or for the execution of work, according to the terms of a proposed contract. + Tender + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tender. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tender. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tender. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tender. Identifier + An identifier for this document, assigned by the sender. + 1 + Tender + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender. Tender Type Code. Code + A code to specify the type of tender (economical or objective criteria versus technical or subjective criteria) + 0..1 + Tender + Tender Type Code + Code + Code. Type + + + + + + + + + BBIE + Tender. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tender + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender. Contract Name. Text + Short title of a contract associated with this Tender. + 0..n + Tender + Contract Name + Text + Text. Type + + + + + + + + + BBIE + Tender. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender + Note + Text + Text. Type + + + + + + + + + ASBIE + Tender. Validity_ Period. Period + The period for which the Tender is valid. + 0..1 + Tender + Validity + Period + Period + Period + + + + + + + + + ASBIE + Tender. Document Reference + A reference to another document associated with this document. + 0..n + Tender + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender. Signature + A signature applied to this document. + 0..n + Tender + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender. Tenderer_ Party. Party + The primary tenderer. + 1 + Tender + Tenderer + Party + Party + Party + + + + + + + + + ASBIE + Tender. Tenderer Qualification_ Document Reference. Document Reference + A reference to the tenderer qualification document that has been used to qualify the tenderer. + 0..1 + Tender + Tenderer Qualification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender. Subcontractor_ Party. Party + A subcontractor or other tenderer participating in the same Tender. + 0..n + Tender + Subcontractor + Party + Party + Party + + + + + + + + + ASBIE + Tender. Contracting Party + The contracting party. + 0..1 + Tender + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tender. Originator_ Customer Party. Customer Party + The party originating the Tender. + 0..1 + Tender + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Tender. Tendered Project + A project with which this Tender is associated. A single Tender can be used to bid for one project, multiple projects, or the global project. + 1..n + Tender + Tendered Project + Tendered Project + Tendered Project + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TenderReceipt-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TenderReceipt-2.1.xsd new file mode 100644 index 0000000..a03f4b9 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TenderReceipt-2.1.xsd @@ -0,0 +1,398 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender Receipt. Details + A document sent by a contracting party to an economic operator acknowledging receipt of a Tender. + Tender Receipt + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender Receipt. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender Receipt + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tender Receipt. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender Receipt + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tender Receipt. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender Receipt + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tender Receipt. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender Receipt + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tender Receipt. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tender Receipt + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Receipt. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender Receipt + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender Receipt. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender Receipt + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Receipt. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tender Receipt + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Receipt. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender Receipt + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender Receipt. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender Receipt + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender Receipt. Contract Name. Text + Short title of a contract associated with this Tender. + 0..n + Tender Receipt + Contract Name + Text + Text. Type + + + + + + + + + BBIE + Tender Receipt. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender Receipt + Note + Text + Text. Type + + + + + + + + + BBIE + Tender Receipt. Registered Date. Date + The date, assigned by the sender, on which the Tender Receipt was created. + 1 + Tender Receipt + Registered Date + Date + Date. Type + + + + + + + + + BBIE + Tender Receipt. Registered Time. Time + The time, assigned by the sender, at which the Tender Receipt was created. + 1 + Tender Receipt + Registered Time + Time + Time. Type + + + + + + + + + ASBIE + Tender Receipt. Tender_ Document Reference. Document Reference + A reference to a received Tender. + 0..n + Tender Receipt + Tender + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Receipt. Signature + A signature applied to this document. + 0..n + Tender Receipt + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender Receipt. Sender_ Party. Party + The party sending this document. + 1 + Tender Receipt + Sender + Party + Party + Party + + + + + + + + + ASBIE + Tender Receipt. Receiver_ Party. Party + The party receiving this document. + 1 + Tender Receipt + Receiver + Party + Party + Party + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TendererQualification-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TendererQualification-2.1.xsd new file mode 100644 index 0000000..ead68e9 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TendererQualification-2.1.xsd @@ -0,0 +1,401 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tenderer Qualification. Details + A document declaring the qualifications of a tenderer. + Tenderer Qualification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tenderer Qualification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tenderer Qualification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tenderer Qualification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tenderer Qualification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tenderer Qualification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tenderer Qualification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tenderer Qualification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tenderer Qualification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tenderer Qualification. Identifier + An identifier for this document, assigned by the sender. + 1 + Tenderer Qualification + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tenderer Qualification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tenderer Qualification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tenderer Qualification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tenderer Qualification + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tenderer Qualification + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tenderer Qualification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tenderer Qualification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tenderer Qualification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tenderer Qualification + Note + Text + Text. Type + + + + + + + + + BBIE + Tenderer Qualification. Version. Identifier + Indicates the current version of the Tenderer Qualification. + 0..1 + Tenderer Qualification + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Tenderer Qualification. Previous_ Version. Identifier + Identifies the previous version of the Tenderer Qualification which is superceded by this version. + 0..1 + Tenderer Qualification + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + ASBIE + Tenderer Qualification. Signature + A signature applied to this document. + 0..n + Tenderer Qualification + Signature + Signature + Signature + + + + + + + + + ASBIE + Tenderer Qualification. Tenderer Party Qualification + A specific qualification of the Tenderer. + 1..n + Tenderer Qualification + Tenderer Party Qualification + Tenderer Party Qualification + Tenderer Party Qualification + + + + + + + + + ASBIE + Tenderer Qualification. Contracting Party + The contracting party. + 0..1 + Tenderer Qualification + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tenderer Qualification. Evidence + An evidentiary document supporting Tenderer qualifications. + 0..n + Tenderer Qualification + Evidence + Evidence + Evidence + + + + + + + + + ASBIE + Tenderer Qualification. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Tenderer Qualification + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TendererQualificationResponse-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TendererQualificationResponse-2.1.xsd new file mode 100644 index 0000000..8d56078 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TendererQualificationResponse-2.1.xsd @@ -0,0 +1,399 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tenderer Qualification Response. Details + A document issued by a procurement organization to notify an economic operator whether it has been admitted to or excluded from the tendering process. + Tenderer Qualification Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tenderer Qualification Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tenderer Qualification Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tenderer Qualification Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tenderer Qualification Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tenderer Qualification Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tenderer Qualification Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tenderer Qualification Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tenderer Qualification Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tenderer Qualification Response. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tenderer Qualification Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tenderer Qualification Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tenderer Qualification Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tenderer Qualification Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tenderer Qualification Response + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Contract Name. Text + Short title of a contract associated with this Tender. + 0..n + Tenderer Qualification Response + Contract Name + Text + Text. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tenderer Qualification Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tenderer Qualification Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tenderer Qualification Response + Note + Text + Text. Type + + + + + + + + + ASBIE + Tenderer Qualification Response. Sender_ Party. Party + The party sending this message. + 1 + Tenderer Qualification Response + Sender + Party + Party + Party + + + + + + + + + ASBIE + Tenderer Qualification Response. Receiver_ Party. Party + The party receiving this message. + 1 + Tenderer Qualification Response + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Tenderer Qualification Response. Resolution_ Document Reference. Document Reference + A document (e.g., meeting minutes) relating to consideration of tenderer qualifications. + 0..1 + Tenderer Qualification Response + Resolution + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tenderer Qualification Response. Qualification Resolution + An association to the resolution that is being notified + 1..n + Tenderer Qualification Response + Qualification Resolution + Qualification Resolution + Qualification Resolution + + + + + + + + + ASBIE + Tenderer Qualification Response. Appeal Terms + Terms of appeal for this tendering process. + 0..1 + Tenderer Qualification Response + Appeal Terms + Appeal Terms + Appeal Terms + + + + + + + + + ASBIE + Tenderer Qualification Response. Signature + A signature applied to this document. + 0..n + Tenderer Qualification Response + Signature + Signature + Signature + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TradeItemLocationProfile-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TradeItemLocationProfile-2.1.xsd new file mode 100644 index 0000000..2b337fd --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TradeItemLocationProfile-2.1.xsd @@ -0,0 +1,415 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Trade Item Location Profile. Details + A document specifying trade item attributes relating to replenishment policies. + Trade Item Location Profile + TradeItem Information Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Trade Item Location Profile. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Trade Item Location Profile + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Trade Item Location Profile. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Trade Item Location Profile + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Trade Item Location Profile. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Trade Item Location Profile + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Trade Item Location Profile. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Trade Item Location Profile + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Trade Item Location Profile. Identifier + An identifier for this document, assigned by the sender. + 1 + Trade Item Location Profile + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Trade Item Location Profile. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Trade Item Location Profile + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Trade Item Location Profile. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Trade Item Location Profile + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Trade Item Location Profile. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Trade Item Location Profile + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Trade Item Location Profile. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Trade Item Location Profile + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Trade Item Location Profile. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Trade Item Location Profile + Note + Text + Text. Type + + + + + + + + + BBIE + Trade Item Location Profile. Profile_ Status Code. Code + A code signifying the status of this Trade Item Location Profile. + 0..1 + Trade Item Location Profile + Profile + Status Code + Code + Code. Type + + + + + + + + + ASBIE + Trade Item Location Profile. Period + An association to Period. + 1 + Trade Item Location Profile + Period + Period + Period + + + + + + + + + ASBIE + Trade Item Location Profile. Document Reference + A reference to another document associated with this document. + 0..n + Trade Item Location Profile + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Trade Item Location Profile. Signature + A signature applied to this document. + 0..n + Trade Item Location Profile + Signature + Signature + Signature + + + + + + + + + ASBIE + Trade Item Location Profile. Sender_ Party. Party + The sender. + 1 + Trade Item Location Profile + Sender + Party + Party + Party + + + + + + + + + ASBIE + Trade Item Location Profile. Receiver_ Party. Party + The receiver. + 1 + Trade Item Location Profile + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Trade Item Location Profile. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Trade Item Location Profile + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Trade Item Location Profile. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Trade Item Location Profile + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Trade Item Location Profile. Item Management Profile + A profile specifying replenishment policies for a particular trade item. + 1..n + Trade Item Location Profile + Item Management Profile + Item Management Profile + Item Management Profile + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportExecutionPlan-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportExecutionPlan-2.1.xsd new file mode 100644 index 0000000..5408981 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportExecutionPlan-2.1.xsd @@ -0,0 +1,769 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Execution Plan. Details + A document used in the negotiation of a transport service between a transport user and a transport service provider. + Transport Execution Plan + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Execution Plan. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Execution Plan + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Execution Plan + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Execution Plan + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Execution Plan + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Execution Plan + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Version. Identifier + Indicates the current version of the Transport Execution Plan. + 0..1 + Transport Execution Plan + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Transport Execution Plan. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Execution Plan + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Execution Plan. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Execution Plan + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transport Execution Plan + Issue Date + Date + Date. Type + Transport Document Date + + + + + + + + + BBIE + Transport Execution Plan. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transport Execution Plan + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Execution Plan. Document Status Code. Code + A code signifying the status of the Transport Execution Plan (updated, cancelled, confirmed, etc.) + 0..1 + Transport Execution Plan + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Transport Execution Plan. Document Status Reason Code. Code + A code signifying a reason associated with the status of a Transport Execution Plan. + 0..1 + Transport Execution Plan + Document Status Reason Code + Code + Code. Type + + + + + + + + + BBIE + Transport Execution Plan. Document Status Reason Description. Text + A reason for the status assigned to the Transport Execution Plan, expressed in text. + 0..n + Transport Execution Plan + Document Status Reason Description + Text + Text. Type + 123 Standard Chartered Tower + + + + + + + + + BBIE + Transport Execution Plan. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Execution Plan + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Plan. Transport User_ Remarks. Text + Remarks from the transport user regarding the transport operations referred to in the Transport Execution Plan. + 0..n + Transport Execution Plan + Transport User + Remarks + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Plan. Transport Service Provider_ Remarks. Text + Remarks from the transport service provider regarding the transport operations referred to in the Transport Execution Plan. + 0..n + Transport Execution Plan + Transport Service Provider + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Transport Execution Plan. Sender_ Party. Party + The party sending this document (can be either the transport user or the transport service provider). + 0..1 + Transport Execution Plan + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Receiver_ Party. Party + The party receiving this document (can be either the transport user or the transport service provider). + 0..1 + Transport Execution Plan + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Transport User_ Party. Party + The party requesting the transport service from a transport service provider. + 1 + Transport Execution Plan + Transport User + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Transport Service Provider_ Party. Party + The party offering the transport service based upon a request from a transport user. + 1 + Transport Execution Plan + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Bill To_ Party. Party + Describes the party that will pay for the transport service(s) provided in a Transport Execution Plan + 0..1 + Transport Execution Plan + Bill To + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Signature + A signature applied to this document. + 0..n + Transport Execution Plan + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Execution Plan. Transport Execution Plan Request_ Document Reference. Document Reference + A reference to a Transport Execution Plan Request. + 0..1 + Transport Execution Plan + Transport Execution Plan Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Transport Execution Plan_ Document Reference. Document Reference + A reference to an original Transport Execution Plan. + 0..1 + Transport Execution Plan + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Transport Service Description_ Document Reference. Document Reference + A reference to the Transport Service Description, which is used by a transport service provider to announce transport services to transport users (buyers). + 0..1 + Transport Execution Plan + Transport Service Description + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Transport Execution Plan + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Transport_ Contract. Contract + A contract related to the Transport Execution Plan. + 0..1 + Transport Execution Plan + Transport + Contract + Contract + Contract + + + + + + + + + ASBIE + Transport Execution Plan. Transport Service Provider Response Required_ Period. Period + Describes the deadline for when the Transport Service Provider will have to respond to a Transport Execution Plan . + 0..1 + Transport Execution Plan + Transport Service Provider Response Required + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Transport User Response Required_ Period. Period + Describes the deadline for when the Transport User will have to respond to a Transport Execution Plan suggested by a Transport Service Provider. + 0..n + Transport Execution Plan + Transport User Response Required + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Validity_ Period. Period + A period during which the Transport Execution Plan is valid. + 0..n + Transport Execution Plan + Validity + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Main_ Transportation Service. Transportation Service + Description of the main transportation service referenced in the Transport Execution Plan. + 0..1 + Transport Execution Plan + Main + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan. Additional_ Transportation Service. Transportation Service + A description of an additional transportation service referenced in the Transport Execution Plan. + 0..n + Transport Execution Plan + Additional + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan. Service Start Time_ Period. Period + The period within which the service must begin. + 0..1 + Transport Execution Plan + Service Start Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Service End Time_ Period. Period + The period during which the service must be completed. + 0..1 + Transport Execution Plan + Service End Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. From_ Location. Location + The location of origin of the transport service referenced in the Transport Execution Plan. + 0..1 + Transport Execution Plan + From + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan. To_ Location. Location + The destination location for the transport service referenced in the Transport Execution Plan. + 0..1 + Transport Execution Plan + To + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan. At_ Location. Location + The location of a transport service (e.g., terminal handling service) that does not require transport movement. + 0..1 + Transport Execution Plan + At + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan. Transport Execution Terms + A description of terms and conditions related to the Transport Execution Plan. + 0..1 + Transport Execution Plan + Transport Execution Terms + Transport Execution Terms + Transport Execution Terms + + + + + + + + + ASBIE + Transport Execution Plan. Consignment + A description of an identifiable collection of goods items to be transported between the consignor and the consignee. This information may be defined within a transport contract. A consignment may comprise more than one shipment (e.g., when consolidated by a freight forwarder). + 1..n + Transport Execution Plan + Consignment + Consignment + Consignment + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportExecutionPlanRequest-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportExecutionPlanRequest-2.1.xsd new file mode 100644 index 0000000..d3663f2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportExecutionPlanRequest-2.1.xsd @@ -0,0 +1,696 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Execution Plan Request. Details + A document sent by a transport user to request a transport service from a transport service provider. + Transport Execution Plan Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Execution Plan Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Execution Plan Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Execution Plan Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Execution Plan Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Execution Plan Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Execution Plan Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Version. Identifier + An identifier for the current version of the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Transport Execution Plan Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Execution Plan Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Execution Plan Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Execution Plan Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transport Execution Plan Request + Issue Date + Date + Date. Type + Transport Document Date + + + + + + + + + BBIE + Transport Execution Plan Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transport Execution Plan Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Document Status Code. Code + A code signifying the status of the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Document Status Reason Code. Code + A code signifying a reason associated with the status of the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Document Status Reason Code + Code + Code. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Document Status Reason Description. Text + A reason associated with the status of the Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Document Status Reason Description + Text + Text. Type + 123 Standard Chartered Tower + + + + + + + + + BBIE + Transport Execution Plan Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Execution Plan Request + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Transport User_ Remarks. Text + Remarks from the transport user regarding the transport operations referenced in the Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Transport User + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Transport Execution Plan Request. Sender_ Party. Party + The party sending the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Receiver_ Party. Party + The party receiving the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport User_ Party. Party + The party requesting the transport services referenced in the Transport Execution Plan Request. + 1 + Transport Execution Plan Request + Transport User + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Service Provider_ Party. Party + The party providing the transport services referenced in the Transport Execution Plan Request. + 1 + Transport Execution Plan Request + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Payee_ Party. Party + The party that will pay for the transport service(s) referred to in a Transport Execution Plan. + 0..1 + Transport Execution Plan Request + Payee + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Signature + A signature applied to this document. + 0..n + Transport Execution Plan Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Execution Plan_ Document Reference. Document Reference + A reference to an original Transport Execution Plan Document. + 0..1 + Transport Execution Plan Request + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Service Description_ Document Reference. Document Reference + A reference to the Transport Service Description, which is used by a transport service provider to announce transport services to transport users (buyers). + 0..1 + Transport Execution Plan Request + Transport Service Description + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan Request. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Transport Execution Plan Request + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport_ Contract. Contract + A potential contract related to the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Transport + Contract + Contract + Contract + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Service Provider Response Deadline_ Period. Period + A deadline for a response from the Transport Service Provider to this Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Transport Service Provider Response Deadline + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan Request. Main_ Transportation Service. Transportation Service + A description of the main transportation service referenced in the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Main + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan Request. Additional_ Transportation Service. Transportation Service + A description of an additional transportation service referenced in the Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Additional + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan Request. Service Start Time_ Period. Period + The period within which the services referred to in the Transport Execution Plan Request must begin. + 0..1 + Transport Execution Plan Request + Service Start Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan Request. Service End Time_ Period. Period + The period during which the services referred to in the Transport Execution Plan Request must be completed. + 0..1 + Transport Execution Plan Request + Service End Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan Request. From_ Location. Location + The location of origin of the transport service referenced in the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + From + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan Request. To_ Location. Location + The destination location for the transport service referenced in the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + To + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan Request. At_ Location. Location + The location of a transport service (e.g., terminal handling service) that does not require transport movement. + 0..1 + Transport Execution Plan Request + At + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Execution Terms + A description of terms and conditions related to the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Transport Execution Terms + Transport Execution Terms + Transport Execution Terms + + + + + + + + + ASBIE + Transport Execution Plan Request. Consignment + A description of an identifiable collection of goods items to be transported between the consignor and the consignee. This information may be defined within a transport contract. A consignment may comprise more than one shipment (e.g., when consolidated by a freight forwarder). + 1..n + Transport Execution Plan Request + Consignment + Consignment + Consignment + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportProgressStatus-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportProgressStatus-2.1.xsd new file mode 100644 index 0000000..31c0889 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportProgressStatus-2.1.xsd @@ -0,0 +1,396 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Progress Status. Details + A document sent from a Transportation Network Manager to a Transport Service Provider giving the status of the whereabouts and schedule of the transport means involved in a transport service. + Transport Progress Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Progress Status. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Progress Status + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Progress Status + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Progress Status + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Progress Status + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Progress Status + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Progress Status + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Progress Status. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Progress Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Transport Progress Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Progress Status. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Transport Progress Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Progress Status. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Progress Status + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Progress Status. Status Available_ Indicator. Indicator + Indicates whether transport progress information is available. + 0..1 + Transport Progress Status + Status Available + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Transport Progress Status. Signature + A signature applied to this document. + 0..n + Transport Progress Status + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Progress Status. Sender_ Party. Party + The party sending the Transport Progress Status. + 0..1 + Transport Progress Status + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status. Receiver_ Party. Party + The party receiving the Transport Progress Status. + 0..1 + Transport Progress Status + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status. Source Issuer_ Party. Party + The party that is the source of the Transport Progress Status. + 0..1 + Transport Progress Status + Source Issuer + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status. Transport Progress Status Request_ Document Reference. Document Reference + A reference to the Transport Progress Status Request document to which this status report is a response. + 0..1 + Transport Progress Status + Transport Progress Status Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Progress Status. Transport Means + The transport means by which the current transport service is effectuated. + 1 + Transport Progress Status + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Progress Status. Transport Schedule + Describes the status and schedule of the transport means operating the transport service as well as the current location of the transport means. + 0..n + Transport Progress Status + Transport Schedule + Transport Schedule + Transport Schedule + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportProgressStatusRequest-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportProgressStatusRequest-2.1.xsd new file mode 100644 index 0000000..5fd455d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportProgressStatusRequest-2.1.xsd @@ -0,0 +1,345 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Progress Status Request. Details + A document sent from a transport service provider to a transportation network manager requesting a Transport Progress Status. + Transport Progress Status Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Progress Status Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Progress Status Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Progress Status Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Progress Status Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Progress Status Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Progress Status Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Progress Status Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Progress Status Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Progress Status Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Transport Progress Status Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Progress Status Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Transport Progress Status Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Progress Status Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Progress Status Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Transport Progress Status Request. Signature + A signature applied to this document. + 0..n + Transport Progress Status Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Progress Status Request. Sender_ Party. Party + The party sending the Transport Progress Status Request. + 0..1 + Transport Progress Status Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status Request. Receiver_ Party. Party + The party receiving the Transport Progress Status Request. + 0..1 + Transport Progress Status Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status Request. Transport Means + The transport means by which the current transport service is effectuated and for which status is requested. + 1 + Transport Progress Status Request + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Progress Status Request. Status_ Location. Location + A location for which status is requested. + 0..n + Transport Progress Status Request + Status + Location + Location + Location + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportServiceDescription-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportServiceDescription-2.1.xsd new file mode 100644 index 0000000..21a51b3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportServiceDescription-2.1.xsd @@ -0,0 +1,430 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Service Description. Details + A document sent by a transport service provider to announce the availability of a transport service. + Transport Service Description + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Service Description. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Service Description + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Service Description + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Service Description + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Service Description + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Service Description + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Service Description + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Service Description. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Service Description + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transport Service Description + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Service Description. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transport Service Description + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Service Description. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Service Description + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Service Description. Service Name. Name + A name, assigned by the Transport Service Provider, for the service being announced. + 0..1 + Transport Service Description + Service Name + Name + Name. Type + + + + + + + + + BBIE + Transport Service Description. Response Code. Code + A code signifying a response related to the Transport Service Description. + 0..1 + Transport Service Description + Response Code + Code + Code. Type + + + + + + + + + ASBIE + Transport Service Description. Signature + A signature applied to this document. + 0..n + Transport Service Description + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Service Description. Sender_ Party. Party + The party sending the Transport Service Description. + 0..1 + Transport Service Description + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description. Receiver_ Party. Party + The party receiving the Transport Service Description. + 0..1 + Transport Service Description + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description. Transport Service Description Request_ Document Reference. Document Reference + A Transport Service Description Request to which this Transport Service Description is a response. + 0..1 + Transport Service Description + Transport Service Description Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Service Description. Transport Service Provider_ Party. Party + The transport service provider. + 0..1 + Transport Service Description + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description. Service Charge_ Payment Terms. Payment Terms + The terms of payment under which the transport service would be provided. + 0..1 + Transport Service Description + Service Charge + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Service Description. Validity_ Period. Period + A period during which this Transport Service Description is valid. + 0..1 + Transport Service Description + Validity + Period + Period + Period + + + + + + + + + ASBIE + Transport Service Description. Transportation Service + A transportation service announced in this Transport Service Description. + 0..n + Transport Service Description + Transportation Service + Transportation Service + Transportation Service + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportServiceDescriptionRequest-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportServiceDescriptionRequest-2.1.xsd new file mode 100644 index 0000000..77be8be --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportServiceDescriptionRequest-2.1.xsd @@ -0,0 +1,363 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Service Description Request. Details + A document requesting a Transport Service Description, sent from a party with a transport demand (transport user) to a party providing transport services (transport service provider). + Transport Service Description Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Service Description Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Service Description Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Service Description Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Service Description Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Service Description Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Service Description Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Service Description Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Service Description Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Service Description Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Transport Service Description Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Service Description Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Transport Service Description Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Service Description Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Service Description Request + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Service Description Request. Service Information Preference Code. Code + A code signifying the category of service information requested to be provided in the Transport Service Description. + 0..1 + Transport Service Description Request + Service Information Preference Code + Code + Code. Type + + + + + + + + + ASBIE + Transport Service Description Request. Signature + A signature applied to this document. + 0..n + Transport Service Description Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Service Description Request. Sender_ Party. Party + The party sending the Transport Service Description Request. + 0..1 + Transport Service Description Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description Request. Receiver_ Party. Party + The party receiving the Transport Service Description Request. + 0..1 + Transport Service Description Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description Request. Transport Service Provider_ Party. Party + The transport service provider. + 0..1 + Transport Service Description Request + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description Request. Transportation Service + A transportation service about which information is requested. + 1..n + Transport Service Description Request + Transportation Service + Transportation Service + Transportation Service + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportationStatus-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportationStatus-2.1.xsd new file mode 100644 index 0000000..0290752 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportationStatus-2.1.xsd @@ -0,0 +1,566 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transportation Status. Details + A document to circulate reports of transportation status or changes in status (events) among a group of participants. + Transportation Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transportation Status. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transportation Status + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Transportation Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transportation Status + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Transportation Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transportation Status + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Transportation Status. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transportation Status + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Transportation Status. Identifier + An identifier for this document, assigned by the sender. + 1 + Transportation Status + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Carrier Assigned_ Identifier. Identifier + A reference number assigned by a carrier or its agent to identify a specific shipment, such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Transportation Status + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transportation Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transportation Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transportation Status. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transportation Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transportation Status. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Transportation Status + Name + Name + Name. Type + + + + + + + + + BBIE + Transportation Status. Description. Text + A textual description of transportation status. + 0..n + Transportation Status + Description + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transportation Status + Note + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Shipping Order Identifier. Identifier + A reference number for a shipping order. + 0..1 + Transportation Status + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Other_ Instruction. Text + An instruction regarding this message. + 0..1 + Transportation Status + Other + Instruction + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Transportation Status Type Code. Code + A code signifying the type of status provided in a Transportation Status document. + 0..1 + Transportation Status + Transportation Status Type Code + Code + Code. Type + + + + + + + + + BBIE + Transportation Status. Transport Execution Status Code. Code + A code signifying the overall status of transport service execution. + 0..1 + Transportation Status + Transport Execution Status Code + Code + Code. Type + + + + + + + + + ASBIE + Transportation Status. Consignment + A consignment associated with this Transportation Status report. + 0..n + Transportation Status + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Transportation Status. Transport Event + An event associated with this Transportation Status report. + 0..n + Transportation Status + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Status. Document Reference + A reference to another document associated with this document. + 0..n + Transportation Status + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status. Signature + A signature applied to this document. + 0..n + Transportation Status + Signature + Signature + Signature + + + + + + + + + ASBIE + Transportation Status. Sender_ Party. Party + The party sending this Transportation Status report. + 0..1 + Transportation Status + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status. Receiver_ Party. Party + The party receiving this Transportation Status report. + 0..1 + Transportation Status + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status. Transportation Status Request_ Document Reference. Document Reference + A reference to the Transportation Status Request to which this report is a response. + 0..1 + Transportation Status + Transportation Status Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status. Transport Execution Plan_ Document Reference. Document Reference + A reference to the Transport Execution Plan associated with the transport service whose status is being reported. + 0..1 + Transportation Status + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status. Updated Pickup_ Transport Event. Transport Event + Update of the original plan regarding a pickup of goods. + 0..1 + Transportation Status + Updated Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Status. Updated Delivery_ Transport Event. Transport Event + Update of the original plan regarding a delivery. + 0..1 + Transportation Status + Updated Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Status. Status_ Location. Location + Locations associated with this Transportation Status report. + 0..n + Transportation Status + Status + Location + Location + Location + + + + + + + + + ASBIE + Transportation Status. Status_ Period. Period + A period for which status is provided. + 0..n + Transportation Status + Status + Period + Period + Period + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportationStatusRequest-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportationStatusRequest-2.1.xsd new file mode 100644 index 0000000..daafd1b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-TransportationStatusRequest-2.1.xsd @@ -0,0 +1,484 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transportation Status Request. Details + A document requesting a Transportation Status report. + Transportation Status Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transportation Status Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transportation Status Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Transportation Status Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transportation Status Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Transportation Status Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transportation Status Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Transportation Status Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transportation Status Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Transportation Status Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transportation Status Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. Carrier Assigned_ Identifier. Identifier + A reference number assigned by a carrier or its agent to identify a specific shipment, such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Transportation Status Request + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transportation Status Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transportation Status Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transportation Status Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transportation Status Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transportation Status Request. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Transportation Status Request + Name + Name + Name. Type + + + + + + + + + BBIE + Transportation Status Request. Description. Text + A textual description of the document instance. + 0..n + Transportation Status Request + Description + Text + Text. Type + + + + + + + + + BBIE + Transportation Status Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transportation Status Request + Note + Text + Text. Type + + + + + + + + + BBIE + Transportation Status Request. Shipping Order Identifier. Identifier + A reference number for a shipping order. + 0..1 + Transportation Status Request + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. Other_ Instruction. Text + An instruction regarding this message. + 0..1 + Transportation Status Request + Other + Instruction + Text + Text. Type + + + + + + + + + BBIE + Transportation Status Request. Transportation Status Type Code. Code + A code signifying the type of status requested in a Transportation Status document. + 0..1 + Transportation Status Request + Transportation Status Type Code + Code + Code. Type + + + + + + + + + ASBIE + Transportation Status Request. Sender_ Party. Party + The party sending this document. + 0..1 + Transportation Status Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status Request. Receiver_ Party. Party + The party receiving this document. + 0..1 + Transportation Status Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status Request. Transport Execution Plan_ Document Reference. Document Reference + A reference to the Transport Execution Plan associated with the transport service for which status is requested. + 0..1 + Transportation Status Request + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status Request. Consignment + A consignment regarding which status is requested. + 0..n + Transportation Status Request + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Transportation Status Request. Document Reference + A reference to another document associated with this document. + 0..n + Transportation Status Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status Request. Signature + A signature applied to this document. + 0..n + Transportation Status Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transportation Status Request. Requested Status_ Location. Location + A location for which status is requested. + 0..n + Transportation Status Request + Requested Status + Location + Location + Location + + + + + + + + + ASBIE + Transportation Status Request. Requested Status_ Period. Period + A period for which status is requested. + 0..n + Transportation Status Request + Requested Status + Period + Period + Period + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-UnawardedNotification-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-UnawardedNotification-2.1.xsd new file mode 100644 index 0000000..7faad71 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-UnawardedNotification-2.1.xsd @@ -0,0 +1,415 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Unawarded Notification. Details + A document communicating to a tenderer that the contract has been awarded to different tenderer. + Unawarded Notification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Unawarded Notification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Unawarded Notification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Unawarded Notification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Unawarded Notification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Unawarded Notification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Unawarded Notification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Unawarded Notification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Unawarded Notification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Unawarded Notification. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Unawarded Notification + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unawarded Notification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Unawarded Notification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Unawarded Notification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Unawarded Notification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Unawarded Notification. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Unawarded Notification + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unawarded Notification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Unawarded Notification + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Unawarded Notification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Unawarded Notification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Unawarded Notification. Contract Name. Text + The name, expressed as text, of this procurement project. + 0..n + Unawarded Notification + Contract Name + Text + Text. Type + + + + + + + + + BBIE + Unawarded Notification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Unawarded Notification + Note + Text + Text. Type + + + + + + + + + ASBIE + Unawarded Notification. Signature + A signature applied to this document. + 0..n + Unawarded Notification + Signature + Signature + Signature + + + + + + + + + ASBIE + Unawarded Notification. Sender_ Party. Party + The party sending this document. + 1 + Unawarded Notification + Sender + Party + Party + Party + + + + + + + + + ASBIE + Unawarded Notification. Receiver_ Party. Party + The party receiving this document. + 1 + Unawarded Notification + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Unawarded Notification. Minutes_ Document Reference. Document Reference + A reference to a set of minutes associated with this award. + 0..1 + Unawarded Notification + Minutes + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Unawarded Notification. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. It can be used to include annex documents such as the minutes of the awarding process meetings. + 0..n + Unawarded Notification + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Unawarded Notification. Tender Result + An association to the Tender Result being notified + 1..n + Unawarded Notification + Tender Result + Tender Result + Tender Result + + + + + + + + + ASBIE + Unawarded Notification. Appeal Terms + Terms of appeal for this tendering process. + 0..1 + Unawarded Notification + Appeal Terms + Appeal Terms + Appeal Terms + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-UtilityStatement-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-UtilityStatement-2.1.xsd new file mode 100644 index 0000000..f3fb458 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-UtilityStatement-2.1.xsd @@ -0,0 +1,490 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Utility Statement. Details + A supplement to an Invoice or Credit Note, containing information on the consumption of services provided by utility suppliers to private and public customers, including electricity, gas, water, and telephone services. + Utility Statement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Utility Statement. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Utility Statement + UBL Version Identifier + Identifier + Identifier. Type + 2.0 + + + + + + + + + BBIE + Utility Statement. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Utility Statement + Customization Identifier + Identifier + Identifier. Type + OIOUBL-2.02 + + + + + + + + + BBIE + Utility Statement. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Utility Statement + Profile Identifier + Identifier + Identifier. Type + Reference-Utility-1.0 + + + + + + + + + BBIE + Utility Statement. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Utility Statement + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Utility Statement. Identifier + An identifier for this document, assigned by the sender. + 1 + Utility Statement + Identifier + Identifier + Identifier. Type + 61014906x-1 + + + + + + + + + BBIE + Utility Statement. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Utility Statement + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Utility Statement. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Utility Statement + UUID + Identifier + Identifier. Type + 9756b4d0-8815-1029-857a-e388fe63f499 + + + + + + + + + BBIE + Utility Statement. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Utility Statement + Issue Date + Date + Date. Type + 2007-12-12 + + + + + + + + + BBIE + Utility Statement. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Utility Statement + Issue Time + Time + Time. Type + 12:32:56 + + + + + + + + + BBIE + Utility Statement. Utility Statement Type Code. Code + A code signifying the type of Utility Statement. + 1 + Utility Statement + Utility Statement Type Code + Code + Code. Type + Electricity + + + + + + + + + BBIE + Utility Statement. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Utility Statement + Note + Text + Text. Type + Concerning account remark + + + + + + + + + BBIE + Utility Statement. Document_ Currency Code. Code + A code signifying the default currency for this document. + 1 + Utility Statement + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Utility Statement. Accounting Cost Code. Code + The buyer's accounting cost code, applied to the UtilityStatement. + 0..1 + Utility Statement + Accounting Cost Code + Code + Code. Type + 5050.0 + + + + + + + + + BBIE + Utility Statement. Accounting Cost. Text + The buyer's accounting cost code, applied to the UtilityStatement, expressed as text. + 0..1 + Utility Statement + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Utility Statement. Parent_ Document Reference. Document Reference + A reference to the parent Invoice or Credit Note. + 1 + Utility Statement + Parent + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Utility Statement. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Utility Statement + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Utility Statement. Signature + A signature applied to this document. + 0..n + Utility Statement + Signature + Signature + Signature + + + + + + + + + ASBIE + Utility Statement. Sender_ Party. Party + The party sending this document. + 1 + Utility Statement + Sender + Party + Party + Party + + + + + + + + + ASBIE + Utility Statement. Receiver_ Party. Party + The party receiving this document. + 1 + Utility Statement + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Utility Statement. Customer Party + The buyer, if different from the receiver of the document. + 0..1 + Utility Statement + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Utility Statement. Subscriber_ Party. Party + The subscriber (user or receiver of the service), if different from the buyer and from the party receiving this document. + 0..1 + Utility Statement + Subscriber + Party + Party + Party + + + + + + + + + ASBIE + Utility Statement. Main_ On Account Payment. On Account Payment + A payment on an account. + 0..n + Utility Statement + Main + On Account Payment + On Account Payment + On Account Payment + + + + + + + + + ASBIE + Utility Statement. Subscriber Consumption + A utility statement for a particular consumption point. + 0..n + Utility Statement + Subscriber Consumption + Subscriber Consumption + Subscriber Consumption + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Waybill-2.1.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Waybill-2.1.xsd new file mode 100644 index 0000000..1aaff39 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.1/maindoc/UBL-Waybill-2.1.xsd @@ -0,0 +1,501 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Waybill. Details + A transport document describing a shipment It is issued by the party who undertakes to provide transportation services, or undertakes to arrange for their provision, to the party who gives instructions for the transportation services (shipper, consignor, etc.). It states the instructions for the beneficiary and may contain the details of the transportation, charges, and terms and conditions under which the transportation service is provided. + Waybill + Consignment Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Waybill. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Waybill + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Waybill. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Waybill + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Waybill. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Waybill + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Waybill. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Waybill + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Waybill. Identifier + An identifier for this document, assigned by the sender. + 1 + Waybill + Identifier + Identifier + Identifier. Type + Master Waybill Number + + + + + + + + + BBIE + Waybill. Carrier Assigned_ Identifier. Identifier + An identifier (in the form of a reference number) assigned by a carrier or its agent to identify a specific shipment. + 0..1 + Waybill + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Waybill + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Waybill + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Waybill. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Waybill + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Waybill. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Waybill + Name + Name + Name. Type + Air Waybill , House Waybill + + + + + + + + + BBIE + Waybill. Description. Text + Text describing the contents of the Waybill. + 0..n + Waybill + Description + Text + Text. Type + + + + + + + + + BBIE + Waybill. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Waybill + Note + Text + Text. Type + + + + + + + + + BBIE + Waybill. Shipping Order Identifier. Identifier + An identifier (in the form of a reference number) of the Shipping Order or Forwarding Instruction associated with this shipment. + 0..1 + Waybill + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Waybill + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Waybill. Declared Carriage_ Value. Amount + Value declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage in case of loss or damage to goods or delayed delivery. + 0..1 + Waybill + Declared Carriage + Value + Amount + Amount. Type + + + + + + + + + BBIE + Waybill. Other_ Instruction. Text + Other free-text instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Waybill + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Waybill. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Waybill + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Waybill. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Waybill + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Waybill. Freight Forwarder_ Party. Party + A party combining individual smaller consignments into a single larger shipment (a so-called consolidated consignment or shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Waybill + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Waybill. Shipment + A description of the shipment. + 1 + Waybill + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Waybill. Document Reference + A reference to another document associated with this document. + 0..n + Waybill + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Waybill. Exchange Rate + Information about the rate of exchange (conversion) between two currencies. + 0..n + Waybill + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Waybill. Document Distribution + A list of interested parties to whom this document is distributed. + 0..n + Waybill + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Waybill. Signature + A signature applied to this document. + 0..n + Waybill + Signature + Signature + Signature + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/CCTS_CCT_SchemaModule-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/CCTS_CCT_SchemaModule-2.2.xsd new file mode 100644 index 0000000..b7e8983 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/CCTS_CCT_SchemaModule-2.2.xsd @@ -0,0 +1,731 @@ + + + + + + + + + + + + + + UNDT000001 + CCT + Amount. Type + 1.0 + A number of monetary units specified in a currency where the unit of the currency is explicit or implied. + Amount + decimal + + + + + + + + UNDT000001-SC2 + SC + Amount Currency. Identifier + The currency of the amount. + Amount Currency + Identification + Identifier + string + Reference UNECE Rec 9, using 3-letter alphabetic codes. + + + + + + + UNDT000001-SC3 + SC + Amount Currency. Code List Version. Identifier + The VersionID of the UN/ECE Rec9 code list. + Amount Currency + Code List Version + Identifier + string + + + + + + + + + + + + UNDT000002 + CCT + Binary Object. Type + 1.0 + A set of finite-length sequences of binary octets. + Binary Object + binary + + + + + + + + UNDT000002-SC2 + SC + Binary Object. Format. Text + The format of the binary content. + Binary Object + Format + Text + string + + + + + + + UNDT000002-SC3 + SC + Binary Object. Mime. Code + The mime type of the binary object. + Binary Object + Mime + Code + string + + + + + + + UNDT000002-SC4 + SC + Binary Object. Encoding. Code + Specifies the decoding algorithm of the binary object. + Binary Object + Encoding + Code + string + + + + + + + UNDT000002-SC5 + SC + Binary Object. Character Set. Code + The character set of the binary object if the mime type is text. + Binary Object + Character Set + Code + string + + + + + + + UNDT000002-SC6 + SC + Binary Object. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the binary object is located. + Binary Object + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000002-SC7 + SC + Binary Object. Filename.Text + The filename of the binary object. + Binary Object + Filename + Text + string + + + + + + + + + + + + UNDT000007 + CCT + Code. Type + 1.0 + A character string (letters, figures, or symbols) that for brevity and/or languange independence may be used to represent or replace a definitive value or text of an attribute together with relevant supplementary information. + Code + string + Should not be used if the character string identifies an instance of an object class or an object in the real world, in which case the Identifier. Type should be used. + + + + + + + + UNDT000007-SC2 + SC + Code List. Identifier + The identification of a list of codes. + Code List + Identification + Identifier + string + + + + + + + UNDT000007-SC3 + SC + Code List. Agency. Identifier + An agency that maintains one or more lists of codes. + Code List + Agency + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000007-SC4 + SC + Code List. Agency Name. Text + The name of the agency that maintains the list of codes. + Code List + Agency Name + Text + string + + + + + + + UNDT000007-SC5 + SC + Code List. Name. Text + The name of a list of codes. + Code List + Name + Text + string + + + + + + + UNDT000007-SC6 + SC + Code List. Version. Identifier + The version of the list of codes. + Code List + Version + Identifier + string + + + + + + + UNDT000007-SC7 + SC + Code. Name. Text + The textual equivalent of the code content component. + Code + Name + Text + string + + + + + + + UNDT000007-SC8 + SC + Language. Identifier + The identifier of the language used in the code name. + Language + Identification + Identifier + string + + + + + + + UNDT000007-SC9 + SC + Code List. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list is located. + Code List + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000007-SC10 + SC + Code List Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the code list scheme is located. + Code List Scheme + Uniform Resource Identifier + Identifier + string + + + + + + + + + + + + UNDT000008 + CCT + Date Time. Type + 1.0 + A particular point in the progression of time together with the relevant supplementary information. + Date Time + string + Can be used for a date and/or time. + + + + + + + + UNDT000008-SC1 + SC + Date Time. Format. Text + The format of the date time content + Date Time + Format + Text + string + + + + + + + + + + + + UNDT000011 + CCT + Identifier. Type + 1.0 + A character string to identify and distinguish uniquely, one instance of an object in an identification scheme from all other objects in the same scheme together with relevant supplementary information. + Identifier + string + + + + + + + + UNDT000011-SC2 + SC + Identification Scheme. Identifier + The identification of the identification scheme. + Identification Scheme + Identification + Identifier + string + + + + + + + UNDT000011-SC3 + SC + Identification Scheme. Name. Text + The name of the identification scheme. + Identification Scheme + Name + Text + string + + + + + + + UNDT000011-SC4 + SC + Identification Scheme Agency. Identifier + The identification of the agency that maintains the identification scheme. + Identification Scheme Agency + Identification + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000011-SC5 + SC + Identification Scheme Agency. Name. Text + The name of the agency that maintains the identification scheme. + Identification Scheme Agency + Agency Name + Text + string + + + + + + + UNDT000011-SC6 + SC + Identification Scheme. Version. Identifier + The version of the identification scheme. + Identification Scheme + Version + Identifier + string + + + + + + + UNDT000011-SC7 + SC + Identification Scheme Data. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme data is located. + Identification Scheme Data + Uniform Resource Identifier + Identifier + string + + + + + + + UNDT000011-SC8 + SC + Identification Scheme. Uniform Resource. Identifier + The Uniform Resource Identifier that identifies where the identification scheme is located. + Identification Scheme + Uniform Resource Identifier + Identifier + string + + + + + + + + + + + + UNDT000012 + CCT + Indicator. Type + 1.0 + A list of two mutually exclusive Boolean values that express the only possible states of a Property. + Indicator + string + + + + + + + + UNDT000012-SC2 + SC + Indicator. Format. Text + Whether the indicator is numeric, textual or binary. + Indicator + Format + Text + string + + + + + + + + + + + + UNDT000013 + CCT + Measure. Type + 1.0 + A numeric value determined by measuring an object along with the specified unit of measure. + Measure + decimal + + + + + + + + UNDT000013-SC2 + SC + Measure Unit. Code + The type of unit of measure. + Measure Unit + Code + Code + string + Reference UNECE Rec. 20 and X12 355 + + + + + + + UNDT000013-SC3 + SC + Measure Unit. Code List Version. Identifier + The version of the measure unit code list. + Measure Unit + Code List Version + Identifier + string + + + + + + + + + + + + UNDT000014 + CCT + Numeric. Type + 1.0 + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Numeric + string + + + + + + + + UNDT000014-SC2 + SC + Numeric. Format. Text + Whether the number is an integer, decimal, real number or percentage. + Numeric + Format + Text + string + + + + + + + + + + + + UNDT000018 + CCT + Quantity. Type + 1.0 + A counted number of non-monetary units possibly including fractions. + Quantity + decimal + + + + + + + + UNDT000018-SC2 + SC + Quantity. Unit. Code + The unit of the quantity + Quantity + Unit Code + Code + string + + + + + + + UNDT000018-SC3 + SC + Quantity Unit. Code List. Identifier + The quantity unit code list. + Quantity Unit + Code List + Identifier + string + + + + + + + UNDT000018-SC4 + SC + Quantity Unit. Code List Agency. Identifier + The identification of the agency that maintains the quantity unit code list + Quantity Unit + Code List Agency + Identifier + string + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + UNDT000018-SC5 + SC + Quantity Unit. Code List Agency Name. Text + The name of the agency which maintains the quantity unit code list. + Quantity Unit + Code List Agency Name + Text + string + + + + + + + + + + + + UNDT000019 + CCT + Text. Type + 1.0 + A character string (i.e. a finite set of characters) generally in the form of words of a language. + Text + string + + + + + + + + UNDT000019-SC2 + SC + Language. Identifier + The identifier of the language used in the content component. + Language + Identification + Identifier + string + + + + + + + UNDT000019-SC3 + SC + Language. Locale. Identifier + The identification of the locale of the language. + Language + Locale + Identifier + string + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonAggregateComponents-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonAggregateComponents-2.2.xsd new file mode 100644 index 0000000..10e64fa --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonAggregateComponents-2.2.xsd @@ -0,0 +1,43540 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ABIE + Activity Data Line. Details + A class to associate a time period and locations (activity data) with an item for inventory planning purposes. + Activity Data Line + + + + + + + + + BBIE + Activity Data Line. Identifier + An identifier for this activity data line. + 1 + Activity Data Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Activity Data Line. Supply Chain Activity Type Code. Code + A code signifying the type of supply chain activity. + 1 + Activity Data Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + ASBIE + Activity Data Line. Buyer_ Customer Party. Customer Party + The buyer of the item. + 0..1 + Activity Data Line + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Activity Data Line. Seller_ Supplier Party. Supplier Party + The seller of the item. + 0..1 + Activity Data Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Activity Data Line. Activity_ Period. Period + The period during which the activity is realized. + 0..1 + Activity Data Line + Activity + Period + Period + Period + + + + + + + + + ASBIE + Activity Data Line. Activity Origin_ Location. Location + Either the location where the movement of goods is observed or the location from which the goods are moved. + 1 + Activity Data Line + Activity Origin + Location + Location + Location + + + + + + + + + ASBIE + Activity Data Line. Activity Final_ Location. Location + The location to which the goods are moved. + 0..1 + Activity Data Line + Activity Final + Location + Location + Location + + + + + + + + + ASBIE + Activity Data Line. Sales Item + Sales information for an item to which this line applies. + 1..n + Activity Data Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Activity Property. Details + A class to define a name/value pair for a property of an inventory planning activity. + Activity Property + + + + + + + + + BBIE + Activity Property. Name + The name of this activity property. + 1 + Activity Property + Name + Name + Name. Type + + + + + + + + + BBIE + Activity Property. Value. Text + The value of this activity property. + 1 + Activity Property + Value + Text + Text. Type + + + + + + + + + + + ABIE + Address. Details + A class to define common information related to an address. + Address + + + + + + + + + BBIE + Address. Identifier + An identifier for this address within an agreed scheme of address identifiers. + 0..1 + Address + Identifier + Identifier + Identifier. Type + DetailsKey + + + + + + + + + BBIE + Address. Address Type Code. Code + A mutually agreed code signifying the type of this address. + 0..1 + Address + Address Type Code + Code + Code. Type + + + + + + + + + BBIE + Address. Address Format Code. Code + A mutually agreed code signifying the format of this address. + 0..1 + Address + Address Format Code + Code + Code. Type + + + + + + + + + BBIE + Address. Postbox. Text + A post office box number registered for postal delivery by a postal service provider. + 0..1 + Address + Postbox + Text + Text. Type + PostBox, PO Box + 123 + + + + + + + + + BBIE + Address. Floor. Text + An identifiable floor of a building. + 0..1 + Address + Floor + Text + Text. Type + SubPremiseNumber + 30 + + + + + + + + + BBIE + Address. Room. Text + An identifiable room, suite, or apartment of a building. + 0..1 + Address + Room + Text + Text. Type + SubPremiseNumber + Reception + + + + + + + + + BBIE + Address. Street Name. Name + The name of the street, road, avenue, way, etc. to which the number of the building is attached. + 0..1 + Address + Street Name + Name + Name. Type + Thoroughfare + Kwun Tong Road + + + + + + + + + BBIE + Address. Additional_ Street Name. Name + An additional street name used to further clarify the address. + 0..1 + Address + Additional + Street Name + Name + Name. Type + Thoroughfare + Cnr Aberdeen Road + + + + + + + + + BBIE + Address. Block Name. Name + The name of the block (an area surrounded by streets and usually containing several buildings) in which this address is located. + 0..1 + Address + Block Name + Name + Name. Type + Seabird + + + + + + + + + BBIE + Address. Building Name. Name + The name of a building. + 0..1 + Address + Building Name + Name + Name. Type + BuildingName + Plot 421 + + + + + + + + + BBIE + Address. Building Number. Text + The number of a building within the street. + 0..1 + Address + Building Number + Text + Text. Type + PremiseNumber + 388 + + + + + + + + + BBIE + Address. Inhouse_ Mail. Text + The specific identifable location within a building where mail is delivered. + 0..1 + Address + Inhouse + Mail + Text + Text. Type + MailStop + + + + + + + + + BBIE + Address. Department. Text + The department of the addressee. + 0..1 + Address + Department + Text + Text. Type + Department + Accounts Payable + + + + + + + + + BBIE + Address. Mark Attention. Text + The name, expressed as text, of a person or department in an organization to whose attention incoming mail is directed; corresponds to the printed forms "for the attention of", "FAO", and ATTN:". + 0..1 + Address + Mark Attention + Text + Text. Type + + + + + + + + + BBIE + Address. Mark Care. Text + The name, expressed as text, of a person or organization at this address into whose care incoming mail is entrusted; corresponds to the printed forms "care of" and "c/o". + 0..1 + Address + Mark Care + Text + Text. Type + + + + + + + + + BBIE + Address. Plot Identification. Text + An identifier (e.g., a parcel number) for the piece of land associated with this address. + 0..1 + Address + Plot Identification + Text + Text. Type + + + + + + + + + BBIE + Address. City Subdivision Name. Name + The name of the subdivision of a city, town, or village in which this address is located, such as the name of its district or borough. + 0..1 + Address + City Subdivision Name + Name + Name. Type + + + + + + + + + BBIE + Address. City Name. Name + The name of a city, town, or village. + 0..1 + Address + City Name + Name + Name. Type + LocalityName + Hong Kong + + + + + + + + + BBIE + Address. Postal_ Zone. Text + The postal identifier for this address according to the relevant national postal service, such as a ZIP code or Post Code. + 0..1 + Address + Postal + Zone + Text + Text. Type + PostalCodeNumber + SW11 4EW 2500 GG + + + + + + + + + BBIE + Address. Country Subentity. Text + The political or administrative division of a country in which this address is located, such as the name of its county, province, or state, expressed as text. + 0..1 + Address + Country Subentity + Text + Text. Type + AdministrativeArea, State, Country, Shire, Canton + Florida , Tamilnadu + + + + + + + + + BBIE + Address. Country Subentity Code. Code + The political or administrative division of a country in which this address is located, such as a county, province, or state, expressed as a code (typically nationally agreed). + 0..1 + Address + Country Subentity Code + Code + Code. Type + AdministrativeAreaCode, State Code + + + + + + + + + BBIE + Address. Region. Text + The recognized geographic or economic region or group of countries in which this address is located. + 0..1 + Address + Region + Text + Text. Type + LocalityName, Economic Zone + European Union + + + + + + + + + BBIE + Address. District. Text + The district or geographical division of a country or region in which this address is located. + 0..1 + Address + District + Text + Text. Type + LocalityName, Area + East Coast + + + + + + + + + BBIE + Address. Timezone Offset. Text + The time zone in which this address is located (as an offset from Universal Coordinated Time (UTC)) at the time of exchange. + 0..1 + Address + Timezone Offset + Text + Text. Type + +8:00 -3:00 + + + + + + + + + ASBIE + Address. Address Line + An unstructured address line. + 0..n + Address + Address Line + Address Line + Address Line + + + + + + + + + ASBIE + Address. Country + The country in which this address is situated. + 0..1 + Address + Country + Country + Country + + + + + + + + + ASBIE + Address. Location Coordinate + The geographical coordinates of this address. + 0..n + Address + Location Coordinate + Location Coordinate + Location Coordinate + + + + + + + + + + + ABIE + Address Line. Details + A class to define an unstructured address line. + Address Line + + + + + + + + + BBIE + Address Line. Line. Text + An address line expressed as unstructured text. + 1 + Address Line + Line + Text + Text. Type + 123 Standard Chartered Tower + + + + + + + + + + + ABIE + Air Transport. Details + A class to identify a specific aircraft used for transportation. + Air Transport + + + + + + + + + BBIE + Air Transport. Aircraft Identifier. Identifier + An identifer for a specific aircraft. + 1 + Air Transport + Aircraft Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Allowance Charge. Details + A class to describe information about a charge or discount as applied to a price component. + Allowance Charge + + + + + + + + + BBIE + Allowance Charge. Identifier + An identifier for this allowance or charge. + 0..1 + Allowance Charge + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Allowance Charge. Charge_ Indicator. Indicator + An indicator that this AllowanceCharge describes a charge (true) or a discount (false). + 1 + Allowance Charge + Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Allowance Charge. Allowance Charge Reason Code. Code + A mutually agreed code signifying the reason for this allowance or charge. + 0..1 + Allowance Charge + Allowance Charge Reason Code + Code + Allowance Charge Reason + Allowance Charge Reason_ Code. Type + + + + + + + + + BBIE + Allowance Charge. Allowance Charge_ Reason. Text + The reason for this allowance or charge. + 0..n + Allowance Charge + Allowance Charge + Reason + Text + Text. Type + + + + + + + + + BBIE + Allowance Charge. Multiplier_ Factor. Numeric + A number by which the base amount is multiplied to calculate the actual amount of this allowance or charge. + 0..1 + Allowance Charge + Multiplier + Factor + Numeric + Numeric. Type + 0.20 + + + + + + + + + BBIE + Allowance Charge. Prepaid_ Indicator. Indicator + An indicator that this allowance or charge is prepaid (true) or not (false). + 0..1 + Allowance Charge + Prepaid + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Allowance Charge. Sequence. Numeric + A number indicating the order of this allowance or charge in the sequence of calculations applied when there are multiple allowances or charges. + 0..1 + Allowance Charge + Sequence + Numeric + Numeric. Type + 1, 2, 3, 4, etc. + + + + + + + + + BBIE + Allowance Charge. Amount + The monetary amount of this allowance or charge to be applied. + 1 + Allowance Charge + Amount + Amount + Amount. Type + 35,23 + + + + + + + + + BBIE + Allowance Charge. Base_ Amount. Amount + The monetary amount to which the multiplier factor is applied in calculating the amount of this allowance or charge. + 0..1 + Allowance Charge + Base + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Allowance Charge. Accounting Cost Code. Code + The accounting cost centre used by the buyer to account for this allowance or charge, expressed as a code. + 0..1 + Allowance Charge + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Allowance Charge. Accounting Cost. Text + The accounting cost centre used by the buyer to account for this allowance or charge, expressed as text. + 0..1 + Allowance Charge + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Allowance Charge. Per Unit_ Amount. Amount + The allowance or charge per item; the total allowance or charge is calculated by multiplying the per unit amount by the quantity of items, either at the level of the individual transaction line or for the total number of items in the document, depending on the context in which it appears. + 0..1 + Allowance Charge + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Allowance Charge. Tax Category + A tax category applicable to this allowance or charge. + 0..n + Allowance Charge + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Allowance Charge. Tax Total + The total of all the taxes applicable to this allowance or charge. + 0..1 + Allowance Charge + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Allowance Charge. Payment Means + A means of payment for this allowance or charge. + 0..n + Allowance Charge + Payment Means + Payment Means + Payment Means + + + + + + + + + + + ABIE + Appeal Terms. Details + A class to describe the terms and conditions, set by the contracting authority, under which an appeal can be lodged for a tender award. + Appeal Terms + + + + + + + + + BBIE + Appeal Terms. Description. Text + Text describing the terms of an appeal. + 0..n + Appeal Terms + Description + Text + Text. Type + + + + + + + + + ASBIE + Appeal Terms. Presentation_ Period. Period + The period during which an appeal can be presented. + 0..1 + Appeal Terms + Presentation + Period + Period + Period + + + + + + + + + ASBIE + Appeal Terms. Appeal Information_ Party. Party + The party presenting the information for an appeal. + 0..1 + Appeal Terms + Appeal Information + Party + Party + Party + + + + + + + + + ASBIE + Appeal Terms. Appeal Receiver_ Party. Party + The party to whom an appeal should be presented. + 0..1 + Appeal Terms + Appeal Receiver + Party + Party + Party + + + + + + + + + ASBIE + Appeal Terms. Mediation_ Party. Party + The party that has been appointed to mediate any appeal. + 0..1 + Appeal Terms + Mediation + Party + Party + Party + + + + + + + + + + + ABIE + Attachment. Details + A class to describe an attached document. An attachment can refer to an external document or be included with the document being exchanged. + Attachment + + + + + + + + + BBIE + Attachment. Embedded_ Document. Binary Object + A binary large object containing an attached document. + 0..1 + Attachment + Embedded + Document + Binary Object + Binary Object. Type + + + + + + + + + BBIE + Attachment. Embedded_ Document. Text + A clear text object containing an attached document. + 0..1 + Attachment + Embedded + Document + Text + Text. Type + + + + + + + + + ASBIE + Attachment. External Reference + A reference to an attached document that is external to the document(s) being exchanged. + 0..1 + Attachment + External Reference + External Reference + External Reference + + + + + + + + + + + ABIE + Auction Terms. Details + A class to describe the terms to be fulfilled by tenderers if an auction is to be executed before the awarding of a tender. + Auction Terms + + + + + + + + + BBIE + Auction Terms. Auction_ Constraint. Indicator + Indicates whether an electronic auction will be used before the awarding of a contract (true) or not (false). + 0..1 + Auction Terms + Auction + Constraint + Indicator + Indicator. Type + + + + + + + + + BBIE + Auction Terms. Justification_ Description. Text + Text describing a justification for the use of an auction in awarding the tender. + 0..n + Auction Terms + Justification + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Description. Text + Text for tenderers describing terms governing the auction. + 0..n + Auction Terms + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Process_ Description. Text + Text describing the auction process. + 0..n + Auction Terms + Process + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Conditions_ Description. Text + Text describing the conditions under which the tenderers will be able to bid as part of the auction. + 0..n + Auction Terms + Conditions + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Electronic Device_ Description. Text + Text describing an electronic device used for the auction, including associated connectivity specifications. + 0..n + Auction Terms + Electronic Device + Description + Text + Text. Type + + + + + + + + + BBIE + Auction Terms. Auction_ URI. Identifier + The Uniform Resource Identifier (URI) of the electronic device used for the auction. + 0..1 + Auction Terms + Auction + URI + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Awarding Criterion. Details + A class to define a criterion from the contracting party that will be taken into account when awarding a contract. An awarding criterion can be objective, when it can be evaluated following a formula, or subjective, when human analysis is required. + Awarding Criterion + + + + + + + + + BBIE + Awarding Criterion. Identifier + Identifies a specific awarding criterion. + 0..1 + Awarding Criterion + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarding Criterion. Awarding Criterion Type Code. Code + A code used to define this awarding criterion. + 0..1 + Awarding Criterion + Awarding Criterion Type Code + Code + Code. Type + + + + + + + + + BBIE + Awarding Criterion. Description. Text + A description of the awarding criterion. + 0..n + Awarding Criterion + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion. Weight Numeric. Numeric + A number defining the comparative weighting assigned to this awarding criterion, to enable formulaic evaluation. + 0..1 + Awarding Criterion + Weight Numeric + Numeric + Numeric. Type + + + + + + + + + BBIE + Awarding Criterion. Weight. Text + A description of the comparative weighting for this awarding criterion. + 0..n + Awarding Criterion + Weight + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion. Calculation Expression. Text + The mathematical expression that will be used to evaluate this criterion. + 0..n + Awarding Criterion + Calculation Expression + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion. Calculation Expression Code. Code + A code identifying the mathematical expression that will be used to evaluate this criterion. + 0..1 + Awarding Criterion + Calculation Expression Code + Code + Code. Type + + + + + + + + + BBIE + Awarding Criterion. Minimum_ Quantity. Quantity + The minimum quantity for an awarding criterion. + 0..1 + Awarding Criterion + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Awarding Criterion. Maximum_ Quantity. Quantity + The maximum quantity for an awarding criterion. + 0..1 + Awarding Criterion + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Awarding Criterion. Minimum_ Amount. Amount + The minimum monetary amount for an awarding criterion. + 0..1 + Awarding Criterion + Minimum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Awarding Criterion. Maximum_ Amount. Amount + The maximum monetary amount for an awarding criterion. + 0..1 + Awarding Criterion + Maximum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Awarding Criterion. Minimum Improvement Bid. Text + Describes the minimum improvement bid for this awarding criterion when used in an auction. + 0..n + Awarding Criterion + Minimum Improvement Bid + Text + Text. Type + + + + + + + + + ASBIE + Awarding Criterion. Subordinate_ Awarding Criterion. Awarding Criterion + Defines any subsidiary awarding criterion. + 0..n + Awarding Criterion + Subordinate + Awarding Criterion + Awarding Criterion + Awarding Criterion + + + + + + + + + + + ABIE + Awarding Criterion Response. Details + Defines the response for an awarding criterion from the tendering party. + Awarding Criterion Response + + + + + + + + + BBIE + Awarding Criterion Response. Identifier + An identification of this awarding criterion response. + 0..1 + Awarding Criterion Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarding Criterion Response. Awarding Criterion Identifier. Identifier + An identifer of the awarding criterion being referred to. + 0..1 + Awarding Criterion Response + Awarding Criterion Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarding Criterion Response. Awarding Criterion_ Description. Text + Describes the awarding criterion. + 0..n + Awarding Criterion Response + Awarding Criterion + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion Response. Description. Text + Describes the awarding criterion response. + 0..n + Awarding Criterion Response + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Criterion Response. Quantity + Specifies the quantity tendered for this awarding criterion. + 0..1 + Awarding Criterion Response + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Awarding Criterion Response. Amount + Specifies the monetary amount tendered for this awarding criterion. + 0..1 + Awarding Criterion Response + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Awarding Criterion Response. Subordinate_ Awarding Criterion Response. Awarding Criterion Response + Defines responses to any subsidiary awarding criterion. + 0..n + Awarding Criterion Response + Subordinate + Awarding Criterion Response + Awarding Criterion Response + Awarding Criterion Response + + + + + + + + + + + ABIE + Awarding Terms. Details + A class to define the terms for awarding a contract. + Awarding Terms + + + + + + + + + BBIE + Awarding Terms. Weighting Algorithm Code. Code + A code signifying the weighting algorithm for awarding criteria. When multiple awarding criteria is used, different weighting and choices management algorithms based upon scores and weights of all award criteria can be used. An algorithm for weighting criteria shall be reported in the call for tenders document. It is used to determine how to perform the final management of tenders based on the results in each of the established award criteria + 0..1 + Awarding Terms + Weighting Algorithm Code + Code + Code. Type + + + + + + + + + BBIE + Awarding Terms. Description. Text + Text describing terms under which the contract is to be awarded. + 0..n + Awarding Terms + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Technical Committee_ Description. Text + Text describing the committee of experts evaluating the subjective criteria for awarding the contract. + 0..n + Awarding Terms + Technical Committee + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Low Tenders_ Description. Text + Text describing the exclusion criterion for abnormally low tenders. + 0..n + Awarding Terms + Low Tenders + Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Prize Indicator. Indicator + Indicates whether a prize will be awarded (true) or not (false). + 0..1 + Awarding Terms + Prize Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Awarding Terms. Prize Description. Text + Number and value of the prizes to be awarded. + 0..n + Awarding Terms + Prize Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Payment Description. Text + Details of payments to all participants. + 0..n + Awarding Terms + Payment Description + Text + Text. Type + + + + + + + + + BBIE + Awarding Terms. Followup Contract Indicator. Indicator + Indicates if any service contract following the contest will be awarded to the winner or one of the winners of the contest (true) or not (false). + 0..1 + Awarding Terms + Followup Contract Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Awarding Terms. Binding On Buyer Indicator. Indicator + Indicates if the decision is binding on the buyer (true) or not (false). + 0..1 + Awarding Terms + Binding On Buyer Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Awarding Terms. No Further Negotiation Indicator. Indicator + Indicates if no further negotiation is allowed (true) or not (false). + 0..1 + Awarding Terms + No Further Negotiation Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Awarding Terms. Awarding Criterion + Defines a criterion for awarding this tender. + 0..n + Awarding Terms + Awarding Criterion + Awarding Criterion + Awarding Criterion + + + + + + + + + ASBIE + Awarding Terms. Technical Committee_ Person. Person + A member of a committee of experts evaluating the subjective criteria for awarding the contract. + 0..n + Awarding Terms + Technical Committee + Person + Person + Person + + + + + + + + + + + ABIE + Billing Reference. Details + A class to define a reference to a billing document. + Billing Reference + + + + + + + + + ASBIE + Billing Reference. Invoice_ Document Reference. Document Reference + A reference to an invoice. + 0..1 + Billing Reference + Invoice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Self Billed Invoice_ Document Reference. Document Reference + A reference to a self billed invoice. + 0..1 + Billing Reference + Self Billed Invoice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Credit Note_ Document Reference. Document Reference + A reference to a credit note. + 0..1 + Billing Reference + Credit Note + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Self Billed Credit Note_ Document Reference. Document Reference + A reference to a self billed credit note. + 0..1 + Billing Reference + Self Billed Credit Note + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Debit Note_ Document Reference. Document Reference + A reference to a debit note. + 0..1 + Billing Reference + Debit Note + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Reminder_ Document Reference. Document Reference + A reference to a billing reminder. + 0..1 + Billing Reference + Reminder + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Additional_ Document Reference. Document Reference + A reference to an additional document. + 0..1 + Billing Reference + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Billing Reference. Billing Reference Line + A reference to a transaction line in the billing document. + 0..n + Billing Reference + Billing Reference Line + Billing Reference Line + Billing Reference Line + + + + + + + + + + + ABIE + Billing Reference Line. Details + A class to define a reference to a transaction line in a billing document. + Billing Reference Line + + + + + + + + + BBIE + Billing Reference Line. Identifier + An identifier for this transaction line in a billing document. + 1 + Billing Reference Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Billing Reference Line. Amount + The monetary amount of the transaction line, including any allowances and charges but excluding taxes. + 0..1 + Billing Reference Line + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Billing Reference Line. Allowance Charge + An allowance or charge applicable to the transaction line. + 0..n + Billing Reference Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Branch. Details + A class to describe a branch or a division of an organization. + Branch + + + + + + + + + BBIE + Branch. Identifier + An identifier for this branch or division of an organization. + 0..1 + Branch + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Branch. Name + The name of this branch or division of an organization. + 0..1 + Branch + Name + Name + Name. Type + + + + + + + + + ASBIE + Branch. Financial Institution + The financial institution that this branch belongs to (if applicable). + 0..1 + Branch + Financial Institution + Financial Institution + Financial Institution + + + + + + + + + ASBIE + Branch. Address + The address of this branch or division. + 0..1 + Branch + Address + Address + Address + + + + + + + + + + + ABIE + Budget Account. Details + A class to define a budget account. + Budget Account + + + + + + + + + BBIE + Budget Account. Identifier + An identifier for the budget account, typically an internal accounting reference. + 0..1 + Budget Account + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Budget Account. Budget Year. Numeric + The number of the year for this budget account, e.g. 2012 + 0..1 + Budget Account + Budget Year + Numeric + Numeric. Type + + + + + + + + + ASBIE + Budget Account. Required_ Classification Scheme. Classification Scheme + A classification scheme required for this budget account. + 0..1 + Budget Account + Required + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + + + ABIE + Budget Account Line. Details + A class to define a budget account line. + Budget Account Line + + + + + + + + + BBIE + Budget Account Line. Identifier + An identifier for this budget account line. + 0..1 + Budget Account Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Budget Account Line. Total_ Amount. Amount + The total monetary amount for this budget account line. + 0..1 + Budget Account Line + Total + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Budget Account Line. Budget Account + An account covering this budget account line. + 0..n + Budget Account Line + Budget Account + Budget Account + Budget Account + + + + + + + + + + + ABIE + Capability. Details + A class to describe a specific capability of an organization. + Capability + + + + + + + + + BBIE + Capability. Capability Type Code. Code + This class can be used as Financial or Technical capabilities. For instance, "Turnover" or "Qualified Engineers" are two possible codes. + 0..1 + Capability + Capability Type Code + Code + Code. Type + + + + + + + + + BBIE + Capability. Description. Text + Text describing this capability. + 0..n + Capability + Description + Text + Text. Type + + + + + + + + + BBIE + Capability. Value. Amount + A monetary amount as a measure of this capability. + 0..1 + Capability + Value + Amount + Amount. Type + + + + + + + + + BBIE + Capability. Value_ Quantity. Quantity + A quantity as a measure of this capability. + 0..1 + Capability + Value + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Capability. Evidence Supplied + The evidence that supports the capability claim. + 0..n + Capability + Evidence Supplied + Evidence Supplied + Evidence Supplied + + + + + + + + + ASBIE + Capability. Validity_ Period. Period + The period of time for which this capability is (or has been) valid. + 0..1 + Capability + Validity + Period + Period + Period + + + + + + + + + ASBIE + Capability. Web Site + A web site where the capability is detailed. + 0..1 + Capability + Web Site + Web Site + Web Site + + + + + + + + + + + ABIE + Card Account. Details + A class to define a credit card, debit card, or charge card account. + Card Account + + + + + + + + + BBIE + Card Account. Primary_ Account Number. Identifier + An identifier of the card (e.g., the Primary Account Number (PAN)). + 1 + Card Account + Primary + Account Number + Identifier + Identifier. Type + 4558 XXXX XXXX XXXX (a real card number) + + + + + + + + + BBIE + Card Account. Network. Identifier + An identifier for the financial service network provider of the card. + 1 + Card Account + Network + Identifier + Identifier. Type + VISA, MasterCard, American Express + + + + + + + + + BBIE + Card Account. Card Type Code. Code + A mutually agreed code signifying the type of card. Examples of types are "debit", "credit" and "purchasing" + 0..1 + Card Account + Card Type Code + Code + Code. Type + Debit Card, Credit Card, Procurement Card + + + + + + + + + BBIE + Card Account. Validity Start Date. Date + The date from which the card is valid. + 0..1 + Card Account + Validity Start Date + Date + Date. Type + + + + + + + + + BBIE + Card Account. Expiry Date. Date + The date on which the card expires. + 0..1 + Card Account + Expiry Date + Date + Date. Type + + + + + + + + + BBIE + Card Account. Issuer. Identifier + An identifier for the institution issuing the card. + 0..1 + Card Account + Issuer + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Issue Number. Identifier + An identifier for the card, specified by the issuer. + 0..1 + Card Account + Issue Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. CV2. Identifier + An identifier for the Card Verification Value (often found on the reverse of the card itself). + 0..1 + Card Account + CV2 + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Card Chip Code. Code + A mutually agreed code to distinguish between CHIP and MAG STRIPE cards. + 0..1 + Card Account + Card Chip Code + Code + Chip + Chip_ Code. Type + + + + + + + + + BBIE + Card Account. Chip_ Application. Identifier + An identifier on the chip card for the application that provides the quoted information; an AID (application ID). + 0..1 + Card Account + Chip + Application + Identifier + Identifier. Type + + + + + + + + + BBIE + Card Account. Holder. Name + The name of the cardholder. + 0..1 + Card Account + Holder + Name + Name. Type + + + + + + + + + + + ABIE + Catalogue Item Specification Update Line. Details + A class to define a line describing the transaction that updates the specification of an item in a catalogue. + Catalogue Item Specification Update Line + + + + + + + + + BBIE + Catalogue Item Specification Update Line. Identifier + An identifier for the line to be updated in a catalogue. + 1 + Catalogue Item Specification Update Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Contractor_ Customer Party. Customer Party + The customer responsible for the contract associated with the catalogue item. + 0..1 + Catalogue Item Specification Update Line + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Seller_ Supplier Party. Supplier Party + The seller/supplier responsible for the contract associated with the catalogue item. + 0..1 + Catalogue Item Specification Update Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Item Specification Update Line. Item + The catalogue item to be updated. + 1 + Catalogue Item Specification Update Line + Item + Item + Item + + + + + + + + + + + ABIE + Catalogue Line. Details + A class to define a line in a Catalogue describing a purchasable item. + Catalogue Line + + + + + + + + + BBIE + Catalogue Line. Identifier + An identifier for the line in the catalogue. + 1 + Catalogue Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Catalogue Line. Action Code. Code + A code signifying the action required to synchronize this catalogue line. Recommend codes (delete, update, add) + 0..1 + Catalogue Line + Action Code + Code + Code. Type + Replace , Update , Delete , Add + + + + + + + + + BBIE + Catalogue Line. Life Cycle Status Code. Code + A code signifying the life cycle status of this catalogue line. Examples are pre-order, end of production + 0..1 + Catalogue Line + Life Cycle Status Code + Code + Code. Type + new - announcement only , new and available , deleted - announcement only + + + + + + + + + BBIE + Catalogue Line. Contract Subdivision. Text + A subdivision of a contract or tender covering this catalogue line. + 0..1 + Catalogue Line + Contract Subdivision + Text + Text. Type + Installation , Phase One , Support and Maintenance + + + + + + + + + BBIE + Catalogue Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Line + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Line. Orderable_ Indicator. Indicator + An indicator that this catalogue line describes an orderable item (true) or is included for reference purposes only (false). + 0..1 + Catalogue Line + Orderable + Indicator + Indicator + Indicator. Type + TRUE means orderable, FALSE means not orderable + + + + + + + + + BBIE + Catalogue Line. Orderable_ Unit. Text + A textual description of the units in which the item described in this catalogue line can be ordered. + 0..1 + Catalogue Line + Orderable + Unit + Text + Text. Type + + + + + + + + + BBIE + Catalogue Line. Content Unit. Quantity + The numeric quantity of the ordering unit (and units of measure) of the catalogue line. + 0..1 + Catalogue Line + Content Unit + Quantity + Quantity. Type + If order unit measure identifier is each , then content unit quantity is 1 . + + + + + + + + + BBIE + Catalogue Line. Order Quantity Increment. Numeric + The number of items that can set the order quantity increments. + 0..1 + Catalogue Line + Order Quantity Increment + Numeric + Numeric. Type + + + + + + + + + BBIE + Catalogue Line. Minimum_ Order Quantity. Quantity + The minimum amount of the item described in this catalogue line that can be ordered. + 0..1 + Catalogue Line + Minimum + Order Quantity + Quantity + Quantity. Type + 10 boxes + + + + + + + + + BBIE + Catalogue Line. Maximum_ Order Quantity. Quantity + The maximum amount of the item described in this catalogue line that can be ordered. + 0..1 + Catalogue Line + Maximum + Order Quantity + Quantity + Quantity. Type + 1 tonne + + + + + + + + + BBIE + Catalogue Line. Warranty_ Information. Text + Text about a warranty (provided by WarrantyParty) for the good or service described in this catalogue line. + 0..n + Catalogue Line + Warranty + Information + Text + Text. Type + Unless specified otherwise and in addition to any rights the Customer may have under statute, Dell warrants to the Customer that Dell branded Products (excluding third party products and software), will be free from defects in materials and workmanship affecting normal use for a period of one year from invoice date ( Standard Warranty ). + + + + + + + + + BBIE + Catalogue Line. Pack Level Code. Code + A mutually agreed code signifying the level of packaging associated with the item described in this catalogue line. + 0..1 + Catalogue Line + Pack Level Code + Code + Code. Type + Consumer Unit, Trading Unit + level 2 , Group 4 + + + + + + + + + ASBIE + Catalogue Line. Contractor_ Customer Party. Customer Party + The customer responsible for the contract with which this catalogue line is associated. + 0..1 + Catalogue Line + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Line. Seller_ Supplier Party. Supplier Party + The seller/supplier responsible for the contract with which this catalogue line is associated. + 0..1 + Catalogue Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Line. Warranty_ Party. Party + The party responsible for any warranty associated with the item described in this catalogue line. + 0..1 + Catalogue Line + Warranty + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Line. Warranty Validity_ Period. Period + The period for which a warranty associated with the item in this catalogue line is valid. + 0..1 + Catalogue Line + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Line. Line Validity_ Period. Period + The period for which the information in this catalogue line is valid. + 0..1 + Catalogue Line + Line Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Line. Item Comparison + A combination of price and quantity used to provide price comparisons based on different sizes of order. + 0..n + Catalogue Line + Item Comparison + Item Comparison + Item Comparison + + + + + + + + + ASBIE + Catalogue Line. Component_ Related Item. Related Item + An item that may be a component of the item in this catalogue line. + 0..n + Catalogue Line + Component + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Accessory_ Related Item. Related Item + An item that may be an optional accessory of the item in this catalogue line. + 0..n + Catalogue Line + Accessory + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Required_ Related Item. Related Item + An item that may be required for the item in this catalogue line. + 0..n + Catalogue Line + Required + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Replacement_ Related Item. Related Item + An item that may be a replacement for the item in this catalogue line. + 0..n + Catalogue Line + Replacement + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Complementary_ Related Item. Related Item + An item that may complement the item in this catalogue line. + 0..n + Catalogue Line + Complementary + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Replaced_ Related Item. Related Item + An item in an existing catalogue that is being replaced by the item in this catalogue line. + 0..n + Catalogue Line + Replaced + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Catalogue Line. Required_ Item Location Quantity. Item Location Quantity + Properties of the item in this catalogue line that are dependent on location and quantity. + 0..n + Catalogue Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Catalogue Line. Document Reference + A reference to a document associated with this catalogue line. + 0..n + Catalogue Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue Line. Item + A specification of the item itself. + 1 + Catalogue Line + Item + Item + Item + + + + + + + + + ASBIE + Catalogue Line. Keyword_ Item Property. Item Property + A property of the item in this catalogue line. + 0..n + Catalogue Line + Keyword + Item Property + Item Property + Item Property + + + + + + + + + ASBIE + Catalogue Line. Call For Tenders_ Line Reference. Line Reference + Reference to a Line on a Call For Tenders document. + 0..1 + Catalogue Line + Call For Tenders + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Catalogue Line. Call For Tenders_ Document Reference. Document Reference + A class defining references to a Call For Tenders document. + 0..1 + Catalogue Line + Call For Tenders + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Catalogue Pricing Update Line. Details + A class to define a line describing a pricing update to a catalogue line. + Catalogue Pricing Update Line + + + + + + + + + BBIE + Catalogue Pricing Update Line. Identifier + An identifier for the catalogue line to be updated. + 1 + Catalogue Pricing Update Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Contractor_ Customer Party. Customer Party + The customer responsible for the contract associated with the catalogue line being updated. + 0..1 + Catalogue Pricing Update Line + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Seller_ Supplier Party. Supplier Party + The seller/supplier responsible for the contract associated with the catalogue line being updated. + 0..1 + Catalogue Pricing Update Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Pricing Update Line. Required_ Item Location Quantity. Item Location Quantity + Updated properties of the item in this catalogue line that are dependent on location and quantity. + 0..n + Catalogue Pricing Update Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + + + ABIE + Catalogue Reference. Details + A class to define a reference to a catalogue. + Catalogue Reference + + + + + + + + + BBIE + Catalogue Reference. Identifier + An identifier for a specific catalogue. + 1 + Catalogue Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Reference. UUID. Identifier + A universally unique identifier for a specific catalogue. + 0..1 + Catalogue Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Reference. Issue Date. Date + The date on which the catalogue was issued. + 0..1 + Catalogue Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Reference. Issue Time. Time + The time at which the catalogue was issued. + 0..1 + Catalogue Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Reference. Revision Date. Date + The date on which the information in the catalogue was last revised. + 0..1 + Catalogue Reference + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Reference. Revision Time. Time + The time at which the information in the catalogue was last revised. + 0..1 + Catalogue Reference + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Reference. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Reference + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Reference. Description. Text + Text describing the catalogue. + 0..n + Catalogue Reference + Description + Text + Text. Type + computer accessories for laptops + + + + + + + + + BBIE + Catalogue Reference. Version. Identifier + An identifier for the current version of the catalogue. + 0..1 + Catalogue Reference + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Reference. Previous_ Version. Identifier + An identifier for the previous version of the catalogue that is superseded by this version. + 0..1 + Catalogue Reference + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + + + ABIE + Catalogue Request Line. Details + A class to define a line describing a request for a catalogue line. + Catalogue Request Line + + + + + + + + + BBIE + Catalogue Request Line. Identifier + An identifier for the requested catalogue line. + 1 + Catalogue Request Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Catalogue Request Line. Contract Subdivision. Text + A subdivision of a contract or tender covering the line being requested. + 0..1 + Catalogue Request Line + Contract Subdivision + Text + Text. Type + Installation , Phase One , Support and Maintenance + + + + + + + + + BBIE + Catalogue Request Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Request Line + Note + Text + Text. Type + + + + + + + + + ASBIE + Catalogue Request Line. Line Validity_ Period. Period + The period for which the information in the requested catalogue line is valid. + 0..1 + Catalogue Request Line + Line Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Request Line. Required_ Item Location Quantity. Item Location Quantity + Properties of the item in the requested catalogue line that are dependent on location and quantity. + 0..n + Catalogue Request Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Catalogue Request Line. Item + The item associated with the requested catalogue line. + 1 + Catalogue Request Line + Item + Item + Item + + + + + + + + + + + ABIE + Certificate. Details + A class to define a certificate applied to the item. Certificated can be a requirement to sell goods or services in a jurisdiction. + Certificate + + + + + + + + + BBIE + Certificate. Identifier + An identifier for this certificate. + 1 + Certificate + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate. Certificate Type Code. Code + The type of this certificate, expressed as a code. The type specifies what array it belongs to, e.g.. Environmental, security, health improvement etc. + 1 + Certificate + Certificate Type Code + Code + Code. Type + + + + + + + + + BBIE + Certificate. Certificate Type. Text + The type of this certificate, expressed as a code. The type specifies what array it belongs to, e.g.. Environmental, security, health improvement etc. + 1 + Certificate + Certificate Type + Text + Text. Type + + + + + + + + + BBIE + Certificate. Remarks. Text + Remarks by the applicant for this certificate. + 0..n + Certificate + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Certificate. Issuer_ Party. Party + The authorized organization that issued this certificate, the provider of the certificate. + 1 + Certificate + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Certificate. Document Reference + A reference to a document relevant to this certificate or an application for this certificate. + 0..n + Certificate + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Certificate. Signature + A signature applied to this certificate. + 0..n + Certificate + Signature + Signature + Signature + + + + + + + + + + + ABIE + Certificate Of Origin Application. Details + A class to define an application for a Certificate of Origin (CoO). + Certificate Of Origin Application + + + + + + + + + BBIE + Certificate Of Origin Application. Reference. Identifier + An identifier for a reference as part of the CoO application. + 1 + Certificate Of Origin Application + Reference + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Certificate Type. Text + The type of CoO being applied for (Ordinary, Re-export, Commonwealth Preferential, etc.). + 1 + Certificate Of Origin Application + Certificate Type + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Application Status Code. Code + A code signifying the status of the application (revision, replacement, etc.). + 0..1 + Certificate Of Origin Application + Application Status Code + Code + Code. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Original_ Job Identifier. Identifier + The latest job number given to the CoO application. This is used by the system to keep track of amendments to or cancellation of any earlier applications. + 1 + Certificate Of Origin Application + Original + Job Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Previous_ Job Identifier. Identifier + An identifier for the previous job used in case the application requires query or change. + 0..1 + Certificate Of Origin Application + Previous + Job Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin Application. Remarks. Text + Remarks by the applicant for the CoO. + 0..n + Certificate Of Origin Application + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Certificate Of Origin Application. Shipment + The shipment of goods covered by the CoO. + 1 + Certificate Of Origin Application + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Certificate Of Origin Application. Endorser Party + A party providing an endorsement to the CoO. + 1..n + Certificate Of Origin Application + Endorser Party + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Preparation_ Party. Party + The party (individual, group, or body) that prepared this CoO application. + 1 + Certificate Of Origin Application + Preparation + Party + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Issuer_ Party. Party + The organization authorized to issue the CoO requested by this application. + 1 + Certificate Of Origin Application + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Certificate Of Origin Application. Exporter_ Party. Party + The party making an export declaration, or on behalf of which the export declaration is made, and that is the owner of the goods or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Certificate Of Origin Application + Exporter + Party + Party + Party + Exporter (WCO ID 41 and 42) + + + + + + + + + ASBIE + Certificate Of Origin Application. Importer_ Party. Party + The party making an import declaration, or on behalf of which a customs clearing agent or other authorized person makes an import declaration. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Certificate Of Origin Application + Importer + Party + Party + Party + Importer (WCO ID 39 and 40) + + + + + + + + + ASBIE + Certificate Of Origin Application. Issuing_ Country. Country + The country where the requested CoO will be issued. + 1 + Certificate Of Origin Application + Issuing + Country + Country + Country + + + + + + + + + ASBIE + Certificate Of Origin Application. Document Distribution + An interested party to which the CoO is to be distributed. + 0..n + Certificate Of Origin Application + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Certificate Of Origin Application. Supporting_ Document Reference. Document Reference + A reference to a document supporting this application. + 0..n + Certificate Of Origin Application + Supporting + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Certificate Of Origin Application. Signature + A signature applied to this application. + 0..n + Certificate Of Origin Application + Signature + Signature + Signature + + + + + + + + + + + ABIE + Classification Category. Details + A class to define a category within a classification scheme. + Classification Category + + + + + + + + + BBIE + Classification Category. Name + The name of this category within the classification scheme. + 0..1 + Classification Category + Name + Name + Name. Type + Code List Name + UNSPSC Class , UNSPSC Segment , UNSPSC Family + + + + + + + + + BBIE + Classification Category. Code Value. Text + The value of a code used to identify this category within the classification scheme. + 0..1 + Classification Category + Code Value + Text + Text. Type + Code Value + 3420001, 3273666, HSJJD-213 + + + + + + + + + BBIE + Classification Category. Description. Text + Text describing this category. + 0..n + Classification Category + Description + Text + Text. Type + Code Name + Electrical Goods , Wooden Toys + + + + + + + + + ASBIE + Classification Category. Categorizes_ Classification Category. Classification Category + A recursive description of a subcategory of this category. + 0..n + Classification Category + Categorizes + Classification Category + Classification Category + Classification Category + + + + + + + + + + + ABIE + Classification Scheme. Details + A class to define a classification scheme, such as a taxonomy for classifying goods or services. + Classification Scheme + + + + + + + + + BBIE + Classification Scheme. Identifier + An identifier for this classification scheme. + 1 + Classification Scheme + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. UUID. Identifier + A universally unique identifier for this classification scheme. + 0..1 + Classification Scheme + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Last_ Revision Date. Date + The date on which this classification scheme was last revised. + 0..1 + Classification Scheme + Last + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Classification Scheme. Last_ Revision Time. Time + The time at which this classification scheme was last revised. + 0..1 + Classification Scheme + Last + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Classification Scheme. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Classification Scheme + Note + Text + Text. Type + + + + + + + + + BBIE + Classification Scheme. Name + The name of this classification scheme. + 0..1 + Classification Scheme + Name + Name + Name. Type + UNSPSC + + + + + + + + + BBIE + Classification Scheme. Description. Text + Text describing this classification scheme. + 0..n + Classification Scheme + Description + Text + Text. Type + an open, global multi-sector standard for classification of products and services + + + + + + + + + BBIE + Classification Scheme. Agency Identifier. Identifier + An identifier for the agency that maintains this classification scheme. + 0..1 + Classification Scheme + Agency Identifier + Identifier + Identifier. Type + Defaults to the UN/EDIFACT data element 3055 code list. + + + + + + + + + BBIE + Classification Scheme. Agency Name. Name + The name of the agency that maintains the classification scheme. + 0..1 + Classification Scheme + Agency Name + Name + Name. Type + + + + + + + + + BBIE + Classification Scheme. Version. Identifier + An identifier for the version of this classification scheme. + 0..1 + Classification Scheme + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. URI. Identifier + The Uniform Resource Identifier (URI) of the documentation for this classification scheme. + 0..1 + Classification Scheme + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Scheme_ URI. Identifier + The Uniform Resource Identifier (URI) of this classification scheme. + 0..1 + Classification Scheme + Scheme + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Classification Scheme. Language. Identifier + An identifier for the language of this classification scheme. + 0..1 + Classification Scheme + Language + Identifier + Identifier. Type + + + + + + + + + ASBIE + Classification Scheme. Classification Category + A description of a category within this classification scheme. + 1..n + Classification Scheme + Classification Category + Classification Category + Classification Category + + + + + + + + + + + ABIE + Clause. Details + A class to define a clause (a distinct article or provision) in a contract, treaty, will, or other formal or legal written document requiring compliance. + Clause + + + + + + + + + BBIE + Clause. Identifier + An identifier for this clause. + 0..1 + Clause + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Clause. Content. Text + The text of this clause. + 0..n + Clause + Content + Text + Text. Type + + + + + + + + + + + ABIE + Commodity Classification. Details + A class to describe the classification of a commodity. + Commodity Classification + + + + + + + + + BBIE + Commodity Classification. Nature Code. Code + A code defined by a specific maintenance agency signifying the high-level nature of the commodity. + 0..1 + Commodity Classification + Nature Code + Code + Code. Type + wooden products + + + + + + + + + BBIE + Commodity Classification. Cargo Type Code. Code + A mutually agreed code signifying the type of cargo for purposes of commodity classification. + 0..1 + Commodity Classification + Cargo Type Code + Code + Code. Type + Refrigerated + + + + + + + + + BBIE + Commodity Classification. Commodity Code. Code + The harmonized international commodity code for cross border and regulatory (customs and trade statistics) purposes. + 0..1 + Commodity Classification + Commodity Code + Code + Code. Type + Harmonized Code + 1102222883 + + + + + + + + + BBIE + Commodity Classification. Item Classification Code. Code + A code signifying the trade classification of the commodity. + 0..1 + Commodity Classification + Item Classification Code + Code + Code. Type + UN/SPSC Code + 3440234 + + + + + + + + + + + ABIE + Communication. Details + A class to describe a means of communication. + Communication + + + + + + + + + BBIE + Communication. Channel Code. Code + The method of communication, expressed as a code. + 0..1 + Communication + Channel Code + Code + Channel + Channel_ Code. Type + Phone Fax Email + + + + + + + + + BBIE + Communication. Channel. Text + The method of communication, expressed as text. + 0..1 + Communication + Channel + Text + Text. Type + Skype + + + + + + + + + BBIE + Communication. Value. Text + An identifying value (phone number, email address, etc.) for this channel of communication + 0..1 + Communication + Value + Text + Text. Type + +44 1 2345 6789 president@whitehouse.com + + + + + + + + + + + ABIE + Completed Task. Details + A class to describe the completion of a specific task in the tendering process. + Completed Task + + + + + + + + + BBIE + Completed Task. Annual_ Average. Amount + The average monetary amount of a task such as this completed task. + 0..1 + Completed Task + Annual + Average + Amount + Amount. Type + + + + + + + + + BBIE + Completed Task. Total Task. Amount + The actual total monetary amount of this completed task. + 0..1 + Completed Task + Total Task + Amount + Amount. Type + + + + + + + + + BBIE + Completed Task. Party Capacity. Amount + A monetary amount corresponding to the financial capacity of the party that carried out this completed task. + 0..1 + Completed Task + Party Capacity + Amount + Amount. Type + + + + + + + + + BBIE + Completed Task. Description. Text + Text describing this completed task. + 0..n + Completed Task + Description + Text + Text. Type + + + + + + + + + ASBIE + Completed Task. Evidence Supplied + The evidence justifying a designation of "complete" for this task. + 0..n + Completed Task + Evidence Supplied + Evidence Supplied + Evidence Supplied + + + + + + + + + ASBIE + Completed Task. Period + The period in which this completed task was performed. + 0..1 + Completed Task + Period + Period + Period + + + + + + + + + ASBIE + Completed Task. Recipient_ Customer Party. Customer Party + The original customer for this completed task. + 0..1 + Completed Task + Recipient + Customer Party + Customer Party + Customer Party + + + + + + + + + + + ABIE + Condition. Details + A class to define a measurable condition of an object. + Condition + + + + + + + + + BBIE + Condition. Attribute Identifier. Identifier + An identifier for the attribute that applies to the condition. + 1 + Condition + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Condition. Measure + The measurement value. + 0..1 + Condition + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Condition. Description. Text + Text describing the attribute that applies to the condition. + 0..n + Condition + Description + Text + Text. Type + + + + + + + + + BBIE + Condition. Minimum_ Measure. Measure + The minimum value in a range of measurement for this condition. + 0..1 + Condition + Minimum + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Condition. Maximum_ Measure. Measure + The maximum value in a range of measurement for this condition. + 0..1 + Condition + Maximum + Measure + Measure + Measure. Type + + + + + + + + + + + ABIE + Consignment. Details + A class to describe an identifiable collection of one or more goods items to be transported between the consignor and the consignee. This information may be defined within a transport contract. A consignment may comprise more than one shipment (e.g., when consolidated by a freight forwarder). + Consignment + + + + + + + + + BBIE + Consignment. Identifier + An identifier assigned to a collection of goods for both import and export. + 1 + Consignment + Identifier + Identifier + Identifier. Type + Unique consignment reference number (UCR) + + + + + + + + + BBIE + Consignment. Carrier Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the carrier. + 0..1 + Consignment + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Consignee Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the consignee. + 0..1 + Consignment + Consignee Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Consignor Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the consignor. + 0..1 + Consignment + Consignor Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Freight Forwarder Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the freight forwarder. + 0..1 + Consignment + Freight Forwarder Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Broker Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the broker. + 0..1 + Consignment + Broker Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Contracted Carrier Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the contracted carrier. + 0..1 + Consignment + Contracted Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Performing Carrier Assigned_ Identifier. Identifier + An identifier for this consignment, assigned by the performing carrier. + 0..1 + Consignment + Performing Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Summary_ Description. Text + A textual summary description of the consignment. + 0..n + Consignment + Summary + Description + Text + Text. Type + + + + + + + + + BBIE + Consignment. Total_ Invoice Amount. Amount + The total of all invoice amounts declared in this consignment. + 0..1 + Consignment + Total + Invoice Amount + Amount + Amount. Type + + + + + + + + + BBIE + Consignment. Declared Customs_ Value. Amount + The total declared value for customs purposes of all the goods in this consignment, regardless of whether they are subject to the same customs procedure, tariff/statistical categorization, country information, or duty regime. + 0..1 + Consignment + Declared Customs + Value + Amount + Amount. Type + + + + + + + + + BBIE + Consignment. Tariff Description. Text + Text describing the tariff applied to this consignment. + 0..n + Consignment + Tariff Description + Text + Text. Type + + + + + + + + + BBIE + Consignment. Tariff Code. Code + A code signifying the tariff applied to this consignment. + 0..1 + Consignment + Tariff Code + Code + Code. Type + Tariff code number (WCO ID 145) + + + + + + + + + BBIE + Consignment. Insurance Premium Amount. Amount + The amount of the premium payable to an insurance company for insuring the goods contained in this consignment. + 0..1 + Consignment + Insurance Premium Amount + Amount + Amount. Type + Insurance Cost + + + + + + + + + BBIE + Consignment. Gross_ Weight. Measure + The total declared weight of the goods in this consignment, including packaging but excluding the carrier's equipment. + 0..1 + Consignment + Gross + Weight + Measure + Measure. Type + Total gross weight (WCO ID 131) + Total cube of all goods items referred to as one consignment. + + + + + + + + + BBIE + Consignment. Net_ Weight. Measure + The total net weight of all the goods items referred to as one consignment. + 0..1 + Consignment + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Net Net_ Weight. Measure + The total net weight of the goods in this consignment, exclusive of packaging. + 0..1 + Consignment + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Chargeable_ Weight. Measure + The weight upon which a charge is to be based. + 0..1 + Consignment + Chargeable + Weight + Measure + Measure. Type + Chargeable Weight. Basis.Measure + + + + + + + + + BBIE + Consignment. Gross_ Volume. Measure + The total volume of the goods referred to as one consignment. + 0..1 + Consignment + Gross + Volume + Measure + Measure. Type + Cube + + + + + + + + + BBIE + Consignment. Net_ Volume. Measure + The total net volume of all goods items referred to as one consignment. + 0..1 + Consignment + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Loading_ Length. Measure + The total length in a means of transport or a piece of transport equipment which, given the width and height of the transport means, will accommodate all of the consignments in a single consolidation. + 0..1 + Consignment + Loading + Length + Measure + Measure. Type + + + + + + + + + BBIE + Consignment. Remarks. Text + Remarks concerning the complete consignment, to be printed on the transport document. + 0..n + Consignment + Remarks + Text + Text. Type + + + + + + + + + BBIE + Consignment. Hazardous Risk_ Indicator. Indicator + An indication that the transported goods in this consignment are subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Consignment + Hazardous Risk + Indicator + Indicator + Indicator. Type + Dangerous Goods RID Indicator + default is negative + + + + + + + + + BBIE + Consignment. Animal_ Food Indicator. Indicator + An indication that the transported goods in this consignment are animal foodstuffs (true) or not (false). + 0..1 + Consignment + Animal + Food Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Human_ Food Indicator. Indicator + An indication that the transported goods in this consignment are for human consumption (true) or not (false). + 0..1 + Consignment + Human + Food Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Livestock_ Indicator. Indicator + An indication that the transported goods are livestock (true) or not (false). + 0..1 + Consignment + Livestock + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Bulk Cargo_ Indicator. Indicator + An indication that the transported goods in this consignment are bulk cargoes (true) or not (false). + 0..1 + Consignment + Bulk Cargo + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Containerized_ Indicator. Indicator + An indication that the transported goods in this consignment are containerized cargoes (true) or not (false). + 0..1 + Consignment + Containerized + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. General Cargo_ Indicator. Indicator + An indication that the transported goods in this consignment are general cargoes (true) or not (false). + 0..1 + Consignment + General Cargo + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Special_ Security Indicator. Indicator + An indication that the transported goods in this consignment require special security (true) or not (false). + 0..1 + Consignment + Special + Security Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Third Party Payer_ Indicator. Indicator + An indication that this consignment will be paid for by a third party (true) or not (false). + 0..1 + Consignment + Third Party Payer + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Carrier Service_ Instructions. Text + Service instructions to the carrier, expressed as text. + 0..n + Consignment + Carrier Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Customs Clearance Service_ Instructions. Text + Service instructions for customs clearance, expressed as text. + 0..n + Consignment + Customs Clearance Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Forwarder Service_ Instructions. Text + Service instructions for the forwarder, expressed as text. + 0..n + Consignment + Forwarder Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Special Service_ Instructions. Text + Special service instructions, expressed as text. + 0..n + Consignment + Special Service + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Sequence Identifier. Identifier + A sequence identifier for this consignment. + 0..1 + Consignment + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Shipping Priority Level Code. Code + A code signifying the priority or level of service required for this consignment. + 0..1 + Consignment + Shipping Priority Level Code + Code + Code. Type + + + + + + + + + BBIE + Consignment. Handling Code. Code + The handling required for this consignment, expressed as a code. + 0..1 + Consignment + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Consignment. Handling_ Instructions. Text + The handling required for this consignment, expressed as text. + 0..n + Consignment + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Information. Text + Free-form text pertinent to this consignment, conveying information that is not contained explicitly in other structures. + 0..n + Consignment + Information + Text + Text. Type + + + + + + + + + BBIE + Consignment. Total_ Goods Item Quantity. Quantity + The total number of goods items in this consignment. + 0..1 + Consignment + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consignment. Total_ Transport Handling Unit Quantity. Quantity + The number of pieces of transport handling equipment (pallets, boxes, cases, etc.) in this consignment. + 0..1 + Consignment + Total + Transport Handling Unit Quantity + Quantity + Quantity. Type + Number of THUs + + + + + + + + + BBIE + Consignment. Insurance_ Value. Amount + The amount covered by insurance for this consignment. + 0..1 + Consignment + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Consignment. Declared For Carriage_ Value. Amount + The value of this consignment, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Consignment + Declared For Carriage + Value + Amount + Amount. Type + Declared value for carriage, Interest in delivery + + + + + + + + + BBIE + Consignment. Declared Statistics_ Value. Amount + The value, declared for statistical purposes, of those goods in this consignment that have the same statistical heading. + 0..1 + Consignment + Declared Statistics + Value + Amount + Amount. Type + Statistical Value + + + + + + + + + BBIE + Consignment. Free On Board_ Value. Amount + The monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Consignment + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Consignment. Special_ Instructions. Text + Special instructions relating to this consignment. + 0..n + Consignment + Special + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Split Consignment_ Indicator. Indicator + An indicator that this consignment has been split in transit (true) or not (false). + 0..1 + Consignment + Split Consignment + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Consignment. Delivery_ Instructions. Text + A set of delivery instructions relating to this consignment. + 0..n + Consignment + Delivery + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Consignment_ Quantity. Quantity + The count in this consignment considering goods items, child consignments, shipments + 0..1 + Consignment + Consignment + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consignment. Consolidatable_ Indicator. Indicator + An indicator that this consignment can be consolidated (true) or not (false). + 0..1 + Consignment + Consolidatable + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Consignment. Haulage_ Instructions. Text + Instructions regarding haulage of this consignment, expressed as text. + 0..n + Consignment + Haulage + Instructions + Text + Text. Type + + + + + + + + + BBIE + Consignment. Loading_ Sequence Identifier. Identifier + An identifier for the loading sequence of this consignment. + 0..1 + Consignment + Loading + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Consignment. Child Consignment Quantity. Quantity + The quantity of (consolidated) child consignments + 0..1 + Consignment + Child Consignment Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consignment. Total_ Packages Quantity. Quantity + The total number of packages associated with a Consignment. + 0..1 + Consignment + Total + Packages Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Consignment. Consolidated_ Shipment. Shipment + A consolidated shipment (a shipment created by an act of consolidation). + 0..n + Consignment + Consolidated + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Consignment. Customs Declaration + A class describing identifiers or references relating to customs procedures. + 0..n + Consignment + Customs Declaration + Customs Declaration + Customs Declaration + + + + + + + + + ASBIE + Consignment. Requested Pickup_ Transport Event. Transport Event + The pickup of this consignment requested by the party requesting a transportation service (the transport user). + 0..1 + Consignment + Requested Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Requested Delivery_ Transport Event. Transport Event + The delivery of this consignment requested by the party requesting a transportation service (the transport user). + 0..1 + Consignment + Requested Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Planned Pickup_ Transport Event. Transport Event + The pickup of this consignment planned by the party responsible for providing the transportation service (the transport service provider). + 0..1 + Consignment + Planned Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Planned Delivery_ Transport Event. Transport Event + The delivery of this consignment planned by the party responsible for providing the transportation service (the transport service provider). + 0..1 + Consignment + Planned Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Actual Pickup_ Transport Event. Transport Event + The actual pickup of this consignment by the party responsible for providing the transportation service (the transport service provider). + 0..1 + Consignment + Actual Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Actual Delivery_ Transport Event. Transport Event + The actual delivery of this consignment by the party responsible for providing the transportation service (the transport service provider). + 0..1 + Consignment + Actual Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Status + The status of a particular condition associated with this consignment. + 0..n + Consignment + Status + Status + Status + + + + + + + + + ASBIE + Consignment. Child_ Consignment. Consignment + One of the child consignments of which a consolidated consignment is composed. + 0..n + Consignment + Child + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Consignment. Consignee_ Party. Party + A party to which goods are consigned. + 0..1 + Consignment + Consignee + Party + Party + Party + Consignee (WCO ID 51 and 52) + + + + + + + + + ASBIE + Consignment. Exporter_ Party. Party + The party that makes the export declaration, or on behalf of which the export declaration is made, and that is the owner of the goods in this consignment or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Consignment + Exporter + Party + Party + Party + Exporter (WCO ID 41 and 42) + + + + + + + + + ASBIE + Consignment. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Consignment + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Consignment. Importer_ Party. Party + The party that makes an import declaration regarding this consignment, or on behalf of which a customs clearing agent or other authorized person makes an import declaration regarding this consignment. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Consignment + Importer + Party + Party + Party + Importer (WCO ID 39 and 40) + + + + + + + + + ASBIE + Consignment. Carrier_ Party. Party + The party providing the transport of goods in this consignment between named points. + 0..1 + Consignment + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Consignment. Freight Forwarder_ Party. Party + The party combining individual smaller consignments into a single larger shipment (the consolidated shipment), which is sent to a counterpart that mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Consignment + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Consignment. Notify_ Party. Party + The party to be notified upon arrival of goods and when special occurrences (usually pre-defined) take place during a transportation service. + 0..1 + Consignment + Notify + Party + Party + Party + WCO ID 57 and 58 + + + + + + + + + ASBIE + Consignment. Original Despatch_ Party. Party + The original despatch (sender) party for this consignment. + 0..1 + Consignment + Original Despatch + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Final Delivery_ Party. Party + The final delivery party for this consignment. + 0..1 + Consignment + Final Delivery + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Performing Carrier_ Party. Party + The party performing the carriage of this consignment. + 0..1 + Consignment + Performing Carrier + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Substitute Carrier_ Party. Party + A substitute party performing the carriage of this consignment. + 0..1 + Consignment + Substitute Carrier + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Logistics Operator_ Party. Party + The logistics operator party for this consignment. + 0..1 + Consignment + Logistics Operator + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Transport Advisor_ Party. Party + The party providing transport advice this consignment. + 0..1 + Consignment + Transport Advisor + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Hazardous Item Notification_ Party. Party + The party that would be notified of a hazardous item in this consignment. + 0..1 + Consignment + Hazardous Item Notification + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Insurance_ Party. Party + The party holding the insurance for this consignment. + 0..1 + Consignment + Insurance + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Mortgage Holder_ Party. Party + The party holding the mortgage for this consignment. + 0..1 + Consignment + Mortgage Holder + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Bill Of Lading Holder_ Party. Party + The party holding the bill of lading for this consignment. + 0..1 + Consignment + Bill Of Lading Holder + Party + Party + Party + + + + + + + + + ASBIE + Consignment. Original Departure_ Country. Country + The country from which the goods in this consignment were originally exported, without any commercial transaction taking place in intermediate countries. + 0..1 + Consignment + Original Departure + Country + Country + Country + Country of origin (WCO ID 062) + + + + + + + + + ASBIE + Consignment. Final Destination_ Country. Country + The country in which the goods in this consignment are to be delivered to the final consignee or buyer. + 0..1 + Consignment + Final Destination + Country + Country + Country + Ultimate Destination Country, Country of Final Arrival, Country of Destination + + + + + + + + + ASBIE + Consignment. Transit_ Country. Country + One of the countries through which goods or passengers in this consignment are routed between the country of original departure and the country of final destination. + 0..n + Consignment + Transit + Country + Country + Country + Country(ies) of routing (WCO ID 064) + + + + + + + + + ASBIE + Consignment. Transport_ Contract. Contract + A transport contract relating to this consignment. + 0..1 + Consignment + Transport + Contract + Contract + Contract + + + + + + + + + ASBIE + Consignment. Transport Event + A class describing a significant occurrence or happening related to the transportation of goods. + 0..n + Consignment + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Consignment. Original Despatch_ Transportation Service. Transportation Service + The service for pickup from the consignor under the transport contract for this consignment. + 0..1 + Consignment + Original Despatch + Transportation Service + Transportation Service + Transportation Service + Door-to-door , Pier-to-door + + + + + + + + + ASBIE + Consignment. Final Delivery_ Transportation Service. Transportation Service + The service for delivery to the consignee under the transport contract for this consignment. + 0..1 + Consignment + Final Delivery + Transportation Service + Transportation Service + Transportation Service + Door-to-door , Pier-to-door + + + + + + + + + ASBIE + Consignment. Delivery Terms + The conditions agreed upon between a seller and a buyer with regard to the delivery of goods and/or services (e.g., CIF, FOB, or EXW from the INCOTERMS Terms of Delivery). + 0..1 + Consignment + Delivery Terms + Delivery Terms + Delivery Terms + Trade Terms, INCOTERMS + + + + + + + + + ASBIE + Consignment. Payment Terms + The terms of payment between the parties (such as logistics service client, logistics service provider) in a transaction. + 0..1 + Consignment + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Collect_ Payment Terms. Payment Terms + The terms of payment that apply to the collection of this consignment. + 0..1 + Consignment + Collect + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Disbursement_ Payment Terms. Payment Terms + The terms of payment for disbursement. + 0..1 + Consignment + Disbursement + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Prepaid_ Payment Terms. Payment Terms + The terms of payment for prepayment. + 0..1 + Consignment + Prepaid + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Consignment. Freight_ Allowance Charge. Allowance Charge + A cost incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage for this consignment. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance to the extent that they relate to the freight costs. + 0..n + Consignment + Freight + Allowance Charge + Allowance Charge + Allowance Charge + Freight Costs + + + + + + + + + ASBIE + Consignment. Extra_ Allowance Charge. Allowance Charge + A charge for extra allowance. + 0..n + Consignment + Extra + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Consignment. Main Carriage_ Shipment Stage. Shipment Stage + A shipment stage during main carriage. + 0..n + Consignment + Main Carriage + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Consignment. Pre Carriage_ Shipment Stage. Shipment Stage + A shipment stage during precarriage (usually refers to movement activity that takes place prior to the container being loaded at a port of loading). + 0..n + Consignment + Pre Carriage + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Consignment. On Carriage_ Shipment Stage. Shipment Stage + A shipment stage during on-carriage (usually refers to movement activity that takes place after the container is discharged at a port of discharge). + 0..n + Consignment + On Carriage + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Consignment. Transport Handling Unit + A transport handling unit used for loose and containerized goods. + 0..n + Consignment + Transport Handling Unit + Transport Handling Unit + Transport Handling Unit + + + + + + + + + ASBIE + Consignment. First Arrival Port_ Location. Location + The first arrival location in a transport. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Consignment + First Arrival Port + Location + Location + Location + + + + + + + + + ASBIE + Consignment. Last Exit Port_ Location. Location + The final exporting location in a transport. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Consignment + Last Exit Port + Location + Location + Location + + + + + + + + + + + ABIE + Consumption. Details + A class to describe the consumption of a utility. + Consumption + + + + + + + + + BBIE + Consumption. Utility Statement Type Code. Code + A code identifying the type of the Utility Statement required for this consumption. Explains the kind of utility the statement is about, e.g.. "gas", "electricity", "telephone" + 0..1 + Consumption + Utility Statement Type Code + Code + Code. Type + Electricity + + + + + + + + + ASBIE + Consumption. Main_ Period. Period + The period of consumption. + 0..1 + Consumption + Main + Period + Period + Period + + + + + + + + + ASBIE + Consumption. Allowance Charge + An allowance or charges that may apply with this consumption. + 0..n + Consumption + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Consumption. Tax Total + The total of taxes for each tax type covering the consumption. + 0..n + Consumption + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Consumption. Energy Water Supply + The details of any energy or water consumption. + 0..1 + Consumption + Energy Water Supply + Energy Water Supply + Energy Water Supply + + + + + + + + + ASBIE + Consumption. Telecommunications Supply + The details of any telecommunications consumption. + 0..1 + Consumption + Telecommunications Supply + Telecommunications Supply + Telecommunications Supply + + + + + + + + + ASBIE + Consumption. Legal_ Monetary Total. Monetary Total + The total amount payable on this consumption, including any allowances, charges, or taxes. + 1 + Consumption + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + + + ABIE + Consumption Average. Details + A class to define an average consumption as a monetary amount. + Consumption Average + + + + + + + + + BBIE + Consumption Average. Average_ Amount. Amount + The average monetary amount of the consumption. + 0..1 + Consumption Average + Average + Amount + Amount + Amount. Type + 1.65 + + + + + + + + + BBIE + Consumption Average. Description. Text + A description of the average consumed. + 0..n + Consumption Average + Description + Text + Text. Type + Average price incl. value added tax per kilowatt-hour in the billing period. + + + + + + + + + + + ABIE + Consumption Correction. Details + The Statement of correction, for examples heating correction. + Consumption Correction + + + + + + + + + BBIE + Consumption Correction. Correction Type. Text + Statement for the correction type. + 0..1 + Consumption Correction + Correction Type + Text + Text. Type + Heating Correction + + + + + + + + + BBIE + Consumption Correction. Correction Type Code. Code + Statement at the code for the correction type. + 0..1 + Consumption Correction + Correction Type Code + Code + Code. Type + HeatingCorrection + + + + + + + + + BBIE + Consumption Correction. Meter Number. Text + Statement for meter number. + 0..1 + Consumption Correction + Meter Number + Text + Text. Type + 530071575 + + + + + + + + + BBIE + Consumption Correction. Gas Pressure. Quantity + Correction of the gas pressure. + 0..1 + Consumption Correction + Gas Pressure + Quantity + Quantity. Type + + + + + + + + + BBIE + Consumption Correction. Actual_ Temperature Reduction. Quantity + Statement for the actuel heating correction temperature. + 0..1 + Consumption Correction + Actual + Temperature Reduction + Quantity + Quantity. Type + -36.69 + + + + + + + + + BBIE + Consumption Correction. Normal_ Temperature Reduction. Quantity + Statement for the standard for heating correction temperature. + 0..1 + Consumption Correction + Normal + Temperature Reduction + Quantity + Quantity. Type + -37.00 + + + + + + + + + BBIE + Consumption Correction. Difference_ Temperature Reduction. Quantity + Deviation from standard heating correction. + 0..1 + Consumption Correction + Difference + Temperature Reduction + Quantity + Quantity. Type + 0.31 + + + + + + + + + BBIE + Consumption Correction. Description. Text + Description related to the corrections. + 0..n + Consumption Correction + Description + Text + Text. Type + + + + + + + + + BBIE + Consumption Correction. Correction Unit Amount. Amount + Correction per MWH per degree C. + 0..1 + Consumption Correction + Correction Unit Amount + Amount + Amount. Type + 0.0000 + + + + + + + + + BBIE + Consumption Correction. Consumption Energy. Quantity + Your consumpt for district heating energy. + 0..1 + Consumption Correction + Consumption Energy + Quantity + Quantity. Type + 563.6240 + + + + + + + + + BBIE + Consumption Correction. Consumption Water. Quantity + Your consumpt for district heating water. + 0..1 + Consumption Correction + Consumption Water + Quantity + Quantity. Type + 13212.14 + + + + + + + + + BBIE + Consumption Correction. Correction Amount. Amount + Your correction for heating correction. + 0..1 + Consumption Correction + Correction Amount + Amount + Amount. Type + 0.00 + + + + + + + + + + + ABIE + Consumption History. Details + A class to describe the measurement of a type of consumption during a particular period, used for the subscriber to get an overview of his consumption + Consumption History + + + + + + + + + BBIE + Consumption History. Meter Number. Text + A text identifier for the meter measuring the consumption. + 0..1 + Consumption History + Meter Number + Text + Text. Type + 61722x + + + + + + + + + BBIE + Consumption History. Quantity + The quantity consumed. + 1 + Consumption History + Quantity + Quantity + Quantity. Type + 7621.00 + + + + + + + + + BBIE + Consumption History. Amount + The monetary amount to be charged for the quantity consumed. + 0..1 + Consumption History + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Consumption History. Consumption Level Code. Code + The consumption level, expressed as a code used explain the consumption quantity, e.g.. diversion from the normal. + 0..1 + Consumption History + Consumption Level Code + Code + Code. Type + B + + + + + + + + + BBIE + Consumption History. Consumption Level Text. Text + The consumption level, expressed as text, used explain the consumption quantity, e.g.. diversion from the normal. + 0..1 + Consumption History + Consumption Level Text + Text + Text. Type + Average + + + + + + + + + BBIE + Consumption History. Description. Text + Text describing the consumption itself. + 0..n + Consumption History + Description + Text + Text. Type + 2004/2005 + + + + + + + + + ASBIE + Consumption History. Period + The period during which the consumption took place. + 1 + Consumption History + Period + Period + Period + + + + + + + + + + + ABIE + Consumption Line. Details + A class to describe a line item for utility consumption. To specify more than one utility item, use separate consumption lines. + Consumption Line + + + + + + + + + BBIE + Consumption Line. Identifier + An identifier for this consumption line. + 1 + Consumption Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Consumption Line. Parent_ Document Line Reference Identifier. Identifier + An identifier for the transaction line on a related document (such as an invoice) that covers this consumption line. + 0..1 + Consumption Line + Parent + Document Line Reference Identifier + Identifier + Identifier. Type + Consumption + + + + + + + + + BBIE + Consumption Line. Invoiced_ Quantity. Quantity + The quantity invoiced. + 1 + Consumption Line + Invoiced + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Consumption Line. Line Extension Amount. Amount + The monetary amount, including discount, to be charged for this consumption line. + 1 + Consumption Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Consumption Line. Period + The period of time covered by this consumption line. + 0..1 + Consumption Line + Period + Period + Period + + + + + + + + + ASBIE + Consumption Line. Delivery + A delivery of the utility item on this consumption line. + 0..n + Consumption Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Consumption Line. Allowance Charge + An allowance or charge that applies to this consumption line. + 0..n + Consumption Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Consumption Line. Tax Total + A total amount of taxes of a particular kind applicable to this consumption line. + 0..n + Consumption Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Consumption Line. Utility Item + The utility item consumed. + 1 + Consumption Line + Utility Item + Utility Item + Utility Item + + + + + + + + + ASBIE + Consumption Line. Price + The price associated with this consumption line, expressed in a data structure containing multiple properties. + 0..1 + Consumption Line + Price + Price + Price + + + + + + + + + ASBIE + Consumption Line. Unstructured Price + The price associated with this consumption line expressed in a less structured form that includes just the amount and the time of use. + 0..1 + Consumption Line + Unstructured Price + Unstructured Price + Unstructured Price + + + + + + + + + + + ABIE + Consumption Point. Details + A class to define the point of consumption for a utility, such as a meter. + Consumption Point + + + + + + + + + BBIE + Consumption Point. Identifier + An identifier for this point of consumption. + 1 + Consumption Point + Identifier + Identifier + Identifier. Type + 7411013716x + + + + + + + + + BBIE + Consumption Point. Description. Text + Text describing this consumption point. + 0..n + Consumption Point + Description + Text + Text. Type + Additional informations concerning the consumption point + + + + + + + + + BBIE + Consumption Point. Subscriber Identifier. Identifier + An identifier for the subscriber responsible for the consumption at this consumption point. + 0..1 + Consumption Point + Subscriber Identifier + Identifier + Identifier. Type + 98143211 + + + + + + + + + BBIE + Consumption Point. Subscriber Type. Text + The type of subscriber, expressed as text. + 0..1 + Consumption Point + Subscriber Type + Text + Text. Type + + + + + + + + + BBIE + Consumption Point. Subscriber Type Code. Code + The type of subscriber, expressed as a code. + 0..1 + Consumption Point + Subscriber Type Code + Code + Code. Type + APL + + + + + + + + + BBIE + Consumption Point. Total_ Delivered Quantity. Quantity + The total quantity delivered, calculated at this consumption point. + 0..1 + Consumption Point + Total + Delivered Quantity + Quantity + Quantity. Type + 5761.00 + + + + + + + + + ASBIE + Consumption Point. Address + The address of this consumption point. + 0..1 + Consumption Point + Address + Address + Address + + + + + + + + + ASBIE + Consumption Point. Web Site Access + Access information for the website of this consumption point. + 0..1 + Consumption Point + Web Site Access + Web Site Access + Web Site Access + + + + + + + + + ASBIE + Consumption Point. Utility_ Meter. Meter + A meter at this consumption point. + 0..n + Consumption Point + Utility + Meter + Meter + Meter + + + + + + + + + + + ABIE + Consumption Report. Details + A class to describe utility consumption, including details of the environment in which consumption takes place. + Consumption Report + + + + + + + + + BBIE + Consumption Report. Identifier + An identifier for this consumption report. + 1 + Consumption Report + Identifier + Identifier + Identifier. Type + n/a + + + + + + + + + BBIE + Consumption Report. Consumption Type. Text + The type of consumption, expressed as text. + 0..1 + Consumption Report + Consumption Type + Text + Text. Type + Consumption + + + + + + + + + BBIE + Consumption Report. Consumption Type Code. Code + The type of consumption, expressed as a code. + 0..1 + Consumption Report + Consumption Type Code + Code + Code. Type + Consumption + + + + + + + + + BBIE + Consumption Report. Description. Text + Text reporting utility consumption. + 0..n + Consumption Report + Description + Text + Text. Type + This report contain the latest year consumption + + + + + + + + + BBIE + Consumption Report. Total_ Consumed Quantity. Quantity + The total quantity consumed. + 0..1 + Consumption Report + Total + Consumed Quantity + Quantity + Quantity. Type + 20479.00 + + + + + + + + + BBIE + Consumption Report. Basic_ Consumed Quantity. Quantity + The basic quantity consumed, excluding additional consumption. + 0..1 + Consumption Report + Basic + Consumed Quantity + Quantity + Quantity. Type + 20000.00 + + + + + + + + + BBIE + Consumption Report. Resident_ Occupants Numeric. Numeric + The number of people occupying the residence covered by this report. + 0..1 + Consumption Report + Resident + Occupants Numeric + Numeric + Numeric. Type + 4.0 + + + + + + + + + BBIE + Consumption Report. Consumers_ Energy Level Code. Code + The level of energy consumed, compared to the average for this residence type and the number of people living in the residence, expressed as a code. + 0..1 + Consumption Report + Consumers + Energy Level Code + Code + Code. Type + B + + + + + + + + + BBIE + Consumption Report. Consumers_ Energy Level. Text + The level of energy consumed, compared to the average for this residence type and the number of people living in the residence, expressed as text. + 0..1 + Consumption Report + Consumers + Energy Level + Text + Text. Type + Middel + + + + + + + + + BBIE + Consumption Report. Residence Type. Text + The type of residence (house, apartment, etc.) covered in this report, expressed as text. + 0..1 + Consumption Report + Residence Type + Text + Text. Type + House + + + + + + + + + BBIE + Consumption Report. Residence Type Code. Code + The type of residence (house, apartment, etc.) covered in this report, expressed as a code. + 0..1 + Consumption Report + Residence Type Code + Code + Code. Type + House + + + + + + + + + BBIE + Consumption Report. Heating Type. Text + The type of heating in the residence covered in this report, expressed as text. + 0..1 + Consumption Report + Heating Type + Text + Text. Type + District heating + + + + + + + + + BBIE + Consumption Report. Heating Type Code. Code + The type of heating in the residence covered in this report, expressed as a code. + 0..1 + Consumption Report + Heating Type Code + Code + Code. Type + DistrictHeating + + + + + + + + + ASBIE + Consumption Report. Period + The period of consumption covered in this report. + 0..1 + Consumption Report + Period + Period + Period + + + + + + + + + ASBIE + Consumption Report. Guidance_ Document Reference. Document Reference + A reference to a document providing an explanation of this kind of report. + 0..1 + Consumption Report + Guidance + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Consumption Report. Document Reference + A reference to some other document (for example, this report in another format). + 0..1 + Consumption Report + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Consumption Report. Consumption Report Reference + A reference to a previous consumption report. + 0..n + Consumption Report + Consumption Report Reference + Consumption Report Reference + Consumption Report Reference + + + + + + + + + ASBIE + Consumption Report. Consumption History + A report describing historical parameters relating to a specific instance of consumption. + 0..n + Consumption Report + Consumption History + Consumption History + Consumption History + + + + + + + + + + + ABIE + Consumption Report Reference. Details + A class to define a reference to an earlier consumption report (e.g., last year's consumption). + Consumption Report Reference + + + + + + + + + BBIE + Consumption Report Reference. Consumption_ Report Identifier. Identifier + An identifier for the referenced consumption report. + 1 + Consumption Report Reference + Consumption + Report Identifier + Identifier + Identifier. Type + n/a + + + + + + + + + BBIE + Consumption Report Reference. Consumption Type. Text + The reported consumption type, expressed as text. + 0..1 + Consumption Report Reference + Consumption Type + Text + Text. Type + Consumption + + + + + + + + + BBIE + Consumption Report Reference. Consumption Type Code. Code + The reported consumption type, expressed as a code. + 0..1 + Consumption Report Reference + Consumption Type Code + Code + Code. Type + Consumption + + + + + + + + + BBIE + Consumption Report Reference. Total_ Consumed Quantity. Quantity + The total quantity consumed during the period of the referenced report. + 1 + Consumption Report Reference + Total + Consumed Quantity + Quantity + Quantity. Type + 20479.00 + + + + + + + + + ASBIE + Consumption Report Reference. Period + The period of consumption covered by the referenced report. + 1 + Consumption Report Reference + Period + Period + Period + + + + + + + + + + + ABIE + Contact. Details + A class to describe a contactable person or department in an organization. + Contact + + + + + + + + + BBIE + Contact. Identifier + An identifier for this contact. + 0..1 + Contact + Identifier + Identifier + Identifier. Type + Receivals Clerk + + + + + + + + + BBIE + Contact. Name + The name of this contact. It is recommended that this be used for a functional name and not a personal name. + 0..1 + Contact + Name + Name + Name. Type + Delivery Dock + + + + + + + + + BBIE + Contact. Telephone. Text + The primary telephone number of this contact. + 0..1 + Contact + Telephone + Text + Text. Type + + + + + + + + + BBIE + Contact. Telefax. Text + The primary fax number of this contact. + 0..1 + Contact + Telefax + Text + Text. Type + + + + + + + + + BBIE + Contact. Electronic_ Mail. Text + The primary email address of this contact. + 0..1 + Contact + Electronic + Mail + Text + Text. Type + + + + + + + + + BBIE + Contact. Note. Text + Free-form text conveying information that is not contained explicitly in other structures; in particular, a textual description of the circumstances under which this contact can be used (e.g., "emergency" or "after hours"). + 0..n + Contact + Note + Text + Text. Type + + + + + + + + + ASBIE + Contact. Other_ Communication. Communication + Another means of communication with this contact. + 0..n + Contact + Other + Communication + Communication + Communication + + + + + + + + + + + ABIE + Contract. Details + A class to describe a contract. + Contract + + + + + + + + + BBIE + Contract. Identifier + An identifier for this contract. + 0..1 + Contract + Identifier + Identifier + Identifier. Type + CC23 + + + + + + + + + BBIE + Contract. Issue Date. Date + The date on which this contract was issued. + 0..1 + Contract + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Contract. Issue Time. Time + The time at which this contract was issued. + 0..1 + Contract + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Contract. Nomination Date. Date + In a transportation contract, the deadline date by which the services referred to in the transport execution plan have to be booked. For example, if this service is a carrier service scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011. + 0..1 + Contract + Nomination Date + Date + Date. Type + + + + + + + + + BBIE + Contract. Nomination Time. Time + In a transportation contract, the deadline time by which the services referred to in the transport execution plan have to be booked. For example, if this service is a carrier service scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011 and the nomination time 4 p.m. at the latest. + 0..1 + Contract + Nomination Time + Time + Time. Type + + + + + + + + + BBIE + Contract. Contract Type Code. Code + The type of this contract, expressed as a code, such as "Cost plus award fee" and "Cost plus fixed fee" from UNCEFACT Contract Type code list. + 0..1 + Contract + Contract Type Code + Code + Code. Type + + + + + + + + + BBIE + Contract. Contract Type. Text + The type of this contract, expressed as text, such as "Cost plus award fee" and "Cost plus fixed fee" from UNCEFACT Contract Type code list. + 0..1 + Contract + Contract Type + Text + Text. Type + + + + + + + + + BBIE + Contract. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Contract + Note + Text + Text. Type + Remarks + + + + + + + + + BBIE + Contract. Version. Identifier + An identifier for the current version of this contract. + 0..1 + Contract + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract. Description. Text + Text describing this contract. + 0..n + Contract + Description + Text + Text. Type + + + + + + + + + ASBIE + Contract. Validity_ Period. Period + The period during which this contract is valid. + 0..1 + Contract + Validity + Period + Period + Period + + + + + + + + + ASBIE + Contract. Contract_ Document Reference. Document Reference + A reference to a contract document. + 0..n + Contract + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Contract. Nomination_ Period. Period + In a transportation contract, the period required to book the services specified in the contract before the services can begin. + 0..1 + Contract + Nomination + Period + Period + Period + + + + + + + + + ASBIE + Contract. Contractual_ Delivery. Delivery + In a transportation contract, the delivery of the services required to book the services specified in the contract. + 0..1 + Contract + Contractual + Delivery + Delivery + Delivery + + + + + + + + + + + ABIE + Contract Execution Requirement. Details + A class to describe a requirement for execution of a contract. + Contract Execution Requirement + + + + + + + + + BBIE + Contract Execution Requirement. Name + A name for this requirement. + 0..n + Contract Execution Requirement + Name + Name + Name. Type + + + + + + + + + BBIE + Contract Execution Requirement. Execution Requirement Code. Code + A code signifying the type of party independent of its role. + 0..1 + Contract Execution Requirement + Execution Requirement Code + Code + Code. Type + + + + + + + + + BBIE + Contract Execution Requirement. Description. Text + Text describing this requirement. + 0..n + Contract Execution Requirement + Description + Text + Text. Type + + + + + + + + + + + ABIE + Contract Extension. Details + A class to describe possible extensions to a contract. + Contract Extension + + + + + + + + + BBIE + Contract Extension. Options Description. Text + A description for the possible options that can be carried out during the execution of the contract. + 0..n + Contract Extension + Options Description + Text + Text. Type + + + + + + + + + BBIE + Contract Extension. Minimum_ Number. Numeric + The fixed minimum number of contract extensions or renewals. + 0..1 + Contract Extension + Minimum + Number + Numeric + Numeric. Type + + + + + + + + + BBIE + Contract Extension. Maximum_ Number. Numeric + The maximum allowed number of contract extensions. + 0..1 + Contract Extension + Maximum + Number + Numeric + Numeric. Type + + + + + + + + + BBIE + Contract Extension. Renewals. Indicator + Indicates that the contract can be extended using renewals. + 0..1 + Contract Extension + Renewals + Indicator + Indicator. Type + + + + + + + + + ASBIE + Contract Extension. Option Validity_ Period. Period + The period during which the option for extending the contract is available. + 0..1 + Contract Extension + Option Validity + Period + Period + Period + + + + + + + + + ASBIE + Contract Extension. Renewal + The period allowed for each contract extension. + 0..n + Contract Extension + Renewal + Renewal + Renewal + + + + + + + + + + + ABIE + Contracting Activity. Details + The nature of the type of business of the organization. + Contracting Activity + + + + + + + + + BBIE + Contracting Activity. Activity Type Code. Code + A code specifying the nature of the type of business of the organization. + 0..1 + Contracting Activity + Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Contracting Activity. Activity Type. Text + The nature of the type of business of the organization, expressed as text. + 0..1 + Contracting Activity + Activity Type + Text + Text. Type + + + + + + + + + + + ABIE + Contracting Party. Details + A class to describe an individual, a group, or a body having a procurement role in a tendering process. + Contracting Party + + + + + + + + + BBIE + Contracting Party. Buyer Profile_ URI. Identifier + The buyer profile is typically located on a web site where the contracting party publishes its procurement opportunities + 0..1 + Contracting Party + Buyer Profile + URI + Identifier + Identifier. Type + Buyer Profile + + + + + + + + + ASBIE + Contracting Party. Contracting Party Type + The type of contracting party that is independent of its role. + 0..n + Contracting Party + Contracting Party Type + Contracting Party Type + Contracting Party Type + + + + + + + + + ASBIE + Contracting Party. Contracting Activity + The nature of the type of business of the organization + 0..n + Contracting Party + Contracting Activity + Contracting Activity + Contracting Activity + + + + + + + + + ASBIE + Contracting Party. Party + The contracting party itself. + 1 + Contracting Party + Party + Party + Party + + + + + + + + + + + ABIE + Contracting Party Type. Details + The type of contracting party that is independent of its role. + Contracting Party Type + + + + + + + + + BBIE + Contracting Party Type. Party Type Code. Code + A code specifying the type of party that is independent of its role. + 0..1 + Contracting Party Type + Party Type Code + Code + Code. Type + + + + + + + + + BBIE + Contracting Party Type. Party Type. Text + The type of party that is independent of its role, expressed as text. + 0..1 + Contracting Party Type + Party Type + Text + Text. Type + + + + + + + + + + + ABIE + Contracting System. Details + A class to describe the contracting system. If the procedure is individual (nonrepetitive), this class should not be used. + Contracting System + + + + + + + + + BBIE + Contracting System. Identifier + An identifier for the contracting system. + 0..1 + Contracting System + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contracting System. Contracting System Type. Code + A code signifying the type of contracting system (e.g., framework agreement, dynamic purchasing system). + 0..1 + Contracting System + Contracting System Type + Code + Code. Type + + + + + + + + + BBIE + Contracting System. Description. Text + The description of the contracting system + 0..n + Contracting System + Description + Text + Text. Type + + + + + + + + + + + ABIE + Corporate Registration Scheme. Details + A class to describe a scheme for corporate registration. + Corporate Registration Scheme + + + + + + + + + BBIE + Corporate Registration Scheme. Identifier + An identifier for this registration scheme. + 0..1 + Corporate Registration Scheme + Identifier + Identifier + Identifier. Type + ASIC in Australia + + + + + + + + + BBIE + Corporate Registration Scheme. Name + The name of this registration scheme. + 0..1 + Corporate Registration Scheme + Name + Name + Name. Type + Australian Securities and Investment Commission in Australia + + + + + + + + + BBIE + Corporate Registration Scheme. Corporate Registration Type Code. Code + A code signifying the type of this registration scheme. + 0..1 + Corporate Registration Scheme + Corporate Registration Type Code + Code + Code. Type + ACN + + + + + + + + + ASBIE + Corporate Registration Scheme. Jurisdiction Region_ Address. Address + A geographic area in which this registration scheme applies. + 0..n + Corporate Registration Scheme + Jurisdiction Region + Address + Address + Address + England , Wales + + + + + + + + + + + ABIE + Country. Details + A class to describe a country. + Country + + + + + + + + + BBIE + Country. Identification Code. Code + A code signifying this country. + 0..1 + Country + Identification Code + Code + Country Identification + Country Identification_ Code. Type + + + + + + + + + BBIE + Country. Name + The name of this country. + 0..1 + Country + Name + Name + Name. Type + SOUTH AFRICA + + + + + + + + + + + ABIE + Credit Account. Details + A class to identify a credit account for sales on account. + Credit Account + + + + + + + + + BBIE + Credit Account. Account Identifier. Identifier + An identifier for this credit account. + 1 + Credit Account + Account Identifier + Identifier + Identifier. Type + Customer Code 29 + + + + + + + + + + + ABIE + Credit Note Line. Details + A class to define a line in a Credit Note or Self Billed Credit Note. + Credit Note Line + + + + + + + + + BBIE + Credit Note Line. Identifier + An identifier for this credit note line. + 1 + Credit Note Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note Line. UUID. Identifier + A universally unique identifier for this credit note line. + 0..1 + Credit Note Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Credit Note Line + Note + Text + Text. Type + + + + + + + + + BBIE + Credit Note Line. Credited_ Quantity. Quantity + The quantity of items credited in this credit note line. + 0..1 + Credit Note Line + Credited + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Credit Note Line. Line Extension Amount. Amount + The total amount for this credit note line, including allowance charges but exclusive of taxes. + 0..1 + Credit Note Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Credit Note Line. Tax Point Date. Date + The date of this credit note line, used to indicate the point at which tax becomes applicable. + 0..1 + Credit Note Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this credit note line, expressed as a code. + 0..1 + Credit Note Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note Line. Accounting Cost. Text + The buyer's accounting cost centre for this credit note line, expressed as text. + 0..1 + Credit Note Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Credit Note Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Credit Note Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note Line. Free Of Charge_ Indicator. Indicator + An indicator that this credit note line is free of charge (true) or not (false). The default is false. + 0..1 + Credit Note Line + Free Of Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Credit Note Line. Invoice_ Period. Period + An invoice period to which this credit note line applies. + 0..n + Credit Note Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Credit Note Line. Order Line Reference + A reference to an order line associated with this credit note line. + 0..n + Credit Note Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Credit Note Line. Discrepancy_ Response. Response + A reason for the credit. + 0..n + Credit Note Line + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Credit Note Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this credit note line. + 0..n + Credit Note Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Credit Note Line. Receipt_ Line Reference. Line Reference + A reference to a receipt line associated with this credit note line. + 0..n + Credit Note Line + Receipt + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Credit Note Line. Billing Reference + A reference to a billing document associated with this credit note line. + 0..n + Credit Note Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Credit Note Line. Document Reference + A reference to a document associated with this credit note line. + 0..n + Credit Note Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note Line. Pricing Reference + A reference to pricing and item location information associated with this credit note line. + 0..1 + Credit Note Line + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Credit Note Line. Originator_ Party. Party + The party who originated the Order to which the Credit Note is related. + 0..1 + Credit Note Line + Originator + Party + Party + Party + + + + + + + + + ASBIE + Credit Note Line. Delivery + A delivery associated with this credit note line. + 0..n + Credit Note Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Credit Note Line. Payment Terms + A specification of payment terms associated with this credit note line. + 0..n + Credit Note Line + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Credit Note Line. Tax Total + A total amount of taxes of a particular kind applicable to this credit note line. + 0..n + Credit Note Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Credit Note Line. Allowance Charge + An allowance or charge associated with this credit note. + 0..n + Credit Note Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Credit Note Line. Item + The item associated with this credit note line. + 0..1 + Credit Note Line + Item + Item + Item + + + + + + + + + ASBIE + Credit Note Line. Price + The price of the item associated with this credit note line. + 0..1 + Credit Note Line + Price + Price + Price + Unit Price, Base Price + + + + + + + + + ASBIE + Credit Note Line. Delivery Terms + Terms and conditions of a delivery associated with this credit note line. + 0..n + Credit Note Line + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Credit Note Line. Sub_ Credit Note Line. Credit Note Line + A class defining one or more Credit Note Lines detailing the credit note line. + 0..n + Credit Note Line + Sub + Credit Note Line + Credit Note Line + Credit Note Line + + + + + + + + + ASBIE + Credit Note Line. Item_ Price Extension. Price Extension + The price extension, calculated by multiplying the price per unit by the quantity of items on this credit note line. + 0..1 + Credit Note Line + Item + Price Extension + Price Extension + Price Extension + + + + + + + + + + + ABIE + Customer Party. Details + A class to describe a customer party. + Customer Party + + + + + + + + + BBIE + Customer Party. Customer Assigned_ Account Identifier. Identifier + An identifier for the customer's account, assigned by the customer itself. + 0..1 + Customer Party + Customer Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Customer Party. Supplier Assigned_ Account Identifier. Identifier + An identifier for the customer's account, assigned by the supplier. + 0..1 + Customer Party + Supplier Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Customer Party. Additional_ Account Identifier. Identifier + An identifier for the customer's account, assigned by a third party. + 0..n + Customer Party + Additional + Account Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Customer Party. Party + The customer party itself. + 0..1 + Customer Party + Party + Party + Party + + + + + + + + + ASBIE + Customer Party. Delivery_ Contact. Contact + A customer contact for deliveries. + 0..1 + Customer Party + Delivery + Contact + Contact + Contact + + + + + + + + + ASBIE + Customer Party. Accounting_ Contact. Contact + A customer contact for accounting. + 0..1 + Customer Party + Accounting + Contact + Contact + Contact + + + + + + + + + ASBIE + Customer Party. Buyer_ Contact. Contact + A customer contact for purchasing. + 0..1 + Customer Party + Buyer + Contact + Contact + Contact + + + + + + + + + + + ABIE + Customs Declaration. Details + A class describing identifiers or references relating to customs procedures. + Customs Declaration + Movement Reference Number, Local Reference Number + + + + + + + + + BBIE + Customs Declaration. Identifier + An identifier associated with customs related procedures. + 1 + Customs Declaration + Identifier + Identifier + Identifier. Type + CUST001 3333-44-123 + + + + + + + + + ASBIE + Customs Declaration. Issuer_ Party. Party + Describes the party issuing the customs declaration. + 0..1 + Customs Declaration + Issuer + Party + Party + Party + + + + + + + + + + + ABIE + Debit Note Line. Details + A class to define a line in a Debit Note. + Debit Note Line + + + + + + + + + BBIE + Debit Note Line. Identifier + An identifier for this debit note line. + 1 + Debit Note Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note Line. UUID. Identifier + A universally unique identifier for this debit note line. + 0..1 + Debit Note Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Debit Note Line + Note + Text + Text. Type + + + + + + + + + BBIE + Debit Note Line. Debited_ Quantity. Quantity + The quantity of Items debited in this debit note line. + 0..1 + Debit Note Line + Debited + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Debit Note Line. Line Extension Amount. Amount + The total amount for this debit note line, including allowance charges but net of taxes. + 1 + Debit Note Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Debit Note Line. Tax Point Date. Date + The date of this debit note line, used to indicate the point at which tax becomes applicable. + 0..1 + Debit Note Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this debit note line, expressed as a code. + 0..1 + Debit Note Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Debit Note Line. Accounting Cost. Text + The buyer's accounting cost centre for this debit note line, expressed as text. + 0..1 + Debit Note Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Debit Note Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Debit Note Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Debit Note Line. Discrepancy_ Response. Response + A reason for the debit. + 0..n + Debit Note Line + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Debit Note Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this debit note line. + 0..n + Debit Note Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Debit Note Line. Receipt_ Line Reference. Line Reference + A reference to a receipt line associated with this debit note line. + 0..n + Debit Note Line + Receipt + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Debit Note Line. Billing Reference + A reference to a billing document associated with this debit note line. + 0..n + Debit Note Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Debit Note Line. Document Reference + A reference to a document associated with this debit note line. + 0..n + Debit Note Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note Line. Pricing Reference + A reference to pricing and item location information associated with this debit note line. + 0..1 + Debit Note Line + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Debit Note Line. Delivery + A delivery associated with this debit note line. + 0..n + Debit Note Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Debit Note Line. Tax Total + A total amount of taxes of a particular kind applicable to this debit note line. + 0..n + Debit Note Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Debit Note Line. Allowance Charge + An allowance or charge associated with this debit note. + 0..n + Debit Note Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Debit Note Line. Item + The item associated with this debit note line. + 0..1 + Debit Note Line + Item + Item + Item + + + + + + + + + ASBIE + Debit Note Line. Price + The price of the item associated with this debit note line. + 0..1 + Debit Note Line + Price + Price + Price + Unit Price, Base Price + + + + + + + + + ASBIE + Debit Note Line. Sub_ Debit Note Line. Debit Note Line + A recursive description of a debit note line subsidiary to this debit note line. + 0..n + Debit Note Line + Sub + Debit Note Line + Debit Note Line + Debit Note Line + + + + + + + + + + + ABIE + Declaration. Details + A class to describe a declaration by an economic operator of certain characteristics or capabilities in fulfilment of requirements specified in a call for tenders. + Declaration + + + + + + + + + BBIE + Declaration. Name + The name of this declaration. + 0..n + Declaration + Name + Name + Name. Type + + + + + + + + + BBIE + Declaration. Declaration Type Code. Code + A code signifying the type of this declaration. + 0..1 + Declaration + Declaration Type Code + Code + Code. Type + + + + + + + + + BBIE + Declaration. Description. Text + Text describing this declaration. + 0..n + Declaration + Description + Text + Text. Type + + + + + + + + + ASBIE + Declaration. Evidence Supplied + The evidence supporting this declaration. + 0..n + Declaration + Evidence Supplied + Evidence Supplied + Evidence Supplied + + + + + + + + + + + ABIE + Delivery. Details + A class to describe a delivery. + Delivery + + + + + + + + + BBIE + Delivery. Identifier + An identifier for this delivery. + 0..1 + Delivery + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Delivery. Quantity + The quantity of items, child consignments, shipments in this delivery. + 0..1 + Delivery + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Minimum_ Quantity. Quantity + The minimum quantity of items, child consignments, shipments in this delivery. + 0..1 + Delivery + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Maximum_ Quantity. Quantity + The maximum quantity of items, child consignments, shipments in this delivery. + 0..1 + Delivery + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Delivery. Actual_ Delivery Date. Date + The actual date of delivery. + 0..1 + Delivery + Actual + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Delivery. Actual_ Delivery Time. Time + The actual time of delivery. + 0..1 + Delivery + Actual + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Delivery. Latest_ Delivery Date. Date + The latest date of delivery allowed by the buyer. + 0..1 + Delivery + Latest + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Delivery. Latest_ Delivery Time. Time + The latest time of delivery allowed by the buyer. + 0..1 + Delivery + Latest + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Delivery. Release. Identifier + An identifier used for approval of access to delivery locations (e.g., port terminals). + 0..1 + Delivery + Release + Identifier + Identifier. Type + + + + + + + + + BBIE + Delivery. Tracking Identifier. Identifier + The delivery Tracking ID (for transport tracking). + 0..1 + Delivery + Tracking Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Delivery. Delivery_ Address. Address + The delivery address. + 0..1 + Delivery + Delivery + Address + Address + Address + + + + + + + + + ASBIE + Delivery. Delivery_ Location. Location + The delivery location. + 0..1 + Delivery + Delivery + Location + Location + Location + + + + + + + + + ASBIE + Delivery. Alternative Delivery_ Location. Location + An alternative delivery location. + 0..1 + Delivery + Alternative Delivery + Location + Location + Location + + + + + + + + + ASBIE + Delivery. Requested Delivery_ Period. Period + The period requested for delivery. + 0..1 + Delivery + Requested Delivery + Period + Period + Period + + + + + + + + + ASBIE + Delivery. Promised Delivery_ Period. Period + The period promised for delivery. + 0..1 + Delivery + Promised Delivery + Period + Period + Period + + + + + + + + + ASBIE + Delivery. Estimated Delivery_ Period. Period + The period estimated for delivery. + 0..1 + Delivery + Estimated Delivery + Period + Period + Period + + + + + + + + + ASBIE + Delivery. Carrier_ Party. Party + The party responsible for delivering the goods. + 0..1 + Delivery + Carrier + Party + Party + Party + + + + + + + + + ASBIE + Delivery. Delivery_ Party. Party + The party to whom the goods are delivered. + 0..1 + Delivery + Delivery + Party + Party + Party + + + + + + + + + ASBIE + Delivery. Notify_ Party. Party + A party to be notified of this delivery. + 0..n + Delivery + Notify + Party + Party + Party + + + + + + + + + ASBIE + Delivery. Despatch + The despatch (pickup) associated with this delivery. + 0..1 + Delivery + Despatch + Despatch + Despatch + + + + + + + + + ASBIE + Delivery. Delivery Terms + Terms and conditions relating to the delivery. + 0..n + Delivery + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Delivery. Minimum_ Delivery Unit. Delivery Unit + The minimum delivery unit for this delivery. + 0..1 + Delivery + Minimum + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Delivery. Maximum_ Delivery Unit. Delivery Unit + The maximum delivery unit for this delivery. + 0..1 + Delivery + Maximum + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Delivery. Shipment + The shipment being delivered. + 0..1 + Delivery + Shipment + Shipment + Shipment + + + + + + + + + + + ABIE + Delivery Channel. Details + A class to describe a delivery channel. + Delivery Channel + + + + + + + + + BBIE + Delivery Channel. Network Identifier. Identifier + An identifier for the network where messages are delivered (e.g. a business network). + 0..1 + Delivery Channel + Network Identifier + Identifier + Identifier. Type + OpenPEPPOL + + + + + + + + + BBIE + Delivery Channel. Participant Identifier. Identifier + An identifier for a registered participant in the network (e.g. according a precise scheme such as IT:VAT, DK:CVR, GLN). + 0..1 + Delivery Channel + Participant Identifier + Identifier + Identifier. Type + 5790002221134 + + + + + + + + + BBIE + Delivery Channel. Test_ Indicator. Indicator + An indicator that the channel is a test channel (true). + 0..1 + Delivery Channel + Test + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Delivery Channel. Digital_ Certificate. Certificate + A digital certificate associated with this delivery channel. + 0..1 + Delivery Channel + Digital + Certificate + Certificate + Certificate + + + + + + + + + ASBIE + Delivery Channel. Digital_ Message Delivery. Message Delivery + A digital message delivery associated with this delivery channel (aka routing information). + 0..1 + Delivery Channel + Digital + Message Delivery + Message Delivery + Message Delivery + + + + + + + + + + + ABIE + Delivery Terms. Details + A class for describing the terms and conditions applying to the delivery of goods. + Delivery Terms + + + + + + + + + BBIE + Delivery Terms. Identifier + An identifier for this description of delivery terms. + 0..1 + Delivery Terms + Identifier + Identifier + Identifier. Type + CIF, FOB, or EXW from the INCOTERMS Terms of Delivery. (2000 version preferred.) + + + + + + + + + BBIE + Delivery Terms. Special_ Terms. Text + A description of any terms or conditions relating to the delivery items. + 0..n + Delivery Terms + Special + Terms + Text + Text. Type + + + + + + + + + BBIE + Delivery Terms. Loss Risk Responsibility Code. Code + A code that identifies one of various responsibilities for loss risk in the execution of the delivery. + 0..1 + Delivery Terms + Loss Risk Responsibility Code + Code + Code. Type + + + + + + + + + BBIE + Delivery Terms. Loss Risk. Text + A description of responsibility for risk of loss in execution of the delivery, expressed as text. + 0..n + Delivery Terms + Loss Risk + Text + Text. Type + + + + + + + + + BBIE + Delivery Terms. Amount + The monetary amount covered by these delivery terms. + 0..1 + Delivery Terms + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Delivery Terms. Delivery_ Location. Location + The location for the contracted delivery. + 0..1 + Delivery Terms + Delivery + Location + Location + Location + + + + + + + + + ASBIE + Delivery Terms. Allowance Charge + An allowance or charge covered by these delivery terms. + 0..1 + Delivery Terms + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + + + ABIE + Delivery Unit. Details + A class to describe a delivery unit. + Delivery Unit + + + + + + + + + BBIE + Delivery Unit. Batch Quantity. Quantity + The quantity of ordered Items that constitutes a batch for delivery purposes. + 1 + Delivery Unit + Batch Quantity + Quantity + Quantity. Type + 100 units , by the dozen + + + + + + + + + BBIE + Delivery Unit. Consumer_ Unit. Quantity + The quantity of units in the Delivery Unit expressed in the units used by the consumer. + 0..1 + Delivery Unit + Consumer + Unit + Quantity + Quantity. Type + packs of 10 + + + + + + + + + BBIE + Delivery Unit. Hazardous Risk_ Indicator. Indicator + An indication that the transported goods are subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Delivery Unit + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + + + ABIE + Dependent Price Reference. Details + A class to define the price of an item as a percentage of the price of a different item. + Dependent Price Reference + + + + + + + + + BBIE + Dependent Price Reference. Percent + The percentage by which the price of the different item is multiplied to calculate the price of the item. + 0..1 + Dependent Price Reference + Percent + Percent + Percent. Type + + + + + + + + + ASBIE + Dependent Price Reference. Location_ Address. Address + The reference location for this dependent price reference. + 0..1 + Dependent Price Reference + Location + Address + Address + Address + + + + + + + + + ASBIE + Dependent Price Reference. Dependent_ Line Reference. Line Reference + A reference to a line that the price is depended of. + 0..1 + Dependent Price Reference + Dependent + Line Reference + Line Reference + Line Reference + + + + + + + + + + + ABIE + Despatch. Details + A class to describe the despatching of goods (their pickup for delivery). + Despatch + + + + + + + + + BBIE + Despatch. Identifier + An identifier for this despatch event. + 0..1 + Despatch + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch. Requested_ Despatch Date. Date + The despatch (pickup) date requested, normally by the buyer. + 0..1 + Despatch + Requested + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Requested_ Despatch Time. Time + The despatch (pickup) time requested, normally by the buyer. + 0..1 + Despatch + Requested + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Estimated_ Despatch Date. Date + The estimated despatch (pickup) date. + 0..1 + Despatch + Estimated + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Estimated_ Despatch Time. Time + The estimated despatch (pickup) time. + 0..1 + Despatch + Estimated + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Actual_ Despatch Date. Date + The actual despatch (pickup) date. + 0..1 + Despatch + Actual + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Actual_ Despatch Time. Time + The actual despatch (pickup) time. + 0..1 + Despatch + Actual + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Guaranteed_ Despatch Date. Date + The date guaranteed for the despatch (pickup). + 0..1 + Despatch + Guaranteed + Despatch Date + Date + Date. Type + + + + + + + + + BBIE + Despatch. Guaranteed_ Despatch Time. Time + The time guaranteed for the despatch (pickup). + 0..1 + Despatch + Guaranteed + Despatch Time + Time + Time. Type + + + + + + + + + BBIE + Despatch. Release. Identifier + An identifier for the release of the despatch used as security control or cargo control (pick-up). + 0..1 + Despatch + Release + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch. Instructions. Text + Text describing any special instructions applying to the despatch (pickup). + 0..n + Despatch + Instructions + Text + Text. Type + + + + + + + + + ASBIE + Despatch. Despatch_ Address. Address + The address of the despatch (pickup). + 0..1 + Despatch + Despatch + Address + Address + Address + + + + + + + + + ASBIE + Despatch. Despatch_ Location. Location + The location of the despatch (pickup). + 0..1 + Despatch + Despatch + Location + Location + Location + + + + + + + + + ASBIE + Despatch. Despatch_ Party. Party + The party despatching the goods. + 0..1 + Despatch + Despatch + Party + Party + Party + + + + + + + + + ASBIE + Despatch. Carrier_ Party. Party + The party carrying the goods. + 0..1 + Despatch + Carrier + Party + Party + Party + + + + + + + + + ASBIE + Despatch. Notify_ Party. Party + A party to be notified of this despatch (pickup). + 0..n + Despatch + Notify + Party + Party + Party + + + + + + + + + ASBIE + Despatch. Contact + The primary contact for this despatch (pickup). + 0..1 + Despatch + Contact + Contact + Contact + + + + + + + + + ASBIE + Despatch. Estimated Despatch_ Period. Period + The period estimated for the despatch (pickup) of goods. + 0..1 + Despatch + Estimated Despatch + Period + Period + Period + + + + + + + + + ASBIE + Despatch. Requested Despatch_ Period. Period + The period requested for the despatch (pickup) of goods. + 0..1 + Despatch + Requested Despatch + Period + Period + Period + + + + + + + + + + + ABIE + Despatch Line. Details + A class to define a line in a Despatch Advice. + Despatch Line + + + + + + + + + BBIE + Despatch Line. Identifier + An identifier for this despatch line. + 1 + Despatch Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Line. UUID. Identifier + A universally unique identifier for this despatch line. + 0..1 + Despatch Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Despatch Line + Note + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Line Status Code. Code + A code signifying the status of this despatch line with respect to its original state. + 0..1 + Despatch Line + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + BBIE + Despatch Line. Delivered_ Quantity. Quantity + The quantity despatched (picked up). + 0..1 + Despatch Line + Delivered + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Backorder_ Quantity. Quantity + The quantity on back order at the supplier. + 0..1 + Despatch Line + Backorder + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Backorder_ Reason. Text + The reason for the back order. + 0..n + Despatch Line + Backorder + Reason + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Outstanding_ Quantity. Quantity + The quantity outstanding (which will follow in a later despatch). + 0..1 + Despatch Line + Outstanding + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Despatch Line. Outstanding_ Reason. Text + The reason for the outstanding quantity. + 0..n + Despatch Line + Outstanding + Reason + Text + Text. Type + + + + + + + + + BBIE + Despatch Line. Oversupply_ Quantity. Quantity + The quantity over-supplied, i.e., the quantity over and above that ordered. + 0..1 + Despatch Line + Oversupply + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Despatch Line. Order Line Reference + A reference to an order line associated with this despatch line. + 1..n + Despatch Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Despatch Line. Document Reference + A reference to a document associated with this despatch line. + 0..n + Despatch Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Despatch Line. Item + The item associated with this despatch line. + 1 + Despatch Line + Item + Item + Item + + + + + + + + + ASBIE + Despatch Line. Shipment + A shipment associated with this despatch line. + 0..n + Despatch Line + Shipment + Shipment + Shipment + + + + + + + + + + + ABIE + Digital Agreement Terms. Details + A class to describe the terms and conditions of a digital agreement. + Digital Agreement Terms + Trading Partner Agreement Terms + + + + + + + + + BBIE + Digital Agreement Terms. Description. Text + Text describing the terms and conditions of a digital agreement. + 1..n + Digital Agreement Terms + Description + Text + Text. Type + + + + + + + + + ASBIE + Digital Agreement Terms. Validity_ Period. Period + The period of time for which this digital agreement is valid. + 0..1 + Digital Agreement Terms + Validity + Period + Period + Period + + + + + + + + + ASBIE + Digital Agreement Terms. Adoption_ Period. Period + The period during which a digital agreement must be adopted. + 0..1 + Digital Agreement Terms + Adoption + Period + Period + Period + + + + + + + + + ASBIE + Digital Agreement Terms. Service Level Agreement + The service level agreement which regulates the quality, availability and responsibilities of digital services. + 0..n + Digital Agreement Terms + Service Level Agreement + Service Level Agreement + Service Level Agreement + SLA + + + + + + + + + + + ABIE + Digital Collaboration. Details + A class to describe a digital trade collaboration. + Digital Collaboration + Business Collaboration + + + + + + + + + BBIE + Digital Collaboration. Identifier + An identifier for the digital collaboration. + 0..1 + Digital Collaboration + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Digital Collaboration. Sending_ Digital Service. Digital Service + The sending digital service associated with this digital collaboration. + 0..1 + Digital Collaboration + Sending + Digital Service + Digital Service + Digital Service + + + + + + + + + ASBIE + Digital Collaboration. Receiving_ Digital Service. Digital Service + The receiving digital service associated with this digital collaboration. + 0..1 + Digital Collaboration + Receiving + Digital Service + Digital Service + Digital Service + + + + + + + + + + + ABIE + Digital Process. Details + A class to describe a digital trade process. + Digital Process + Business Process + + + + + + + + + BBIE + Digital Process. Identifier + An identifier for the digital collaboration. + 0..1 + Digital Process + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Digital Process. Description. Text + Text describing the digital process. + 0..n + Digital Process + Description + Text + Text. Type + + + + + + + + + BBIE + Digital Process. Profile Identifier. Identifier + Identifies a user-defined profile of this digital process (e.g. an UBL profile). + 0..1 + Digital Process + Profile Identifier + Identifier + Identifier. Type + urn:www.cenbii.eu:profile:bii05:ver2.0 + + + + + + + + + ASBIE + Digital Process. Digital Collaboration + The digital collaboration associated with this digital process. + 0..n + Digital Process + Digital Collaboration + Digital Collaboration + Digital Collaboration + + + + + + + + + ASBIE + Digital Process. Certification_ Document Reference. Document Reference + A reference to a certification document associated with this digital process. + 0..n + Digital Process + Certification + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Digital Service. Details + A class to describe a specific digital trade service supported by an organization for either sending or receiving business documents on different formats (e.g. UBL, ISO20022, EDIFACT, ...). + Digital Service + Business Transaction + + + + + + + + + BBIE + Digital Service. Identifier + An identifier for the digital service (aka transaction ID). + 0..1 + Digital Service + Identifier + Identifier + Identifier. Type + urn:www.cenbii.eu:transaction:biitrns010:ver2.0 + + + + + + + + + BBIE + Digital Service. Customization Identifier. Identifier + Identifies a user-defined customization of this digital service (e.g. a PEPPOL customization). + 0..1 + Digital Service + Customization Identifier + Identifier + Identifier. Type + urn:www.cenbii.eu:transaction:biitrns010:ver2.0:extended:urn:www.peppol.eu:bis:peppol5a:ver2.0 + + + + + + + + + ASBIE + Digital Service. Digital_ Document Metadata. Document Metadata + The digital document metadata associated with this digital service. + 1..n + Digital Service + Digital + Document Metadata + Document Metadata + Document Metadata + + + + + + + + + ASBIE + Digital Service. Digital_ Delivery Channel. Delivery Channel + The digital delivery channel associated with this digital service. + 0..n + Digital Service + Digital + Delivery Channel + Delivery Channel + Delivery Channel + + + + + + + + + ASBIE + Digital Service. Certification_ Document Reference. Document Reference + A reference to a certification document associated with this digital service. + 0..n + Digital Service + Certification + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Dimension. Details + A class to define a measurable dimension (length, mass, weight, volume, or area) of an item. + Dimension + + + + + + + + + BBIE + Dimension. Attribute Identifier. Identifier + An identifier for the attribute to which the measure applies. + 1 + Dimension + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Dimension. Measure + The measurement value. + 0..1 + Dimension + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Dimension. Description. Text + Text describing the measurement attribute. + 0..n + Dimension + Description + Text + Text. Type + + + + + + + + + BBIE + Dimension. Minimum_ Measure. Measure + The minimum value in a range of measurement of this dimension. + 0..1 + Dimension + Minimum + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Dimension. Maximum_ Measure. Measure + The maximum value in a range of measurement of this dimension. + 0..1 + Dimension + Maximum + Measure + Measure + Measure. Type + + + + + + + + + + + ABIE + Document Distribution. Details + A class to describe the distribution of a document to an interested party. + Document Distribution + + + + + + + + + BBIE + Document Distribution. Document Type Code. Code + The type of document, expressed as a code. + 0..1 + Document Distribution + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Document Distribution. Print_ Qualifier. Text + Text describing the interested party's distribution rights. + 1 + Document Distribution + Print + Qualifier + Text + Text. Type + + + + + + + + + BBIE + Document Distribution. Maximum_ Copies. Numeric + The maximum number of printed copies of the document that the interested party is allowed to make. + 0..1 + Document Distribution + Maximum + Copies + Numeric + Numeric. Type + + + + + + + + + BBIE + Document Distribution. Maximum_ Originals. Numeric + The maximum number of printed originals of the document that the interested party is allowed to make. + 0..1 + Document Distribution + Maximum + Originals + Numeric + Numeric. Type + + + + + + + + + ASBIE + Document Distribution. Party + The interested party to which the document should be distributed. + 1 + Document Distribution + Party + Party + Party + + + + + + + + + + + ABIE + Document Metadata. Details + A class to describe the metadata of a specific business document based on any document format (e.g. UBL, EDIFACT, ...). + Document Metadata + + + + + + + + + BBIE + Document Metadata. Identifier + An identifier for the document. + 0..1 + Document Metadata + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Metadata. Format Identifier. Identifier + An identifier for the document format (e.g. standard business vocabularies). + 1 + Document Metadata + Format Identifier + Identifier + Identifier. Type + UBL, ISO20022, EDIFACT + + + + + + + + + BBIE + Document Metadata. Version Identifier. Identifier + An identifier for a precise version of a document format. + 1 + Document Metadata + Version Identifier + Identifier + Identifier. Type + 2.2 + + + + + + + + + BBIE + Document Metadata. Schema URI. Identifier + The Uniform Resource Identifier (URI) of a schema definition for the business document (e.g. a namespace URI for XML schemas, a message ID for non-xml legacy documents). + 0..1 + Document Metadata + Schema URI + Identifier + Identifier. Type + urn:oasis:names:specification:ubl:schema:xsd:Invoice-2, INVOIC + + + + + + + + + BBIE + Document Metadata. Document Type Code. Code + The type of document, expressed as a code. + 0..1 + Document Metadata + Document Type Code + Code + Code. Type + + + + + + + + + + + ABIE + Document Reference. Details + A class to define a reference to a document. + Document Reference + + + + + + + + + BBIE + Document Reference. Identifier + An identifier for the referenced document. + 1 + Document Reference + Identifier + Identifier + Identifier. Type + PO-001 3333-44-123 + + + + + + + + + BBIE + Document Reference. Copy_ Indicator. Indicator + An indicator that the referenced document is a copy (true) or the original (false). + 0..1 + Document Reference + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Document Reference. UUID. Identifier + A universally unique identifier for this document reference. + 0..1 + Document Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Reference. Issue Date. Date + The date, assigned by the sender of the referenced document, on which the document was issued. + 0..1 + Document Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Document Reference. Issue Time. Time + The time, assigned by the sender of the referenced document, at which the document was issued. + 0..1 + Document Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Document Reference. Document Type Code. Code + The type of document being referenced, expressed as a code. + 0..1 + Document Reference + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Document Reference. Document Type. Text + The type of document being referenced, expressed as text. + 0..1 + Document Reference + Document Type + Text + Text. Type + + + + + + + + + BBIE + Document Reference. XPath. Text + A reference to another place in the same XML document instance in which DocumentReference appears. + 0..n + Document Reference + XPath + Text + Text. Type + + + + + + + + + BBIE + Document Reference. Language. Identifier + An identifier for the language used in the referenced document. + 0..1 + Document Reference + Language + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Reference. Locale Code. Code + A code signifying the locale in which the language in the referenced document is used. + 0..1 + Document Reference + Locale Code + Code + Language + Language_ Code. Type + + + + + + + + + BBIE + Document Reference. Version. Identifier + An identifier for the current version of the referenced document. + 0..1 + Document Reference + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Document Reference. Document Status Code. Code + A code signifying the status of the reference document with respect to its original state. + 0..1 + Document Reference + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Document Reference. Document_ Description. Text + Text describing the referenced document. + 0..n + Document Reference + Document + Description + Text + Text. Type + stock no longer provided + + + + + + + + + ASBIE + Document Reference. Attachment + The referenced document as an attachment to the document from which it is referenced. + 0..1 + Document Reference + Attachment + Attachment + Attachment + + + + + + + + + ASBIE + Document Reference. Validity_ Period. Period + The period for which this document reference is valid. + 0..1 + Document Reference + Validity + Period + Period + Period + + + + + + + + + ASBIE + Document Reference. Issuer_ Party. Party + The party who issued the referenced document. + 0..1 + Document Reference + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Document Reference. Result Of Verification + The result of an attempt to verify a signature associated with the referenced document. + 0..1 + Document Reference + Result Of Verification + Result Of Verification + Result Of Verification + + + + + + + + + + + ABIE + Document Response. Details + A class to describe an application-level response to a document. + Document Response + + + + + + + + + ASBIE + Document Response. Response + A response to the document as a whole. + 1 + Document Response + Response + Response + Response + + + + + + + + + ASBIE + Document Response. Document Reference + A referenced document. + 1..n + Document Response + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Document Response. Issuer_ Party. Party + The party that issued the document. + 0..1 + Document Response + Issuer + Party + Party + Party + + + + + + + + + ASBIE + Document Response. Recipient_ Party. Party + The party for which the document is intended. + 0..1 + Document Response + Recipient + Party + Party + Party + + + + + + + + + ASBIE + Document Response. Line Response + A response to a particular line in the document. + 0..n + Document Response + Line Response + Line Response + Line Response + + + + + + + + + + + ABIE + Duty. Details + The charging rate used for both call charging and time dependent charging + Duty + + + + + + + + + BBIE + Duty. Amount + The amount of this duty. + 1 + Duty + Amount + Amount + Amount. Type + 88.23 + + + + + + + + + BBIE + Duty. Duty. Text + Text describing this duty. + 0..1 + Duty + Duty + Text + Text. Type + ConnectionFee + + + + + + + + + BBIE + Duty. Duty Code. Code + The type of this charge rate, expressed as a code. + 0..1 + Duty + Duty Code + Code + Code. Type + ConnectionFee + + + + + + + + + ASBIE + Duty. Tax Category + The tax category applicable to this duty. + 0..1 + Duty + Tax Category + Tax Category + Tax Category + + + + + + + + + + + ABIE + Economic Operator Party. Details + A class to describe a potential contractor, supplier and service provider responding to a tender. + Economic Operator Party + + + + + + + + + ASBIE + Economic Operator Party. Qualifying Party + The party qualifying this economic operator. + 0..n + Economic Operator Party + Qualifying Party + Qualifying Party + Qualifying Party + + + + + + + + + ASBIE + Economic Operator Party. Economic Operator Role + The role of the party in a tender consortium. + 0..1 + Economic Operator Party + Economic Operator Role + Economic Operator Role + Economic Operator Role + + + + + + + + + ASBIE + Economic Operator Party. Party + The party information about the economic operator in a tender. + 1 + Economic Operator Party + Party + Party + Party + + + + + + + + + + + ABIE + Economic Operator Role. Details + A class to describe the tenderer contracting role. + Economic Operator Role + + + + + + + + + BBIE + Economic Operator Role. Role Code. Code + A code specifying the role of the party. + 0..1 + Economic Operator Role + Role Code + Code + Code. Type + + + + + + + + + BBIE + Economic Operator Role. Role Description. Text + A textual description of the party role. + 0..n + Economic Operator Role + Role Description + Text + Text. Type + + + + + + + + + + + ABIE + Economic Operator Short List. Details + A class to provide information about the preselection of a short list of economic operators for consideration as possible candidates in a tendering process. + Economic Operator Short List + + + + + + + + + BBIE + Economic Operator Short List. Limitation_ Description. Text + Text describing the criteria used to restrict the number of candidates. + 0..n + Economic Operator Short List + Limitation + Description + Text + Text. Type + + + + + + + + + BBIE + Economic Operator Short List. Expected_ Quantity. Quantity + The number of economic operators expected to be on the short list. + 0..1 + Economic Operator Short List + Expected + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Economic Operator Short List. Maximum_ Quantity. Quantity + The maximum number of economic operators on the short list. + 0..1 + Economic Operator Short List + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Economic Operator Short List. Minimum_ Quantity. Quantity + The minimum number of economic operators on the short list. + 0..1 + Economic Operator Short List + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Economic Operator Short List. Pre Selected_ Party. Party + The parties pre-selected allowed to submit tenders in a negotiated procedure. Negotiated procedure is a type of procedure where the contracting authorities can set the parties to be invited in the procurement project + 0..n + Economic Operator Short List + Pre Selected + Party + Party + Party + + + + + + + + + + + ABIE + Emission Calculation Method. Details + A class to define how an environmental emission is calculated. + Emission Calculation Method + + + + + + + + + BBIE + Emission Calculation Method. Calculation Method Code. Code + A code signifying the method used to calculate the emission. + 0..1 + Emission Calculation Method + Calculation Method Code + Code + Code. Type + + + + + + + + + BBIE + Emission Calculation Method. Fullness Indication Code. Code + A code signifying whether a piece of transport equipment is full, partially full, or empty. This indication is used as a parameter when calculating the environmental emission. + 0..1 + Emission Calculation Method + Fullness Indication Code + Code + Code. Type + + + + + + + + + ASBIE + Emission Calculation Method. Measurement From_ Location. Location + A start location from which an environmental emission is calculated. + 0..1 + Emission Calculation Method + Measurement From + Location + Location + Location + + + + + + + + + ASBIE + Emission Calculation Method. Measurement To_ Location. Location + An end location to which an environmental emission is calculated. + 0..1 + Emission Calculation Method + Measurement To + Location + Location + Location + + + + + + + + + + + ABIE + Encryption Certificate Path Chain. Details + Details of a certificate path chain used in encryption. + Encryption Certificate Path Chain + + + + + + + + + BBIE + Encryption Certificate Path Chain. Value. Text + The path chain value manifest in the instance. + 0..1 + Encryption Certificate Path Chain + Value + Text + Text. Type + + + + + + + + + BBIE + Encryption Certificate Path Chain. URI. Identifier + The path chain value references external to the instance. + 0..1 + Encryption Certificate Path Chain + URI + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Encryption Data. Details + Details of an encryption process + Encryption Data + + + + + + + + + BBIE + Encryption Data. Message Format. Text + The format of the encrypted message. + 1 + Encryption Data + Message Format + Text + Text. Type + + + + + + + + + ASBIE + Encryption Data. Encryption Certificate_ Attachment. Attachment + A reference to the certificate used in the encryption process. + 0..1 + Encryption Data + Encryption Certificate + Attachment + Attachment + Attachment + + + + + + + + + ASBIE + Encryption Data. Encryption Certificate Path Chain + A reference to the path chain defined for the encryption process. + 0..n + Encryption Data + Encryption Certificate Path Chain + Encryption Certificate Path Chain + Encryption Certificate Path Chain + + + + + + + + + ASBIE + Encryption Data. Encryption Symmetric Algorithm + A reference to the symmetric algorithm used for the encryption process. + 0..n + Encryption Data + Encryption Symmetric Algorithm + Encryption Symmetric Algorithm + Encryption Symmetric Algorithm + + + + + + + + + + + ABIE + Encryption Symmetric Algorithm. Details + Details of a symmetric algorithm used in encryption. + Encryption Symmetric Algorithm + + + + + + + + + BBIE + Encryption Symmetric Algorithm. Identifier + A human-readable identifier the algorithm. + 0..1 + Encryption Symmetric Algorithm + Identifier + Identifier + Identifier. Type + AES-256 Rijndael CBC + + + + + + + + + BBIE + Encryption Symmetric Algorithm. OID. Identifier + The object identifier for the algorithm. + 0..1 + Encryption Symmetric Algorithm + OID + Identifier + Identifier. Type + 2.16.840.1.101.3.4.1.42 + + + + + + + + + + + ABIE + Endorsement. Details + A class to describe an endorsement of a document. + Endorsement + + + + + + + + + BBIE + Endorsement. Document. Identifier + An identifier for this endorsement. + 1 + Endorsement + Document + Identifier + Identifier. Type + + + + + + + + + BBIE + Endorsement. Approval Status. Text + The status of this endorsement. + 1 + Endorsement + Approval Status + Text + Text. Type + Authentication Code + + + + + + + + + BBIE + Endorsement. Remarks. Text + Remarks provided by the endorsing party. + 0..n + Endorsement + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Endorsement. Endorser Party + The type of party providing this endorsement. + 1 + Endorsement + Endorser Party + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Endorsement. Signature + A signature applied to this endorsement. + 0..n + Endorsement + Signature + Signature + Signature + + + + + + + + + + + ABIE + Endorser Party. Details + A class to describe the party endorsing a document. + Endorser Party + + + + + + + + + BBIE + Endorser Party. Role Code. Code + A code specifying the role of the party providing the endorsement (e.g., issuer, embassy, insurance, etc.). + 1 + Endorser Party + Role Code + Code + Code. Type + + + + + + + + + BBIE + Endorser Party. Sequence. Numeric + A number indicating the order of the endorsement provided by this party in the sequence in which endorsements are to be applied. + 1 + Endorser Party + Sequence + Numeric + Numeric. Type + + + + + + + + + ASBIE + Endorser Party. Party + The party endorsing the application. + 1 + Endorser Party + Party + Party + Party + + + + + + + + + ASBIE + Endorser Party. Signatory_ Contact. Contact + The individual representing the exporter who signs the Certificate of Origin application before submitting it to the issuer party. + 1 + Endorser Party + Signatory + Contact + Contact + Contact + + + + + + + + + + + ABIE + Energy Tax Report. Details + A class to describe energy taxes. + Energy Tax Report + + + + + + + + + BBIE + Energy Tax Report. Tax Energy Amount. Amount + The monetary amount of taxes (and duties). + 0..1 + Energy Tax Report + Tax Energy Amount + Amount + Amount. Type + 3087.90 + + + + + + + + + BBIE + Energy Tax Report. Tax Energy_ On Account Amount. Amount + The monetary amount of taxes (and duties) paid on account. + 0..1 + Energy Tax Report + Tax Energy + On Account Amount + Amount + Amount. Type + 2855.40 + + + + + + + + + BBIE + Energy Tax Report. Tax Energy Balance. Amount + The monetary amount of the balance of taxes owing. + 0..1 + Energy Tax Report + Tax Energy Balance + Amount + Amount. Type + 232.49 + + + + + + + + + ASBIE + Energy Tax Report. Tax Scheme + The relevant taxation scheme. + 1 + Energy Tax Report + Tax Scheme + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Energy Water Supply. Details + A class to describe the supply (and therefore consumption) of an amount of energy or water. + Energy Water Supply + + + + + + + + + ASBIE + Energy Water Supply. Consumption Report + An amount of energy or water consumed. + 0..n + Energy Water Supply + Consumption Report + Consumption Report + Consumption Report + + + + + + + + + ASBIE + Energy Water Supply. Energy Tax Report + A tax on the consumption of energy or water. + 0..n + Energy Water Supply + Energy Tax Report + Energy Tax Report + Energy Tax Report + + + + + + + + + ASBIE + Energy Water Supply. Consumption Average + A consumption average. + 0..n + Energy Water Supply + Consumption Average + Consumption Average + Consumption Average + + + + + + + + + ASBIE + Energy Water Supply. Energy Water_ Consumption Correction. Consumption Correction + Describes any corrections or adjustments to the supply of energy or water. + 0..n + Energy Water Supply + Energy Water + Consumption Correction + Consumption Correction + Consumption Correction + + + + + + + + + + + ABIE + Environmental Emission. Details + A class to describe an environmental emission. + Environmental Emission + + + + + + + + + BBIE + Environmental Emission. Environmental Emission Type Code. Code + A code specifying the type of environmental emission. + 1 + Environmental Emission + Environmental Emission Type Code + Code + Code. Type + + + + + + + + + BBIE + Environmental Emission. Value. Measure + A value measurement for the environmental emission. + 1 + Environmental Emission + Value + Measure + Measure. Type + + + + + + + + + BBIE + Environmental Emission. Description. Text + Text describing this environmental emission. + 0..n + Environmental Emission + Description + Text + Text. Type + + + + + + + + + ASBIE + Environmental Emission. Emission Calculation Method + A method used to calculate the amount of this emission. + 0..n + Environmental Emission + Emission Calculation Method + Emission Calculation Method + Emission Calculation Method + + + + + + + + + + + ABIE + Evaluation Criterion. Details + A class defining the required criterion for a tenderer to be elligible in a tendering process. + Evaluation Criterion + + + + + + + + + BBIE + Evaluation Criterion. Evaluation Criterion Type Code. Code + A code that specifies the criterion; it may be financial, technical or organizational. + 0..1 + Evaluation Criterion + Evaluation Criterion Type Code + Code + Code. Type + + + + + + + + + BBIE + Evaluation Criterion. Description. Text + A description of the criterion. + 0..n + Evaluation Criterion + Description + Text + Text. Type + + + + + + + + + BBIE + Evaluation Criterion. Threshold_ Amount. Amount + Estimated monetary amount of the threshold for the criterion. + 0..1 + Evaluation Criterion + Threshold + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Evaluation Criterion. Threshold_ Quantity. Quantity + Estimated quantity of the threshold for the criterion. + 0..1 + Evaluation Criterion + Threshold + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Evaluation Criterion. Expression Code. Code + A code identifying the expression that will be used to evaluate the criterion. + 0..1 + Evaluation Criterion + Expression Code + Code + Code. Type + + + + + + + + + BBIE + Evaluation Criterion. Expression. Text + The expression that will be used to evaluate the criterion. + 0..n + Evaluation Criterion + Expression + Text + Text. Type + + + + + + + + + ASBIE + Evaluation Criterion. Duration_ Period. Period + Describes the period for which the evaluation criterion is valid. + 0..1 + Evaluation Criterion + Duration + Period + Period + Period + + + + + + + + + ASBIE + Evaluation Criterion. Suggested_ Evidence. Evidence + Describes any evidences that should be used to satisfy the criterion. + 0..n + Evaluation Criterion + Suggested + Evidence + Evidence + Evidence + + + + + + + + + + + ABIE + Event. Details + A class to describe a significant occurrence relating to an object, process, or person. + Event + + + + + + + + + BBIE + Event. Identification. Identifier + An identifier for this event within an agreed event identification scheme. + 0..1 + Event + Identification + Identifier + Identifier. Type + + + + + + + + + BBIE + Event. Occurrence Date. Date + The date of this event. + 0..1 + Event + Occurrence Date + Date + Date. Type + + + + + + + + + BBIE + Event. Occurrence Time. Time + The time of this event. + 0..1 + Event + Occurrence Time + Time + Time. Type + + + + + + + + + BBIE + Event. Type Code. Code + A code signifying the type of this event. + 0..1 + Event + Type Code + Code + Code. Type + + + + + + + + + BBIE + Event. Description. Text + Text describing this event. + 0..n + Event + Description + Text + Text. Type + + + + + + + + + BBIE + Event. Completion_ Indicator. Indicator + An indicator that this event has been completed (true) or not (false). + 0..1 + Event + Completion + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Event. Current_ Status. Status + The current status of this event. + 0..n + Event + Current + Status + Status + Status + + + + + + + + + ASBIE + Event. Contact + Contacts associated with this event. + 0..n + Event + Contact + Contact + Contact + + + + + + + + + ASBIE + Event. Occurence_ Location. Location + The location of this event. + 0..1 + Event + Occurence + Location + Location + Location + + + + + + + + + + + ABIE + Event Comment. Details + A class to define comments about a retail event. + Event Comment + + + + + + + + + BBIE + Event Comment. Comment. Text + Text commenting on the event. + 1 + Event Comment + Comment + Text + Text. Type + + + + + + + + + BBIE + Event Comment. Issue Date. Date + The date on which this comment was made. + 0..1 + Event Comment + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Event Comment. Issue Time. Time + The time at which this comment was made. + 0..1 + Event Comment + Issue Time + Time + Time. Type + + + + + + + + + + + ABIE + Event Line Item. Details + A class to define a line item describing the expected impacts associated with a retail event involving a specific product at a specific location. + Event Line Item + + + + + + + + + BBIE + Event Line Item. Line Number. Numeric + The number of this event line item. + 0..1 + Event Line Item + Line Number + Numeric + Numeric. Type + + + + + + + + + ASBIE + Event Line Item. Participating Locations_ Location. Location + The location of the stores involved in the event described in this line item. + 0..1 + Event Line Item + Participating Locations + Location + Location + Location + + + + + + + + + ASBIE + Event Line Item. Retail Planned Impact + A planned impact of the event described in this line item. + 0..n + Event Line Item + Retail Planned Impact + Retail Planned Impact + Retail Planned Impact + + + + + + + + + ASBIE + Event Line Item. Supply_ Item. Item + The product with which the event is associated. + 1 + Event Line Item + Supply + Item + Item + Item + + + + + + + + + + + ABIE + Event Tactic. Details + A class defining a specific type of action or situation arranged by the Buyer or the Seller to promote the product or products. + Event Tactic + + + + + + + + + BBIE + Event Tactic. Comment. Text + Generic field to add additional information or to specify mutually defined eventTacticTypes that are not currently listed. + 0..1 + Event Tactic + Comment + Text + Text. Type + + + + + + + + + BBIE + Event Tactic. Quantity + The currencies, units, etc. that describes what is need for the event or promotion Usage example: Number of pallets per store for a stack display + 0..1 + Event Tactic + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Event Tactic. Event Tactic Enumeration + The set of codes that describes this event tactic. + 1 + Event Tactic + Event Tactic Enumeration + Event Tactic Enumeration + Event Tactic Enumeration + + + + + + + + + ASBIE + Event Tactic. Period + The period covered by this event tactic. + 0..1 + Event Tactic + Period + Period + Period + + + + + + + + + + + ABIE + Event Tactic Enumeration. Details + A class to define a set of codes that describes a retail tactic. + Event Tactic Enumeration + + + + + + + + + BBIE + Event Tactic Enumeration. Consumer Incentive Tactic Type Code. Code + A code signifying the type of consumer incentive. Examples include:Free Item, Temporary Price reduction + 0..1 + Event Tactic Enumeration + Consumer Incentive Tactic Type Code + Code + Code. Type + + + + + + + + + BBIE + Event Tactic Enumeration. Display Tactic Type Code. Code + A code signifying the type of display. Examples Include: ON_COUNTER_DISPLAY, FLOOR_GRAPHICS FLOOR_STACK_DISPLAY + 0..1 + Event Tactic Enumeration + Display Tactic Type Code + Code + Code. Type + + + + + + + + + BBIE + Event Tactic Enumeration. Feature Tactic Type Code. Code + A code signifying a special feature. Examples Include: BILLBOARD DIRECT_MAIL_AD, FLYER + 0..1 + Event Tactic Enumeration + Feature Tactic Type Code + Code + Code. Type + + + + + + + + + BBIE + Event Tactic Enumeration. Trade Item Packing Labeling Type Code. Code + A code signifying the type of trade item packing and labeling. Examples Include: BONUS_SIZE CO_BRANDED_TRADE_ITEM + 0..1 + Event Tactic Enumeration + Trade Item Packing Labeling Type Code + Code + Code. Type + + + + + + + + + + + ABIE + Evidence. Details + A class to describe an item of evidentiary support for representations of capabilities or the ability to meet tendering requirements, which an economic operator must provide for acceptance into a tendering process. + Evidence + + + + + + + + + BBIE + Evidence. Identifier + An identifier for this item of evidentiary support. + 0..1 + Evidence + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Evidence. Evidence Type Code. Code + A code signifying the type of evidence. + 0..1 + Evidence + Evidence Type Code + Code + Code. Type + + + + + + + + + BBIE + Evidence. Name + The name of the evidence. + 0..1 + Evidence + Name + Name + Name. Type + + + + + + + + + BBIE + Evidence. Description. Text + The textual description for this Evidence. + 0..n + Evidence + Description + Text + Text. Type + + + + + + + + + BBIE + Evidence. Candidate_ Statement. Text + Information about a candidate statement that the contracting authority accepts as a sufficient response. + 0..n + Evidence + Candidate + Statement + Text + Text. Type + + + + + + + + + BBIE + Evidence. Confidentiality Level Code. Code + A code specifying the confidentiality level of this evidence. + 0..1 + Evidence + Confidentiality Level Code + Code + Code. Type + + + + + + + + + ASBIE + Evidence. Evidence Issuing_ Party. Party + A class to describe a party issuing an evidentiary document. + 0..1 + Evidence + Evidence Issuing + Party + Party + Party + + + + + + + + + ASBIE + Evidence. Document Reference + A reference to the evidentiary document. + 0..n + Evidence + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Evidence. Language + Information about a required translation to be part of the response, i.e. the language. + 0..1 + Evidence + Language + Language + Language + + + + + + + + + + + ABIE + Evidence Supplied. Details + A reference to evidence. + Evidence Supplied + + + + + + + + + BBIE + Evidence Supplied. Identifier + The identifier of the referenced evidence. + 1 + Evidence Supplied + Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Exception Criteria Line. Details + A class to define a line in an ExceptionCriteria document that specifies a threshold for forecast variance, product activity, or performance history, the exceeding of which should trigger an exception message. + Exception Criteria Line + + + + + + + + + BBIE + Exception Criteria Line. Identifier + An identifier for this exception criteria line. + 1 + Exception Criteria Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Criteria Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Exception Criteria Line + Note + Text + Text. Type + + + + + + + + + BBIE + Exception Criteria Line. Threshold Value Comparison Code. Code + Type of comparison to be carried out in reference to the set threshold." Allowed values are: EXCEEDS_EXCEPTION_VALUE FALLS_BELOW_EXCEPTION_VALUE + 1 + Exception Criteria Line + Threshold Value Comparison Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Threshold_ Quantity. Quantity + A quantity beyond which an exception will be triggered. + 1 + Exception Criteria Line + Threshold + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Exception Criteria Line. Exception Status Code. Code + A code signifying status specific to a shipment exception. + 0..1 + Exception Criteria Line + Exception Status Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Collaboration_ Priority Code. Code + A collaboratively assigned code signifying priority of the Exception. Possible values are: HIGH, LOW, MEDIUM + 0..1 + Exception Criteria Line + Collaboration + Priority Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Exception_ Resolution Code. Code + Coded representation of possible resolution methods". Possible values are: DEFAULT_TO_AVERAGE_OF_COMPARED_VALUES DEFAULT_TO_BUYERS_VALUE DEFAULT_TO_HIGH_VALUE DEFAULT_TO_LOW_VALUE DEFAULT_TO_SELLERS_VALUE MANUAL_RESOLUTION MUTUALLY_DEFINED + 0..1 + Exception Criteria Line + Exception + Resolution Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Supply Chain Activity Type Code. Code + Establishes the criterion for one of the three types of exceptions. There can be three types of exception criteria: Operational, Metric and Forecast Exceptions. This will be set if this Exception is about an Operational Exception. Description could be: A code used to identify an operational exception. Possible values are: CANCELED_ORDERS EMERGENCY_ORDERS ON_HAND ORDERS RECEIPTS SALES SHIPMENTS + 0..1 + Exception Criteria Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Exception Criteria Line. Performance Metric Type Code. Code + A code signifying a measure of performance. + 0..1 + Exception Criteria Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Exception Criteria Line. Effective_ Period. Period + The period during which this exception criteria line is in effect. + 0..1 + Exception Criteria Line + Effective + Period + Period + Period + + + + + + + + + ASBIE + Exception Criteria Line. Supply_ Item. Item + The Trade Item that is the subject of the Exception Criterion. + 1..n + Exception Criteria Line + Supply + Item + Item + Item + + + + + + + + + ASBIE + Exception Criteria Line. Forecast Exception Criterion Line + Establishes the criterion for one of the three types of exceptions. This class provides the criterion for the kind of forecast exception, the identification of the purpose of the forecast, the source of data and the time basis criterion for the exception. + 0..1 + Exception Criteria Line + Forecast Exception Criterion Line + Forecast Exception Criterion Line + Forecast Exception Criterion Line + + + + + + + + + + + ABIE + Exception Notification Line. Details + A class to define a line in an Exception Notification. + Exception Notification Line + + + + + + + + + BBIE + Exception Notification Line. Identifier + An identifier for this exception notification line. + 1 + Exception Notification Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Notification Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Exception Notification Line + Note + Text + Text. Type + + + + + + + + + BBIE + Exception Notification Line. Description. Text + Text describing the exception. + 0..n + Exception Notification Line + Description + Text + Text. Type + + + + + + + + + BBIE + Exception Notification Line. Exception Status Code. Code + A code signifying status specific to a shipment exception. + 0..1 + Exception Notification Line + Exception Status Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Collaboration_ Priority Code. Code + Priority of Exception. + 0..1 + Exception Notification Line + Collaboration + Priority Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Resolution Code. Code + Coded representation of possible resolution methods". Possible values are: DEFAULT_TO_AVERAGE_OF_COMPARED_VALUES DEFAULT_TO_BUYERS_VALUE DEFAULT_TO_HIGH_VALUE DEFAULT_TO_LOW_VALUE DEFAULT_TO_SELLERS_VALUE MANUAL_RESOLUTION MUTUALLY_DEFINED + 0..1 + Exception Notification Line + Resolution Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Compared Value. Measure + The value that was compared with the source value that resulted in the exception + 1 + Exception Notification Line + Compared Value + Measure + Measure. Type + + + + + + + + + BBIE + Exception Notification Line. Source Value. Measure + The value used as the basis of comparison + 1 + Exception Notification Line + Source Value + Measure + Measure. Type + + + + + + + + + BBIE + Exception Notification Line. Variance. Quantity + The variance of a data item from an expected value during a particular time interval. + 0..1 + Exception Notification Line + Variance + Quantity + Quantity. Type + + + + + + + + + BBIE + Exception Notification Line. Supply Chain Activity Type Code. Code + Establishes the criterion for one of the three types of exceptions: Operational, performance metric and forecast. This reports an exception notification about an operational exception. Description could be: A code used to identify an operational exception. Possible values are: CANCELED_ORDERS EMERGENCY_ORDERS ON_HAND ORDERS RECEIPTS SALES SHIPMENTS + 0..1 + Exception Notification Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Exception Notification Line. Performance Metric Type Code. Code + A code used to identify a measure of performance. It defines the type of the Performance Metric on which an exception criteria is being defined + 0..1 + Exception Notification Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Exception Notification Line. Exception Observation_ Period. Period + The period (start-end date) when this exception is observed + 0..1 + Exception Notification Line + Exception Observation + Period + Period + Period + + + + + + + + + ASBIE + Exception Notification Line. Document Reference + A reference to Exception Criteria document can be provided. + 0..n + Exception Notification Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Exception Notification Line. Forecast Exception + A forecast accuracy or comparison exception. + 0..1 + Exception Notification Line + Forecast Exception + Forecast Exception + Forecast Exception + + + + + + + + + ASBIE + Exception Notification Line. Supply_ Item. Item + The product associated with this exception notification line. + 1 + Exception Notification Line + Supply + Item + Item + Item + + + + + + + + + + + ABIE + Exchange Rate. Details + A class to define an exchange rate. + Exchange Rate + + + + + + + + + BBIE + Exchange Rate. Source_ Currency Code. Code + The reference currency for this exchange rate; the currency from which the exchange is being made. + 1 + Exchange Rate + Source + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Source_ Currency Base Rate. Rate + In the case of a source currency with denominations of small value, the unit base. + 0..1 + Exchange Rate + Source + Currency Base Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Target_ Currency Code. Code + The target currency for this exchange rate; the currency to which the exchange is being made. + 1 + Exchange Rate + Target + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Target_ Currency Base Rate. Rate + In the case of a target currency with denominations of small value, the unit base. + 0..1 + Exchange Rate + Target + Currency Base Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Exchange Market Identifier. Identifier + An identifier for the currency exchange market used as the source of this exchange rate. + 0..1 + Exchange Rate + Exchange Market Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Exchange Rate. Calculation Rate. Rate + The factor applied to the source currency to calculate the target currency. + 0..1 + Exchange Rate + Calculation Rate + Rate + Rate. Type + + + + + + + + + BBIE + Exchange Rate. Mathematic Operator Code. Code + A code signifying whether the calculation rate is a multiplier or a divisor. + 0..1 + Exchange Rate + Mathematic Operator Code + Code + Operator + Operator_ Code. Type + + + + + + + + + BBIE + Exchange Rate. Date + The date on which the exchange rate was established. + 0..1 + Exchange Rate + Date + Date + Date. Type + + + + + + + + + ASBIE + Exchange Rate. Foreign Exchange_ Contract. Contract + A contract for foreign exchange. + 0..1 + Exchange Rate + Foreign Exchange + Contract + Contract + Contract + + + + + + + + + + + ABIE + External Reference. Details + A class to describe an external object, such as a document stored at a remote location. + External Reference + + + + + + + + + BBIE + External Reference. URI. Identifier + The Uniform Resource Identifier (URI) that identifies the external object as an Internet resource. + 0..1 + External Reference + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + External Reference. Document Hash. Text + A hash value for the externally stored object. + 0..1 + External Reference + Document Hash + Text + Text. Type + + + + + + + + + BBIE + External Reference. Hash Algorithm Method. Text + A hash algorithm used to calculate the hash value of the externally stored object. + 0..1 + External Reference + Hash Algorithm Method + Text + Text. Type + + + + + + + + + BBIE + External Reference. Expiry Date. Date + The date on which availability of the resource can no longer be relied upon. + 0..1 + External Reference + Expiry Date + Date + Date. Type + + + + + + + + + BBIE + External Reference. Expiry Time. Time + The time after which availability of the resource can no longer be relied upon. + 0..1 + External Reference + Expiry Time + Time + Time. Type + + + + + + + + + BBIE + External Reference. Mime Code. Code + A code signifying the mime type of the external object. + 0..1 + External Reference + Mime Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. Format Code. Code + A code signifying the format of the external object. + 0..1 + External Reference + Format Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. Encoding Code. Code + A code signifying the encoding/decoding algorithm used with the external object. + 0..1 + External Reference + Encoding Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. Character Set Code. Code + A code signifying the character set of an external document. + 0..1 + External Reference + Character Set Code + Code + Code. Type + + + + + + + + + BBIE + External Reference. File Name. Name + The file name of the external object. + 0..1 + External Reference + File Name + Name + Name. Type + + + + + + + + + BBIE + External Reference. Description. Text + Text describing the external object. + 0..n + External Reference + Description + Text + Text. Type + computer accessories for laptops + + + + + + + + + + + ABIE + Financial Account. Details + A class to describe a financial account. + Financial Account + + + + + + + + + BBIE + Financial Account. Identifier + The identifier for this financial account; the bank account number. + 0..1 + Financial Account + Identifier + Identifier + Identifier. Type + SWIFT(BIC) and IBAN are defined in ISO 9362 and ISO 13616. + + + + + + + + + BBIE + Financial Account. Name + The name of this financial account. + 0..1 + Financial Account + Name + Name + Name. Type + + + + + + + + + BBIE + Financial Account. Alias_ Name. Name + An alias for the name of this financial account, to be used in place of the actual account name for security reasons. + 0..1 + Financial Account + Alias + Name + Name + Name. Type + + + + + + + + + BBIE + Financial Account. Account Type Code. Code + A code signifying the type of this financial account. + 0..1 + Financial Account + Account Type Code + Code + Code. Type + + + + + + + + + BBIE + Financial Account. Account Format Code. Code + A code signifying the format of this financial account. + 0..1 + Financial Account + Account Format Code + Code + Code. Type + ISO20022 Clearing System Identification Code + + + + + + + + + BBIE + Financial Account. Currency Code. Code + A code signifying the currency in which this financial account is held. + 0..1 + Financial Account + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Financial Account. Payment_ Note. Text + Free-form text applying to the Payment for the owner of this account. + 0..n + Financial Account + Payment + Note + Text + Text. Type + + + + + + + + + ASBIE + Financial Account. Financial Institution_ Branch. Branch + The branch of the financial institution associated with this financial account. + 0..1 + Financial Account + Financial Institution + Branch + Branch + Branch + + + + + + + + + ASBIE + Financial Account. Country + The country in which the holder of the financial account is domiciled. + 0..1 + Financial Account + Country + Country + Country + + + + + + + + + + + ABIE + Financial Guarantee. Details + A class to describe the bond guarantee of a tenderer or bid submitter's actual entry into a contract in the event that it is the successful bidder. + Financial Guarantee + + + + + + + + + BBIE + Financial Guarantee. Guarantee Type Code. Code + A code signifying the type of financial guarantee. For instance "Provisional Guarantee" or "Final Guarantee" + 1 + Financial Guarantee + Guarantee Type Code + Code + Code. Type + + + + + + + + + BBIE + Financial Guarantee. Description. Text + Text describing this financial guarantee. + 0..n + Financial Guarantee + Description + Text + Text. Type + + + + + + + + + BBIE + Financial Guarantee. Liability. Amount + The amount of liability in this financial guarantee. + 0..1 + Financial Guarantee + Liability + Amount + Amount. Type + + + + + + + + + BBIE + Financial Guarantee. Amount. Rate + The rate used to calculate the amount of liability in this financial guarantee. + 0..1 + Financial Guarantee + Amount + Rate + Rate. Type + + + + + + + + + ASBIE + Financial Guarantee. Constitution_ Period. Period + The period during the tendering process to which this financial guarantee has to be settled. + 0..1 + Financial Guarantee + Constitution + Period + Period + Period + + + + + + + + + + + ABIE + Financial Institution. Details + A class to describe a financial institution. + Financial Institution + + + + + + + + + BBIE + Financial Institution. Identifier + An identifier for this financial institution. It is recommended that the ISO 9362 Bank Identification Code (BIC) be used as the ID. + 0..1 + Financial Institution + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Financial Institution. Name + The name of this financial institution. + 0..1 + Financial Institution + Name + Name + Name. Type + + + + + + + + + ASBIE + Financial Institution. Address + The address of this financial institution. + 0..1 + Financial Institution + Address + Address + Address + + + + + + + + + + + ABIE + Forecast Exception. Details + As explained in Exception Criteria Line: Three types of exception criteria can be defined, Operational, Metric or Forecast Exceptions. This class provides criteria for forecast exception type: the identification of the purpose of the forecast, the source of data and the time basis criteria for the exception. + Forecast Exception + + + + + + + + + BBIE + Forecast Exception. Forecast_ Purpose Code. Code + It is either Sales forecast or Order Forecast. Definition can be changed like: "The purpose of the Forecast (either sales or order), about which an exception criteria is being defined". + 1 + Forecast Exception + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Forecast Type Code. Code + A code signifying the type of forecast. Example of values are:BASE PROMOTIONAL SEASONAL TOTAL + 1 + Forecast Exception + Forecast Type Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Issue Date. Date + The date on which the forecast was issued. + 1 + Forecast Exception + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Forecast Exception. Issue Time. Time + The time at which the forecast was issued. + 0..1 + Forecast Exception + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Exception. Data Source Code. Code + A code signifying the partner who provides this information. + 1 + Forecast Exception + Data Source Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Comparison Data Code. Code + A code signifying the partner providing the information in this forecast exception. + 0..1 + Forecast Exception + Comparison Data Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception. Comparison Forecast Issue Time. Time + The time at which this comparison forecast was issued. + 0..1 + Forecast Exception + Comparison Forecast Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Exception. Comparison Forecast Issue Date. Date + The date on which this comparison forecast was issued. + 0..1 + Forecast Exception + Comparison Forecast Issue Date + Date + Date. Type + + + + + + + + + + + ABIE + Forecast Exception Criterion Line. Details + Establishes the criterion for one of the three types of exceptions. This class provides criteria for the kind of forecast exception, the identification of the purpose of the forecast, the source of data and the time basis criterion for the exception. + Forecast Exception Criterion Line + + + + + + + + + BBIE + Forecast Exception Criterion Line. Forecast_ Purpose Code. Code + A description of the purpose for the forecast that is assigned to each forecast data item exception criterion. + 1 + Forecast Exception Criterion Line + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Forecast Type Code. Code + A description of a Forecast selected from a list. + 1 + Forecast Exception Criterion Line + Forecast Type Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Comparison Data Source Code. Code + If it is a forecast comparison exception, this value indicates the other source of information. + 0..1 + Forecast Exception Criterion Line + Comparison Data Source Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Data Source Code. Code + Indication of the partner who provides the information. + 1 + Forecast Exception Criterion Line + Data Source Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Exception Criterion Line. Time Delta Days Quantity. Quantity + Time basis in days for the Exception. + 0..1 + Forecast Exception Criterion Line + Time Delta Days Quantity + Quantity + Quantity. Type + + + + + + + + + + + ABIE + Forecast Line. Details + Detailed information about a particular Forecast Line within a Forecast Document + Forecast Line + + + + + + + + + BBIE + Forecast Line. Identifier + An identifier for this forecast line. + 1 + Forecast Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Forecast Line + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast Line. Frozen Document Indicator. Indicator + An indicator that the status of the forecast is modifiable (true) or not (false). + 0..1 + Forecast Line + Frozen Document Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast Line. Forecast Type Code. Code + A code signifying the type of forecast. Examples: BASE PROMOTIONAL SEASONAL TOTAL + 1 + Forecast Line + Forecast Type Code + Code + Code. Type + seasonal, total + + + + + + + + + ASBIE + Forecast Line. Forecast_ Period. Period + The period to which the forecast applies. + 0..1 + Forecast Line + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast Line. Sales Item + Sales information for the item to which this line applies. + 0..1 + Forecast Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Forecast Revision Line. Details + A class to define a line in a Forecast Revision describing a revision to a line in a Forecast. + Forecast Revision Line + + + + + + + + + BBIE + Forecast Revision Line. Identifier + An identifier for this forecast revision line. + 1 + Forecast Revision Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Forecast Revision Line + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast Revision Line. Description. Text + Text describing the revision to this line. + 0..n + Forecast Revision Line + Description + Text + Text. Type + + + + + + + + + BBIE + Forecast Revision Line. Revised_ Forecast Line Identifier. Identifier + An identifier for the revised forecast line. + 1 + Forecast Revision Line + Revised + Forecast Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision Line. Source Forecast_ Issue Date. Date + The date on which the forecast modified by this revision was generated or created. + 1 + Forecast Revision Line + Source Forecast + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Forecast Revision Line. Source Forecast_ Issue Time. Time + The time at which the forecast modified by this revision was generated or created. + 1 + Forecast Revision Line + Source Forecast + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Revision Line. Adjustment Reason Code. Code + A code signifying the reason for the adjustment specified in this forecast revision line. + 0..1 + Forecast Revision Line + Adjustment Reason Code + Code + Code. Type + + + + + + + + + ASBIE + Forecast Revision Line. Forecast_ Period. Period + The period to which this forecast revision line applies. + 0..1 + Forecast Revision Line + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast Revision Line. Sales Item + Sales information for the item to which this line applies. + 0..1 + Forecast Revision Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Framework Agreement. Details + A class to describe a tendering framework agreement. + Framework Agreement + + + + + + + + + BBIE + Framework Agreement. Expected_ Operator. Quantity + The number of economic operators expected to participate in this framework agreement. + 0..1 + Framework Agreement + Expected + Operator + Quantity + Quantity. Type + + + + + + + + + BBIE + Framework Agreement. Maximum_ Operator. Quantity + The maximum number of economic operators allowed to participate in this framework agreement. + 0..1 + Framework Agreement + Maximum + Operator + Quantity + Quantity. Type + + + + + + + + + BBIE + Framework Agreement. Justification. Text + Text describing the justification for this framework agreement. + 0..n + Framework Agreement + Justification + Text + Text. Type + + + + + + + + + BBIE + Framework Agreement. Frequency. Text + Text describing the frequency with which subsequent contracts will be awarded. + 0..n + Framework Agreement + Frequency + Text + Text. Type + + + + + + + + + ASBIE + Framework Agreement. Duration_ Period. Period + The period during which this framework agreement applies. + 0..1 + Framework Agreement + Duration + Period + Period + Period + + + + + + + + + ASBIE + Framework Agreement. Subsequent Process_ Tender Requirement. Tender Requirement + A tender requirement intended for consumption by downstream tendering processes derived from the establishment of this framework agreement. + 0..n + Framework Agreement + Subsequent Process + Tender Requirement + Tender Requirement + Tender Requirement + Curricula required + + + + + + + + + + + ABIE + Goods Item. Details + A class to describe a separately identifiable quantity of goods of a single product type. + Goods Item + + + + + + + + + BBIE + Goods Item. Identifier + An identifier for this goods item. + 0..1 + Goods Item + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item. Sequence Number. Identifier + A sequence number differentiating a specific goods item within a consignment. + 0..1 + Goods Item + Sequence Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item. Description. Text + Text describing this goods item to identify it for customs, statistical, or transport purposes. + 0..n + Goods Item + Description + Text + Text. Type + Description of goods (WCO ID 137) + + + + + + + + + BBIE + Goods Item. Hazardous Risk_ Indicator. Indicator + An indication that the transported goods item is subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Goods Item + Hazardous Risk + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Goods Item. Declared Customs_ Value. Amount + The total declared value for customs purposes of the goods item. + 0..1 + Goods Item + Declared Customs + Value + Amount + Amount. Type + For Customs Value (WCO ID 108) + + + + + + + + + BBIE + Goods Item. Declared For Carriage_ Value. Amount + The value of this goods item, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Goods Item + Declared For Carriage + Value + Amount + Amount. Type + Interest in delivery, declared value for carriage + + + + + + + + + BBIE + Goods Item. Declared Statistics_ Value. Amount + The total declared value of all the goods items in the same consignment with this goods item that have the same statistical heading. + 0..1 + Goods Item + Declared Statistics + Value + Amount + Amount. Type + Statistical Value (WCO ID 114) + + + + + + + + + BBIE + Goods Item. Free On Board_ Value. Amount + The monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Goods Item + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Goods Item. Insurance_ Value. Amount + The amount covered by insurance for this goods item. + 0..1 + Goods Item + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Goods Item. Value. Amount + The amount on which a duty, tax, or fee will be assessed. + 0..1 + Goods Item + Value + Amount + Amount. Type + + + + + + + + + BBIE + Goods Item. Gross_ Weight. Measure + The weight of this goods item, including packing and packaging but excluding the carrier's equipment. + 0..1 + Goods Item + Gross + Weight + Measure + Measure. Type + Actual Gross Weight + + + + + + + + + BBIE + Goods Item. Net_ Weight. Measure + The weight of this goods item, excluding packing but including packaging that normally accompanies the goods. + 0..1 + Goods Item + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Net Net_ Weight. Measure + The total weight of this goods item, excluding all packing and packaging. + 0..1 + Goods Item + Net Net + Weight + Measure + Measure. Type + Customs Weight (WCO ID 128) + + + + + + + + + BBIE + Goods Item. Chargeable_ Weight. Measure + The weight on which a charge is to be based. + 0..1 + Goods Item + Chargeable + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Gross_ Volume. Measure + The volume of this goods item, normally calculated by multiplying its maximum length, width, and height. + 0..1 + Goods Item + Gross + Volume + Measure + Measure. Type + Volume, Gross Measurement Cube (GMC), Cube (WCO ID 134) + + + + + + + + + BBIE + Goods Item. Net_ Volume. Measure + The volume contained by a goods item, excluding the volume of any packaging material. + 0..1 + Goods Item + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Goods Item. Quantity + The number of units making up this goods item. + 0..1 + Goods Item + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Preference Criterion Code. Code + A code signifying the treatment preference for this goods item according to international trading agreements. + 0..1 + Goods Item + Preference Criterion Code + Code + Code. Type + Preference Criterion is used in the following manner in the paper CO of another country (e.g.): A - The good is wholly obtained or produced entirely in the territory of one or more of the NAFTA countries as reference in Article 415. Note: The purchase of a good in the territory does not necessarily render it wholly obtained or produced . If the good is an agricultural good, see also criterion F and Annex 703.2. (Reference: Article 401(a), 415). B - ... C - ... D - ... E - ... F - The good is an originating agricultural good under preference criterion A,B, or C above and is not subjected to quantitative restriction in the importing NAFTA country because.... Thus, the column Preference Criterion will indicate either A, B, C,... + + + + + + + + + BBIE + Goods Item. Required_ Customs Identifier. Identifier + An identifier for a set of tariff codes required to specify a type of goods for customs, transport, statistical, or other regulatory purposes. + 0..1 + Goods Item + Required + Customs Identifier + Identifier + Identifier. Type + Tariff code extensions (WCO ID 255) + + + + + + + + + BBIE + Goods Item. Customs Status Code. Code + A code assigned by customs to signify the status of this goods item. + 0..1 + Goods Item + Customs Status Code + Code + Code. Type + Customs status of goods (WCO ID 094) + + + + + + + + + BBIE + Goods Item. Customs Tariff Quantity. Quantity + Quantity of the units in this goods item as required by customs for tariff, statistical, or fiscal purposes. + 0..1 + Goods Item + Customs Tariff Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Customs Import_ Classified Indicator. Indicator + An indicator that this goods item has been classified for import by customs (true) or not (false). + 0..1 + Goods Item + Customs Import + Classified Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Goods Item. Chargeable_ Quantity. Quantity + The number of units in the goods item to which charges apply. + 0..1 + Goods Item + Chargeable + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Returnable_ Quantity. Quantity + The number of units in the goods item that may be returned. + 0..1 + Goods Item + Returnable + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Goods Item. Trace_ Identifier. Identifier + An identifier for use in tracing this goods item, such as the EPC number used in RFID. + 0..1 + Goods Item + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Goods Item. Item + Product information relating to a goods item. + 0..n + Goods Item + Item + Item + Item + + + + + + + + + ASBIE + Goods Item. Goods Item Container + The transporting of a goods item in a unit of transport equipment (e.g., container). + 0..n + Goods Item + Goods Item Container + Goods Item Container + Goods Item Container + + + + + + + + + ASBIE + Goods Item. Freight_ Allowance Charge. Allowance Charge + A cost incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance to the extent that they relate to the freight costs. + 0..n + Goods Item + Freight + Allowance Charge + Allowance Charge + Allowance Charge + Freight Costs + + + + + + + + + ASBIE + Goods Item. Invoice Line + Information about an invoice line relating to this goods item. + 0..n + Goods Item + Invoice Line + Invoice Line + Invoice Line + + + + + + + + + ASBIE + Goods Item. Temperature + The temperature of the goods item. + 0..n + Goods Item + Temperature + Temperature + Temperature + maximum, storage, minimum + + + + + + + + + ASBIE + Goods Item. Contained_ Goods Item. Goods Item + A goods item contained in this goods item. + 0..n + Goods Item + Contained + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Goods Item. Origin_ Address. Address + The region in which the goods have been produced or manufactured, according to criteria laid down for the purposes of application of the customs tariff, or of quantitative restrictions, or of any other measure related to trade. + 0..1 + Goods Item + Origin + Address + Address + Address + Region of origin (WCO ID 066) + + + + + + + + + ASBIE + Goods Item. Delivery + The delivery of this goods item. + 0..1 + Goods Item + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Goods Item. Pickup + The pickup of this goods item. + 0..1 + Goods Item + Pickup + Pickup + Pickup + + + + + + + + + ASBIE + Goods Item. Despatch + The despatch of this goods item. + 0..1 + Goods Item + Despatch + Despatch + Despatch + + + + + + + + + ASBIE + Goods Item. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this goods item. + 0..n + Goods Item + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Goods Item. Containing_ Package. Package + A package containing this goods item. + 0..n + Goods Item + Containing + Package + Package + Package + + + + + + + + + ASBIE + Goods Item. Shipment_ Document Reference. Document Reference + A reference to a shipping document associated with this goods item. + 0..1 + Goods Item + Shipment + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Goods Item. Minimum_ Temperature. Temperature + Information about minimum temperature. + 0..1 + Goods Item + Minimum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Goods Item. Maximum_ Temperature. Temperature + Information about maximum temperature. + 0..1 + Goods Item + Maximum + Temperature + Temperature + Temperature + + + + + + + + + + + ABIE + Goods Item Container. Details + A class defining how goods items are split across transport equipment. + Goods Item Container + + + + + + + + + BBIE + Goods Item Container. Identifier + An identifier for this goods item container. + 1 + Goods Item Container + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Container. Quantity + The number of goods items loaded into or onto one piece of transport equipment as a total consignment or part of a consignment. + 0..1 + Goods Item Container + Quantity + Quantity + Quantity. Type + Number of packages stuffed + + + + + + + + + ASBIE + Goods Item Container. Transport Equipment + A piece of transport equipment used to contain a single goods item. + 0..n + Goods Item Container + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + + + ABIE + Hazardous Goods Transit. Details + A class to describe hazardous goods in transit. + Hazardous Goods Transit + + + + + + + + + BBIE + Hazardous Goods Transit. Transport Emergency Card Code. Code + An identifier for a transport emergency card describing the actions to be taken in an emergency in transporting the hazardous goods. It may be the identity number of a hazardous emergency response plan assigned by the appropriate authority. + 0..1 + Hazardous Goods Transit + Transport Emergency Card Code + Code + Code. Type + TREM card + + + + + + + + + BBIE + Hazardous Goods Transit. Packing Criteria Code. Code + A code signifying the packaging requirement for transportation of the hazardous goods as assigned by IATA, IMDB, ADR, RID etc. + 0..1 + Hazardous Goods Transit + Packing Criteria Code + Code + Code. Type + Packing Group + + + + + + + + + BBIE + Hazardous Goods Transit. Hazardous Regulation Code. Code + A code signifying the set of legal regulations governing the transportation of the hazardous goods. + 0..1 + Hazardous Goods Transit + Hazardous Regulation Code + Code + Code. Type + + + + + + + + + BBIE + Hazardous Goods Transit. Inhalation Toxicity Zone Code. Code + A code signifying the Inhalation Toxicity Hazard Zone for the hazardous goods, as defined by the US Department of Transportation. + 0..1 + Hazardous Goods Transit + Inhalation Toxicity Zone Code + Code + Code. Type + + + + + + + + + BBIE + Hazardous Goods Transit. Transport Authorization Code. Code + A code signifying authorization for the transportation of hazardous cargo. + 0..1 + Hazardous Goods Transit + Transport Authorization Code + Code + Code. Type + Permission for Transport + + + + + + + + + ASBIE + Hazardous Goods Transit. Maximum_ Temperature. Temperature + The maximum temperature at which the hazardous goods can safely be transported. + 0..1 + Hazardous Goods Transit + Maximum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Goods Transit. Minimum_ Temperature. Temperature + The minimum temperature at which the hazardous goods can safely be transported. + 0..1 + Hazardous Goods Transit + Minimum + Temperature + Temperature + Temperature + + + + + + + + + + + ABIE + Hazardous Item. Details + A class to describe a hazardous item. + Hazardous Item + + + + + + + + + BBIE + Hazardous Item. Identifier + An identifier for this hazardous item. + 0..1 + Hazardous Item + Identifier + Identifier + Identifier. Type + Round Up + + + + + + + + + BBIE + Hazardous Item. Placard Notation. Text + Text of the placard notation corresponding to the hazard class of this hazardous item. Can also be the hazard identification number of the orange placard (upper part) required on the means of transport. + 0..1 + Hazardous Item + Placard Notation + Text + Text. Type + 5.1 + + + + + + + + + BBIE + Hazardous Item. Placard Endorsement. Text + Text of the placard endorsement that is to be shown on the shipping papers for this hazardous item. Can also be used for the number of the orange placard (lower part) required on the means of transport. + 0..1 + Hazardous Item + Placard Endorsement + Text + Text. Type + 2 + + + + + + + + + BBIE + Hazardous Item. Additional_ Information. Text + Text providing further information about the hazardous substance. + 0..n + Hazardous Item + Additional + Information + Text + Text. Type + Must be stored away from flammable materials N.O.S. or a Waste Characteristics Code in conjunction with an EPA Waste Stream code + + + + + + + + + BBIE + Hazardous Item. UNDG Code. Code + The UN code for this kind of hazardous item. + 0..1 + Hazardous Item + UNDG Code + Code + Code. Type + UN Code + + + + + + + + + BBIE + Hazardous Item. Emergency Procedures Code. Code + A code signifying the emergency procedures for this hazardous item. + 0..1 + Hazardous Item + Emergency Procedures Code + Code + Code. Type + EMG code, EMS Page Number + + + + + + + + + BBIE + Hazardous Item. Medical First Aid Guide Code. Code + A code signifying a medical first aid guide appropriate to this hazardous item. + 0..1 + Hazardous Item + Medical First Aid Guide Code + Code + Code. Type + MFAG page number + + + + + + + + + BBIE + Hazardous Item. Technical_ Name. Name + The full technical name of a specific hazardous substance contained in this goods item. + 0..1 + Hazardous Item + Technical + Name + Name + Name. Type + Granular Sodium Chlorate WeedKiller + + + + + + + + + BBIE + Hazardous Item. Category. Name + The name of the category of hazard that applies to the Item. + 0..1 + Hazardous Item + Category + Name + Name. Type + + + + + + + + + BBIE + Hazardous Item. Hazardous Category Code. Code + A code signifying a kind of hazard for a material. + 0..1 + Hazardous Item + Hazardous Category Code + Code + Code. Type + Hazardous material class code + + + + + + + + + BBIE + Hazardous Item. Upper_ Orange Hazard Placard Identifier. Identifier + The number for the upper part of the orange hazard placard required on the means of transport. + 0..1 + Hazardous Item + Upper + Orange Hazard Placard Identifier + Identifier + Identifier. Type + Hazard identification number (upper part) + + + + + + + + + BBIE + Hazardous Item. Lower_ Orange Hazard Placard Identifier. Identifier + The number for the lower part of the orange hazard placard required on the means of transport. + 0..1 + Hazardous Item + Lower + Orange Hazard Placard Identifier + Identifier + Identifier. Type + Substance identification number (lower part) + + + + + + + + + BBIE + Hazardous Item. Marking Identifier. Identifier + An identifier to the marking of the Hazardous Item + 0..1 + Hazardous Item + Marking Identifier + Identifier + Identifier. Type + Dangerous goods label marking + + + + + + + + + BBIE + Hazardous Item. Hazard Class Identifier. Identifier + An identifier for the hazard class applicable to this hazardous item as defined by the relevant regulation authority (e.g., the IMDG Class Number of the SOLAS Convention of IMO and the ADR/RID Class Number for the road/rail environment). + 0..1 + Hazardous Item + Hazard Class Identifier + Identifier + Identifier. Type + IMDG Class Number, ADR/RID Class Number + + + + + + + + + BBIE + Hazardous Item. Net_ Weight. Measure + The net weight of this hazardous item, excluding packaging. + 0..1 + Hazardous Item + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Hazardous Item. Net_ Volume. Measure + The volume of this hazardous item, excluding packaging and transport equipment. + 0..1 + Hazardous Item + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Hazardous Item. Quantity + The quantity of goods items in this hazardous item that are hazardous. + 0..1 + Hazardous Item + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Hazardous Item. Contact_ Party. Party + The individual, group, or body to be contacted in case of a hazardous incident associated with this item. + 0..1 + Hazardous Item + Contact + Party + Party + Party + + + + + + + + + ASBIE + Hazardous Item. Secondary Hazard + A secondary hazard associated with this hazardous item. + 0..n + Hazardous Item + Secondary Hazard + Secondary Hazard + Secondary Hazard + + + + + + + + + ASBIE + Hazardous Item. Hazardous Goods Transit + Information related to the transit of this kind of hazardous goods. + 0..n + Hazardous Item + Hazardous Goods Transit + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Hazardous Item. Emergency_ Temperature. Temperature + The threshold temperature at which emergency procedures apply in the handling of temperature-controlled goods. + 0..1 + Hazardous Item + Emergency + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Item. Flashpoint_ Temperature. Temperature + The flashpoint temperature of this hazardous item; i.e., the lowest temperature at which vapors above a volatile combustible substance ignite in air when exposed to flame. + 0..1 + Hazardous Item + Flashpoint + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Hazardous Item. Additional_ Temperature. Temperature + Another temperature relevant to the handling of this hazardous item. + 0..n + Hazardous Item + Additional + Temperature + Temperature + Temperature + + + + + + + + + + + ABIE + Immobilized Security. Details + A class to describe an immobilized security to be used as a guarantee. + Immobilized Security + + + + + + + + + BBIE + Immobilized Security. Immobilization Certificate Identifier. Identifier + An identifier for the certificate of this immobilized security. + 0..1 + Immobilized Security + Immobilization Certificate Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Immobilized Security. Security Identifier. Identifier + An identifier for the security being immobilized. + 0..1 + Immobilized Security + Security Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Immobilized Security. Issue Date. Date + The date on which this immobilized security was issued. + 0..1 + Immobilized Security + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Immobilized Security. Face Value. Amount + The value of the security on the day it was immobilized. + 0..1 + Immobilized Security + Face Value + Amount + Amount. Type + + + + + + + + + BBIE + Immobilized Security. Market Value. Amount + The current market value of the immobilized security. + 0..1 + Immobilized Security + Market Value + Amount + Amount. Type + + + + + + + + + BBIE + Immobilized Security. Shares Number. Quantity + The number of shares immobilized. + 0..1 + Immobilized Security + Shares Number + Quantity + Quantity. Type + + + + + + + + + ASBIE + Immobilized Security. Issuer_ Party. Party + The party issuing the immobilized security certificate. + 0..1 + Immobilized Security + Issuer + Party + Party + Party + + + + + + + + + + + ABIE + Instruction For Returns Line. Details + A class to define a line in an Instruction for Returns. + Instruction For Returns Line + + + + + + + + + BBIE + Instruction For Returns Line. Identifier + An identifier for this instruction for returns line. + 1 + Instruction For Returns Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Instruction For Returns Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Instruction For Returns Line + Note + Text + Text. Type + + + + + + + + + BBIE + Instruction For Returns Line. Quantity + The quantity of goods being returned. + 1 + Instruction For Returns Line + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Instruction For Returns Line. Manufacturer_ Party. Party + The manufacturer of the goods being returned. + 0..1 + Instruction For Returns Line + Manufacturer + Party + Party + Party + + + + + + + + + ASBIE + Instruction For Returns Line. Item + A description of the item being returned. + 1 + Instruction For Returns Line + Item + Item + Item + + + + + + + + + + + ABIE + Inventory Report Line. Details + A class to define a line in an Inventory Report. + Inventory Report Line + + + + + + + + + BBIE + Inventory Report Line. Identifier + An identifier for this inventory report line. + 1 + Inventory Report Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Inventory Report Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Inventory Report Line + Note + Text + Text. Type + + + + + + + + + BBIE + Inventory Report Line. Quantity + The quantity of the item reported that is currently in stock. + 1 + Inventory Report Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Inventory Report Line. Inventory_ Value. Amount + The value of the quantity of the item reported that is currently in stock. + 0..1 + Inventory Report Line + Inventory + Value + Amount + Amount. Type + + + + + + + + + BBIE + Inventory Report Line. Availability Date. Date + The date from which the goods will be available. If not present, the goods are available now. + 0..1 + Inventory Report Line + Availability Date + Date + Date. Type + + + + + + + + + BBIE + Inventory Report Line. Availability Status Code. Code + A code signifying the item's level of availability. + 0..1 + Inventory Report Line + Availability Status Code + Code + Code. Type + + + + + + + + + ASBIE + Inventory Report Line. Item + The item associated with this inventory report line. + 1 + Inventory Report Line + Item + Item + Item + + + + + + + + + ASBIE + Inventory Report Line. Inventory_ Location. Location + The location of the reported quantity of goods. + 0..1 + Inventory Report Line + Inventory + Location + Location + Location + + + + + + + + + + + ABIE + Invoice Line. Details + A class to define a line in an Invoice. + Invoice Line + + + + + + + + + BBIE + Invoice Line. Identifier + An identifier for this invoice line. + 1 + Invoice Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice Line. UUID. Identifier + A universally unique identifier for this invoice line. + 0..1 + Invoice Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Invoice Line + Note + Text + Text. Type + + + + + + + + + BBIE + Invoice Line. Invoiced_ Quantity. Quantity + The quantity (of items) on this invoice line. + 0..1 + Invoice Line + Invoiced + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Invoice Line. Line Extension Amount. Amount + The total amount for this invoice line, including allowance charges but net of taxes. + 1 + Invoice Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Invoice Line. Tax Point Date. Date + The date of this invoice line, used to indicate the point at which tax becomes applicable. + 0..1 + Invoice Line + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Invoice Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this invoice line, expressed as a code. + 0..1 + Invoice Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Invoice Line. Accounting Cost. Text + The buyer's accounting cost centre for this invoice line, expressed as text. + 0..1 + Invoice Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Invoice Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Invoice Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Invoice Line. Free Of Charge_ Indicator. Indicator + An indicator that this invoice line is free of charge (true) or not (false). The default is false. + 0..1 + Invoice Line + Free Of Charge + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Invoice Line. Invoice_ Period. Period + An invoice period to which this invoice line applies. + 0..n + Invoice Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Invoice Line. Order Line Reference + A reference to an order line associated with this invoice line. + 0..n + Invoice Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Invoice Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this invoice line. + 0..n + Invoice Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Invoice Line. Receipt_ Line Reference. Line Reference + A reference to a receipt line associated with this invoice line. + 0..n + Invoice Line + Receipt + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Invoice Line. Billing Reference + A reference to a billing document associated with this invoice line. + 0..n + Invoice Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Invoice Line. Document Reference + A reference to a document associated with this invoice line. + 0..n + Invoice Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice Line. Pricing Reference + A reference to pricing and item location information associated with this invoice line. + 0..1 + Invoice Line + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Invoice Line. Originator_ Party. Party + The party who originated the Order to which the Invoice is related. + 0..1 + Invoice Line + Originator + Party + Party + Party + + + + + + + + + ASBIE + Invoice Line. Delivery + A delivery associated with this invoice line. + 0..n + Invoice Line + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Invoice Line. Payment Terms + A specification of payment terms associated with this invoice line. + 0..n + Invoice Line + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Invoice Line. Allowance Charge + An allowance or charge associated with this invoice line. + 0..n + Invoice Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Invoice Line. Tax Total + A total amount of taxes of a particular kind applicable to this invoice line. + 0..n + Invoice Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice Line. Withholding_ Tax Total. Tax Total + A reference to a TaxTotal class describing the amount that has been withhold by the authorities, e.g. if the creditor is in dept because of non paid taxes. + 0..n + Invoice Line + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice Line. Item + The item associated with this invoice line. + 1 + Invoice Line + Item + Item + Item + + + + + + + + + ASBIE + Invoice Line. Price + The price of the item associated with this invoice line. + 0..1 + Invoice Line + Price + Price + Price + Unit Price, Base Price + + + + + + + + + ASBIE + Invoice Line. Delivery Terms + Terms and conditions of the delivery associated with this invoice line. + 0..1 + Invoice Line + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Invoice Line. Sub_ Invoice Line. Invoice Line + An invoice line subsidiary to this invoice line. + 0..n + Invoice Line + Sub + Invoice Line + Invoice Line + Invoice Line + + + + + + + + + ASBIE + Invoice Line. Item_ Price Extension. Price Extension + The price extension, calculated by multiplying the price per unit by the quantity of items on this invoice line. + 0..1 + Invoice Line + Item + Price Extension + Price Extension + Price Extension + + + + + + + + + + + ABIE + Item. Details + A class to describe an item of trade. It includes a generic description applicable to all examples of the item together with optional subsidiary descriptions of any number of actual instances of the type. + Item + article, product, goods item + + + + + + + + + BBIE + Item. Description. Text + Text describing this item. + 0..n + Item + Description + Text + Text. Type + + + + + + + + + BBIE + Item. Pack Quantity. Quantity + The unit packaging quantity; the number of subunits making up this item. + 0..1 + Item + Pack Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item. Pack Size. Numeric + The number of items in a pack of this item. + 0..1 + Item + Pack Size + Numeric + Numeric. Type + + + + + + + + + BBIE + Item. Catalogue_ Indicator. Indicator + An indicator that this item was ordered from a catalogue (true) or not (false). + 0..1 + Item + Catalogue + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Item. Name + A short name optionally given to this item, such as a name from a catalogue, as distinct from a description. + 0..1 + Item + Name + Name + Name. Type + + + + + + + + + BBIE + Item. Hazardous Risk_ Indicator. Indicator + An indication that the transported item, as delivered, is subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Item + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Item. Additional_ Information. Text + Further details regarding this item (e.g., the URL of a relevant web page). + 0..n + Item + Additional + Information + Text + Text. Type + + + + + + + + + BBIE + Item. Keyword. Text + A keyword (search string) for this item, assigned by the seller party. Can also be a synonym for the name of the item. + 0..n + Item + Keyword + Text + Text. Type + + + + + + + + + BBIE + Item. Brand Name. Name + A brand name of this item. + 0..n + Item + Brand Name + Name + Name. Type + Coca-Cola + + + + + + + + + BBIE + Item. Model Name. Name + A model name of this item. + 0..n + Item + Model Name + Name + Name. Type + VW Beetle + + + + + + + + + ASBIE + Item. Buyers_ Item Identification. Item Identification + Identifying information for this item, assigned by the buyer. + 0..1 + Item + Buyers + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Sellers_ Item Identification. Item Identification + Identifying information for this item, assigned by the seller. + 0..1 + Item + Sellers + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Manufacturers_ Item Identification. Item Identification + Identifying information for this item, assigned by the manufacturer. + 0..n + Item + Manufacturers + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Standard_ Item Identification. Item Identification + Identifying information for this item, assigned according to a standard system. + 0..1 + Item + Standard + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Catalogue_ Item Identification. Item Identification + Identifying information for this item, assigned according to a cataloguing system. + 0..1 + Item + Catalogue + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Additional_ Item Identification. Item Identification + An additional identifier for this item. + 0..n + Item + Additional + Item Identification + Item Identification + Item Identification + + + + + + + + + ASBIE + Item. Catalogue_ Document Reference. Document Reference + A reference to the catalogue in which this item appears. + 0..1 + Item + Catalogue + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Item. Item Specification_ Document Reference. Document Reference + A reference to a specification document for this item. + 0..n + Item + Item Specification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Item. Origin_ Country. Country + The country of origin of this item. + 0..1 + Item + Origin + Country + Country + Country + + + + + + + + + ASBIE + Item. Commodity Classification + A classification of this item according to a specific system for classifying commodities. + 0..n + Item + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Item. Transaction Conditions + A set of sales conditions applying to this item. + 0..n + Item + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Item. Hazardous Item + Information pertaining to this item as a hazardous item. + 0..n + Item + Hazardous Item + Hazardous Item + Hazardous Item + + + + + + + + + ASBIE + Item. Classified_ Tax Category. Tax Category + A tax category applicable to this item. + 0..n + Item + Classified + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Item. Additional_ Item Property. Item Property + An additional property of this item. + 0..n + Item + Additional + Item Property + Item Property + Item Property + + + + + + + + + ASBIE + Item. Manufacturer_ Party. Party + The manufacturer of this item. + 0..n + Item + Manufacturer + Party + Party + Party + + + + + + + + + ASBIE + Item. Information Content Provider_ Party. Party + The party responsible for specification of this item. + 0..1 + Item + Information Content Provider + Party + Party + Party + + + + + + + + + ASBIE + Item. Origin_ Address. Address + A region (not country) of origin of this item. + 0..n + Item + Origin + Address + Address + Address + + + + + + + + + ASBIE + Item. Item Instance + A trackable, unique instantiation of this item. + 0..n + Item + Item Instance + Item Instance + Item Instance + + + + + + + + + ASBIE + Item. Certificate + A certificate associated with this item. + 0..n + Item + Certificate + Certificate + Certificate + + + + + + + + + ASBIE + Item. Dimension + One of the measurable dimensions (length, mass, weight, or volume) of this item. + 0..n + Item + Dimension + Dimension + Dimension + + + + + + + + + + + ABIE + Item Comparison. Details + A class to provide information about price and quantity of an item for use in price comparisons based on price, quantity, or measurements. + Item Comparison + + + + + + + + + BBIE + Item Comparison. Price Amount. Amount + The price for the Item Comparison + 0..1 + Item Comparison + Price Amount + Amount + Amount. Type + + + + + + + + + BBIE + Item Comparison. Quantity + The quantity for which this comparison is valid. + 0..1 + Item Comparison + Quantity + Quantity + Quantity. Type + per unit + + + + + + + + + + + ABIE + Item Identification. Details + A class for assigning identifying information to an item. + Item Identification + + + + + + + + + BBIE + Item Identification. Identifier + An identifier for the item. + 1 + Item Identification + Identifier + Identifier + Identifier. Type + CUST001 3333-44-123 + + + + + + + + + BBIE + Item Identification. Extended_ Identifier. Identifier + An extended identifier for the item that identifies the item with specific properties, e.g., Item 123 = Chair / Item 123 Ext 45 = brown chair. Two chairs can have the same item number, but one is brown. The other is white. + 0..1 + Item Identification + Extended + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Identification. Barcode_ Symbology Identifier. Identifier + An identifier for a system of barcodes. + 0..1 + Item Identification + Barcode + Symbology Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Item Identification. Physical Attribute + A physical attribute of the item. + 0..n + Item Identification + Physical Attribute + Physical Attribute + Physical Attribute + + + + + + + + + ASBIE + Item Identification. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of the item. + 0..n + Item Identification + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Item Identification. Issuer_ Party. Party + The party that issued this item identification. + 0..1 + Item Identification + Issuer + Party + Party + Party + + + + + + + + + + + ABIE + Item Information Request Line. Details + A class to define a line in an Item Information Request asking a trading partner for item information. + Item Information Request Line + + + + + + + + + BBIE + Item Information Request Line. Time Frequency Code. Code + A code signifying the frequency with which item information should be sent to the requester. + 0..1 + Item Information Request Line + Time Frequency Code + Code + Code. Type + + + + + + + + + BBIE + Item Information Request Line. Supply Chain Activity Type Code. Code + A code used to identify the type of supply chain activity about which information request is issued. Examples: CANCELED_ORDERS EMERGENCY_ORDERS ON_HAND ORDERS + 0..1 + Item Information Request Line + Supply Chain Activity Type Code + Code + Code. Type + + + + + + + + + BBIE + Item Information Request Line. Forecast Type Code. Code + The information request can be either about supply chain activity or about forecasts or about performance metrics, so it should be optional + 0..1 + Item Information Request Line + Forecast Type Code + Code + Code. Type + + + + + + + + + BBIE + Item Information Request Line. Performance Metric Type Code. Code + A code signifying a measure of performance. + 0..1 + Item Information Request Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Item Information Request Line. Period + A period for which this information is requested. + 1..n + Item Information Request Line + Period + Period + Period + + + + + + + + + ASBIE + Item Information Request Line. Sales Item + Sales information for the item to which this line applies. + 1..n + Item Information Request Line + Sales Item + Sales Item + Sales Item + + + + + + + + + + + ABIE + Item Instance. Details + A class to describe a specific, trackable instance of an item. + Item Instance + + + + + + + + + BBIE + Item Instance. Product Trace_ Identifier. Identifier + An identifier used for tracing this item instance, such as the EPC number used in RFID. + 0..1 + Item Instance + Product Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Instance. Manufacture Date. Date + The date on which this item instance was manufactured. + 0..1 + Item Instance + Manufacture Date + Date + Date. Type + + + + + + + + + BBIE + Item Instance. Manufacture Time. Time + The time at which this item instance was manufactured. + 0..1 + Item Instance + Manufacture Time + Time + Time. Type + + + + + + + + + BBIE + Item Instance. Best Before Date. Date + The date before which it is best to use this item instance. + 0..1 + Item Instance + Best Before Date + Date + Date. Type + + + + + + + + + BBIE + Item Instance. Registration Identifier. Identifier + The registration identifier of this item instance. + 0..1 + Item Instance + Registration Identifier + Identifier + Identifier. Type + car registration or licensing number + + + + + + + + + BBIE + Item Instance. Serial Identifier. Identifier + The serial number of this item instance. + 0..1 + Item Instance + Serial Identifier + Identifier + Identifier. Type + chassis number of a car + + + + + + + + + ASBIE + Item Instance. Additional_ Item Property. Item Property + An additional property of this item instance. + 0..n + Item Instance + Additional + Item Property + Item Property + Item Property + + + + + + + + + ASBIE + Item Instance. Lot Identification + The lot identifier of this item instance (the identifier that allows recall of the item if necessary). + 0..1 + Item Instance + Lot Identification + Lot Identification + Lot Identification + + + + + + + + + + + ABIE + Item Location Quantity. Details + A class for information about pricing structure, lead time, and location associated with an item. + Item Location Quantity + + + + + + + + + BBIE + Item Location Quantity. Lead Time. Measure + The lead time, i.e., the time taken from the time at which an item is ordered to the time of its delivery. + 0..1 + Item Location Quantity + Lead Time + Measure + Measure. Type + 2 days , 24 hours + + + + + + + + + BBIE + Item Location Quantity. Minimum_ Quantity. Quantity + The minimum quantity that can be ordered to qualify for a specific price. + 0..1 + Item Location Quantity + Minimum + Quantity + Quantity + Quantity. Type + 10 boxes , 1 carton , 1000 sheets + + + + + + + + + BBIE + Item Location Quantity. Maximum_ Quantity. Quantity + The maximum quantity that can be ordered to qualify for a specific price. + 0..1 + Item Location Quantity + Maximum + Quantity + Quantity + Quantity. Type + 10 boxes , 1 carton , 1000 sheets + + + + + + + + + BBIE + Item Location Quantity. Hazardous Risk_ Indicator. Indicator + An indication that the transported item, as delivered, in the stated quantity to the stated location, is subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Item Location Quantity + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Item Location Quantity. Trading Restrictions. Text + Text describing trade restrictions on the quantity of this item or on the item itself. + 0..n + Item Location Quantity + Trading Restrictions + Text + Text. Type + not for export + + + + + + + + + ASBIE + Item Location Quantity. Applicable Territory_ Address. Address + The applicable sales territory. + 0..n + Item Location Quantity + Applicable Territory + Address + Address + Address + + + + + + + + + ASBIE + Item Location Quantity. Price + The price associated with the given location. + 0..1 + Item Location Quantity + Price + Price + Price + + + + + + + + + ASBIE + Item Location Quantity. Delivery Unit + A delivery unit in which the item is located. + 0..n + Item Location Quantity + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Item Location Quantity. Applicable_ Tax Category. Tax Category + A tax category applicable to this item location quantity. + 0..n + Item Location Quantity + Applicable + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Item Location Quantity. Package + The package to which this price applies. + 0..1 + Item Location Quantity + Package + Package + Package + + + + + + + + + ASBIE + Item Location Quantity. Allowance Charge + An allowance or charge associated with this item location quantity. + 0..n + Item Location Quantity + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Item Location Quantity. Dependent Price Reference + The price of the item as a percentage of the price of some other item. + 0..1 + Item Location Quantity + Dependent Price Reference + Dependent Price Reference + Dependent Price Reference + + + + + + + + + + + ABIE + Item Management Profile. Details + A class to define a management profile for an item. + Item Management Profile + + + + + + + + + BBIE + Item Management Profile. Frozen Period Days. Numeric + The number of days in the future that an order forecast quantity automatically becomes a confirmed order for a product. + 0..1 + Item Management Profile + Frozen Period Days + Numeric + Numeric. Type + + + + + + + + + BBIE + Item Management Profile. Minimum_ Inventory Quantity. Quantity + The quantity of the item that should trigger a replenishment order to avoid depleting the safety stock. + 0..1 + Item Management Profile + Minimum + Inventory Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item Management Profile. Multiple_ Order Quantity. Quantity + The order quantity multiples in which the product may be ordered. + 0..1 + Item Management Profile + Multiple + Order Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item Management Profile. Order Interval Days. Numeric + The number of days between regular replenishment orders for the product. + 0..1 + Item Management Profile + Order Interval Days + Numeric + Numeric. Type + + + + + + + + + BBIE + Item Management Profile. Replenishment Owner Description. Text + The trading partner maintaining this item management profile. + 0..n + Item Management Profile + Replenishment Owner Description + Text + Text. Type + + + + + + + + + BBIE + Item Management Profile. Target Service Percent. Percent + The Unit Service Level the trading partners expect to be maintained, expressed as a percentage. Unite Service Level (USL) is a term used in Inventory Management, which is sometimes known as "fill rate", counts the average number of units short expressed as the percentage of the order quantity. + 0..1 + Item Management Profile + Target Service Percent + Percent + Percent. Type + + + + + + + + + BBIE + Item Management Profile. Target_ Inventory Quantity. Quantity + The target inventory quantity. + 0..1 + Item Management Profile + Target + Inventory Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Item Management Profile. Effective_ Period. Period + The period during which this profile is effective. + 1 + Item Management Profile + Effective + Period + Period + Period + + + + + + + + + ASBIE + Item Management Profile. Item + The item associated with this item management profile. + 1 + Item Management Profile + Item + Item + Item + + + + + + + + + ASBIE + Item Management Profile. Item Location Quantity + A set of location-specific properties (e.g., price and quantity) associated with the item. + 0..1 + Item Management Profile + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + + + ABIE + Item Property. Details + A class to describe a specific property of an item. + Item Property + + + + + + + + + BBIE + Item Property. Identifier + An identifier for this property of an item. + 0..1 + Item Property + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Property. Name + The name of this item property. + 1 + Item Property + Name + Name + Name. Type + Energy Rating , Collar Size , Fat Content + + + + + + + + + BBIE + Item Property. Name Code. Code + The name of this item property, expressed as a code. + 0..1 + Item Property + Name Code + Code + Code. Type + + + + + + + + + BBIE + Item Property. Test Method. Text + The method of testing the value of this item property. + 0..1 + Item Property + Test Method + Text + Text. Type + 100 watts , 15 European , 20% +/- 5% + + + + + + + + + BBIE + Item Property. Value. Text + The value of this item property, expressed as text. + 0..1 + Item Property + Value + Text + Text. Type + 100 watts , 15 European , 20% +/- 5% + + + + + + + + + BBIE + Item Property. Value_ Quantity. Quantity + The value of this item property, expressed as a quantity. + 0..1 + Item Property + Value + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Item Property. Value Qualifier. Text + Text qualifying the value of the property. + 0..n + Item Property + Value Qualifier + Text + Text. Type + + + + + + + + + BBIE + Item Property. Importance Code. Code + A code signifying the importance of this property in using it to describe a related Item. + 0..1 + Item Property + Importance Code + Code + Code. Type + + + + + + + + + BBIE + Item Property. List Value. Text + The value expressed as a text in case the property is a value in a list. For example, a colour. + 0..n + Item Property + List Value + Text + Text. Type + + + + + + + + + ASBIE + Item Property. Usability_ Period. Period + The period during which this item property is valid. + 0..1 + Item Property + Usability + Period + Period + Period + + + + + + + + + ASBIE + Item Property. Item Property Group + A description of the property group to which this item property belongs. + 0..n + Item Property + Item Property Group + Item Property Group + Item Property Group + + + + + + + + + ASBIE + Item Property. Range_ Dimension. Dimension + The range of values for the dimensions of this property. + 0..1 + Item Property + Range + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Item Property. Item Property Range + A range of values for this item property. + 0..1 + Item Property + Item Property Range + Item Property Range + Item Property Range + + + + + + + + + + + ABIE + Item Property Group. Details + A class to describe a property group or classification. + Item Property Group + + + + + + + + + BBIE + Item Property Group. Identifier + An identifier for this group of item properties. + 1 + Item Property Group + Identifier + Identifier + Identifier. Type + 233-004 + + + + + + + + + BBIE + Item Property Group. Name + The name of this item property group. + 0..1 + Item Property Group + Name + Name + Name. Type + Electrical Specifications , Dietary Content + + + + + + + + + BBIE + Item Property Group. Importance Code. Code + A code signifying the importance of this property group in using it to describe a required Item. + 0..1 + Item Property Group + Importance Code + Code + Code. Type + + + + + + + + + + + ABIE + Item Property Range. Details + A class to describe a range of values for an item property. + Item Property Range + + + + + + + + + BBIE + Item Property Range. Minimum_ Value. Text + The minimum value in this range of values. + 0..1 + Item Property Range + Minimum + Value + Text + Text. Type + + + + + + + + + BBIE + Item Property Range. Maximum_ Value. Text + The maximum value in this range of values. + 0..1 + Item Property Range + Maximum + Value + Text + Text. Type + + + + + + + + + + + ABIE + Language. Details + A class to describe a language. + Language + + + + + + + + + BBIE + Language. Identifier + An identifier for this language. + 0..1 + Language + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Language. Name + The name of this language. + 0..1 + Language + Name + Name + Name. Type + + + + + + + + + BBIE + Language. Locale Code. Code + A code signifying the locale in which this language is used. + 0..1 + Language + Locale Code + Code + Language + Language_ Code. Type + + + + + + + + + + + ABIE + Legislation. Details + A class to describe a reference to a piece of legislation. + Legislation + + + + + + + + + BBIE + Legislation. Identifier + An identifier to refer to the legislation. + 0..1 + Legislation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Legislation. Title. Text + The title of the legislation. + 0..n + Legislation + Title + Text + Text. Type + + + + + + + + + BBIE + Legislation. Description. Text + The textual description of the legislation. + 0..n + Legislation + Description + Text + Text. Type + + + + + + + + + BBIE + Legislation. Jurisdiction Level. Text + The jurisdiction level for the legislation. + 0..n + Legislation + Jurisdiction Level + Text + Text. Type + + + + + + + + + BBIE + Legislation. Article. Text + The article of the legislation. + 0..n + Legislation + Article + Text + Text. Type + + + + + + + + + BBIE + Legislation. URI. Identifier + A URI to the legislation. + 0..n + Legislation + URI + Identifier + Identifier. Type + + + + + + + + + ASBIE + Legislation. Language + The language of the legislation. + 0..n + Legislation + Language + Language + Language + + + + + + + + + ASBIE + Legislation. Jurisdiction Region_ Address. Address + The geopolitical region in which this legislation applies. + 0..n + Legislation + Jurisdiction Region + Address + Address + Address + + + + + + + + + + + ABIE + Line Item. Details + A class to describe a line item. + Line Item + + + + + + + + + BBIE + Line Item. Identifier + An identifier for this line item, assigned by the buyer. + 1 + Line Item + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. Sales_ Order Identifier. Identifier + An identifier for this line item, assigned by the seller. + 0..1 + Line Item + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. UUID. Identifier + A universally unique identifier for this line item. + 0..1 + Line Item + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Item. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Line Item + Note + Text + Text. Type + + + + + + + + + BBIE + Line Item. Line Status Code. Code + A code signifying the status of this line item with respect to its original state. + 0..1 + Line Item + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + BBIE + Line Item. Quantity + The quantity of items associated with this line item. + 0..1 + Line Item + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Line Extension Amount. Amount + The total amount for this line item, including allowance charges but net of taxes. + 0..1 + Line Item + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Line Item. Total_ Tax Amount. Amount + The total tax amount for this line item. + 0..1 + Line Item + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Line Item. Minimum_ Quantity. Quantity + The minimum quantity of the item associated with this line. + 0..1 + Line Item + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Maximum_ Quantity. Quantity + The maximum quantity of the item associated with this line. + 0..1 + Line Item + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Minimum_ Backorder. Quantity + The minimum back order quantity of the item associated with this line (where back order is allowed). + 0..1 + Line Item + Minimum + Backorder + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Maximum_ Backorder. Quantity + The maximum back order quantity of the item associated with this line (where back order is allowed). + 0..1 + Line Item + Maximum + Backorder + Quantity + Quantity. Type + + + + + + + + + BBIE + Line Item. Inspection Method Code. Code + A code signifying the inspection requirements for the item associated with this line item. + 0..1 + Line Item + Inspection Method Code + Code + Code. Type + + + + + + + + + BBIE + Line Item. Partial Delivery Indicator. Indicator + An indicator that a partial delivery is allowed (true) or not (false). + 0..1 + Line Item + Partial Delivery Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Line Item. Back Order Allowed Indicator. Indicator + An indicator that back order is allowed (true) or not (false). + 0..1 + Line Item + Back Order Allowed Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Line Item. Accounting Cost Code. Code + The buyer's accounting cost centre for this line item, expressed as a code. + 0..1 + Line Item + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Line Item. Accounting Cost. Text + The buyer's accounting cost centre for this line item, expressed as text. + 0..1 + Line Item + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Line Item. Warranty_ Information. Text + Text describing a warranty (provided by WarrantyParty) for the good or service described in this line item. + 0..n + Line Item + Warranty + Information + Text + Text. Type + Unless specified otherwise and in addition to any rights the Customer may have under statute, Dell warrants to the Customer that Dell branded Products (excluding third party products and software), will be free from defects in materials and workmanship affecting normal use for a period of one year from invoice date ( Standard Warranty ). + + + + + + + + + ASBIE + Line Item. Delivery + A delivery associated with this line item. + 0..n + Line Item + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Line Item. Delivery Terms + Terms and conditions of the delivery associated with this line item. + 0..1 + Line Item + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Line Item. Originator_ Party. Party + The party who originated the Order associated with this line item. + 0..1 + Line Item + Originator + Party + Party + Party + + + + + + + + + ASBIE + Line Item. Ordered Shipment + An ordered shipment associated with this line item. + 0..n + Line Item + Ordered Shipment + Ordered Shipment + Ordered Shipment + + + + + + + + + ASBIE + Line Item. Pricing Reference + A reference to pricing and item location information associated with this line item. + 0..1 + Line Item + Pricing Reference + Pricing Reference + Pricing Reference + + + + + + + + + ASBIE + Line Item. Allowance Charge + An allowance or charge associated with this line item. + 0..n + Line Item + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Line Item. Price + The price of the item of trade associated with this line item. + 0..1 + Line Item + Price + Price + Price + + + + + + + + + ASBIE + Line Item. Item + The item of trade associated with this line item. + 1 + Line Item + Item + Item + Item + + + + + + + + + ASBIE + Line Item. Sub_ Line Item. Line Item + The subsidiary line items that constitute the main line item, such as in a bill of materials. + 0..n + Line Item + Sub + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Line Item. Warranty Validity_ Period. Period + The period during which the warranty associated with this line item is valid. + 0..1 + Line Item + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Line Item. Warranty_ Party. Party + The party responsible for any warranty associated with this line item. + 0..1 + Line Item + Warranty + Party + Party + Party + + + + + + + + + ASBIE + Line Item. Tax Total + A total amount of taxes of a particular kind applicable to this item. + 0..n + Line Item + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Line Item. Item_ Price Extension. Price Extension + The price extension, calculated by multiplying the price per unit by the quantity of items. + 0..1 + Line Item + Item + Price Extension + Price Extension + Price Extension + + + + + + + + + ASBIE + Line Item. Line Reference + A reference to a line in a document associated with this line item. + 0..n + Line Item + Line Reference + Line Reference + Line Reference + + + + + + + + + + + ABIE + Line Reference. Details + A class to define a reference to a line in a document. + Line Reference + + + + + + + + + BBIE + Line Reference. Line Identifier. Identifier + Identifies the referenced line in the document. + 1 + Line Reference + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Reference. UUID. Identifier + A universally unique identifier for this line reference. + 0..1 + Line Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Line Reference. Line Status Code. Code + A code signifying the status of the referenced line with respect to its original state. + 0..1 + Line Reference + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + ASBIE + Line Reference. Document Reference + A reference to the document containing the referenced line. + 0..1 + Line Reference + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Line Response. Details + A class to describe responses to a line in a document. + Line Response + + + + + + + + + ASBIE + Line Response. Line Reference + A reference to the line being responded to. + 1 + Line Response + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Line Response. Response + A response to the referenced line. + 1..n + Line Response + Response + Response + Response + + + + + + + + + + + ABIE + Location. Details + A class to describe a location. + Location + + + + + + + + + BBIE + Location. Identifier + An identifier for this location, e.g., the EAN Location Number, GLN. + 0..1 + Location + Identifier + Identifier + Identifier. Type + 5790002221134 + + + + + + + + + BBIE + Location. Description. Text + Text describing this location. + 0..n + Location + Description + Text + Text. Type + + + + + + + + + BBIE + Location. Conditions. Text + Free-form text describing the physical conditions of the location. + 0..n + Location + Conditions + Text + Text. Type + + + + + + + + + BBIE + Location. Country Subentity. Text + A territorial division of a country, such as a county or state, expressed as text. + 0..1 + Location + Country Subentity + Text + Text. Type + AdministrativeArea, State, Country, Shire, Canton + Florida , Tamilnadu + + + + + + + + + BBIE + Location. Country Subentity Code. Code + A territorial division of a country, such as a county or state, expressed as a code. + 0..1 + Location + Country Subentity Code + Code + Code. Type + AdministrativeAreaCode, State Code + + + + + + + + + BBIE + Location. Location Type Code. Code + A code signifying the type of location. + 0..1 + Location + Location Type Code + Code + Code. Type + + + + + + + + + BBIE + Location. Information_ URI. Identifier + The Uniform Resource Identifier (URI) of a document providing information about this location. + 0..1 + Location + Information + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Location. Name + The name of this location. + 0..1 + Location + Name + Name + Name. Type + winter 2005 collection + + + + + + + + + ASBIE + Location. Validity_ Period. Period + A period during which this location can be used (e.g., for delivery). + 0..n + Location + Validity + Period + Period + Period + + + + + + + + + ASBIE + Location. Address + The address of this location. + 0..1 + Location + Address + Address + Address + + + + + + + + + ASBIE + Location. Subsidiary_ Location. Location + A location subsidiary to this location. + 0..n + Location + Subsidiary + Location + Location + Location + + + + + + + + + ASBIE + Location. Location Coordinate + The geographical coordinates of this location. + 0..n + Location + Location Coordinate + Location Coordinate + Location Coordinate + + + + + + + + + + + ABIE + Location Coordinate. Details + A class for defining a set of geographical coordinates (apparently misnamed). + Location Coordinate + + + + + + + + + BBIE + Location Coordinate. Coordinate System Code. Code + A code signifying the location system used. + 0..1 + Location Coordinate + Coordinate System Code + Code + Code. Type + + + + + + + + + BBIE + Location Coordinate. Latitude_ Degrees. Measure + The degree component of a latitude measured in degrees and minutes. + 0..1 + Location Coordinate + Latitude + Degrees + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Latitude_ Minutes. Measure + The minutes component of a latitude measured in degrees and minutes (modulo 60). + 0..1 + Location Coordinate + Latitude + Minutes + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Latitude Direction Code. Code + A code signifying the direction of latitude measurement from the equator (north or south). + 0..1 + Location Coordinate + Latitude Direction Code + Code + Latitude Direction + Latitude Direction_ Code. Type + + + + + + + + + BBIE + Location Coordinate. Longitude_ Degrees. Measure + The degree component of a longitude measured in degrees and minutes. + 0..1 + Location Coordinate + Longitude + Degrees + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Longitude_ Minutes. Measure + The minutes component of a longitude measured in degrees and minutes (modulo 60). + 0..1 + Location Coordinate + Longitude + Minutes + Measure + Measure. Type + + + + + + + + + BBIE + Location Coordinate. Longitude Direction Code. Code + A code signifying the direction of longitude measurement from the prime meridian (east or west). + 0..1 + Location Coordinate + Longitude Direction Code + Code + Longitude Direction + Longitude Direction_ Code. Type + + + + + + + + + BBIE + Location Coordinate. Altitude. Measure + The altitude of the location. + 0..1 + Location Coordinate + Altitude + Measure + Measure. Type + + + + + + + + + + + ABIE + Lot Distribution. Details + A class defining how to treat different lots in a single procurement. + Lot Distribution + + + + + + + + + BBIE + Lot Distribution. Maximum Lots Awarded. Numeric + The maximum number of lots that can be awarded to a single tenderer. + 0..1 + Lot Distribution + Maximum Lots Awarded + Numeric + Numeric. Type + + + + + + + + + BBIE + Lot Distribution. Maximum Lots Submitted. Numeric + The maximum number of lots to which a tenderer can submit an offer to. + 0..1 + Lot Distribution + Maximum Lots Submitted + Numeric + Numeric. Type + + + + + + + + + BBIE + Lot Distribution. Grouping Lots. Text + Description on how to combine lots when submitting a tender. + 0..n + Lot Distribution + Grouping Lots + Text + Text. Type + + + + + + + + + + + ABIE + Lot Identification. Details + A class for defining a lot identifier (the identifier of a set of item instances that would be used in case of a recall of that item). + Lot Identification + + + + + + + + + BBIE + Lot Identification. Lot Number. Identifier + An identifier for the lot. + 0..1 + Lot Identification + Lot Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Lot Identification. Expiry Date. Date + The expiry date of the lot. + 0..1 + Lot Identification + Expiry Date + Date + Date. Type + + + + + + + + + ASBIE + Lot Identification. Additional_ Item Property. Item Property + An additional property of the lot. + 0..n + Lot Identification + Additional + Item Property + Item Property + Item Property + + + + + + + + + + + ABIE + Maritime Transport. Details + A class to describe a vessel used for transport by water (including sea, river, and canal). + Maritime Transport + + + + + + + + + BBIE + Maritime Transport. Vessel Identifier. Identifier + An identifier for a specific vessel. + 0..1 + Maritime Transport + Vessel Identifier + Identifier + Identifier. Type + Lloyds Number, Registration Number (WCO ID 167) + International Maritime Organisation number of a vessel + + + + + + + + + BBIE + Maritime Transport. Vessel Name. Name + The name of the vessel. + 0..1 + Maritime Transport + Vessel Name + Name + Name. Type + Ships Name + + + + + + + + + BBIE + Maritime Transport. Radio Call Sign Identifier. Identifier + The radio call sign of the vessel. + 0..1 + Maritime Transport + Radio Call Sign Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Maritime Transport. Ships Requirements. Text + Information about what services a vessel will require when it arrives at a port, such as refueling, maintenance, waste disposal etc. + 0..n + Maritime Transport + Ships Requirements + Text + Text. Type + + + + + + + + + BBIE + Maritime Transport. Gross Tonnage. Measure + Gross tonnage is calculated by measuring a ship's volume (from keel to funnel, to the outside of the hull framing) and applying a mathematical formula and is used to determine things such as a ship's manning regulations, safety rules, registration fees and port dues. + 0..1 + Maritime Transport + Gross Tonnage + Measure + Measure. Type + + + + + + + + + BBIE + Maritime Transport. Net Tonnage. Measure + Net tonnage is calculated by measuring a ship's internal volume and applying a mathematical formula and is used to calculate the port duties. + 0..1 + Maritime Transport + Net Tonnage + Measure + Measure. Type + + + + + + + + + ASBIE + Maritime Transport. Registry Certificate_ Document Reference. Document Reference + The certificate issued to the ship by the ships registry in a given flag state. + 0..1 + Maritime Transport + Registry Certificate + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Maritime Transport. Registry Port_ Location. Location + The port in which a vessel is registered or permanently based. + 0..1 + Maritime Transport + Registry Port + Location + Location + Location + + + + + + + + + + + ABIE + Message Delivery. Details + A class to describe how a message is delivered (routed). + Message Delivery + + + + + + + + + BBIE + Message Delivery. Protocol Identifier. Identifier + An identifier for the protocol to be used within this message delivery. + 0..1 + Message Delivery + Protocol Identifier + Identifier + Identifier. Type + AS2, ebMS2, AS4, WS-RM + + + + + + + + + BBIE + Message Delivery. Envelope Type Code. Code + A code signifying the type of envelope to be used within this message delivery (e.g. OASIS BDX Business Document Envelope). + 0..1 + Message Delivery + Envelope Type Code + Code + Code. Type + BDE + + + + + + + + + BBIE + Message Delivery. Endpoint URI. Identifier + The Uniform Resource Identifier (URI) of the access point (e.g. an HTTP URL including the port). + 0..1 + Message Delivery + Endpoint URI + Identifier + Identifier. Type + https://services.enterprise.com/participant-id/rx + + + + + + + + + + + ABIE + Meter. Details + A class to describe a meter and its readings. + Meter + + + + + + + + + BBIE + Meter. Meter Number. Text + The meter number, expressed as text. + 0..1 + Meter + Meter Number + Text + Text. Type + 61722x + + + + + + + + + BBIE + Meter. Meter Name. Name + The name of this meter, which serves as an identifier to distinguish a main meter from a submeter. + 0..1 + Meter + Meter Name + Name + Name. Type + + + + + + + + + BBIE + Meter. Meter Constant. Text + The factor by which readings of this meter must be multiplied to calculate consumption, expressed as text. + 0..1 + Meter + Meter Constant + Text + Text. Type + 1.000 + + + + + + + + + BBIE + Meter. Meter Constant Code. Code + A code signifying the formula to be used in applying the meter constant. + 0..1 + Meter + Meter Constant Code + Code + Code. Type + Factor + + + + + + + + + BBIE + Meter. Total_ Delivered Quantity. Quantity + The quantity delivered; the total quantity consumed as calculated from the meter readings. + 0..1 + Meter + Total + Delivered Quantity + Quantity + Quantity. Type + 5761.00 + + + + + + + + + ASBIE + Meter. Meter Reading + A reading of this meter. + 0..n + Meter + Meter Reading + Meter Reading + Meter Reading + + + + + + + + + ASBIE + Meter. Meter Property + A property of this meter. + 0..n + Meter + Meter Property + Meter Property + Meter Property + + + + + + + + + + + ABIE + Meter Property. Details + The name of this meter property. + Meter Property + + + + + + + + + BBIE + Meter Property. Name + The name of this meter property, expressed as a code. + 0..1 + Meter Property + Name + Name + Name. Type + Energy Rating , Collar Size , Fat Content + + + + + + + + + BBIE + Meter Property. Name Code. Code + The value of this meter property, expressed as text. + 0..1 + Meter Property + Name Code + Code + Code. Type + + + + + + + + + BBIE + Meter Property. Value. Text + The value of this meter property, expressed as a quantity. + 0..1 + Meter Property + Value + Text + Text. Type + 100 watts , 15 European , 20% +/- 5% + + + + + + + + + BBIE + Meter Property. Value_ Quantity. Quantity + The value of this meter property, expressed as a quantity. + 0..1 + Meter Property + Value + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Meter Property. Value Qualifier. Text + An additional value to qualify the value of the meter + 0..n + Meter Property + Value Qualifier + Text + Text. Type + + + + + + + + + + + ABIE + Meter Reading. Details + A class to describe a meter reading. + Meter Reading + + + + + + + + + BBIE + Meter Reading. Identifier + An identifier for this meter reading. + 0..1 + Meter Reading + Identifier + Identifier + Identifier. Type + 7411013716x + + + + + + + + + BBIE + Meter Reading. Meter Reading Type. Text + The type of this meter reading, expressed as text. + 0..1 + Meter Reading + Meter Reading Type + Text + Text. Type + Electricity + + + + + + + + + BBIE + Meter Reading. Meter Reading Type Code. Code + The type of this meter reading, expressed as a code. + 0..1 + Meter Reading + Meter Reading Type Code + Code + Code. Type + Electricity + + + + + + + + + BBIE + Meter Reading. Previous_ Meter Reading Date. Date + The date of the previous meter reading. + 1 + Meter Reading + Previous + Meter Reading Date + Date + Date. Type + 2006-09-01 + + + + + + + + + BBIE + Meter Reading. Previous_ Meter Quantity. Quantity + The quantity of the previous meter reading. + 1 + Meter Reading + Previous + Meter Quantity + Quantity + Quantity. Type + 122604.00 + + + + + + + + + BBIE + Meter Reading. Latest_ Meter Reading Date. Date + The date of the latest meter reading. + 1 + Meter Reading + Latest + Meter Reading Date + Date + Date. Type + 2006-09-01 + + + + + + + + + BBIE + Meter Reading. Latest_ Meter Quantity. Quantity + The quantity of the latest meter reading. + 1 + Meter Reading + Latest + Meter Quantity + Quantity + Quantity. Type + 128365.00 + + + + + + + + + BBIE + Meter Reading. Previous Meter Reading_ Method. Text + The method used for the previous meter reading, expressed as text. + 0..1 + Meter Reading + Previous Meter Reading + Method + Text + Text. Type + Manuel + + + + + + + + + BBIE + Meter Reading. Previous Meter Reading_ Method Code. Code + The method used for the previous meter reading, expressed as a code. + 0..1 + Meter Reading + Previous Meter Reading + Method Code + Code + Code. Type + Estimated + + + + + + + + + BBIE + Meter Reading. Latest Meter Reading_ Method. Text + The method used for the latest meter reading, expressed as text. + 0..1 + Meter Reading + Latest Meter Reading + Method + Text + Text. Type + Manuel + + + + + + + + + BBIE + Meter Reading. Latest Meter Reading_ Method Code. Code + The method used for the latest meter reading, expressed as a code. + 0..1 + Meter Reading + Latest Meter Reading + Method Code + Code + Code. Type + Estimated + + + + + + + + + BBIE + Meter Reading. Meter Reading_ Comments. Text + Text containing comments on this meter reading. + 0..n + Meter Reading + Meter Reading + Comments + Text + Text. Type + The last stated meterstand is estimated + + + + + + + + + BBIE + Meter Reading. Delivered_ Quantity. Quantity + Consumption in the period from PreviousMeterReadingDate to LatestMeterReadingDate. + 1 + Meter Reading + Delivered + Quantity + Quantity + Quantity. Type + + + + + + + + + + + ABIE + Miscellaneous Event. Details + A class to describe a miscellaneous event associated with a retail event. + Miscellaneous Event + + + + + + + + + BBIE + Miscellaneous Event. Miscellaneous Event Type Code. Code + A code signifying the type of this miscellaneous event. Examples are: ASSORTMENT_CHARGE DISASTER FORECAST_DECREASE FORECAST_INCREASE FREIGHT_FLOW_ALLOCATION INVENTORY_POLICY_CHANGE LOCATION_CLOSING LOCATION_OPENING OTHER OUT_OF_STOCK PACKAGING_LABELING_CHANGE PRICE_DECREASE PRICE_INCREASE STORE_FORMAT_OR_PLANOGRAM_CHANGE TEST_MARKET WEATHER + 1 + Miscellaneous Event + Miscellaneous Event Type Code + Code + Code. Type + + + + + + + + + ASBIE + Miscellaneous Event. Event Line Item + An event line item for this miscellaneous retail event. + 1..n + Miscellaneous Event + Event Line Item + Event Line Item + Event Line Item + + + + + + + + + + + ABIE + Monetary Total. Details + A class to define a monetary total. + Monetary Total + + + + + + + + + BBIE + Monetary Total. Line Extension Amount. Amount + The monetary amount of an extended transaction line, net of tax and settlement discounts, but inclusive of any applicable rounding amount. + 0..1 + Monetary Total + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Tax Exclusive Amount. Amount + The monetary amount of an extended transaction line, exclusive of taxes. + 0..1 + Monetary Total + Tax Exclusive Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Tax Inclusive Amount. Amount + The monetary amount including taxes; the sum of payable amount and prepaid amount. + 0..1 + Monetary Total + Tax Inclusive Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Allowance_ Total Amount. Amount + The total monetary amount of all allowances. + 0..1 + Monetary Total + Allowance + Total Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Charge_ Total Amount. Amount + The total monetary amount of all charges. + 0..1 + Monetary Total + Charge + Total Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Withholding Tax_ Total Amount. Amount + The total withholding tax amount. + 0..1 + Monetary Total + Withholding Tax + Total Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Prepaid Amount. Amount + The total prepaid monetary amount. + 0..1 + Monetary Total + Prepaid Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Rounding Amount. Amount + The rounding amount (positive or negative) added to produce the line extension amount. + 0..1 + Monetary Total + Payable + Rounding Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Amount. Amount + The amount of the monetary total to be paid. + 1 + Monetary Total + Payable + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Monetary Total. Payable_ Alternative Amount. Amount + The amount of the monetary total to be paid, expressed in an alternative currency. + 0..1 + Monetary Total + Payable + Alternative Amount + Amount + Amount. Type + + + + + + + + + + + ABIE + Notification Requirement. Details + A class to describe a notification requirement. + Notification Requirement + + + + + + + + + BBIE + Notification Requirement. Notification Type Code. Code + A code signifying the type of notification (e.g., pickup status). + 1 + Notification Requirement + Notification Type Code + Code + Code. Type + + + + + + + + + BBIE + Notification Requirement. Post Event Notification Duration. Measure + The length of time between the occurrence of a given event and the issuance of a notification. + 0..1 + Notification Requirement + Post Event Notification Duration + Measure + Measure. Type + + + + + + + + + BBIE + Notification Requirement. Pre Event Notification Duration. Measure + The length of time to elapse between the issuance of a notification and the occurrence of the event it relates to. + 0..1 + Notification Requirement + Pre Event Notification Duration + Measure + Measure. Type + + + + + + + + + ASBIE + Notification Requirement. Notify_ Party. Party + A party to be notified. + 0..n + Notification Requirement + Notify + Party + Party + Party + + + + + + + + + ASBIE + Notification Requirement. Notification_ Period. Period + A period during which a notification should be issued. + 0..n + Notification Requirement + Notification + Period + Period + Period + + + + + + + + + ASBIE + Notification Requirement. Notification_ Location. Location + A location at which a notification should be issued. + 0..n + Notification Requirement + Notification + Location + Location + Location + + + + + + + + + + + ABIE + On Account Payment. Details + A scheduled prepayment (on-account payment) for a estimated utility consumption + On Account Payment + + + + + + + + + BBIE + On Account Payment. Estimated_ Consumed Quantity. Quantity + The estimated consumed quantity covered by the payment. + 1 + On Account Payment + Estimated + Consumed Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + On Account Payment. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + On Account Payment + Note + Text + Text. Type + We make a reservation for price regulations. You will receive you next yearly statement about one year from today. + + + + + + + + + ASBIE + On Account Payment. Payment Terms + A specification of payment terms associated with this payment. + 1..n + On Account Payment + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + + + ABIE + Order Line. Details + A class to define a line in an order document (e.g., Order, Order Change, or Order Response) describing an item being ordered. + Order Line + + + + + + + + + BBIE + Order Line. Substitution Status Code. Code + A code signifying the substitution status of the item on this order line. The order line may indicate that the substitute is proposed by the buyer (in Order) or by the seller (in Order Response) or that a substitution has been made by the seller (in Order Response). + 0..1 + Order Line + Substitution Status Code + Code + Substitution Status + Substitution Status_ Code. Type + + + + + + + + + BBIE + Order Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Order Line + Note + Text + Text. Type + + + + + + + + + ASBIE + Order Line. Line Item + The line item itself. + 1 + Order Line + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Seller Proposed Substitute_ Line Item. Line Item + In Order Response, a line item proposed by the seller describing a product that might substitute for the product described in this order line. + 0..n + Order Line + Seller Proposed Substitute + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Seller Substituted_ Line Item. Line Item + In Order Response, a line item that has replaced the original order line item. The specified quantity and pricing may differ from those in the original line item, but when a line item is substituted by the seller, it is assumed that other information, such as shipment details, will remain the same. + 0..n + Order Line + Seller Substituted + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Buyer Proposed Substitute_ Line Item. Line Item + A description of an item proposed by the buyer as a possible alternative to the item associated with this order line. + 0..n + Order Line + Buyer Proposed Substitute + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Order Line. Catalogue_ Line Reference. Line Reference + A reference to a catalogue line associated with this order line. + 0..1 + Order Line + Catalogue + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Order Line. Quotation_ Line Reference. Line Reference + A reference to a quotation line associated with this order line. + 0..1 + Order Line + Quotation + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Order Line. Order Line Reference + A reference to another order line, such as in a replacement order or another line on the same order that is related. + 0..n + Order Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Order Line. Document Reference + A reference to a document associated with this order line. + 0..n + Order Line + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Order Line Reference. Details + A class to define a reference to an order line. + Order Line Reference + + + + + + + + + BBIE + Order Line Reference. Line Identifier. Identifier + An identifier for the referenced order line, assigned by the buyer. + 1 + Order Line Reference + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. Sales Order_ Line Identifier. Identifier + An identifier for the referenced order line, assigned by the seller. + 0..1 + Order Line Reference + Sales Order + Line Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. UUID. Identifier + A universally unique identifier for this order line reference. + 0..1 + Order Line Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Line Reference. Line Status Code. Code + A code signifying the status of the referenced order line with respect to its original state. + 0..1 + Order Line Reference + Line Status Code + Code + Line Status + Line Status_ Code. Type + + + + + + + + + ASBIE + Order Line Reference. Order Reference + A reference to the Order containing the referenced order line. + 0..1 + Order Line Reference + Order Reference + Order Reference + Order Reference + + + + + + + + + + + ABIE + Order Reference. Details + A class to define a reference to an Order. + Order Reference + + + + + + + + + BBIE + Order Reference. Identifier + An identifier for this order reference, assigned by the buyer. + 1 + Order Reference + Identifier + Identifier + Identifier. Type + PO-001 3333-44-123 + + + + + + + + + BBIE + Order Reference. Sales_ Order Identifier. Identifier + An identifier for this order reference, assigned by the seller. + 0..1 + Order Reference + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Reference. Copy_ Indicator. Indicator + Indicates whether the referenced Order is a copy (true) or the original (false). + 0..1 + Order Reference + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Reference. UUID. Identifier + A universally unique identifier for this order reference. + 0..1 + Order Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Reference. Issue Date. Date + The date on which the referenced Order was issued. + 0..1 + Order Reference + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Reference. Issue Time. Time + The time at which the referenced Order was issued. + 0..1 + Order Reference + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Reference. Customer_ Reference. Text + Text used for tagging purchasing card transactions. + 0..1 + Order Reference + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Reference. Order Type Code. Code + A code signifying the type of the referenced Order. + 0..1 + Order Reference + Order Type Code + Code + Code. Type + + + + + + + + + ASBIE + Order Reference. Document Reference + A document associated with this reference to an Order. + 0..1 + Order Reference + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Ordered Shipment. Details + A class to describe an ordered shipment. + Ordered Shipment + + + + + + + + + ASBIE + Ordered Shipment. Shipment + The ordered shipment. + 1 + Ordered Shipment + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Ordered Shipment. Package + A package in this ordered shipment. + 0..n + Ordered Shipment + Package + Package + Package + + + + + + + + + + + ABIE + Package. Details + A class to describe a package. + Package + + + + + + + + + BBIE + Package. Identifier + An identifier for this package. + 0..1 + Package + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Package. Quantity + The quantity of items contained in this package. + 0..1 + Package + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Package. Returnable Material_ Indicator. Indicator + An indicator that the packaging material is returnable (true) or not (false). + 0..1 + Package + Returnable Material + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Package. Package Level Code. Code + A code signifying a level of packaging. + 0..1 + Package + Package Level Code + Code + Code. Type + + + + + + + + + BBIE + Package. Packaging Type Code. Code + A code signifying a type of packaging. + 0..1 + Package + Packaging Type Code + Code + Packaging Type + Packaging Type_ Code. Type + Package classification code + + + + + + + + + BBIE + Package. Packing Material. Text + Text describing the packaging material. + 0..n + Package + Packing Material + Text + Text. Type + + + + + + + + + BBIE + Package. Trace_ Identifier. Identifier + An identifier for use in tracing this package, such as the EPC number used in RFID. + 0..1 + Package + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Package. Contained_ Package. Package + A package contained within this package. + 0..n + Package + Contained + Package + Package + Package + + + + + + + + + ASBIE + Package. Containing_ Transport Equipment. Transport Equipment + The piece of transport equipment containing this package. + 0..1 + Package + Containing + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Package. Goods Item + A goods item included in this package. + 0..n + Package + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Package. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this package. + 0..n + Package + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Package. Delivery Unit + A delivery unit within this package. + 0..n + Package + Delivery Unit + Delivery Unit + Delivery Unit + + + + + + + + + ASBIE + Package. Delivery + The delivery of this package. + 0..1 + Package + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Package. Pickup + The pickup of this package. + 0..1 + Package + Pickup + Pickup + Pickup + + + + + + + + + ASBIE + Package. Despatch + The despatch of this package. + 0..1 + Package + Despatch + Despatch + Despatch + + + + + + + + + + + ABIE + Participant Party. Details + A class to describe a participant party. + Participant Party + + + + + + + + + BBIE + Participant Party. Initiating Party_ Indicator. Indicator + An indicator that this party is playing the role of the initiator within a transaction (true) or not (false). + 0..1 + Participant Party + Initiating Party + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Participant Party. Private Party_ Indicator. Indicator + An indicator that this party is a private entity (true) or not (false). + 0..1 + Participant Party + Private Party + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Participant Party. Public Party_ Indicator. Indicator + An indicator that this party is a public (governmental) entity (true) or not (false). + 0..1 + Participant Party + Public Party + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Participant Party. Service Provider Party_ Indicator. Indicator + An indicator that this party is a service provider (true) or not (false). + 0..1 + Participant Party + Service Provider Party + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Participant Party. Party + The participant party itself. + 1 + Participant Party + Party + Party + Party + + + + + + + + + ASBIE + Participant Party. Legal_ Contact. Contact + A legal contact associated to this participant for sending legal notices. + 0..1 + Participant Party + Legal + Contact + Contact + Contact + + + + + + + + + ASBIE + Participant Party. Technical_ Contact. Contact + A technical contact associated to this participant. + 0..1 + Participant Party + Technical + Contact + Contact + Contact + + + + + + + + + ASBIE + Participant Party. Support_ Contact. Contact + A support contact associated to this participant. + 0..1 + Participant Party + Support + Contact + Contact + Contact + + + + + + + + + ASBIE + Participant Party. Commercial_ Contact. Contact + A commercial contact associated to this participant. + 0..1 + Participant Party + Commercial + Contact + Contact + Contact + + + + + + + + + + + ABIE + Party. Details + A class to describe an organization, sub-organization, or individual fulfilling a role in a business process. + Party + + + + + + + + + BBIE + Party. Mark Care_ Indicator. Indicator + An indicator that this party is "care of" (c/o) (true) or not (false). + 0..1 + Party + Mark Care + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party. Mark Attention_ Indicator. Indicator + An indicator that this party is "for the attention of" (FAO) (true) or not (false). + 0..1 + Party + Mark Attention + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party. Website_ URI. Identifier + The Uniform Resource Identifier (URI) that identifies this party's web site; i.e., the web site's Uniform Resource Locator (URL). + 0..1 + Party + Website + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Party. Logo Reference. Identifier + An identifier for this party's logo. + 0..1 + Party + Logo Reference + Identifier + Identifier. Type + http://www2.coca-cola.com/images/logo.gif + + + + + + + + + BBIE + Party. Endpoint Identifier. Identifier + An identifier for the end point of the routing service (e.g., EAN Location Number, GLN). + 0..1 + Party + Endpoint Identifier + Identifier + Identifier. Type + 5790002221134 + + + + + + + + + BBIE + Party. Industry Classification Code. Code + This party's Industry Classification Code. + 0..1 + Party + Industry Classification Code + Code + Code. Type + Public authority , NAIC codes + + + + + + + + + ASBIE + Party. Party Identification + An identifier for this party. + 0..n + Party + Party Identification + Party Identification + Party Identification + + + + + + + + + ASBIE + Party. Party Name + A name for this party. + 0..n + Party + Party Name + Party Name + Party Name + + + + + + + + + ASBIE + Party. Language + The language associated with this party. + 0..1 + Party + Language + Language + Language + + + + + + + + + ASBIE + Party. Postal_ Address. Address + The party's postal address. + 0..1 + Party + Postal + Address + Address + Address + + + + + + + + + ASBIE + Party. Physical_ Location. Location + The physical location of this party. + 0..1 + Party + Physical + Location + Location + Location + + + + + + + + + ASBIE + Party. Party Tax Scheme + A tax scheme applying to this party. + 0..n + Party + Party Tax Scheme + Party Tax Scheme + Party Tax Scheme + + + + + + + + + ASBIE + Party. Party Legal Entity + A description of this party as a legal entity. + 0..n + Party + Party Legal Entity + Party Legal Entity + Party Legal Entity + + + + + + + + + ASBIE + Party. Contact + The primary contact for this party. + 0..1 + Party + Contact + Contact + Contact + + + + + + + + + ASBIE + Party. Person + A person associated with this party. + 0..n + Party + Person + Person + Person + + + + + + + + + ASBIE + Party. Agent_ Party. Party + A party who acts as an agent for this party. + 0..1 + Party + Agent + Party + Party + Party + Customs Broker + + + + + + + + + ASBIE + Party. Service Provider Party + A party providing a service to this party. + 0..n + Party + Service Provider Party + Service Provider Party + Service Provider Party + + + + + + + + + ASBIE + Party. Power Of Attorney + A power of attorney associated with this party. + 0..n + Party + Power Of Attorney + Power Of Attorney + Power Of Attorney + + + + + + + + + ASBIE + Party. Financial Account + The financial account associated with this party. + 0..1 + Party + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Party. Additional_ Web Site. Web Site + An additional web site associated with this party (e.g. a satellite web site). + 0..n + Party + Additional + Web Site + Web Site + Web Site + + + + + + + + + ASBIE + Party. Social Media Profile + A social media profile associated with this party. + 0..n + Party + Social Media Profile + Social Media Profile + Social Media Profile + + + + + + + + + + + ABIE + Party Identification. Details + A class to define an identifier for a party. + Party Identification + + + + + + + + + BBIE + Party Identification. Identifier + An identifier for the party. + 1 + Party Identification + Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Party Legal Entity. Details + A class to describe a party as a legal entity. + Party Legal Entity + + + + + + + + + BBIE + Party Legal Entity. Registration_ Name. Name + The name of the party as registered with the relevant legal authority. + 0..1 + Party Legal Entity + Registration + Name + Name + Name. Type + Microsoft Corporation + + + + + + + + + BBIE + Party Legal Entity. Company Identifier. Identifier + An identifier for the party as registered within a company registration scheme. + 0..1 + Party Legal Entity + Company Identifier + Identifier + Identifier. Type + Business Registration Number, Company Number + 3556625 + + + + + + + + + BBIE + Party Legal Entity. Registration_ Date. Date + The registration date of the CompanyID. + 0..1 + Party Legal Entity + Registration + Date + Date + Date. Type + + + + + + + + + BBIE + Party Legal Entity. Registration Expiration_ Date. Date + The date upon which a registration expires (e.g., registration for an import/export license). + 0..1 + Party Legal Entity + Registration Expiration + Date + Date + Date. Type + + + + + + + + + BBIE + Party Legal Entity. Company Legal Form Code. Code + A code signifying the party's legal status. + 0..1 + Party Legal Entity + Company Legal Form Code + Code + Code. Type + Legal Status + + + + + + + + + BBIE + Party Legal Entity. Company Legal Form. Text + The company legal status, expressed as a text. + 0..1 + Party Legal Entity + Company Legal Form + Text + Text. Type + + + + + + + + + BBIE + Party Legal Entity. Sole Proprietorship Indicator. Indicator + An indicator that the company is owned and controlled by one person (true) or not (false). + 0..1 + Party Legal Entity + Sole Proprietorship Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Party Legal Entity. Company Liquidation Status Code. Code + A code signifying the party's liquidation status. + 0..1 + Party Legal Entity + Company Liquidation Status Code + Code + Code. Type + + + + + + + + + BBIE + Party Legal Entity. Corporate Stock_ Amount. Amount + The number of shares in the capital stock of a corporation. + 0..1 + Party Legal Entity + Corporate Stock + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Party Legal Entity. Fully Paid Shares Indicator. Indicator + An indicator that all shares of corporate stock have been paid by shareholders (true) or not (false). + 0..1 + Party Legal Entity + Fully Paid Shares Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Party Legal Entity. Registration_ Address. Address + The registered address of the party within a corporate registration scheme. + 0..1 + Party Legal Entity + Registration + Address + Address + Address + + + + + + + + + ASBIE + Party Legal Entity. Corporate Registration Scheme + The corporate registration scheme used to register the party. + 0..1 + Party Legal Entity + Corporate Registration Scheme + Corporate Registration Scheme + Corporate Registration Scheme + + + + + + + + + ASBIE + Party Legal Entity. Head Office_ Party. Party + The head office of the legal entity + 0..1 + Party Legal Entity + Head Office + Party + Party + Party + + + + + + + + + ASBIE + Party Legal Entity. Shareholder Party + A party owning shares in this legal entity. + 0..n + Party Legal Entity + Shareholder Party + Shareholder Party + Shareholder Party + + + + + + + + + + + ABIE + Party Name. Details + A class for defining the name of a party. + Party Name + + + + + + + + + BBIE + Party Name. Name + The name of the party. + 1 + Party Name + Name + Name + Name. Type + Microsoft + + + + + + + + + + + ABIE + Party Tax Scheme. Details + A class to describe a taxation scheme applying to a party. + Party Tax Scheme + + + + + + + + + BBIE + Party Tax Scheme. Registration_ Name. Name + The name of the party as registered with the relevant fiscal authority. + 0..1 + Party Tax Scheme + Registration + Name + Name + Name. Type + Microsoft Corporation + + + + + + + + + BBIE + Party Tax Scheme. Company Identifier. Identifier + An identifier for the party assigned for tax purposes by the taxation authority. + 0..1 + Party Tax Scheme + Company Identifier + Identifier + Identifier. Type + VAT Number + 3556625 + + + + + + + + + BBIE + Party Tax Scheme. Tax Level Code. Code + A code signifying the tax level applicable to the party within this taxation scheme. + 0..1 + Party Tax Scheme + Tax Level Code + Code + Code. Type + + + + + + + + + BBIE + Party Tax Scheme. Exemption Reason Code. Code + A reason for the party's exemption from tax, expressed as a code. + 0..1 + Party Tax Scheme + Exemption Reason Code + Code + Code. Type + + + + + + + + + BBIE + Party Tax Scheme. Exemption_ Reason. Text + A reason for the party's exemption from tax, expressed as text. + 0..n + Party Tax Scheme + Exemption + Reason + Text + Text. Type + + + + + + + + + ASBIE + Party Tax Scheme. Registration_ Address. Address + The address of the party as registered for tax purposes. + 0..1 + Party Tax Scheme + Registration + Address + Address + Address + + + + + + + + + ASBIE + Party Tax Scheme. Tax Scheme + The taxation scheme applicable to the party. + 1 + Party Tax Scheme + Tax Scheme + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Payment. Details + A class to describe a payment. + Payment + + + + + + + + + BBIE + Payment. Identifier + An identifier for this payment. + 0..1 + Payment + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment. Paid_ Amount. Amount + The amount of this payment. + 0..1 + Payment + Paid + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment. Received_ Date. Date + The date on which this payment was received. + 0..1 + Payment + Received + Date + Date + Date. Type + + + + + + + + + BBIE + Payment. Paid_ Date. Date + The date on which this payment was made. + 0..1 + Payment + Paid + Date + Date + Date. Type + + + + + + + + + BBIE + Payment. Paid_ Time. Time + The time at which this payment was made. + 0..1 + Payment + Paid + Time + Time + Time. Type + + + + + + + + + BBIE + Payment. Instruction Identifier. Identifier + An identifier for the payment instruction. + 0..1 + Payment + Instruction Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Payment Mandate. Details + A class to describe a payment mandate. + Payment Mandate + + + + + + + + + BBIE + Payment Mandate. Identifier + An identifier for this payment mandate. + 0..1 + Payment Mandate + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Mandate. Mandate Type Code. Code + A code signifying the type of this payment mandate. + 0..1 + Payment Mandate + Mandate Type Code + Code + Code. Type + + + + + + + + + BBIE + Payment Mandate. Maximum Payment Instructions. Numeric + The number of maximum payment instructions allowed within the validity period. + 0..1 + Payment Mandate + Maximum Payment Instructions + Numeric + Numeric. Type + + + + + + + + + BBIE + Payment Mandate. Maximum_ Paid Amount. Amount + The maximum amount to be paid within a single instruction. + 0..1 + Payment Mandate + Maximum + Paid Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Mandate. Signature Identifier. Identifier + An identifier for a signature applied by a signatory party. + 0..1 + Payment Mandate + Signature Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Payment Mandate. Payer_ Party. Party + The payer party (if different from the debtor). + 0..1 + Payment Mandate + Payer + Party + Party + Party + + + + + + + + + ASBIE + Payment Mandate. Payer_ Financial Account. Financial Account + The payer's financial account. + 0..1 + Payment Mandate + Payer + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Mandate. Validity_ Period. Period + The period during which this mandate is valid. + 0..1 + Payment Mandate + Validity + Period + Period + Period + + + + + + + + + ASBIE + Payment Mandate. Payment Reversal_ Period. Period + The period of the reverse payment. + 0..1 + Payment Mandate + Payment Reversal + Period + Period + Period + + + + + + + + + ASBIE + Payment Mandate. Clause + A clause applicable to this payment mandate. + 0..n + Payment Mandate + Clause + Clause + Clause + + + + + + + + + + + ABIE + Payment Means. Details + A class to describe a means of payment. + Payment Means + + + + + + + + + BBIE + Payment Means. Identifier + An identifier for this means of payment. + 0..1 + Payment Means + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Means. Payment Means Code. Code + A code signifying the type of this means of payment. + 1 + Payment Means + Payment Means Code + Code + Payment Means + Payment Means_ Code. Type + + + + + + + + + BBIE + Payment Means. Payment Due Date. Date + The date on which payment is due for this means of payment. + 0..1 + Payment Means + Payment Due Date + Date + Date. Type + + + + + + + + + BBIE + Payment Means. Payment Channel Code. Code + A code signifying the payment channel for this means of payment. + 0..1 + Payment Means + Payment Channel Code + Code + Code. Type + + + + + + + + + BBIE + Payment Means. Instruction Identifier. Identifier + An identifier for the payment instruction. + 0..1 + Payment Means + Instruction Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Means. Instruction_ Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Payment Means + Instruction + Note + Text + Text. Type + + + + + + + + + BBIE + Payment Means. Payment Identifier. Identifier + An identifier for a payment made using this means of payment. + 0..n + Payment Means + Payment Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Payment Means. Card Account + A credit card, debit card, or charge card account that constitutes this means of payment. + 0..1 + Payment Means + Card Account + Card Account + Card Account + + + + + + + + + ASBIE + Payment Means. Payer_ Financial Account. Financial Account + The payer's financial account. + 0..1 + Payment Means + Payer + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Means. Payee_ Financial Account. Financial Account + The payee's financial account. + 0..1 + Payment Means + Payee + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Payment Means. Credit Account + A credit account associated with this means of payment. + 0..1 + Payment Means + Credit Account + Credit Account + Credit Account + + + + + + + + + ASBIE + Payment Means. Payment Mandate + The payment mandate associated with this means of payment. + 0..1 + Payment Means + Payment Mandate + Payment Mandate + Payment Mandate + + + + + + + + + ASBIE + Payment Means. Trade Financing + A trade finance agreement applicable to this means of payment. + 0..1 + Payment Means + Trade Financing + Trade Financing + Trade Financing + + + + + + + + + + + ABIE + Payment Terms. Details + A class to describe a set of payment terms. + Payment Terms + + + + + + + + + BBIE + Payment Terms. Identifier + An identifier for this set of payment terms. + 0..1 + Payment Terms + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Payment Means Identifier. Identifier + An identifier for a means of payment associated with these payment terms. + 0..n + Payment Terms + Payment Means Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Prepaid Payment Reference Identifier. Identifier + An identifier for a reference to a prepaid payment. + 0..1 + Payment Terms + Prepaid Payment Reference Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Payment Terms + Note + Text + Text. Type + + + + + + + + + BBIE + Payment Terms. Reference_ Event Code. Code + A code signifying the event during which these terms are offered. + 0..1 + Payment Terms + Reference + Event Code + Code + Code. Type + + + + + + + + + BBIE + Payment Terms. Settlement_ Discount Percent. Percent + The percentage for the settlement discount that is offered for payment under these payment terms. + 0..1 + Payment Terms + Settlement + Discount Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Penalty_ Surcharge Percent. Percent + The penalty for payment after the settlement period, expressed as a percentage of the payment. + 0..1 + Payment Terms + Penalty + Surcharge Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Payment Percent. Percent + The part of a payment, expressed as a percent, relevant for these payment terms. + 0..1 + Payment Terms + Payment Percent + Percent + Percent. Type + + + + + + + + + BBIE + Payment Terms. Amount + The monetary amount covered by these payment terms. + 0..1 + Payment Terms + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Terms. Settlement_ Discount Amount. Amount + The amount of a settlement discount offered for payment under these payment terms. + 0..1 + Payment Terms + Settlement + Discount Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Terms. Penalty_ Amount. Amount + The monetary amount of the penalty for payment after the settlement period. + 0..1 + Payment Terms + Penalty + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Payment Terms. Payment Terms Details URI. Identifier + The Uniform Resource Identifier (URI) of a document providing additional details regarding these payment terms. + 0..1 + Payment Terms + Payment Terms Details URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Payment Terms. Payment Due Date. Date + The due date for these payment terms. + 0..1 + Payment Terms + Payment Due Date + Date + Date. Type + + + + + + + + + BBIE + Payment Terms. Installment Due Date. Date + The due date for an installment payment for these payment terms. + 0..1 + Payment Terms + Installment Due Date + Date + Date. Type + + + + + + + + + BBIE + Payment Terms. Invoicing Party_ Reference. Text + A reference to the payment terms used by the invoicing party. This may have been requested of the payer by the payee to accompany its remittance. + 0..1 + Payment Terms + Invoicing Party + Reference + Text + Text. Type + + + + + + + + + ASBIE + Payment Terms. Settlement_ Period. Period + The period during which settlement may occur. + 0..1 + Payment Terms + Settlement + Period + Period + Period + + + + + + + + + ASBIE + Payment Terms. Penalty_ Period. Period + The period during which penalties may apply. + 0..1 + Payment Terms + Penalty + Period + Period + Period + + + + + + + + + ASBIE + Payment Terms. Exchange Rate + The currency exchange rate for purposes of these payment terms. + 0..1 + Payment Terms + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Payment Terms. Validity_ Period. Period + The period during which these payment terms are valid. + 0..1 + Payment Terms + Validity + Period + Period + Period + + + + + + + + + + + ABIE + Performance Data Line. Details + A class to define a line in a Performance History. + Performance Data Line + + + + + + + + + BBIE + Performance Data Line. Identifier + An identifier for this performance data line. + 1 + Performance Data Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Performance Data Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Performance Data Line + Note + Text + Text. Type + + + + + + + + + BBIE + Performance Data Line. Performance Value. Quantity + The value of the reported attribute. + 1 + Performance Data Line + Performance Value + Quantity + Quantity. Type + + + + + + + + + BBIE + Performance Data Line. Performance Metric Type Code. Code + A code signifying the measure of performance applicable to the reported attribute. + 1 + Performance Data Line + Performance Metric Type Code + Code + Code. Type + + + + + + + + + ASBIE + Performance Data Line. Period + The period to which this performance data line applies. + 0..1 + Performance Data Line + Period + Period + Period + + + + + + + + + ASBIE + Performance Data Line. Item + The item whose performance is reported in this data line. + 0..1 + Performance Data Line + Item + Item + Item + + + + + + + + + + + ABIE + Period. Details + A class to describe a period of time. + Period + + + + + + + + + BBIE + Period. Start Date. Date + The date on which this period begins. + 0..1 + Period + Start Date + Date + Date. Type + + + + + + + + + BBIE + Period. Start Time. Time + The time at which this period begins. + 0..1 + Period + Start Time + Time + Time. Type + + + + + + + + + BBIE + Period. End Date. Date + The date on which this period ends. + 0..1 + Period + End Date + Date + Date. Type + + + + + + + + + BBIE + Period. End Time. Time + The time at which this period ends. + 0..1 + Period + End Time + Time + Time. Type + + + + + + + + + BBIE + Period. Duration. Measure + The duration of this period, expressed as an ISO 8601 code. + 0..1 + Period + Duration + Measure + Measure. Type + + + + + + + + + BBIE + Period. Description Code. Code + A description of this period, expressed as a code. + 0..n + Period + Description Code + Code + Code. Type + + + + + + + + + BBIE + Period. Description. Text + A description of this period, expressed as text. + 0..n + Period + Description + Text + Text. Type + + + + + + + + + + + ABIE + Person. Details + A class to describe a person. + Person + + + + + + + + + BBIE + Person. Identifier + An identifier for this person. + 0..1 + Person + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Person. First_ Name. Name + This person's given name. + 0..1 + Person + First + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Family_ Name. Name + This person's family name. + 0..1 + Person + Family + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Title. Text + This person's title of address (e.g., Mr, Ms, Dr, Sir). + 0..1 + Person + Title + Text + Text. Type + + + + + + + + + BBIE + Person. Middle_ Name. Name + This person's middle name(s) or initials. + 0..1 + Person + Middle + Name + Name + Name. Type + + + + + + + + + BBIE + Person. Other_ Name. Name + This person's second family name. + 0..1 + Person + Other + Name + Name + Name. Type + Delivery Dock + + + + + + + + + BBIE + Person. Name Suffix. Text + A suffix to this person's name (e.g., PhD, OBE, Jr). + 0..1 + Person + Name Suffix + Text + Text. Type + + + + + + + + + BBIE + Person. Job Title. Text + This person's job title (for a particular role) within an organization. + 0..1 + Person + Job Title + Text + Text. Type + + + + + + + + + BBIE + Person. Nationality. Identifier + An identifier for this person's nationality. + 0..1 + Person + Nationality + Identifier + Identifier. Type + + + + + + + + + BBIE + Person. Gender Code. Code + A code (e.g., ISO 5218) signifying the gender of this person. + 0..1 + Person + Gender Code + Code + Code. Type + + + + + + + + + BBIE + Person. Birth Date. Date + This person's date of birth. + 0..1 + Person + Birth Date + Date + Date. Type + + + + + + + + + BBIE + Person. Birthplace Name. Name + The name of the place where this person was born, expressed as text. + 0..1 + Person + Birthplace Name + Name + Name. Type + + + + + + + + + BBIE + Person. Organization_ Department. Text + The department or subdivision of an organization that this person belongs to (in a particular role). + 0..1 + Person + Organization + Department + Text + Text. Type + + + + + + + + + BBIE + Person. Role Code. Code + A code stating the person's role + 0..1 + Person + Role Code + Code + Code. Type + + + + + + + + + ASBIE + Person. Citizenship_ Country. Country + The country of the person's citizenship. + 0..1 + Person + Citizenship + Country + Country + Country + + + + + + + + + ASBIE + Person. Contact + Contact information for this person. + 0..1 + Person + Contact + Contact + Contact + + + + + + + + + ASBIE + Person. Financial Account + The financial account associated with this person. + 0..1 + Person + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Person. Identity_ Document Reference. Document Reference + A reference to a document that can precisely identify this person (e.g., a driver's license). + 0..n + Person + Identity + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Person. Residence_ Address. Address + This person's address of residence. + 0..1 + Person + Residence + Address + Address + Address + + + + + + + + + + + ABIE + Physical Attribute. Details + A class to describe a physical attribute. + Physical Attribute + + + + + + + + + BBIE + Physical Attribute. Attribute Identifier. Identifier + An identifier for this physical attribute. + 1 + Physical Attribute + Attribute Identifier + Identifier + Identifier. Type + colour style + + + + + + + + + BBIE + Physical Attribute. Position Code. Code + A code signifying the position of this physical attribute. + 0..1 + Physical Attribute + Position Code + Code + Code. Type + + + + + + + + + BBIE + Physical Attribute. Description Code. Code + A description of the physical attribute, expressed as a code. + 0..1 + Physical Attribute + Description Code + Code + Code. Type + XXL , Small + + + + + + + + + BBIE + Physical Attribute. Description. Text + A description of the physical attribute, expressed as text. + 0..n + Physical Attribute + Description + Text + Text. Type + + + + + + + + + + + ABIE + Pickup. Details + A class to describe a pickup for delivery. + Pickup + Collection + + + + + + + + + BBIE + Pickup. Identifier + An identifier for this pickup. + 0..1 + Pickup + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Pickup. Actual_ Pickup Date. Date + The actual pickup date. + 0..1 + Pickup + Actual + Pickup Date + Date + Date. Type + + + + + + + + + BBIE + Pickup. Actual_ Pickup Time. Time + The actual pickup time. + 0..1 + Pickup + Actual + Pickup Time + Time + Time. Type + + + + + + + + + BBIE + Pickup. Earliest_ Pickup Date. Date + The earliest pickup date. + 0..1 + Pickup + Earliest + Pickup Date + Date + Date. Type + + + + + + + + + BBIE + Pickup. Earliest_ Pickup Time. Time + The earliest pickup time. + 0..1 + Pickup + Earliest + Pickup Time + Time + Time. Type + + + + + + + + + BBIE + Pickup. Latest_ Pickup Date. Date + The latest pickup date. + 0..1 + Pickup + Latest + Pickup Date + Date + Date. Type + + + + + + + + + BBIE + Pickup. Latest_ Pickup Time. Time + The latest pickup time. + 0..1 + Pickup + Latest + Pickup Time + Time + Time. Type + + + + + + + + + ASBIE + Pickup. Pickup_ Location. Location + The pickup location. + 0..1 + Pickup + Pickup + Location + Location + Location + + + + + + + + + ASBIE + Pickup. Pickup_ Party. Party + The party responsible for picking up a delivery. + 0..1 + Pickup + Pickup + Party + Party + Party + + + + + + + + + + + ABIE + Post Award Process. Details + A class to describe a post award process. These processes following the agreement on a contract for supply of goods or services ( for example, after the awarding of a tender). + Post Award Process + + + + + + + + + BBIE + Post Award Process. Electronic Catalogue Usage. Indicator + An indicator to specify whether an electronic catalogue will be used during the post award phase. + 0..1 + Post Award Process + Electronic Catalogue Usage + Indicator + Indicator. Type + + + + + + + + + BBIE + Post Award Process. Electronic Invoice Accepted. Indicator + An indicator on whether the electronic invoice is allowed for this process. + 0..1 + Post Award Process + Electronic Invoice Accepted + Indicator + Indicator. Type + + + + + + + + + BBIE + Post Award Process. Electronic Order Usage. Indicator + An indicator on whether electronic ordering shall be used in the post award process. + 0..1 + Post Award Process + Electronic Order Usage + Indicator + Indicator. Type + + + + + + + + + BBIE + Post Award Process. Electronic Payment Usage. Indicator + An indicator on whether electronic payment shall be used in the post award process. + 0..n + Post Award Process + Electronic Payment Usage + Indicator + Indicator. Type + + + + + + + + + + + ABIE + Power Of Attorney. Details + A class to describe a power of attorney. + Power Of Attorney + + + + + + + + + BBIE + Power Of Attorney. Identifier + An identifier for this power of attorney. + 0..1 + Power Of Attorney + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Power Of Attorney. Issue Date. Date + The date on which this power of attorney was issued. + 0..1 + Power Of Attorney + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Power Of Attorney. Issue Time. Time + The time at which this power of attorney was issued. + 0..1 + Power Of Attorney + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Power Of Attorney. Description. Text + Text describing this power of attorney. + 0..n + Power Of Attorney + Description + Text + Text. Type + + + + + + + + + ASBIE + Power Of Attorney. Notary_ Party. Party + The party notarizing this power of attorney. + 0..1 + Power Of Attorney + Notary + Party + Party + Party + + + + + + + + + ASBIE + Power Of Attorney. Agent_ Party. Party + The party who acts as an agent or fiduciary for the principal and who holds this power of attorney on behalf of the principal. + 1 + Power Of Attorney + Agent + Party + Party + Party + + + + + + + + + ASBIE + Power Of Attorney. Witness_ Party. Party + An association to a WitnessParty. + 0..n + Power Of Attorney + Witness + Party + Party + Party + + + + + + + + + ASBIE + Power Of Attorney. Mandate_ Document Reference. Document Reference + A reference to a mandate associated with this power of attorney. + 0..n + Power Of Attorney + Mandate + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Price. Details + A class to describe a price, expressed in a data structure containing multiple properties (compare with UnstructuredPrice). + Price + + + + + + + + + BBIE + Price. Price Amount. Amount + The amount of the price. + 1 + Price + Price Amount + Amount + Amount. Type + unit price + 23.45 + + + + + + + + + BBIE + Price. Base_ Quantity. Quantity + The quantity at which this price applies. + 0..1 + Price + Base + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Price. Price Change_ Reason. Text + A reason for a price change. + 0..n + Price + Price Change + Reason + Text + Text. Type + Clearance of old stock , New contract applies + + + + + + + + + BBIE + Price. Price Type Code. Code + The type of price, expressed as a code. + 0..1 + Price + Price Type Code + Code + Code. Type + + + + + + + + + BBIE + Price. Price Type. Text + The type of price, expressed as text. + 0..1 + Price + Price Type + Text + Text. Type + retail, wholesale, discount, contract + + + + + + + + + BBIE + Price. Orderable Unit Factor. Rate + The factor by which the base price unit can be converted to the orderable unit. + 0..1 + Price + Orderable Unit Factor + Rate + Rate. Type + Nails are priced by weight but ordered by quantity. So this would say how many nails per kilo + + + + + + + + + ASBIE + Price. Validity_ Period. Period + A period during which this price is valid. + 0..n + Price + Validity + Period + Period + Period + + + + + + + + + ASBIE + Price. Price List + Information about a price list applicable to this price. + 0..1 + Price + Price List + Price List + Price List + + + + + + + + + ASBIE + Price. Allowance Charge + An allowance or charge associated with this price. + 0..n + Price + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Price. Pricing_ Exchange Rate. Exchange Rate + The exchange rate applicable to this price, if it differs from the exchange rate applicable to the document as a whole. + 0..1 + Price + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Price Extension. Details + A class to describe a price extension, calculated by multiplying the price per unit by the quantity of items. + Price Extension + + + + + + + + + BBIE + Price Extension. Amount + The amount of this price extension. + 1 + Price Extension + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Price Extension. Tax Total + A total amount of taxes of a particular kind applicable to this price extension. + 0..n + Price Extension + Tax Total + Tax Total + Tax Total + + + + + + + + + + + ABIE + Price List. Details + A class to describe a price list. + Price List + + + + + + + + + BBIE + Price List. Identifier + An identifier for this price list. + 0..1 + Price List + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Price List. Status Code. Code + A code signifying whether this price list is an original, copy, revision, or cancellation. + 0..1 + Price List + Status Code + Code + Code. Type + new - announcement only , new and available , deleted - announcement only + + + + + + + + + ASBIE + Price List. Validity_ Period. Period + A period during which this price list is valid. + 0..n + Price List + Validity + Period + Period + Period + + + + + + + + + ASBIE + Price List. Previous_ Price List. Price List + The previous price list. + 0..1 + Price List + Previous + Price List + Price List + Price List + + + + + + + + + + + ABIE + Pricing Reference. Details + A reference to the basis for pricing. This may be based on a catalogue or a quoted amount from a price list and include some alternative pricing conditions. + Pricing Reference + + + + + + + + + ASBIE + Pricing Reference. Original_ Item Location Quantity. Item Location Quantity + An original set of location-specific properties (e.g., price and quantity) associated with this item. + 0..1 + Pricing Reference + Original + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Pricing Reference. Alternative Condition_ Price. Price + The price expressed in terms other than the actual price, e.g., the list price v. the contracted price, or the price in bags v. the price in kilos, or the list price in bags v. the contracted price in kilos. + 0..n + Pricing Reference + Alternative Condition + Price + Price + Price + + + + + + + + + + + ABIE + Process Justification. Details + A class to describe a justification for the choice of tendering process. + Process Justification + + + + + + + + + BBIE + Process Justification. Previous_ Cancellation Reason Code. Code + A code signifying the type of the previous tendering process (which is now being cancelled). + 0..1 + Process Justification + Previous + Cancellation Reason Code + Code + Code. Type + + + + + + + + + BBIE + Process Justification. Process_ Reason Code. Code + The reason why the contracting authority has followed a particular tendering procedure for the awarding of a contract, expressed as a code. + 0..1 + Process Justification + Process + Reason Code + Code + Code. Type + + + + + + + + + BBIE + Process Justification. Process_ Reason. Text + The reason why the contracting authority has followed a particular tendering procedure for the awarding of a contract, expressed as text. + 0..n + Process Justification + Process + Reason + Text + Text. Type + + + + + + + + + BBIE + Process Justification. Description. Text + Text providing justification for the selection of this process. + 0..n + Process Justification + Description + Text + Text. Type + + + + + + + + + + + ABIE + Procurement Project. Details + A class to describe a project to procure goods, works, or services. + Procurement Project + + + + + + + + + BBIE + Procurement Project. Identifier + An identifier for this procurement project. + 0..1 + Procurement Project + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Procurement Project. Name + A name of this procurement project. + 0..n + Procurement Project + Name + Name + Name. Type + + + + + + + + + BBIE + Procurement Project. Description. Text + Text describing this procurement project. + 0..n + Procurement Project + Description + Text + Text. Type + + + + + + + + + BBIE + Procurement Project. Procurement_ Type Code. Code + A code signifying the type of procurement project (e.g., goods, works, services). + 0..1 + Procurement Project + Procurement + Type Code + Code + Code. Type + + + + + + + + + BBIE + Procurement Project. Procurement Sub_ Type Code. Code + A code signifying the subcategory of the type of work for this project (e.g., land surveying, IT consulting). + 0..1 + Procurement Project + Procurement Sub + Type Code + Code + Code. Type + + + + + + + + + BBIE + Procurement Project. Quality Control Code. Code + The indication of whether or not the control quality is included in the works project. + 0..1 + Procurement Project + Quality Control Code + Code + Code. Type + + + + + + + + + BBIE + Procurement Project. Required_ Fee. Amount + The amount of the reimbursement fee for concession procurement projects. + 0..1 + Procurement Project + Required + Fee + Amount + Amount. Type + + + + + + + + + BBIE + Procurement Project. Fee_ Description. Text + Text describing the reimbursement fee for concession procurement projects. + 0..n + Procurement Project + Fee + Description + Text + Text. Type + + + + + + + + + BBIE + Procurement Project. Requested_ Delivery Date. Date + The requested delivery date for this procurement project. + 0..1 + Procurement Project + Requested + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Procurement Project. Estimated_ Overall Contract. Quantity + The estimated overall quantity for this procurement project. + 0..1 + Procurement Project + Estimated + Overall Contract + Quantity + Quantity. Type + + + + + + + + + BBIE + Procurement Project. Note. Text + Free-form text applying to the Procurement Project. This element may contain additional information about the lot/contract that is not contained explicitly in another structure. + 0..n + Procurement Project + Note + Text + Text. Type + + + + + + + + + ASBIE + Procurement Project. Requested Tender Total + Budget monetary amounts for the project as whole. + 0..1 + Procurement Project + Requested Tender Total + Requested Tender Total + Requested Tender Total + + + + + + + + + ASBIE + Procurement Project. Main_ Commodity Classification. Commodity Classification + An association to the main classification category for the deliverable requested. + 0..n + Procurement Project + Main + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Procurement Project. Additional_ Commodity Classification. Commodity Classification + An association to additional classification categories for the deliverable requested. + 0..n + Procurement Project + Additional + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Procurement Project. Realized_ Location. Location + A place where this procurement project will be physically realized. + 0..n + Procurement Project + Realized + Location + Location + Location + + + + + + + + + ASBIE + Procurement Project. Planned_ Period. Period + The period during which this procurement project is planned to take place. + 0..1 + Procurement Project + Planned + Period + Period + Period + + + + + + + + + ASBIE + Procurement Project. Contract Extension + The contract extension for this tendering process. + 0..1 + Procurement Project + Contract Extension + Contract Extension + Contract Extension + + + + + + + + + ASBIE + Procurement Project. Request For Tender Line + A good or service this project is intended to procure. + 0..n + Procurement Project + Request For Tender Line + Request For Tender Line + Request For Tender Line + + + + + + + + + + + ABIE + Procurement Project Lot. Details + A class to describe one of the parts of a procurement project that is being subdivided to allow the contracting party to award different lots to different economic operators under different contracts. + Procurement Project Lot + + + + + + + + + BBIE + Procurement Project Lot. Identifier + An identifier for this procurement project lot. + 1 + Procurement Project Lot + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Procurement Project Lot. Tendering Terms + Tendering terms for this procurement project lot. + 0..1 + Procurement Project Lot + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Procurement Project Lot. Procurement Project + A description of the procurement project to be divided. + 0..1 + Procurement Project Lot + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + + + ABIE + Procurement Project Lot Reference. Details + A class to reference to a lot identifier. + Procurement Project Lot Reference + + + + + + + + + BBIE + Procurement Project Lot Reference. Identifier + An identifier for this procurement project lot. + 1 + Procurement Project Lot Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Project Reference. Details + A class to define a reference to a procurement project. + Project Reference + + + + + + + + + BBIE + Project Reference. Identifier + An identifier for the referenced project. + 1 + Project Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Project Reference. UUID. Identifier + A universally unique identifier for the referenced project. + 0..1 + Project Reference + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Project Reference. Issue Date. Date + The date on which the referenced project was issued. + 0..1 + Project Reference + Issue Date + Date + Date. Type + + + + + + + + + ASBIE + Project Reference. Work Phase Reference + A specific phase of work in the referenced project. + 0..n + Project Reference + Work Phase Reference + Work Phase Reference + Work Phase Reference + + + + + + + + + + + ABIE + Promotional Event. Details + Agree can be renamed as PromotionalEvents + Promotional Event + + + + + + + + + BBIE + Promotional Event. Promotional Event Type Code. Code + A code signifying the type of this promotional event. Examples can be: Holiday, Seasonal Event, Store Closing, Trade Item Introduction + 1 + Promotional Event + Promotional Event Type Code + Code + Code. Type + + + + + + + + + BBIE + Promotional Event. Submission. Date + The date on which a proposal for this promotional event was submitted. + 0..1 + Promotional Event + Submission + Date + Date. Type + + + + + + + + + BBIE + Promotional Event. First Shipment Availibility Date. Date + The first day that products will be available to ship from buyer to seller if the proposal for this promotional event is accepted. + 0..1 + Promotional Event + First Shipment Availibility Date + Date + Date. Type + + + + + + + + + BBIE + Promotional Event. Latest_ Proposal Acceptance Date. Date + The deadline for acceptance of this promotional event. + 0..1 + Promotional Event + Latest + Proposal Acceptance Date + Date + Date. Type + + + + + + + + + ASBIE + Promotional Event. Promotional Specification + A specification for a promotional event. + 1..n + Promotional Event + Promotional Specification + Promotional Specification + Promotional Specification + + + + + + + + + + + ABIE + Promotional Event Line Item. Details + A class to describe a line item associated with a promotional event. + Promotional Event Line Item + + + + + + + + + BBIE + Promotional Event Line Item. Amount + The amount associated with this promotional event line item. + 1 + Promotional Event Line Item + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Promotional Event Line Item. Event Line Item + A line item describing the expected impacts associated with this promotional event for a specific product at a specific location. + 1 + Promotional Event Line Item + Event Line Item + Event Line Item + Event Line Item + + + + + + + + + + + ABIE + Promotional Specification. Details + A class to describe a promotional event as a set of item locations that share a set of promotional tactics. + Promotional Specification + + + + + + + + + BBIE + Promotional Specification. Specification Identifier. Identifier + An identifier for this promotional specification. + 0..1 + Promotional Specification + Specification Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Promotional Specification. Promotional Event Line Item + A line item for a promotional event involving a specific product at a specific location; it describes the expected impacts associated with the event and specifies the promotional price of the item." + 1..n + Promotional Specification + Promotional Event Line Item + Promotional Event Line Item + Promotional Event Line Item + + + + + + + + + ASBIE + Promotional Specification. Event Tactic + An event tactic associated with this promotion. + 0..n + Promotional Specification + Event Tactic + Event Tactic + Event Tactic + + + + + + + + + + + ABIE + Qualification Resolution. Details + A class to describe the acceptance or rejection of an economic operator in a tendering process. + Qualification Resolution + + + + + + + + + BBIE + Qualification Resolution. Admission Code. Code + An indicator that the economic operator has been accepted into the tendering process (true) or rejected from the tendering process (false). + 1 + Qualification Resolution + Admission Code + Code + Code. Type + + + + + + + + + BBIE + Qualification Resolution. Exclusion Reason. Text + Text describing a reason for an exclusion from the tendering process. + 0..n + Qualification Resolution + Exclusion Reason + Text + Text. Type + + + + + + + + + BBIE + Qualification Resolution. Resolution. Text + Text describing this qualification resolution. + 0..n + Qualification Resolution + Resolution + Text + Text. Type + + + + + + + + + BBIE + Qualification Resolution. Resolution Date. Date + The date on which this qualification resolution was formalized. + 1 + Qualification Resolution + Resolution Date + Date + Date. Type + + + + + + + + + BBIE + Qualification Resolution. Resolution Time. Time + The time at which this qualification resolution was formalized. + 0..1 + Qualification Resolution + Resolution Time + Time + Time. Type + + + + + + + + + ASBIE + Qualification Resolution. Procurement Project Lot + The Procurement project lot to which this tenderer is accepted or rejected. + 0..1 + Qualification Resolution + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + + + ABIE + Qualifying Party. Details + A class to describe the distinctive features or characteristics qualifying an economic operator to be a party in a tendering process (e.g., number of employees, number of operating units, type of business, technical and financial capabilities, completed projects). + Qualifying Party + + + + + + + + + BBIE + Qualifying Party. Participation. Percent + The extent to which this party is expected to participate in the tendering process, expressed as a percentage. + 0..1 + Qualifying Party + Participation + Percent + Percent. Type + + + + + + + + + BBIE + Qualifying Party. Personal Situation. Text + Text describing the personal situation of the qualifying party. + 0..n + Qualifying Party + Personal Situation + Text + Text. Type + + + + + + + + + BBIE + Qualifying Party. Operating Years. Quantity + The number of years that this qualifying party has been in operation. + 0..1 + Qualifying Party + Operating Years + Quantity + Quantity. Type + + + + + + + + + BBIE + Qualifying Party. Employee. Quantity + The number of people employed by this qualifying party. + 0..1 + Qualifying Party + Employee + Quantity + Quantity. Type + + + + + + + + + BBIE + Qualifying Party. Business Classification Evidence. Identifier + An identifier for an item of evidence to support the classification of this qualifying party. + 0..1 + Qualifying Party + Business Classification Evidence + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualifying Party. Business Identity Evidence. Identifier + An identifier for an item of evidence to support the business identity of this qualifying party. + 0..1 + Qualifying Party + Business Identity Evidence + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualifying Party. Tenderer Role Code. Code + A code stating the Tenderer Role. + 0..1 + Qualifying Party + Tenderer Role Code + Code + Code. Type + + + + + + + + + ASBIE + Qualifying Party. Business_ Classification Scheme. Classification Scheme + The classification scheme used for the business profile. + 0..1 + Qualifying Party + Business + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + ASBIE + Qualifying Party. Technical_ Capability. Capability + A technical capability of this qualifying party. + 0..n + Qualifying Party + Technical + Capability + Capability + Capability + + + + + + + + + ASBIE + Qualifying Party. Financial_ Capability. Capability + A financial capability of this qualifying party. + 0..n + Qualifying Party + Financial + Capability + Capability + Capability + + + + + + + + + ASBIE + Qualifying Party. Completed Task + A former task completed by this qualifying party. + 0..n + Qualifying Party + Completed Task + Completed Task + Completed Task + + + + + + + + + ASBIE + Qualifying Party. Declaration + A declaration by this qualifying party. of certain characteristics or capabilities in fulfilment of requirements specified in a call for tenders. + 0..n + Qualifying Party + Declaration + Declaration + Declaration + + + + + + + + + ASBIE + Qualifying Party. Party + The qualifying party itself. + 0..1 + Qualifying Party + Party + Party + Party + + + + + + + + + ASBIE + Qualifying Party. Economic Operator Role + A class to describe the tenderer contracting role. + 0..1 + Qualifying Party + Economic Operator Role + Economic Operator Role + Economic Operator Role + + + + + + + + + + + ABIE + Quotation Line. Details + A class to define a line in a Quotation. + Quotation Line + + + + + + + + + BBIE + Quotation Line. Identifier + An identifier for this quotation line. + 0..1 + Quotation Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Quotation Line + Note + Text + Text. Type + + + + + + + + + BBIE + Quotation Line. Quantity + The quantity of the item quoted. + 0..1 + Quotation Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Quotation Line. Line Extension Amount. Amount + The total amount for this quotation line, including allowance charges but net of taxes. + 0..1 + Quotation Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Quotation Line. Total_ Tax Amount. Amount + The total tax amount for this quotation line. + 0..1 + Quotation Line + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Quotation Line. Request For Quotation Line Identifier. Identifier + An identifier for the line in the Request for Quotation to which this line is a response. + 0..1 + Quotation Line + Request For Quotation Line Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Quotation Line. Document Reference + A reference to a document associated with this quotation line. + 0..n + Quotation Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation Line. Line Item + The item that is the subject of this quotation line. + 1 + Quotation Line + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Quotation Line. Seller Proposed Substitute_ Line Item. Line Item + An item proposed by the seller as a substitute for the item that is the subject of this quotation line. + 0..n + Quotation Line + Seller Proposed Substitute + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Quotation Line. Alternative_ Line Item. Line Item + An item proposed by the seller as an alternative to the item that is the subject of this quotation line. + 0..n + Quotation Line + Alternative + Line Item + Line Item + Line Item + + + + + + + + + ASBIE + Quotation Line. Request_ Line Reference. Line Reference + A reference to the line in the Request for Quotation to which this line is a response. + 0..1 + Quotation Line + Request + Line Reference + Line Reference + Line Reference + + + + + + + + + + + ABIE + Rail Transport. Details + A class defining details about a train wagon used as a means of transport. + Rail Transport + + + + + + + + + BBIE + Rail Transport. Train Identifier. Identifier + An identifier for the train used as the means of transport. + 1 + Rail Transport + Train Identifier + Identifier + Identifier. Type + Train Number (WCO ID 167) + + + + + + + + + BBIE + Rail Transport. Rail Car Identifier. Identifier + An identifier for the rail car on the train used as the means of transport. + 0..1 + Rail Transport + Rail Car Identifier + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Receipt Line. Details + A class to define a line in a Receipt Advice. + Receipt Line + + + + + + + + + BBIE + Receipt Line. Identifier + An identifier for this receipt line. + 1 + Receipt Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Line. UUID. Identifier + A universally unique identifier for this receipt line. + 0..1 + Receipt Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Receipt Line + Note + Text + Text. Type + + + + + + + + + BBIE + Receipt Line. Received_ Quantity. Quantity + The quantity received. + 0..1 + Receipt Line + Received + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Short_ Quantity. Quantity + The quantity received short; the difference between the quantity reported despatched and the quantity actually received. + 0..1 + Receipt Line + Short + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Shortage Action Code. Code + A code signifying the action that the delivery party wishes the despatch party to take as the result of a shortage. + 0..1 + Receipt Line + Shortage Action Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Rejected_ Quantity. Quantity + The quantity rejected. + 0..1 + Receipt Line + Rejected + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Reject Reason Code. Code + The reason for a rejection, expressed as a code. + 0..1 + Receipt Line + Reject Reason Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Reject_ Reason. Text + The reason for a rejection, expressed as text. + 0..n + Receipt Line + Reject + Reason + Text + Text. Type + + + + + + + + + BBIE + Receipt Line. Reject Action Code. Code + A code signifying the action that the delivery party wishes the despatch party to take as the result of a rejection. + 0..1 + Receipt Line + Reject Action Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Quantity Discrepancy Code. Code + A code signifying the type of a discrepancy in quantity. + 0..1 + Receipt Line + Quantity Discrepancy Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Oversupply_ Quantity. Quantity + The quantity over-supplied, i.e., the quantity over and above the quantity ordered. + 0..1 + Receipt Line + Oversupply + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Receipt Line. Received_ Date. Date + The date on which the goods or services were received. + 0..1 + Receipt Line + Received + Date + Date + Date. Type + + + + + + + + + BBIE + Receipt Line. Timing Complaint Code. Code + A complaint about the timing of delivery, expressed as a code. + 0..1 + Receipt Line + Timing Complaint Code + Code + Code. Type + + + + + + + + + BBIE + Receipt Line. Timing Complaint. Text + A complaint about the timing of delivery, expressed as text. + 0..1 + Receipt Line + Timing Complaint + Text + Text. Type + + + + + + + + + ASBIE + Receipt Line. Order Line Reference + A reference to the order line associated with this receipt line. + 0..1 + Receipt Line + Order Line Reference + Order Line Reference + Order Line Reference + + + + + + + + + ASBIE + Receipt Line. Despatch_ Line Reference. Line Reference + A reference to a despatch line associated with this receipt line. + 0..n + Receipt Line + Despatch + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Receipt Line. Document Reference + A reference to a document associated with this receipt line. + 0..n + Receipt Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Line. Item + An item associated with this receipt line. + 0..n + Receipt Line + Item + Item + Item + + + + + + + + + ASBIE + Receipt Line. Shipment + A shipment associated with this receipt line. + 0..n + Receipt Line + Shipment + Shipment + Shipment + + + + + + + + + + + ABIE + Regulation. Details + A class to describe a regulation. + Regulation + Points to regulation at atomic level + + + + + + + + + BBIE + Regulation. Name + A name for this regulation. + 1 + Regulation + Name + Name + Name. Type + + + + + + + + + BBIE + Regulation. Legal Reference. Text + Text describing a legal reference. + 0..1 + Regulation + Legal Reference + Text + Text. Type + Art. 45 2 b + + + + + + + + + BBIE + Regulation. Ontology URI. Identifier + The Uniform Resource Identifier (URI) of an ontology related to this regulation. + 0..1 + Regulation + Ontology URI + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Related Item. Details + A class to describe the relationship to an item different from the item associated with the item line in which RelatedItem is used. + Related Item + + + + + + + + + BBIE + Related Item. Identifier + An identifier for the related item. + 0..1 + Related Item + Identifier + Identifier + Identifier. Type + First , Second + + + + + + + + + BBIE + Related Item. Quantity + The quantity that applies to the relationship. + 0..1 + Related Item + Quantity + Quantity + Quantity. Type + 6 , 10mg per Kilo + + + + + + + + + BBIE + Related Item. Description. Text + Text describing the relationship. + 0..n + Related Item + Description + Text + Text. Type + If used in wet conditions or extreme environments + + + + + + + + + + + ABIE + Reminder Line. Details + A class to define a line in a Reminder document. + Reminder Line + + + + + + + + + BBIE + Reminder Line. Identifier + An identifier for this reminder line. + 1 + Reminder Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Reminder Line + Note + Text + Text. Type + + + + + + + + + BBIE + Reminder Line. UUID. Identifier + A universally unique identifier for this reminder line. + 0..1 + Reminder Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder Line. Balance Brought Forward_ Indicator. Indicator + An indication that this reminder line contains a balance brought forward (true) or does not (false). + 0..1 + Reminder Line + Balance Brought Forward + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Reminder Line. Debit_ Line Amount. Amount + The amount debited on this reminder line. + 0..1 + Reminder Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Credit_ Line Amount. Amount + The amount credited on this reminder line. + 0..1 + Reminder Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Accounting Cost Code. Code + The buyer's accounting cost centre for this reminder line, expressed as a code. + 0..1 + Reminder Line + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Reminder Line. Accounting Cost. Text + The buyer's accounting cost centre for this reminder line, expressed as text. + 0..1 + Reminder Line + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Reminder Line. Penalty_ Surcharge Percent. Percent + The penalty for late payment, expressed as a percentage. + 0..1 + Reminder Line + Penalty + Surcharge Percent + Percent + Percent. Type + + + + + + + + + BBIE + Reminder Line. Amount + The amount on this reminder line. + 0..1 + Reminder Line + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Reminder Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Reminder Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Reminder Line. Reminder_ Period. Period + A period to which this reminder line applies. + 0..n + Reminder Line + Reminder + Period + Period + Period + + + + + + + + + ASBIE + Reminder Line. Billing Reference + A reference to a billing document associated with this reminder line. + 0..n + Reminder Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Reminder Line. Exchange Rate + The rate of exchange between the currency of the Reminder and the currency of the document described in the BillingReference. + 0..1 + Reminder Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Remittance Advice Line. Details + A class to define a line in a Remittance Advice. + Remittance Advice Line + + + + + + + + + BBIE + Remittance Advice Line. Identifier + An identifier for this remittance advice line. + 1 + Remittance Advice Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Remittance Advice Line + Note + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice Line. UUID. Identifier + A universally unique identifier for this remittance advice line. + 0..1 + Remittance Advice Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice Line. Debit_ Line Amount. Amount + The amount debited on this remittance advice line. + 0..1 + Remittance Advice Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Credit_ Line Amount. Amount + The amount credited on this remittance advice line. + 0..1 + Remittance Advice Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Balance Amount. Amount + The monetary balance associated with this remittance advice line. + 0..1 + Remittance Advice Line + Balance Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Remittance Advice Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Remittance Advice Line. Invoicing Party_ Reference. Text + A reference to the order for payment used by the invoicing party. This may have been requested of the payer by the payee to accompany its remittance. + 0..1 + Remittance Advice Line + Invoicing Party + Reference + Text + Text. Type + + + + + + + + + ASBIE + Remittance Advice Line. Accounting_ Supplier Party. Supplier Party + The Accounting Supplier Party related to the remittance information reported on this Remittance Advice Line. + 0..1 + Remittance Advice Line + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice Line. Accounting_ Customer Party. Customer Party + The Accounting Customer Party related to the remittance information reported on this Remittance Advice Line. + 0..1 + Remittance Advice Line + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Buyer_ Customer Party. Customer Party + The buyer associated with this remittance advice line. + 0..1 + Remittance Advice Line + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Seller_ Supplier Party. Supplier Party + The seller/supplier associated with this remittance advice line. + 0..1 + Remittance Advice Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice Line. Originator_ Customer Party. Customer Party + The originating party. + 0..1 + Remittance Advice Line + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice Line. Payee_ Party. Party + The payee. + 0..1 + Remittance Advice Line + Payee + Party + Party + Party + + + + + + + + + ASBIE + Remittance Advice Line. Invoice_ Period. Period + An invoice period to which this remittance advice line applies. + 0..n + Remittance Advice Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Remittance Advice Line. Billing Reference + A reference to a billing document associated with this remittance advice line. + 0..n + Remittance Advice Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Remittance Advice Line. Document Reference + A reference to a document associated with this remittance advice line. + 0..n + Remittance Advice Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Remittance Advice Line. Exchange Rate + The rate of exchange between the currency of the Remittance Advice and the currency of the document described in the BillingReference. + 0..1 + Remittance Advice Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + + + ABIE + Renewal. Details + A class to describe the renewal of a commercial arrangement, such as a contract or licence fee. + Renewal + + + + + + + + + BBIE + Renewal. Amount + The monetary amount of this renewal. + 0..1 + Renewal + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Renewal. Period + The period for which the arrangement is now valid + 0..1 + Renewal + Period + Period + Period + + + + + + + + + + + ABIE + Request For Quotation Line. Details + A class to define a line in a Request for Quotation. + Request For Quotation Line + + + + + + + + + BBIE + Request For Quotation Line. Identifier + An identifier for this line in the request for quotation. + 0..1 + Request For Quotation Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation Line. UUID. Identifier + A universally unique identifier for this line in the request for quotation. + 0..1 + Request For Quotation Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Request For Quotation Line + Note + Text + Text. Type + + + + + + + + + BBIE + Request For Quotation Line. Optional_ Line Item Indicator. Indicator + An indication whether this line is optional (true) or not (false) for purposes of this request for quotation. + 0..1 + Request For Quotation Line + Optional + Line Item Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Request For Quotation Line. Privacy Code. Code + A code signifying the level of confidentiality of this request for quotation line. + 0..1 + Request For Quotation Line + Privacy Code + Code + Code. Type + + + + + + + + + BBIE + Request For Quotation Line. Security Classification Code. Code + A code signifying the security classification of this request for quotation line. + 0..1 + Request For Quotation Line + Security Classification Code + Code + Code. Type + + + + + + + + + ASBIE + Request For Quotation Line. Document Reference + A document associated with this request for quotation line. + 0..n + Request For Quotation Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation Line. Line Item + A description of the item for which a quotation is requested. + 1 + Request For Quotation Line + Line Item + Line Item + Line Item + + + + + + + + + + + ABIE + Request For Tender Line. Details + A class to define a line in a Request for Tender describing an item of goods or a service solicited in the Request for Tender. + Request For Tender Line + + + + + + + + + BBIE + Request For Tender Line. Identifier + An identifier for this request for tender line. + 0..1 + Request For Tender Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Tender Line. UUID. Identifier + A universally unique identifier for this request for tender line. + 0..1 + Request For Tender Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Tender Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Request For Tender Line + Note + Text + Text. Type + + + + + + + + + BBIE + Request For Tender Line. Quantity + The quantity of the item for which a tender is requested in this line. + 0..1 + Request For Tender Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Request For Tender Line. Minimum_ Quantity. Quantity + The minimum quantity of the item associated with this request for tender line. + 0..1 + Request For Tender Line + Minimum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Request For Tender Line. Maximum_ Quantity. Quantity + The maximum quantity of the item associated with this request for tender line. + 0..1 + Request For Tender Line + Maximum + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Request For Tender Line. Tax Included_ Indicator. Indicator + Indicates whether the amounts are taxes included (true) or not (false). + 0..1 + Request For Tender Line + Tax Included + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Request For Tender Line. Minimum_ Amount. Amount + The minimum amount allowed for this deliverable. + 0..1 + Request For Tender Line + Minimum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Request For Tender Line. Maximum_ Amount. Amount + The maximum amount allowed for this deliverable. + 0..1 + Request For Tender Line + Maximum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Request For Tender Line. Estimated_ Amount. Amount + The estimated total amount of the deliverable. + 0..1 + Request For Tender Line + Estimated + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Request For Tender Line. Document Reference + A reference to a document associated with this request for tender line. + 0..n + Request For Tender Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Tender Line. Delivery_ Period. Period + An applicable period for the deliverable or set of deliverables in this tendering process. + 0..n + Request For Tender Line + Delivery + Period + Period + Period + + + + + + + + + ASBIE + Request For Tender Line. Required_ Item Location Quantity. Item Location Quantity + Properties of the item specified in this request for tender line that are dependent on location and quantity. + 0..n + Request For Tender Line + Required + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Request For Tender Line. Warranty Validity_ Period. Period + The period during which a warranty to be associated with this request for tender line must apply. + 0..1 + Request For Tender Line + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Request For Tender Line. Item + An item for which a tender is requested. + 1 + Request For Tender Line + Item + Item + Item + + + + + + + + + ASBIE + Request For Tender Line. Sub_ Request For Tender Line. Request For Tender Line + A subsidiary request for tender line. + 0..n + Request For Tender Line + Sub + Request For Tender Line + Request For Tender Line + Request For Tender Line + + + + + + + + + + + ABIE + Requested Tender Total. Details + A class defining budgeted monetary amounts. + Requested Tender Total + + + + + + + + + BBIE + Requested Tender Total. Estimated_ Overall Contract. Amount + The estimated overall monetary amount of a contract. + 0..1 + Requested Tender Total + Estimated + Overall Contract + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Total_ Amount. Amount + The monetary amount of the total budget including net amount, taxes, and material and instalment costs. + 0..1 + Requested Tender Total + Total + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Tax Included_ Indicator. Indicator + Indicates whether the amounts are taxes included (true) or not (false). + 0..1 + Requested Tender Total + Tax Included + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Requested Tender Total. Minimum_ Amount. Amount + The minimum monetary amount of the budget. + 0..1 + Requested Tender Total + Minimum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Maximum_ Amount. Amount + The maximum monetary amount of the budget. + 0..1 + Requested Tender Total + Maximum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Requested Tender Total. Monetary Scope. Text + A description of the monetary scope of the budget. + 0..n + Requested Tender Total + Monetary Scope + Text + Text. Type + + + + + + + + + BBIE + Requested Tender Total. Average_ Subsequent Contract. Amount + The average monetary amount for the subsequent contracts following this budget amount. + 0..1 + Requested Tender Total + Average + Subsequent Contract + Amount + Amount. Type + + + + + + + + + ASBIE + Requested Tender Total. Applicable_ Tax Category. Tax Category + Describes the categories of taxes that apply to the budget amount. + 0..n + Requested Tender Total + Applicable + Tax Category + Tax Category + Tax Category + + + + + + + + + + + ABIE + Response. Details + A class to describe an application-level response to a document. + Response + + + + + + + + + BBIE + Response. Reference. Identifier + An identifier for the section (or line) of the document to which this response applies. + 0..1 + Response + Reference + Identifier + Identifier. Type + + + + + + + + + BBIE + Response. Response Code. Code + A code signifying the type of response. + 0..1 + Response + Response Code + Code + Code. Type + + + + + + + + + BBIE + Response. Description. Text + Text describing this response. + 0..n + Response + Description + Text + Text. Type + + + + + + + + + BBIE + Response. Effective Date. Date + The date upon which this response is valid. + 0..1 + Response + Effective Date + Date + Date. Type + + + + + + + + + BBIE + Response. Effective Time. Time + The time at which this response is valid. + 0..1 + Response + Effective Time + Time + Time. Type + + + + + + + + + ASBIE + Response. Status + A status report associated with this response. + 0..n + Response + Status + Status + Status + + + + + + + + + + + ABIE + Response Value. Details + A class to describe the criterion requirement response value. + Response Value + + + + + + + + + BBIE + Response Value. Identifier + An identifier to refer to the criterion requirement response value. + 0..1 + Response Value + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Response Value. Description. Text + A description of the response value to the criterion requirement. + 0..n + Response Value + Description + Text + Text. Type + + + + + + + + + BBIE + Response Value. Response Text. Text + A text or name used as a reply to the criterion requirement. + 0..n + Response Value + Response Text + Text + Text. Type + + + + + + + + + BBIE + Response Value. Response Amount. Amount + An amount used as a reply to the criterion requirement. + 0..1 + Response Value + Response Amount + Amount + Amount. Type + + + + + + + + + BBIE + Response Value. Response Binary Object. Binary Object + A binary graphic, picture, sound or video object used as a reply to the criterion requirement. + 0..1 + Response Value + Response Binary Object + Binary Object + Binary Object. Type + + + + + + + + + BBIE + Response Value. Response Code. Code + A code used as a reply to the criterion requirement. + 0..1 + Response Value + Response Code + Code + Code. Type + + + + + + + + + BBIE + Response Value. Response Date. Date + A date used as a reply to the criterion requirement. + 0..1 + Response Value + Response Date + Date + Date. Type + + + + + + + + + BBIE + Response Value. Response Identifier. Identifier + An identifier used as a reply to the criterion requirement. + 0..1 + Response Value + Response Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Response Value. Response Indicator. Indicator + An indicator used as a reply to the criterion requirement. + 0..1 + Response Value + Response Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Response Value. Response Measure. Measure + A measure used as a reply to the criterion requirement. + 0..1 + Response Value + Response Measure + Measure + Measure. Type + + + + + + + + + BBIE + Response Value. Response Numeric. Numeric + A number, rate or percent used as a reply to the criterion requirement. + 0..1 + Response Value + Response Numeric + Numeric + Numeric. Type + + + + + + + + + BBIE + Response Value. Response Quantity. Quantity + A quantity used as a reply to the criterion requirement. + 0..1 + Response Value + Response Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Response Value. Response Time. Time + A time used as a reply to the criterion requirement. + 0..1 + Response Value + Response Time + Time + Time. Type + + + + + + + + + BBIE + Response Value. Response URI. Identifier + A URI value used as a reply to the criterion requirement. + 0..1 + Response Value + Response URI + Identifier + Identifier. Type + + + + + + + + + + + ABIE + Result Of Verification. Details + A class to describe the result of an attempt to verify a signature. + Result Of Verification + + + + + + + + + BBIE + Result Of Verification. Validator. Identifier + An identifier for the organization, person, service, or server that verified the signature. + 0..1 + Result Of Verification + Validator + Identifier + Identifier. Type + + + + + + + + + BBIE + Result Of Verification. Validation_ Result Code. Code + A code signifying the result of the verification. + 0..1 + Result Of Verification + Validation + Result Code + Code + Code. Type + + + + + + + + + BBIE + Result Of Verification. Validation Date. Date + The date upon which verification took place. + 0..1 + Result Of Verification + Validation Date + Date + Date. Type + + + + + + + + + BBIE + Result Of Verification. Validation Time. Time + The time at which verification took place. + 0..1 + Result Of Verification + Validation Time + Time + Time. Type + + + + + + + + + BBIE + Result Of Verification. Validate_ Process. Text + The verification process. + 0..1 + Result Of Verification + Validate + Process + Text + Text. Type + + + + + + + + + BBIE + Result Of Verification. Validate_ Tool. Text + The tool used to verify the signature. + 0..1 + Result Of Verification + Validate + Tool + Text + Text. Type + + + + + + + + + BBIE + Result Of Verification. Validate_ Tool Version. Text + The version of the tool used to verify the signature. + 0..1 + Result Of Verification + Validate + Tool Version + Text + Text. Type + + + + + + + + + ASBIE + Result Of Verification. Signatory_ Party. Party + The signing party. + 0..1 + Result Of Verification + Signatory + Party + Party + Party + + + + + + + + + + + ABIE + Retail Planned Impact. Details + A class to describe a planned effect of a retail event (e.g., a promotion or a change in inventory policy) upon supply or demand. + Retail Planned Impact + + + + + + + + + BBIE + Retail Planned Impact. Amount + Estimated monetary value of the planned event as an impact + 1 + Retail Planned Impact + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Retail Planned Impact. Forecast_ Purpose Code. Code + It will have impact on either Sales forecast or Order Forecast + 1 + Retail Planned Impact + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + BBIE + Retail Planned Impact. Forecast Type Code. Code + A code signifying the type of forecast. Examples of values are: BASE PROMOTIONAL SEASONAL TOTAL + 1 + Retail Planned Impact + Forecast Type Code + Code + Code. Type + + + + + + + + + ASBIE + Retail Planned Impact. Period + The period to which this impact applies. + 0..1 + Retail Planned Impact + Period + Period + Period + + + + + + + + + + + ABIE + Road Transport. Details + A class for identifying a vehicle used for road transport. + Road Transport + + + + + + + + + BBIE + Road Transport. License Plate Identifier. Identifier + The license plate identifier of this vehicle. + 1 + Road Transport + License Plate Identifier + Identifier + Identifier. Type + Vehicle registration number (WCO ID 167) + + + + + + + + + + + ABIE + Sales Item. Details + A class to describe information related to an item in a sales context + Sales Item + + + + + + + + + BBIE + Sales Item. Quantity + The quantity the given information are related to + 1 + Sales Item + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Sales Item. Activity Property + A class to describe the activity (for example "sales", "movement", ...) related to the item. + 0..n + Sales Item + Activity Property + Activity Property + Activity Property + + + + + + + + + ASBIE + Sales Item. Tax Exclusive_ Price. Price + A price for this sales item, exclusive of tax. + 0..n + Sales Item + Tax Exclusive + Price + Price + Price + + + + + + + + + ASBIE + Sales Item. Tax Inclusive_ Price. Price + A price for this sales item, including tax. + 0..n + Sales Item + Tax Inclusive + Price + Price + Price + + + + + + + + + ASBIE + Sales Item. Item + The sales item itself. + 1 + Sales Item + Item + Item + Item + + + + + + + + + + + ABIE + Secondary Hazard. Details + A class to describe a secondary hazard associated with a hazardous item. + Secondary Hazard + + + + + + + + + BBIE + Secondary Hazard. Identifier + An identifier for this secondary hazard. + 0..1 + Secondary Hazard + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Secondary Hazard. Placard Notation. Text + Text of the placard notation corresponding to the hazard class of this secondary hazard. Can also be the hazard identification number of the orange placard (upper part) required on the means of transport. + 0..1 + Secondary Hazard + Placard Notation + Text + Text. Type + 5.1 + + + + + + + + + BBIE + Secondary Hazard. Placard Endorsement. Text + Text of the placard endorsement for this secondary hazard that is to be shown on the shipping papers for a hazardous item. Can also be used for the number of the orange placard (lower part) required on the means of transport. + 0..1 + Secondary Hazard + Placard Endorsement + Text + Text. Type + 2 + + + + + + + + + BBIE + Secondary Hazard. Emergency Procedures Code. Code + A code signifying the emergency procedures for this secondary hazard. + 0..1 + Secondary Hazard + Emergency Procedures Code + Code + Code. Type + EMG code, EMS Page Number + + + + + + + + + BBIE + Secondary Hazard. Extension. Text + Additional information about the hazardous substance, which can be used (for example) to specify the type of regulatory requirements that apply to this secondary hazard. + 0..n + Secondary Hazard + Extension + Text + Text. Type + N.O.S. or a Waste Characteristics Code in conjunction with an EPA Waste Stream code + + + + + + + + + + + ABIE + Service Frequency. Details + A class to specify which day of the week a transport service is operational. + Service Frequency + + + + + + + + + BBIE + Service Frequency. Week Day. Code + A day of the week, expressed as code. + 1 + Service Frequency + Week Day + Code + Week Day + Week Day_ Code. Type + + + + + + + + + + + ABIE + Service Level Agreement. Details + A class to describe a service level agreement which regulates the quality, availability and responsibilities of digital services. + Service Level Agreement + SLA + + + + + + + + + BBIE + Service Level Agreement. Identifier + An identifier for this service level agreement. + 0..1 + Service Level Agreement + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Service Level Agreement. Service Type Code. Code + A specific type of service subject to this service level agreement. + 0..1 + Service Level Agreement + Service Type Code + Code + Code. Type + AP, SMP + + + + + + + + + BBIE + Service Level Agreement. Service Type. Text + A specific type of service subject to this service level agreement, expressed as text. + 0..n + Service Level Agreement + Service Type + Text + Text. Type + + + + + + + + + BBIE + Service Level Agreement. Availability_ Time Percent. Percent + The availability percentage (e.g. 98.5% of the time). + 0..1 + Service Level Agreement + Availability + Time Percent + Percent + Percent. Type + Time Service Factor + 98.5 + + + + + + + + + BBIE + Service Level Agreement. Monday Availability_ Indicator. Indicator + Indicates whether this service is available on monday (true) or not (false). + 0..1 + Service Level Agreement + Monday Availability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Service Level Agreement. Tuesday Availability_ Indicator. Indicator + Indicates whether this service is available on tuesday (true) or not (false). + 0..1 + Service Level Agreement + Tuesday Availability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Service Level Agreement. Wednesday Availability_ Indicator. Indicator + Indicates whether this service is available on wednesday (true) or not (false). + 0..1 + Service Level Agreement + Wednesday Availability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Service Level Agreement. Thursday Availability_ Indicator. Indicator + Indicates whether this service is available on thursday (true) or not (false). + 0..1 + Service Level Agreement + Thursday Availability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Service Level Agreement. Friday Availability_ Indicator. Indicator + Indicates whether this service is available on friday (true) or not (false). + 0..1 + Service Level Agreement + Friday Availability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Service Level Agreement. Saturday Availability_ Indicator. Indicator + Indicates whether this service is available on saturday (true) or not (false). + 0..1 + Service Level Agreement + Saturday Availability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Service Level Agreement. Sunday Availability_ Indicator. Indicator + Indicates whether this service is available on sunday (true) or not (false). + 0..1 + Service Level Agreement + Sunday Availability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Service Level Agreement. Minimum_ Response Time Duration. Measure + The response time for aknowledgment (e.g. to send a receipt to a sending Access Point within 300 seconds). + 0..1 + Service Level Agreement + Minimum + Response Time Duration + Measure + Measure. Type + 300 + + + + + + + + + BBIE + Service Level Agreement. Minimum_ Down Time Schedule Duration. Measure + The minimum down time schedule for programmed maintenance (e.g. scheduled 3 days before). + 0..1 + Service Level Agreement + Minimum + Down Time Schedule Duration + Measure + Measure. Type + 3 + + + + + + + + + BBIE + Service Level Agreement. Maximum_ Incident Notification Duration. Measure + The maximum length of time between the occurrence of an incident and the issuance of a notification (e.g. within 4 hours). + 0..1 + Service Level Agreement + Maximum + Incident Notification Duration + Measure + Measure. Type + 4 + + + + + + + + + BBIE + Service Level Agreement. Maximum_ Data Loss Duration. Measure + The maximum data loss permitted (e.g. last 24 hours). + 0..1 + Service Level Agreement + Maximum + Data Loss Duration + Measure + Measure. Type + 24 + + + + + + + + + BBIE + Service Level Agreement. Mean_ Time To Recover Duration. Measure + The time taken to recover after an outage of service (e.g. 3 hours). + 0..1 + Service Level Agreement + Mean + Time To Recover Duration + Measure + Measure. Type + MTTR + 3 + + + + + + + + + ASBIE + Service Level Agreement. Service Availability_ Period. Period + The period for which the service is available. + 0..n + Service Level Agreement + Service Availability + Period + Period + Period + Uptime + + + + + + + + + ASBIE + Service Level Agreement. Service Maintenance_ Period. Period + The period of time designated in advance by the technical staff, during which preventive maintenance that could cause disruption of service may be performed. + 0..n + Service Level Agreement + Service Maintenance + Period + Period + Period + Downtime + + + + + + + + + + + ABIE + Service Provider Party. Details + A class to describe a party contracting to provide services, such as transportation, finance, etc. + Service Provider Party + + + + + + + + + BBIE + Service Provider Party. Identifier + An identifier for this service provider. + 0..1 + Service Provider Party + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Service Provider Party. Service Type Code. Code + The type of service provided, expressed as a code. + 0..1 + Service Provider Party + Service Type Code + Code + Code. Type + + + + + + + + + BBIE + Service Provider Party. Service Type. Text + The type of service provided, expressed as text. + 0..n + Service Provider Party + Service Type + Text + Text. Type + + + + + + + + + ASBIE + Service Provider Party. Party + The party providing the service. + 1 + Service Provider Party + Party + Party + Party + + + + + + + + + ASBIE + Service Provider Party. Seller_ Contact. Contact + The contact for the service provider. + 0..1 + Service Provider Party + Seller + Contact + Contact + Contact + + + + + + + + + + + ABIE + Shareholder Party. Details + A class to describe a shareholder party. + Shareholder Party + + + + + + + + + BBIE + Shareholder Party. Partecipation. Percent + The shareholder participation, expressed as a percentage. + 0..1 + Shareholder Party + Partecipation + Percent + Percent. Type + + + + + + + + + ASBIE + Shareholder Party. Party + The shareholder party. + 0..1 + Shareholder Party + Party + Party + Party + + + + + + + + + + + ABIE + Shipment. Details + A class defining an identifiable collection of one or more goods items to be transported between the seller party and the buyer party. This information may be defined within a commercial contract. A shipment can be transported in different consignments (e.g., split for logistical purposes). + Shipment + + + + + + + + + BBIE + Shipment. Identifier + An identifier for this shipment. + 1 + Shipment + Identifier + Identifier + Identifier. Type + Waybill Number + + + + + + + + + BBIE + Shipment. Shipping Priority Level Code. Code + A code signifying the priority or level of service required for this shipment. + 0..1 + Shipment + Shipping Priority Level Code + Code + Code. Type + Service Level, Service Priority + + + + + + + + + BBIE + Shipment. Handling Code. Code + The handling required for this shipment, expressed as a code. + 0..1 + Shipment + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Shipment. Handling_ Instructions. Text + The handling required for this shipment, expressed as text. + 0..n + Shipment + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Information. Text + Free-form text pertinent to this shipment, conveying information that is not contained explicitly in other structures. + 0..n + Shipment + Information + Text + Text. Type + + + + + + + + + BBIE + Shipment. Gross_ Weight. Measure + The total gross weight of a shipment; the weight of the goods plus packaging plus transport equipment. + 0..1 + Shipment + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net_ Weight. Measure + The net weight of this shipment, excluding packaging. + 0..1 + Shipment + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net Net_ Weight. Measure + The total net weight of this shipment, excluding packaging and transport equipment. + 0..1 + Shipment + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Gross_ Volume. Measure + The total volume of the goods in this shipment, including packaging. + 0..1 + Shipment + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Net_ Volume. Measure + The total volume of the goods in this shipment, excluding packaging and transport equipment. + 0..1 + Shipment + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Shipment. Total_ Goods Item Quantity. Quantity + The total number of goods items in this shipment. + 0..1 + Shipment + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Shipment. Total_ Transport Handling Unit Quantity. Quantity + The number of pieces of transport handling equipment (pallets, boxes, cases, etc.) in this shipment. + 0..1 + Shipment + Total + Transport Handling Unit Quantity + Quantity + Quantity. Type + Number of THUs + + + + + + + + + BBIE + Shipment. Insurance_ Value. Amount + The amount covered by insurance for this shipment. + 0..1 + Shipment + Insurance + Value + Amount + Amount. Type + Value Insured + + + + + + + + + BBIE + Shipment. Declared Customs_ Value. Amount + The total declared value for customs purposes of those goods in this shipment that are subject to the same customs procedure and have the same tariff/statistical heading, country information, and duty regime. + 0..1 + Shipment + Declared Customs + Value + Amount + Amount. Type + + + + + + + + + BBIE + Shipment. Declared For Carriage_ Value. Amount + The value of this shipment, declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage, in case of loss or damage to goods or delayed delivery. + 0..1 + Shipment + Declared For Carriage + Value + Amount + Amount. Type + Declared value for carriage, Interest in delivery + + + + + + + + + BBIE + Shipment. Declared Statistics_ Value. Amount + The value, declared for statistical purposes, of those goods in this shipment that have the same statistical heading. + 0..1 + Shipment + Declared Statistics + Value + Amount + Amount. Type + Statistical Value + + + + + + + + + BBIE + Shipment. Free On Board_ Value. Amount + The monetary amount that has to be or has been paid as calculated under the applicable trade delivery. + 0..1 + Shipment + Free On Board + Value + Amount + Amount. Type + FOB Value + + + + + + + + + BBIE + Shipment. Special_ Instructions. Text + Special instructions relating to this shipment. + 0..n + Shipment + Special + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Delivery_ Instructions. Text + Delivery instructions relating to this shipment. + 0..n + Shipment + Delivery + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment. Split Consignment_ Indicator. Indicator + An indicator that the consignment has been split in transit (true) or not (false). + 0..1 + Shipment + Split Consignment + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Shipment. Consignment_ Quantity. Quantity + The total number of consignments within this shipment. + 0..1 + Shipment + Consignment + Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Shipment. Consignment + A consignment covering this shipment. + 0..n + Shipment + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Shipment. Goods Item + A goods item included in this shipment. + 0..n + Shipment + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Shipment. Shipment Stage + A stage in the transport movement of this shipment. + 0..n + Shipment + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Shipment. Delivery + The delivery of this shipment. + 0..1 + Shipment + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Shipment. Transport Handling Unit + A transport handling unit associated with this shipment. + 0..n + Shipment + Transport Handling Unit + Transport Handling Unit + Transport Handling Unit + + + + + + + + + ASBIE + Shipment. Return_ Address. Address + The address to which a shipment should be returned. + 0..1 + Shipment + Return + Address + Address + Address + + + + + + + + + ASBIE + Shipment. Origin_ Address. Address + The region in which the goods have been produced or manufactured, according to criteria laid down for the purposes of application of the customs tariff, or of quantitative restrictions, or of any other measure related to trade. + 0..1 + Shipment + Origin + Address + Address + Address + + + + + + + + + ASBIE + Shipment. First Arrival Port_ Location. Location + The first arrival location of a shipment. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Shipment + First Arrival Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment. Last Exit Port_ Location. Location + The final exporting location for a shipment. This would be a port for sea, an airport for air, a terminal for rail, or a border post for land crossing. + 0..1 + Shipment + Last Exit Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment. Export_ Country. Country + The country from which the goods were originally exported, without any commercial transaction taking place in intermediate countries. + 0..1 + Shipment + Export + Country + Country + Country + Country of exportation (WCO ID 062) + + + + + + + + + ASBIE + Shipment. Freight_ Allowance Charge. Allowance Charge + A cost incurred by the shipper in moving goods, by whatever means, from one place to another under the terms of the contract of carriage. In addition to transport costs, this may include such elements as packing, documentation, loading, unloading, and insurance to the extent that they relate to the freight costs. + 0..n + Shipment + Freight + Allowance Charge + Allowance Charge + Allowance Charge + Freight Costs + + + + + + + + + + + ABIE + Shipment Stage. Details + A class to describe one stage of movement in a transport of goods. + Shipment Stage + + + + + + + + + BBIE + Shipment Stage. Identifier + An identifier for this shipment stage. + 0..1 + Shipment Stage + Identifier + Identifier + Identifier. Type + 1 , 2 , etc.. + + + + + + + + + BBIE + Shipment Stage. Transport Mode Code. Code + A code signifying the method of transport used for this shipment stage. + 0..1 + Shipment Stage + Transport Mode Code + Code + Transport Mode + Transport Mode_ Code. Type + + + + + + + + + BBIE + Shipment Stage. Transport Means Type Code. Code + A code signifying the kind of transport means (truck, vessel, etc.) used for this shipment stage. + 0..1 + Shipment Stage + Transport Means Type Code + Code + Code. Type + + + + + + + + + BBIE + Shipment Stage. Transit_ Direction Code. Code + A code signifying the direction of transit in this shipment stage. + 0..1 + Shipment Stage + Transit + Direction Code + Code + Code. Type + + + + + + + + + BBIE + Shipment Stage. Pre Carriage_ Indicator. Indicator + An indicator that this stage takes place before the main carriage of the shipment (true) or not (false). + 0..1 + Shipment Stage + Pre Carriage + Indicator + Indicator + Indicator. Type + Truck delivery to wharf + + + + + + + + + BBIE + Shipment Stage. On Carriage_ Indicator. Indicator + An indicator that this stage takes place after the main carriage of the shipment (true) or not (false). + 0..1 + Shipment Stage + On Carriage + Indicator + Indicator + Indicator. Type + Truck delivery from wharf + + + + + + + + + BBIE + Shipment Stage. Estimated_ Delivery Date. Date + The estimated date of delivery in this shipment stage. + 0..1 + Shipment Stage + Estimated + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Shipment Stage. Estimated_ Delivery Time. Time + The estimated time of delivery in this shipment stage. + 0..1 + Shipment Stage + Estimated + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Shipment Stage. Required_ Delivery Date. Date + The delivery date required by the buyer in this shipment stage. + 0..1 + Shipment Stage + Required + Delivery Date + Date + Date. Type + + + + + + + + + BBIE + Shipment Stage. Required_ Delivery Time. Time + The delivery time required by the buyer in this shipment stage. + 0..1 + Shipment Stage + Required + Delivery Time + Time + Time. Type + + + + + + + + + BBIE + Shipment Stage. Loading_ Sequence Identifier. Identifier + An identifier for the loading sequence (of consignments) associated with this shipment stage. + 0..1 + Shipment Stage + Loading + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Shipment Stage. Successive_ Sequence Identifier. Identifier + Identifies the successive loading sequence (of consignments) associated with a shipment stage. + 0..1 + Shipment Stage + Successive + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Shipment Stage. Instructions. Text + Text of instructions applicable to a shipment stage. + 0..n + Shipment Stage + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment Stage. Demurrage_ Instructions. Text + Text of instructions relating to demurrage (the case in which a vessel is prevented from loading or discharging cargo within the stipulated laytime). + 0..n + Shipment Stage + Demurrage + Instructions + Text + Text. Type + + + + + + + + + BBIE + Shipment Stage. Crew Quantity. Quantity + The total number of crew aboard a transport means. + 0..1 + Shipment Stage + Crew Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Shipment Stage. Passenger Quantity. Quantity + The total number of passengers aboard a transport means. + 0..1 + Shipment Stage + Passenger Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Shipment Stage. Transit_ Period. Period + The period during which this shipment stage actually took place. + 0..1 + Shipment Stage + Transit + Period + Period + Period + + + + + + + + + ASBIE + Shipment Stage. Carrier_ Party. Party + A carrier party responsible for this shipment stage. + 0..n + Shipment Stage + Carrier + Party + Party + Party + + + + + + + + + ASBIE + Shipment Stage. Transport Means + The means of transport used in this shipment stage. + 0..1 + Shipment Stage + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Shipment Stage. Loading Port_ Location. Location + The location of loading for a shipment stage. + 0..1 + Shipment Stage + Loading Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Unloading Port_ Location. Location + The location of unloading for a shipment stage. + 0..1 + Shipment Stage + Unloading Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Transship Port_ Location. Location + The location of transshipment relating to a shipment stage. + 0..1 + Shipment Stage + Transship Port + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Loading_ Transport Event. Transport Event + The loading of goods in this shipment stage. + 0..1 + Shipment Stage + Loading + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Examination_ Transport Event. Transport Event + The examination of shipments in this shipment stage. + 0..1 + Shipment Stage + Examination + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Availability_ Transport Event. Transport Event + The making available of shipments in this shipment stage. + 0..1 + Shipment Stage + Availability + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Exportation_ Transport Event. Transport Event + The export event associated with this shipment stage. + 0..1 + Shipment Stage + Exportation + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Discharge_ Transport Event. Transport Event + The discharge event associated with this shipment stage. + 0..1 + Shipment Stage + Discharge + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Warehousing_ Transport Event. Transport Event + The warehousing event associated with this shipment stage. + 0..1 + Shipment Stage + Warehousing + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Takeover_ Transport Event. Transport Event + The receiver's takeover of the goods in this shipment stage. + 0..1 + Shipment Stage + Takeover + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Optional Takeover_ Transport Event. Transport Event + The optional takeover of the goods in this shipment stage. + 0..1 + Shipment Stage + Optional Takeover + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Dropoff_ Transport Event. Transport Event + The dropping off of goods in this shipment stage. + 0..1 + Shipment Stage + Dropoff + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Pickup_ Transport Event. Transport Event + The pickup of goods in this shipment stage. + 0..1 + Shipment Stage + Actual Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Delivery_ Transport Event. Transport Event + The delivery of goods in this shipment stage. + 0..1 + Shipment Stage + Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Receipt_ Transport Event. Transport Event + The receipt of goods in this shipment stage. + 0..1 + Shipment Stage + Receipt + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Storage_ Transport Event. Transport Event + The storage of goods in this shipment stage. + 0..1 + Shipment Stage + Storage + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Acceptance_ Transport Event. Transport Event + The acceptance of goods in this shipment stage. + 0..1 + Shipment Stage + Acceptance + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Terminal Operator_ Party. Party + A terminal operator associated with this shipment stage. + 0..1 + Shipment Stage + Terminal Operator + Party + Party + Party + + + + + + + + + ASBIE + Shipment Stage. Customs Agent_ Party. Party + A customs agent associated with this shipment stage. + 0..1 + Shipment Stage + Customs Agent + Party + Party + Party + + + + + + + + + ASBIE + Shipment Stage. Estimated Transit_ Period. Period + The estimated transit period of this shipment stage. + 0..1 + Shipment Stage + Estimated Transit + Period + Period + Period + + + + + + + + + ASBIE + Shipment Stage. Freight_ Allowance Charge. Allowance Charge + A freight allowance charge for this shipment stage. + 0..n + Shipment Stage + Freight + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Shipment Stage. Freight Charge_ Location. Location + The location associated with a freight charge related to this shipment stage. + 0..1 + Shipment Stage + Freight Charge + Location + Location + Location + + + + + + + + + ASBIE + Shipment Stage. Detention_ Transport Event. Transport Event + The detention of a transport means during loading and unloading operations. + 0..n + Shipment Stage + Detention + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Requested Departure_ Transport Event. Transport Event + The departure requested by the party requesting a transportation service. + 0..1 + Shipment Stage + Requested Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Requested Arrival_ Transport Event. Transport Event + The arrival requested by the party requesting a transportation service. + 0..1 + Shipment Stage + Requested Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Requested Waypoint_ Transport Event. Transport Event + A waypoint requested by the party requesting a transportation service. + 0..n + Shipment Stage + Requested Waypoint + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Planned Departure_ Transport Event. Transport Event + The departure planned by the party providing a transportation service. + 0..1 + Shipment Stage + Planned Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Planned Arrival_ Transport Event. Transport Event + The arrival planned by the party providing a transportation service. + 0..1 + Shipment Stage + Planned Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Planned Waypoint_ Transport Event. Transport Event + A waypoint planned by the party providing a transportation service. + 0..n + Shipment Stage + Planned Waypoint + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Departure_ Transport Event. Transport Event + The actual departure from a specific location during a transportation service. + 0..1 + Shipment Stage + Actual Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Waypoint_ Transport Event. Transport Event + The location of an actual waypoint during a transportation service. + 0..1 + Shipment Stage + Actual Waypoint + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Actual Arrival_ Transport Event. Transport Event + The actual arrival at a specific location during a transportation service. + 0..1 + Shipment Stage + Actual Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Transport Event + A significant occurrence in the course of this shipment of goods. + 0..n + Shipment Stage + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Estimated Departure_ Transport Event. Transport Event + Describes an estimated departure at a location during a transport service. + 0..1 + Shipment Stage + Estimated Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Estimated Arrival_ Transport Event. Transport Event + Describes an estimated arrival at a location during a transport service. + 0..1 + Shipment Stage + Estimated Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Shipment Stage. Passenger_ Person. Person + A person who travels in a conveyance without participating in its operation. + 0..n + Shipment Stage + Passenger + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Driver_ Person. Person + Describes a person responsible for driving the transport means. + 0..n + Shipment Stage + Driver + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Reporting_ Person. Person + Describes a person being responsible for providing the required administrative reporting relating to a transport. + 0..1 + Shipment Stage + Reporting + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Crew Member_ Person. Person + A person operating or serving aboard a transport means. + 0..n + Shipment Stage + Crew Member + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Security Officer_ Person. Person + The person on board the vessel, accountable to the master, designated by the company as responsible for the security of the ship, including implementation and maintenance of the ship security plan and for the liaison with the company security officer and the port facility security officers. + 0..1 + Shipment Stage + Security Officer + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Master_ Person. Person + The person responsible for the ship's safe and efficient operation, including cargo operations, navigation, crew management and for ensuring that the vessel complies with local and international laws, as well as company and flag state policies. + 0..1 + Shipment Stage + Master + Person + Person + Person + + + + + + + + + ASBIE + Shipment Stage. Ships Surgeon_ Person. Person + The person responsible for the health of the people aboard a ship at sea. + 0..1 + Shipment Stage + Ships Surgeon + Person + Person + Person + + + + + + + + + + + ABIE + Signature. Details + A class to define a signature. + Signature + + + + + + + + + BBIE + Signature. Identifier + An identifier for this signature. + 1 + Signature + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature. Note. Text + Free-form text conveying information that is not contained explicitly in other structures; in particular, information regarding the circumstances in which the signature is being used. + 0..n + Signature + Note + Text + Text. Type + + + + + + + + + BBIE + Signature. Validation Date. Date + The date upon which this signature was verified. + 0..1 + Signature + Validation Date + Date + Date. Type + + + + + + + + + BBIE + Signature. Validation Time. Time + The time at which this signature was verified. + 0..1 + Signature + Validation Time + Time + Time. Type + + + + + + + + + BBIE + Signature. Validator. Identifier + An identifier for the organization, person, service, or server that verified this signature. + 0..1 + Signature + Validator + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature. Canonicalization Method. Text + The method used to perform XML canonicalization of this signature. + 0..1 + Signature + Canonicalization Method + Text + Text. Type + + + + + + + + + BBIE + Signature. Signature Method. Text + Text describing the method of signature. + 0..1 + Signature + Signature Method + Text + Text. Type + + + + + + + + + ASBIE + Signature. Signatory_ Party. Party + The signing party. + 0..1 + Signature + Signatory + Party + Party + Party + + + + + + + + + ASBIE + Signature. Digital Signature_ Attachment. Attachment + The actual encoded signature (e.g., in XMLDsig format). + 0..1 + Signature + Digital Signature + Attachment + Attachment + Attachment + + + + + + + + + ASBIE + Signature. Original_ Document Reference. Document Reference + A reference to the document that the signature applies to. For evidentiary purposes, this may be the document image that the signatory party saw when applying their signature. + 0..1 + Signature + Original + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Social Media Profile. Details + A class to describe a social media profile. + Social Media Profile + + + + + + + + + BBIE + Social Media Profile. Identifier + An identifier for a specific social media. + 0..1 + Social Media Profile + Identifier + Identifier + Identifier. Type + FB + + + + + + + + + BBIE + Social Media Profile. Name + The common name of the social media. + 0..1 + Social Media Profile + Name + Name + Name. Type + Facebook + + + + + + + + + BBIE + Social Media Profile. Social Media Type Code. Code + A code that specifies the type of social media. + 0..1 + Social Media Profile + Social Media Type Code + Code + Code. Type + BusinessNetwork, SocialNetwork, ... + + + + + + + + + BBIE + Social Media Profile. URI. Identifier + The Uniform Resource Identifier (URI) of a party profile in the social media; i.e., its Uniform Resource Locator (URL). + 1 + Social Media Profile + URI + Identifier + Identifier. Type + https://www.facebook.com/oasis.open/ + + + + + + + + + + + ABIE + Statement Line. Details + A class to define a line in a Statement of account. + Statement Line + + + + + + + + + BBIE + Statement Line. Identifier + An identifier for this statement line. + 1 + Statement Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Statement Line + Note + Text + Text. Type + + + + + + + + + BBIE + Statement Line. UUID. Identifier + A universally unique identifier for this statement line. + 0..1 + Statement Line + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement Line. Balance Brought Forward_ Indicator. Indicator + An indication that this statement line contains an outstanding balance from the previous bill(s) (true) or does not (false). + 0..1 + Statement Line + Balance Brought Forward + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Statement Line. Debit_ Line Amount. Amount + The amount debited on this statement line. + 0..1 + Statement Line + Debit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Credit_ Line Amount. Amount + The amount credited on this statement line. + 0..1 + Statement Line + Credit + Line Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Balance Amount. Amount + The balance amount on this statement line. + 0..1 + Statement Line + Balance Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement Line. Payment Purpose Code. Code + A code signifying the business purpose for this payment. + 0..1 + Statement Line + Payment Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Statement Line. Payment Means + A means of payment associated with this statement line. + 0..1 + Statement Line + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Statement Line. Payment Terms + A specification of payment terms associated with this statement line. + 0..n + Statement Line + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Statement Line. Buyer_ Customer Party. Customer Party + The buyer associated with this statement line. + 0..1 + Statement Line + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Seller_ Supplier Party. Supplier Party + The seller/supplier associated with this statement line. + 0..1 + Statement Line + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement Line. Originator_ Customer Party. Customer Party + The originating party. + 0..1 + Statement Line + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Accounting_ Customer Party. Customer Party + The Accounting Customer Party related to the statement information reported on this Statement Line. + 0..1 + Statement Line + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement Line. Accounting_ Supplier Party. Supplier Party + The Accounting Supplier Party related to the statement information reported on this Statement Line. + 0..1 + Statement Line + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement Line. Payee_ Party. Party + The payee. + 0..1 + Statement Line + Payee + Party + Party + Party + + + + + + + + + ASBIE + Statement Line. Invoice_ Period. Period + An invoice period to which this statement line applies. + 0..n + Statement Line + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Statement Line. Billing Reference + A reference to a billing document associated with this statement line. + 0..n + Statement Line + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Statement Line. Document Reference + A reference to a document associated with this statement line. + 0..n + Statement Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Statement Line. Exchange Rate + The rate of exchange between the currency of the Statement and the currency of the document described in the BillingReference. + 0..1 + Statement Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Statement Line. Allowance Charge + A charge or discount price component associated with this statement line. + 0..n + Statement Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Statement Line. Collected_ Payment. Payment + A collected payment. + 0..n + Statement Line + Collected + Payment + Payment + Payment + + + + + + + + + + + ABIE + Status. Details + A class to describe the condition or position of an object. + Status + + + + + + + + + BBIE + Status. Condition Code. Code + Specifies the status condition of the related object. + 0..1 + Status + Condition Code + Code + Code. Type + + + + + + + + + BBIE + Status. Reference Date. Date + The reference date for this status. + 0..1 + Status + Reference Date + Date + Date. Type + + + + + + + + + BBIE + Status. Reference Time. Time + The reference time for this status. + 0..1 + Status + Reference Time + Time + Time. Type + + + + + + + + + BBIE + Status. Description. Text + Text describing this status. + 0..n + Status + Description + Text + Text. Type + + + + + + + + + BBIE + Status. Status Reason Code. Code + The reason for this status condition or position, expressed as a code. + 0..1 + Status + Status Reason Code + Code + Code. Type + + + + + + + + + BBIE + Status. Status_ Reason. Text + The reason for this status condition or position, expressed as text. + 0..n + Status + Status + Reason + Text + Text. Type + + + + + + + + + BBIE + Status. Sequence Identifier. Identifier + A sequence identifier for this status. + 0..1 + Status + Sequence Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Status. Text + Provides any textual information related to this status. + 0..n + Status + Text + Text + Text. Type + + + + + + + + + BBIE + Status. Indication_ Indicator. Indicator + Specifies an indicator relevant to a specific status. + 0..1 + Status + Indication + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Status. Percent + A percentage meaningful in the context of this status. + 0..1 + Status + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Status. Reliability Percent. Percent + The reliability of this status, expressed as a percentage. + 0..1 + Status + Reliability Percent + Percent + Percent. Type + + + + + + + + + ASBIE + Status. Condition + Measurements that quantify the condition of the objects covered by the status. + 0..n + Status + Condition + Condition + Condition + + + + + + + + + + + ABIE + Stock Availability Report Line. Details + A class to define a line in a Stock Availability Report describing the availability of an item of sale. + Stock Availability Report Line + + + + + + + + + BBIE + Stock Availability Report Line. Identifier + An identifier for this stock availability line. + 1 + Stock Availability Report Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Stock Availability Report Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Stock Availability Report Line + Note + Text + Text. Type + + + + + + + + + BBIE + Stock Availability Report Line. Quantity + The quantity of the item currently in stock. + 1 + Stock Availability Report Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Stock Availability Report Line. Value. Amount + The monetary value of the quantity of the item currently in stock. + 0..1 + Stock Availability Report Line + Value + Amount + Amount. Type + + + + + + + + + BBIE + Stock Availability Report Line. Availability Date. Date + The date from which the item will be available. A date identical to or earlier than the IssueDate of the Stock Availability Report means that the item is available now + 0..1 + Stock Availability Report Line + Availability Date + Date + Date. Type + + + + + + + + + BBIE + Stock Availability Report Line. Availability Status Code. Code + A code signifying the level of availability of the item. + 0..1 + Stock Availability Report Line + Availability Status Code + Code + Code. Type + + + + + + + + + ASBIE + Stock Availability Report Line. Item + The item associated with this stock availability report line. + 1 + Stock Availability Report Line + Item + Item + Item + + + + + + + + + + + ABIE + Stowage. Details + A class to describe a location on board a means of transport where specified goods or transport equipment have been stowed or are to be stowed. + Stowage + + + + + + + + + BBIE + Stowage. Location Identifier. Identifier + An identifier for the location. + 0..1 + Stowage + Location Identifier + Identifier + Identifier. Type + Cell Location, coded + + + + + + + + + BBIE + Stowage. Location. Text + Text describing the location. + 0..n + Stowage + Location + Text + Text. Type + Cell Location + + + + + + + + + ASBIE + Stowage. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this stowage. + 0..n + Stowage + Measurement + Dimension + Dimension + Dimension + + + + + + + + + + + ABIE + Subcontract Terms. Details + A class to describe subcontract terms for a tendering process. + Subcontract Terms + + + + + + + + + BBIE + Subcontract Terms. Rate + The precise percentage allowed to be subcontracted. + 0..1 + Subcontract Terms + Rate + Rate + Rate. Type + + + + + + + + + BBIE + Subcontract Terms. Unknown_ Price. Indicator + An indicator that the subcontract price is known (true) or not (false). + 0..1 + Subcontract Terms + Unknown + Price + Indicator + Indicator. Type + + + + + + + + + BBIE + Subcontract Terms. Description. Text + Text describing the subcontract terms. + 0..n + Subcontract Terms + Description + Text + Text. Type + + + + + + + + + BBIE + Subcontract Terms. Amount + The monetary amount assigned to the subcontracted task. + 0..1 + Subcontract Terms + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Subcontract Terms. Subcontracting Conditions Code. Code + A code specifying the conditions for subcontracting. + 0..1 + Subcontract Terms + Subcontracting Conditions Code + Code + Code. Type + + + + + + + + + BBIE + Subcontract Terms. Maximum_ Percent. Percent + The maximum percentage allowed to be subcontracted. + 0..1 + Subcontract Terms + Maximum + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Subcontract Terms. Minimum_ Percent. Percent + The minimum percentage allowed to be subcontracted. + 0..1 + Subcontract Terms + Minimum + Percent + Percent + Percent. Type + + + + + + + + + + + ABIE + Subscriber Consumption. Details + The consumption for a specific party for given consumption point provided by a numbers of suppliers. An enterprise can have one utility statement for several parties (e.g. a ministry of defence receiving a telephone bill). In this way each subscriber consumption represent a sub utility statement. + Subscriber Consumption + + + + + + + + + BBIE + Subscriber Consumption. Consumption Identifier. Identifier + The identifier tor this specification. + 0..1 + Subscriber Consumption + Consumption Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Subscriber Consumption. Specification Type Code. Code + The code which specifies the type of this specification, e.g. an on account specification or the yearly specification. + 0..1 + Subscriber Consumption + Specification Type Code + Code + Code. Type + + + + + + + + + BBIE + Subscriber Consumption. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Subscriber Consumption + Note + Text + Text. Type + This is how we have calculating your yearly statement + + + + + + + + + BBIE + Subscriber Consumption. Total Metered Quantity. Quantity + The total quantity consumed, as calculated from meter readings. + 0..1 + Subscriber Consumption + Total Metered Quantity + Quantity + Quantity. Type + 2000.0 + + + + + + + + + ASBIE + Subscriber Consumption. Subscriber_ Party. Party + The party subscribing to the utility. + 0..1 + Subscriber Consumption + Subscriber + Party + Party + Party + + + + + + + + + ASBIE + Subscriber Consumption. Utility_ Consumption Point. Consumption Point + The point at which the utility is consumed. + 1 + Subscriber Consumption + Utility + Consumption Point + Consumption Point + Consumption Point + + + + + + + + + ASBIE + Subscriber Consumption. On Account Payment + The planned prepayments (on account) regarding this subscription. + 0..n + Subscriber Consumption + On Account Payment + On Account Payment + On Account Payment + + + + + + + + + ASBIE + Subscriber Consumption. Consumption + The consumption in case the consumption is from one and only one supplier. + 0..1 + Subscriber Consumption + Consumption + Consumption + Consumption + + + + + + + + + ASBIE + Subscriber Consumption. Supplier Consumption + The consumption in case the consumption is from more than one supplier. + 0..n + Subscriber Consumption + Supplier Consumption + Supplier Consumption + Supplier Consumption + + + + + + + + + + + ABIE + Supplier Consumption. Details + The consumption in case the consumption is for one and only one supplier. + Supplier Consumption + + + + + + + + + BBIE + Supplier Consumption. Description. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Supplier Consumption + Description + Text + Text. Type + This is what you pay for electricity to DONG Energy North Utility + + + + + + + + + ASBIE + Supplier Consumption. Utility Supplier_ Party. Party + The party supplying the utility. + 0..1 + Supplier Consumption + Utility Supplier + Party + Party + Party + + + + + + + + + ASBIE + Supplier Consumption. Utility Customer_ Party. Party + The utility customer. + 0..1 + Supplier Consumption + Utility Customer + Party + Party + Party + + + + + + + + + ASBIE + Supplier Consumption. Consumption + The consumption regarding this supplier + 1 + Supplier Consumption + Consumption + Consumption + Consumption + + + + + + + + + ASBIE + Supplier Consumption. Contract + A contract setting forth conditions regulating the consumption. + 0..1 + Supplier Consumption + Contract + Contract + Contract + + + + + + + + + ASBIE + Supplier Consumption. Consumption Line + The consumption of a utility product. + 1..n + Supplier Consumption + Consumption Line + Consumption Line + Consumption Line + + + + + + + + + + + ABIE + Supplier Party. Details + A class to describe a supplier party. + Supplier Party + + + + + + + + + BBIE + Supplier Party. Customer Assigned_ Account Identifier. Identifier + An identifier for this supplier party, assigned by the customer. + 0..1 + Supplier Party + Customer Assigned + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Supplier Party. Additional_ Account Identifier. Identifier + An additional identifier for this supplier party. + 0..n + Supplier Party + Additional + Account Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Supplier Party. Data Sending Capability. Text + Text describing the supplier's ability to send invoice data via a purchase card provider (e.g., VISA, MasterCard, American Express). + 0..1 + Supplier Party + Data Sending Capability + Text + Text. Type + + + + + + + + + ASBIE + Supplier Party. Party + The supplier party itself. + 0..1 + Supplier Party + Party + Party + Party + + + + + + + + + ASBIE + Supplier Party. Despatch_ Contact. Contact + A contact at this supplier party for despatches (pickups). + 0..1 + Supplier Party + Despatch + Contact + Contact + Contact + + + + + + + + + ASBIE + Supplier Party. Accounting_ Contact. Contact + A contact at this supplier party for accounting. + 0..1 + Supplier Party + Accounting + Contact + Contact + Contact + + + + + + + + + ASBIE + Supplier Party. Seller_ Contact. Contact + The primary contact for this supplier party. + 0..1 + Supplier Party + Seller + Contact + Contact + Contact + + + + + + + + + + + ABIE + Tax Category. Details + A class to describe one of the tax categories within a taxation scheme (e.g., High Rate VAT, Low Rate VAT). + Tax Category + + + + + + + + + BBIE + Tax Category. Identifier + An identifier for this tax category. + 0..1 + Tax Category + Identifier + Identifier + Identifier. Type + http://www.unece.org/uncefact/codelist/standard/UNECE_DutyorTaxorFeeCategoryCode_D09B.xsd + + + + + + + + + BBIE + Tax Category. Name + The name of this tax category. + 0..1 + Tax Category + Name + Name + Name. Type + Luxury Goods , Wine Equalization , Exempt + + + + + + + + + BBIE + Tax Category. Percent + The tax rate for this category, expressed as a percentage. + 0..1 + Tax Category + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Tax Category. Base Unit Measure. Measure + A Unit of Measures used as the basic for the tax calculation applied at a certain rate per unit. + 0..1 + Tax Category + Base Unit Measure + Measure + Measure. Type + + + + + + + + + BBIE + Tax Category. Per Unit_ Amount. Amount + Where a tax is applied at a certain rate per unit, the rate per unit applied. + 0..1 + Tax Category + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Category. Tax Exemption Reason Code. Code + The reason for tax being exempted, expressed as a code. + 0..1 + Tax Category + Tax Exemption Reason Code + Code + Code. Type + http://www.unece.org/uncefact/codelist/standard/UNECE_DutyTaxFeeTypeCode_D09B.xsd + + + + + + + + + BBIE + Tax Category. Tax Exemption Reason. Text + The reason for tax being exempted, expressed as text. + 0..n + Tax Category + Tax Exemption Reason + Text + Text. Type + + + + + + + + + BBIE + Tax Category. Tier Range. Text + Where a tax is tiered, the range of taxable amounts that determines the rate of tax applicable to this tax category. + 0..1 + Tax Category + Tier Range + Text + Text. Type + + + + + + + + + BBIE + Tax Category. Tier Rate. Percent + Where a tax is tiered, the tax rate that applies within the specified range of taxable amounts for this tax category. + 0..1 + Tax Category + Tier Rate + Percent + Percent. Type + + + + + + + + + ASBIE + Tax Category. Tax Scheme + The taxation scheme within which this tax category is defined. + 1 + Tax Category + Tax Scheme + Tax Scheme + Tax Scheme + + + + + + + + + + + ABIE + Tax Scheme. Details + A class to describe a taxation scheme (e.g., VAT, State tax, County tax). + Tax Scheme + + + + + + + + + BBIE + Tax Scheme. Identifier + An identifier for this taxation scheme. + 0..1 + Tax Scheme + Identifier + Identifier + Identifier. Type + http://www.unece.org/uncefact/codelist/standard/EDIFICASEU_TaxExemptionReason_D09B.xsd + + + + + + + + + BBIE + Tax Scheme. Name + The name of this taxation scheme. + 0..1 + Tax Scheme + Name + Name + Name. Type + Value Added Tax , Wholesale Tax , Sales Tax , State Tax + + + + + + + + + BBIE + Tax Scheme. Tax Type Code. Code + A code signifying the type of tax. + 0..1 + Tax Scheme + Tax Type Code + Code + Code. Type + Consumption , Sales + + + + + + + + + BBIE + Tax Scheme. Currency Code. Code + A code signifying the currency in which the tax is collected and reported. + 0..1 + Tax Scheme + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Tax Scheme. Jurisdiction Region_ Address. Address + A geographic area in which this taxation scheme applies. + 0..n + Tax Scheme + Jurisdiction Region + Address + Address + Address + + + + + + + + + + + ABIE + Tax Subtotal. Details + A class to define the subtotal for a particular tax category within a particular taxation scheme, such as standard rate within VAT. + Tax Subtotal + + + + + + + + + BBIE + Tax Subtotal. Taxable_ Amount. Amount + The net amount to which the tax percent (rate) is applied to calculate the tax amount. + 0..1 + Tax Subtotal + Taxable + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Tax Amount. Amount + The amount of this tax subtotal. + 1 + Tax Subtotal + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Calculation Sequence. Numeric + The number of this tax subtotal in the sequence of subtotals corresponding to the order in which multiple taxes are applied. If all taxes are applied to the same taxable amount (i.e., their order of application is inconsequential), then CalculationSequenceNumeric is 1 for all tax subtotals applied to a given amount. + 0..1 + Tax Subtotal + Calculation Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Tax Subtotal. Transaction Currency_ Tax Amount. Amount + The amount of this tax subtotal, expressed in the currency used for invoicing. + 0..1 + Tax Subtotal + Transaction Currency + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Percent + The tax rate of the tax category applied to this tax subtotal, expressed as a percentage. + 0..1 + Tax Subtotal + Percent + Percent + Percent. Type + + + + + + + + + BBIE + Tax Subtotal. Base Unit Measure. Measure + The unit of measure on which the tax calculation is based + 0..1 + Tax Subtotal + Base Unit Measure + Measure + Measure. Type + + + + + + + + + BBIE + Tax Subtotal. Per Unit_ Amount. Amount + Where a tax is applied at a certain rate per unit, the rate per unit applied. + 0..1 + Tax Subtotal + Per Unit + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Subtotal. Tier Range. Text + Where a tax is tiered, the range of taxable amounts that determines the rate of tax applicable to this tax subtotal. + 0..1 + Tax Subtotal + Tier Range + Text + Text. Type + + + + + + + + + BBIE + Tax Subtotal. Tier Rate. Percent + Where a tax is tiered, the tax rate that applies within a specified range of taxable amounts for this tax subtotal. + 0..1 + Tax Subtotal + Tier Rate + Percent + Percent. Type + + + + + + + + + ASBIE + Tax Subtotal. Tax Category + The tax category applicable to this subtotal. + 1 + Tax Subtotal + Tax Category + Tax Category + Tax Category + + + + + + + + + + + ABIE + Tax Total. Details + A class to describe the total tax for a particular taxation scheme. + Tax Total + + + + + + + + + BBIE + Tax Total. Tax Amount. Amount + The total tax amount for a particular taxation scheme, e.g., VAT; the sum of the tax subtotals for each tax category within the taxation scheme. + 1 + Tax Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Total. Rounding Amount. Amount + The rounding amount (positive or negative) added to the calculated tax total to produce the rounded TaxAmount. + 0..1 + Tax Total + Rounding Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tax Total. Tax Evidence_ Indicator. Indicator + An indicator that this total is recognized as legal evidence for taxation purposes (true) or not (false). + 0..1 + Tax Total + Tax Evidence + Indicator + Indicator + Indicator. Type + default is negative + + + + + + + + + BBIE + Tax Total. Tax Included_ Indicator. Indicator + An indicator that tax is included in the calculation (true) or not (false). + 0..1 + Tax Total + Tax Included + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Tax Total. Tax Subtotal + One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme. + 0..n + Tax Total + Tax Subtotal + Tax Subtotal + Tax Subtotal + + + + + + + + + + + ABIE + Telecommunications Service. Details + A class to describe a telecommunications service (e.g., a telephone call or a video on demand service). + Telecommunications Service + + + + + + + + + BBIE + Telecommunications Service. Identifier + An identifier for this telecommunications service. + 0..1 + Telecommunications Service + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Telecommunications Service. Call_ Date. Date + In the case of a telephone call, the date of the call. + 1 + Telecommunications Service + Call + Date + Date + Date. Type + 2008-01-01 + + + + + + + + + BBIE + Telecommunications Service. Call_ Time. Time + In the case of a telephone call, the time of the call. + 1 + Telecommunications Service + Call + Time + Time + Time. Type + 00:01:00 + + + + + + + + + BBIE + Telecommunications Service. Service Number Called. Text + In the case of a telephone call, the phone number called. + 1 + Telecommunications Service + Service Number Called + Text + Text. Type + 12345679 + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Category. Text + The telecommunications category, expressed as text. + 0..1 + Telecommunications Service + Telecommunications Service Category + Text + Text. Type + Subscription + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Category Code. Code + The telecommunications category, expressed as a code. + 0..1 + Telecommunications Service + Telecommunications Service Category Code + Code + Code. Type + Subscription + + + + + + + + + BBIE + Telecommunications Service. Movie Title. Text + The title of a movie delivered via this telecommunications service. + 0..1 + Telecommunications Service + Movie Title + Text + Text. Type + The Matrix + + + + + + + + + BBIE + Telecommunications Service. Roaming Partner Name. Name + Statement of the roaming partner name. + 0..1 + Telecommunications Service + Roaming Partner Name + Name + Name. Type + + + + + + + + + BBIE + Telecommunications Service. Pay Per View. Text + A pay-per-view delivered via this telecommunications service. + 0..1 + Telecommunications Service + Pay Per View + Text + Text. Type + + + + + + + + + BBIE + Telecommunications Service. Quantity + The number of calls. + 0..1 + Telecommunications Service + Quantity + Quantity + Quantity. Type + 5761 + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Call. Text + The telecommunications call described as a text + 0..1 + Telecommunications Service + Telecommunications Service Call + Text + Text. Type + CallAttempt + + + + + + + + + BBIE + Telecommunications Service. Telecommunications Service Call Code. Code + The telecommunications call described as a code + 0..1 + Telecommunications Service + Telecommunications Service Call Code + Code + Code. Type + CallAttempt + + + + + + + + + BBIE + Telecommunications Service. Call Base_ Amount. Amount + The amount to be payed as the base for one call + 0..1 + Telecommunications Service + Call Base + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Telecommunications Service. Call Extension_ Amount. Amount + The amount to be payed for the call + 0..1 + Telecommunications Service + Call Extension + Amount + Amount + Amount. Type + 542.44 + + + + + + + + + ASBIE + Telecommunications Service. Price + The price for using the telecommunication service + 0..1 + Telecommunications Service + Price + Price + Price + + + + + + + + + ASBIE + Telecommunications Service. Country + The country to which the service is provided. In case of a telephone call it is the country where the receiver is located. + 0..1 + Telecommunications Service + Country + Country + Country + + + + + + + + + ASBIE + Telecommunications Service. Exchange Rate + A exchanges rates used in the pricing e.g.. when phone calls has crossed border lines. + 0..n + Telecommunications Service + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Telecommunications Service. Allowance Charge + An allowance or charge that applies to the UtilityStatement as a whole. + 0..n + Telecommunications Service + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Telecommunications Service. Tax Total + A total amount of taxes of a particular kind applicable to this telecommunications service. + 0..n + Telecommunications Service + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Telecommunications Service. Call_ Duty. Duty + In the case of a telephone call, a duty on this call. + 0..n + Telecommunications Service + Call + Duty + Duty + Duty + + + + + + + + + ASBIE + Telecommunications Service. Time_ Duty. Duty + A duty on a consumption of time. + 0..n + Telecommunications Service + Time + Duty + Duty + Duty + + + + + + + + + + + ABIE + Telecommunications Supply. Details + A class describing the supply of a telecommunication service, e.g., providing telephone calls. + Telecommunications Supply + + + + + + + + + BBIE + Telecommunications Supply. Telecommunications Supply Type. Text + The type of telecommunications supply, expressed as text. + 0..1 + Telecommunications Supply + Telecommunications Supply Type + Text + Text. Type + Itemized tele Statement + + + + + + + + + BBIE + Telecommunications Supply. Telecommunications Supply Type Code. Code + The type of telecommunications supply, expressed as a code. + 0..1 + Telecommunications Supply + Telecommunications Supply Type Code + Code + Code. Type + TeleExtended + + + + + + + + + BBIE + Telecommunications Supply. Privacy Code. Code + A code signifying the level of confidentiality of this information for this telecommunication supply. + 1 + Telecommunications Supply + Privacy Code + Code + Code. Type + CompanyLevel + + + + + + + + + BBIE + Telecommunications Supply. Description. Text + Text describing the telecommunications supply. + 0..n + Telecommunications Supply + Description + Text + Text. Type + Extended conversation Statement January quarter 2008. + + + + + + + + + BBIE + Telecommunications Supply. Total_ Amount. Amount + The total amount associated with this telecommunications supply. + 0..1 + Telecommunications Supply + Total + Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Telecommunications Supply. Telecommunications Supply Line + Outlines the provided telecommunication supply + 1..n + Telecommunications Supply + Telecommunications Supply Line + Telecommunications Supply Line + Telecommunications Supply Line + + + + + + + + + + + ABIE + Telecommunications Supply Line. Details + A class that outlines the telecommunication supply in details + Telecommunications Supply Line + + + + + + + + + BBIE + Telecommunications Supply Line. Identifier + An identifier for this telecommunications supply line. + 1 + Telecommunications Supply Line + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Telecommunications Supply Line. Phone Number. Text + The phone number used for this telecommunication supply line + 1 + Telecommunications Supply Line + Phone Number + Text + Text. Type + 12345678 + + + + + + + + + BBIE + Telecommunications Supply Line. Description. Text + The description of the telecommunication supply line + 0..n + Telecommunications Supply Line + Description + Text + Text. Type + Additional informations + + + + + + + + + BBIE + Telecommunications Supply Line. Line Extension Amount. Amount + An amount specifying the cost of this telecommunication line + 0..1 + Telecommunications Supply Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Telecommunications Supply Line. Exchange Rate + Exchanges rates used to calculate the amount for this line. + 0..n + Telecommunications Supply Line + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Telecommunications Supply Line. Allowance Charge + An allowance or charge that applies to this telecommunication supply line. + 0..n + Telecommunications Supply Line + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Telecommunications Supply Line. Tax Total + A total amount of taxes of a particular kind applicable to this telecommunications supply line + 0..n + Telecommunications Supply Line + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Telecommunications Supply Line. Telecommunications Service + A telecommunications service (e.g., a telephone call). + 1..n + Telecommunications Supply Line + Telecommunications Service + Telecommunications Service + Telecommunications Service + + + + + + + + + + + ABIE + Temperature. Details + A class to describe a measurement of temperature. + Temperature + + + + + + + + + BBIE + Temperature. Attribute Identifier. Identifier + An identifier for this temperature measurement. + 1 + Temperature + Attribute Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Temperature. Measure + The value of this temperature measurement. + 1 + Temperature + Measure + Measure + Measure. Type + + + + + + + + + BBIE + Temperature. Description. Text + Text describing this temperature measurement. + 0..n + Temperature + Description + Text + Text. Type + at sea level + + + + + + + + + + + ABIE + Tender Line. Details + A class to define a line in a Tender. + Tender Line + + + + + + + + + BBIE + Tender Line. Identifier + An identifier for this tender line. + 0..1 + Tender Line + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Line. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Tender Line + Note + Text + Text. Type + + + + + + + + + BBIE + Tender Line. Quantity + The quantity of the item quoted in this tender line. + 0..1 + Tender Line + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Tender Line. Line Extension Amount. Amount + The total amount for this tender line, including allowance charges but net of taxes. + 0..1 + Tender Line + Line Extension Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tender Line. Total_ Tax Amount. Amount + The total tax amount for this tender line. + 0..1 + Tender Line + Total + Tax Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tender Line. Orderable_ Unit. Text + Text describing a unit in which the item described in this tender line can be ordered. + 0..1 + Tender Line + Orderable + Unit + Text + Text. Type + + + + + + + + + BBIE + Tender Line. Content Unit. Quantity + The unit of measure and quantity of the orderable unit. + 0..1 + Tender Line + Content Unit + Quantity + Quantity. Type + If order unit measure identifier is each , then content unit quantity is 1 . + + + + + + + + + BBIE + Tender Line. Order Quantity Increment. Numeric + The number of items that can set the order quantity increments. + 0..1 + Tender Line + Order Quantity Increment + Numeric + Numeric. Type + + + + + + + + + BBIE + Tender Line. Minimum_ Order Quantity. Quantity + The minimum number of items described in this tender line that can be ordered. + 0..1 + Tender Line + Minimum + Order Quantity + Quantity + Quantity. Type + 10 boxes + + + + + + + + + BBIE + Tender Line. Maximum_ Order Quantity. Quantity + The maximum number of items described in this tender line that can be ordered. + 0..1 + Tender Line + Maximum + Order Quantity + Quantity + Quantity. Type + 1 tonne + + + + + + + + + BBIE + Tender Line. Warranty_ Information. Text + Text about a warranty (provided by WarrantyParty) for the good or service described in this tender line. + 0..n + Tender Line + Warranty + Information + Text + Text. Type + Unless specified otherwise and in addition to any rights the Customer may have under statute, Dell warrants to the Customer that Dell branded Products (excluding third party products and software), will be free from defects in materials and workmanship affecting normal use for a period of one year from invoice date ( Standard Warranty ). + + + + + + + + + BBIE + Tender Line. Pack Level Code. Code + A mutually agreed code signifying the level of packaging associated with the item described in this tender line. + 0..1 + Tender Line + Pack Level Code + Code + Code. Type + Consumer Unit, Trading Unit + level 2 , Group 4 + + + + + + + + + ASBIE + Tender Line. Document Reference + A reference to a document associated with this tender line. + 0..n + Tender Line + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Line. Item + The item associated with this tender line. + 0..1 + Tender Line + Item + Item + Item + + + + + + + + + ASBIE + Tender Line. Offered_ Item Location Quantity. Item Location Quantity + A set of location-specific properties (e.g., price, quantity, lead time) associated with the item described in this tender line. + 0..n + Tender Line + Offered + Item Location Quantity + Item Location Quantity + Item Location Quantity + + + + + + + + + ASBIE + Tender Line. Replacement_ Related Item. Related Item + A catalogue item that may be a replacement for the item described in this tender line. + 0..n + Tender Line + Replacement + Related Item + Related Item + Related Item + + + + + + + + + ASBIE + Tender Line. Warranty_ Party. Party + The party responsible for any warranty described in this tender line. + 0..1 + Tender Line + Warranty + Party + Party + Party + + + + + + + + + ASBIE + Tender Line. Warranty Validity_ Period. Period + The period for which a warranty associated with the item described in this tender line is valid. + 0..1 + Tender Line + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Tender Line. Sub_ Tender Line. Tender Line + An association to a Sub Tender Line + 0..n + Tender Line + Sub + Tender Line + Tender Line + Tender Line + + + + + + + + + ASBIE + Tender Line. Call For Tenders_ Line Reference. Line Reference + Reference to a Line on a Call For Tenders document. + 0..1 + Tender Line + Call For Tenders + Line Reference + Line Reference + Line Reference + + + + + + + + + ASBIE + Tender Line. Call For Tenders_ Document Reference. Document Reference + A class defining references to a Call For Tenders document. + 0..1 + Tender Line + Call For Tenders + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Tender Preparation. Details + A class to describe directions for preparing a tender. + Tender Preparation + + + + + + + + + BBIE + Tender Preparation. Tender Envelope Identifier. Identifier + An identifier for the tender envelope to be used with the tender. + 1 + Tender Preparation + Tender Envelope Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Preparation. Tender Envelope Type Code. Code + A code signifying the type of tender envelope (economical or objective criteria versus technical or subjective criteria). + 0..1 + Tender Preparation + Tender Envelope Type Code + Code + Code. Type + + + + + + + + + BBIE + Tender Preparation. Description. Text + Text describing the tender envelope. + 0..n + Tender Preparation + Description + Text + Text. Type + + + + + + + + + BBIE + Tender Preparation. Open Tender Identifier. Identifier + An identifier for the open tender associated with this tender preparation. + 0..1 + Tender Preparation + Open Tender Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Tender Preparation. Procurement Project Lot + The procurement project lot associated with a particular tenderer. + 0..n + Tender Preparation + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Tender Preparation. Document_ Tender Requirement. Tender Requirement + A reference to the template for a required document in a tendering process. + 0..n + Tender Preparation + Document + Tender Requirement + Tender Requirement + Tender Requirement + Curricula required, Experience required, .... + + + + + + + + + ASBIE + Tender Preparation. Tender_ Encryption Data. Encryption Data + A reference to the details of the encryption process used for the tender. + 0..n + Tender Preparation + Tender + Encryption Data + Encryption Data + Encryption Data + + + + + + + + + + + ABIE + Tender Requirement. Details + A template for a required document in a tendering process. + Tender Requirement + + + + + + + + + BBIE + Tender Requirement. Name + A name of this tender requirement. + 1 + Tender Requirement + Name + Name + Name. Type + + + + + + + + + BBIE + Tender Requirement. Description. Text + Text describing this tender requirement. + 0..n + Tender Requirement + Description + Text + Text. Type + + + + + + + + + ASBIE + Tender Requirement. Template_ Document Reference. Document Reference + A reference to the template for a required document. + 0..1 + Tender Requirement + Template + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Tender Result. Details + A class to describe the awarding of a tender in a tendering process. + Tender Result + + + + + + + + + BBIE + Tender Result. Award Identifier. Identifier + An identifier for this tender result. + 0..1 + Tender Result + Award Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Result. Tender_ Result Code. Code + A code signifying the result of the tendering process. + 0..1 + Tender Result + Tender + Result Code + Code + Code. Type + + + + + + + + + BBIE + Tender Result. Description. Text + Text describing the result of the tendering process. + 0..n + Tender Result + Description + Text + Text. Type + + + + + + + + + BBIE + Tender Result. Advertisement. Amount + The monetary value of the advertisement for this tendering process. + 0..1 + Tender Result + Advertisement + Amount + Amount. Type + + + + + + + + + BBIE + Tender Result. Award Date. Date + The date on which this result was formalized. + 1 + Tender Result + Award Date + Date + Date. Type + + + + + + + + + BBIE + Tender Result. Award Time. Time + The time at which this result was formalized. + 0..1 + Tender Result + Award Time + Time + Time. Type + + + + + + + + + BBIE + Tender Result. Received_ Tender Quantity. Quantity + The total number of tenders received in this tendering process. + 0..1 + Tender Result + Received + Tender Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Tender Result. Lower_ Tender Amount. Amount + The least expensive tender received in the tendering process. + 0..1 + Tender Result + Lower + Tender Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tender Result. Higher_ Tender Amount. Amount + The most expensive tender received in this tendering process. + 0..1 + Tender Result + Higher + Tender Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tender Result. Start Date. Date + The date on which the awarded contract begins. + 0..1 + Tender Result + Start Date + Date + Date. Type + + + + + + + + + BBIE + Tender Result. Received_ Electronic Tender Quantity. Quantity + The number of electronic tenders received. + 0..1 + Tender Result + Received + Electronic Tender Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Tender Result. Received_ Foreign Tender Quantity. Quantity + The number of foreing tenders received. + 0..1 + Tender Result + Received + Foreign Tender Quantity + Quantity + Quantity. Type + + + + + + + + + ASBIE + Tender Result. Contract + A contract governing this tender result. + 0..1 + Tender Result + Contract + Contract + Contract + + + + + + + + + ASBIE + Tender Result. Awarded_ Tendered Project. Tendered Project + The awarded tendered project associated with this tender result. + 0..1 + Tender Result + Awarded + Tendered Project + Tendered Project + Tendered Project + + + + + + + + + ASBIE + Tender Result. Contract Formalization_ Period. Period + The period during which a contract associated with the awarded project is to be formalized. + 0..1 + Tender Result + Contract Formalization + Period + Period + Period + + + + + + + + + ASBIE + Tender Result. Subcontract Terms + Subcontract terms for this tender result. + 0..n + Tender Result + Subcontract Terms + Subcontract Terms + Subcontract Terms + + + + + + + + + ASBIE + Tender Result. Winning Party + A party that is identified as the awarded by a tender result. + 0..n + Tender Result + Winning Party + Winning Party + Winning Party + + + + + + + + + + + ABIE + Tendered Project. Details + A class to describe a tendered project or project lot. + Tendered Project + + + + + + + + + BBIE + Tendered Project. Variant. Identifier + An identifier for this variant of a tendered project. + 0..1 + Tendered Project + Variant + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendered Project. Fee. Amount + The fee amount for tendered projects. + 0..1 + Tendered Project + Fee + Amount + Amount. Type + + + + + + + + + BBIE + Tendered Project. Fee_ Description. Text + Text describing the fee amount for tendered projects. + 0..n + Tendered Project + Fee + Description + Text + Text. Type + + + + + + + + + BBIE + Tendered Project. Tender Envelope Identifier. Identifier + An identifier for the tender envelope this tendered project belongs to. + 0..1 + Tendered Project + Tender Envelope Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendered Project. Tender Envelope Type Code. Code + A code signifying the type of tender envelope this tendered project belongs to. + 0..1 + Tendered Project + Tender Envelope Type Code + Code + Code. Type + + + + + + + + + ASBIE + Tendered Project. Procurement Project Lot + The procurement project lot to which this Tender Line refers to. If there are no lots, this should not be defined. + 0..1 + Tendered Project + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Tendered Project. Evidence_ Document Reference. Document Reference + A reference to a non-structured evidentiary document supporting this tendered project. + 0..n + Tendered Project + Evidence + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendered Project. Tax Total + A total amount of taxes of a particular kind applicable to the monetary total for this tendered project. + 0..n + Tendered Project + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Tendered Project. Legal_ Monetary Total. Monetary Total + The total amount for this tendered project. + 0..1 + Tendered Project + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Tendered Project. Tender Line + A line in the tender for this tendered project. + 0..n + Tendered Project + Tender Line + Tender Line + Tender Line + + + + + + + + + ASBIE + Tendered Project. Awarding Criterion Response + An association to an Awarding Criterion Response. + 0..n + Tendered Project + Awarding Criterion Response + Awarding Criterion Response + Awarding Criterion Response + + + + + + + + + + + ABIE + Tenderer Party Qualification. Details + A class to describe the qualifications of a tenderer party. + Tenderer Party Qualification + + + + + + + + + ASBIE + Tenderer Party Qualification. Interested_ Procurement Project Lot. Procurement Project Lot + The procurement project lot the party is interested in. + 0..n + Tenderer Party Qualification + Interested + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Tenderer Party Qualification. Main_ Qualifying Party. Qualifying Party + The qualifications of the main tenderer party. + 1 + Tenderer Party Qualification + Main + Qualifying Party + Qualifying Party + Qualifying Party + + + + + + + + + ASBIE + Tenderer Party Qualification. Additional_ Qualifying Party. Qualifying Party + The qualifications of a tenderer party other than the main tenderer party when bidding as a consortium. + 0..n + Tenderer Party Qualification + Additional + Qualifying Party + Qualifying Party + Qualifying Party + + + + + + + + + + + ABIE + Tenderer Qualification Request. Details + The evaluation that the Contracting Authority party requests to fulfill to the tenderers. + Tenderer Qualification Request + + + + + + + + + BBIE + Tenderer Qualification Request. Company Legal Form Code. Code + The legal status requested for potential tenderers, expressed as a code. + 0..1 + Tenderer Qualification Request + Company Legal Form Code + Code + Code. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Company Legal Form. Text + The legal status requested for potential tenderers, expressed as text + 0..1 + Tenderer Qualification Request + Company Legal Form + Text + Text. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Personal Situation. Text + Text describing the personal situation of the economic operators in this tendering process. + 0..n + Tenderer Qualification Request + Personal Situation + Text + Text. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Operating Years. Quantity + Textual description of the legal form required for potential tenderers. + 0..1 + Tenderer Qualification Request + Operating Years + Quantity + Quantity. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Employee. Quantity + Textual description of the legal form required for potential tenderers. + 0..1 + Tenderer Qualification Request + Employee + Quantity + Quantity. Type + + + + + + + + + BBIE + Tenderer Qualification Request. Description. Text + Text describing the evaluation requirements for this tenderer. + 0..n + Tenderer Qualification Request + Description + Text + Text. Type + + + + + + + + + ASBIE + Tenderer Qualification Request. Required Business_ Classification Scheme. Classification Scheme + A classification scheme for the business profile. + 0..n + Tenderer Qualification Request + Required Business + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + ASBIE + Tenderer Qualification Request. Technical_ Evaluation Criterion. Evaluation Criterion + A technical evaluation criterion required for an economic operator in a tendering process. + 0..n + Tenderer Qualification Request + Technical + Evaluation Criterion + Evaluation Criterion + Evaluation Criterion + + + + + + + + + ASBIE + Tenderer Qualification Request. Financial_ Evaluation Criterion. Evaluation Criterion + A financial evaluation criterion required for an economic operator in a tendering process. + 0..n + Tenderer Qualification Request + Financial + Evaluation Criterion + Evaluation Criterion + Evaluation Criterion + + + + + + + + + ASBIE + Tenderer Qualification Request. Specific_ Tenderer Requirement. Tenderer Requirement + A requirement to be met by a tenderer. + 0..n + Tenderer Qualification Request + Specific + Tenderer Requirement + Tenderer Requirement + Tenderer Requirement + Preregistration in a Business Registry + + + + + + + + + ASBIE + Tenderer Qualification Request. Economic Operator Role + A class to describe the tenderer contracting role. + 0..n + Tenderer Qualification Request + Economic Operator Role + Economic Operator Role + Economic Operator Role + + + + + + + + + + + ABIE + Tenderer Requirement. Details + A class to describe an action or statement required of an economic operator participating in a tendering process. + Tenderer Requirement + + + + + + + + + BBIE + Tenderer Requirement. Name + A name of this tenderer requirement. + 0..n + Tenderer Requirement + Name + Name + Name. Type + + + + + + + + + BBIE + Tenderer Requirement. Tenderer Requirement_ Type Code. Code + A code signifying this requirement. + 0..1 + Tenderer Requirement + Tenderer Requirement + Type Code + Code + Code. Type + + + + + + + + + BBIE + Tenderer Requirement. Description. Text + Text describing this requirement. + 0..n + Tenderer Requirement + Description + Text + Text. Type + + + + + + + + + BBIE + Tenderer Requirement. Legal Reference. Text + The legal reference of the exclusion criterion. + 0..1 + Tenderer Requirement + Legal Reference + Text + Text. Type + Art. 45 2 b + + + + + + + + + ASBIE + Tenderer Requirement. Suggested_ Evidence. Evidence + An item of evidence that should be submitted to satisfy this requirement. + 0..n + Tenderer Requirement + Suggested + Evidence + Evidence + Evidence + + + + + + + + + + + ABIE + Tendering Criterion. Details + A class to describe an item of criterion support for representations of capabilities or the ability to meet tendering requirements, which an economic operator must provide for acceptance into a tendering process. + Tendering Criterion + + + + + + + + + BBIE + Tendering Criterion. Identifier + An identifier for this item of criterion support. + 0..1 + Tendering Criterion + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Criterion. Criterion Type Code. Code + A code signifying the type of criterion. + 0..1 + Tendering Criterion + Criterion Type Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Criterion. Name + The name of the criterion. + 0..1 + Tendering Criterion + Name + Name + Name. Type + + + + + + + + + BBIE + Tendering Criterion. Description. Text + The textual description for this criterion. + 0..n + Tendering Criterion + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Criterion. Weight Numeric. Numeric + A weighting to provide for automatic scoring of the criterion. + 0..1 + Tendering Criterion + Weight Numeric + Numeric + Numeric. Type + + + + + + + + + BBIE + Tendering Criterion. Fulfilment Indicator. Indicator + An indication that this criterion has been fulfilled. + 0..1 + Tendering Criterion + Fulfilment Indicator + Indicator + Indicator. Type + TRUE means fulfilled, FALSE means not fulfilled + + + + + + + + + BBIE + Tendering Criterion. Fulfilment Indicator Type Code. Code + A code signifying how this criterion has been fulfilled. + + 0..1 + Tendering Criterion + Fulfilment Indicator Type Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Criterion. Evaluation Method Type Code. Code + A code signifying the type of Evaluation. + 0..1 + Tendering Criterion + Evaluation Method Type Code + Code + Code. Type + Weight + + + + + + + + + BBIE + Tendering Criterion. Weighting Consideration Description. Text + The textual description of the Weighting Description + 0..n + Tendering Criterion + Weighting Consideration Description + Text + Text. Type + + + + + + + + + ASBIE + Tendering Criterion. Sub_ Tendering Criterion. Tendering Criterion + One or more tendering subcriteria. + 0..n + Tendering Criterion + Sub + Tendering Criterion + Tendering Criterion + Tendering Criterion + + + + + + + + + ASBIE + Tendering Criterion. Legislation + The legislation reference for the criterion. + 0..n + Tendering Criterion + Legislation + Legislation + Legislation + + + + + + + + + ASBIE + Tendering Criterion. Tendering Criterion Property Group + The sets of properties that can be used to fulfil the tendering criterion. + 1..n + Tendering Criterion + Tendering Criterion Property Group + Tendering Criterion Property Group + Tendering Criterion Property Group + + + + + + + + + + + ABIE + Tendering Criterion Property. Details + A class to describe the criterion properties. + Tendering Criterion Property + + + + + + + + + BBIE + Tendering Criterion Property. Identifier + An identifier to refer to the criterion property. + 0..1 + Tendering Criterion Property + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Criterion Property. Name + The name of the criterion property. + 0..1 + Tendering Criterion Property + Name + Name + Name. Type + + + + + + + + + BBIE + Tendering Criterion Property. Description. Text + A description of the criterion property. + 0..n + Tendering Criterion Property + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Criterion Property. Type Code. Code + A mutually agreed code signifying the type of the property. + 0..1 + Tendering Criterion Property + Type Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Criterion Property. Value Data Type Code. Code + The data type of the numeric value and any constraints on the data type metadata. + 0..1 + Tendering Criterion Property + Value Data Type Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Criterion Property. Value Unit Code. Code + The unit of measure of the numeric value as a quantity or measure. + 0..1 + Tendering Criterion Property + Value Unit Code + Code + Unit Of Measure + Unit Of Measure_ Code. Type + + + + + + + + + BBIE + Tendering Criterion Property. Value Currency Code. Code + The currency of the numeric value as an amount. + 0..1 + Tendering Criterion Property + Value Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Tendering Criterion Property. Expected_ Amount. Amount + The expected amount that the responder has to provide in the criterion response. + 0..1 + Tendering Criterion Property + Expected + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tendering Criterion Property. Expected_ Identifier. Identifier + The expected identifier that the responder has to provide in the criterion response. + 0..1 + Tendering Criterion Property + Expected + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Criterion Property. Expected_ Code. Code + The expected code that the responder has to provide in the criterion response. + 0..1 + Tendering Criterion Property + Expected + Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Criterion Property. Expected_ Value. Numeric + The expected value that the responder has to provide in the criterion response. + 0..1 + Tendering Criterion Property + Expected + Value + Numeric + Numeric. Type + + + + + + + + + BBIE + Tendering Criterion Property. Expected_ Description. Text + The description of the of the expected + 0..1 + Tendering Criterion Property + Expected + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Criterion Property. Maximum_ Amount. Amount + The maximum amount the response must have. + 0..1 + Tendering Criterion Property + Maximum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tendering Criterion Property. Minimum_ Amount. Amount + The minimum amount the response must have. + 0..1 + Tendering Criterion Property + Minimum + Amount + Amount + Amount. Type + + + + + + + + + BBIE + Tendering Criterion Property. Maximum_ Value. Numeric + The maximum value the response must have. + 0..1 + Tendering Criterion Property + Maximum + Value + Numeric + Numeric. Type + + + + + + + + + BBIE + Tendering Criterion Property. Minimum_ Value. Numeric + The minimum value the response must have. + 0..1 + Tendering Criterion Property + Minimum + Value + Numeric + Numeric. Type + + + + + + + + + BBIE + Tendering Criterion Property. Translation Type Code. Code + The type of Transation that the requirement shall be translated for example certified translation + 0..1 + Tendering Criterion Property + Translation Type Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Criterion Property. Certification Level Description. Text + The description of the level of the expected certification + 0..n + Tendering Criterion Property + Certification Level Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Criterion Property. Copy Quality Type Code. Code + The type of Copy quality, expressed as a code. + 0..1 + Tendering Criterion Property + Copy Quality Type Code + Code + Code. Type + + + + + + + + + ASBIE + Tendering Criterion Property. Applicable_ Period. Period + The period to which this criterion property shall apply. + 0..n + Tendering Criterion Property + Applicable + Period + Period + Period + + + + + + + + + ASBIE + Tendering Criterion Property. Template_ Evidence. Evidence + An evidence that can be used to meet this criterion property. + 0..n + Tendering Criterion Property + Template + Evidence + Evidence + Evidence + + + + + + + + + + + ABIE + Tendering Criterion Property Group. Details + A class to describe a group of tendering criteria + Tendering Criterion Property Group + + + + + + + + + BBIE + Tendering Criterion Property Group. Identifier + An identifier for the group of criteria. + 0..1 + Tendering Criterion Property Group + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Criterion Property Group. Name + The name of the group. + 0..1 + Tendering Criterion Property Group + Name + Name + Name. Type + + + + + + + + + BBIE + Tendering Criterion Property Group. Description. Text + The textual description for this group. + 0..n + Tendering Criterion Property Group + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Criterion Property Group. Property Group Type Code. Code + A code signifying the type of the property group + 0..1 + Tendering Criterion Property Group + Property Group Type Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Criterion Property Group. Fulfilment Indicator. Indicator + An indication that this group of criteria have been fulfilled. + 0..1 + Tendering Criterion Property Group + Fulfilment Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Criterion Property Group. Fulfilment Indicator Type Code. Code + A code signifying how this group of criteria have been fulfilled. + 0..1 + Tendering Criterion Property Group + Fulfilment Indicator Type Code + Code + Code. Type + + + + + + + + + ASBIE + Tendering Criterion Property Group. Tendering Criterion Property + All the criteria properties comprising the tendering criterion. + 1..n + Tendering Criterion Property Group + Tendering Criterion Property + Tendering Criterion Property + Tendering Criterion Property + + + + + + + + + ASBIE + Tendering Criterion Property Group. Subsidiary_ Tendering Criterion Property Group. Tendering Criterion Property Group + Subsidiary tendering criteria groups comprising this tendering criterion. + 0..n + Tendering Criterion Property Group + Subsidiary + Tendering Criterion Property Group + Tendering Criterion Property Group + Tendering Criterion Property Group + + + + + + + + + + + ABIE + Tendering Criterion Response. Details + A class to describe a response to a criterion property. + Tendering Criterion Response + + + + + + + + + BBIE + Tendering Criterion Response. Identifier + An identifier for this criterion property response. + 0..1 + Tendering Criterion Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Criterion Response. Name + The name of the criterion property response + 0..1 + Tendering Criterion Response + Name + Name + Name. Type + + + + + + + + + BBIE + Tendering Criterion Response. Description. Text + A description of the criterion response + 0..n + Tendering Criterion Response + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Criterion Response. Validated Criterion Property Identifier. Identifier + An identifier for this item of criterion support. + 0..1 + Tendering Criterion Response + Validated Criterion Property Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Criterion Response. Confidentiality Level Code. Code + A code specifying the confidentiality level of the response to this criterion. + 0..1 + Tendering Criterion Response + Confidentiality Level Code + Code + Code. Type + + + + + + + + + ASBIE + Tendering Criterion Response. Response Value + The criterion requirement property values. + 0..n + Tendering Criterion Response + Response Value + Response Value + Response Value + + + + + + + + + ASBIE + Tendering Criterion Response. Applicable_ Period. Period + The period to which this criterion property response applies. + 0..n + Tendering Criterion Response + Applicable + Period + Period + Period + + + + + + + + + ASBIE + Tendering Criterion Response. Evidence Supplied + A reference to the evidence supporting this criterion property response. + 0..n + Tendering Criterion Response + Evidence Supplied + Evidence Supplied + Evidence Supplied + + + + + + + + + + + ABIE + Tendering Process. Details + A class to describe the process of a formal offer and response to execute work or supply goods at a stated price. + Tendering Process + + + + + + + + + BBIE + Tendering Process. Identifier + An identifier for this tendering process. + 0..1 + Tendering Process + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Process. Original_ Contracting System. Identifier + When reopening a tendering process, the identifier of the original framework agreement or dynamic purchasing system. + 0..1 + Tendering Process + Original + Contracting System + Identifier + Identifier. Type + + + + + + + + + BBIE + Tendering Process. Description. Text + Text describing the tendering process. + 0..n + Tendering Process + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Process. Negotiation_ Description. Text + Text describing the negotiation to be followed during the tendering process. + 0..n + Tendering Process + Negotiation + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Process. Procedure Code. Code + A code signifying the type of this tendering procedure. + 0..1 + Tendering Process + Procedure Code + Code + Code. Type + Open, Restricted, Negotiated + + + + + + + + + BBIE + Tendering Process. Urgency Code. Code + A code signifying the urgency of this tendering process. + 0..1 + Tendering Process + Urgency Code + Code + Code. Type + Urgent, Normal, Emergency + + + + + + + + + BBIE + Tendering Process. Expense Code. Code + A code signifying the type of expense for this tendering process. + 0..1 + Tendering Process + Expense Code + Code + Code. Type + Normal, Anticipated + + + + + + + + + BBIE + Tendering Process. Part Presentation Code. Code + A code signifying the type of presentation of tenders required (e.g., one lot, multiple lots, or all the lots). + 0..1 + Tendering Process + Part Presentation Code + Code + Code. Type + One Lot, Multiple Lots, All Lots + + + + + + + + + BBIE + Tendering Process. Contracting System Code. Code + A code signifying the type of contracting system (e.g., framework agreement, dynamic purchasing system). If the procedure is individual (nonrepetitive), this code should be omitted. + 0..1 + Tendering Process + Contracting System Code + Code + Code. Type + Framework Agreement, Dynamic Purchasing System + + + + + + + + + BBIE + Tendering Process. Submission Method Code. Code + A code signifying the method to be followed in submitting tenders. + 0..1 + Tendering Process + Submission Method Code + Code + Code. Type + Manual, Electronically, etc. + + + + + + + + + BBIE + Tendering Process. Candidate Reduction_ Constraint. Indicator + An indicator that the number of candidates participating in this process has been reduced (true) or not (false). + 0..1 + Tendering Process + Candidate Reduction + Constraint + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Process. Government Agreement_ Constraint. Indicator + An indicator that the project associated with this tendering process is constrained by a government procurement agreement (true) or not (false). + 0..1 + Tendering Process + Government Agreement + Constraint + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Process. Access Tools_ URI. Identifier + The URI where the tools for electronic communication related with the tendering process can be found. + 0..1 + Tendering Process + Access Tools + URI + Identifier + Identifier. Type + + + + + + + + + ASBIE + Tendering Process. Document Availability_ Period. Period + The period during which documents relating to this tendering process must be completed. + 0..1 + Tendering Process + Document Availability + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Tender Submission Deadline_ Period. Period + The period during which tenders must be delivered. + 0..1 + Tendering Process + Tender Submission Deadline + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Invitation Submission_ Period. Period + The period during which invitations to tender must be completed and delivered. + 0..1 + Tendering Process + Invitation Submission + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Participation Request Reception_ Period. Period + The period during which requests for participation must be completed and delivered. + 0..1 + Tendering Process + Participation Request Reception + Period + Period + Period + + + + + + + + + ASBIE + Tendering Process. Notice_ Document Reference. Document Reference + A reference to a notice pertaining to this tendering process. + 0..n + Tendering Process + Notice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Process. Additional_ Document Reference. Document Reference + A reference to an additional document. + 0..n + Tendering Process + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Process. Process Justification + A justification for the selection of this tendering process. + 0..n + Tendering Process + Process Justification + Process Justification + Process Justification + + + + + + + + + ASBIE + Tendering Process. Economic Operator Short List + A set of criteria used to create a short list of candidates. + 0..n + Tendering Process + Economic Operator Short List + Economic Operator Short List + Economic Operator Short List + + + + + + + + + ASBIE + Tendering Process. Open Tender_ Event. Event + Textual description of the legal form required for potential tenderers. + 0..n + Tendering Process + Open Tender + Event + Event + Event + + + + + + + + + ASBIE + Tendering Process. Auction Terms + The terms to be fulfilled by tenderers if an auction is to be executed before the awarding of a tender. + 0..1 + Tendering Process + Auction Terms + Auction Terms + Auction Terms + + + + + + + + + ASBIE + Tendering Process. Framework Agreement + A tendering framework agreement. + 0..1 + Tendering Process + Framework Agreement + Framework Agreement + Framework Agreement + + + + + + + + + ASBIE + Tendering Process. Contracting System + A reference to a contracting system. Only when the procedure is repetitive. + 0..n + Tendering Process + Contracting System + Contracting System + Contracting System + + + + + + + + + + + ABIE + Tendering Terms. Details + A class to describe tendering terms for a tendering process. + Tendering Terms + + + + + + + + + BBIE + Tendering Terms. Awarding Method Type Code. Code + A code signifying the awarding method in a tendering process (e.g., a method favoring the tender with the lowest price or the tender that is most economically advantageous). + 0..1 + Tendering Terms + Awarding Method Type Code + Code + Code. Type + Price, Multiple criteria + + + + + + + + + BBIE + Tendering Terms. Price Evaluation Code. Code + Textual description of the legal form required for potential tenderers. + 0..1 + Tendering Terms + Price Evaluation Code + Code + Code. Type + Unit prices, global price + + + + + + + + + BBIE + Tendering Terms. Maximum Variant_ Quantity. Quantity + Maximum number of variants the tenderer is allowed to present for this tendering project. + 0..1 + Tendering Terms + Maximum Variant + Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Tendering Terms. Variant_ Constraint. Indicator + An indicator that variants are allowed and unconstrained in number (true) or not allowed (false). + 0..1 + Tendering Terms + Variant + Constraint + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Terms. Accepted Variants_ Description. Text + Text specifying the things for which variants are accepted. + 0..n + Tendering Terms + Accepted Variants + Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Price Revision_ Formula Description. Text + Text describing the formula for price revision. + 0..n + Tendering Terms + Price Revision + Formula Description + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Funding_ Program Code. Code + The program that funds the tendering process (e.g., "National", "European"), expressed as a code. + 0..1 + Tendering Terms + Funding + Program Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Terms. Funding_ Program. Text + The program that funds the tendering process (e.g., EU 6th Framework Program) expressed as text. + 0..n + Tendering Terms + Funding + Program + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Maximum_ Advertisement. Amount + The maximum advertised monetary value of the tendering process. + 0..1 + Tendering Terms + Maximum + Advertisement + Amount + Amount. Type + + + + + + + + + BBIE + Tendering Terms. Note. Text + Free-form text conveying information that is not contained explicitly in other structures. + 0..n + Tendering Terms + Note + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Payment Frequency Code. Code + A code signifying the frequency of payment in the contract associated with the tendering process. + 0..1 + Tendering Terms + Payment Frequency Code + Code + Code. Type + + + + + + + + + BBIE + Tendering Terms. Economic Operator Registry_ URI. Identifier + The Uniform Resource Identifier (URI) of an electronic registry of economic operators. + 0..1 + Tendering Terms + Economic Operator Registry + URI + Identifier + Identifier. Type + Web site + + + + + + + + + BBIE + Tendering Terms. Required Curricula. Indicator + An indicator that tenderers are required to provide a curriculum vitae for each participant in the project (true) or are not so required (false). + 0..1 + Tendering Terms + Required Curricula + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Terms. Other_ Conditions. Indicator + Indicates whether other conditions exist (true) or not (false). If the indicator is true, the description may be provided. + 0..1 + Tendering Terms + Other + Conditions + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Terms. Recurring_ Procurement. Indicator + Indicates whether the procurement is recurring (true) or not (false). + 0..1 + Tendering Terms + Recurring + Procurement + Indicator + Indicator. Type + + + + + + + + + BBIE + Tendering Terms. Estimated Timing_ Further Publication. Text + The description of the estimated timing for further notices to be published. + 0..n + Tendering Terms + Estimated Timing + Further Publication + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Additional_ Conditions. Text + Other existing conditions. + 0..n + Tendering Terms + Additional + Conditions + Text + Text. Type + + + + + + + + + BBIE + Tendering Terms. Latest_ Security Clearance Date. Date + The end date until which the candidates can obtain the necessary level of security clearance. + 0..1 + Tendering Terms + Latest + Security Clearance Date + Date + Date. Type + + + + + + + + + BBIE + Tendering Terms. Documentation Fee Amount. Amount + The amount to be paid to obtain the contract documents and additional documentation. + 0..1 + Tendering Terms + Documentation Fee Amount + Amount + Amount. Type + + + + + + + + + ASBIE + Tendering Terms. Penalty_ Clause. Clause + The penalty clauses + 0..n + Tendering Terms + Penalty + Clause + Clause + Clause + + + + + + + + + ASBIE + Tendering Terms. Required_ Financial Guarantee. Financial Guarantee + A financial guarantee of a tenderer or bid submitter's actual entry into a contract in the event that it is the successful bidder. + 0..n + Tendering Terms + Required + Financial Guarantee + Financial Guarantee + Financial Guarantee + + + + + + + + + ASBIE + Tendering Terms. Procurement Legislation_ Document Reference. Document Reference + A reference to a document providing references to procurement legislation applicable to the tendering process. + 0..1 + Tendering Terms + Procurement Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Fiscal Legislation_ Document Reference. Document Reference + A reference to a document providing references to fiscal legislation applicable to the tendering process. + 0..1 + Tendering Terms + Fiscal Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Environmental Legislation_ Document Reference. Document Reference + A reference to a document providing references to environmental legislation applicable to the tendering process. + 0..1 + Tendering Terms + Environmental Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Employment Legislation_ Document Reference. Document Reference + A reference to a document providing references to employment legislation applicable to the tendering process. + 0..1 + Tendering Terms + Employment Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Contractual_ Document Reference. Document Reference + A reference to a document that will become part of the awarded contract. + 0..n + Tendering Terms + Contractual + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Call For Tenders_ Document Reference. Document Reference + A reference to the Call for Tender associated with these tendering terms. + 0..1 + Tendering Terms + Call For Tenders + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Warranty Validity_ Period. Period + The period during which a warranty for work, service, or goods associated with these tendering terms is valid. + 0..1 + Tendering Terms + Warranty Validity + Period + Period + Period + + + + + + + + + ASBIE + Tendering Terms. Payment Terms + A specification of payment terms associated with the tendering process. + 0..n + Tendering Terms + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Tendering Terms. Tenderer Qualification Request + Required set of qualifications for a tenderer in this tendering process. + 0..n + Tendering Terms + Tenderer Qualification Request + Tenderer Qualification Request + Tenderer Qualification Request + + + + + + + + + ASBIE + Tendering Terms. Allowed_ Subcontract Terms. Subcontract Terms + Subcontract terms for the tendering process. + 0..n + Tendering Terms + Allowed + Subcontract Terms + Subcontract Terms + Subcontract Terms + + + + + + + + + ASBIE + Tendering Terms. Tender Preparation + Directions for preparing a tender for the+D2057 tendering process. + 0..n + Tendering Terms + Tender Preparation + Tender Preparation + Tender Preparation + Curricula required, Experience required, .... + + + + + + + + + ASBIE + Tendering Terms. Contract Execution Requirement + A requirement relating to execution of the contract that will be awarded as a result of the tendering process. + 0..n + Tendering Terms + Contract Execution Requirement + Contract Execution Requirement + Contract Execution Requirement + + + + + + + + + ASBIE + Tendering Terms. Awarding Terms + The terms in the tendering process for awarding the contract for a project. + 0..1 + Tendering Terms + Awarding Terms + Awarding Terms + Awarding Terms + + + + + + + + + ASBIE + Tendering Terms. Additional Information_ Party. Party + A party that has additional information about the tendering process. + 0..1 + Tendering Terms + Additional Information + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Document Provider_ Party. Party + The party that has the contract documents for the tendering process. + 0..1 + Tendering Terms + Document Provider + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Tender Recipient_ Party. Party + The party to which tenders should be presented. + 0..1 + Tendering Terms + Tender Recipient + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Contract Responsible_ Party. Party + The party responsible for the execution of the contract. + 0..1 + Tendering Terms + Contract Responsible + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Tender Evaluation_ Party. Party + A party in the contracting authority responsible for evaluating tenders received. + 0..n + Tendering Terms + Tender Evaluation + Party + Party + Party + + + + + + + + + ASBIE + Tendering Terms. Tender Validity_ Period. Period + The period during which tenders submitted for this tendering process must remain valid. + 0..1 + Tendering Terms + Tender Validity + Period + Period + Period + + + + + + + + + ASBIE + Tendering Terms. Contract Acceptance_ Period. Period + The period of time during which the contracting authority may accept a contract. + 0..1 + Tendering Terms + Contract Acceptance + Period + Period + Period + + + + + + + + + ASBIE + Tendering Terms. Appeal Terms + Information about the terms to present for an appeal against a tender award. + 0..1 + Tendering Terms + Appeal Terms + Appeal Terms + Appeal Terms + + + + + + + + + ASBIE + Tendering Terms. Language + One of the default languages specified for the tendering process. + 0..n + Tendering Terms + Language + Language + Language + + + + + + + + + ASBIE + Tendering Terms. Budget Account Line + A budget account line associated with the tendering process. + 0..n + Tendering Terms + Budget Account Line + Budget Account Line + Budget Account Line + + + + + + + + + ASBIE + Tendering Terms. Replaced Notice_ Document Reference. Document Reference + A class defining a reference to the notice that is being replaced. + 0..1 + Tendering Terms + Replaced Notice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tendering Terms. Lot Distribution + List of specific ways to tender to the lots of the procurement project. + 0..1 + Tendering Terms + Lot Distribution + Lot Distribution + Lot Distribution + + + + + + + + + ASBIE + Tendering Terms. Post Award Process + Information about the post-award process. + 0..1 + Tendering Terms + Post Award Process + Post Award Process + Post Award Process + + + + + + + + + ASBIE + Tendering Terms. Economic Operator Short List + A set of criteria used to create a short list of candidates. + 0..1 + Tendering Terms + Economic Operator Short List + Economic Operator Short List + Economic Operator Short List + + + + + + + + + + + ABIE + Trade Financing. Details + A class to describe a trade financing instrument. + Trade Financing + + + + + + + + + BBIE + Trade Financing. Identifier + An identifier for this trade financing instrument. + 0..1 + Trade Financing + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Trade Financing. Financing Instrument Code. Code + A code signifying the type of this financing instrument. + 0..1 + Trade Financing + Financing Instrument Code + Code + Code. Type + Factoring , Invoice Financing , Pre-shipment Financing , Letter of Credit , Irrevocable Letter of Credit . + + + + + + + + + + ASBIE + Trade Financing. Contract_ Document Reference. Document Reference + A reference to a contract document. + 0..1 + Trade Financing + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Trade Financing. Document Reference + A reference to a document associated with this trade financing instrument. + 0..n + Trade Financing + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Trade Financing. Financing_ Party. Party + The financing party (bank or other enabled party). + 1 + Trade Financing + Financing + Party + Party + Party + + + + + + + + + ASBIE + Trade Financing. Financing_ Financial Account. Financial Account + An internal bank account used by the bank or its first agent to manage the line of credit granted to the financing requester. + 0..1 + Trade Financing + Financing + Financial Account + Financial Account + Financial Account + + + + + + + + + ASBIE + Trade Financing. Clause + A clause applicable to this trade financing instrument. + 0..n + Trade Financing + Clause + Clause + Clause + + + + + + + + + + + ABIE + Trading Terms. Details + A class for describing the terms of a trade agreement. + Trading Terms + + + + + + + + + BBIE + Trading Terms. Information. Text + Text describing the terms of a trade agreement. + 0..n + Trading Terms + Information + Text + Text. Type + Unless credit terms have been expressly agreed by Dell, payment for the products or services shall be made in full before physical delivery of products or services. Customer shall pay for all shipping and handling charges. + + + + + + + + + BBIE + Trading Terms. Reference. Text + A reference quoting the basis of the terms + 0..1 + Trading Terms + Reference + Text + Text. Type + http://www1.ap.dell.com/content/topics/topic.aspx/ap/policy/en/au/sales_terms_au + + + + + + + + + ASBIE + Trading Terms. Applicable_ Address. Address + The address at which these trading terms apply. + 0..1 + Trading Terms + Applicable + Address + Address + Address + + + + + + + + + + + ABIE + Transaction Conditions. Details + A class to describe purchasing, sales, or payment conditions. + Transaction Conditions + Payment Conditions, Sales Conditions + + + + + + + + + BBIE + Transaction Conditions. Identifier + An identifier for conditions of the transaction, typically purchase/sales conditions. + 0..1 + Transaction Conditions + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transaction Conditions. Action Code. Code + A code signifying a type of action relating to sales or payment conditions. + 0..1 + Transaction Conditions + Action Code + Code + Code. Type + + + + + + + + + BBIE + Transaction Conditions. Description. Text + Text describing the transaction conditions. + 0..n + Transaction Conditions + Description + Text + Text. Type + + + + + + + + + ASBIE + Transaction Conditions. Document Reference + A document associated with these transaction conditions. + 0..n + Transaction Conditions + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Transport Equipment. Details + A class to describe a piece of equipment used to transport goods. + Transport Equipment + Shipping Container, Sea Container, Rail Wagon, Pallet, Trailer, Unit Load Device, ULD + + + + + + + + + BBIE + Transport Equipment. Identifier + An identifier for this piece of transport equipment. + 0..1 + Transport Equipment + Identifier + Identifier + Identifier. Type + OCLU 1234567 + + + + + + + + + BBIE + Transport Equipment. Referenced_ Consignment Identifier. Identifier + An identifier for the consignment contained by this piece of transport equipment. + 0..n + Transport Equipment + Referenced + Consignment Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Equipment. Transport Equipment Type Code. Code + A code signifying the type of this piece of transport equipment. + 0..1 + Transport Equipment + Transport Equipment Type Code + Code + Transport Equipment Type + Transport Equipment Type_ Code. Type + + + + + + + + + BBIE + Transport Equipment. Provider Type Code. Code + A code signifying the type of provider of this piece of transport equipment. + 0..1 + Transport Equipment + Provider Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Owner Type Code. Code + A code signifying the type of owner of this piece of transport equipment. + 0..1 + Transport Equipment + Owner Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Size Type Code. Code + A code signifying the size and type of this piece of piece of transport equipment. When the piece of transport equipment is a shipping container, it is recommended to use ContainerSizeTypeCode for validation. + 0..1 + Transport Equipment + Size Type Code + Code + Code. Type + Container Size Type Code + + + + + + + + + BBIE + Transport Equipment. Disposition Code. Code + A code signifying the current disposition of this piece of transport equipment. + 0..1 + Transport Equipment + Disposition Code + Code + Code. Type + Status + + + + + + + + + BBIE + Transport Equipment. Fullness Indication Code. Code + A code signifying whether this piece of transport equipment is full, partially full, or empty. + 0..1 + Transport Equipment + Fullness Indication Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Refrigeration On_ Indicator. Indicator + An indicator that this piece of transport equipment's refrigeration is on (true) or off (false). + 0..1 + Transport Equipment + Refrigeration On + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Information. Text + Additional information about this piece of transport equipment. + 0..n + Transport Equipment + Information + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Returnability_ Indicator. Indicator + An indicator that this piece of transport equipment is returnable (true) or not (false). + 0..1 + Transport Equipment + Returnability + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Legal Status_ Indicator. Indicator + An indication of the legal status of this piece of transport equipment with respect to the Container Convention Code. + 0..1 + Transport Equipment + Legal Status + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Air Flow Percent. Percent + The percent of the airflow within this piece of transport equipment. + 0..1 + Transport Equipment + Air Flow Percent + Percent + Percent. Type + + + + + + + + + BBIE + Transport Equipment. Humidity Percent. Percent + The percent humidity within this piece of transport equipment. + 0..1 + Transport Equipment + Humidity Percent + Percent + Percent. Type + + + + + + + + + BBIE + Transport Equipment. Animal Food_ Approved Indicator. Indicator + An indicator that this piece of transport equipment is approved for animal food (true) or not (false). + 0..1 + Transport Equipment + Animal Food + Approved Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Human Food_ Approved Indicator. Indicator + An indicator that this piece of transport equipment is approved for human food (true) or not (false). + 0..1 + Transport Equipment + Human Food + Approved Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Dangerous Goods_ Approved Indicator. Indicator + An indicator that this piece of transport equipment is approved for dangerous goods (true) or not (false). + 0..1 + Transport Equipment + Dangerous Goods + Approved Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Refrigerated_ Indicator. Indicator + An indicator that this piece of transport equipment is refrigerated (true) or not (false). + 0..1 + Transport Equipment + Refrigerated + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Characteristics. Text + Characteristics of this piece of transport equipment. + 0..1 + Transport Equipment + Characteristics + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Damage_ Remarks. Text + Damage associated with this piece of transport equipment. + 0..n + Transport Equipment + Damage + Remarks + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Description. Text + Text describing this piece of transport equipment. + 0..n + Transport Equipment + Description + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Special_ Transport Requirements. Text + Special transport requirements expressed as text. + 0..n + Transport Equipment + Special + Transport Requirements + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment. Gross_ Weight. Measure + The gross weight of this piece of transport equipment. + 0..1 + Transport Equipment + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Transport Equipment. Gross_ Volume. Measure + The gross volume of this piece of transport equipment. + 0..1 + Transport Equipment + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Transport Equipment. Tare_ Weight. Measure + The weight of this piece of transport equipment when empty. + 0..1 + Transport Equipment + Tare + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Transport Equipment. Tracking Device Code. Code + A code signifying the tracking device for this piece of transport equipment. + 0..1 + Transport Equipment + Tracking Device Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment. Power. Indicator + An indicator that this piece of transport equipment can supply power (true) or not (false). + 0..1 + Transport Equipment + Power + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Equipment. Trace_ Identifier. Identifier + An identifier for use in tracing this piece of transport equipment, such as the EPC number used in RFID. + 0..1 + Transport Equipment + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Transport Equipment. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this piece of transport equipment. + 0..n + Transport Equipment + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Equipment. Transport Equipment Seal + A seal securing the door of a piece of transport equipment. + 0..n + Transport Equipment + Transport Equipment Seal + Transport Equipment Seal + Transport Equipment Seal + + + + + + + + + ASBIE + Transport Equipment. Minimum_ Temperature. Temperature + In the case of a refrigeration unit, the minimum allowable operating temperature for this container. + 0..1 + Transport Equipment + Minimum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Equipment. Maximum_ Temperature. Temperature + In the case of a refrigeration unit, the maximum allowable operating temperature for this container. + 0..1 + Transport Equipment + Maximum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Equipment. Provider_ Party. Party + The party providing this piece of transport equipment. + 0..1 + Transport Equipment + Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Equipment. Loading Proof_ Party. Party + The authorized party responsible for certifying that the goods were loaded into this piece of transport equipment. + 0..1 + Transport Equipment + Loading Proof + Party + Party + Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Supplier Party + The party that supplies this piece of transport equipment. + 0..1 + Transport Equipment + Supplier Party + Supplier Party + Supplier Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Owner_ Party. Party + The party that owns this piece of transport equipment. + 0..1 + Transport Equipment + Owner + Party + Party + Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Operating_ Party. Party + The party that operates this piece of transport equipment. + 0..1 + Transport Equipment + Operating + Party + Party + Party + Party responsible for proof of vanning (WCO ID 059) + + + + + + + + + ASBIE + Transport Equipment. Loading_ Location. Location + The location where this piece of transport equipment is loaded. + 0..1 + Transport Equipment + Loading + Location + Location + Location + Vanning address (WCO ID 068), Stuffing location + + + + + + + + + ASBIE + Transport Equipment. Unloading_ Location. Location + The location where this piece of transport equipment is unloaded. + 0..1 + Transport Equipment + Unloading + Location + Location + Location + + + + + + + + + ASBIE + Transport Equipment. Storage_ Location. Location + The location where this piece of transport equipment is being stored. + 0..1 + Transport Equipment + Storage + Location + Location + Location + + + + + + + + + ASBIE + Transport Equipment. Positioning_ Transport Event. Transport Event + A positioning of this piece of transport equipment. + 0..n + Transport Equipment + Positioning + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Quarantine_ Transport Event. Transport Event + A quarantine of this piece of transport equipment. + 0..n + Transport Equipment + Quarantine + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Delivery_ Transport Event. Transport Event + A delivery of this piece of transport equipment. + 0..n + Transport Equipment + Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Pickup_ Transport Event. Transport Event + A pickup of this piece of transport equipment. + 0..n + Transport Equipment + Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Handling_ Transport Event. Transport Event + A handling of this piece of transport equipment. + 0..n + Transport Equipment + Handling + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Loading_ Transport Event. Transport Event + A loading of this piece of transport equipment. + 0..n + Transport Equipment + Loading + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Transport Event + A transport event associated with this piece of transport equipment. + 0..n + Transport Equipment + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Equipment. Applicable_ Transport Means. Transport Means + The applicable transport means associated with this piece of transport equipment. + 0..1 + Transport Equipment + Applicable + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Equipment. Haulage_ Trading Terms. Trading Terms + A set of haulage trading terms associated with this piece of transport equipment. + 0..n + Transport Equipment + Haulage + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Transport Equipment. Hazardous Goods Transit + Transit-related information regarding a type of hazardous goods contained in this piece of transport equipment. + 0..n + Transport Equipment + Hazardous Goods Transit + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Transport Equipment. Packaged_ Transport Handling Unit. Transport Handling Unit + A packaged transport handling unit associated with this piece of transport equipment. + 0..n + Transport Equipment + Packaged + Transport Handling Unit + Transport Handling Unit + Transport Handling Unit + + + + + + + + + ASBIE + Transport Equipment. Service_ Allowance Charge. Allowance Charge + A service allowance charge associated with this piece of transport equipment. + 0..n + Transport Equipment + Service + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Transport Equipment. Freight_ Allowance Charge. Allowance Charge + A freight allowance charge associated with this piece of transport equipment. + 0..n + Transport Equipment + Freight + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Transport Equipment. Attached_ Transport Equipment. Transport Equipment + A piece of transport equipment attached to this piece of transport equipment. + 0..n + Transport Equipment + Attached + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transport Equipment. Delivery + The delivery of this piece of transport equipment. + 0..1 + Transport Equipment + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Transport Equipment. Pickup + The pickup of this piece of transport equipment. + 0..1 + Transport Equipment + Pickup + Pickup + Pickup + + + + + + + + + ASBIE + Transport Equipment. Despatch + The despatch of this piece of transport equipment. + 0..1 + Transport Equipment + Despatch + Despatch + Despatch + + + + + + + + + ASBIE + Transport Equipment. Shipment_ Document Reference. Document Reference + A reference to a shipping document associated with this piece of transport equipment. + 0..n + Transport Equipment + Shipment + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Equipment. Contained In_ Transport Equipment. Transport Equipment + A piece of transport equipment contained in this piece of transport equipment. + 0..n + Transport Equipment + Contained In + Transport Equipment + Transport Equipment + Transport Equipment + e.g. pallets inside containers + + + + + + + + + ASBIE + Transport Equipment. Package + A package contained in this piece of transport equipment. + 0..n + Transport Equipment + Package + Package + Package + + + + + + + + + ASBIE + Transport Equipment. Goods Item + A goods item contained in this piece of transport equipment. + 0..n + Transport Equipment + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Transport Equipment. Verified Gross Mass + The verified gross mass of this piece of transport equipment. + 0..1 + Transport Equipment + Verified Gross Mass + Verified Gross Mass + Verified Gross Mass + + + + + + + + + + + ABIE + Transport Equipment Seal. Details + A class to describe a device (a transport equipment seal) for securing the doors of a shipping container. + Transport Equipment Seal + Container Seal + + + + + + + + + BBIE + Transport Equipment Seal. Identifier + An identifier for this transport equipment seal. + 1 + Transport Equipment Seal + Identifier + Identifier + Identifier. Type + ACS1234 + + + + + + + + + BBIE + Transport Equipment Seal. Seal Issuer Type Code. Code + A code signifying the type of party that issues and is responsible for this transport equipment seal. + 0..1 + Transport Equipment Seal + Seal Issuer Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment Seal. Condition. Text + The condition of this transport equipment seal. + 0..1 + Transport Equipment Seal + Condition + Text + Text. Type + + + + + + + + + BBIE + Transport Equipment Seal. Seal Status Code. Code + A code signifying the condition of this transport equipment seal. + 0..1 + Transport Equipment Seal + Seal Status Code + Code + Code. Type + + + + + + + + + BBIE + Transport Equipment Seal. Sealing Party Type. Text + The role of the sealing party. + 0..1 + Transport Equipment Seal + Sealing Party Type + Text + Text. Type + Sealing Party + + + + + + + + + + + ABIE + Transport Event. Details + A class to describe a significant occurrence or happening related to the transportation of goods. + Transport Event + + + + + + + + + BBIE + Transport Event. Identification. Identifier + An identifier for this transport event within an agreed event identification scheme. + 0..1 + Transport Event + Identification + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Event. Occurrence Date. Date + The date of this transport event. + 0..1 + Transport Event + Occurrence Date + Date + Date. Type + + + + + + + + + BBIE + Transport Event. Occurrence Time. Time + The time of this transport event. + 0..1 + Transport Event + Occurrence Time + Time + Time. Type + + + + + + + + + BBIE + Transport Event. Transport Event Type Code. Code + A code signifying the type of this transport event. + 0..1 + Transport Event + Transport Event Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Event. Description. Text + Text describing this transport event. + 0..n + Transport Event + Description + Text + Text. Type + + + + + + + + + BBIE + Transport Event. Completion_ Indicator. Indicator + An indicator that this transport event has been completed (true) or not (false). + 0..1 + Transport Event + Completion + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Transport Event. Reported_ Shipment. Shipment + The shipment involved in this transport event. + 0..1 + Transport Event + Reported + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Transport Event. Current_ Status. Status + The current status of this transport event. + 0..n + Transport Event + Current + Status + Status + Status + + + + + + + + + ASBIE + Transport Event. Contact + A contact associated with this transport event. + 0..n + Transport Event + Contact + Contact + Contact + + + + + + + + + ASBIE + Transport Event. Location + The location associated with this transport event. + 0..1 + Transport Event + Location + Location + Location + + + + + + + + + ASBIE + Transport Event. Signature + A signature that can be used to sign for an entry or an exit at a transport location (e.g., port terminal). + 0..1 + Transport Event + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Event. Period + A period of time associated with this transport event. + 0..n + Transport Event + Period + Period + Period + + + + + + + + + + + ABIE + Transport Execution Terms. Details + A class to describe terms applying to a transport execution plan. + Transport Execution Terms + + + + + + + + + BBIE + Transport Execution Terms. Transport User_ Special Terms. Text + Text describing special terms specified by the transport user. + 0..n + Transport Execution Terms + Transport User + Special Terms + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Terms. Transport Service Provider_ Special Terms. Text + Text describing special terms specified by the transport service provider. + 0..n + Transport Execution Terms + Transport Service Provider + Special Terms + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Terms. Change Conditions. Text + Text describing conditions applying to a change of these transport execution terms. + 0..n + Transport Execution Terms + Change Conditions + Text + Text. Type + + + + + + + + + ASBIE + Transport Execution Terms. Payment Terms + Payment terms associated with the transportation service. + 0..n + Transport Execution Terms + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Delivery Terms + Delivery terms (e.g., Incoterms) associated with the transportation service. + 0..n + Transport Execution Terms + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Transport Execution Terms. Bonus_ Payment Terms. Payment Terms + Terms relating to payment of applicable bonuses associated with the transport service. + 0..1 + Transport Execution Terms + Bonus + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Commission_ Payment Terms. Payment Terms + Terms of payment applying to a commission specified in the transport execution plan. + 0..1 + Transport Execution Terms + Commission + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Penalty_ Payment Terms. Payment Terms + Terms of payment applying to a penalty specified in the transport execution plan. + 0..1 + Transport Execution Terms + Penalty + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Execution Terms. Environmental Emission + An environmental emission resulting from the transportation service. + 0..n + Transport Execution Terms + Environmental Emission + Environmental Emission + Environmental Emission + + + + + + + + + ASBIE + Transport Execution Terms. Notification Requirement + A notification requirement related to the transportation service; e.g., a requirement that the transport user should be notified when goods are ready for pickup. + 0..n + Transport Execution Terms + Notification Requirement + Notification Requirement + Notification Requirement + + + + + + + + + ASBIE + Transport Execution Terms. Service Charge_ Payment Terms. Payment Terms + Payment terms for the service charge associated with the transport service. + 0..1 + Transport Execution Terms + Service Charge + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + + + ABIE + Transport Handling Unit. Details + A class to describe a uniquely identifiable unit consisting of one or more packages, goods items, or pieces of transport equipment. + Transport Handling Unit + Logistics Unit, Handling Unit, THU + + + + + + + + + BBIE + Transport Handling Unit. Identifier + An identifier for this transport handling unit. + 0..1 + Transport Handling Unit + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Handling Unit. Transport Handling Unit Type Code. Code + A code signifying the type of this transport handling unit. + 0..1 + Transport Handling Unit + Transport Handling Unit Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Handling Unit. Handling Code. Code + The handling required for this transport handling unit, expressed as a code. + 0..1 + Transport Handling Unit + Handling Code + Code + Code. Type + Special Handling + + + + + + + + + BBIE + Transport Handling Unit. Handling_ Instructions. Text + The handling required for this transport handling unit, expressed as text. + 0..n + Transport Handling Unit + Handling + Instructions + Text + Text. Type + + + + + + + + + BBIE + Transport Handling Unit. Hazardous Risk_ Indicator. Indicator + An indicator that the materials contained in this transport handling unit are subject to an international regulation concerning the carriage of dangerous goods (true) or not (false). + 0..1 + Transport Handling Unit + Hazardous Risk + Indicator + Indicator + Indicator. Type + Default is negative + + + + + + + + + BBIE + Transport Handling Unit. Total_ Goods Item Quantity. Quantity + The total number of goods items in this transport handling unit. + 0..1 + Transport Handling Unit + Total + Goods Item Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Transport Handling Unit. Total_ Package Quantity. Quantity + The total number of packages in this transport handling unit. + 0..1 + Transport Handling Unit + Total + Package Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Transport Handling Unit. Damage_ Remarks. Text + Text describing damage associated with this transport handling unit. + 0..n + Transport Handling Unit + Damage + Remarks + Text + Text. Type + + + + + + + + + BBIE + Transport Handling Unit. Shipping_ Marks. Text + Text describing the marks and numbers on this transport handling unit. + 0..n + Transport Handling Unit + Shipping + Marks + Text + Text. Type + Marks and Numbers, Shipping Marks + + + + + + + + + BBIE + Transport Handling Unit. Trace_ Identifier. Identifier + An identifier for use in tracing this transport handling unit, such as the EPC number used in RFID. + 0..1 + Transport Handling Unit + Trace + Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Transport Handling Unit. Handling Unit_ Despatch Line. Despatch Line + A despatch line associated with this transport handling unit. + 0..n + Transport Handling Unit + Handling Unit + Despatch Line + Despatch Line + Despatch Line + + + + + + + + + ASBIE + Transport Handling Unit. Actual_ Package. Package + A package contained in this transport handling unit. + 0..n + Transport Handling Unit + Actual + Package + Package + Package + + + + + + + + + ASBIE + Transport Handling Unit. Received Handling Unit_ Receipt Line. Receipt Line + A receipt line associated with this transport handling unit. + 0..n + Transport Handling Unit + Received Handling Unit + Receipt Line + Receipt Line + Receipt Line + + + + + + + + + ASBIE + Transport Handling Unit. Transport Equipment + A piece of transport equipment associated with this transport handling unit. + 0..n + Transport Handling Unit + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transport Handling Unit. Transport Means + A means of transport associated with this transport handling unit. + 0..n + Transport Handling Unit + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Handling Unit. Hazardous Goods Transit + Transit-related information regarding a type of hazardous goods contained in this transport handling unit. + 0..n + Transport Handling Unit + Hazardous Goods Transit + Hazardous Goods Transit + Hazardous Goods Transit + + + + + + + + + ASBIE + Transport Handling Unit. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this transport handling unit. + 0..n + Transport Handling Unit + Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Handling Unit. Minimum_ Temperature. Temperature + The minimum required operating temperature of this transport handling unit. + 0..1 + Transport Handling Unit + Minimum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Handling Unit. Maximum_ Temperature. Temperature + The maximum allowable operating temperature of this transport handling unit. + 0..1 + Transport Handling Unit + Maximum + Temperature + Temperature + Temperature + + + + + + + + + ASBIE + Transport Handling Unit. Goods Item + A goods item contained in this transport handling unit. + 0..n + Transport Handling Unit + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Transport Handling Unit. Floor Space Measurement_ Dimension. Dimension + The floor space measurement dimension associated with this transport handling unit. + 0..1 + Transport Handling Unit + Floor Space Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Handling Unit. Pallet Space Measurement_ Dimension. Dimension + The pallet space measurement dimension associated to this transport handling unit. + 0..1 + Transport Handling Unit + Pallet Space Measurement + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transport Handling Unit. Shipment_ Document Reference. Document Reference + A reference to a shipping document associated with this transport handling unit. + 0..n + Transport Handling Unit + Shipment + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Handling Unit. Status + The status of this transport handling unit. + 0..n + Transport Handling Unit + Status + Status + Status + + + + + + + + + ASBIE + Transport Handling Unit. Customs Declaration + Describes identifiers or references relating to customs procedures. + 0..n + Transport Handling Unit + Customs Declaration + Customs Declaration + Customs Declaration + + + + + + + + + ASBIE + Transport Handling Unit. Referenced_ Shipment. Shipment + A shipment associated with this transport handling unit. + 0..n + Transport Handling Unit + Referenced + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Transport Handling Unit. Package + A package contained in this transport handling unit. + 0..n + Transport Handling Unit + Package + Package + Package + + + + + + + + + + + ABIE + Transport Means. Details + A class to describe a particular vehicle or vessel used for the conveyance of goods or persons. + Transport Means + Conveyance + + + + + + + + + BBIE + Transport Means. Journey Identifier. Identifier + An identifier for the regular service schedule of this means of transport. + 0..1 + Transport Means + Journey Identifier + Identifier + Identifier. Type + Voyage Number, Scheduled Conveyance Identifier (WCO ID 205), Flight Number + + + + + + + + + BBIE + Transport Means. Registration_ Nationality Identifier. Identifier + An identifier for the country in which this means of transport is registered. + 0..1 + Transport Means + Registration + Nationality Identifier + Identifier + Identifier. Type + Nationality of Means of Transport (WCO 175, 178 and 179) + LIB + + + + + + + + + BBIE + Transport Means. Registration_ Nationality. Text + Text describing the country in which this means of transport is registered. + 0..n + Transport Means + Registration + Nationality + Text + Text. Type + Flag of Vessel, Nationality of Ship + Liberia + + + + + + + + + BBIE + Transport Means. Direction Code. Code + A code signifying the direction of this means of transport. + 0..1 + Transport Means + Direction Code + Code + Code. Type + Transit Direction + North , East + + + + + + + + + BBIE + Transport Means. Transport Means Type Code. Code + A code signifying the type of this means of transport (truck, vessel, etc.). + 0..1 + Transport Means + Transport Means Type Code + Code + Code. Type + + + + + + + + + BBIE + Transport Means. Trade Service Code. Code + A code signifying the service regularly provided by the carrier operating this means of transport. + 0..1 + Transport Means + Trade Service Code + Code + Code. Type + + + + + + + + + ASBIE + Transport Means. Stowage + The location within the means of transport where goods are to be or have been stowed. + 0..1 + Transport Means + Stowage + Stowage + Stowage + + + + + + + + + ASBIE + Transport Means. Air Transport + An aircraft used for transport. + 0..1 + Transport Means + Air Transport + Air Transport + Air Transport + + + + + + + + + ASBIE + Transport Means. Road Transport + A vehicle used for road transport. + 0..1 + Transport Means + Road Transport + Road Transport + Road Transport + + + + + + + + + ASBIE + Transport Means. Rail Transport + Equipment used for rail transport. + 0..1 + Transport Means + Rail Transport + Rail Transport + Rail Transport + + + + + + + + + ASBIE + Transport Means. Maritime Transport + A vessel used for transport by water (not only by sea). + 0..1 + Transport Means + Maritime Transport + Maritime Transport + Maritime Transport + + + + + + + + + ASBIE + Transport Means. Owner_ Party. Party + The party that owns this means of transport. + 0..1 + Transport Means + Owner + Party + Party + Party + + + + + + + + + ASBIE + Transport Means. Measurement_ Dimension. Dimension + A measurable dimension (length, mass, weight, or volume) of this means of transport. + 0..n + Transport Means + Measurement + Dimension + Dimension + Dimension + + + + + + + + + + + ABIE + Transport Schedule. Details + Describes the location and schedule relating to a transport means. + Transport Schedule + + + + + + + + + BBIE + Transport Schedule. Sequence. Numeric + A number indicating the order of this status in the sequence in which statuses are to be presented. + 1 + Transport Schedule + Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Transport Schedule. Reference Date. Date + The reference date for the transport schedule status. + 0..1 + Transport Schedule + Reference Date + Date + Date. Type + + + + + + + + + BBIE + Transport Schedule. Reference Time. Time + The reference time for the transport schedule status. + 0..1 + Transport Schedule + Reference Time + Time + Time. Type + + + + + + + + + BBIE + Transport Schedule. Reliability Percent. Percent + The reliability of the transport schedule status, expressed as a percentage. + 0..1 + Transport Schedule + Reliability Percent + Percent + Percent. Type + + + + + + + + + BBIE + Transport Schedule. Remarks. Text + Remarks related to the transport schedule status. + 0..n + Transport Schedule + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Transport Schedule. Status_ Location. Location + The location for which status is reported. + 1 + Transport Schedule + Status + Location + Location + Location + + + + + + + + + ASBIE + Transport Schedule. Actual Arrival_ Transport Event. Transport Event + The actual arrival at a location. + 0..1 + Transport Schedule + Actual Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Actual Departure_ Transport Event. Transport Event + The actual departure from a location. + 0..1 + Transport Schedule + Actual Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Estimated Departure_ Transport Event. Transport Event + An estimated departure from a specified location. + 0..1 + Transport Schedule + Estimated Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Estimated Arrival_ Transport Event. Transport Event + An estimated arrival at a specified location. + 0..1 + Transport Schedule + Estimated Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Planned Departure_ Transport Event. Transport Event + The planned departure from a specified location. + 0..1 + Transport Schedule + Planned Departure + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transport Schedule. Planned Arrival_ Transport Event. Transport Event + The planned arrival at a specified location. + 0..1 + Transport Schedule + Planned Arrival + Transport Event + Transport Event + Transport Event + + + + + + + + + + + ABIE + Transportation Segment. Details + A class to describe one segment or leg in a transportation service. + Transportation Segment + + + + + + + + + BBIE + Transportation Segment. Sequence. Numeric + A number indicating the order of this segment in the sequence of transportation segments making up a transportation service. + 1 + Transportation Segment + Sequence + Numeric + Numeric. Type + 1, 2, 3, 4, etc. + + + + + + + + + BBIE + Transportation Segment. Transport Execution Plan Reference. Identifier + An identifier for the transport execution plan governing this transportation segment. + 0..1 + Transportation Segment + Transport Execution Plan Reference + Identifier + Identifier. Type + + + + + + + + + ASBIE + Transportation Segment. Transportation Service + The transportation service used in this transportation segment. + 1 + Transportation Segment + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transportation Segment. Transport Service Provider_ Party. Party + The transport service provider responsible for carrying out transportation services in this transportation segment. + 1 + Transportation Segment + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transportation Segment. Referenced_ Consignment. Consignment + A consignment referenced in this transportation segment. Such a consignment may have different identifiers than the consignment identifiers being used in the transportation service agreed between the transport user and the transport service provider. + 0..1 + Transportation Segment + Referenced + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Transportation Segment. Shipment Stage + The shipment stage associated with this transportation segment. + 0..n + Transportation Segment + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + + + ABIE + Transportation Service. Details + A class to describe a transportation service. + Transportation Service + + + + + + + + + BBIE + Transportation Service. Transport Service Code. Code + A code signifying the extent of this transportation service (e.g., door-to-door, port-to-port). + 1 + Transportation Service + Transport Service Code + Code + Code. Type + + + + + + + + + BBIE + Transportation Service. Tariff Class Code. Code + A code signifying the tariff class applicable to this transportation service. + 0..1 + Transportation Service + Tariff Class Code + Code + Code. Type + Tariff Class Specifier + + + + + + + + + BBIE + Transportation Service. Priority. Text + The priority of this transportation service. + 0..1 + Transportation Service + Priority + Text + Text. Type + + + + + + + + + BBIE + Transportation Service. Freight Rate Class Code. Code + A code signifying the rate class for freight in this transportation service. + 0..1 + Transportation Service + Freight Rate Class Code + Code + Code. Type + Charge Basis + + + + + + + + + BBIE + Transportation Service. Transportation Service Description. Text + Text describing this transportation service. + 0..n + Transportation Service + Transportation Service Description + Text + Text. Type + + + + + + + + + BBIE + Transportation Service. Transportation Service Details URI. Identifier + The Uniform Resource Identifier (URI) of a document providing additional details regarding this transportation service. + 0..1 + Transportation Service + Transportation Service Details URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Service. Nomination Date. Date + In a transport contract, the deadline date by which this transportation service has to be booked. For example, if this service is scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011. + 0..1 + Transportation Service + Nomination Date + Date + Date. Type + + + + + + + + + BBIE + Transportation Service. Nomination Time. Time + In a transport contract, the deadline time by which this transportation service has to be booked. For example, if this service is scheduled for Wednesday 16 February 2011 at 10 a.m. CET, the nomination date might be Tuesday15 February 2011 and the nomination time 4 p.m. at the latest. + 0..1 + Transportation Service + Nomination Time + Time + Time. Type + + + + + + + + + BBIE + Transportation Service. Name + The name of this transportation service. + 0..1 + Transportation Service + Name + Name + Name. Type + + + + + + + + + BBIE + Transportation Service. Sequence. Numeric + A number indicating the order of this transportation service in a sequence of transportation services. + 0..1 + Transportation Service + Sequence + Numeric + Numeric. Type + + + + + + + + + ASBIE + Transportation Service. Transport Equipment + A piece of transport equipment used in this transportation service. + 0..n + Transportation Service + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transportation Service. Supported_ Transport Equipment. Transport Equipment + A piece of transport equipment supported in this transportation service. + 0..n + Transportation Service + Supported + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transportation Service. Unsupported_ Transport Equipment. Transport Equipment + A piece of transport equipment that is not supported in this transportation service. + 0..n + Transportation Service + Unsupported + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Transportation Service. Commodity Classification + A classification of this transportation service. + 0..n + Transportation Service + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Transportation Service. Supported_ Commodity Classification. Commodity Classification + A classification (e.g., general cargo) for commodities that can be handled in this transportation service. + 0..n + Transportation Service + Supported + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Transportation Service. Unsupported_ Commodity Classification. Commodity Classification + A classification for commodities that cannot be handled in this transportation service. + 0..n + Transportation Service + Unsupported + Commodity Classification + Commodity Classification + Commodity Classification + + + + + + + + + ASBIE + Transportation Service. Total Capacity_ Dimension. Dimension + The total capacity or volume available in this transportation service. + 0..1 + Transportation Service + Total Capacity + Dimension + Dimension + Dimension + + + + + + + + + ASBIE + Transportation Service. Shipment Stage + One of the stages of shipment in this transportation service. + 0..n + Transportation Service + Shipment Stage + Shipment Stage + Shipment Stage + + + + + + + + + ASBIE + Transportation Service. Transport Event + One of the transport events taking place in this transportation service. + 0..n + Transportation Service + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Service. Responsible Transport Service Provider_ Party. Party + The transport service provider responsible for this transportation service. + 0..1 + Transportation Service + Responsible Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transportation Service. Environmental Emission + An environmental emission resulting from this transportation service. + 0..n + Transportation Service + Environmental Emission + Environmental Emission + Environmental Emission + + + + + + + + + ASBIE + Transportation Service. Estimated Duration_ Period. Period + The estimated duration of this transportation service. + 0..1 + Transportation Service + Estimated Duration + Period + Period + Period + + + + + + + + + ASBIE + Transportation Service. Scheduled_ Service Frequency. Service Frequency + A class to specify which day of the week a transport service is operational. + 0..n + Transportation Service + Scheduled + Service Frequency + Service Frequency + Service Frequency + + + + + + + + + + + ABIE + Unstructured Price. Details + A simplified version of the Price class intended for applications such as telephone billing. + Unstructured Price + + + + + + + + + BBIE + Unstructured Price. Price Amount. Amount + The price amount. + 0..1 + Unstructured Price + Price Amount + Amount + Amount. Type + 23.45 + + + + + + + + + BBIE + Unstructured Price. Time Amount. Text + The usage time upon which the price is based. + 0..1 + Unstructured Price + Time Amount + Text + Text. Type + + + + + + + + + + + ABIE + Utility Item. Details + A class to describe the consumption of a utility product. + Utility Item + + + + + + + + + BBIE + Utility Item. Identifier + An identifier for this utility item. + 1 + Utility Item + Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Utility Item. Subscriber Identifier. Identifier + An identifier for the subscriber to the utility. + 0..1 + Utility Item + Subscriber Identifier + Identifier + Identifier. Type + 98143211 + + + + + + + + + BBIE + Utility Item. Subscriber Type. Text + Identification of the subscriber type, expressed as text.. + 0..1 + Utility Item + Subscriber Type + Text + Text. Type + + + + + + + + + BBIE + Utility Item. Subscriber Type Code. Code + The code identifying for the service type. + 0..1 + Utility Item + Subscriber Type Code + Code + Code. Type + + + + + + + + + BBIE + Utility Item. Description. Text + Text describing the consumption product. + 0..n + Utility Item + Description + Text + Text. Type + Basis price quarter (5.761 kWh per 35,58 cents), Transport of electricity, etc. + + + + + + + + + BBIE + Utility Item. Pack Quantity. Quantity + The unit packaging quantity. + 0..1 + Utility Item + Pack Quantity + Quantity + Quantity. Type + 1 + + + + + + + + + BBIE + Utility Item. Pack Size. Numeric + The number of items in a pack. + 0..1 + Utility Item + Pack Size + Numeric + Numeric. Type + + + + + + + + + BBIE + Utility Item. Consumption Type. Text + The type of product consumed, expressed as text. + 0..1 + Utility Item + Consumption Type + Text + Text. Type + Consumption + + + + + + + + + BBIE + Utility Item. Consumption Type Code. Code + The type of product consumed, expressed as a code. + 0..1 + Utility Item + Consumption Type Code + Code + Code. Type + Consumption + + + + + + + + + BBIE + Utility Item. Current_ Charge Type. Text + Information of the actual payments type for the utility Item + 0..1 + Utility Item + Current + Charge Type + Text + Text. Type + + + + + + + + + BBIE + Utility Item. Current_ Charge Type Code. Code + Information of the actual payments type code expressed as a code + 0..1 + Utility Item + Current + Charge Type Code + Code + Code. Type + + + + + + + + + BBIE + Utility Item. One Time_ Charge Type. Text + Information about the one-time payment type in case everything is paid One time + 0..1 + Utility Item + One Time + Charge Type + Text + Text. Type + + + + + + + + + BBIE + Utility Item. One Time_ Charge Type Code. Code + Information about the one-time payment type code + 0..1 + Utility Item + One Time + Charge Type Code + Code + Code. Type + + + + + + + + + ASBIE + Utility Item. Tax Category + The tax category applicable to this utility item. + 0..1 + Utility Item + Tax Category + Tax Category + Tax Category + + + + + + + + + ASBIE + Utility Item. Contract + A contract setting forth conditions applicable to this utility item. + 0..1 + Utility Item + Contract + Contract + Contract + + + + + + + + + + + ABIE + Verified Gross Mass. Details + A class to describe a verified gross mass (VGM) measure and its documentation. + Verified Gross Mass + VGM + + + + + + + + + BBIE + Verified Gross Mass. Identifier + An identifier for this mass measure. + 0..1 + Verified Gross Mass + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Verified Gross Mass. Weighing Date. Date + The weighing date. + 0..1 + Verified Gross Mass + Weighing Date + Date + Date. Type + + + + + + + + + BBIE + Verified Gross Mass. Weighing Time. Time + The weighing time. + 0..1 + Verified Gross Mass + Weighing Time + Time + Time. Type + + + + + + + + + BBIE + Verified Gross Mass. Weighing Method Code. Code + A code signifying the weighing method used (e.g. according the SOLAS Convention). + 1 + Verified Gross Mass + Weighing Method Code + Code + Weighing Method + Weighing Method_ Code. Type + 1, 2 + + + + + + + + + BBIE + Verified Gross Mass. Weighing Device Identifier. Identifier + An identifier for the weighing device used for executing the weight measurement. + 0..1 + Verified Gross Mass + Weighing Device Identifier + Identifier + Identifier. Type + WeighScale-01 + + + + + + + + + BBIE + Verified Gross Mass. Weighing Device Type. Text + Text describing the weighing device type used for executing the weight measurement. + 0..1 + Verified Gross Mass + Weighing Device Type + Text + Text. Type + Truck Scale, Weighbridge + + + + + + + + + BBIE + Verified Gross Mass. Gross_ Mass. Measure + The total verified gross mass of a packed container which includes the cargo weight, block and bracing materials and container tare. + 1 + Verified Gross Mass + Gross + Mass + Measure + Measure. Type + VGM + + + + + + + + + ASBIE + Verified Gross Mass. Weighing_ Party. Party + The party executing the weight measure. + 0..1 + Verified Gross Mass + Weighing + Party + Party + Party + + + + + + + + + ASBIE + Verified Gross Mass. Shipper_ Party. Party + The party playing the role of the Shipper (BCO, FF or NVOCC) who is responsible for the VGM (e.g. according the SOLAS Convention). + 0..1 + Verified Gross Mass + Shipper + Party + Party + Party + + + + + + + + + ASBIE + Verified Gross Mass. Responsible_ Party. Party + The party responsible for signing the VGM on behalf of the Shipper. + 0..1 + Verified Gross Mass + Responsible + Party + Party + Party + + + + + + + + + ASBIE + Verified Gross Mass. Document Reference + A reference to the VGM documentary evidence. + 1..n + Verified Gross Mass + Document Reference + Document Reference + Document Reference + + + + + + + + + + + ABIE + Web Site. Details + A class to describe a web site. + Web Site + + + + + + + + + BBIE + Web Site. Identifier + An identifier for a specific web site. + 0..1 + Web Site + Identifier + Identifier + Identifier. Type + UBL + + + + + + + + + BBIE + Web Site. Name + The common name of the web site. + 0..1 + Web Site + Name + Name + Name. Type + UBL Online Community + + + + + + + + + BBIE + Web Site. Description. Text + Text describing the web site. + 0..n + Web Site + Description + Text + Text. Type + Online community for the Universal Business Language (UBL) OASIS Standard + + + + + + + + + BBIE + Web Site. Web Site Type Code. Code + A code that specifies the type web site. + 0..1 + Web Site + Web Site Type Code + Code + Code. Type + Satellite, Portal, Operative, Industry, ... + + + + + + + + + BBIE + Web Site. URI. Identifier + The Uniform Resource Identifier (URI) of the web site; i.e., its Uniform Resource Locator (URL). + 1 + Web Site + URI + Identifier + Identifier. Type + http://ubl.xml.org/ + + + + + + + + + ASBIE + Web Site. Web Site Access + Access information for the website (e.g. guest credentials). + 0..n + Web Site + Web Site Access + Web Site Access + Web Site Access + + + + + + + + + + + ABIE + Web Site Access. Details + A class to describe access to a web site. + Web Site Access + + + + + + + + + BBIE + Web Site Access. URI. Identifier + The Uniform Resource Identifier (URI) for this web site; i.e., its Uniform Resource Locator (URL). + 0..1 + Web Site Access + URI + Identifier + Identifier. Type + + + + + + + + + BBIE + Web Site Access. Password. Text + A password to the web site. + 1 + Web Site Access + Password + Text + Text. Type + confidence + + + + + + + + + BBIE + Web Site Access. Login. Text + Text describing login details. + 1 + Web Site Access + Login + Text + Text. Type + Utsuser + + + + + + + + + + + ABIE + Winning Party. Details + A party that is identified as the awarded by a tender result. + Winning Party + + + + + + + + + BBIE + Winning Party. Rank. Text + Indicates the rank obtained in the award. + 0..1 + Winning Party + Rank + Text + Text. Type + + + + + + + + + ASBIE + Winning Party. Party + Information about an organization, sub-organization, or individual fulfilling a role in a business process. + 1 + Winning Party + Party + Party + Party + + + + + + + + + + + ABIE + Work Phase Reference. Details + A class that refers to a phase of work. Used for instance to specify what part of the contract the billing is referring to. + Work Phase Reference + + + + + + + + + BBIE + Work Phase Reference. Identifier + An identifier for this phase of work. + 0..1 + Work Phase Reference + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Work Phase Reference. Work Phase Code. Code + A code signifying this phase of work. + 0..1 + Work Phase Reference + Work Phase Code + Code + Code. Type + + + + + + + + + BBIE + Work Phase Reference. Work Phase. Text + Text describing this phase of work. + 0..n + Work Phase Reference + Work Phase + Text + Text. Type + + + + + + + + + BBIE + Work Phase Reference. Progress Percent. Percent + The progress percentage of the work phase. + 0..1 + Work Phase Reference + Progress Percent + Percent + Percent. Type + + + + + + + + + BBIE + Work Phase Reference. Start Date. Date + The date on which this phase of work begins. + 0..1 + Work Phase Reference + Start Date + Date + Date. Type + + + + + + + + + BBIE + Work Phase Reference. End Date. Date + The date on which this phase of work ends. + 0..1 + Work Phase Reference + End Date + Date + Date. Type + + + + + + + + + ASBIE + Work Phase Reference. Work Order_ Document Reference. Document Reference + A reference to a document regarding the work order for the project in which this phase of work takes place. + 0..n + Work Phase Reference + Work Order + Document Reference + Document Reference + Document Reference + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonBasicComponents-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonBasicComponents-2.2.xsd new file mode 100644 index 0000000..e4950de --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonBasicComponents-2.2.xsd @@ -0,0 +1,6007 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonExtensionComponents-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonExtensionComponents-2.2.xsd new file mode 100644 index 0000000..942f75b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonExtensionComponents-2.2.xsd @@ -0,0 +1,225 @@ + + + + + + + + + + + + + A container for all extensions present in the document. + + + + + + + A container for all extensions present in the document. + + + + + + + A single extension for private use. + + + + + + + + + A single extension for private use. + + + + + + + A single extension for private use. + + + + + + + An identifier for the Extension assigned by the creator of the extension. + + + + + + + A name for the Extension assigned by the creator of the extension. + + + + + + + An agency that maintains one or more Extensions. + + + + + + + The name of the agency that maintains the Extension. + + + + + + + The version of the Extension. + + + + + + + A URI for the Agency that maintains the Extension. + + + + + + + A URI for the Extension. + + + + + + + A code for reason the Extension is being included. + + + + + + + A description of the reason for the Extension. + + + + + + + The definition of the extension content. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonSignatureComponents-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonSignatureComponents-2.2.xsd new file mode 100644 index 0000000..f66a30f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-CommonSignatureComponents-2.2.xsd @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + ABIE + UBL Document Signatures. Details + This class collects all signature information for a document. + UBL Document Signatures + + + + + + + + + ASBIE + UBL Document Signatures. Signature Information + Each of these is scaffolding for a single digital signature. + 1..n + UBL Document Signatures + Signature Information + Signature Information + Signature Information + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-ExtensionContentDataType-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-ExtensionContentDataType-2.2.xsd new file mode 100644 index 0000000..c00c2e0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-ExtensionContentDataType-2.2.xsd @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + Any element in any namespace other than the UBL extension + namespace is allowed to be the apex element of an extension. + Only those elements found in the UBL schemas and in the + trees of schemas imported in this module are validated. + Any element for which there is no schema declaration in any + of the trees of schemas passes validation and is not + treated as a schema constraint violation. + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-QualifiedDataTypes-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-QualifiedDataTypes-2.2.xsd new file mode 100644 index 0000000..c8ba0e8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-QualifiedDataTypes-2.2.xsd @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-SignatureAggregateComponents-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-SignatureAggregateComponents-2.2.xsd new file mode 100644 index 0000000..bac5b67 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-SignatureAggregateComponents-2.2.xsd @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + ABIE + Signature Information. Details + This class captures a single signature and optionally associates to a signature in the document with the corresponding identifier. + Signature Information + + + + + + + + + BBIE + Signature Information. Identifier + This specifies the identifier of the signature distinguishing it from other signatures. + 0..1 + Signature Information + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Signature Information. Referenced Signature Identifier. Identifier + This associates this signature with the identifier of a signature business object in the document. + 0..1 + Signature Information + Referenced Signature Identifier + Identifier + Identifier. Type + + + + + + + This is a single digital signature as defined by the W3C specification. + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-SignatureBasicComponents-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-SignatureBasicComponents-2.2.xsd new file mode 100644 index 0000000..c4d081f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-SignatureBasicComponents-2.2.xsd @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-UnqualifiedDataTypes-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-UnqualifiedDataTypes-2.2.xsd new file mode 100644 index 0000000..018e64e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-UnqualifiedDataTypes-2.2.xsd @@ -0,0 +1,553 @@ + + + + + + + + + + UBLUDT000001 + UDT + Amount. Type + 1.0 + A number of monetary units specified using a given unit of currency. + Amount + + + + + + + + UNDT000001-SC2 + SC + Amount. Currency. Identifier + The currency of the amount. + Amount Currency + Identification + Identifier + string + Reference UNECE Rec 9, using 3-letter alphabetic codes. + + + + + + + + + + + UBLUDT000002 + UDT + Binary Object. Type + 1.0 + A set of finite-length sequences of binary octets. + Binary Object + binary + + + + + + + + UNDT000002-SC3 + SC + Binary Object. Mime. Code + The mime type of the binary object. + Binary Object + Mime + Code + string + + + + + + + + + + + UBLUDT000003 + UDT + Graphic. Type + 1.0 + A diagram, graph, mathematical curve, or similar representation. + Graphic + binary + + + + + + + + UNDT000003-SC3 + SC + Graphic. Mime. Code + The mime type of the graphic object. + Graphic + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000004 + UDT + Picture. Type + 1.0 + A diagram, graph, mathematical curve, or similar representation. + Picture + binary + + + + + + + + UNDT000004-SC3 + SC + Picture. Mime. Code + The mime type of the picture object. + Picture + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000005 + UDT + Sound. Type + 1.0 + An audio representation. + Sound + binary + + + + + + + + UNDT000005-SC3 + SC + Sound. Mime. Code + The mime type of the sound object. + Sound + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000006 + UDT + Video. Type + 1.0 + A video representation. + Video + binary + + + + + + + + UNDT000006-SC3 + SC + Video. Mime. Code + The mime type of the video object. + Video + Mime + Code + normalizedString + + + + + + + + + + + UBLUDT000007 + UDT + Code. Type + 1.0 + A character string (letters, figures, or symbols) that for brevity and/or language independence may be used to represent or replace a definitive value or text of an attribute, together with relevant supplementary information. + Code + string + Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the code list and thus, are not declared as attributes. + + + + + + + + + + + UBLUDT000008 + UDT + Date Time. Type + 1.0 + A particular point in the progression of time, together with relevant supplementary information. + Date Time + string + Can be used for a date and/or time. + + + + + + + + + + + UBLUDT000009 + UDT + Date. Type + 1.0 + One calendar day according the Gregorian calendar. + Date + string + + + + + + + + + + + UBLUDT0000010 + UDT + Time. Type + 1.0 + An instance of time that occurs every day. + Time + string + + + + + + + + + + + UBLUDT0000011 + UDT + Identifier. Type + 1.0 + A character string to identify and uniquely distinguish one instance of an object in an identification scheme from all other objects in the same scheme, together with relevant supplementary information. + Identifier + string + Other supplementary components in the CCT are captured as part of the token and name for the schema module containing the identifier list and thus, are not declared as attributes. + + + + + + + + + + + UBLUDT0000012 + UDT + Indicator. Type + 1.0 + A list of two mutually exclusive Boolean values that express the only possible states of a property. + Indicator + string + + + + + + + + + + + UBLUDT0000013 + UDT + Measure. Type + 1.0 + A numeric value determined by measuring an object using a specified unit of measure. + Measure + Type + decimal + + + + + + + + UNDT000013-SC2 + SC + Measure. Unit. Code + The type of unit of measure. + Measure Unit + Code + Code + normalizedString + Reference UNECE Rec. 20 and X12 355 + + + + + + + + + + + UBLUDT0000014 + UDT + Numeric. Type + 1.0 + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Numeric + string + + + + + + + + + + + UBLUDT0000015 + UDT + 1.0 + Value. Type + Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Value + string + + + + + + + + + + + UBLUDT0000016 + UDT + 1.0 + Percent. Type + Numeric information that is assigned or is determined by calculation, counting, or sequencing and is expressed as a percentage. It does not require a unit of quantity or unit of measure. + Percent + string + + + + + + + + + + + UBLUDT0000017 + UDT + 1.0 + Rate. Type + A numeric expression of a rate that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure. + Rate + string + + + + + + + + + + + UBLUDT0000018 + UDT + Quantity. Type + 1.0 + A counted number of non-monetary units, possibly including a fractional part. + Quantity + decimal + + + + + + + + + + + UBLUDT0000019 + UDT + Text. Type + 1.0 + A character string (i.e. a finite set of characters), generally in the form of words of a language. + Text + string + + + + + + + + + + + UBLUDT0000020 + UDT + Name. Type + 1.0 + A character string that constitutes the distinctive designation of a person, place, thing or concept. + Name + string + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-XAdES01903v132-201601-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-XAdES01903v132-201601-2.2.xsd new file mode 100644 index 0000000..b8874c4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-XAdES01903v132-201601-2.2.xsd @@ -0,0 +1,542 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-XAdES01903v141-201601-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-XAdES01903v141-201601-2.2.xsd new file mode 100644 index 0000000..77ee564 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-XAdES01903v141-201601-2.2.xsd @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig-core-schema-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig-core-schema-2.2.xsd new file mode 100644 index 0000000..cdd5999 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig-core-schema-2.2.xsd @@ -0,0 +1,331 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig1-schema-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig1-schema-2.2.xsd new file mode 100644 index 0000000..d7deed0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig1-schema-2.2.xsd @@ -0,0 +1,37 @@ + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig11-schema-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig11-schema-2.2.xsd new file mode 100644 index 0000000..f2300a3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/common/UBL-xmldsig11-schema-2.2.xsd @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ApplicationResponse-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ApplicationResponse-2.2.xsd new file mode 100644 index 0000000..8147add --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ApplicationResponse-2.2.xsd @@ -0,0 +1,363 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Application Response. Details + A document to indicate the application's response to a transaction. This may be a business response initiated by a user or a technical response sent automatically by an application. + Application Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Application Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Application Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Application Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Application Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Application Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Application Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Application Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Application Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Application Response. Identifier + An identifier for this document, assigned by the sender. + 1 + Application Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Application Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Application Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Application Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Application Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Application Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Application Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Application Response. Response Date. Date + The date on which the information in the response was created. + 0..1 + Application Response + Response Date + Date + Date. Type + + + + + + + + + BBIE + Application Response. Response Time. Time + The time at which the information in the response was created. + 0..1 + Application Response + Response Time + Time + Time. Type + + + + + + + + + BBIE + Application Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Application Response + Note + Text + Text. Type + + + + + + + + + BBIE + Application Response. Version. Identifier + Identifies the current version of this document. + 0..1 + Application Response + Version + Identifier + Identifier. Type + + + + + + + + + ASBIE + Application Response. Signature + A signature applied to this document. + 0..n + Application Response + Signature + Signature + Signature + + + + + + + + + ASBIE + Application Response. Sender_ Party. Party + The party sending this document. + 1 + Application Response + Sender + Party + Party + Party + + + + + + + + + ASBIE + Application Response. Receiver_ Party. Party + The party receiving this document. + 1 + Application Response + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Application Response. Document Response + A response to a document. + 0..n + Application Response + Document Response + Document Response + Document Response + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-AttachedDocument-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-AttachedDocument-2.2.xsd new file mode 100644 index 0000000..19b9b17 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-AttachedDocument-2.2.xsd @@ -0,0 +1,417 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Attached Document. Details + A wrapper that allows a document of any kind to be packaged with the UBL document that references it. + Attached Document + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Attached Document. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Attached Document + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Attached Document. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Attached Document + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Attached Document. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Attached Document + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Attached Document. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Attached Document + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Identifier + An identifier for this document, assigned by the sender. + 1 + Attached Document + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Attached Document + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Attached Document + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Attached Document. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Attached Document + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Attached Document. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Attached Document + Note + Text + Text. Type + + + + + + + + + BBIE + Attached Document. Document Type Code. Code + A code signifying the type of document. + 0..1 + Attached Document + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Attached Document. Document Type. Text + Text specifying the type of document. + 0..1 + Attached Document + Document Type + Text + Text. Type + + + + + + + + + BBIE + Attached Document. Parent_ Document Identifier. Identifier + The Identifier of the parent document. + 1 + Attached Document + Parent + Document Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Attached Document. Parent_ Document Type Code. Code + A code signifying the type of parent document. + 0..1 + Attached Document + Parent + Document Type Code + Code + Code. Type + + + + + + + + + BBIE + Attached Document. Parent Document_ Version. Identifier + Indicates the current version of the referred document. + 0..1 + Attached Document + Parent Document + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + ASBIE + Attached Document. Signature + A signature applied to this document. + 0..n + Attached Document + Signature + Signature + Signature + + + + + + + + + ASBIE + Attached Document. Sender_ Party. Party + The party sending this document. + 1 + Attached Document + Sender + Party + Party + Party + + + + + + + + + ASBIE + Attached Document. Receiver_ Party. Party + The party receiving this document. + 1 + Attached Document + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Attached Document. Attachment + An attachment containing the document content. + 1 + Attached Document + Attachment + Attachment + Attachment + + + + + + + + + ASBIE + Attached Document. Parent Document_ Line Reference. Line Reference + A reference to a line in the attached document. + 0..n + Attached Document + Parent Document + Line Reference + Line Reference + Line Reference + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-AwardedNotification-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-AwardedNotification-2.2.xsd new file mode 100644 index 0000000..6bc8b69 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-AwardedNotification-2.2.xsd @@ -0,0 +1,419 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Awarded Notification. Details + The document used to communicate a contract award to the winner. + Awarded Notification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Awarded Notification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Awarded Notification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Awarded Notification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Awarded Notification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Awarded Notification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Awarded Notification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Awarded Notification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Awarded Notification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Awarded Notification. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Awarded Notification + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarded Notification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Awarded Notification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Awarded Notification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Awarded Notification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarded Notification. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Awarded Notification + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Awarded Notification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Awarded Notification + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Awarded Notification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Awarded Notification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Awarded Notification. Contract Name. Name + The name, expressed as text, of this procurement project. + 0..n + Awarded Notification + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Awarded Notification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Awarded Notification + Note + Text + Text. Type + + + + + + + + + ASBIE + Awarded Notification. Sender_ Party. Party + The party sending this document. + 1 + Awarded Notification + Sender + Party + Party + Party + + + + + + + + + ASBIE + Awarded Notification. Receiver_ Party. Party + The party receiving this document. + 1 + Awarded Notification + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Awarded Notification. Minutes_ Document Reference. Document Reference + A reference to a set of minutes associated with this award. + 0..1 + Awarded Notification + Minutes + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Awarded Notification. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Awarded Notification + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Awarded Notification. Tender Result + The result of the tendering process reported in this notification. + 1..n + Awarded Notification + Tender Result + Tender Result + Tender Result + + + + + + + + + ASBIE + Awarded Notification. Final_ Financial Guarantee. Financial Guarantee + A bond guarantee by the submitter of a tender or bid, required of the tender winner. + 0..n + Awarded Notification + Final + Financial Guarantee + Financial Guarantee + Financial Guarantee + + + + + + + + + ASBIE + Awarded Notification. Signature + A signature applied to this document. + 0..n + Awarded Notification + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-BillOfLading-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-BillOfLading-2.2.xsd new file mode 100644 index 0000000..37465dc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-BillOfLading-2.2.xsd @@ -0,0 +1,541 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Bill Of Lading. Details + A document issued by the party who acts as an agent for a transportation carrier or other agents to the party who gives instructions for the transportation services (shipper, consignor, etc.) stating the details of the transportation, charges, and terms and conditions under which the transportation service is provided. The party issuing this document does not necessarily provide the physical transportation service. The information in the Bill of Lading corresponds to the information on the Forwarding Instructions. It is used for any mode of transport. A Bill of Lading can serve as a contractual document between the parties for the transportation service. The document evidences a contract of carriage by sea and the acceptance of responsibility for the goods by the carrier, by which the carrier undertakes to deliver the goods against surrender of the document. A provision in the document that the goods are to be delivered to the order of a named person, or to order, or to bearer, constitutes such an undertaking. + Bill Of Lading + House Bill of Landing, Master Bill, Bill + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Bill Of Lading. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Bill Of Lading + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Bill Of Lading. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Bill Of Lading + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Bill Of Lading. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Bill Of Lading + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Bill Of Lading. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Bill Of Lading + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Bill Of Lading. Identifier + An identifier for this document, assigned by the sender. + 1 + Bill Of Lading + Identifier + Identifier + Identifier. Type + Bill of Lading Number + + + + + + + + + BBIE + Bill Of Lading. Carrier Assigned_ Identifier. Identifier + Reference number (such as a booking reference number) assigned by a carrier or its agent to identify a specific shipment when cargo space is reserved prior to loading. + 0..1 + Bill Of Lading + Carrier Assigned + Identifier + Identifier + Identifier. Type + Booking Reference Number + + + + + + + + + BBIE + Bill Of Lading. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Bill Of Lading + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Bill Of Lading. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Bill Of Lading + Issue Date + Date + Date. Type + Transport Document Date + + + + + + + + + BBIE + Bill Of Lading. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Bill Of Lading + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Bill Of Lading. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Bill Of Lading + Name + Name + Name. Type + House Bill , Consolidated Bill of Lading , Proforma , Sea Waybill + + + + + + + + + BBIE + Bill Of Lading. Description. Text + Textual description of the document instance. + 0..n + Bill Of Lading + Description + Text + Text. Type + + + + + + + + + BBIE + Bill Of Lading. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Bill Of Lading + Note + Text + Text. Type + + + + + + + + + BBIE + Bill Of Lading. Document Status Code. Code + A code signifying the status of the Bill Of Lading (revision, replacement, etc.). + 0..1 + Bill Of Lading + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Bill Of Lading. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order or Forwarding Instruction. + 0..1 + Bill Of Lading + Shipping Order Identifier + Identifier + Identifier. Type + Freight forwarding instruction, Shippers letter of instruction + + + + + + + + + BBIE + Bill Of Lading. To Order_ Indicator. Indicator + Indicates whether the transport document is consigned to order. + 0..1 + Bill Of Lading + To Order + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Bill Of Lading. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Bill Of Lading + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Bill Of Lading. Declared Carriage_ Value. Amount + Value declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage in case of loss or damage to goods or delayed delivery. + 0..1 + Bill Of Lading + Declared Carriage + Value + Amount + Amount. Type + Interest in Delivery + + + + + + + + + BBIE + Bill Of Lading. Other_ Instruction. Text + Other free-text instructions to the forwarders or carriers related to the shipment. This element should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Bill Of Lading + Other + Instruction + Text + Text. Type + Bill of Lading Remark + + + + + + + + + ASBIE + Bill Of Lading. Consignor_ Party. Party + The party consigning goods as stipulated in the transport contract by the party ordering transport. + 0..1 + Bill Of Lading + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Bill Of Lading. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Bill Of Lading + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Bill Of Lading. Freight Forwarder_ Party. Party + A party combining individual smaller consignments into a single larger shipment (a so-called consolidated consignment or shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Bill Of Lading + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Bill Of Lading. Shipment + An identifiable collection of one or more goods items to be transported between the seller party and the buyer party. + 0..1 + Bill Of Lading + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Bill Of Lading. Document Reference + A reference to another document associated with this document. + 0..n + Bill Of Lading + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Bill Of Lading. Exchange Rate + Information that directly relates to the rate of exchange (conversion) between two currencies. + 0..n + Bill Of Lading + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Bill Of Lading. Document Distribution + A list of interested parties to whom this document is distributed. + 0..n + Bill Of Lading + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Bill Of Lading. Signature + A signature applied to this document. + 0..n + Bill Of Lading + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-BusinessCard-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-BusinessCard-2.2.xsd new file mode 100644 index 0000000..a4760a2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-BusinessCard-2.2.xsd @@ -0,0 +1,406 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Business Card. Details + A document used to provide information about a business party and its business capabilities. + Business Card + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Business Card. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Business Card + UBL Version Identifier + Identifier + Identifier. Type + 2.2 + + + + + + + + + BBIE + Business Card. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Business Card + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Business Card. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Business Card + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Business Card. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Business Card + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Business Card. Identifier + An identifier for this document, assigned by the sender. + 1 + Business Card + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Business Card. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Business Card + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Business Card. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Business Card + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Business Card. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Business Card + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Business Card. Version Identifier. Identifier + Identifies the current version of this business card. + 0..1 + Business Card + Version Identifier + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Business Card. Previous Version Identifier. Identifier + Identifies the previous version of this business card. + 0..1 + Business Card + Previous Version Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Business Card. Brief_ Description. Text + Textual description of the document instance. + 0..n + Business Card + Brief + Description + Text + Text. Type + + + + + + + + + ASBIE + Business Card. Signature + A signature applied to this document. + 0..n + Business Card + Signature + Signature + Signature + + + + + + + + + ASBIE + Business Card. Sender_ Party. Party + The party sending this business card. This party could be the owner of this business card or a third-party acting on behalf of the owner (e.g. business network). + 0..1 + Business Card + Sender + Party + Party + Party + + + + + + + + + ASBIE + Business Card. Receiver_ Party. Party + The party receiving this business card. + 0..1 + Business Card + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Business Card. Business_ Party. Party + The party owning this business card. + 1 + Business Card + Business + Party + Party + Party + + + + + + + + + ASBIE + Business Card. Brochure_ Document Reference. Document Reference + A reference to a company brochure document. + 0..n + Business Card + Brochure + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Business Card. Additional_ Document Reference. Document Reference + A reference to an additional document (e.g. presentations). + 0..n + Business Card + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Business Card. Business_ Capability. Capability + The business capabilities of the party. + 0..n + Business Card + Business + Capability + Capability + Capability + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CallForTenders-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CallForTenders-2.2.xsd new file mode 100644 index 0000000..e4cac8d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CallForTenders-2.2.xsd @@ -0,0 +1,552 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Call For Tenders. Details + A document used by a Contracting Party to define a procurement project to buy goods, services, or works during a specified period. + Call For Tenders + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Call For Tenders. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Call For Tenders + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Call For Tenders + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Call For Tenders + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Call For Tenders + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Call For Tenders + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Call For Tenders + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Call For Tenders. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Call For Tenders + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Call For Tenders + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Call For Tenders. Approval Date. Date + The date, assigned by the contracting party, on which the Call For Tenders was approved. + 0..1 + Call For Tenders + Approval Date + Date + Date. Type + + + + + + + + + BBIE + Call For Tenders. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Call For Tenders + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Call For Tenders. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Call For Tenders + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Call For Tenders. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Call For Tenders + Note + Text + Text. Type + + + + + + + + + BBIE + Call For Tenders. Version. Identifier + Indicates the current version of the Call for Tenders. + 0..1 + Call For Tenders + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Call For Tenders. Previous_ Version. Identifier + Identifies the previous version of the Call for Tenders which is superceded by this version. + 0..1 + Call For Tenders + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + ASBIE + Call For Tenders. Legal_ Document Reference. Document Reference + A reference to a legal document. + 0..1 + Call For Tenders + Legal + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Technical_ Document Reference. Document Reference + A reference to a technical document. + 0..1 + Call For Tenders + Technical + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Required_ Document Reference. Document Reference + A reference to a required document. + 0..n + Call For Tenders + Required + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Provided_ Document Reference. Document Reference + A reference to a provided document. + 0..n + Call For Tenders + Provided + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Call For Tenders + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Call For Tenders. Signature + A signature applied to this document. + 0..n + Call For Tenders + Signature + Signature + Signature + + + + + + + + + ASBIE + Call For Tenders. Contracting Party + The contracting party or parties in case of joint procurement. + 1..n + Call For Tenders + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Call For Tenders. Originator_ Customer Party. Customer Party + The party who originated Order. + 0..n + Call For Tenders + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Call For Tenders. Receiver_ Party. Party + The party receiving this document. + 0..1 + Call For Tenders + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Call For Tenders. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Call For Tenders + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Call For Tenders. Tendering Process + A description of the tendering process itself. + 0..1 + Call For Tenders + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Call For Tenders. Procurement Project + An overall definition of this procurement project. + 1 + Call For Tenders + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Call For Tenders. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Call For Tenders + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Catalogue-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Catalogue-2.2.xsd new file mode 100644 index 0000000..fe89b7c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Catalogue-2.2.xsd @@ -0,0 +1,566 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue. Details + A document that describes items, prices, and price validity. + Catalogue + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Catalogue. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue. Action Code. Code + A code signifying whether the transaction is a replacement or an update. + 0..1 + Catalogue + Action Code + Code + Code. Type + Replace , Update . + + + + + + + + + BBIE + Catalogue. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue + Name + Name + Name. Type + winter 2005 collection + + + + + + + + + BBIE + Catalogue. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue. Revision Date. Date + The date, assigned by the seller party, on which the information in the Catalogue was last revised. + 0..1 + Catalogue + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue. Revision Time. Time + The time, assigned by the Seller party, at which the information in the Catalogue was last revised. + 0..1 + Catalogue + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue. Description. Text + Textual description of the document instance. + 0..n + Catalogue + Description + Text + Text. Type + computer accessories for laptops + + + + + + + + + BBIE + Catalogue. Version. Identifier + An identifier for the current version of the Catalogue. + 0..1 + Catalogue + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue. Previous_ Version. Identifier + An identifier for the previous version of the Catalogue that is superseded by this version. + 0..1 + Catalogue + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + BBIE + Catalogue. Line Count. Numeric + The number of Catalogue Lines in the document. + 0..1 + Catalogue + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue. Validity_ Period. Period + A period, assigned by the seller, during which the information in the Catalogue is effective. This may be given as start and end dates or as a duration. + 0..n + Catalogue + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue. Referenced_ Contract. Contract + A contract or framework agreement with which this Catalogue is associated. + 0..n + Catalogue + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue. Source_ Catalogue Reference. Catalogue Reference + A reference to the source catalogue. + 0..1 + Catalogue + Source + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue. Document Reference + A reference to another document associated with this document. + 0..n + Catalogue + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue. Signature + A signature applied to this document. + 0..n + Catalogue + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue. Provider_ Party. Party + The party providing the Catalogue. + 1 + Catalogue + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue. Receiver_ Party. Party + The party receiving the Catalogue. + 1 + Catalogue + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue. Trading Terms + The trading terms associated with this Catalogue. + 0..n + Catalogue + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue. Catalogue Line + A line in a Catalogue describing an item of sale. + 1..n + Catalogue + Catalogue Line + Catalogue Line + Catalogue Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueDeletion-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueDeletion-2.2.xsd new file mode 100644 index 0000000..e88b024 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueDeletion-2.2.xsd @@ -0,0 +1,466 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Deletion. Details + A document used to cancel an entire Catalogue. + Catalogue Deletion + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Deletion. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Deletion + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Deletion. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Deletion + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Deletion. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue Deletion + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Deletion. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Deletion + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Catalogue Deletion. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Deletion + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Deletion. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Deletion + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Deletion. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Deletion + Name + Name + Name. Type + + + + + + + + + BBIE + Catalogue Deletion. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Deletion + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Deletion. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Deletion + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Deletion. Effective Date. Date + The effective date, assigned by the seller, on which the Catalogue expires. + 0..1 + Catalogue Deletion + Effective Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Deletion. Effective Time. Time + The effective time, assigned by the seller, at which the Catalogue expires. + 0..1 + Catalogue Deletion + Effective Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Deletion. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Deletion + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Deletion. Version. Identifier + Identifies the current version of the Catalogue. + 0..1 + Catalogue Deletion + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Deletion. Description. Text + Textual description of the document instance. + 0..n + Catalogue Deletion + Description + Text + Text. Type + stock no longer provided + + + + + + + + + ASBIE + Catalogue Deletion. Validity_ Period. Period + The period during which the Deletion of the catalogue becomes effective. This may be given as start (after date) and end dates (before date). + 0..n + Catalogue Deletion + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Deletion. Deleted_ Catalogue Reference. Catalogue Reference + A reference to the Catalogue being deleted. + 1 + Catalogue Deletion + Deleted + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Deletion. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue was associated. + 0..n + Catalogue Deletion + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Deletion. Signature + A signature applied to this document. + 0..n + Catalogue Deletion + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Deletion. Receiver_ Party. Party + The party receiving the Catalogue Deletion. + 1 + Catalogue Deletion + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Deletion. Provider_ Party. Party + The party sending the Catalogue Deletion. + 1 + Catalogue Deletion + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Deletion. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Deletion + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Deletion. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue was associated. + 0..1 + Catalogue Deletion + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueItemSpecificationUpdate-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueItemSpecificationUpdate-2.2.xsd new file mode 100644 index 0000000..12dbfb3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueItemSpecificationUpdate-2.2.xsd @@ -0,0 +1,534 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Item Specification Update. Details + A document used to update information (e.g., technical descriptions and properties) about Items in an existing Catalogue. + Catalogue Item Specification Update + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Item Specification Update. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Item Specification Update + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Item Specification Update. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Item Specification Update + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Item Specification Update. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Catalogue Item Specification Update + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Item Specification Update. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Item Specification Update + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Item Specification Update + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Item Specification Update + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Item Specification Update + Name + Name + Name. Type + electrical goods - new energy ratings. + + + + + + + + + BBIE + Catalogue Item Specification Update. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Item Specification Update + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Item Specification Update + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Revision Date. Date + The date, assigned by the seller, on which the Catalogue was revised. + 0..1 + Catalogue Item Specification Update + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Revision Time. Time + The time, assigned by the seller, at which the Catalogue was revised. + 0..1 + Catalogue Item Specification Update + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Item Specification Update + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Item Specification Update. Description. Text + Textual description of the document instance. + 0..n + Catalogue Item Specification Update + Description + Text + Text. Type + ratings based on new environmental standards for EU + + + + + + + + + BBIE + Catalogue Item Specification Update. Version. Identifier + Identifies the current version of the Catalogue. + 0..1 + Catalogue Item Specification Update + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Item Specification Update. Line Count. Numeric + The number of Catalogue Item Specification Update Lines in this document. + 0..1 + Catalogue Item Specification Update + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Item Specification Update. Validity_ Period. Period + A period, assigned by the seller, during which the information in the Catalogue Revision is effective. This may be given as start and end dates or as a duration. + 0..n + Catalogue Item Specification Update + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Item Specification Update. Related_ Catalogue Reference. Catalogue Reference + A reference to the Catalogue being updated. + 1 + Catalogue Item Specification Update + Related + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Item Specification Update. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue is associated. + 0..n + Catalogue Item Specification Update + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Item Specification Update. Signature + A signature applied to this document. + 0..n + Catalogue Item Specification Update + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Item Specification Update. Provider_ Party. Party + The party sending the Catalogue Item Specification Update. + 1 + Catalogue Item Specification Update + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Receiver_ Party. Party + The party receiving the Catalogue Item Specification Update. + 1 + Catalogue Item Specification Update + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Item Specification Update + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue Item Specification Update + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Item Specification Update. Trading Terms + The trading terms associated with the Catalogue. + 0..1 + Catalogue Item Specification Update + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Item Specification Update. Default_ Language. Language + The default language for the item specifications. + 0..1 + Catalogue Item Specification Update + Default + Language + Language + Language + + + + + + + + + ASBIE + Catalogue Item Specification Update. Catalogue Item Specification Update Line + One or more lines in the Catalogue Item Specification Update, each line updating a specific catalogue item. + 1..n + Catalogue Item Specification Update + Catalogue Item Specification Update Line + Catalogue Item Specification Update Line + Catalogue Item Specification Update Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CataloguePricingUpdate-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CataloguePricingUpdate-2.2.xsd new file mode 100644 index 0000000..c461a3c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CataloguePricingUpdate-2.2.xsd @@ -0,0 +1,533 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Pricing Update. Details + A document used to update information about prices in an existing Catalogue. + Catalogue Pricing Update + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Pricing Update. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Pricing Update + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Pricing Update. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Pricing Update + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Pricing Update. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Catalogue Pricing Update + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Pricing Update. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Pricing Update + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Pricing Update + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Pricing Update + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Pricing Update + Name + Name + Name. Type + Seasonal Promotion + + + + + + + + + BBIE + Catalogue Pricing Update. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Pricing Update + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Pricing Update + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Revision Date. Date + The date, assigned by the seller, on which the Catalogue was revised. + 0..1 + Catalogue Pricing Update + Revision Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Revision Time. Time + The time, assigned by the seller, at which the Catalogue was revised. + 0..1 + Catalogue Pricing Update + Revision Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Pricing Update + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Pricing Update. Description. Text + Describes the Catalogue Revision. + 0..n + Catalogue Pricing Update + Description + Text + Text. Type + adjustment of prices for Christmas trading period + + + + + + + + + BBIE + Catalogue Pricing Update. Version. Identifier + Indicates the current version of the catalogue. + 0..1 + Catalogue Pricing Update + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Catalogue Pricing Update. Line Count. Numeric + The number of lines in the document. + 0..1 + Catalogue Pricing Update + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Pricing Update. Validity_ Period. Period + A period, assigned by the seller, during which the information in the Catalogue Revision is effective. This may be given as start and end dates or as a duration. + 0..n + Catalogue Pricing Update + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Pricing Update. Related_ Catalogue Reference. Catalogue Reference + A reference to the Catalogue being updated. + 1 + Catalogue Pricing Update + Related + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Pricing Update. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue is associated. + 0..n + Catalogue Pricing Update + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Pricing Update. Signature + A signature applied to this document. + 0..n + Catalogue Pricing Update + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Pricing Update. Provider_ Party. Party + The party sending the Catalogue Pricing Update. + 1 + Catalogue Pricing Update + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Receiver_ Party. Party + The party receiving the Catalogue Pricing Update. + 1 + Catalogue Pricing Update + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Pricing Update + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue Pricing Update + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Pricing Update. Trading Terms + The trading terms associated with the Catalogue. + 0..1 + Catalogue Pricing Update + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Pricing Update. Default_ Language. Language + The default language for the catalogue pricing update. + 0..1 + Catalogue Pricing Update + Default + Language + Language + Language + + + + + + + + + ASBIE + Catalogue Pricing Update. Catalogue Pricing Update Line + One or more lines in the Catalogue Pricing Update, each line updating a specific catalogue item. + 1..n + Catalogue Pricing Update + Catalogue Pricing Update Line + Catalogue Pricing Update Line + Catalogue Pricing Update Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueRequest-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueRequest-2.2.xsd new file mode 100644 index 0000000..34c3416 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CatalogueRequest-2.2.xsd @@ -0,0 +1,572 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Catalogue Request. Details + A document used to request a Catalogue. + Catalogue Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Catalogue Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Catalogue Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Catalogue Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Catalogue Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Catalogue Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Catalogue Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Catalogue Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Catalogue Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Catalogue Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Catalogue Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Catalogue Request. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Catalogue Request + Name + Name + Name. Type + winter 2005 collection + + + + + + + + + BBIE + Catalogue Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Catalogue Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Catalogue Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Catalogue Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Catalogue Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Catalogue Request + Note + Text + Text. Type + + + + + + + + + BBIE + Catalogue Request. Description. Text + Textual description of the document instance. + 0..n + Catalogue Request + Description + Text + Text. Type + latest computer accessories for laptops + + + + + + + + + BBIE + Catalogue Request. Pricing Update Request_ Indicator. Indicator + Indicates a request for a pricing update. + 0..1 + Catalogue Request + Pricing Update Request + Indicator + Indicator + Indicator. Type + default is true + + + + + + + + + BBIE + Catalogue Request. Item Update Request_ Indicator. Indicator + Indicates a request for an update of the item specifications. + 0..1 + Catalogue Request + Item Update Request + Indicator + Indicator + Indicator. Type + default is true + + + + + + + + + BBIE + Catalogue Request. Line Count. Numeric + The number of Catalogue Lines in this document. + 0..1 + Catalogue Request + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Catalogue Request. Validity_ Period. Period + The period, assigned by the Catalogue Managing party, during which the information in the Catalogue requested is to be effective. This may be given as start and end dates or a duration. + 0..n + Catalogue Request + Validity + Period + Period + Period + + + + + + + + + ASBIE + Catalogue Request. Signature + A signature applied to this document. + 0..n + Catalogue Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Catalogue Request. Receiver_ Party. Party + The party receiving the Catalogue Request. + 1 + Catalogue Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Request. Provider_ Party. Party + The party sending the Catalogue Request. + 1 + Catalogue Request + Provider + Party + Party + Party + + + + + + + + + ASBIE + Catalogue Request. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Catalogue Request + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Catalogue Request. Contractor_ Customer Party. Customer Party + The customer party responsible for the contracts with which the Catalogue is associated. + 0..1 + Catalogue Request + Contractor + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Catalogue Request. Requested_ Catalogue Reference. Catalogue Reference + A reference to a specific Catalogue; used if the Catalogue Request is for an update. + 0..1 + Catalogue Request + Requested + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Catalogue Request. Referenced_ Contract. Contract + A contract or framework agreement with which the Catalogue being requested is associated. + 0..n + Catalogue Request + Referenced + Contract + Contract + Contract + + + + + + + + + ASBIE + Catalogue Request. Trading Terms + The trading terms associated with the requested Catalogue. + 0..1 + Catalogue Request + Trading Terms + Trading Terms + Trading Terms + + + + + + + + + ASBIE + Catalogue Request. Document Reference + A reference to another document associated with this document. + 0..n + Catalogue Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Catalogue Request. Applicable Territory_ Address. Address + A reference to a territory (region, country, city, etc.) to which the requested Catalogue will apply, expressed as an Address. + 0..n + Catalogue Request + Applicable Territory + Address + Address + Address + + + + + + + + + ASBIE + Catalogue Request. Requested_ Language. Language + The language in which the Catalogue is requested to be provided. + 0..1 + Catalogue Request + Requested + Language + Language + Language + + + + + + + + + ASBIE + Catalogue Request. Requested_ Classification Scheme. Classification Scheme + A requested classification scheme for the requested Catalogue. + 0..n + Catalogue Request + Requested + Classification Scheme + Classification Scheme + Classification Scheme + + + + + + + + + ASBIE + Catalogue Request. Catalogue Request Line + An association to specific Catalogue Lines for the catalogue requested. + 0..n + Catalogue Request + Catalogue Request Line + Catalogue Request Line + Catalogue Request Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CertificateOfOrigin-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CertificateOfOrigin-2.2.xsd new file mode 100644 index 0000000..850d8fb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CertificateOfOrigin-2.2.xsd @@ -0,0 +1,418 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Certificate Of Origin. Details + A document that describes the Certificate of Origin. + Certificate Of Origin + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Certificate Of Origin. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Certificate Of Origin + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Certificate Of Origin. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Certificate Of Origin + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Certificate Of Origin. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Certificate Of Origin + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Certificate Of Origin. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Certificate Of Origin + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Certificate Of Origin. Identifier + An identifier for this document, assigned by the sender. + 1 + Certificate Of Origin + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Certificate Of Origin + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Certificate Of Origin. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Certificate Of Origin + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Certificate Of Origin. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Certificate Of Origin + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Certificate Of Origin. Description. Text + Textual description of the document instance. + 0..n + Certificate Of Origin + Description + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Certificate Of Origin + Note + Text + Text. Type + + + + + + + + + BBIE + Certificate Of Origin. Version. Identifier + Identifies the version of this Certificate of Origin. + 0..1 + Certificate Of Origin + Version + Identifier + Identifier. Type + + + + + + + + + ASBIE + Certificate Of Origin. Signature + A signature applied to this document. + 0..n + Certificate Of Origin + Signature + Signature + Signature + + + + + + + + + ASBIE + Certificate Of Origin. Exporter_ Party. Party + The Party who makes the export declaration, or on whose behalf the export declaration is made, and who is the owner of the goods or has similar right of disposal over them at the time when the declaration is accepted. + 0..1 + Certificate Of Origin + Exporter + Party + Party + Party + Exporter (WCO ID 41 and 42) + + + + + + + + + ASBIE + Certificate Of Origin. Importer_ Party. Party + The Party who makes an import declaration, or on whose behalf a Customs clearing agent or other authorized person makes an import declaration. This may include a person who has possession of the goods or to whom the goods are consigned. + 0..1 + Certificate Of Origin + Importer + Party + Party + Party + Importer (WCO ID 39 and 40) + + + + + + + + + ASBIE + Certificate Of Origin. Endorser Party + The Party providing the endorsement. + 0..n + Certificate Of Origin + Endorser Party + Endorser Party + Endorser Party + + + + + + + + + ASBIE + Certificate Of Origin. Certificate Of Origin Application + Details of the application for a Certificate of Origin. + 1 + Certificate Of Origin + Certificate Of Origin Application + Certificate Of Origin Application + Certificate Of Origin Application + + + + + + + + + ASBIE + Certificate Of Origin. Issuer_ Endorsement. Endorsement + Issuer Endorsement details. + 1 + Certificate Of Origin + Issuer + Endorsement + Endorsement + Endorsement + + + + + + + + + ASBIE + Certificate Of Origin. Embassy_ Endorsement. Endorsement + Embassy Endorsement details. + 0..1 + Certificate Of Origin + Embassy + Endorsement + Endorsement + Endorsement + + + + + + + + + ASBIE + Certificate Of Origin. Insurance_ Endorsement. Endorsement + Insurance Endorsement details. + 0..1 + Certificate Of Origin + Insurance + Endorsement + Endorsement + Endorsement + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ContractAwardNotice-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ContractAwardNotice-2.2.xsd new file mode 100644 index 0000000..587285e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ContractAwardNotice-2.2.xsd @@ -0,0 +1,512 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Contract Award Notice. Details + A document published by a Contracting Party to announce the awarding of a procurement project. + Contract Award Notice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Contract Award Notice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Contract Award Notice + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Contract Award Notice + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Contract Award Notice + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Contract Award Notice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Contract Award Notice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Contract Award Notice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Contract Award Notice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Contract Award Notice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Contract Award Notice + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Award Notice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Contract Award Notice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Contract Award Notice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Contract Award Notice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Contract Award Notice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Contract Award Notice + Note + Text + Text. Type + + + + + + + + + BBIE + Contract Award Notice. Regulatory Domain. Text + Information about the law that defines the regulatory domain. + 0..n + Contract Award Notice + Regulatory Domain + Text + Text. Type + + + + + + + + + BBIE + Contract Award Notice. Publish Award Indicator. Indicator + An indicator specifying if the notice is published for service contracts within certain service categories (true) or not (false). + 0..1 + Contract Award Notice + Publish Award Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Contract Award Notice. Notice_ Language Code. Code + The language used for this contract award notice. + 0..1 + Contract Award Notice + Notice + Language Code + Code + Language + Language_ Code. Type + + + + + + + + + ASBIE + Contract Award Notice. Previous_ Document Reference. Document Reference + A reference to a previously sent document. + 0..n + Contract Award Notice + Previous + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Contract Award Notice. Minutes_ Document Reference. Document Reference + A reference to a set of minutes. + 0..n + Contract Award Notice + Minutes + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Contract Award Notice. Signature + A signature applied to this document. + 0..n + Contract Award Notice + Signature + Signature + Signature + + + + + + + + + ASBIE + Contract Award Notice. Contracting Party + The contracting party or parties in case of joint procurement. + 1..n + Contract Award Notice + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Contract Award Notice. Originator_ Customer Party. Customer Party + The party who originated Order. + 0..1 + Contract Award Notice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Contract Award Notice. Receiver_ Party. Party + The party receiving this document. + 0..1 + Contract Award Notice + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Contract Award Notice. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Contract Award Notice + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Contract Award Notice. Tendering Process + A description of the tendering process itself. + 0..1 + Contract Award Notice + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Contract Award Notice. Procurement Project + An overall definition of this procurement project. + 0..1 + Contract Award Notice + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Contract Award Notice. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Contract Award Notice + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Contract Award Notice. Tender Result + A result of the bid opening in the tendering process. + 1..n + Contract Award Notice + Tender Result + Tender Result + Tender Result + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ContractNotice-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ContractNotice-2.2.xsd new file mode 100644 index 0000000..8ce6e8c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ContractNotice-2.2.xsd @@ -0,0 +1,494 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Contract Notice. Details + A document used by a Contracting party to announce a project to buy goods, services, or works. + Contract Notice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Contract Notice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Contract Notice + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Contract Notice + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Contract Notice + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Contract Notice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Contract Notice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Contract Notice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Contract Notice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Contract Notice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Contract Notice + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Contract Notice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Contract Notice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Contract Notice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Contract Notice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Contract Notice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Contract Notice + Note + Text + Text. Type + + + + + + + + + BBIE + Contract Notice. Requested_ Publication Date. Date + The requested publication date for this Contract Notice. + 0..1 + Contract Notice + Requested + Publication Date + Date + Date. Type + + + + + + + + + BBIE + Contract Notice. Regulatory Domain. Text + Information about the law that defines the regulatory domain. + 0..n + Contract Notice + Regulatory Domain + Text + Text. Type + + + + + + + + + BBIE + Contract Notice. Notice Type Code. Code + The type of notice (PIN, Qualification, Reduce time...) + 0..1 + Contract Notice + Notice Type Code + Code + Code. Type + + + + + + + + + BBIE + Contract Notice. Notice_ Language Code. Code + The language used for this contract notice. + 0..1 + Contract Notice + Notice + Language Code + Code + Language + Language_ Code. Type + + + + + + + + + ASBIE + Contract Notice. Frequency_ Period. Period + The estimated frequency of future notices. + 0..1 + Contract Notice + Frequency + Period + Period + Period + + + + + + + + + ASBIE + Contract Notice. Signature + A signature applied to this document. + 0..n + Contract Notice + Signature + Signature + Signature + + + + + + + + + ASBIE + Contract Notice. Contracting Party + The contracting party or parties in case of joint procurement. + 1..n + Contract Notice + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Contract Notice. Originator_ Customer Party. Customer Party + A party who originally requested the tender. + 0..n + Contract Notice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Contract Notice. Receiver_ Party. Party + The party receiving this document. + 0..1 + Contract Notice + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Contract Notice. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Contract Notice + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Contract Notice. Tendering Process + A description of the tendering process itself. + 0..1 + Contract Notice + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Contract Notice. Procurement Project + An overall definition of this procurement project. + 1 + Contract Notice + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Contract Notice. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Contract Notice + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CreditNote-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CreditNote-2.2.xsd new file mode 100644 index 0000000..6e77340 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-CreditNote-2.2.xsd @@ -0,0 +1,1001 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Credit Note. Details + A document used to specify credits due to the Debtor from the Creditor. + Credit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Credit Note. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Credit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Credit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Credit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Credit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Credit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Credit Note. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Credit Note + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Credit Note. Identifier + An identifier for this document, assigned by the sender. + 1 + Credit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Credit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Credit Note. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Credit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Credit Note. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Credit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Credit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Credit Note. Due Date. Date + The date on which this Credit Note is due. + 0..1 + Credit Note + Due Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note. Tax Point Date. Date + The date of the Credit Note, used to indicate the point at which tax becomes applicable. + 0..1 + Credit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Credit Note. Credit Note Type Code. Code + A code signifying the type of the Credit Note. + 0..1 + Credit Note + Credit Note Type Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Credit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Credit Note. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Credit Note + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Credit Note. + 0..1 + Credit Note + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Credit Note. + 0..1 + Credit Note + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Credit Note. + 0..1 + Credit Note + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Credit Note. + 0..1 + Credit Note + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Credit Note. Accounting Cost Code. Code + The buyer's accounting code, applied to the Credit Note as a whole. + 0..1 + Credit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Credit Note. Accounting Cost. Text + The buyer's accounting code, applied to the Credit Note as a whole, expressed as text. + 0..1 + Credit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Credit Note. Line Count. Numeric + The number of Credit Note Lines in the document. + 0..1 + Credit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Credit Note. Buyer_ Reference. Text + A reference provided by the buyer used for internal routing of the document. + 0..1 + Credit Note + Buyer + Reference + Text + Text. Type + + + + + + + + + ASBIE + Credit Note. Invoice_ Period. Period + Associates the Credit Note with Invoicing Periods rather than with a specific Invoice. + 0..n + Credit Note + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Credit Note. Discrepancy_ Response. Response + A reason for the Credit Note as a whole. + 0..n + Credit Note + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Credit Note. Order Reference + The Order associated with this Credit Note. + 0..1 + Credit Note + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Credit Note. Billing Reference + A reference to a billing document associated with this document. + 0..n + Credit Note + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Credit Note. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Credit Note + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Credit Note + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Credit Note + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Credit Note + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Credit Note + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Credit Note + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Credit Note. Project Reference + A reference to a project associated with this document. + 0..n + Credit Note + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Credit Note. Signature + A signature applied to this document. + 0..n + Credit Note + Signature + Signature + Signature + + + + + + + + + ASBIE + Credit Note. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Credit Note + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Credit Note. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Credit Note + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Credit Note. Payee_ Party. Party + The payee. + 0..1 + Credit Note + Payee + Party + Party + Party + + + + + + + + + ASBIE + Credit Note. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Credit Note + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Credit Note. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Credit Note + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Credit Note. Tax Representative_ Party. Party + The tax representative. + 0..1 + Credit Note + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Credit Note. Delivery + A delivery associated with this document. + 0..n + Credit Note + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Credit Note. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Credit Note + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Credit Note. Payment Means + Expected means of payment. + 0..n + Credit Note + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Credit Note. Payment Terms + A set of payment terms associated with this document. + 0..n + Credit Note + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Credit Note. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Credit Note + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Credit Note + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Credit Note + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Credit Note + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Credit Note. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Credit Note + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Credit Note. Tax Total + The total amount of a specific type of tax. + 0..n + Credit Note + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Credit Note. Withholding_ Tax Total. Tax Total + The total withholding tax. + 0..n + Credit Note + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Credit Note. Legal_ Monetary Total. Monetary Total + The total amount payable on the Credit Note, including allowances, charges, and taxes. + 1 + Credit Note + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Credit Note. Credit Note Line + A Credit Note line. + 1..n + Credit Note + Credit Note Line + Credit Note Line + Credit Note Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DebitNote-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DebitNote-2.2.xsd new file mode 100644 index 0000000..169b70d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DebitNote-2.2.xsd @@ -0,0 +1,934 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Debit Note. Details + A document used to specify debts incurred by the Debtor. + Debit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Debit Note. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Debit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Debit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Debit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Debit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Debit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Debit Note. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Debit Note + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Debit Note. Identifier + An identifier for this document, assigned by the sender. + 1 + Debit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Debit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Debit Note. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Debit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Debit Note. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Debit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Debit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Debit Note. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Debit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Debit Note. Tax Point Date. Date + The date of the Debit Note, used to indicate the point at which tax becomes applicable. + 0..1 + Debit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Debit Note. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Debit Note + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Debit Note. + 0..1 + Debit Note + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Debit Note. + 0..1 + Debit Note + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Debit Note. + 0..1 + Debit Note + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Debit Note. + 0..1 + Debit Note + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Debit Note. Accounting Cost Code. Code + The Buyer's accounting code, applied to the Credit Note as a whole. + 0..1 + Debit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Debit Note. Accounting Cost. Text + The Buyer's accounting code, applied to the Credit Note as a whole, expressed as text. + 0..1 + Debit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Debit Note. Line Count. Numeric + The number of Debit Note Lines in this document. + 0..1 + Debit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Debit Note. Invoice_ Period. Period + A period (rather than a specific invoice) associated with this document. + 0..n + Debit Note + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Debit Note. Discrepancy_ Response. Response + A reason for the Debit Note as a whole. + 0..n + Debit Note + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Debit Note. Order Reference + A reference to an Order with which this Debit Note is associated. + 0..1 + Debit Note + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Debit Note. Billing Reference + A reference to a billing document associated with this document. + 0..n + Debit Note + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Debit Note. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Debit Note + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Debit Note + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Debit Note + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Debit Note + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Debit Note + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Debit Note. Signature + A signature applied to this document. + 0..n + Debit Note + Signature + Signature + Signature + + + + + + + + + ASBIE + Debit Note. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Debit Note + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Debit Note. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Debit Note + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Debit Note. Payee_ Party. Party + The payee. + 0..1 + Debit Note + Payee + Party + Party + Party + + + + + + + + + ASBIE + Debit Note. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Debit Note + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Debit Note. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Debit Note + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Debit Note. Tax Representative_ Party. Party + The tax representative. + 0..1 + Debit Note + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Debit Note. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Debit Note + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Debit Note. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Debit Note + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Debit Note. Delivery + A delivery associated with this document. + 0..n + Debit Note + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Debit Note. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Debit Note + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Debit Note. Payment Means + Expected means of payment. + 0..n + Debit Note + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Debit Note. Payment Terms + A set of payment terms associated with this document. + 0..n + Debit Note + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Debit Note. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Debit Note + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Debit Note + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Debit Note + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Debit Note + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Debit Note. Tax Total + The total amount of a specific type of tax. + 0..n + Debit Note + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Debit Note. Withholding_ Tax Total. Tax Total + The total withholding tax. + 0..n + Debit Note + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Debit Note. Requested_ Monetary Total. Monetary Total + The total amount payable on the Debit Note, including allowances, charges, and taxes. + 1 + Debit Note + Requested + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Debit Note. Debit Note Line + A Debit Note line. + 1..n + Debit Note + Debit Note Line + Debit Note Line + Debit Note Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DespatchAdvice-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DespatchAdvice-2.2.xsd new file mode 100644 index 0000000..f193254 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DespatchAdvice-2.2.xsd @@ -0,0 +1,483 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Despatch Advice. Details + A document used to describe the despatch or delivery of goods and services. + Despatch Advice + Ship Note, Dispatch Advice, Consignment Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Despatch Advice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Despatch Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Despatch Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Despatch Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Despatch Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Despatch Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Despatch Advice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Despatch Advice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Identifier + An identifier for this document, assigned by the sender. + 1 + Despatch Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Despatch Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Despatch Advice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Despatch Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Despatch Advice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Despatch Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Despatch Advice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Despatch Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Despatch Advice. Document Status Code. Code + A code signifying the status of the Despatch Advice with respect to its original state. This code may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancellation or revision. + 0..1 + Despatch Advice + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Despatch Advice. Despatch Advice Type Code. Code + A code signifying the type of the Despatch Advice. + 0..1 + Despatch Advice + Despatch Advice Type Code + Code + Code. Type + + + + + + + + + BBIE + Despatch Advice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Despatch Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Despatch Advice. Line Count. Numeric + The number of Despatch Lines in this document. + 0..1 + Despatch Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Despatch Advice. Order Reference + A reference to an Order with which this Despatch Advice is associated. + 0..n + Despatch Advice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Despatch Advice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Despatch Advice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Despatch Advice. Signature + A signature applied to this document. + 0..n + Despatch Advice + Signature + Signature + Signature + + + + + + + + + ASBIE + Despatch Advice. Despatch_ Supplier Party. Supplier Party + The despatch party. + 1 + Despatch Advice + Despatch + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Despatch Advice. Delivery_ Customer Party. Customer Party + The delivery recipient. + 1 + Despatch Advice + Delivery + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Despatch Advice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Despatch Advice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Despatch Advice. Originator_ Customer Party. Customer Party + A customer party as originator. + 0..1 + Despatch Advice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Despatch Advice. Shipment + The shipment. + 0..1 + Despatch Advice + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Despatch Advice. Despatch Line + A Despatch Line associated with a kind of item delivered. + 1..n + Despatch Advice + Despatch Line + Despatch Line + Despatch Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DigitalAgreement-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DigitalAgreement-2.2.xsd new file mode 100644 index 0000000..db04353 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DigitalAgreement-2.2.xsd @@ -0,0 +1,422 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Digital Agreement. Details + A document used to support business parties agreeing on a set of digital processes, terms and conditions to ensure interoperability. + Digital Agreement + Trading Partner Agreement, TPA + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Digital Agreement. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Digital Agreement + UBL Version Identifier + Identifier + Identifier. Type + 2.2 + + + + + + + + + BBIE + Digital Agreement. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Digital Agreement + Customization Identifier + Identifier + Identifier. Type + EESPA + + + + + + + + + BBIE + Digital Agreement. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Digital Agreement + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Digital Agreement. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Digital Agreement + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Digital Agreement. Identifier + An identifier for this document, assigned by the sender. + 1 + Digital Agreement + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Digital Agreement. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Digital Agreement + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Digital Agreement. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Digital Agreement + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Digital Agreement. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Digital Agreement + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Digital Agreement. Agreement Type Code. Code + A code signifying the type of digital agreement (e.g. bi-lateral, multi-lateral). + 0..1 + Digital Agreement + Agreement Type Code + Code + Code. Type + multi-lateral + + + + + + + + + BBIE + Digital Agreement. Version Identifier. Identifier + Identifies the current version of this digital agreement. + 1 + Digital Agreement + Version Identifier + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Digital Agreement. Previous Version Identifier. Identifier + Identifies the previous version of this digital agreement. + 0..1 + Digital Agreement + Previous Version Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + BBIE + Digital Agreement. Required_ Response Message Level Code. Code + A code signifying the minimum response message level the parties are required to provide (e.g. EESPA response message level). + 0..1 + Digital Agreement + Required + Response Message Level Code + Code + Code. Type + RM2 + + + + + + + + + ASBIE + Digital Agreement. Signature + A signature applied to this document. + 0..n + Digital Agreement + Signature + Signature + Signature + + + + + + + + + ASBIE + Digital Agreement. Governor_ Party. Party + The party governing the agreement (e.g. a multi-lateral digital agreement). + 0..1 + Digital Agreement + Governor + Party + Party + Party + + + + + + + + + ASBIE + Digital Agreement. Participant Party + The business parties agreeing on a set of digital processes, terms and conditions to ensure interoperability. + 1..n + Digital Agreement + Participant Party + Participant Party + Participant Party + + + + + + + + + ASBIE + Digital Agreement. Agreement_ Country. Country + The country to which this digital agreement applies. + 0..n + Digital Agreement + Agreement + Country + Country + Country + + + + + + + + + ASBIE + Digital Agreement. Required Certification_ Document Reference. Document Reference + A reference to a certification document required by this digital agreement. + 0..n + Digital Agreement + Required Certification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Digital Agreement. Digital Agreement Terms + A reference to digital agreement terms and conditions. + 0..1 + Digital Agreement + Digital Agreement Terms + Digital Agreement Terms + Digital Agreement Terms + + + + + + + + + ASBIE + Digital Agreement. Digital Process + The digital processes in scope of this digital agreement. + 1..n + Digital Agreement + Digital Process + Digital Process + Digital Process + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DigitalCapability-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DigitalCapability-2.2.xsd new file mode 100644 index 0000000..7d3fc81 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DigitalCapability-2.2.xsd @@ -0,0 +1,350 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Digital Capability. Details + A document used to provide information about a business party and its digital trade capabilities. + Digital Capability + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Digital Capability. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Digital Capability + UBL Version Identifier + Identifier + Identifier. Type + 2.2 + + + + + + + + + BBIE + Digital Capability. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Digital Capability + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Digital Capability. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Digital Capability + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Digital Capability. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Digital Capability + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Digital Capability. Identifier + An identifier for this document, assigned by the sender. + 1 + Digital Capability + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Digital Capability. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Digital Capability + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Digital Capability. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Digital Capability + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Digital Capability. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Digital Capability + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Digital Capability. Version Identifier. Identifier + Identifies the current version of party's digital capabilities. + 0..1 + Digital Capability + Version Identifier + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Digital Capability. Previous Version Identifier. Identifier + Identifies the previous version of party's digital capabilities. + 0..1 + Digital Capability + Previous Version Identifier + Identifier + Identifier. Type + 1 + + + + + + + + + ASBIE + Digital Capability. Signature + A signature applied to this document. + 0..n + Digital Capability + Signature + Signature + Signature + + + + + + + + + ASBIE + Digital Capability. Sender_ Party. Party + The party sending these digital capabilities. This party could be the owner of these digital capabilities or a third-party acting on behalf of the owner (e.g. service provider). + 0..1 + Digital Capability + Sender + Party + Party + Party + + + + + + + + + ASBIE + Digital Capability. Receiver_ Party. Party + The party receiving these digital capabilities. + 0..1 + Digital Capability + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Digital Capability. Business_ Party. Party + The party owning these digital capabilities. + 1 + Digital Capability + Business + Party + Party + Party + + + + + + + + + ASBIE + Digital Capability. Digital Process + The digital trade processes supported by the party. + 1..n + Digital Capability + Digital Process + Digital Process + Digital Process + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DocumentStatus-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DocumentStatus-2.2.xsd new file mode 100644 index 0000000..f57a46c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DocumentStatus-2.2.xsd @@ -0,0 +1,351 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Document Status. Details + A document used to provide information about document status. + Document Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Document Status. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Document Status + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Document Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Document Status + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Document Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Document Status + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Document Status. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Document Status + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Document Status. Identifier + An identifier for this document, assigned by the sender. + 1 + Document Status + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Document Status + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Document Status. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Document Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Document Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Document Status. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Document Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Document Status. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Document Status + Note + Text + Text. Type + + + + + + + + + ASBIE + Document Status. Signature + A signature applied to this document. + 0..n + Document Status + Signature + Signature + Signature + + + + + + + + + ASBIE + Document Status. Sender_ Party. Party + The party sending this document. + 0..1 + Document Status + Sender + Party + Party + Party + + + + + + + + + ASBIE + Document Status. Receiver_ Party. Party + The party receiving this document. + 0..1 + Document Status + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Document Status. Document Response + A response to the document. + 0..1 + Document Status + Document Response + Document Response + Document Response + + + + + + + + + ASBIE + Document Status. Additional_ Document Response. Document Response + A document linked or related to the document for which the status was requested. + 0..n + Document Status + Additional + Document Response + Document Response + Document Response + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DocumentStatusRequest-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DocumentStatusRequest-2.2.xsd new file mode 100644 index 0000000..b1c6548 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-DocumentStatusRequest-2.2.xsd @@ -0,0 +1,349 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Document Status Request. Details + A document used to request the status of another document. + Document Status Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Document Status Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Document Status Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Document Status Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Document Status Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Document Status Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Document Status Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Document Status Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Document Status Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Document Status Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Document Status Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Document Status Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Document Status Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Document Status Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Document Status Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Document Status Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Document Status Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Document Status Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Document Status Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Document Status Request + Note + Text + Text. Type + + + + + + + + + BBIE + Document Status Request. Tracking Identifier. Identifier + An identifier for tracking status of the business process . + 0..1 + Document Status Request + Tracking Identifier + Identifier + Identifier. Type + + + + + + + + + ASBIE + Document Status Request. Requested_ Document Reference. Document Reference + The document about which status is requested. + 0..1 + Document Status Request + Requested + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Document Status Request. Signature + A signature applied to this document. + 0..n + Document Status Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Document Status Request. Sender_ Party. Party + The party sending this document. + 0..1 + Document Status Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Document Status Request. Receiver_ Party. Party + The party receiving this document. + 0..1 + Document Status Request + Receiver + Party + Party + Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Enquiry-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Enquiry-2.2.xsd new file mode 100644 index 0000000..00f840b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Enquiry-2.2.xsd @@ -0,0 +1,385 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Enquiry. Details + A document sent by a requestor to a responder resquesting information about a particular business process. + Enquiry + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Enquiry. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Enquiry + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Enquiry. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Enquiry + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Enquiry. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Enquiry + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Enquiry. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Enquiry + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Enquiry. Identifier + An identifier for this document, assigned by the requestor. + 0..1 + Enquiry + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Enquiry. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Enquiry + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Enquiry. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Enquiry + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Enquiry. Issue Date. Date + The date, assigned by the requestor, at which this enquiry was issued. + 1 + Enquiry + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Enquiry. Issue Time. Time + The time, assigned by the requestor, at which this enquiry was issued. + 0..1 + Enquiry + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Enquiry. Latest_ Reply Date. Date + The date, assigned by the requestor, by which this enquiry shall be replied. + 0..1 + Enquiry + Latest + Reply Date + Date + Date. Type + + + + + + + + + BBIE + Enquiry. Latest_ Reply Time. Time + The time, assigned by the requestor, by which this enquiry shall be replied. + 0..1 + Enquiry + Latest + Reply Time + Time + Time. Type + + + + + + + + + BBIE + Enquiry. Description. Text + Free-form text-only description pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Enquiry + Description + Text + Text. Type + + + + + + + + + ASBIE + Enquiry. Signature + A signature applied to this document. + 0..n + Enquiry + Signature + Signature + Signature + + + + + + + + + ASBIE + Enquiry. Requestor_ Party. Party + The party issuing the enquiry. + 1 + Enquiry + Requestor + Party + Party + Party + + + + + + + + + ASBIE + Enquiry. Responder_ Party. Party + The party that has to respond to the enquiry. + 1 + Enquiry + Responder + Party + Party + Party + + + + + + + + + ASBIE + Enquiry. Additional_ Document Reference. Document Reference + References to relevant documents for the enquiry such as the Contract folder or the lot in the eTendering. + 0..n + Enquiry + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Enquiry. Attachment + Attachment that includes file-based enquiry. + 0..n + Enquiry + Attachment + Attachment + Attachment + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-EnquiryResponse-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-EnquiryResponse-2.2.xsd new file mode 100644 index 0000000..8f1e0dc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-EnquiryResponse-2.2.xsd @@ -0,0 +1,368 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Enquiry Response. Details + A document sent by a responder to a requester answering a particular enqury. + Enquiry Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Enquiry Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Enquiry Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Enquiry Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Enquiry Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Enquiry Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Enquiry Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Enquiry Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Enquiry Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Enquiry Response. Identifier + An identifier for this document, assigned by the responder. + 0..1 + Enquiry Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Enquiry Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Enquiry Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Enquiry Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Enquiry Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Enquiry Response. Issue Date. Date + The date, assigned by the responder, at which this enquiry response was issued. + 1 + Enquiry Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Enquiry Response. Issue Time. Time + The time, assigned by the responder, at which this enquiry response was issued. + 0..1 + Enquiry Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Enquiry Response. Description. Text + Free-form text-only enquiry response description pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Enquiry Response + Description + Text + Text. Type + + + + + + + + + ASBIE + Enquiry Response. Signature + A signature applied to this document. + 0..n + Enquiry Response + Signature + Signature + Signature + + + + + + + + + ASBIE + Enquiry Response. Requestor_ Party. Party + The party issuing the enquiry. + 1 + Enquiry Response + Requestor + Party + Party + Party + + + + + + + + + ASBIE + Enquiry Response. Responder_ Party. Party + The party that has to respond to the enquiry. + 1 + Enquiry Response + Responder + Party + Party + Party + + + + + + + + + ASBIE + Enquiry Response. Parent_ Document Reference. Document Reference + Reference to the enquiry that this response refers to. + 1 + Enquiry Response + Parent + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Enquiry Response. Additional_ Document Reference. Document Reference + References to relevant documents for the response such as the Contract folder or the lot in the eTendering. + 0..n + Enquiry Response + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Enquiry Response. Attachment + Attachment that includes file-based response. + 0..n + Enquiry Response + Attachment + Attachment + Attachment + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExceptionCriteria-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExceptionCriteria-2.2.xsd new file mode 100644 index 0000000..31599ba --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExceptionCriteria-2.2.xsd @@ -0,0 +1,418 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Exception Criteria. Details + A document used to specify the thresholds for forecast variance, product activity, and performance history beyond which exceptions should be triggered. + Exception Criteria + Exception Criteria + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Exception Criteria. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Exception Criteria + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Exception Criteria. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Exception Criteria + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Exception Criteria. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Exception Criteria + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Exception Criteria. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Exception Criteria + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Exception Criteria. Identifier + An identifier for this document, assigned by the sender. + 1 + Exception Criteria + Identifier + Identifier + Identifier. Type + Exception Criteria Number + + + + + + + + + BBIE + Exception Criteria. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Exception Criteria + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Exception Criteria. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Exception Criteria + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Criteria. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Exception Criteria + Issue Date + Date + Date. Type + Exception Criteria Date + + + + + + + + + BBIE + Exception Criteria. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Exception Criteria + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Exception Criteria. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Exception Criteria + Note + Text + Text. Type + + + + + + + + + BBIE + Exception Criteria. Version. Identifier + Identifies the current version of this document. + 0..1 + Exception Criteria + Version + Identifier + Identifier. Type + + + + + + + + + ASBIE + Exception Criteria. Validity_ Period. Period + The period of time during which the Exception Criteria is valid. + 1 + Exception Criteria + Validity + Period + Period + Period + + + + + + + + + ASBIE + Exception Criteria. Document Reference + A reference to another document associated with this document. + 0..n + Exception Criteria + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Exception Criteria. Signature + A signature applied to this document. + 0..n + Exception Criteria + Signature + Signature + Signature + + + + + + + + + ASBIE + Exception Criteria. Sender_ Party. Party + The party sending this document. + 1 + Exception Criteria + Sender + Party + Party + Party + + + + + + + + + ASBIE + Exception Criteria. Receiver_ Party. Party + The party receiving this document. + 1 + Exception Criteria + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Exception Criteria. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Exception Criteria + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Exception Criteria. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Exception Criteria + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Exception Criteria. Exception Criteria Line + A line expressing an exception criterion setting thresholds beyond which an exception should be triggered. + 1..n + Exception Criteria + Exception Criteria Line + Exception Criteria Line + Exception Criteria Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExceptionNotification-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExceptionNotification-2.2.xsd new file mode 100644 index 0000000..b74b127 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExceptionNotification-2.2.xsd @@ -0,0 +1,404 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Exception Notification. Details + A document used to notify an exception in forecast variance, product activity, or performance history. + Exception Notification + ExceptionNotification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Exception Notification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Exception Notification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Exception Notification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Exception Notification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Exception Notification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Exception Notification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Exception Notification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Exception Notification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Exception Notification. Identifier + An identifier for this document, assigned by the sender. + 1 + Exception Notification + Identifier + Identifier + Identifier. Type + Exception Notification Number + + + + + + + + + BBIE + Exception Notification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Exception Notification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Exception Notification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Exception Notification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Exception Notification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Exception Notification + Issue Date + Date + Date. Type + Exception Notification Date + + + + + + + + + BBIE + Exception Notification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Exception Notification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Exception Notification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Exception Notification + Note + Text + Text. Type + + + + + + + + + ASBIE + Exception Notification. Exception Observation_ Period. Period + The period of time during which the exceptions are observed. + 1 + Exception Notification + Exception Observation + Period + Period + Period + + + + + + + + + ASBIE + Exception Notification. Document Reference + A reference to another document associated with this document. + 0..n + Exception Notification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Exception Notification. Signature + A signature applied to this document. + 0..n + Exception Notification + Signature + Signature + Signature + + + + + + + + + ASBIE + Exception Notification. Sender_ Party. Party + The party sending this document. + 1 + Exception Notification + Sender + Party + Party + Party + + + + + + + + + ASBIE + Exception Notification. Receiver_ Party. Party + The party receiving this document. + 1 + Exception Notification + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Exception Notification. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Exception Notification + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Exception Notification. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Exception Notification + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Exception Notification. Exception Notification Line + A line in the Exception Notification. + 1..n + Exception Notification + Exception Notification Line + Exception Notification Line + Exception Notification Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExpressionOfInterestRequest-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExpressionOfInterestRequest-2.2.xsd new file mode 100644 index 0000000..c6c31f1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExpressionOfInterestRequest-2.2.xsd @@ -0,0 +1,428 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Expression Of Interest Request. Details + An expression of interest to a tendering process. An Economic Operator can demonstrate interest in a tendering process issuing an Expression Of Interest document to the contracting party. Upon reception, the Contracting Party registers the interest of the Economic Operator sending the relevant information for the tendering process. + Expression Of Interest Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Expression Of Interest Request. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Expression Of Interest Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Expression Of Interest Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Expression Of Interest Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Expression Of Interest Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Expression Of Interest Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Expression Of Interest Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Expression Of Interest Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Expression Of Interest Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Request. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Expression Of Interest Request + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Expression Of Interest Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Expression Of Interest Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Expression Of Interest Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Expression Of Interest Request. Contract Name. Name + Short title of a contract associated with this Expression of Interest. + 0..n + Expression Of Interest Request + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Expression Of Interest Request. Preferred Language_ Locale Code. Code + A code signifying the locale in which the language in the required documents is preferred. + 0..1 + Expression Of Interest Request + Preferred Language + Locale Code + Code + Language + Language_ Code. Type + + + + + + + + + BBIE + Expression Of Interest Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Expression Of Interest Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Expression Of Interest Request. Validity_ Period. Period + The period for which the expression of interest is valid. + 0..1 + Expression Of Interest Request + Validity + Period + Period + Period + + + + + + + + + ASBIE + Expression Of Interest Request. Document Reference + A reference to another document associated with this document. + 0..n + Expression Of Interest Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Expression Of Interest Request. Signature + A signature applied to this document. + 0..n + Expression Of Interest Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Expression Of Interest Request. Economic Operator Party + The Economic Operator issuing the expression of interest. + 1 + Expression Of Interest Request + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Expression Of Interest Request. Contracting Party + The Contracting Party or the contracting parties in case of joint procurement. + 1..n + Expression Of Interest Request + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Expression Of Interest Request. Procurement Project + An overall definition of this procurement project. + 0..1 + Expression Of Interest Request + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Expression Of Interest Request. Procurement Project Lot Reference + One of the procurement project lots into which this contract can be split. + 0..n + Expression Of Interest Request + Procurement Project Lot Reference + Procurement Project Lot Reference + Procurement Project Lot Reference + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExpressionOfInterestResponse-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExpressionOfInterestResponse-2.2.xsd new file mode 100644 index 0000000..775cb21 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ExpressionOfInterestResponse-2.2.xsd @@ -0,0 +1,414 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Expression Of Interest Response. Details + An expression of interest confirmation issued by a Contracting Party in reply to an expression of interest. The purpose of this document is to inform the Economic Operator he has been registered as an interested party. + Expression Of Interest Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Expression Of Interest Response. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Expression Of Interest Response + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Expression Of Interest Response + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Expression Of Interest Response + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Expression Of Interest Response + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Response. Identifier + An identifier for this document, assigned by the sender. + 1 + Expression Of Interest Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Expression Of Interest Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Expression Of Interest Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Expression Of Interest Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Response. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Expression Of Interest Response + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Expression Of Interest Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Expression Of Interest Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Expression Of Interest Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Expression Of Interest Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Expression Of Interest Response. Contract Name. Name + Short title of a contract associated with this Expression of Interest. + 0..n + Expression Of Interest Response + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Expression Of Interest Response. Tender Language_ Locale Code. Code + A code signifying the language required for the tender. + 0..1 + Expression Of Interest Response + Tender Language + Locale Code + Code + Language + Language_ Code. Type + + + + + + + + + BBIE + Expression Of Interest Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Expression Of Interest Response + Note + Text + Text. Type + + + + + + + + + ASBIE + Expression Of Interest Response. Expression Of Interest_ Document Reference. Document Reference + A reference to the expression of interest document associated with this document. + 0..n + Expression Of Interest Response + Expression Of Interest + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Expression Of Interest Response. Signature + A signature applied to this document. + 0..n + Expression Of Interest Response + Signature + Signature + Signature + + + + + + + + + ASBIE + Expression Of Interest Response. Economic Operator Party + The economic operator that issued the expression of interest and is receiving the confirmation. + 1 + Expression Of Interest Response + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Expression Of Interest Response. Contracting Party + The contracting party or parties in case of joint procurement. + 1..n + Expression Of Interest Response + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Expression Of Interest Response. Procurement Project + An overall definition of this procurement project. + 0..1 + Expression Of Interest Response + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Expression Of Interest Response. Procurement Project Lot Reference + One of the procurement project lots into which this contract can be split. + 0..n + Expression Of Interest Response + Procurement Project Lot Reference + Procurement Project Lot Reference + Procurement Project Lot Reference + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Forecast-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Forecast-2.2.xsd new file mode 100644 index 0000000..deff753 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Forecast-2.2.xsd @@ -0,0 +1,455 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Forecast. Details + A document used to forecast sales or orders. + Forecast + Forecast + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Forecast. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Forecast + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Forecast. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Forecast + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Forecast. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Forecast + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Forecast. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Forecast + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Forecast. Identifier + An identifier for this document, assigned by the sender. + 1 + Forecast + Identifier + Identifier + Identifier. Type + Forecast Number + + + + + + + + + BBIE + Forecast. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Forecast + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Forecast + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Forecast + Issue Date + Date + Date. Type + Forecast Date + + + + + + + + + BBIE + Forecast. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Forecast + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Forecast + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast. Version. Identifier + Identifies the current version of this document. + 0..1 + Forecast + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast. Based On Consensus_ Indicator. Indicator + Indicates whether the Forecast is based on consensus (true) or not (false). + 0..1 + Forecast + Based On Consensus + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast. Forecast_ Purpose Code. Code + A code signifying the purpose of the Forecast document. + 1 + Forecast + Forecast + Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Forecast. Forecast_ Period. Period + The period to which the Forecast applies. + 1 + Forecast + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Forecast + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Forecast. Signature + A signature applied to this document. + 0..n + Forecast + Signature + Signature + Signature + + + + + + + + + ASBIE + Forecast. Sender_ Party. Party + The party sending this document. + 1 + Forecast + Sender + Party + Party + Party + + + + + + + + + ASBIE + Forecast. Receiver_ Party. Party + The party receiving this document. + 1 + Forecast + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Forecast. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Forecast + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Forecast. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Forecast + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Forecast. Forecast Line + A Forecast Line. + 1..n + Forecast + Forecast Line + Forecast Line + Forecast Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ForecastRevision-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ForecastRevision-2.2.xsd new file mode 100644 index 0000000..38f5c2f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ForecastRevision-2.2.xsd @@ -0,0 +1,454 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Forecast Revision. Details + A document used to revise a Forecast. + Forecast Revision + Forecast Revision + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Forecast Revision. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Forecast Revision + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Forecast Revision. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Forecast Revision + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Forecast Revision. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Forecast Revision + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Forecast Revision. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Forecast Revision + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Forecast Revision. Identifier + An identifier for this document, assigned by the sender. + 1 + Forecast Revision + Identifier + Identifier + Identifier. Type + Forecast Revision Number + + + + + + + + + BBIE + Forecast Revision. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Forecast Revision + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forecast Revision. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Forecast Revision + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Forecast Revision + Issue Date + Date + Date. Type + Forecast Date + + + + + + + + + BBIE + Forecast Revision. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Forecast Revision + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forecast Revision. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Forecast Revision + Note + Text + Text. Type + + + + + + + + + BBIE + Forecast Revision. Sequence Number. Identifier + A sequence number, to ensure the proper sequencing of revisions. + 1 + Forecast Revision + Sequence Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Forecast Revision. Revision_ Status Code. Code + Indicates the revision status of this Forecast Revision. + 0..1 + Forecast Revision + Revision + Status Code + Code + Code. Type + + + + + + + + + BBIE + Forecast Revision. Purpose Code. Code + Indicates the purpose of the revision. + 0..1 + Forecast Revision + Purpose Code + Code + Code. Type + + + + + + + + + ASBIE + Forecast Revision. Forecast_ Period. Period + The period to which the Forecast applies. + 1 + Forecast Revision + Forecast + Period + Period + Period + + + + + + + + + ASBIE + Forecast Revision. Original_ Document Reference. Document Reference + The Forecast document being revised. + 0..n + Forecast Revision + Original + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Forecast Revision. Signature + A signature applied to this document. + 0..n + Forecast Revision + Signature + Signature + Signature + + + + + + + + + ASBIE + Forecast Revision. Sender_ Party. Party + The party sending this document. + 1 + Forecast Revision + Sender + Party + Party + Party + + + + + + + + + ASBIE + Forecast Revision. Receiver_ Party. Party + The party receiving this document. + 1 + Forecast Revision + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Forecast Revision. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Forecast Revision + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Forecast Revision. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Forecast Revision + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Forecast Revision. Forecast Revision Line + A line that revises a line in the Forecast. + 1..n + Forecast Revision + Forecast Revision Line + Forecast Revision Line + Forecast Revision Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ForwardingInstructions-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ForwardingInstructions-2.2.xsd new file mode 100644 index 0000000..a4f2ebc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ForwardingInstructions-2.2.xsd @@ -0,0 +1,534 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Forwarding Instructions. Details + A document issued to a forwarder, giving instructions regarding the action to be taken for the forwarding of goods described therein. Forwarding Instructions is used by any party who gives instructions for the transportation services required for a consignment of goods to any party who is contracted to provide the transportation services. The parties who issue this document are commonly referred to as the shipper or consignor, while the parties who receive this document are forwarders, carriers, shipping agents, etc. This document may also be issued by a forwarder or shipping agent in its capacity as a shipper. This document can be used to arrange for the transportation (1) of different types of goods or cargoes; (2) whether containerized or non-containerized; (3) through different modes of transport including multi-modal; and (4) from any origin to any destination. + Forwarding Instructions + Forwarding Instruction, Freight Forwarding Instruction, Shippers Letter of Instruction, Shipper's Letter of Instruction, Shipping Instruction + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Forwarding Instructions. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Forwarding Instructions + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Forwarding Instructions. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Forwarding Instructions + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Forwarding Instructions. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Forwarding Instructions + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Forwarding Instructions. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Forwarding Instructions + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Forwarding Instructions. Identifier + An identifier for this document, assigned by the sender. + 1 + Forwarding Instructions + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. Carrier Assigned_ Identifier. Identifier + Reference number assigned by a carrier or its agent to identify a specific shipment, such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Forwarding Instructions + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Forwarding Instructions + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Forwarding Instructions + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Forwarding Instructions. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Forwarding Instructions + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Forwarding Instructions. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Forwarding Instructions + Name + Name + Name. Type + + + + + + + + + BBIE + Forwarding Instructions. Description. Text + Textual description of the document instance. + 0..n + Forwarding Instructions + Description + Text + Text. Type + + + + + + + + + BBIE + Forwarding Instructions. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Forwarding Instructions + Note + Text + Text. Type + + + + + + + + + BBIE + Forwarding Instructions. Document Status Code. Code + A code signifying the status of the Forwarding Instructions with respect to its original state. This code may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancellation or revision. + 0..1 + Forwarding Instructions + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Forwarding Instructions. Shipping Order Identifier. Identifier + Reference number to identify a Shipping Order. + 0..1 + Forwarding Instructions + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Forwarding Instructions. To Order_ Indicator. Indicator + Indicates whether the transport document is consigned to order. + 0..1 + Forwarding Instructions + To Order + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forwarding Instructions. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Forwarding Instructions + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Forwarding Instructions. Declared Carriage_ Value. Amount + Value declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage in case of loss or damage to goods or delayed delivery. + 0..1 + Forwarding Instructions + Declared Carriage + Value + Amount + Amount. Type + + + + + + + + + BBIE + Forwarding Instructions. Other_ Instruction. Text + Contains other free-text instructions to the forwarders or carriers related to the shipment. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Forwarding Instructions + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Forwarding Instructions. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Forwarding Instructions + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Forwarding Instructions. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Forwarding Instructions + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Forwarding Instructions. Freight Forwarder_ Party. Party + A party combining individual smaller consignments into a single larger shipment (a so-called consolidated consignment or shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Forwarding Instructions + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Forwarding Instructions. Shipment + An identifiable collection of one or more goods items to be transported between the seller party and the buyer party. + 1 + Forwarding Instructions + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Forwarding Instructions. Document Reference + A reference to another document associated with this document. + 0..n + Forwarding Instructions + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Forwarding Instructions. Exchange Rate + Information about the rate of exchange (conversion) between two currencies. + 0..n + Forwarding Instructions + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Forwarding Instructions. Document Distribution + A list of interested parties to whom this document is distributed. + 0..n + Forwarding Instructions + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Forwarding Instructions. Signature + A signature applied to this document. + 0..n + Forwarding Instructions + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-FreightInvoice-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-FreightInvoice-2.2.xsd new file mode 100644 index 0000000..2c43e41 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-FreightInvoice-2.2.xsd @@ -0,0 +1,917 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Freight Invoice. Details + A document stating the charges incurred for a logistics service. + Freight Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Freight Invoice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Freight Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Freight Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Freight Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Freight Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Freight Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Freight Invoice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Freight Invoice + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Freight Invoice. Identifier + An identifier for this document, assigned by the sender. + 1 + Freight Invoice + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Freight Invoice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Freight Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Freight Invoice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Freight Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Freight Invoice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Freight Invoice + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Freight Invoice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Freight Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Freight Invoice. Due Date. Date + The date on which Invoice is due. + 0..1 + Freight Invoice + Due Date + Date + Date. Type + + + + + + + + + BBIE + Freight Invoice. Invoice Type Code. Code + A code signifying the type of the Freight Invoice. + 0..1 + Freight Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Freight Invoice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Freight Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Freight Invoice. Tax Point Date. Date + The date of the Freight Invoice, used to indicate the point at which tax becomes applicable. + 0..1 + Freight Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Freight Invoice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Freight Invoice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Freight Invoice. + 0..1 + Freight Invoice + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Freight Invoice. + 0..1 + Freight Invoice + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Freight Invoice. + 0..1 + Freight Invoice + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Freight Invoice. + 0..1 + Freight Invoice + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Freight Invoice. Accounting Cost Code. Code + The buyer's accounting code, applied to the Freight Invoice as a whole. + 0..1 + Freight Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Freight Invoice. Accounting Cost. Text + The buyer's accounting cost centre, applied to the Freight Invoice as a whole, expressed as text. + 0..1 + Freight Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Freight Invoice. Line Count. Numeric + The number of Invoice Lines in the document. + 0..1 + Freight Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Freight Invoice. Invoice_ Period. Period + The time periods to which the Freight Invoice applies. + 0..n + Freight Invoice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Freight Invoice. Shipment + Details about one or more shipments covered by this Freight Invoice. + 1..n + Freight Invoice + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Freight Invoice. Order Reference + Reference to an Order associated with this Freight Invoice. + 0..1 + Freight Invoice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Freight Invoice. Billing Reference + A reference to a billing document associated with this document. + 0..n + Freight Invoice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Freight Invoice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Freight Invoice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Freight Invoice + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Freight Invoice + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Freight Invoice + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Freight Invoice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Freight Invoice. Project Reference + A reference to a project associated with this document. + 0..n + Freight Invoice + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Freight Invoice. Signature + A signature applied to this document. + 0..n + Freight Invoice + Signature + Signature + Signature + + + + + + + + + ASBIE + Freight Invoice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Freight Invoice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Freight Invoice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Freight Invoice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Freight Invoice. Payee_ Party. Party + The payee. + 0..1 + Freight Invoice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Freight Invoice. Tax Representative_ Party. Party + The tax representative. + 0..1 + Freight Invoice + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Freight Invoice. Payment Means + Expected means of payment. + 0..n + Freight Invoice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Freight Invoice. Payment Terms + A set of payment terms associated with this document. + 0..n + Freight Invoice + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Freight Invoice. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Freight Invoice + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Freight Invoice. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Freight Invoice + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Freight Invoice. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Freight Invoice + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Freight Invoice + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Freight Invoice + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Freight Invoice + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Freight Invoice. Tax Total + The total amount of a specific type of tax. + 0..n + Freight Invoice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Freight Invoice. Withholding_ Tax Total. Tax Total + The total withholding tax. + 0..n + Freight Invoice + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Freight Invoice. Legal_ Monetary Total. Monetary Total + The total amount payable on the Freight Invoice, including Allowances, Charges, and Taxes. + 1 + Freight Invoice + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Freight Invoice. Invoice Line + An Invoice Line. + 1..n + Freight Invoice + Invoice Line + Invoice Line + Invoice Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-FulfilmentCancellation-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-FulfilmentCancellation-2.2.xsd new file mode 100644 index 0000000..c1ab4c0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-FulfilmentCancellation-2.2.xsd @@ -0,0 +1,472 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Fulfilment Cancellation. Details + A document used to cancel an entire fulfilment document (Despatch Advice or Receipt Advice). + Fulfilment Cancellation + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Fulfilment Cancellation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Fulfilment Cancellation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Fulfilment Cancellation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Fulfilment Cancellation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Fulfilment Cancellation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Fulfilment Cancellation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Fulfilment Cancellation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Fulfilment Cancellation + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Identifier + An identifier for this document, assigned by the sender. + 1 + Fulfilment Cancellation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Fulfilment Cancellation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Fulfilment Cancellation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Fulfilment Cancellation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Fulfilment Cancellation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Fulfilment Cancellation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Fulfilment Cancellation + Note + Text + Text. Type + + + + + + + + + BBIE + Fulfilment Cancellation. Cancellation_ Note. Text + The reason for cancellation of the referenced document. + 1..n + Fulfilment Cancellation + Cancellation + Note + Text + Text. Type + + + + + + + + + ASBIE + Fulfilment Cancellation. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Fulfilment Cancellation + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Fulfilment Cancellation + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Order Reference + A reference to an Order document associated with the referenced Despatch or Receipt Advice(s). + 0..n + Fulfilment Cancellation + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Fulfilment Cancellation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Fulfilment Cancellation. Contract + The contracts or framework agreements with which the referenced fulfilment document is associated. + 0..n + Fulfilment Cancellation + Contract + Contract + Contract + + + + + + + + + ASBIE + Fulfilment Cancellation. Signature + A signature applied to this document. + 0..n + Fulfilment Cancellation + Signature + Signature + Signature + + + + + + + + + ASBIE + Fulfilment Cancellation. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Fulfilment Cancellation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Fulfilment Cancellation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Delivery_ Customer Party. Customer Party + The delivery party. + 0..1 + Fulfilment Cancellation + Delivery + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Despatch_ Supplier Party. Supplier Party + The despatch party. + 0..1 + Fulfilment Cancellation + Despatch + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Fulfilment Cancellation. Originator_ Customer Party. Customer Party + The originator party + 0..1 + Fulfilment Cancellation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-GoodsItemItinerary-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-GoodsItemItinerary-2.2.xsd new file mode 100644 index 0000000..18d9966 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-GoodsItemItinerary-2.2.xsd @@ -0,0 +1,432 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Goods Item Itinerary. Details + A document providing details relating to a transport service, such as transport movement, identification of equipment and goods, subcontracted service providers, etc. + Goods Item Itinerary + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Goods Item Itinerary. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Goods Item Itinerary + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Goods Item Itinerary + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Goods Item Itinerary + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Goods Item Itinerary + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Identifier + An identifier for this document, assigned by the sender. + 1 + Goods Item Itinerary + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Goods Item Itinerary + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Goods Item Itinerary. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Goods Item Itinerary + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Goods Item Itinerary + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Goods Item Itinerary. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Goods Item Itinerary + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Goods Item Itinerary. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Goods Item Itinerary + Note + Text + Text. Type + + + + + + + + + BBIE + Goods Item Itinerary. Version. Identifier + Identifies a version of a Goods Item Itinerary in order to distinguish updates. + 1 + Goods Item Itinerary + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Goods Item Itinerary. Transport Execution Plan Reference. Identifier + The Transport Execution Plan associated with this Goods Item Itinerary. + 1 + Goods Item Itinerary + Transport Execution Plan Reference + Identifier + Identifier. Type + + + + + + + + + ASBIE + Goods Item Itinerary. Signature + A signature applied to this document. + 0..n + Goods Item Itinerary + Signature + Signature + Signature + + + + + + + + + ASBIE + Goods Item Itinerary. Sender_ Party. Party + The sender of this Goods Item Itinerary. + 0..1 + Goods Item Itinerary + Sender + Party + Party + Party + + + + + + + + + ASBIE + Goods Item Itinerary. Receiver_ Party. Party + The receiver of this Goods Item Itinerary. + 0..1 + Goods Item Itinerary + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Consignment. Consignment + A consignment being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Transport Equipment. Transport Equipment + Transport equipment being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Transport Equipment + Transport Equipment + Transport Equipment + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Package. Package + A package being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Package + Package + Package + + + + + + + + + ASBIE + Goods Item Itinerary. Referenced_ Goods Item. Goods Item + An item of goods being transported in the transport service associated with this Goods Item Itinerary. + 0..n + Goods Item Itinerary + Referenced + Goods Item + Goods Item + Goods Item + + + + + + + + + ASBIE + Goods Item Itinerary. Transportation Segment + A part of a transport service that has its own Transport Execution Plan. A Transportation Segment may cover services other than transport, such as terminal handling, document management, customs procedures, etc. + 1..n + Goods Item Itinerary + Transportation Segment + Transportation Segment + Transportation Segment + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-GuaranteeCertificate-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-GuaranteeCertificate-2.2.xsd new file mode 100644 index 0000000..3d27d6d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-GuaranteeCertificate-2.2.xsd @@ -0,0 +1,482 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Guarantee Certificate. Details + A document to notify the deposit of a bid bond guarantee. + Guarantee Certificate + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Guarantee Certificate. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Guarantee Certificate + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Guarantee Certificate. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Guarantee Certificate + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Guarantee Certificate. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Guarantee Certificate + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Guarantee Certificate. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Guarantee Certificate + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Guarantee Certificate. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Guarantee Certificate + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Guarantee Certificate. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Guarantee Certificate + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Guarantee Certificate. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Guarantee Certificate + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Guarantee Certificate. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Guarantee Certificate + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Guarantee Certificate. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Guarantee Certificate + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Guarantee Certificate. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Guarantee Certificate + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Guarantee Certificate. Guarantee Type Code. Code + A code signifying the type of the guarantee. + 0..1 + Guarantee Certificate + Guarantee Type Code + Code + Code. Type + + + + + + + + + BBIE + Guarantee Certificate. Purpose. Text + A textual description of the purpose of the bid bond guarantee. + 0..n + Guarantee Certificate + Purpose + Text + Text. Type + + + + + + + + + BBIE + Guarantee Certificate. Liability. Amount + The liability amount (a monetary value) in the bid bond guarantee. + 1 + Guarantee Certificate + Liability + Amount + Amount. Type + + + + + + + + + BBIE + Guarantee Certificate. Constitution Code. Code + The code stating the constitution means of the guarantee. + 0..1 + Guarantee Certificate + Constitution Code + Code + Code. Type + + + + + + + + + BBIE + Guarantee Certificate. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Guarantee Certificate + Note + Text + Text. Type + + + + + + + + + ASBIE + Guarantee Certificate. Applicable_ Period. Period + The specified period in the tendering process for which this bid bond guarantee is effective + 0..1 + Guarantee Certificate + Applicable + Period + Period + Period + + + + + + + + + ASBIE + Guarantee Certificate. Applicable_ Regulation. Regulation + A reference to an applicable regulation. + 0..n + Guarantee Certificate + Applicable + Regulation + Regulation + Regulation + + + + + + + + + ASBIE + Guarantee Certificate. Guarantee_ Document Reference. Document Reference + A reference to a legal document. + 0..n + Guarantee Certificate + Guarantee + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Guarantee Certificate. Immobilized Security + Details of an immobilized security. + 0..n + Guarantee Certificate + Immobilized Security + Immobilized Security + Immobilized Security + + + + + + + + + ASBIE + Guarantee Certificate. Signature + A signature applied to this document. + 0..n + Guarantee Certificate + Signature + Signature + Signature + + + + + + + + + ASBIE + Guarantee Certificate. Guarantor_ Party. Party + The guarantee creditor organization that has the authority to charge bid bond guarantee credit. + 1 + Guarantee Certificate + Guarantor + Party + Party + Party + + + + + + + + + ASBIE + Guarantee Certificate. Interested_ Party. Party + The party depositing the bid bond guarantee. + 1 + Guarantee Certificate + Interested + Party + Party + Party + + + + + + + + + ASBIE + Guarantee Certificate. Beneficiary_ Party. Party + The beneficiary of the bid bond guarantee. + 0..1 + Guarantee Certificate + Beneficiary + Party + Party + Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-InstructionForReturns-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-InstructionForReturns-2.2.xsd new file mode 100644 index 0000000..9ce3a48 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-InstructionForReturns-2.2.xsd @@ -0,0 +1,384 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Instruction For Returns. Details + A document used to initiate a return of goods. The producer is requesting the return of products that are not selling well, either to use in other places or to free up rack or shelf space. + Instruction For Returns + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Instruction For Returns. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Instruction For Returns + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Instruction For Returns. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Instruction For Returns + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Instruction For Returns. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Instruction For Returns + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Instruction For Returns. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Instruction For Returns + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Instruction For Returns. Identifier + An identifier for this document, assigned by the sender. + 1 + Instruction For Returns + Identifier + Identifier + Identifier. Type + Document Number, Instruction for Returns Number + + + + + + + + + BBIE + Instruction For Returns. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Instruction For Returns + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Instruction For Returns. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Instruction For Returns + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Instruction For Returns. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Instruction For Returns + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Instruction For Returns. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Instruction For Returns + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Instruction For Returns. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Instruction For Returns + Note + Text + Text. Type + + + + + + + + + ASBIE + Instruction For Returns. Document Reference + A reference to another document associated with this document. + 0..n + Instruction For Returns + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Instruction For Returns. Signature + A signature applied to this document. + 0..n + Instruction For Returns + Signature + Signature + Signature + + + + + + + + + ASBIE + Instruction For Returns. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Instruction For Returns + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Instruction For Returns. Retailer_ Customer Party. Customer Party + The retailer. + 1 + Instruction For Returns + Retailer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Instruction For Returns. Manufacturer_ Party. Party + The manufacturer. + 0..1 + Instruction For Returns + Manufacturer + Party + Party + Party + + + + + + + + + ASBIE + Instruction For Returns. Shipment + The shipment. + 0..1 + Instruction For Returns + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Instruction For Returns. Instruction For Returns Line + A line providing details about one type of article to be returned. + 1..n + Instruction For Returns + Instruction For Returns Line + Instruction For Returns Line + Instruction For Returns Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-InventoryReport-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-InventoryReport-2.2.xsd new file mode 100644 index 0000000..788a932 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-InventoryReport-2.2.xsd @@ -0,0 +1,402 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Inventory Report. Details + A report on the quantities of each item that are, or will be, in stock. This document is sent by a Buyer (for example a retailer) to a Seller (for example a producer). + Inventory Report + Storage status report. + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Inventory Report. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Inventory Report + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Inventory Report. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Inventory Report + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Inventory Report. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Inventory Report + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Inventory Report. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Inventory Report + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Inventory Report. Identifier + An identifier for the Inventory Report, assigned by the Issuer. + 1 + Inventory Report + Identifier + Identifier + Identifier. Type + Document Number, Inventory Report Number + + + + + + + + + BBIE + Inventory Report. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Inventory Report + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Inventory Report. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Inventory Report + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Inventory Report. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Inventory Report + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Inventory Report. Issue Time. Time + The time at which the Inventory Report was issued. + 0..1 + Inventory Report + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Inventory Report. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Inventory Report + Note + Text + Text. Type + + + + + + + + + BBIE + Inventory Report. Document_ Currency Code. Code + A code signifying the currency in which the Document is presented. This may be the same currency as the pricing or as the tax. + 0..1 + Inventory Report + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Inventory Report. Inventory_ Period. Period + The period covered by this report. + 0..1 + Inventory Report + Inventory + Period + Period + Period + + + + + + + + + ASBIE + Inventory Report. Document Reference + A reference to another document associated with this document. + 0..n + Inventory Report + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Inventory Report. Signature + A signature applied to this document. + 0..n + Inventory Report + Signature + Signature + Signature + + + + + + + + + ASBIE + Inventory Report. Retailer_ Customer Party. Customer Party + The retailer, who sends this message. + 1 + Inventory Report + Retailer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Inventory Report. Inventory Reporting_ Party. Party + An association to the Party that will really use the Inventory report (normally the branch for which the stock is reported). + 1 + Inventory Report + Inventory Reporting + Party + Party + Party + + + + + + + + + ASBIE + Inventory Report. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Inventory Report + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Inventory Report. Inventory Report Line + A line representing a particular item of sale and associated with a line in the Catalogue. + 1..n + Inventory Report + Inventory Report Line + Inventory Report Line + Inventory Report Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Invoice-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Invoice-2.2.xsd new file mode 100644 index 0000000..bcbec8a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Invoice-2.2.xsd @@ -0,0 +1,1003 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Invoice. Details + A document used to request payment. + Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Invoice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Invoice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Invoice + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Invoice. Identifier + An identifier for this document, assigned by the sender. + 1 + Invoice + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Invoice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Invoice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Invoice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Invoice + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Invoice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Invoice. Due Date. Date + The date on which Invoice is due. + 0..1 + Invoice + Due Date + Date + Date. Type + + + + + + + + + BBIE + Invoice. Invoice Type Code. Code + A code signifying the type of the Invoice. + 0..1 + Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Invoice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Invoice. Tax Point Date. Date + The date of the Invoice, used to indicate the point at which tax becomes applicable. + 0..1 + Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Invoice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Invoice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Invoice. + 0..1 + Invoice + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Invoice. + 0..1 + Invoice + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Invoice. + 0..1 + Invoice + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Invoice. + 0..1 + Invoice + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Invoice. Accounting Cost Code. Code + The buyer's accounting code, applied to the Invoice as a whole. + 0..1 + Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Invoice. Accounting Cost. Text + The buyer's accounting code, applied to the Invoice as a whole, expressed as text. + 0..1 + Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Invoice. Line Count. Numeric + The number of lines in the document. + 0..1 + Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Invoice. Buyer_ Reference. Text + A reference provided by the buyer used for internal routing of the document. + 0..1 + Invoice + Buyer + Reference + Text + Text. Type + + + + + + + + + ASBIE + Invoice. Invoice_ Period. Period + A period to which the Invoice applies. + 0..n + Invoice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Invoice. Order Reference + A reference to the Order with which this Invoice is associated. + 0..1 + Invoice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Invoice. Billing Reference + A reference to a billing document associated with this document. + 0..n + Invoice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Invoice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Invoice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Invoice + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Invoice + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Invoice + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Invoice + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Invoice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Invoice. Project Reference + Information about a project. + 0..n + Invoice + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Invoice. Signature + A signature applied to this document. + 0..n + Invoice + Signature + Signature + Signature + + + + + + + + + ASBIE + Invoice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Invoice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Invoice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Invoice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Invoice. Payee_ Party. Party + The payee. + 0..1 + Invoice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Invoice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Invoice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Invoice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Invoice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Invoice. Tax Representative_ Party. Party + The tax representative. + 0..1 + Invoice + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Invoice. Delivery + A delivery associated with this document. + 0..n + Invoice + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Invoice. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Invoice + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Invoice. Payment Means + Expected means of payment. + 0..n + Invoice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Invoice. Payment Terms + A set of payment terms associated with this document. + 0..n + Invoice + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Invoice. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Invoice + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Invoice. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Invoice + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Invoice. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Invoice + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Invoice + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Invoice + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Invoice + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Invoice. Tax Total + The total amount of a specific type of tax. + 0..n + Invoice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice. Withholding_ Tax Total. Tax Total + The total withholding tax. + 0..n + Invoice + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Invoice. Legal_ Monetary Total. Monetary Total + The total amount payable on the Invoice, including Allowances, Charges, and Taxes. + 1 + Invoice + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Invoice. Invoice Line + A line describing an invoice item. + 1..n + Invoice + Invoice Line + Invoice Line + Invoice Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ItemInformationRequest-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ItemInformationRequest-2.2.xsd new file mode 100644 index 0000000..765ccb8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ItemInformationRequest-2.2.xsd @@ -0,0 +1,403 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Item Information Request. Details + A document used to request product activity, forecast, or performance data. + Item Information Request + Item Information Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Item Information Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Item Information Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Item Information Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Item Information Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Item Information Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Item Information Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Item Information Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Item Information Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Item Information Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Item Information Request + Identifier + Identifier + Identifier. Type + Item Information Request Number + + + + + + + + + BBIE + Item Information Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Item Information Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Item Information Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Item Information Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Item Information Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Item Information Request + Issue Date + Date + Date. Type + Item Information Request Date + + + + + + + + + BBIE + Item Information Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Item Information Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Item Information Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Item Information Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Item Information Request. Period + The period of time to which the Item Information Request applies. + 1 + Item Information Request + Period + Period + Period + + + + + + + + + ASBIE + Item Information Request. Document Reference + A reference to another document associated with this document. + 0..n + Item Information Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Item Information Request. Signature + A signature applied to this document. + 0..n + Item Information Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Item Information Request. Sender_ Party. Party + The buyer. + 1 + Item Information Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Item Information Request. Receiver_ Party. Party + The seller. + 1 + Item Information Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Item Information Request. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Item Information Request + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Item Information Request. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Item Information Request + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Item Information Request. Item Information Request Line + A line requesting information regarding an item of sale. + 1..n + Item Information Request + Item Information Request Line + Item Information Request Line + Item Information Request Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Order-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Order-2.2.xsd new file mode 100644 index 0000000..e7ff1fc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Order-2.2.xsd @@ -0,0 +1,892 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order. Details + A document used to order goods and services. + Order + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Order. Identifier + An identifier for this document, assigned by the sender. + 1 + Order + Identifier + Identifier + Identifier. Type + Purchase Order Number, Order Number + + + + + + + + + BBIE + Order. Sales_ Order Identifier. Identifier + An identifier for the Order, assigned by the seller. + 0..1 + Order + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order + Issue Date + Date + Date. Type + Order Date + + + + + + + + + BBIE + Order. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order. Order Type Code. Code + A code signifying the type of Order. + 0..1 + Order + Order Type Code + Code + Code. Type + + + + + + + + + BBIE + Order. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order + Note + Text + Text. Type + + + + + + + + + BBIE + Order. Requested Invoice_ Currency Code. Code + A code signifying the currency requested for amount totals in Invoices related to this Order. + 0..1 + Order + Requested Invoice + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Order + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Pricing_ Currency Code. Code + A code signifying the currency used for all prices in the Order. + 0..1 + Order + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Tax_ Currency Code. Code + A code signifying the currency requested for tax amounts in Invoices related to this Order. + 0..1 + Order + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order. Customer_ Reference. Text + A supplementary reference for the Order. + 0..1 + Order + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order. Accounting Cost Code. Code + The buyer's accounting code, applied to the Order as a whole. + 0..1 + Order + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order. Accounting Cost. Text + The buyer's accounting cost centre, applied to the Order as a whole, expressed as text. + 0..1 + Order + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order. Line Count. Numeric + The number of Order Lines in the document. + 0..1 + Order + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order. Validity_ Period. Period + The period for which the Order is valid. + 0..n + Order + Validity + Period + Period + Period + + + + + + + + + ASBIE + Order. Quotation_ Document Reference. Document Reference + A reference to a Quotation. + 0..1 + Order + Quotation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Order_ Document Reference. Document Reference + A reference to another Order. + 0..n + Order + Order + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Catalogue Reference + A reference to the Catalogue on which this Order is based. + 0..1 + Order + Catalogue Reference + Catalogue Reference + Catalogue Reference + + + + + + + + + ASBIE + Order. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order. Contract + A contracts associated with this Order. + 0..n + Order + Contract + Contract + Contract + + + + + + + + + ASBIE + Order. Project Reference + A project with which this Order is associated. + 0..n + Order + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Order. Signature + A signature applied to this document. + 0..n + Order + Signature + Signature + Signature + + + + + + + + + ASBIE + Order. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Freight Forwarder_ Party. Party + A freight forwarder or carrier. + 0..1 + Order + Freight Forwarder + Party + Party + Party + Carrier + + + + + + + + + ASBIE + Order. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order. Delivery + A delivery associated with this document. + 0..n + Order + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Order. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Order + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order. Payment Means + Expected means of payment. + 0..n + Order + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Order. Payment Terms + A set of payment terms associated with this document. + 0..n + Order + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Order. Transaction Conditions + A specification of purchasing or sales conditions applying to the whole Order. + 0..1 + Order + Transaction Conditions + Transaction Conditions + Transaction Conditions + Sales condition, procurement condition + + + + + + + + + ASBIE + Order. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Order + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Order + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Order + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Order + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order. Destination_ Country. Country + The country of destination (for customs purposes). + 0..1 + Order + Destination + Country + Country + Country + + + + + + + + + ASBIE + Order. Tax Total + The total amount of a specific type of tax. + 0..n + Order + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Order. Anticipated_ Monetary Total. Monetary Total + The total amount for the Order anticipated by the buyer. + 0..1 + Order + Anticipated + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order. Order Line + A line associated with a line in the Catalogue and specifying a kind of item being ordered. + 1..n + Order + Order Line + Order Line + Order Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderCancellation-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderCancellation-2.2.xsd new file mode 100644 index 0000000..953e630 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderCancellation-2.2.xsd @@ -0,0 +1,417 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Cancellation. Details + A document used to cancel an entire Order. + Order Cancellation + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Cancellation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Cancellation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Cancellation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Cancellation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Cancellation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Cancellation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Cancellation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Cancellation + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Identifier + An identifier for this document, assigned by the sender. + 1 + Order Cancellation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Cancellation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Cancellation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Cancellation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Cancellation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Cancellation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Cancellation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Cancellation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Cancellation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Cancellation + Note + Text + Text. Type + + + + + + + + + BBIE + Order Cancellation. Cancellation_ Note. Text + The general reason for cancellation of the referenced order. + 1..n + Order Cancellation + Cancellation + Note + Text + Text. Type + + + + + + + + + ASBIE + Order Cancellation. Order Reference + A reference to the Order being cancelled. While multiple references are allowed, it is considered better practice to cancel only one Order in each Order Cancellation document. + 1..n + Order Cancellation + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Cancellation. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order Cancellation + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Cancellation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Cancellation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Cancellation. Contract + A contract associated with the original Order(s). + 0..n + Order Cancellation + Contract + Contract + Contract + + + + + + + + + ASBIE + Order Cancellation. Signature + A signature applied to this document. + 0..n + Order Cancellation + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Cancellation. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Cancellation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Cancellation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Cancellation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Cancellation. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Cancellation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderChange-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderChange-2.2.xsd new file mode 100644 index 0000000..d986dfb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderChange-2.2.xsd @@ -0,0 +1,870 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Change. Details + A document used to specify changes to an existing Order. + Order Change + Purchase Order Change + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Change. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Change + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Change. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Change + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Change. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Change + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Change. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Change + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Order Change. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Order Change + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Sales_ Order Identifier. Identifier + An identifier for the Order Change, assigned by the seller. + 0..1 + Order Change + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Change + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Change. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Change + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Change + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Change. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Change + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Change. Sequence Number. Identifier + The Order Change Sequence Number assigned by the Buyer to ensure the proper sequencing of changes. + 1 + Order Change + Sequence Number + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Change. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Change + Note + Text + Text. Type + + + + + + + + + BBIE + Order Change. Requested Invoice_ Currency Code. Code + A code signifying he currency requested for amount totals in Invoices related to this Order Change. + 0..1 + Order Change + Requested Invoice + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Order Change + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Pricing_ Currency Code. Code + A code signifying the currency that is used for all prices in the Order Change. + 0..1 + Order Change + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Tax_ Currency Code. Code + A code signifying the currency requested for tax amounts in Invoices related to this Order Change. + 0..1 + Order Change + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Change. Customer_ Reference. Text + A supplementary reference for the transaction (e.g., CRI when using purchasing card). + 0..1 + Order Change + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Change. Accounting Cost Code. Code + The buyer's accounting code, applied to the Order Change as a whole. + 0..1 + Order Change + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Change. Accounting Cost. Text + The buyer's accounting code, applied to the Order Change as a whole, expressed as text. + 0..1 + Order Change + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order Change. Line Count. Numeric + The number of Order Change lines in the document. + 0..1 + Order Change + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order Change. Validity_ Period. Period + A period during which the Order Change is valid. + 0..n + Order Change + Validity + Period + Period + Period + + + + + + + + + ASBIE + Order Change. Order Reference + A reference to the Order being changed. + 1 + Order Change + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Change. Quotation_ Document Reference. Document Reference + A reference to a Quotation. + 0..1 + Order Change + Quotation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order Change + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Change + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Change. Contract + A contract associated with the Order being changed. + 0..n + Order Change + Contract + Contract + Contract + + + + + + + + + ASBIE + Order Change. Signature + A signature applied to this document. + 0..n + Order Change + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Change. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Change + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Change + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Change. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Change + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Freight Forwarder_ Party. Party + A freight forwarder or carrier. + 0..1 + Order Change + Freight Forwarder + Party + Party + Party + + + + + + + + + ASBIE + Order Change. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order Change + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Change. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 0..1 + Order Change + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Change. Delivery + A delivery associated with this document. + 0..n + Order Change + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Order Change. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Order Change + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order Change. Payment Means + Expected means of payment. + 0..n + Order Change + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Order Change. Payment Terms + A set of payment terms associated with this document. + 0..n + Order Change + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Order Change. Transaction Conditions + Purchasing, sales, or payment conditions applying to the whole Order being changed. + 0..1 + Order Change + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Order Change. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Order Change + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order Change. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Order Change + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Change. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Order Change + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Change. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Order Change + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Change. Destination_ Country. Country + The country of destination (for customs purposes). + 0..1 + Order Change + Destination + Country + Country + Country + + + + + + + + + ASBIE + Order Change. Tax Total + The total amount of a specific type of tax. + 0..n + Order Change + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Order Change. Anticipated_ Monetary Total. Monetary Total + The amount of change to the total cost of the order anticipated by the buyer. + 0..1 + Order Change + Anticipated + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order Change. Order Line + An association to one or more (changed) Order Lines. + 1..n + Order Change + Order Line + Order Line + Order Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderResponse-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderResponse-2.2.xsd new file mode 100644 index 0000000..00709f3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderResponse-2.2.xsd @@ -0,0 +1,976 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Response. Details + A document used to indicate detailed acceptance or rejection of an Order or to make a counter-offer. + Order Response + Order Acknowledgement, PO Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL. + 0..1 + Order Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Order Response. Identifier + An identifier for this document, assigned by the sender. + 1 + Order Response + Identifier + Identifier + Identifier. Type + Purchase Order Response Number, Acknowledgement of Order Number + + + + + + + + + BBIE + Order Response. Sales_ Order Identifier. Identifier + An identifier for the Order, issued by the Seller. + 0..1 + Order Response + Sales + Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Response. Order Response Code. Code + A code signifying the type of response for this Order. + 0..1 + Order Response + Order Response Code + Code + Code. Type + + + + + + + + + BBIE + Order Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Response + Note + Text + Text. Type + + + + + + + + + BBIE + Order Response. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Order Response + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Pricing_ Currency Code. Code + A code signifying the currency that is used for all prices in the Order Response. + 0..1 + Order Response + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Tax_ Currency Code. Code + A code signifying the currency that is used for all tax amounts in the Order Response. + 0..1 + Order Response + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Order Response. Total_ Packages Quantity. Quantity + The total number of packages contained in the Order Response. + 0..1 + Order Response + Total + Packages Quantity + Quantity + Quantity. Type + + + + + + + + + BBIE + Order Response. Gross_ Weight. Measure + The total gross weight for the Order Response (goods + packaging + transport equipment). + 0..1 + Order Response + Gross + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net_ Weight. Measure + The total net weight for the Order Response (goods + packaging). + 0..1 + Order Response + Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net Net_ Weight. Measure + The total net weight of the goods in the Order Response excluding packaging. + 0..1 + Order Response + Net Net + Weight + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Gross_ Volume. Measure + The total volume of the goods in the Order Response including packaging. + 0..1 + Order Response + Gross + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Net_ Volume. Measure + The total volume of the goods in the Order Response excluding packaging. + 0..1 + Order Response + Net + Volume + Measure + Measure. Type + + + + + + + + + BBIE + Order Response. Customer_ Reference. Text + A supplementary reference assigned by the buyer, e.g., the CRI in a purchasing card transaction. + 0..1 + Order Response + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Response. Accounting Cost Code. Code + An accounting cost code applied to the order as a whole. + 0..1 + Order Response + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Response. Accounting Cost. Text + An accounting cost code applied to the order as a whole, expressed as text. + 0..1 + Order Response + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Order Response. Line Count. Numeric + The number of Order Lines in this document. + 0..1 + Order Response + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Order Response. Validity_ Period. Period + The period for which the Order Response is valid. + 0..n + Order Response + Validity + Period + Period + Period + + + + + + + + + ASBIE + Order Response. Order Reference + A reference to the Order being responded to. + 1..n + Order Response + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Response. Order_ Document Reference. Document Reference + A reference to an Order other than the one being responded to. + 0..n + Order Response + Order + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Order Change_ Document Reference. Document Reference + A reference to an Order Change being responded to. + 0..n + Order Response + Order Change + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..1 + Order Response + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Response + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response. Contract + A contract associated with the Order being responded to. + 0..n + Order Response + Contract + Contract + Contract + + + + + + + + + ASBIE + Order Response. Signature + A signature applied to this document. + 0..n + Order Response + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Response. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Response + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Response + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Response + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Freight Forwarder_ Party. Party + A freight forwarder or carrier. + 0..1 + Order Response + Freight Forwarder + Party + Party + Party + + + + + + + + + ASBIE + Order Response. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 0..1 + Order Response + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order Response + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response. Delivery + A delivery associated with this document. + 0..n + Order Response + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Order Response. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Order Response + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Order Response. Payment Means + Expected means of payment. + 0..n + Order Response + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Order Response. Payment Terms + A set of payment terms associated with this document. + 0..n + Order Response + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Order Response. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Order Response + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Order Response. Transaction Conditions + A specification of purchasing or sales conditions applying to the whole Order. + 0..1 + Order Response + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Order Response. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Order Response + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Response. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Order Response + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Response. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Order Response + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Order Response. Destination_ Country. Country + The country of destination (for customs purposes). + 0..1 + Order Response + Destination + Country + Country + Country + + + + + + + + + ASBIE + Order Response. Tax Total + The total amount of a specific type of tax, as calculated by the seller. + 0..n + Order Response + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Order Response. Legal_ Monetary Total. Monetary Total + The total amount of the Order (or counter-offer). + 0..1 + Order Response + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Order Response. Order Line + A line associated with a line in the Catalogue and specifying a kind of item being ordered. + 0..n + Order Response + Order Line + Order Line + Order Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderResponseSimple-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderResponseSimple-2.2.xsd new file mode 100644 index 0000000..2a30835 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-OrderResponseSimple-2.2.xsd @@ -0,0 +1,506 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Order Response Simple. Details + A document used to indicate simple acceptance or rejection of an entire Order. + Order Response Simple + Order Acknowledgement, PO Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Order Response Simple. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Order Response Simple + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Order Response Simple. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Order Response Simple + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Order Response Simple. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Order Response Simple + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Order Response Simple. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Order Response Simple + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response Simple. Identifier + An identifier for this document, assigned by the sender. + 1 + Order Response Simple + Identifier + Identifier + Identifier. Type + Purchase Order Response Number, Acknowledgement of Order Number + + + + + + + + + BBIE + Order Response Simple. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Order Response Simple + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response Simple. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Order Response Simple + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Order Response Simple. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Order Response Simple + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Order Response Simple. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Order Response Simple + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Order Response Simple. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Order Response Simple + Note + Text + Text. Type + + + + + + + + + BBIE + Order Response Simple. Accepted_ Indicator. Indicator + Indicates whether the Order is accepted (true) or rejected (false). + 1 + Order Response Simple + Accepted + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Order Response Simple. Rejection_ Note. Text + The reason for rejection if the order was not accepted. + 0..n + Order Response Simple + Rejection + Note + Text + Text. Type + Out of Stock , Not able to supply , Unable to fulfill within the contracted conditions , Buyer Account not Recognised + + + + + + + + + BBIE + Order Response Simple. Customer_ Reference. Text + A supplementary reference for the transaction (e.g., when using a purchasing card). + 0..1 + Order Response Simple + Customer + Reference + Text + Text. Type + + + + + + + + + BBIE + Order Response Simple. Accounting Cost Code. Code + An accounting cost code applied to the order as a whole. + 0..1 + Order Response Simple + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Order Response Simple. Accounting Cost. Text + An accounting cost code applied to the order as a whole, expressed as text. + 0..1 + Order Response Simple + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Order Response Simple. Order Reference + A reference to the Order being responded to. + 1 + Order Response Simple + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Order Response Simple. Order Change_ Document Reference. Document Reference + A reference to an Order Change being responded to. + 0..n + Order Response Simple + Order Change + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response Simple. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Order Response Simple + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Order Response Simple. Signature + A signature applied to this document. + 0..n + Order Response Simple + Signature + Signature + Signature + + + + + + + + + ASBIE + Order Response Simple. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Order Response Simple + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response Simple. Buyer_ Customer Party. Customer Party + The buyer. + 1 + Order Response Simple + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response Simple. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Order Response Simple + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Order Response Simple. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 0..1 + Order Response Simple + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Order Response Simple. Accounting_ Customer Party. Customer Party + The accounting customer party. + 0..1 + Order Response Simple + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-PackingList-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-PackingList-2.2.xsd new file mode 100644 index 0000000..b880d75 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-PackingList-2.2.xsd @@ -0,0 +1,433 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Packing List. Details + A document describing how goods are packed. + Packing List + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Packing List. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Packing List + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Packing List. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Packing List + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Packing List. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Packing List + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Packing List. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Packing List + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Packing List. Identifier + An identifier for this document, assigned by the sender. + 1 + Packing List + Identifier + Identifier + Identifier. Type + Packing List Number + + + + + + + + + BBIE + Packing List. UUID. Identifier + A universally unique identifier for an instance of this document.. + 0..1 + Packing List + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Packing List. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Packing List + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Packing List. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Packing List + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Packing List. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Packing List + Name + Name + Name. Type + + + + + + + + + BBIE + Packing List. Description. Text + Textual description of the document instance. + 0..n + Packing List + Description + Text + Text. Type + + + + + + + + + BBIE + Packing List. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Packing List + Note + Text + Text. Type + + + + + + + + + BBIE + Packing List. Version. Identifier + Version identifier of a Packing List. + 0..1 + Packing List + Version + Identifier + Identifier. Type + + + + + + + + + BBIE + Packing List. Other_ Instruction. Text + Contains other free-text-based instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..1 + Packing List + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Packing List. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Packing List + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Packing List. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Packing List + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Packing List. Freight Forwarder_ Party. Party + The party combining individual smaller shipments into a single larger consignment (a so-called consolidated consignment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Packing List + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Packing List. Shipment + A description of the shipment. + 1 + Packing List + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Packing List. Document Reference + A reference to another document associated with this document. + 0..n + Packing List + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Packing List. Document Distribution + A list of interested parties to whom this document is distributed. + 0..n + Packing List + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Packing List. Signature + A signature applied to this document. + 0..n + Packing List + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-PriorInformationNotice-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-PriorInformationNotice-2.2.xsd new file mode 100644 index 0000000..a9d2595 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-PriorInformationNotice-2.2.xsd @@ -0,0 +1,476 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Prior Information Notice. Details + A document used by a contracting party to declare the intention to buy goods, services, or works during a specified period. + Prior Information Notice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Prior Information Notice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Prior Information Notice + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Prior Information Notice + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Prior Information Notice + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Prior Information Notice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Prior Information Notice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Prior Information Notice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Prior Information Notice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Prior Information Notice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Prior Information Notice + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Prior Information Notice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Prior Information Notice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Prior Information Notice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Prior Information Notice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Prior Information Notice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Prior Information Notice + Note + Text + Text. Type + + + + + + + + + BBIE + Prior Information Notice. Planned Date. Date + The date planned by the Contracting Party for publication of the contract notice. + 0..1 + Prior Information Notice + Planned Date + Date + Date. Type + + + + + + + + + BBIE + Prior Information Notice. Notice Type Code. Code + The type of notice (PIN, Qualification, Reduce time...) + 0..1 + Prior Information Notice + Notice Type Code + Code + Code. Type + + + + + + + + + BBIE + Prior Information Notice. Notice_ Language Code. Code + The language used for this prior information notice. + 0..1 + Prior Information Notice + Notice + Language Code + Code + Language + Language_ Code. Type + + + + + + + + + ASBIE + Prior Information Notice. Document Reference + A reference to another document associated with this document. + 0..n + Prior Information Notice + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Prior Information Notice. Signature + A signature applied to this document. + 0..n + Prior Information Notice + Signature + Signature + Signature + + + + + + + + + ASBIE + Prior Information Notice. Contracting Party + The contracting party or parties in case of joint procurement. + 1..n + Prior Information Notice + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Prior Information Notice. Originator_ Customer Party. Customer Party + A party who originated the tendering process. + 0..n + Prior Information Notice + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Prior Information Notice. Receiver_ Party. Party + The party receiving this document. + 0..1 + Prior Information Notice + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Prior Information Notice. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Prior Information Notice + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Prior Information Notice. Tendering Process + A description of the tendering process itself. + 0..1 + Prior Information Notice + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Prior Information Notice. Procurement Project + An overall definition of this procurement project. + 0..1 + Prior Information Notice + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Prior Information Notice. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Prior Information Notice + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ProductActivity-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ProductActivity-2.2.xsd new file mode 100644 index 0000000..f1a929c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ProductActivity-2.2.xsd @@ -0,0 +1,388 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Product Activity. Details + A document reporting the movement of goods at specified retail locations for inventory tracking purposes. + Product Activity + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Product Activity. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Product Activity + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Product Activity. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Product Activity + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Product Activity. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Product Activity + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Product Activity. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Product Activity + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Product Activity. Identifier + An identifier for this document, assigned by the sender. + 1 + Product Activity + Identifier + Identifier + Identifier. Type + Product Acvtivity Number + + + + + + + + + BBIE + Product Activity. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Product Activity + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Product Activity. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Product Activity + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Product Activity. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Product Activity + Issue Date + Date + Date. Type + Activity Date + + + + + + + + + BBIE + Product Activity. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Product Activity + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Product Activity. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Product Activity + Note + Text + Text. Type + + + + + + + + + BBIE + Product Activity. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Product Activity + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Product Activity. Activity_ Period. Period + The period covered by this Product Activity report. + 1 + Product Activity + Activity + Period + Period + Period + + + + + + + + + ASBIE + Product Activity. Document Reference + A reference to another document associated with this document. + 0..n + Product Activity + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Product Activity. Signature + A signature applied to this document. + 0..n + Product Activity + Signature + Signature + Signature + + + + + + + + + ASBIE + Product Activity. Sender_ Party. Party + The sender of the Product Activity. + 1 + Product Activity + Sender + Party + Party + Party + + + + + + + + + ASBIE + Product Activity. Receiver_ Party. Party + The receiver of the Product Activity. + 1 + Product Activity + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Product Activity. Supply Chain_ Activity Data Line. Activity Data Line + A line describing the movement of goods to a specific location. + 1..n + Product Activity + Supply Chain + Activity Data Line + Activity Data Line + Activity Data Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-QualificationApplicationRequest-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-QualificationApplicationRequest-2.2.xsd new file mode 100644 index 0000000..83d13bb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-QualificationApplicationRequest-2.2.xsd @@ -0,0 +1,520 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Qualification Application Request. Details + A document issued by a procurement organization to notify an economic operator whether it has been admitted to or excluded from the tendering process. + Qualification Application Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Qualification Application Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Qualification Application Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Qualification Application Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Qualification Application Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Qualification Application Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Qualification Application Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Qualification Application Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Qualification Application Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Qualification Application Request. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Qualification Application Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualification Application Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Qualification Application Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Qualification Application Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Qualification Application Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualification Application Request. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Qualification Application Request + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualification Application Request. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Qualification Application Request + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Qualification Application Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Qualification Application Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Qualification Application Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Qualification Application Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Qualification Application Request. Version. Identifier + Indicates the current version of the Qualification Application Request. + 0..1 + Qualification Application Request + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Qualification Application Request. Previous_ Version. Identifier + Identifies the previous version of the Qualification Application Request which is superceded by this version. + 0..1 + Qualification Application Request + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + BBIE + Qualification Application Request. Procedure Code. Code + A code signifying the type of this tendering procedure. + 0..1 + Qualification Application Request + Procedure Code + Code + Code. Type + Open, Restricted, Negotiated + + + + + + + + + BBIE + Qualification Application Request. Qualification Application Type Code. Code + A code specifying the type of the Qualification Application. + 0..1 + Qualification Application Request + Qualification Application Type Code + Code + Code. Type + "Regulated", "Self-contained" + + + + + + + + + BBIE + Qualification Application Request. Weight Scoring Methodology Note. Text + Free-form text to describing information about Weight Scoring Methodology. + 0..n + Qualification Application Request + Weight Scoring Methodology Note + Text + Text. Type + + + + + + + + + BBIE + Qualification Application Request. Weighting Type Code. Code + A code specifying the type of the Weighting. + 0..1 + Qualification Application Request + Weighting Type Code + Code + Code. Type + "Regulated", "Self-contained" + + + + + + + + + BBIE + Qualification Application Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Qualification Application Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Qualification Application Request. Contracting Party + The contracting party. + 1..n + Qualification Application Request + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Qualification Application Request. Economic Operator Party + The Economic Operator receiving the Qualification Application Resquest. + 0..n + Qualification Application Request + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Qualification Application Request. Procurement Project + An overall definition of this procurement project. + 0..1 + Qualification Application Request + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Qualification Application Request. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Qualification Application Request + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Qualification Application Request. Tendering Criterion + A criterion supporting Tenderer qualifications. + 0..n + Qualification Application Request + Tendering Criterion + Tendering Criterion + Tendering Criterion + + + + + + + + + ASBIE + Qualification Application Request. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Qualification Application Request + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Qualification Application Request. Signature + A signature applied to this document. + 0..n + Qualification Application Request + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-QualificationApplicationResponse-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-QualificationApplicationResponse-2.2.xsd new file mode 100644 index 0000000..3795a1b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-QualificationApplicationResponse-2.2.xsd @@ -0,0 +1,570 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Qualification Application Response. Details + A document issued by a procurement organization to notify an economic operator whether it has been admitted to or excluded from the tendering process. + Qualification Application Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Qualification Application Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Qualification Application Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Qualification Application Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Qualification Application Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Qualification Application Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Qualification Application Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Qualification Application Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Qualification Application Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Qualification Application Response. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Qualification Application Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualification Application Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Qualification Application Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Qualification Application Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Qualification Application Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualification Application Response. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Qualification Application Response + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Qualification Application Response. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Qualification Application Response + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Qualification Application Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Qualification Application Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Qualification Application Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Qualification Application Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Qualification Application Response. Economic Operator Group Name. Name + Economic Operator Group Name associated with this Qualification. + 0..1 + Qualification Application Response + Economic Operator Group Name + Name + Name. Type + + + + + + + + + BBIE + Qualification Application Response. Version. Identifier + Indicates the current version of the Qualification Application Response. + 0..1 + Qualification Application Response + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Qualification Application Response. Previous_ Version. Identifier + Identifies the previous version of the Qualification Application Response which is superceded by this version. + 0..1 + Qualification Application Response + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + BBIE + Qualification Application Response. Procedure Code. Code + A code signifying the type of this tendering procedure. + 0..1 + Qualification Application Response + Procedure Code + Code + Code. Type + Open, Restricted, Negotiated + + + + + + + + + BBIE + Qualification Application Response. Qualification Application Type Code. Code + A code specifying the type of the Qualification Application. + 0..1 + Qualification Application Response + Qualification Application Type Code + Code + Code. Type + "Regulated", "Self-contained" + + + + + + + + + BBIE + Qualification Application Response. Weight Scoring Methodology Note. Text + Free-form text to describe Weight Scoring Methodology. + 0..n + Qualification Application Response + Weight Scoring Methodology Note + Text + Text. Type + + + + + + + + + BBIE + Qualification Application Response. Weighting Type Code. Code + A code specifying the Weighting type + 0..1 + Qualification Application Response + Weighting Type Code + Code + Code. Type + "Regulated", "Self-contained" + + + + + + + + + BBIE + Qualification Application Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Qualification Application Response + Note + Text + Text. Type + + + + + + + + + ASBIE + Qualification Application Response. Contracting Party + The contracting party. + 1..n + Qualification Application Response + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Qualification Application Response. Economic Operator Party + The Economic Operator issuing the Qualification Application Response. + 1..n + Qualification Application Response + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Qualification Application Response. Procurement Project + An overall definition of this procurement project. + 0..1 + Qualification Application Response + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Qualification Application Response. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Qualification Application Response + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Qualification Application Response. Tendering Criterion + The criterion as described in the Qualification Application Request. + 0..n + Qualification Application Response + Tendering Criterion + Tendering Criterion + Tendering Criterion + + + + + + + + + ASBIE + Qualification Application Response. Tendering Criterion Response + Each criterion requirement response. + 1..n + Qualification Application Response + Tendering Criterion Response + Tendering Criterion Response + Tendering Criterion Response + + + + + + + + + ASBIE + Qualification Application Response. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Qualification Application Response + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Qualification Application Response. Evidence + The evidence supporting this criterion requirement response. + 0..n + Qualification Application Response + Evidence + Evidence + Evidence + + + + + + + + + ASBIE + Qualification Application Response. Signature + A signature applied to this document. + 0..n + Qualification Application Response + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Quotation-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Quotation-2.2.xsd new file mode 100644 index 0000000..45b122e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Quotation-2.2.xsd @@ -0,0 +1,584 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Quotation. Details + A document used to quote for the provision of goods and services. + Quotation + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Quotation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Quotation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Quotation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Quotation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Quotation. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Quotation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Quotation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Quotation + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Quotation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Quotation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Quotation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Quotation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Quotation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Quotation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Quotation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Quotation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Quotation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Quotation + Note + Text + Text. Type + + + + + + + + + BBIE + Quotation. Pricing_ Currency Code. Code + A code signifying the currency used for all prices in the Quotation. + 0..1 + Quotation + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Quotation. Line Count. Numeric + The number of Quotation Lines in this document. + 0..1 + Quotation + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Quotation. Validity_ Period. Period + The period for which the Quotation is valid. + 0..1 + Quotation + Validity + Period + Period + Period + + + + + + + + + ASBIE + Quotation. Request For Quotation_ Document Reference. Document Reference + A reference to the Request for Quotation associated with this Quotation. + 0..1 + Quotation + Request For Quotation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Quotation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Quotation. Contract + A contract associated with this Quotation. + 0..n + Quotation + Contract + Contract + Contract + + + + + + + + + ASBIE + Quotation. Signature + A signature applied to this document. + 0..n + Quotation + Signature + Signature + Signature + + + + + + + + + ASBIE + Quotation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Quotation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Quotation. Buyer_ Customer Party. Customer Party + Association to the Buyer. + 0..1 + Quotation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Quotation. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Quotation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Quotation. Delivery + A delivery associated with this document. + 0..n + Quotation + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Quotation. Delivery Terms + A set of delivery terms associated with this document. + 0..1 + Quotation + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Quotation. Payment Means + Expected means of payment. + 0..1 + Quotation + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Quotation. Transaction Conditions + A specification of purchasing, sales, or payment conditions applying to Orders related to this Quotation. + 0..1 + Quotation + Transaction Conditions + Transaction Conditions + Transaction Conditions + + + + + + + + + ASBIE + Quotation. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Quotation + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Quotation. Destination_ Country. Country + The country of destination of potential orders (for customs purposes). + 0..1 + Quotation + Destination + Country + Country + Country + + + + + + + + + ASBIE + Quotation. Tax Total + The total amount of a specific type of tax. + 0..n + Quotation + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Quotation. Quoted_ Monetary Total. Monetary Total + The total amount of the Quotation. + 1 + Quotation + Quoted + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Quotation. Quotation Line + A line quoting a cost for one kind of item. + 1..n + Quotation + Quotation Line + Quotation Line + Quotation Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ReceiptAdvice-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ReceiptAdvice-2.2.xsd new file mode 100644 index 0000000..fbc00a8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-ReceiptAdvice-2.2.xsd @@ -0,0 +1,486 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Receipt Advice. Details + A document used to describe the receipt of goods and services. + Receipt Advice + Receipt, Delivery Acknowledgement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Receipt Advice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Receipt Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Receipt Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Receipt Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Receipt Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the subset of UBL being used. + 0..1 + Receipt Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Receipt Advice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Receipt Advice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Identifier + An identifier for this document, assigned by the sender. + 1 + Receipt Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Receipt Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Receipt Advice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Receipt Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Receipt Advice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Receipt Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Receipt Advice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Receipt Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Receipt Advice. Document Status Code. Code + A code signifying the status of the Receipt Advice with respect to its original state. This code may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancellation or revision. + 0..1 + Receipt Advice + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Receipt Advice. Receipt Advice Type Code. Code + A code signifying the type of the Receipt Advice. + 0..1 + Receipt Advice + Receipt Advice Type Code + Code + Receipt Advice Type + Receipt Advice Type_ Code. Type + + + + + + + + + BBIE + Receipt Advice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Receipt Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Receipt Advice. Line Count. Numeric + The number of Receipt Lines in this document. + 0..1 + Receipt Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Receipt Advice. Order Reference + A reference to an Order associated with this Receipt Advice. + 0..n + Receipt Advice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Receipt Advice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Receipt Advice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Advice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Receipt Advice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Receipt Advice. Signature + A signature applied to this document. + 0..n + Receipt Advice + Signature + Signature + Signature + + + + + + + + + ASBIE + Receipt Advice. Delivery_ Customer Party. Customer Party + The customer party. + 1 + Receipt Advice + Delivery + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Receipt Advice. Despatch_ Supplier Party. Supplier Party + The supplier party. + 1 + Receipt Advice + Despatch + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Receipt Advice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Receipt Advice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Receipt Advice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Receipt Advice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Receipt Advice. Shipment + Details about the Shipment. + 0..1 + Receipt Advice + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Receipt Advice. Receipt Line + A line detailing a kind of item received. + 1..n + Receipt Advice + Receipt Line + Receipt Line + Receipt Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Reminder-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Reminder-2.2.xsd new file mode 100644 index 0000000..728f3c6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Reminder-2.2.xsd @@ -0,0 +1,760 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Reminder. Details + A document used to remind a customer of payments past due. + Reminder + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Reminder. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Reminder + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Reminder. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Reminder + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Reminder. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Reminder + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Reminder. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Reminder + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Reminder. Identifier + An identifier for this document, assigned by the sender. + 1 + Reminder + Identifier + Identifier + Identifier. Type + Invoice Number + + + + + + + + + BBIE + Reminder. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Reminder + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Reminder. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Reminder + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Reminder. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Reminder + Issue Date + Date + Date. Type + Invoice Date + + + + + + + + + BBIE + Reminder. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Reminder + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Reminder. Reminder Type Code. Code + A code signifying the type of the Reminder. + 0..1 + Reminder + Reminder Type Code + Code + Code. Type + + + + + + + + + BBIE + Reminder. Reminder Sequence. Numeric + The number of the current Reminder in the sequence of reminders relating to the specified payments; the number of reminders previously sent plus one. + 0..1 + Reminder + Reminder Sequence + Numeric + Numeric. Type + + + + + + + + + BBIE + Reminder. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Reminder + Note + Text + Text. Type + + + + + + + + + BBIE + Reminder. Tax Point Date. Date + The date of the Reminder, used to indicate the point at which tax becomes applicable. + 0..1 + Reminder + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Reminder. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Reminder + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Reminder. + 0..1 + Reminder + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Reminder. + 0..1 + Reminder + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Reminder. + 0..1 + Reminder + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Reminder. + 0..1 + Reminder + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Reminder. Accounting Cost Code. Code + The buyer's accounting code, applied to the Reminder as a whole. + 0..1 + Reminder + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Reminder. Accounting Cost. Text + The buyer's accounting code, applied to the Reminder as a whole, expressed as text. + 0..1 + Reminder + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Reminder. Line Count. Numeric + The number of Reminder Lines in this document. + 0..1 + Reminder + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Reminder. Reminder_ Period. Period + The periods to which the Reminder applies. + 0..n + Reminder + Reminder + Period + Period + Period + + + + + + + + + ASBIE + Reminder. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Reminder + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Reminder. Signature + A signature applied to this document. + 0..n + Reminder + Signature + Signature + Signature + + + + + + + + + ASBIE + Reminder. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Reminder + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Reminder. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Reminder + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Reminder. Payee_ Party. Party + The payee. + 0..1 + Reminder + Payee + Party + Party + Party + + + + + + + + + ASBIE + Reminder. Tax Representative_ Party. Party + The tax representative. + 0..1 + Reminder + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Reminder. Payment Means + Expected means of payment. + 0..n + Reminder + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Reminder. Payment Terms + A set of payment terms associated with this document. + 0..n + Reminder + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Reminder. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Reminder + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Reminder. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Reminder + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Reminder. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Reminder + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Reminder + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Reminder + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Reminder + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Reminder. Tax Total + The total amount of a specific type of tax. + 0..n + Reminder + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Reminder. Legal_ Monetary Total. Monetary Total + The total amount payable on the Invoice, including Allowances, Charges, and Taxes. + 1 + Reminder + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Reminder. Reminder Line + A line describing a payment past due. + 1..n + Reminder + Reminder Line + Reminder Line + Reminder Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RemittanceAdvice-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RemittanceAdvice-2.2.xsd new file mode 100644 index 0000000..c684c79 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RemittanceAdvice-2.2.xsd @@ -0,0 +1,568 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Remittance Advice. Details + A document that specifies details of an actual payment. + Remittance Advice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Remittance Advice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Remittance Advice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Remittance Advice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Remittance Advice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Remittance Advice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Remittance Advice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Remittance Advice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Remittance Advice + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Remittance Advice. Identifier + An identifier for this document, assigned by the sender. + 1 + Remittance Advice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Remittance Advice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Remittance Advice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Remittance Advice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Remittance Advice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Remittance Advice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Remittance Advice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Remittance Advice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Remittance Advice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Remittance Advice + Note + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Remittance Advice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Debit Amount. Amount + The totals of all debit amounts for the Remittance Advice. + 0..1 + Remittance Advice + Total + Debit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Credit Amount. Amount + The totals of all credit amounts for the Remittance Advice. + 0..1 + Remittance Advice + Total + Credit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Total_ Payment Amount. Amount + The total payable amount for the Remittance Advice (must be positive). + 0..1 + Remittance Advice + Total + Payment Amount + Amount + Amount. Type + + + + + + + + + BBIE + Remittance Advice. Payment Order Reference. Text + An internal reference to the order for payment from the payer to the payer's bank. + 0..1 + Remittance Advice + Payment Order Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Payer_ Reference. Text + An internal reference to the payer's order for payment. + 0..1 + Remittance Advice + Payer + Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Invoicing Party_ Reference. Text + An internal reference to the order for payment by the invoicing party. This may have been requested of the payer by the payee to accompany the payer's remittance. + 0..1 + Remittance Advice + Invoicing Party + Reference + Text + Text. Type + + + + + + + + + BBIE + Remittance Advice. Line Count. Numeric + The number of Remittance Advice Lines in the document. + 0..1 + Remittance Advice + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Remittance Advice. Invoice_ Period. Period + A period (rather than a specific invoice) associated with this document. + 0..n + Remittance Advice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Remittance Advice. Billing Reference + A reference to a billing document associated with this document. + 0..1 + Remittance Advice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Remittance Advice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Remittance Advice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Remittance Advice. Signature + A signature applied to this document. + 0..n + Remittance Advice + Signature + Signature + Signature + + + + + + + + + ASBIE + Remittance Advice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Remittance Advice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Remittance Advice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Remittance Advice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Remittance Advice. Payee_ Party. Party + The payee. + 0..1 + Remittance Advice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Remittance Advice. Payment Means + Expected means of payment. + 0..1 + Remittance Advice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Remittance Advice. Tax Total + The total amount of a specific type of tax. + 0..n + Remittance Advice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Remittance Advice. Remittance Advice Line + A line specifying a balance. + 1..n + Remittance Advice + Remittance Advice Line + Remittance Advice Line + Remittance Advice Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RequestForQuotation-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RequestForQuotation-2.2.xsd new file mode 100644 index 0000000..2eb84ed --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RequestForQuotation-2.2.xsd @@ -0,0 +1,520 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Request For Quotation. Details + A document used to request a Quotation for goods and services from a Seller. + Request For Quotation + Purchase Order + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Request For Quotation. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Request For Quotation + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Request For Quotation. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Request For Quotation + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Request For Quotation. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Request For Quotation + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Request For Quotation. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Request For Quotation + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Request For Quotation. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Request For Quotation + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Request For Quotation + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Request For Quotation. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Request For Quotation + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Request For Quotation. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Request For Quotation + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Request For Quotation. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Request For Quotation + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Request For Quotation. Submission Due Date. Date + The due date for submission of the Quotation. + 0..1 + Request For Quotation + Submission Due Date + Date + Date. Type + + + + + + + + + BBIE + Request For Quotation. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Request For Quotation + Note + Text + Text. Type + + + + + + + + + BBIE + Request For Quotation. Pricing_ Currency Code. Code + The currency that the Seller should use to price the Quotation. + 0..1 + Request For Quotation + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Request For Quotation. Line Count. Numeric + The number of Request For Quotation Lines in this document. + 0..1 + Request For Quotation + Line Count + Numeric + Numeric. Type + + + + + + + + + ASBIE + Request For Quotation. Requested Validity_ Period. Period + The validity period requested for this Quotation. + 0..1 + Request For Quotation + Requested Validity + Period + Period + Period + + + + + + + + + ASBIE + Request For Quotation. Catalogue_ Document Reference. Document Reference + The Catalogue on which this Request for Quotation is based. + 0..1 + Request For Quotation + Catalogue + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Request For Quotation + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Request For Quotation. Signature + A signature applied to this document. + 0..n + Request For Quotation + Signature + Signature + Signature + + + + + + + + + ASBIE + Request For Quotation. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Request For Quotation + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Request For Quotation. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Request For Quotation + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Request For Quotation. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Request For Quotation + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Request For Quotation. Delivery + A delivery associated with this document. + 0..n + Request For Quotation + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Request For Quotation. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Request For Quotation + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Request For Quotation. Destination_ Country. Country + The country of destination of potential orders (for customs purposes). + 0..1 + Request For Quotation + Destination + Country + Country + Country + + + + + + + + + ASBIE + Request For Quotation. Contract + A contract associated with this Request for Quotation.. + 0..n + Request For Quotation + Contract + Contract + Contract + + + + + + + + + ASBIE + Request For Quotation. Request For Quotation Line + A line specifying a kind of item of sale. + 1..n + Request For Quotation + Request For Quotation Line + Request For Quotation Line + Request For Quotation Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RetailEvent-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RetailEvent-2.2.xsd new file mode 100644 index 0000000..db64a3e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-RetailEvent-2.2.xsd @@ -0,0 +1,516 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Retail Event. Details + A document used to specify basic information about retail events (such as promotions, product introductions, and community or environmental events) that affect supply or demand. + Retail Event + Event + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Retail Event. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Retail Event + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Retail Event. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Retail Event + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Retail Event. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Retail Event + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Retail Event. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Retail Event + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Retail Event. Identifier + An identifier for this document, assigned by the sender. + 1 + Retail Event + Identifier + Identifier + Identifier. Type + Retail Event Number + + + + + + + + + BBIE + Retail Event. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Retail Event + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Retail Event. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Retail Event + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Retail Event. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Retail Event + Issue Date + Date + Date. Type + Retail Event Date + + + + + + + + + BBIE + Retail Event. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Retail Event + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Retail Event. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Retail Event + Note + Text + Text. Type + + + + + + + + + BBIE + Retail Event. Retail Event Name. Name + A title, theme, slogan, or other identifier for the event for use by trading partners. + 0..1 + Retail Event + Retail Event Name + Name + Name. Type + + + + + + + + + BBIE + Retail Event. Retail Event Status Code. Code + Describes the logical state of the discrete activity affecting supply or demand in the supply chain + 1 + Retail Event + Retail Event Status Code + Code + Code. Type + + + + + + + + + BBIE + Retail Event. Seller Event Identifier. Identifier + An event tracking identifier assigned by the seller. + 0..1 + Retail Event + Seller Event Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Retail Event. Buyer Event Identifier. Identifier + An event tracking identifier assigned by the buyer. + 0..1 + Retail Event + Buyer Event Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Retail Event. Description. Text + Definition of the discrete activity affecting supply or demand in the supply chain + 0..n + Retail Event + Description + Text + Text. Type + + + + + + + + + ASBIE + Retail Event. Period + The period during which the event takes place. + 1 + Retail Event + Period + Period + Period + + + + + + + + + ASBIE + Retail Event. Original_ Document Reference. Document Reference + A reference to a Forecast document associated with this event. + 0..n + Retail Event + Original + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Retail Event. Signature + A signature applied to this document. + 0..n + Retail Event + Signature + Signature + Signature + + + + + + + + + ASBIE + Retail Event. Sender_ Party. Party + The party sending this document. + 1 + Retail Event + Sender + Party + Party + Party + + + + + + + + + ASBIE + Retail Event. Receiver_ Party. Party + The party receiving this document. + 1 + Retail Event + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Retail Event. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Retail Event + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Retail Event. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Retail Event + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Retail Event. Event Comment + A comment regarding the event. + 0..n + Retail Event + Event Comment + Event Comment + Event Comment + + + + + + + + + ASBIE + Retail Event. Promotional Event + The description of a promotional event associated with this event. + 0..1 + Retail Event + Promotional Event + Promotional Event + Promotional Event + + + + + + + + + ASBIE + Retail Event. Miscellaneous Event + A miscellaneous event associated with this event. + 0..1 + Retail Event + Miscellaneous Event + Miscellaneous Event + Miscellaneous Event + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-SelfBilledCreditNote-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-SelfBilledCreditNote-2.2.xsd new file mode 100644 index 0000000..096b7e3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-SelfBilledCreditNote-2.2.xsd @@ -0,0 +1,1001 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Self Billed Credit Note. Details + A credit note created by the debtor in a self billing arrangement with a creditor; Self Billed Credit Note replaces Debit Note in such arrangements. + Self Billed Credit Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Self Billed Credit Note. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Self Billed Credit Note + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Self Billed Credit Note. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Self Billed Credit Note + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Self Billed Credit Note. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Self Billed Credit Note + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Self Billed Credit Note. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Self Billed Credit Note + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Self Billed Credit Note. Identifier + An identifier for this document, assigned by the sender. + 1 + Self Billed Credit Note + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Credit Note. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Self Billed Credit Note + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Self Billed Credit Note. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Self Billed Credit Note + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Credit Note. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Self Billed Credit Note + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Credit Note. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Self Billed Credit Note + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Self Billed Credit Note. Due Date. Date +   The date on which SelfBilledCreditNote is due. + 0..1 + Self Billed Credit Note + Due Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Credit Note. Tax Point Date. Date + The date of the Self Billed Credit Note, used to indicate the point at which tax becomes applicable. + 0..1 + Self Billed Credit Note + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Credit Note. Credit Note Type Code. Code + A code signifying the type of Selfbilled CreditNote + 0..1 + Self Billed Credit Note + Credit Note Type Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Self Billed Credit Note + Note + Text + Text. Type + + + + + + + + + BBIE + Self Billed Credit Note. Document_ Currency Code. Code + A code signifying the default currency for this document. + 1 + Self Billed Credit Note + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Accounting Cost Code. Code + The buyer's accounting code, applied to the Self Billed Credit Note as a whole. + 0..1 + Self Billed Credit Note + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Credit Note. Accounting Cost. Text + The buyer's accounting code, applied to the Self Billed Credit Note as a whole, expressed as text. + 0..1 + Self Billed Credit Note + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Self Billed Credit Note. Line Count. Numeric + The number of Self Billed Credit Note Lines in this document. + 0..1 + Self Billed Credit Note + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Self Billed Credit Note. Buyer_ Reference. Text + A reference provided by the buyer used for internal routing of the document. + 0..1 + Self Billed Credit Note + Buyer + Reference + Text + Text. Type + + + + + + + + + ASBIE + Self Billed Credit Note. Invoice_ Period. Period + A period (rather than a specific Invoice) associated with the Self Billed Credit Note. + 0..n + Self Billed Credit Note + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Self Billed Credit Note. Discrepancy_ Response. Response + A reason for the Self Billed Credit Note as a whole. + 0..n + Self Billed Credit Note + Discrepancy + Response + Response + Response + + + + + + + + + ASBIE + Self Billed Credit Note. Order Reference + The Order associated with this Self Billed Credit Note. + 0..1 + Self Billed Credit Note + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Billing Reference + A reference to a billing document associated with this document. + 0..n + Self Billed Credit Note + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Self Billed Credit Note + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Self Billed Credit Note + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Self Billed Credit Note + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Self Billed Credit Note + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Self Billed Credit Note + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Self Billed Credit Note + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Project Reference + A reference to a project associated with this document. + 0..n + Self Billed Credit Note + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Self Billed Credit Note. Signature + A signature applied to this document. + 0..n + Self Billed Credit Note + Signature + Signature + Signature + + + + + + + + + ASBIE + Self Billed Credit Note. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Self Billed Credit Note + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Credit Note. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Self Billed Credit Note + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Credit Note. Payee_ Party. Party + The payee. + 0..1 + Self Billed Credit Note + Payee + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Credit Note. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Self Billed Credit Note + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Credit Note. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Self Billed Credit Note + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Credit Note. Tax Representative_ Party. Party + The tax representative. + 0..1 + Self Billed Credit Note + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Credit Note. Delivery + A delivery associated with this document. + 0..n + Self Billed Credit Note + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Self Billed Credit Note. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Self Billed Credit Note + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Self Billed Credit Note. Payment Means + Expected means of payment. + 0..n + Self Billed Credit Note + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Self Billed Credit Note. Payment Terms + A set of payment terms associated with this document. + 0..n + Self Billed Credit Note + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Self Billed Credit Note. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Self Billed Credit Note + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Self Billed Credit Note. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Self Billed Credit Note + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Self Billed Credit Note + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Self Billed Credit Note + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Self Billed Credit Note + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Credit Note. Tax Total + The total amount of a specific type of tax. + 0..n + Self Billed Credit Note + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Credit Note. Withholding_ Tax Total. Tax Total + The total withholding tax. + 0..n + Self Billed Credit Note + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Credit Note. Legal_ Monetary Total. Monetary Total + The total amount payable on the Self Billed Credit Note, including Allowances, Charges, and Taxes. + 1 + Self Billed Credit Note + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Self Billed Credit Note. Credit Note Line + A Self Billed Credit Note Line. + 1..n + Self Billed Credit Note + Credit Note Line + Credit Note Line + Credit Note Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-SelfBilledInvoice-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-SelfBilledInvoice-2.2.xsd new file mode 100644 index 0000000..072ebe4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-SelfBilledInvoice-2.2.xsd @@ -0,0 +1,1000 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Self Billed Invoice. Details + An Invoice document created by the Customer (rather than the Supplier) in a Self Billing relationship. + Self Billed Invoice + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Self Billed Invoice. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Self Billed Invoice + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Self Billed Invoice. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Self Billed Invoice + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Self Billed Invoice. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Self Billed Invoice + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Self Billed Invoice. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Self Billed Invoice + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Identifier + An identifier for this document, assigned by the sender. + 1 + Self Billed Invoice + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Self Billed Invoice + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Self Billed Invoice. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Self Billed Invoice + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Self Billed Invoice. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Self Billed Invoice + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Invoice. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Self Billed Invoice + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Self Billed Invoice. Due Date. Date +   The date on which Invoice is due. + 0..1 + Self Billed Invoice + Due Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Invoice. Tax Point Date. Date + The date of the invoice for tax purposes, in accordance with the applicable tax regulation. + 0..1 + Self Billed Invoice + Tax Point Date + Date + Date. Type + + + + + + + + + BBIE + Self Billed Invoice. Invoice Type Code. Code + A code signifying the type of invoice. + 0..1 + Self Billed Invoice + Invoice Type Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Self Billed Invoice + Note + Text + Text. Type + + + + + + + + + BBIE + Self Billed Invoice. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Self Billed Invoice + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Tax_ Currency Code. Code + A code signifying the currency used for tax amounts in the Invoice. + 0..1 + Self Billed Invoice + Tax + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Pricing_ Currency Code. Code + A code signifying the currency used for prices in the Invoice. + 0..1 + Self Billed Invoice + Pricing + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Payment_ Currency Code. Code + A code signifying the currency used for payment in the Invoice. + 0..1 + Self Billed Invoice + Payment + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Payment Alternative_ Currency Code. Code + A code signifying the alternative currency used for payment in the Invoice. + 0..1 + Self Billed Invoice + Payment Alternative + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Accounting Cost Code. Code + An accounting cost code, applied to the Invoice as a whole. + 0..1 + Self Billed Invoice + Accounting Cost Code + Code + Code. Type + + + + + + + + + BBIE + Self Billed Invoice. Accounting Cost. Text + An accounting cost code, applied to the Invoice as a whole, expressed as text. + 0..1 + Self Billed Invoice + Accounting Cost + Text + Text. Type + + + + + + + + + BBIE + Self Billed Invoice. Line Count. Numeric + The number of Invoice Lines in this document. + 0..1 + Self Billed Invoice + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Self Billed Invoice. Buyer_ Reference. Text + A reference provided by the buyer used for internal routing of the document. + 0..1 + Self Billed Invoice + Buyer + Reference + Text + Text. Type + + + + + + + + + ASBIE + Self Billed Invoice. Invoice_ Period. Period + A period to which the Self Billed Invoice applies. + 0..n + Self Billed Invoice + Invoice + Period + Period + Period + + + + + + + + + ASBIE + Self Billed Invoice. Order Reference + A reference to the Order with which this Invoice is associated. + 0..1 + Self Billed Invoice + Order Reference + Order Reference + Order Reference + + + + + + + + + ASBIE + Self Billed Invoice. Billing Reference + A reference to a billing document associated with this document. + 0..n + Self Billed Invoice + Billing Reference + Billing Reference + Billing Reference + + + + + + + + + ASBIE + Self Billed Invoice. Contract_ Document Reference. Document Reference + A reference to a contract associated with this document. + 0..n + Self Billed Invoice + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Despatch_ Document Reference. Document Reference + A reference to a Despatch Advice associated with this document. + 0..n + Self Billed Invoice + Despatch + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Receipt_ Document Reference. Document Reference + A reference to a Receipt Advice associated with this document. + 0..n + Self Billed Invoice + Receipt + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Statement_ Document Reference. Document Reference + A reference to a Statement associated with this document. + 0..n + Self Billed Invoice + Statement + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Originator_ Document Reference. Document Reference + A reference to an originator document associated with this document. + 0..n + Self Billed Invoice + Originator + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Self Billed Invoice + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Self Billed Invoice. Project Reference + A reference to a project associated with this document. + 0..n + Self Billed Invoice + Project Reference + Project Reference + Project Reference + + + + + + + + + ASBIE + Self Billed Invoice. Signature + A signature applied to this document. + 0..n + Self Billed Invoice + Signature + Signature + Signature + + + + + + + + + ASBIE + Self Billed Invoice. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Self Billed Invoice + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Invoice. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Self Billed Invoice + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Invoice. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Self Billed Invoice + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Self Billed Invoice. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Self Billed Invoice + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Self Billed Invoice. Payee_ Party. Party + The payee. + 0..1 + Self Billed Invoice + Payee + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Invoice. Tax Representative_ Party. Party + The tax representative. + 0..1 + Self Billed Invoice + Tax Representative + Party + Party + Party + + + + + + + + + ASBIE + Self Billed Invoice. Delivery + A delivery associated with this document. + 0..n + Self Billed Invoice + Delivery + Delivery + Delivery + + + + + + + + + ASBIE + Self Billed Invoice. Delivery Terms + A set of delivery terms associated with this document. + 0..n + Self Billed Invoice + Delivery Terms + Delivery Terms + Delivery Terms + + + + + + + + + ASBIE + Self Billed Invoice. Payment Means + Expected means of payment. + 0..1 + Self Billed Invoice + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Self Billed Invoice. Payment Terms + A set of payment terms associated with this document. + 0..n + Self Billed Invoice + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Self Billed Invoice. Prepaid_ Payment. Payment + A prepaid payment. + 0..n + Self Billed Invoice + Prepaid + Payment + Payment + Payment + + + + + + + + + ASBIE + Self Billed Invoice. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Self Billed Invoice + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Self Billed Invoice. Tax_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the tax currency. + 0..1 + Self Billed Invoice + Tax + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Pricing_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the pricing currency. + 0..1 + Self Billed Invoice + Pricing + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Payment_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment currency. + 0..1 + Self Billed Invoice + Payment + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Payment Alternative_ Exchange Rate. Exchange Rate + The exchange rate between the document currency and the payment alternative currency. + 0..1 + Self Billed Invoice + Payment Alternative + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Self Billed Invoice. Tax Total + The total amount of a specific type of tax. + 0..n + Self Billed Invoice + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Invoice. Withholding_ Tax Total. Tax Total + The total withholding tax. + 0..n + Self Billed Invoice + Withholding + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Self Billed Invoice. Legal_ Monetary Total. Monetary Total + A set of totals associated with this Invoice that are required for the Invoice to be a legal document. + 1 + Self Billed Invoice + Legal + Monetary Total + Monetary Total + Monetary Total + + + + + + + + + ASBIE + Self Billed Invoice. Invoice Line + A line describing an Invoice Item. + 1..n + Self Billed Invoice + Invoice Line + Invoice Line + Invoice Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Statement-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Statement-2.2.xsd new file mode 100644 index 0000000..22924d8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Statement-2.2.xsd @@ -0,0 +1,601 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Statement. Details + A document used to report the status of orders, billing, and payment. This document is a statement of account, not a summary invoice. + Statement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Statement. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Statement + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Statement. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Statement + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Statement. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Statement + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Statement. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Statement + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Statement. Identifier + An identifier for this document, assigned by the sender. + 1 + Statement + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Statement + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Statement. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Statement + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Statement. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Statement + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Statement. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Statement + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Statement. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Statement + Note + Text + Text. Type + + + + + + + + + BBIE + Statement. Document_ Currency Code. Code + The default currency for the Statement. + 1 + Statement + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Statement. Total_ Debit Amount. Amount + The total of all debit amounts for the Statement. + 0..1 + Statement + Total + Debit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Total_ Credit Amount. Amount + The total of all credit amounts for the Statement. + 0..1 + Statement + Total + Credit Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Total_ Balance Amount. Amount + The total amount for the Statement. + 0..1 + Statement + Total + Balance Amount + Amount + Amount. Type + + + + + + + + + BBIE + Statement. Line Count. Numeric + The number of Statement Lines in the Statement. + 0..1 + Statement + Line Count + Numeric + Numeric. Type + + + + + + + + + BBIE + Statement. Statement Type Code. Code + A code signifying the type of the Statement. + 0..1 + Statement + Statement Type Code + Code + Code. Type + + + + + + + + + ASBIE + Statement. Statement_ Period. Period + A period to which the Statement applies. + 0..1 + Statement + Statement + Period + Period + Period + + + + + + + + + ASBIE + Statement. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Statement + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Statement. Signature + A signature applied to this document. + 0..n + Statement + Signature + Signature + Signature + + + + + + + + + ASBIE + Statement. Accounting_ Supplier Party. Supplier Party + The accounting supplier party. + 1 + Statement + Accounting + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement. Accounting_ Customer Party. Customer Party + The accounting customer party. + 1 + Statement + Accounting + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Statement + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Statement + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Statement. Originator_ Customer Party. Customer Party + The originator. + 0..1 + Statement + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Statement. Payee_ Party. Party + The payee. + 0..1 + Statement + Payee + Party + Party + Party + + + + + + + + + ASBIE + Statement. Payment Means + Expected means of payment. + 0..n + Statement + Payment Means + Payment Means + Payment Means + + + + + + + + + ASBIE + Statement. Payment Terms + A set of payment terms associated with this document. + 0..n + Statement + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Statement. Allowance Charge + A discount or charge that applies to a price component. + 0..n + Statement + Allowance Charge + Allowance Charge + Allowance Charge + + + + + + + + + ASBIE + Statement. Tax Total + The total amount of a specific type of tax. + 0..n + Statement + Tax Total + Tax Total + Tax Total + + + + + + + + + ASBIE + Statement. Statement Line + A Statement Line. + 1..n + Statement + Statement Line + Statement Line + Statement Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-StockAvailabilityReport-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-StockAvailabilityReport-2.2.xsd new file mode 100644 index 0000000..422f459 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-StockAvailabilityReport-2.2.xsd @@ -0,0 +1,404 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Stock Availability Report. Details + A report on the quantities of each item that are, or will be, in stock. This document is sent by a Seller (for example a producer) to a Buyer (for example a retailer). + Stock Availability Report + Storage status report. + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Stock Availability Report. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Stock Availability Report + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Stock Availability Report. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Stock Availability Report + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Stock Availability Report. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Stock Availability Report + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Stock Availability Report. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Stock Availability Report + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Stock Availability Report. Identifier + An identifier for this document, assigned by the sender. + 1 + Stock Availability Report + Identifier + Identifier + Identifier. Type + Document Number, Inventory Report Number + + + + + + + + + BBIE + Stock Availability Report. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Stock Availability Report + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Stock Availability Report. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Stock Availability Report + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Stock Availability Report. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Stock Availability Report + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Stock Availability Report. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Stock Availability Report + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Stock Availability Report. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Stock Availability Report + Note + Text + Text. Type + + + + + + + + + BBIE + Stock Availability Report. Document_ Currency Code. Code + A code signifying the default currency for this document. + 0..1 + Stock Availability Report + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + ASBIE + Stock Availability Report. Inventory_ Period. Period + The inventory period covered by the Report. + 0..1 + Stock Availability Report + Inventory + Period + Period + Period + + + + + + + + + ASBIE + Stock Availability Report. Document Reference + A reference to another document associated with this document. + 0..n + Stock Availability Report + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Stock Availability Report. Signature + A signature applied to this document. + 0..n + Stock Availability Report + Signature + Signature + Signature + + + + + + + + + ASBIE + Stock Availability Report. Seller_ Supplier Party. Supplier Party + The seller. + 1 + Stock Availability Report + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Stock Availability Report. Retailer_ Customer Party. Customer Party + The retailer. + 0..1 + Stock Availability Report + Retailer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Stock Availability Report. Inventory Reporting_ Party. Party + The party that will receive and use the Stock Availability Report (normally the branch for which the stock is reported). + 1 + Stock Availability Report + Inventory Reporting + Party + Party + Party + + + + + + + + + ASBIE + Stock Availability Report. Stock Availability Report Line + A line representing a particular item of sale and associated with a line in the Catalogue. + 1..n + Stock Availability Report + Stock Availability Report Line + Stock Availability Report Line + Stock Availability Report Line + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Tender-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Tender-2.2.xsd new file mode 100644 index 0000000..374d2a8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Tender-2.2.xsd @@ -0,0 +1,484 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender. Details + A document whereby an economic operator (the tenderer) makes a formal offer (the tender) to a contracting authority to execute an order for the supply or purchase of goods, or for the execution of work, according to the terms of a proposed contract. + Tender + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tender. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tender. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tender. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tender. Identifier + An identifier for this document, assigned by the sender. + 1 + Tender + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender. Tender Type Code. Code + A code to specify the type of tender (economical or objective criteria versus technical or subjective criteria) + 0..1 + Tender + Tender Type Code + Code + Code. Type + + + + + + + + + BBIE + Tender. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tender + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Tender + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Tender. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender + Note + Text + Text. Type + + + + + + + + + ASBIE + Tender. Validity_ Period. Period + The period for which the Tender is valid. + 0..1 + Tender + Validity + Period + Period + Period + + + + + + + + + ASBIE + Tender. Call For Tender_ Document Reference. Document Reference + A reference to the call for tender document of which this tender result of. + 0..1 + Tender + Call For Tender + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender. Document Reference + A reference to another document associated with this document. + 0..n + Tender + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender. Signature + A signature applied to this document. + 0..n + Tender + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender. Tenderer_ Party. Party + The primary tenderer. + 1..n + Tender + Tenderer + Party + Party + Party + + + + + + + + + ASBIE + Tender. Tenderer Qualification_ Document Reference. Document Reference + A reference to the tenderer qualification document that has been used to qualify the tenderer. + 0..1 + Tender + Tenderer Qualification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender. Subcontractor_ Party. Party + A subcontractor or other tenderer participating in the same Tender. + 0..n + Tender + Subcontractor + Party + Party + Party + + + + + + + + + ASBIE + Tender. Contracting Party + The contracting party. + 0..n + Tender + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tender. Originator_ Customer Party. Customer Party + The party originating the Tender. + 0..1 + Tender + Originator + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Tender. Tendered Project + A project with which this Tender is associated. A single Tender can be used to bid for one project, multiple projects, or the global project. + 1..n + Tender + Tendered Project + Tendered Project + Tendered Project + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderContract-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderContract-2.2.xsd new file mode 100644 index 0000000..015d3da --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderContract-2.2.xsd @@ -0,0 +1,509 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender Contract. Details + A document published by a Contracting Party to announce the awarding of a procurement project. + Tender Contract + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender Contract. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender Contract + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Contract. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender Contract + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Contract. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender Contract + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Contract. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender Contract + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Contract. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tender Contract + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Contract. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender Contract + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender Contract. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender Contract + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Contract. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tender Contract + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Contract. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender Contract + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender Contract. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender Contract + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender Contract. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Tender Contract + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Tender Contract. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender Contract + Note + Text + Text. Type + + + + + + + + + BBIE + Tender Contract. Regulatory Domain. Text + Information about the law that defines the regulatory domain. + 0..n + Tender Contract + Regulatory Domain + Text + Text. Type + + + + + + + + + BBIE + Tender Contract. Publish Award Indicator. Indicator + An indicator specifying if the notice is published for service contracts within certain service categories (true) or not (false). + 0..1 + Tender Contract + Publish Award Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Tender Contract. Previous_ Document Reference. Document Reference + A reference to a previously sent document. + 0..n + Tender Contract + Previous + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Contract. Contract_ Document Reference. Document Reference + A reference to a set of minutes. + 0..n + Tender Contract + Contract + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Contract. Signature + A signature applied to this document. + 0..n + Tender Contract + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender Contract. Contracting Party + The contracting party. + 1..n + Tender Contract + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tender Contract. Economic Operator Party + The Economic Operator issuing the inquiry on the status of a tendering process. + 1..n + Tender Contract + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Tender Contract. Receiver_ Party. Party + The party receiving this document. + 0..1 + Tender Contract + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Tender Contract. Tendering Terms + The tendering terms associated with this tendering process. + 0..1 + Tender Contract + Tendering Terms + Tendering Terms + Tendering Terms + + + + + + + + + ASBIE + Tender Contract. Tendering Process + A description of the tendering process itself. + 0..1 + Tender Contract + Tendering Process + Tendering Process + Tendering Process + + + + + + + + + ASBIE + Tender Contract. Procurement Project + An overall definition of this procurement project. + 0..1 + Tender Contract + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Tender Contract. Procurement Project Lot + Lots that were awarded to the economic operator that can be grouped in the same contract. + 0..n + Tender Contract + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + ASBIE + Tender Contract. Tender Result + A result of the bid opening in the tendering process. + 1..n + Tender Contract + Tender Result + Tender Result + Tender Result + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderReceipt-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderReceipt-2.2.xsd new file mode 100644 index 0000000..37e6bad --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderReceipt-2.2.xsd @@ -0,0 +1,399 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender Receipt. Details + A document sent by a contracting party to an economic operator acknowledging receipt of a Tender. + Tender Receipt + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender Receipt. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender Receipt + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tender Receipt. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender Receipt + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tender Receipt. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender Receipt + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tender Receipt. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender Receipt + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tender Receipt. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tender Receipt + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Receipt. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender Receipt + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender Receipt. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender Receipt + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Receipt. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tender Receipt + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Receipt. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender Receipt + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender Receipt. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender Receipt + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender Receipt. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Tender Receipt + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Tender Receipt. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender Receipt + Note + Text + Text. Type + + + + + + + + + BBIE + Tender Receipt. Registered Date. Date + The date, assigned by the sender, on which the Tender Receipt was created. + 1 + Tender Receipt + Registered Date + Date + Date. Type + + + + + + + + + BBIE + Tender Receipt. Registered Time. Time + The time, assigned by the sender, at which the Tender Receipt was created. + 1 + Tender Receipt + Registered Time + Time + Time. Type + + + + + + + + + ASBIE + Tender Receipt. Tender_ Document Reference. Document Reference + A reference to a received Tender. + 0..n + Tender Receipt + Tender + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Receipt. Signature + A signature applied to this document. + 0..n + Tender Receipt + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender Receipt. Sender_ Party. Party + The party sending this document. + 1 + Tender Receipt + Sender + Party + Party + Party + + + + + + + + + ASBIE + Tender Receipt. Receiver_ Party. Party + The party receiving this document. + 1 + Tender Receipt + Receiver + Party + Party + Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderStatus-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderStatus-2.2.xsd new file mode 100644 index 0000000..00e7795 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderStatus-2.2.xsd @@ -0,0 +1,579 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender Status. Details + A document sent by the Contracting Party to an Economic Operator describing the status of a tendering procedure. + Tender Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender Status. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender Status + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tender Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender Status + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tender Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender Status + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tender Status. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender Status + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tender Status. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tender Status + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Status. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender Status + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender Status. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Status. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Tender Status + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Status. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender Status. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender Status. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Tender Status + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Tender Status. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender Status + Note + Text + Text. Type + + + + + + + + + BBIE + Tender Status. Procedure Code. Code + A code signifying the type of this tendering procedure. + 0..1 + Tender Status + Procedure Code + Code + Code. Type + Open, Restricted, Negotiated + + + + + + + + + ASBIE + Tender Status. Tender Submission Deadline_ Period. Period + The period during which tenders must be delivered. + 0..1 + Tender Status + Tender Submission Deadline + Period + Period + Period + + + + + + + + + ASBIE + Tender Status. Invitation Submission_ Period. Period + The period during which invitations to tender must be completed and delivered. + 0..1 + Tender Status + Invitation Submission + Period + Period + Period + + + + + + + + + ASBIE + Tender Status. Participation Request Reception_ Period. Period + The period during which requests for participation must be completed and delivered. + 0..1 + Tender Status + Participation Request Reception + Period + Period + Period + + + + + + + + + ASBIE + Tender Status. Procurement Legislation_ Document Reference. Document Reference + A reference to a document providing references to procurement legislation applicable to the tendering process. + 0..1 + Tender Status + Procurement Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Status. Fiscal Legislation_ Document Reference. Document Reference + A reference to a document providing references to fiscal legislation applicable to the tendering process. + 0..1 + Tender Status + Fiscal Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Status. Environmental Legislation_ Document Reference. Document Reference + A reference to a document providing references to environmental legislation applicable to the tendering process. + 0..1 + Tender Status + Environmental Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Status. Employment Legislation_ Document Reference. Document Reference + A reference to a document providing references to employment legislation applicable to the tendering process. + 0..1 + Tender Status + Employment Legislation + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Status. Tender Status Inquiry_ Document Reference. Document Reference + A reference to a received Tender status inquiry. + 0..n + Tender Status + Tender Status Inquiry + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Status. Signature + A signature applied to this document. + 0..n + Tender Status + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender Status. Contracting Party + The Contracting Party issuing the information about the tender status. + 1 + Tender Status + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tender Status. Economic Operator Party + The Economic Operator receiving the tender status information. + 1 + Tender Status + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Tender Status. Document Provider_ Party. Party + The party that has the contract documents for the tendering process. + 0..1 + Tender Status + Document Provider + Party + Party + Party + + + + + + + + + ASBIE + Tender Status. Tender Recipient_ Party. Party + The party to which tenders should be presented. + 0..1 + Tender Status + Tender Recipient + Party + Party + Party + + + + + + + + + ASBIE + Tender Status. Procurement Project + An overall definition of this procurement project. + 0..1 + Tender Status + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Tender Status. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Tender Status + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderStatusRequest-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderStatusRequest-2.2.xsd new file mode 100644 index 0000000..1719418 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderStatusRequest-2.2.xsd @@ -0,0 +1,378 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender Status Request. Details + A document sent by an Economic Operator asking about the details and status of a tendering procedure. + Tender Status Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender Status Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender Status Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tender Status Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender Status Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tender Status Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender Status Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tender Status Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender Status Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tender Status Request. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tender Status Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Status Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender Status Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender Status Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender Status Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Status Request. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Tender Status Request + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Status Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender Status Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender Status Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender Status Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender Status Request. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Tender Status Request + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Tender Status Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender Status Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Tender Status Request. Signature + A signature applied to this document. + 0..n + Tender Status Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender Status Request. Contracting Party + The Contracting Party eceiving the tender status inquiry. + 1..n + Tender Status Request + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tender Status Request. Economic Operator Party + The Economic Operator issuing the inquiry on the status of a tendering process. + 1 + Tender Status Request + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Tender Status Request. Procurement Project + An overall definition of this procurement project. + 0..1 + Tender Status Request + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Tender Status Request. Procurement Project Lot + One of the procurement project lots into which this contract can be split. + 0..n + Tender Status Request + Procurement Project Lot + Procurement Project Lot + Procurement Project Lot + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderWithdrawal-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderWithdrawal-2.2.xsd new file mode 100644 index 0000000..8e63ae7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TenderWithdrawal-2.2.xsd @@ -0,0 +1,401 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tender Withdrawal. Details + A document sent by an Economic Operator to a Contracting Party with the intention of withdrawing a previously sent Tender document. + Tender Withdrawal + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tender Withdrawal. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tender Withdrawal + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tender Withdrawal. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tender Withdrawal + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tender Withdrawal. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tender Withdrawal + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tender Withdrawal. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tender Withdrawal + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tender Withdrawal. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tender Withdrawal + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Withdrawal. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tender Withdrawal + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tender Withdrawal. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tender Withdrawal + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Withdrawal. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Tender Withdrawal + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tender Withdrawal. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tender Withdrawal + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tender Withdrawal. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tender Withdrawal + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tender Withdrawal. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Tender Withdrawal + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Tender Withdrawal. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tender Withdrawal + Note + Text + Text. Type + + + + + + + + + BBIE + Tender Withdrawal. Withdraw Offer. Indicator + Indicates whether the referred tender has to be withdrawn (true) or not (false). + 0..1 + Tender Withdrawal + Withdraw Offer + Indicator + Indicator. Type + + + + + + + + + ASBIE + Tender Withdrawal. Tender_ Document Reference. Document Reference + A reference to a received Tender. + 0..n + Tender Withdrawal + Tender + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Withdrawal. Tender Notification_ Document Reference. Document Reference + A reference to the Tender Receipt Notification. + 0..n + Tender Withdrawal + Tender Notification + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tender Withdrawal. Signature + A signature applied to this document. + 0..n + Tender Withdrawal + Signature + Signature + Signature + + + + + + + + + ASBIE + Tender Withdrawal. Contracting Party + The Contracting Party or parties in case of joint procurement. + 1..n + Tender Withdrawal + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tender Withdrawal. Tenderer_ Party. Party + The economic operator or the main tenderer in case of a consortium that is withdrawing the tender. + 1 + Tender Withdrawal + Tenderer + Party + Party + Party + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TendererQualification-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TendererQualification-2.2.xsd new file mode 100644 index 0000000..c7dd6fb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TendererQualification-2.2.xsd @@ -0,0 +1,402 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tenderer Qualification. Details + A document declaring the qualifications of a tenderer. + Tenderer Qualification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tenderer Qualification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tenderer Qualification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tenderer Qualification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tenderer Qualification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tenderer Qualification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tenderer Qualification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tenderer Qualification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tenderer Qualification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tenderer Qualification. Identifier + An identifier for this document, assigned by the sender. + 1 + Tenderer Qualification + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tenderer Qualification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tenderer Qualification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tenderer Qualification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tenderer Qualification + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tenderer Qualification + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tenderer Qualification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tenderer Qualification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tenderer Qualification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tenderer Qualification + Note + Text + Text. Type + + + + + + + + + BBIE + Tenderer Qualification. Version. Identifier + Indicates the current version of the Tenderer Qualification. + 0..1 + Tenderer Qualification + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Tenderer Qualification. Previous_ Version. Identifier + Identifies the previous version of the Tenderer Qualification which is superceded by this version. + 0..1 + Tenderer Qualification + Previous + Version + Identifier + Identifier. Type + 1.0 + + + + + + + + + ASBIE + Tenderer Qualification. Signature + A signature applied to this document. + 0..n + Tenderer Qualification + Signature + Signature + Signature + + + + + + + + + ASBIE + Tenderer Qualification. Tenderer Party Qualification + A specific qualification of the Tenderer. + 1..n + Tenderer Qualification + Tenderer Party Qualification + Tenderer Party Qualification + Tenderer Party Qualification + + + + + + + + + ASBIE + Tenderer Qualification. Contracting Party + The contracting party. + 0..1 + Tenderer Qualification + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Tenderer Qualification. Evidence + An evidentiary document supporting Tenderer qualifications. + 0..n + Tenderer Qualification + Evidence + Evidence + Evidence + + + + + + + + + ASBIE + Tenderer Qualification. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Tenderer Qualification + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TendererQualificationResponse-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TendererQualificationResponse-2.2.xsd new file mode 100644 index 0000000..f9d8917 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TendererQualificationResponse-2.2.xsd @@ -0,0 +1,400 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Tenderer Qualification Response. Details + A document issued by a procurement organization to notify an economic operator whether it has been admitted to or excluded from the tendering process. + Tenderer Qualification Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Tenderer Qualification Response. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Tenderer Qualification Response + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Tenderer Qualification Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Tenderer Qualification Response + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Tenderer Qualification Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Tenderer Qualification Response + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Tenderer Qualification Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Tenderer Qualification Response + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Tenderer Qualification Response. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Tenderer Qualification Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Tenderer Qualification Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Tenderer Qualification Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Tenderer Qualification Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Tenderer Qualification Response + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Contract Name. Name + Short title of a contract associated with this Tender. + 0..n + Tenderer Qualification Response + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Tenderer Qualification Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Tenderer Qualification Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Tenderer Qualification Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Tenderer Qualification Response + Note + Text + Text. Type + + + + + + + + + ASBIE + Tenderer Qualification Response. Sender_ Party. Party + The party sending this message. + 1 + Tenderer Qualification Response + Sender + Party + Party + Party + + + + + + + + + ASBIE + Tenderer Qualification Response. Receiver_ Party. Party + The party receiving this message. + 1 + Tenderer Qualification Response + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Tenderer Qualification Response. Resolution_ Document Reference. Document Reference + A document (e.g., meeting minutes) relating to consideration of tenderer qualifications. + 0..1 + Tenderer Qualification Response + Resolution + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Tenderer Qualification Response. Qualification Resolution + An association to the resolution that is being notified + 1..n + Tenderer Qualification Response + Qualification Resolution + Qualification Resolution + Qualification Resolution + + + + + + + + + ASBIE + Tenderer Qualification Response. Appeal Terms + Terms of appeal for this tendering process. + 0..1 + Tenderer Qualification Response + Appeal Terms + Appeal Terms + Appeal Terms + + + + + + + + + ASBIE + Tenderer Qualification Response. Signature + A signature applied to this document. + 0..n + Tenderer Qualification Response + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TradeItemLocationProfile-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TradeItemLocationProfile-2.2.xsd new file mode 100644 index 0000000..d05453f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TradeItemLocationProfile-2.2.xsd @@ -0,0 +1,416 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Trade Item Location Profile. Details + A document specifying trade item attributes relating to replenishment policies. + Trade Item Location Profile + TradeItem Information Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Trade Item Location Profile. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Trade Item Location Profile + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Trade Item Location Profile. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Trade Item Location Profile + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Trade Item Location Profile. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Trade Item Location Profile + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Trade Item Location Profile. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Trade Item Location Profile + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Trade Item Location Profile. Identifier + An identifier for this document, assigned by the sender. + 1 + Trade Item Location Profile + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Trade Item Location Profile. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Trade Item Location Profile + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Trade Item Location Profile. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Trade Item Location Profile + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Trade Item Location Profile. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Trade Item Location Profile + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Trade Item Location Profile. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Trade Item Location Profile + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Trade Item Location Profile. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Trade Item Location Profile + Note + Text + Text. Type + + + + + + + + + BBIE + Trade Item Location Profile. Profile_ Status Code. Code + A code signifying the status of this Trade Item Location Profile. + 0..1 + Trade Item Location Profile + Profile + Status Code + Code + Code. Type + + + + + + + + + ASBIE + Trade Item Location Profile. Period + An association to Period. + 1 + Trade Item Location Profile + Period + Period + Period + + + + + + + + + ASBIE + Trade Item Location Profile. Document Reference + A reference to another document associated with this document. + 0..n + Trade Item Location Profile + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Trade Item Location Profile. Signature + A signature applied to this document. + 0..n + Trade Item Location Profile + Signature + Signature + Signature + + + + + + + + + ASBIE + Trade Item Location Profile. Sender_ Party. Party + The sender. + 1 + Trade Item Location Profile + Sender + Party + Party + Party + + + + + + + + + ASBIE + Trade Item Location Profile. Receiver_ Party. Party + The receiver. + 1 + Trade Item Location Profile + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Trade Item Location Profile. Buyer_ Customer Party. Customer Party + The buyer. + 0..1 + Trade Item Location Profile + Buyer + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Trade Item Location Profile. Seller_ Supplier Party. Supplier Party + The seller. + 0..1 + Trade Item Location Profile + Seller + Supplier Party + Supplier Party + Supplier Party + + + + + + + + + ASBIE + Trade Item Location Profile. Item Management Profile + A profile specifying replenishment policies for a particular trade item. + 1..n + Trade Item Location Profile + Item Management Profile + Item Management Profile + Item Management Profile + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportExecutionPlan-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportExecutionPlan-2.2.xsd new file mode 100644 index 0000000..299074d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportExecutionPlan-2.2.xsd @@ -0,0 +1,770 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Execution Plan. Details + A document used in the negotiation of a transport service between a transport user and a transport service provider. + Transport Execution Plan + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Execution Plan. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Execution Plan + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Execution Plan + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Execution Plan + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Execution Plan + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Execution Plan + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Version. Identifier + Indicates the current version of the Transport Execution Plan. + 0..1 + Transport Execution Plan + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Transport Execution Plan. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Execution Plan + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Execution Plan. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Execution Plan + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transport Execution Plan + Issue Date + Date + Date. Type + Transport Document Date + + + + + + + + + BBIE + Transport Execution Plan. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transport Execution Plan + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Execution Plan. Document Status Code. Code + A code signifying the status of the Transport Execution Plan (updated, cancelled, confirmed, etc.) + 0..1 + Transport Execution Plan + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Transport Execution Plan. Document Status Reason Code. Code + A code signifying a reason associated with the status of a Transport Execution Plan. + 0..1 + Transport Execution Plan + Document Status Reason Code + Code + Code. Type + + + + + + + + + BBIE + Transport Execution Plan. Document Status Reason Description. Text + A reason for the status assigned to the Transport Execution Plan, expressed in text. + 0..n + Transport Execution Plan + Document Status Reason Description + Text + Text. Type + 123 Standard Chartered Tower + + + + + + + + + BBIE + Transport Execution Plan. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Execution Plan + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Plan. Transport User_ Remarks. Text + Remarks from the transport user regarding the transport operations referred to in the Transport Execution Plan. + 0..n + Transport Execution Plan + Transport User + Remarks + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Plan. Transport Service Provider_ Remarks. Text + Remarks from the transport service provider regarding the transport operations referred to in the Transport Execution Plan. + 0..n + Transport Execution Plan + Transport Service Provider + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Transport Execution Plan. Sender_ Party. Party + The party sending this document (can be either the transport user or the transport service provider). + 0..1 + Transport Execution Plan + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Receiver_ Party. Party + The party receiving this document (can be either the transport user or the transport service provider). + 0..1 + Transport Execution Plan + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Transport User_ Party. Party + The party requesting the transport service from a transport service provider. + 1 + Transport Execution Plan + Transport User + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Transport Service Provider_ Party. Party + The party offering the transport service based upon a request from a transport user. + 1 + Transport Execution Plan + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Bill To_ Party. Party + Describes the party that will pay for the transport service(s) provided in a Transport Execution Plan + 0..1 + Transport Execution Plan + Bill To + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan. Signature + A signature applied to this document. + 0..n + Transport Execution Plan + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Execution Plan. Transport Execution Plan Request_ Document Reference. Document Reference + A reference to a Transport Execution Plan Request. + 0..1 + Transport Execution Plan + Transport Execution Plan Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Transport Execution Plan_ Document Reference. Document Reference + A reference to an original Transport Execution Plan. + 0..1 + Transport Execution Plan + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Transport Service Description_ Document Reference. Document Reference + A reference to the Transport Service Description, which is used by a transport service provider to announce transport services to transport users (buyers). + 0..1 + Transport Execution Plan + Transport Service Description + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Transport Execution Plan + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan. Transport_ Contract. Contract + A contract related to the Transport Execution Plan. + 0..1 + Transport Execution Plan + Transport + Contract + Contract + Contract + + + + + + + + + ASBIE + Transport Execution Plan. Transport Service Provider Response Required_ Period. Period + Describes the deadline for when the Transport Service Provider will have to respond to a Transport Execution Plan . + 0..1 + Transport Execution Plan + Transport Service Provider Response Required + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Transport User Response Required_ Period. Period + Describes the deadline for when the Transport User will have to respond to a Transport Execution Plan suggested by a Transport Service Provider. + 0..n + Transport Execution Plan + Transport User Response Required + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Validity_ Period. Period + A period during which the Transport Execution Plan is valid. + 0..n + Transport Execution Plan + Validity + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Main_ Transportation Service. Transportation Service + Description of the main transportation service referenced in the Transport Execution Plan. + 0..1 + Transport Execution Plan + Main + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan. Additional_ Transportation Service. Transportation Service + A description of an additional transportation service referenced in the Transport Execution Plan. + 0..n + Transport Execution Plan + Additional + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan. Service Start Time_ Period. Period + The period within which the service must begin. + 0..1 + Transport Execution Plan + Service Start Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. Service End Time_ Period. Period + The period during which the service must be completed. + 0..1 + Transport Execution Plan + Service End Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan. From_ Location. Location + The location of origin of the transport service referenced in the Transport Execution Plan. + 0..1 + Transport Execution Plan + From + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan. To_ Location. Location + The destination location for the transport service referenced in the Transport Execution Plan. + 0..1 + Transport Execution Plan + To + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan. At_ Location. Location + The location of a transport service (e.g., terminal handling service) that does not require transport movement. + 0..1 + Transport Execution Plan + At + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan. Transport Execution Terms + A description of terms and conditions related to the Transport Execution Plan. + 0..1 + Transport Execution Plan + Transport Execution Terms + Transport Execution Terms + Transport Execution Terms + + + + + + + + + ASBIE + Transport Execution Plan. Consignment + A description of an identifiable collection of goods items to be transported between the consignor and the consignee. This information may be defined within a transport contract. A consignment may comprise more than one shipment (e.g., when consolidated by a freight forwarder). + 1..n + Transport Execution Plan + Consignment + Consignment + Consignment + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportExecutionPlanRequest-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportExecutionPlanRequest-2.2.xsd new file mode 100644 index 0000000..13fdba2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportExecutionPlanRequest-2.2.xsd @@ -0,0 +1,697 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Execution Plan Request. Details + A document sent by a transport user to request a transport service from a transport service provider. + Transport Execution Plan Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Execution Plan Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Execution Plan Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Execution Plan Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Execution Plan Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Execution Plan Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Execution Plan Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Version. Identifier + An identifier for the current version of the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Version + Identifier + Identifier. Type + 1.1 + + + + + + + + + BBIE + Transport Execution Plan Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Execution Plan Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Execution Plan Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Execution Plan Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transport Execution Plan Request + Issue Date + Date + Date. Type + Transport Document Date + + + + + + + + + BBIE + Transport Execution Plan Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transport Execution Plan Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Document Status Code. Code + A code signifying the status of the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Document Status Code + Code + Document Status + Document Status_ Code. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Document Status Reason Code. Code + A code signifying a reason associated with the status of the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Document Status Reason Code + Code + Code. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Document Status Reason Description. Text + A reason associated with the status of the Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Document Status Reason Description + Text + Text. Type + 123 Standard Chartered Tower + + + + + + + + + BBIE + Transport Execution Plan Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Execution Plan Request + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Execution Plan Request. Transport User_ Remarks. Text + Remarks from the transport user regarding the transport operations referenced in the Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Transport User + Remarks + Text + Text. Type + + + + + + + + + ASBIE + Transport Execution Plan Request. Sender_ Party. Party + The party sending the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Receiver_ Party. Party + The party receiving the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport User_ Party. Party + The party requesting the transport services referenced in the Transport Execution Plan Request. + 1 + Transport Execution Plan Request + Transport User + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Service Provider_ Party. Party + The party providing the transport services referenced in the Transport Execution Plan Request. + 1 + Transport Execution Plan Request + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Payee_ Party. Party + The party that will pay for the transport service(s) referred to in a Transport Execution Plan. + 0..1 + Transport Execution Plan Request + Payee + Party + Party + Party + + + + + + + + + ASBIE + Transport Execution Plan Request. Signature + A signature applied to this document. + 0..n + Transport Execution Plan Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Execution Plan_ Document Reference. Document Reference + A reference to an original Transport Execution Plan Document. + 0..1 + Transport Execution Plan Request + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Service Description_ Document Reference. Document Reference + A reference to the Transport Service Description, which is used by a transport service provider to announce transport services to transport users (buyers). + 0..1 + Transport Execution Plan Request + Transport Service Description + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan Request. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Transport Execution Plan Request + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport_ Contract. Contract + A potential contract related to the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Transport + Contract + Contract + Contract + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Service Provider Response Deadline_ Period. Period + A deadline for a response from the Transport Service Provider to this Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Transport Service Provider Response Deadline + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan Request. Main_ Transportation Service. Transportation Service + A description of the main transportation service referenced in the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Main + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan Request. Additional_ Transportation Service. Transportation Service + A description of an additional transportation service referenced in the Transport Execution Plan Request. + 0..n + Transport Execution Plan Request + Additional + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + ASBIE + Transport Execution Plan Request. Service Start Time_ Period. Period + The period within which the services referred to in the Transport Execution Plan Request must begin. + 0..1 + Transport Execution Plan Request + Service Start Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan Request. Service End Time_ Period. Period + The period during which the services referred to in the Transport Execution Plan Request must be completed. + 0..1 + Transport Execution Plan Request + Service End Time + Period + Period + Period + + + + + + + + + ASBIE + Transport Execution Plan Request. From_ Location. Location + The location of origin of the transport service referenced in the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + From + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan Request. To_ Location. Location + The destination location for the transport service referenced in the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + To + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan Request. At_ Location. Location + The location of a transport service (e.g., terminal handling service) that does not require transport movement. + 0..1 + Transport Execution Plan Request + At + Location + Location + Location + + + + + + + + + ASBIE + Transport Execution Plan Request. Transport Execution Terms + A description of terms and conditions related to the Transport Execution Plan Request. + 0..1 + Transport Execution Plan Request + Transport Execution Terms + Transport Execution Terms + Transport Execution Terms + + + + + + + + + ASBIE + Transport Execution Plan Request. Consignment + A description of an identifiable collection of goods items to be transported between the consignor and the consignee. This information may be defined within a transport contract. A consignment may comprise more than one shipment (e.g., when consolidated by a freight forwarder). + 1..n + Transport Execution Plan Request + Consignment + Consignment + Consignment + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportProgressStatus-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportProgressStatus-2.2.xsd new file mode 100644 index 0000000..41d8090 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportProgressStatus-2.2.xsd @@ -0,0 +1,397 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Progress Status. Details + A document sent from a Transportation Network Manager to a Transport Service Provider giving the status of the whereabouts and schedule of the transport means involved in a transport service. + Transport Progress Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Progress Status. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Progress Status + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Progress Status + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Progress Status + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Progress Status + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Progress Status + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Progress Status + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Progress Status. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Progress Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Transport Progress Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Progress Status. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Transport Progress Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Progress Status. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Progress Status + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Progress Status. Status Available_ Indicator. Indicator + Indicates whether transport progress information is available. + 0..1 + Transport Progress Status + Status Available + Indicator + Indicator + Indicator. Type + + + + + + + + + ASBIE + Transport Progress Status. Signature + A signature applied to this document. + 0..n + Transport Progress Status + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Progress Status. Sender_ Party. Party + The party sending the Transport Progress Status. + 0..1 + Transport Progress Status + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status. Receiver_ Party. Party + The party receiving the Transport Progress Status. + 0..1 + Transport Progress Status + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status. Source Issuer_ Party. Party + The party that is the source of the Transport Progress Status. + 0..1 + Transport Progress Status + Source Issuer + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status. Transport Progress Status Request_ Document Reference. Document Reference + A reference to the Transport Progress Status Request document to which this status report is a response. + 0..1 + Transport Progress Status + Transport Progress Status Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Progress Status. Transport Means + The transport means by which the current transport service is effectuated. + 1 + Transport Progress Status + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Progress Status. Transport Schedule + Describes the status and schedule of the transport means operating the transport service as well as the current location of the transport means. + 0..n + Transport Progress Status + Transport Schedule + Transport Schedule + Transport Schedule + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportProgressStatusRequest-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportProgressStatusRequest-2.2.xsd new file mode 100644 index 0000000..73cbc17 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportProgressStatusRequest-2.2.xsd @@ -0,0 +1,346 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Progress Status Request. Details + A document sent from a transport service provider to a transportation network manager requesting a Transport Progress Status. + Transport Progress Status Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Progress Status Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Progress Status Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Progress Status Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Progress Status Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Progress Status Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Progress Status Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Progress Status Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Progress Status Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Progress Status Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Progress Status Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Transport Progress Status Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Progress Status Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Transport Progress Status Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Progress Status Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Progress Status Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Transport Progress Status Request. Signature + A signature applied to this document. + 0..n + Transport Progress Status Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Progress Status Request. Sender_ Party. Party + The party sending the Transport Progress Status Request. + 0..1 + Transport Progress Status Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status Request. Receiver_ Party. Party + The party receiving the Transport Progress Status Request. + 0..1 + Transport Progress Status Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Progress Status Request. Transport Means + The transport means by which the current transport service is effectuated and for which status is requested. + 1 + Transport Progress Status Request + Transport Means + Transport Means + Transport Means + + + + + + + + + ASBIE + Transport Progress Status Request. Status_ Location. Location + A location for which status is requested. + 0..n + Transport Progress Status Request + Status + Location + Location + Location + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportServiceDescription-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportServiceDescription-2.2.xsd new file mode 100644 index 0000000..73e9914 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportServiceDescription-2.2.xsd @@ -0,0 +1,431 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Service Description. Details + A document sent by a transport service provider to announce the availability of a transport service. + Transport Service Description + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Service Description. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Service Description + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Service Description + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Service Description + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Service Description + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Service Description + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Service Description + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Service Description. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Service Description + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transport Service Description + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Service Description. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transport Service Description + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Service Description. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Service Description + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Service Description. Service Name. Name + A name, assigned by the Transport Service Provider, for the service being announced. + 0..1 + Transport Service Description + Service Name + Name + Name. Type + + + + + + + + + BBIE + Transport Service Description. Response Code. Code + A code signifying a response related to the Transport Service Description. + 0..1 + Transport Service Description + Response Code + Code + Code. Type + + + + + + + + + ASBIE + Transport Service Description. Signature + A signature applied to this document. + 0..n + Transport Service Description + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Service Description. Sender_ Party. Party + The party sending the Transport Service Description. + 0..1 + Transport Service Description + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description. Receiver_ Party. Party + The party receiving the Transport Service Description. + 0..1 + Transport Service Description + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description. Transport Service Description Request_ Document Reference. Document Reference + A Transport Service Description Request to which this Transport Service Description is a response. + 0..1 + Transport Service Description + Transport Service Description Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transport Service Description. Transport Service Provider_ Party. Party + The transport service provider. + 0..1 + Transport Service Description + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description. Service Charge_ Payment Terms. Payment Terms + The terms of payment under which the transport service would be provided. + 0..1 + Transport Service Description + Service Charge + Payment Terms + Payment Terms + Payment Terms + + + + + + + + + ASBIE + Transport Service Description. Validity_ Period. Period + A period during which this Transport Service Description is valid. + 0..1 + Transport Service Description + Validity + Period + Period + Period + + + + + + + + + ASBIE + Transport Service Description. Transportation Service + A transportation service announced in this Transport Service Description. + 0..n + Transport Service Description + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportServiceDescriptionRequest-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportServiceDescriptionRequest-2.2.xsd new file mode 100644 index 0000000..ea0e7e1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportServiceDescriptionRequest-2.2.xsd @@ -0,0 +1,364 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transport Service Description Request. Details + A document requesting a Transport Service Description, sent from a party with a transport demand (transport user) to a party providing transport services (transport service provider). + Transport Service Description Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transport Service Description Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transport Service Description Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transport Service Description Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transport Service Description Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transport Service Description Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transport Service Description Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Transport Service Description Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Transport Service Description Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transport Service Description Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transport Service Description Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Transport Service Description Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transport Service Description Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 1 + Transport Service Description Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transport Service Description Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transport Service Description Request + Note + Text + Text. Type + + + + + + + + + BBIE + Transport Service Description Request. Service Information Preference Code. Code + A code signifying the category of service information requested to be provided in the Transport Service Description. + 0..1 + Transport Service Description Request + Service Information Preference Code + Code + Code. Type + + + + + + + + + ASBIE + Transport Service Description Request. Signature + A signature applied to this document. + 0..n + Transport Service Description Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transport Service Description Request. Sender_ Party. Party + The party sending the Transport Service Description Request. + 0..1 + Transport Service Description Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description Request. Receiver_ Party. Party + The party receiving the Transport Service Description Request. + 0..1 + Transport Service Description Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description Request. Transport Service Provider_ Party. Party + The transport service provider. + 0..1 + Transport Service Description Request + Transport Service Provider + Party + Party + Party + + + + + + + + + ASBIE + Transport Service Description Request. Transportation Service + A transportation service about which information is requested. + 1..n + Transport Service Description Request + Transportation Service + Transportation Service + Transportation Service + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportationStatus-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportationStatus-2.2.xsd new file mode 100644 index 0000000..cfa7cff --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportationStatus-2.2.xsd @@ -0,0 +1,567 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transportation Status. Details + A document to circulate reports of transportation status or changes in status (events) among a group of participants. + Transportation Status + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transportation Status. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transportation Status + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Transportation Status. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transportation Status + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Transportation Status. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transportation Status + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Transportation Status. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transportation Status + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Transportation Status. Identifier + An identifier for this document, assigned by the sender. + 1 + Transportation Status + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Carrier Assigned_ Identifier. Identifier + A reference number assigned by a carrier or its agent to identify a specific shipment, such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Transportation Status + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transportation Status + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transportation Status + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transportation Status. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transportation Status + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transportation Status. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Transportation Status + Name + Name + Name. Type + + + + + + + + + BBIE + Transportation Status. Description. Text + A textual description of transportation status. + 0..n + Transportation Status + Description + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transportation Status + Note + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Shipping Order Identifier. Identifier + A reference number for a shipping order. + 0..1 + Transportation Status + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status. Other_ Instruction. Text + An instruction regarding this message. + 0..1 + Transportation Status + Other + Instruction + Text + Text. Type + + + + + + + + + BBIE + Transportation Status. Transportation Status Type Code. Code + A code signifying the type of status provided in a Transportation Status document. + 0..1 + Transportation Status + Transportation Status Type Code + Code + Code. Type + + + + + + + + + BBIE + Transportation Status. Transport Execution Status Code. Code + A code signifying the overall status of transport service execution. + 0..1 + Transportation Status + Transport Execution Status Code + Code + Code. Type + + + + + + + + + ASBIE + Transportation Status. Consignment + A consignment associated with this Transportation Status report. + 0..n + Transportation Status + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Transportation Status. Transport Event + An event associated with this Transportation Status report. + 0..n + Transportation Status + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Status. Document Reference + A reference to another document associated with this document. + 0..n + Transportation Status + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status. Signature + A signature applied to this document. + 0..n + Transportation Status + Signature + Signature + Signature + + + + + + + + + ASBIE + Transportation Status. Sender_ Party. Party + The party sending this Transportation Status report. + 0..1 + Transportation Status + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status. Receiver_ Party. Party + The party receiving this Transportation Status report. + 0..1 + Transportation Status + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status. Transportation Status Request_ Document Reference. Document Reference + A reference to the Transportation Status Request to which this report is a response. + 0..1 + Transportation Status + Transportation Status Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status. Transport Execution Plan_ Document Reference. Document Reference + A reference to the Transport Execution Plan associated with the transport service whose status is being reported. + 0..1 + Transportation Status + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status. Updated Pickup_ Transport Event. Transport Event + Update of the original plan regarding a pickup of goods. + 0..1 + Transportation Status + Updated Pickup + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Status. Updated Delivery_ Transport Event. Transport Event + Update of the original plan regarding a delivery. + 0..1 + Transportation Status + Updated Delivery + Transport Event + Transport Event + Transport Event + + + + + + + + + ASBIE + Transportation Status. Status_ Location. Location + Locations associated with this Transportation Status report. + 0..n + Transportation Status + Status + Location + Location + Location + + + + + + + + + ASBIE + Transportation Status. Status_ Period. Period + A period for which status is provided. + 0..n + Transportation Status + Status + Period + Period + Period + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportationStatusRequest-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportationStatusRequest-2.2.xsd new file mode 100644 index 0000000..f051cec --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-TransportationStatusRequest-2.2.xsd @@ -0,0 +1,485 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Transportation Status Request. Details + A document requesting a Transportation Status report. + Transportation Status Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Transportation Status Request. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Transportation Status Request + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Transportation Status Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Transportation Status Request + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Transportation Status Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Transportation Status Request + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Transportation Status Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Transportation Status Request + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Transportation Status Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Transportation Status Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. Carrier Assigned_ Identifier. Identifier + A reference number assigned by a carrier or its agent to identify a specific shipment, such as a booking reference number when cargo space is reserved prior to loading. + 0..1 + Transportation Status Request + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Transportation Status Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Transportation Status Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Transportation Status Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Transportation Status Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Transportation Status Request. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Transportation Status Request + Name + Name + Name. Type + + + + + + + + + BBIE + Transportation Status Request. Description. Text + A textual description of the document instance. + 0..n + Transportation Status Request + Description + Text + Text. Type + + + + + + + + + BBIE + Transportation Status Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Transportation Status Request + Note + Text + Text. Type + + + + + + + + + BBIE + Transportation Status Request. Shipping Order Identifier. Identifier + A reference number for a shipping order. + 0..1 + Transportation Status Request + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Transportation Status Request. Other_ Instruction. Text + An instruction regarding this message. + 0..1 + Transportation Status Request + Other + Instruction + Text + Text. Type + + + + + + + + + BBIE + Transportation Status Request. Transportation Status Type Code. Code + A code signifying the type of status requested in a Transportation Status document. + 0..1 + Transportation Status Request + Transportation Status Type Code + Code + Code. Type + + + + + + + + + ASBIE + Transportation Status Request. Sender_ Party. Party + The party sending this document. + 0..1 + Transportation Status Request + Sender + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status Request. Receiver_ Party. Party + The party receiving this document. + 0..1 + Transportation Status Request + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Transportation Status Request. Transport Execution Plan_ Document Reference. Document Reference + A reference to the Transport Execution Plan associated with the transport service for which status is requested. + 0..1 + Transportation Status Request + Transport Execution Plan + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status Request. Consignment + A consignment regarding which status is requested. + 0..n + Transportation Status Request + Consignment + Consignment + Consignment + + + + + + + + + ASBIE + Transportation Status Request. Document Reference + A reference to another document associated with this document. + 0..n + Transportation Status Request + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Transportation Status Request. Signature + A signature applied to this document. + 0..n + Transportation Status Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Transportation Status Request. Requested Status_ Location. Location + A location for which status is requested. + 0..n + Transportation Status Request + Requested Status + Location + Location + Location + + + + + + + + + ASBIE + Transportation Status Request. Requested Status_ Period. Period + A period for which status is requested. + 0..n + Transportation Status Request + Requested Status + Period + Period + Period + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnawardedNotification-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnawardedNotification-2.2.xsd new file mode 100644 index 0000000..c1bf68e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnawardedNotification-2.2.xsd @@ -0,0 +1,416 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Unawarded Notification. Details + A document communicating to a tenderer that the contract has been awarded to different tenderer. + Unawarded Notification + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Unawarded Notification. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Unawarded Notification + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Unawarded Notification. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Unawarded Notification + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Unawarded Notification. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Unawarded Notification + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Unawarded Notification. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Unawarded Notification + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Unawarded Notification. Identifier + An identifier for this document, assigned by the sender. + 0..1 + Unawarded Notification + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unawarded Notification. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Unawarded Notification + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Unawarded Notification. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Unawarded Notification + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Unawarded Notification. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 1 + Unawarded Notification + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unawarded Notification. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Unawarded Notification + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Unawarded Notification. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Unawarded Notification + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Unawarded Notification. Contract Name. Name + The name, expressed as text, of this procurement project. + 0..n + Unawarded Notification + Contract Name + Name + Name. Type + + + + + + + + + BBIE + Unawarded Notification. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Unawarded Notification + Note + Text + Text. Type + + + + + + + + + ASBIE + Unawarded Notification. Signature + A signature applied to this document. + 0..n + Unawarded Notification + Signature + Signature + Signature + + + + + + + + + ASBIE + Unawarded Notification. Sender_ Party. Party + The party sending this document. + 1 + Unawarded Notification + Sender + Party + Party + Party + + + + + + + + + ASBIE + Unawarded Notification. Receiver_ Party. Party + The party receiving this document. + 1 + Unawarded Notification + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Unawarded Notification. Minutes_ Document Reference. Document Reference + A reference to a set of minutes associated with this award. + 0..1 + Unawarded Notification + Minutes + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Unawarded Notification. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. It can be used to include annex documents such as the minutes of the awarding process meetings. + 0..n + Unawarded Notification + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Unawarded Notification. Tender Result + An association to the Tender Result being notified + 1..n + Unawarded Notification + Tender Result + Tender Result + Tender Result + + + + + + + + + ASBIE + Unawarded Notification. Appeal Terms + Terms of appeal for this tendering process. + 0..1 + Unawarded Notification + Appeal Terms + Appeal Terms + Appeal Terms + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnsubscribeFromProcedureRequest-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnsubscribeFromProcedureRequest-2.2.xsd new file mode 100644 index 0000000..cebf196 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnsubscribeFromProcedureRequest-2.2.xsd @@ -0,0 +1,361 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Unsubscribe From Procedure Request. Details + A request to unsubscribe from a tendering procedure. Economic Operators can subscribe to a tendering procedure using the Expression Of Interest. Upon subscription, the Economic Operator keeps receiving relevant documentation for the tendering process. The unsubscribe to procedure document allows the Economic Operator to be removed from the list of interested parties. + Unsubscribe From Procedure Request + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Unsubscribe From Procedure Request. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Unsubscribe From Procedure Request + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Unsubscribe From Procedure Request + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Unsubscribe From Procedure Request + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Unsubscribe From Procedure Request + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Identifier + An identifier for this document, assigned by the sender. + 1 + Unsubscribe From Procedure Request + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Unsubscribe From Procedure Request + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Unsubscribe From Procedure Request + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Unsubscribe From Procedure Request + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Unsubscribe From Procedure Request + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Unsubscribe From Procedure Request + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Request. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Unsubscribe From Procedure Request + Note + Text + Text. Type + + + + + + + + + ASBIE + Unsubscribe From Procedure Request. Signature + A signature applied to this document. + 0..n + Unsubscribe From Procedure Request + Signature + Signature + Signature + + + + + + + + + ASBIE + Unsubscribe From Procedure Request. Economic Operator Party + The Economic Operator issuing this unsubscribe request. + 1 + Unsubscribe From Procedure Request + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Unsubscribe From Procedure Request. Contracting Party + The Contracting Party. + 1 + Unsubscribe From Procedure Request + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Unsubscribe From Procedure Request. Procurement Project + An overall definition of this procurement project. + 0..1 + Unsubscribe From Procedure Request + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Unsubscribe From Procedure Request. Procurement Project Lot Reference + One of the procurement project lots into which this contract can be split. + 0..n + Unsubscribe From Procedure Request + Procurement Project Lot Reference + Procurement Project Lot Reference + Procurement Project Lot Reference + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnsubscribeFromProcedureResponse-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnsubscribeFromProcedureResponse-2.2.xsd new file mode 100644 index 0000000..faae09c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UnsubscribeFromProcedureResponse-2.2.xsd @@ -0,0 +1,380 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Unsubscribe From Procedure Response. Details + A document sent from a Contracting Party to the Economic Operator confirming that the latter has been unsubscribed from a tendering procedure. + Unsubscribe From Procedure Response + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Unsubscribe From Procedure Response. UBL Version Identifier. Identifier + The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Unsubscribe From Procedure Response + UBL Version Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Unsubscribe From Procedure Response + Customization Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Unsubscribe From Procedure Response + Profile Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Unsubscribe From Procedure Response + Profile Execution Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Identifier + An identifier for this document, assigned by the sender. + 1 + Unsubscribe From Procedure Response + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Unsubscribe From Procedure Response + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Unsubscribe From Procedure Response + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Contract Folder Identifier. Identifier + An identifier, assigned by the sender, for the process file (i.e., record) to which this document belongs. + 0..1 + Unsubscribe From Procedure Response + Contract Folder Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Unsubscribe From Procedure Response + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Unsubscribe From Procedure Response + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Unsubscribe From Procedure Response. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Unsubscribe From Procedure Response + Note + Text + Text. Type + + + + + + + + + ASBIE + Unsubscribe From Procedure Response. Unsubscribe To Procedure_ Document Reference. Document Reference + A reference to the unsubscribe to procedure document associated with this confirmation. + 0..1 + Unsubscribe From Procedure Response + Unsubscribe To Procedure + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Unsubscribe From Procedure Response. Signature + A signature applied to this document. + 0..n + Unsubscribe From Procedure Response + Signature + Signature + Signature + + + + + + + + + ASBIE + Unsubscribe From Procedure Response. Economic Operator Party + The Economic Operator receiving this unsubscribe to procedure confirmation. + 1 + Unsubscribe From Procedure Response + Economic Operator Party + Economic Operator Party + Economic Operator Party + + + + + + + + + ASBIE + Unsubscribe From Procedure Response. Contracting Party + The Contracting Party. + 1 + Unsubscribe From Procedure Response + Contracting Party + Contracting Party + Contracting Party + + + + + + + + + ASBIE + Unsubscribe From Procedure Response. Procurement Project + An overall definition of this procurement project. + 0..1 + Unsubscribe From Procedure Response + Procurement Project + Procurement Project + Procurement Project + + + + + + + + + ASBIE + Unsubscribe From Procedure Response. Procurement Project Lot Reference + One of the procurement project lots into which this contract can be split. + 0..n + Unsubscribe From Procedure Response + Procurement Project Lot Reference + Procurement Project Lot Reference + Procurement Project Lot Reference + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UtilityStatement-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UtilityStatement-2.2.xsd new file mode 100644 index 0000000..dd38610 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-UtilityStatement-2.2.xsd @@ -0,0 +1,491 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Utility Statement. Details + A supplement to an Invoice or Credit Note, containing information on the consumption of services provided by utility suppliers to private and public customers, including electricity, gas, water, and telephone services. + Utility Statement + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Utility Statement. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Utility Statement + UBL Version Identifier + Identifier + Identifier. Type + 2.0 + + + + + + + + + BBIE + Utility Statement. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Utility Statement + Customization Identifier + Identifier + Identifier. Type + OIOUBL-2.02 + + + + + + + + + BBIE + Utility Statement. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Utility Statement + Profile Identifier + Identifier + Identifier. Type + Reference-Utility-1.0 + + + + + + + + + BBIE + Utility Statement. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Utility Statement + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Utility Statement. Identifier + An identifier for this document, assigned by the sender. + 1 + Utility Statement + Identifier + Identifier + Identifier. Type + 61014906x-1 + + + + + + + + + BBIE + Utility Statement. Copy_ Indicator. Indicator + Indicates whether this document is a copy (true) or not (false). + 0..1 + Utility Statement + Copy + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Utility Statement. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Utility Statement + UUID + Identifier + Identifier. Type + 9756b4d0-8815-1029-857a-e388fe63f499 + + + + + + + + + BBIE + Utility Statement. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Utility Statement + Issue Date + Date + Date. Type + 2007-12-12 + + + + + + + + + BBIE + Utility Statement. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Utility Statement + Issue Time + Time + Time. Type + 12:32:56 + + + + + + + + + BBIE + Utility Statement. Utility Statement Type Code. Code + A code signifying the type of Utility Statement. + 1 + Utility Statement + Utility Statement Type Code + Code + Code. Type + Electricity + + + + + + + + + BBIE + Utility Statement. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Utility Statement + Note + Text + Text. Type + Concerning account remark + + + + + + + + + BBIE + Utility Statement. Document_ Currency Code. Code + A code signifying the default currency for this document. + 1 + Utility Statement + Document + Currency Code + Code + Currency + Currency_ Code. Type + + + + + + + + + BBIE + Utility Statement. Accounting Cost Code. Code + The buyer's accounting cost code, applied to the UtilityStatement. + 0..1 + Utility Statement + Accounting Cost Code + Code + Code. Type + 5050.0 + + + + + + + + + BBIE + Utility Statement. Accounting Cost. Text + The buyer's accounting cost code, applied to the UtilityStatement, expressed as text. + 0..1 + Utility Statement + Accounting Cost + Text + Text. Type + + + + + + + + + ASBIE + Utility Statement. Parent_ Document Reference. Document Reference + A reference to the parent Invoice or Credit Note. + 1 + Utility Statement + Parent + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Utility Statement. Additional_ Document Reference. Document Reference + A reference to an additional document associated with this document. + 0..n + Utility Statement + Additional + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Utility Statement. Signature + A signature applied to this document. + 0..n + Utility Statement + Signature + Signature + Signature + + + + + + + + + ASBIE + Utility Statement. Sender_ Party. Party + The party sending this document. + 1 + Utility Statement + Sender + Party + Party + Party + + + + + + + + + ASBIE + Utility Statement. Receiver_ Party. Party + The party receiving this document. + 1 + Utility Statement + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Utility Statement. Customer Party + The buyer, if different from the receiver of the document. + 0..1 + Utility Statement + Customer Party + Customer Party + Customer Party + + + + + + + + + ASBIE + Utility Statement. Subscriber_ Party. Party + The subscriber (user or receiver of the service), if different from the buyer and from the party receiving this document. + 0..1 + Utility Statement + Subscriber + Party + Party + Party + + + + + + + + + ASBIE + Utility Statement. Main_ On Account Payment. On Account Payment + A payment on an account. + 0..n + Utility Statement + Main + On Account Payment + On Account Payment + On Account Payment + + + + + + + + + ASBIE + Utility Statement. Subscriber Consumption + A utility statement for a particular consumption point. + 0..n + Utility Statement + Subscriber Consumption + Subscriber Consumption + Subscriber Consumption + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Waybill-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Waybill-2.2.xsd new file mode 100644 index 0000000..6888321 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-Waybill-2.2.xsd @@ -0,0 +1,502 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Waybill. Details + A transport document describing a shipment It is issued by the party who undertakes to provide transportation services, or undertakes to arrange for their provision, to the party who gives instructions for the transportation services (shipper, consignor, etc.). It states the instructions for the beneficiary and may contain the details of the transportation, charges, and terms and conditions under which the transportation service is provided. + Waybill + Consignment Note + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Waybill. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Waybill + UBL Version Identifier + Identifier + Identifier. Type + 2.0.5 + + + + + + + + + BBIE + Waybill. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Waybill + Customization Identifier + Identifier + Identifier. Type + NES + + + + + + + + + BBIE + Waybill. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Waybill + Profile Identifier + Identifier + Identifier. Type + BasicProcurementProcess + + + + + + + + + BBIE + Waybill. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Waybill + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Waybill. Identifier + An identifier for this document, assigned by the sender. + 1 + Waybill + Identifier + Identifier + Identifier. Type + Master Waybill Number + + + + + + + + + BBIE + Waybill. Carrier Assigned_ Identifier. Identifier + An identifier (in the form of a reference number) assigned by a carrier or its agent to identify a specific shipment. + 0..1 + Waybill + Carrier Assigned + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Waybill + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 0..1 + Waybill + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Waybill. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Waybill + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Waybill. Name + Text, assigned by the sender, that identifies this document to business users. + 0..1 + Waybill + Name + Name + Name. Type + Air Waybill , House Waybill + + + + + + + + + BBIE + Waybill. Description. Text + Text describing the contents of the Waybill. + 0..n + Waybill + Description + Text + Text. Type + + + + + + + + + BBIE + Waybill. Note. Text + Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures. + 0..n + Waybill + Note + Text + Text. Type + + + + + + + + + BBIE + Waybill. Shipping Order Identifier. Identifier + An identifier (in the form of a reference number) of the Shipping Order or Forwarding Instruction associated with this shipment. + 0..1 + Waybill + Shipping Order Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Waybill. Ad Valorem_ Indicator. Indicator + A term used in commerce in reference to certain duties, called ad valorem duties, which are levied on commodities at certain rates per centum on their value. + 0..1 + Waybill + Ad Valorem + Indicator + Indicator + Indicator. Type + + + + + + + + + BBIE + Waybill. Declared Carriage_ Value. Amount + Value declared by the shipper or his agent solely for the purpose of varying the carrier's level of liability from that provided in the contract of carriage in case of loss or damage to goods or delayed delivery. + 0..1 + Waybill + Declared Carriage + Value + Amount + Amount. Type + + + + + + + + + BBIE + Waybill. Other_ Instruction. Text + Other free-text instructions related to the shipment to the forwarders or carriers. This should only be used where such information cannot be represented in other structured information entities within the document. + 0..n + Waybill + Other + Instruction + Text + Text. Type + + + + + + + + + ASBIE + Waybill. Consignor_ Party. Party + The party consigning goods, as stipulated in the transport contract by the party ordering transport. + 0..1 + Waybill + Consignor + Party + Party + Party + Consignor (WCO ID 71 and 72) + + + + + + + + + ASBIE + Waybill. Carrier_ Party. Party + The party providing the transport of goods between named points. + 0..1 + Waybill + Carrier + Party + Party + Party + Transport Company, Shipping Line, NVOCC, Airline, Haulier, Courier, Carrier (WCO ID 49 and 50) + + + + + + + + + ASBIE + Waybill. Freight Forwarder_ Party. Party + A party combining individual smaller consignments into a single larger shipment (a so-called consolidated consignment or shipment) that is sent to a counterpart who mirrors the consolidator's activity by dividing the consolidated consignment into its original components. + 0..1 + Waybill + Freight Forwarder + Party + Party + Party + Consolidator (WCO ID 192 AND 193) + + + + + + + + + ASBIE + Waybill. Shipment + A description of the shipment. + 1 + Waybill + Shipment + Shipment + Shipment + + + + + + + + + ASBIE + Waybill. Document Reference + A reference to another document associated with this document. + 0..n + Waybill + Document Reference + Document Reference + Document Reference + + + + + + + + + ASBIE + Waybill. Exchange Rate + Information about the rate of exchange (conversion) between two currencies. + 0..n + Waybill + Exchange Rate + Exchange Rate + Exchange Rate + + + + + + + + + ASBIE + Waybill. Document Distribution + A list of interested parties to whom this document is distributed. + 0..n + Waybill + Document Distribution + Document Distribution + Document Distribution + + + + + + + + + ASBIE + Waybill. Signature + A signature applied to this document. + 0..n + Waybill + Signature + Signature + Signature + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-WeightStatement-2.2.xsd b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-WeightStatement-2.2.xsd new file mode 100644 index 0000000..41bea90 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/data/xsd-2.2/maindoc/UBL-WeightStatement-2.2.xsd @@ -0,0 +1,368 @@ + + + + + + + + + + + This element MUST be conveyed as the root element in any instance document based on this Schema expression + + + + + + + + + ABIE + Weight Statement. Details + A document used to report weight or verified mass measurements in the transport chain. + Weight Statement + Weight Declaration, Weight Certificate + + + + + + + A container for all extensions present in the document. + + + + + + + BBIE + Weight Statement. UBL Version Identifier. Identifier + Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance. + 0..1 + Weight Statement + UBL Version Identifier + Identifier + Identifier. Type + 2.2 + + + + + + + + + BBIE + Weight Statement. Customization Identifier. Identifier + Identifies a user-defined customization of UBL for a specific use. + 0..1 + Weight Statement + Customization Identifier + Identifier + Identifier. Type + SMDG + + + + + + + + + BBIE + Weight Statement. Profile Identifier. Identifier + Identifies a user-defined profile of the customization of UBL being used. + 0..1 + Weight Statement + Profile Identifier + Identifier + Identifier. Type + SOLAS + + + + + + + + + BBIE + Weight Statement. Profile Execution Identifier. Identifier + Identifies an instance of executing a profile, to associate all transactions in a collaboration. + 0..1 + Weight Statement + Profile Execution Identifier + Identifier + Identifier. Type + BPP-1001 + + + + + + + + + BBIE + Weight Statement. Identifier + An identifier for this document, assigned by the sender. + 1 + Weight Statement + Identifier + Identifier + Identifier. Type + + + + + + + + + BBIE + Weight Statement. UUID. Identifier + A universally unique identifier for an instance of this document. + 0..1 + Weight Statement + UUID + Identifier + Identifier. Type + + + + + + + + + BBIE + Weight Statement. Issue Date. Date + The date, assigned by the sender, on which this document was issued. + 1 + Weight Statement + Issue Date + Date + Date. Type + + + + + + + + + BBIE + Weight Statement. Issue Time. Time + The time, assigned by the sender, at which this document was issued. + 0..1 + Weight Statement + Issue Time + Time + Time. Type + + + + + + + + + BBIE + Weight Statement. Weight Statement Type Code. Code + A code signifying the type of Weight Statement. + 0..1 + Weight Statement + Weight Statement Type Code + Code + Code. Type + VGM, WeightCertificate + + + + + + + + + ASBIE + Weight Statement. Signature + A signature applied to this document. + 0..n + Weight Statement + Signature + Signature + Signature + + + + + + + + + ASBIE + Weight Statement. Sender_ Party. Party + The party sending this weight statement (e.g. Weighing Station, Shipper, Freight Forwarder, Carrier, ...). + 1 + Weight Statement + Sender + Party + Party + Party + + + + + + + + + ASBIE + Weight Statement. Receiver_ Party. Party + The party receiving this weight statement (e.g. Carrier, Terminal Operator, ...). + 1 + Weight Statement + Receiver + Party + Party + Party + + + + + + + + + ASBIE + Weight Statement. Weighing_ Party. Party + The party executing the weight measure (e.g. Weighing Station). + 0..1 + Weight Statement + Weighing + Party + Party + Party + + + + + + + + + ASBIE + Weight Statement. Shipper_ Party. Party + The party playing the role of the Shipper (BCO, FF or NVOCC) who is responsible for the VGM (e.g. according the SOLAS Convention). + 0..1 + Weight Statement + Shipper + Party + Party + Party + + + + + + + + + ASBIE + Weight Statement. Responsible_ Party. Party + The party responsible for signing the VGM on behalf of the Shipper. + 0..1 + Weight Statement + Responsible + Party + Party + Party + + + + + + + + + ASBIE + Weight Statement. Shipment + The relevant shipment information with details on the transport equipment weight or mass measurements, including verified gross mass (VGM) information. + 1 + Weight Statement + Shipment + Shipment + Shipment + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/base_ubl.pot b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/base_ubl.pot new file mode 100644 index 0000000..a14dbe2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/base_ubl.pot @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_ubl +#: model:ir.model,name:base_ubl.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%(tax_name)s'" +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%(tax_name)s'" +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE code on unit of measure '%s'" +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file does not contain the version for validating the content " +"according to the schema." +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file is not valid against the official XML Schema Definition. " +"The XML file and the full error have been written in the server logs. Here " +"is the error, which may give you an idea on the cause of the problem : " +"%(error)s." +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/bs.po b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/bs.po new file mode 100644 index 0000000..946822a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/bs.po @@ -0,0 +1,60 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_ubl +#: model:ir.model,name:base_ubl.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Uobičajene metode za generiranje i parsiranje UBL XML datoteka" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%(tax_name)s'" +msgstr "Nedostaje UNECE kategorija poreza na '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%(tax_name)s'" +msgstr "Nedostaje UNECE tip poreza na '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE code on unit of measure '%s'" +msgstr "Nedostaje UNECE šifra jedinice mjere za '%s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file does not contain the version for validating the content " +"according to the schema." +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file is not valid against the official XML Schema Definition. " +"The XML file and the full error have been written in the server logs. Here " +"is the error, which may give you an idea on the cause of the problem : " +"%(error)s." +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/es.po b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/es.po new file mode 100644 index 0000000..2e25393 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/es.po @@ -0,0 +1,70 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-08-07 11:09+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_ubl +#: model:ir.model,name:base_ubl.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Métodos habituales para generar y analizar archivos XML UBL" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%(tax_name)s'" +msgstr "" +"Falta la categoría fiscal de la UNECE (CEPE) en el impuesto '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%(tax_name)s'" +msgstr "Falta el tipo de impuesto UNECE en el impuesto '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE code on unit of measure '%s'" +msgstr "Falta el código UNECE en la unidad de medida '%s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file does not contain the version for validating the content " +"according to the schema." +msgstr "" +"El archivo UBL XML no contiene la versión para validar el contenido según el " +"esquema." + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file is not valid against the official XML Schema Definition. " +"The XML file and the full error have been written in the server logs. Here " +"is the error, which may give you an idea on the cause of the problem : " +"%(error)s." +msgstr "" +"El archivo UBL XML no es válido frente a la definición de esquema XML " +"oficial. El archivo XML y el error completo se han escrito en los registros " +"del servidor. Aquí está el error, que puede darle una idea de la causa del " +"problema: %(error)s." diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/fr.po b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/fr.po new file mode 100644 index 0000000..3ba71e6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/fr.po @@ -0,0 +1,101 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-12 13:37+0000\n" +"PO-Revision-Date: 2024-04-22 12:35+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_ubl +#: model:ir.model,name:base_ubl.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Méthodes courantes pour générer et analyser les fichiers UBL XML" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%(tax_name)s'" +msgstr "Catégorie de taxe UNECE manquante '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%(tax_name)s'" +msgstr "Type de taxe UNECE manquante sur la taxe '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE code on unit of measure '%s'" +msgstr "Code UNECE manquant pour l'unité de mesure '%s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file does not contain the version for validating the content " +"according to the schema." +msgstr "" +"Le fichier XML UBL ne contient pas la version permettant de valider le " +"contenu selon le schéma." + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file is not valid against the official XML Schema Definition. " +"The XML file and the full error have been written in the server logs. Here " +"is the error, which may give you an idea on the cause of the problem : " +"%(error)s." +msgstr "" +"Le fichier XML UBL est invalid par rapport à son schéma de définition " +"officiel. Le fichier XML ainsi que l'erreur complète se trouvent dans les " +"logs serveur. Voici l'erreur qui peut donner une idée de la cause du " +"problème : %(error)s." + +#~ msgid "Display Name" +#~ msgstr "Afficher Nom" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Dernière modification le" + +#, python-format +#~ msgid "Missing UNECE Tax Category on tax '%s'" +#~ msgstr "Catégorie de taxe UNECE manquante pour la taxe '%s'" + +#, python-format +#~ msgid "Missing UNECE Tax Type on tax '%s'" +#~ msgstr "Type de taxe UNECE manquant pour la taxe '%s'" + +#, python-format +#~ msgid "" +#~ "The UBL XML file is not valid against the official XML Schema Definition. " +#~ "The XML file and the full error have been written in the server logs. " +#~ "Here is the error, which may give you an idea on the cause of the " +#~ "problem : %s." +#~ msgstr "" +#~ "Le fichier XML UBL n'est pas valide par rapport à la définition " +#~ "officielle du schéma XML. Le fichier XML et l'erreur complète ont été " +#~ "écrits dans les journaux du serveur. Voici l'erreur, qui peut vous donner " +#~ "une idée de la cause du problème : %s." diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/hr.po b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/hr.po new file mode 100644 index 0000000..54715f1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/hr.po @@ -0,0 +1,93 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-06-02 12:09+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_ubl +#: model:ir.model,name:base_ubl.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Uobičajene metode za generiranje i parsiranje UBL XML datoteka" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%(tax_name)s'" +msgstr "Nedostaje UNECE kategorija poreza na '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%(tax_name)s'" +msgstr "Nedostaje UNECE tip poreza na '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE code on unit of measure '%s'" +msgstr "Nedostaje UNECE šifra jedinice mjere za '%s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file does not contain the version for validating the content " +"according to the schema." +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file is not valid against the official XML Schema Definition. " +"The XML file and the full error have been written in the server logs. Here " +"is the error, which may give you an idea on the cause of the problem : " +"%(error)s." +msgstr "" + +#~ msgid "Display Name" +#~ msgstr "Naziv" + +#, fuzzy +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Zadnja modifikacija" + +#, python-format +#~ msgid "Missing UNECE Tax Category on tax '%s'" +#~ msgstr "Nedostaje UNECE kategorija poreza na porezu '%s'" + +#, python-format +#~ msgid "Missing UNECE Tax Type on tax '%s'" +#~ msgstr "Nedostaje UNECE tip poreza na porezu '%s'" + +#, python-format +#~ msgid "" +#~ "The UBL XML file is not valid against the official XML Schema Definition. " +#~ "The XML file and the full error have been written in the server logs. " +#~ "Here is the error, which may give you an idea on the cause of the " +#~ "problem : %s." +#~ msgstr "" +#~ "UBL datoteka nije valjana prema službenoj XML schemi. XML datoteka i puni " +#~ "opis greške je zapisan u serverski log. Ovo je greška, možda imate ideju " +#~ "što nije u redu ili što je uzrok problemu: %s." diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/it.po b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/it.po new file mode 100644 index 0000000..112bfd5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/it.po @@ -0,0 +1,69 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_ubl +#: model:ir.model,name:base_ubl.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Metodi comuni per generare ed elaborare file UBL e XML" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%(tax_name)s'" +msgstr "Categoria imposta UNECE non presente nell'imposta %(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%(tax_name)s'" +msgstr "Categoria imposta UNECE non presente nell'imposta '%(tax_name)s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE code on unit of measure '%s'" +msgstr "Codice UNECE mancante nell'unità di misura '%s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file does not contain the version for validating the content " +"according to the schema." +msgstr "" +"Il file UBL XML non contiene la versione per validare il contenuto in " +"accordo allo schema." + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file is not valid against the official XML Schema Definition. " +"The XML file and the full error have been written in the server logs. Here " +"is the error, which may give you an idea on the cause of the problem : " +"%(error)s." +msgstr "" +"Il file XML generato non è valido per la definizione dello schema XML " +"ufficiale. Il file XML generato e l'errore completo sono stati scritti nel " +"log del server. Qui c'è l'errore, che potrebbe aiutare a capire la causa del " +"problema: %(error)s." diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/nl.po b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/nl.po new file mode 100644 index 0000000..07825ed --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/i18n/nl.po @@ -0,0 +1,96 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-12-13 02:36+0000\n" +"Last-Translator: Bosd \n" +"Language-Team: none\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: base_ubl +#: model:ir.model,name:base_ubl.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "" +"Gemeenschappelijke methode voor het genereren en verwerken van UBL XML " +"bestanden" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Category on tax '%(tax_name)s'" +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE Tax Type on tax '%(tax_name)s'" +msgstr "" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "Missing UNECE code on unit of measure '%s'" +msgstr "Ontbrekende UNECE code op maateenheid '%s'" + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file does not contain the version for validating the content " +"according to the schema." +msgstr "" +"Het UBL XML bestand bevat geen versie informatie volgens het overeenkomstig " +"schema." + +#. module: base_ubl +#. odoo-python +#: code:addons/base_ubl/models/ubl.py:0 +#, python-format +msgid "" +"The UBL XML file is not valid against the official XML Schema Definition. " +"The XML file and the full error have been written in the server logs. Here " +"is the error, which may give you an idea on the cause of the problem : " +"%(error)s." +msgstr "" + +#~ msgid "Display Name" +#~ msgstr "Weergave naam" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Laatst gewijzigd op" + +#, python-format +#~ msgid "Missing UNECE Tax Category on tax '%s'" +#~ msgstr "Ontbrekende UNECE belastings categorie '%s'" + +#, python-format +#~ msgid "Missing UNECE Tax Type on tax '%s'" +#~ msgstr "Ontbrekend UNECE belastingstype op belasting '%s'" + +#, python-format +#~ msgid "" +#~ "The UBL XML file is not valid against the official XML Schema Definition. " +#~ "The XML file and the full error have been written in the server logs. " +#~ "Here is the error, which may give you an idea on the cause of the " +#~ "problem : %s." +#~ msgstr "" +#~ "Het UBL XML bestand voldoet niet aan de officiele XML schma definitie. " +#~ "Het XML bestand en de volledige foutomschrijving zijn opgenomen in de " +#~ "errorlog van de server. De volgende foutmelding kan een hint zijn " +#~ "richting de oorzaak van het probleem: '%s'." diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/models/__init__.py b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/models/__init__.py new file mode 100644 index 0000000..7ec1c77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import ubl diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/models/ubl.py b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/models/ubl.py new file mode 100644 index 0000000..a1bc8db --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/models/ubl.py @@ -0,0 +1,832 @@ +# © 2016-2017 Akretion (Alexis de Lattre ) +# Copyright 2019 Onestein () +# Copyright 2020 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +import logging +from io import BytesIO + +from lxml import etree + +from odoo import _, api, models +from odoo.exceptions import UserError +from odoo.tools import file_open, float_is_zero, float_round + +logger = logging.getLogger(__name__) + + +class BaseUbl(models.AbstractModel): + _name = "base.ubl" + _description = "Common methods to generate and parse UBL XML files" + + # ==================== METHODS TO GENERATE UBL files + + @api.model + def _ubl_add_country(self, country, parent_node, ns, version="2.1"): + country_root = etree.SubElement(parent_node, ns["cac"] + "Country") + country_code = etree.SubElement(country_root, ns["cbc"] + "IdentificationCode") + country_code.text = country.code + country_name = etree.SubElement(country_root, ns["cbc"] + "Name") + country_name.text = country.name + + @api.model + def _ubl_add_address(self, partner, node_name, parent_node, ns, version="2.1"): + address = etree.SubElement(parent_node, ns["cac"] + node_name) + if partner.street or partner.street2: + streetname = etree.SubElement(address, ns["cbc"] + "StreetName") + streetname.text = partner.street or partner.street2 + if partner.street and partner.street2: + addstreetname = etree.SubElement( + address, ns["cbc"] + "AdditionalStreetName" + ) + addstreetname.text = partner.street2 + # if oca/partner-contact/partner_address_street3 is installed + if hasattr(partner, "street3") and partner.street3: + # In an address, the real street is usually put in the last field + if partner.street and partner.street2: + # The first field is usually the Department + department = etree.SubElement(address, ns["cbc"] + "Department") + department.text = partner.street + streetname.text = partner.street2 + addstreetname.text = partner.street3 + elif partner.street or partner.street2: + addstreetname = etree.SubElement( + address, ns["cbc"] + "AdditionalStreetName" + ) + addstreetname.text = partner.street3 + else: + streetname = etree.SubElement(address, ns["cbc"] + "StreetName") + streetname.text = partner.street3 + if partner.city: + city = etree.SubElement(address, ns["cbc"] + "CityName") + city.text = partner.city + if partner.zip: + zip_code = etree.SubElement(address, ns["cbc"] + "PostalZone") + zip_code.text = partner.zip + if partner.state_id: + state = etree.SubElement(address, ns["cbc"] + "CountrySubentity") + state.text = partner.state_id.name + state_code = etree.SubElement(address, ns["cbc"] + "CountrySubentityCode") + state_code.text = partner.state_id.code + if partner.country_id: + self._ubl_add_country(partner.country_id, address, ns, version=version) + else: + logger.warning("UBL: missing country on partner %s", partner.name) + + @api.model + def _ubl_get_contact_id(self, partner): + return False + + @api.model + def _ubl_add_contact( + self, partner, parent_node, ns, node_name="Contact", version="2.1" + ): + contact = etree.SubElement(parent_node, ns["cac"] + node_name) + contact_id_text = self._ubl_get_contact_id(partner) + if contact_id_text: + contact_id = etree.SubElement(contact, ns["cbc"] + "ID") + contact_id.text = contact_id_text + if partner.parent_id: + contact_name = etree.SubElement(contact, ns["cbc"] + "Name") + contact_name.text = partner.name or partner.parent_id.name + phone = partner.phone or partner.commercial_partner_id.phone + if phone: + telephone = etree.SubElement(contact, ns["cbc"] + "Telephone") + telephone.text = phone + email = partner.email or partner.commercial_partner_id.email + if email: + electronicmail = etree.SubElement(contact, ns["cbc"] + "ElectronicMail") + electronicmail.text = email + + @api.model + def _ubl_add_language(self, lang_code, parent_node, ns, version="2.1"): + langs = self.env["res.lang"].search([("code", "=", lang_code)]) + if not langs: + return + lang = langs[0] + lang_root = etree.SubElement(parent_node, ns["cac"] + "Language") + lang_name = etree.SubElement(lang_root, ns["cbc"] + "Name") + lang_name.text = lang.name + lang_code = etree.SubElement(lang_root, ns["cbc"] + "LocaleCode") + lang_code.text = lang.code + + @api.model + def _ubl_get_party_identification(self, commercial_partner): + """This method is designed to be inherited in localisation modules + Should return a dict with key=SchemeName, value=Identifier""" + return {} + + @api.model + def _ubl_add_party_identification( + self, commercial_partner, parent_node, ns, version="2.1" + ): + id_dict = self._ubl_get_party_identification(commercial_partner) + if id_dict: + party_identification = etree.SubElement( + parent_node, ns["cac"] + "PartyIdentification" + ) + for scheme_name, party_id_text in id_dict.items(): + party_identification_id = etree.SubElement( + party_identification, ns["cbc"] + "ID", schemeName=scheme_name + ) + party_identification_id.text = party_id_text + return + + @api.model + def _ubl_get_tax_scheme_dict_from_partner(self, commercial_partner): + tax_scheme_dict = {"id": "VAT", "name": False, "type_code": False} + return tax_scheme_dict + + @api.model + def _ubl_add_party_tax_scheme( + self, commercial_partner, parent_node, ns, version="2.1" + ): + if commercial_partner.vat: + party_tax_scheme = etree.SubElement( + parent_node, ns["cac"] + "PartyTaxScheme" + ) + registration_name = etree.SubElement( + party_tax_scheme, ns["cbc"] + "RegistrationName" + ) + registration_name.text = commercial_partner.name + company_id = etree.SubElement(party_tax_scheme, ns["cbc"] + "CompanyID") + company_id.text = commercial_partner.vat + tax_scheme_dict = self._ubl_get_tax_scheme_dict_from_partner( + commercial_partner + ) + self._ubl_add_tax_scheme( + tax_scheme_dict, party_tax_scheme, ns, version=version + ) + + @api.model + def _ubl_add_party_legal_entity( + self, commercial_partner, parent_node, ns, version="2.1" + ): + party_legal_entity = etree.SubElement( + parent_node, ns["cac"] + "PartyLegalEntity" + ) + registration_name = etree.SubElement( + party_legal_entity, ns["cbc"] + "RegistrationName" + ) + registration_name.text = commercial_partner.name + self._ubl_add_address( + commercial_partner, + "RegistrationAddress", + party_legal_entity, + ns, + version=version, + ) + + @api.model + def _ubl_add_party( + self, partner, company, node_name, parent_node, ns, version="2.1" + ): + commercial_partner = partner.commercial_partner_id + party = etree.SubElement(parent_node, ns["cac"] + node_name) + if commercial_partner.website: + website = etree.SubElement(party, ns["cbc"] + "WebsiteURI") + website.text = commercial_partner.website + self._ubl_add_party_identification( + commercial_partner, party, ns, version=version + ) + party_name = etree.SubElement(party, ns["cac"] + "PartyName") + name = etree.SubElement(party_name, ns["cbc"] + "Name") + name.text = commercial_partner.name + if partner.lang: + self._ubl_add_language(partner.lang, party, ns, version=version) + self._ubl_add_address(partner, "PostalAddress", party, ns, version=version) + self._ubl_add_party_tax_scheme(commercial_partner, party, ns, version=version) + if commercial_partner.is_company or company: + self._ubl_add_party_legal_entity( + commercial_partner, party, ns, version="2.1" + ) + self._ubl_add_contact(partner, party, ns, version=version) + + def _ubl_get_customer_assigned_id(self, partner): + return partner.commercial_partner_id.ref + + @api.model + def _ubl_add_customer_party( + self, partner, company, node_name, parent_node, ns, version="2.1" + ): + """Please read the docstring of the method _ubl_add_supplier_party""" + if company: + if partner: + assert ( + partner.commercial_partner_id == company.partner_id + ), "partner is wrong" + else: + partner = company.partner_id + customer_party_root = etree.SubElement(parent_node, ns["cac"] + node_name) + partner_ref = self._ubl_get_customer_assigned_id(partner) + if partner_ref: + customer_ref = etree.SubElement( + customer_party_root, ns["cbc"] + "SupplierAssignedAccountID" + ) + customer_ref.text = partner_ref + self._ubl_add_party( + partner, company, "Party", customer_party_root, ns, version=version + ) + # TODO: rewrite support for AccountingContact + add DeliveryContact + # Additional optional args + if partner and not company and partner.parent_id: + self._ubl_add_contact( + partner, + customer_party_root, + ns, + node_name="AccountingContact", + version=version, + ) + return customer_party_root + + @api.model + def _ubl_add_supplier_party( + self, partner, company, node_name, parent_node, ns, version="2.1" + ): + """The company argument has been added to properly handle the + 'ref' field. + In Odoo, we only have one ref field, in which we are supposed + to enter the reference that our company gives to its + customers/suppliers. We unfortunately don't have a native field to + enter the reference that our suppliers/customers give to us. + So, to set the fields CustomerAssignedAccountID and + SupplierAssignedAccountID, I need to know if the partner for + which we want to build the party block is our company or a + regular partner: + 1) if it is a regular partner, call the method that way: + self._ubl_add_supplier_party(partner, False, ...) + 2) if it is our company, call the method that way: + self._ubl_add_supplier_party(False, company, ...) + """ + if company: + if partner: + assert ( + partner.commercial_partner_id == company.partner_id + ), "partner is wrong" + else: + partner = company.partner_id + supplier_party_root = etree.SubElement(parent_node, ns["cac"] + node_name) + partner_ref = self._ubl_get_customer_assigned_id(partner) + if partner_ref: + supplier_ref = etree.SubElement( + supplier_party_root, ns["cbc"] + "CustomerAssignedAccountID" + ) + supplier_ref.text = partner_ref + self._ubl_add_party( + partner, company, "Party", supplier_party_root, ns, version=version + ) + return supplier_party_root + + @api.model + def _ubl_add_delivery(self, delivery_partner, parent_node, ns, version="2.1"): + delivery = etree.SubElement(parent_node, ns["cac"] + "Delivery") + delivery_location = etree.SubElement(delivery, ns["cac"] + "DeliveryLocation") + self._ubl_add_address( + delivery_partner, "Address", delivery_location, ns, version=version + ) + self._ubl_add_party( + delivery_partner, False, "DeliveryParty", delivery, ns, version=version + ) + + @api.model + def _ubl_add_delivery_terms(self, incoterm, parent_node, ns, version="2.1"): + delivery_term = etree.SubElement(parent_node, ns["cac"] + "DeliveryTerms") + delivery_term_id = etree.SubElement( + delivery_term, ns["cbc"] + "ID", schemeAgencyID="6", schemeID="INCOTERM" + ) + delivery_term_id.text = incoterm.code + + @api.model + def _ubl_add_payment_terms(self, payment_term, parent_node, ns, version="2.1"): + pay_term_root = etree.SubElement(parent_node, ns["cac"] + "PaymentTerms") + pay_term_note = etree.SubElement(pay_term_root, ns["cbc"] + "Note") + pay_term_note.text = payment_term.name + + @api.model + def _ubl_add_line_item( + self, + line_number, + name, + product, + type_, + quantity, + uom, + parent_node, + ns, + seller=False, + currency=False, + price_subtotal=False, + qty_precision=3, + price_precision=2, + taxes=None, + version="2.1", + ): + line_item = etree.SubElement(parent_node, ns["cac"] + "LineItem") + line_item_id = etree.SubElement(line_item, ns["cbc"] + "ID") + line_item_id.text = str(line_number) + if not uom.unece_code: + raise UserError(_("Missing UNECE code on unit of measure '%s'") % uom.name) + quantity_node = etree.SubElement( + line_item, ns["cbc"] + "Quantity", unitCode=uom.unece_code + ) + quantity_node.text = str(quantity) + if currency and price_subtotal: + line_amount = etree.SubElement( + line_item, ns["cbc"] + "LineExtensionAmount", currencyID=currency.name + ) + line_amount.text = str(price_subtotal) + price_unit = 0.0 + # Use price_subtotal/qty to compute price_unit to be sure + # to get a *tax_excluded* price unit + if not float_is_zero(quantity, precision_digits=qty_precision): + price_unit = float_round( + price_subtotal / float(quantity), precision_digits=price_precision + ) + price = etree.SubElement(line_item, ns["cac"] + "Price") + price_amount = etree.SubElement( + price, ns["cbc"] + "PriceAmount", currencyID=currency.name + ) + price_amount.text = str(price_unit) + base_qty = etree.SubElement( + price, ns["cbc"] + "BaseQuantity", unitCode=uom.unece_code + ) + base_qty.text = "1" # What else could it be ? + self._ubl_add_item( + name, + product, + line_item, + ns, + type_=type_, + seller=seller, + version=version, + taxes=taxes, + ) + + def _ubl_get_seller_code_from_product(self, product): + """Inherit and overwrite if another custom product code is required""" + return product.default_code + + def _ubl_get_customer_product_code(self, product, customer): + """Inherit and overwrite to return the customer product sku either from + product, invoice_line or customer (product.customer_sku, + invoice_line.customer_sku, customer.product_sku)""" + return "" + + @api.model + def _ubl_add_item( + self, + name, + product, + parent_node, + ns, + type_="purchase", + seller=False, + customer=False, + taxes=None, + version="2.1", + ): + """Beware that product may be False (in particular on invoices)""" + assert type_ in ("sale", "purchase"), "Wrong type param" + assert name, "name is a required arg" + item = etree.SubElement(parent_node, ns["cac"] + "Item") + product_name = False + seller_code = False + if product: + if type_ == "purchase": + if seller: + sellers = product._select_seller( + partner_id=seller, quantity=0.0, date=None, uom_id=False + ) + if sellers: + product_name = sellers[0].product_name + seller_code = sellers[0].product_code + if not seller_code: + seller_code = self._ubl_get_seller_code_from_product(product) + if not product_name: + variant = ", ".join(product.attribute_line_ids.mapped("value_ids.name")) + product_name = ( + variant and "{} ({})".format(product.name, variant) or product.name + ) + description = etree.SubElement(item, ns["cbc"] + "Description") + description.text = name + name_node = etree.SubElement(item, ns["cbc"] + "Name") + name_node.text = product_name or name.split("\n")[0] + + customer_code = self._ubl_get_customer_product_code(product, customer) + if customer_code: + buyer_identification = etree.SubElement( + item, ns["cac"] + "BuyersItemIdentification" + ) + buyer_identification_id = etree.SubElement( + buyer_identification, ns["cbc"] + "ID" + ) + buyer_identification_id.text = customer_code + if seller_code: + seller_identification = etree.SubElement( + item, ns["cac"] + "SellersItemIdentification" + ) + seller_identification_id = etree.SubElement( + seller_identification, ns["cbc"] + "ID" + ) + seller_identification_id.text = seller_code + if product: + if product.barcode: + std_identification = etree.SubElement( + item, ns["cac"] + "StandardItemIdentification" + ) + std_identification_id = etree.SubElement( + std_identification, + ns["cbc"] + "ID", + schemeAgencyID="6", + schemeID="0160", # GTIN = 0160 + ) + std_identification_id.text = product.barcode + # I'm not 100% sure, but it seems that ClassifiedTaxCategory + # contains the taxes of the product without taking into + # account the fiscal position + if type_ == "sale": + taxes = product.taxes_id.filtered( + lambda t: t.unece_type_id.code == "VAT" + ) + else: + taxes = product.supplier_taxes_id.filtered( + lambda t: t.unece_type_id.code == "VAT" + ) + skip_taxes = self.env.context.get("ubl_add_item__skip_taxes") + if taxes and not skip_taxes: + for tax in taxes: + self._ubl_add_tax_category( + tax, + item, + ns, + node_name="ClassifiedTaxCategory", + version=version, + ) + for attribute_value in product.attribute_line_ids.mapped("value_ids"): + item_property = etree.SubElement( + item, ns["cac"] + "AdditionalItemProperty" + ) + property_name = etree.SubElement(item_property, ns["cbc"] + "Name") + property_name.text = attribute_value.attribute_id.name + property_value = etree.SubElement(item_property, ns["cbc"] + "Value") + property_value.text = attribute_value.name + return item + + @api.model + def _ubl_add_tax_subtotal( + self, + taxable_amount, + tax_amount, + tax, + currency_code, + parent_node, + ns, + version="2.1", + ): + prec = self.env["decimal.precision"].precision_get("Account") + tax_subtotal = etree.SubElement(parent_node, ns["cac"] + "TaxSubtotal") + if not float_is_zero(taxable_amount, precision_digits=prec): + taxable_amount_node = etree.SubElement( + tax_subtotal, ns["cbc"] + "TaxableAmount", currencyID=currency_code + ) + taxable_amount_node.text = "%0.*f" % (prec, taxable_amount) + tax_amount_node = etree.SubElement( + tax_subtotal, ns["cbc"] + "TaxAmount", currencyID=currency_code + ) + tax_amount_node.text = "%0.*f" % (prec, tax_amount) + if tax.amount_type == "percent" and not float_is_zero( + tax.amount, precision_digits=prec + 3 + ): + percent = etree.SubElement(tax_subtotal, ns["cbc"] + "Percent") + percent.text = str(float_round(tax.amount, precision_digits=2)) + self._ubl_add_tax_category(tax, tax_subtotal, ns, version=version) + + @api.model + def _ubl_add_tax_category( + self, tax, parent_node, ns, node_name="TaxCategory", version="2.1" + ): + tax_category = etree.SubElement(parent_node, ns["cac"] + node_name) + if not tax.unece_categ_id: + raise UserError( + _( + "Missing UNECE Tax Category on tax '%(tax_name)s'", + tax_name=tax.name, + ) + ) + tax_category_id = etree.SubElement( + tax_category, ns["cbc"] + "ID", schemeID="UN/ECE 5305", schemeAgencyID="6" + ) + tax_category_id.text = tax.unece_categ_code + tax_name = etree.SubElement(tax_category, ns["cbc"] + "Name") + tax_name.text = tax.name + tax_percent = etree.SubElement(tax_category, ns["cbc"] + "Percent") + if tax.amount_type == "percent": + tax_percent.text = str(tax.amount) + else: + tax_percent.text = "0" + if tax.unece_categ_code == "E": + tax_exmption_reason = etree.SubElement( + tax_category, ns["cbc"] + "TaxExemptionReason" + ) + tax_exmption_reason.text = "Exempt" + tax_scheme_dict = self._ubl_get_tax_scheme_dict_from_tax(tax) + self._ubl_add_tax_scheme(tax_scheme_dict, tax_category, ns, version=version) + + @api.model + def _ubl_get_tax_scheme_dict_from_tax(self, tax): + if not tax.unece_type_id: + raise UserError( + _( + "Missing UNECE Tax Type on tax '%(tax_name)s'", + tax_name=tax.name, + ) + ) + # Peppol BIS Billing 3.0 supports only VAT taxes + tax_scheme_dict = { + "id": "VAT", # tax.unece_type_code, + "name": False, + "type_code": False, + } + return tax_scheme_dict + + @api.model + def _ubl_add_tax_scheme(self, tax_scheme_dict, parent_node, ns, version="2.1"): + tax_scheme = etree.SubElement(parent_node, ns["cac"] + "TaxScheme") + if tax_scheme_dict.get("id"): + tax_scheme_id = etree.SubElement( + tax_scheme, ns["cbc"] + "ID", schemeID="UN/ECE 5153", schemeAgencyID="6" + ) + tax_scheme_id.text = tax_scheme_dict["id"] + if tax_scheme_dict.get("name"): + tax_scheme_name = etree.SubElement(tax_scheme, ns["cbc"] + "Name") + tax_scheme_name.text = tax_scheme_dict["name"] + if tax_scheme_dict.get("type_code"): + tax_scheme_type_code = etree.SubElement( + tax_scheme, ns["cbc"] + "TaxTypeCode" + ) + tax_scheme_type_code.text = tax_scheme_dict["type_code"] + + @api.model + def _ubl_get_nsmap_namespace(self, doc_name, version="2.1"): + nsmap = { + None: "urn:oasis:names:specification:ubl:schema:xsd:" + doc_name, + "cac": "urn:oasis:names:specification:ubl:" + "schema:xsd:CommonAggregateComponents-2", + "cbc": "urn:oasis:names:specification:ubl:schema:xsd:" + "CommonBasicComponents-2", + } + ns = { + "cac": "{urn:oasis:names:specification:ubl:schema:xsd:" + "CommonAggregateComponents-2}", + "cbc": "{urn:oasis:names:specification:ubl:schema:xsd:" + "CommonBasicComponents-2}", + } + return nsmap, ns + + @api.model + def _ubl_get_version(self, xml_root, root_name, ns): + version_xpath = xml_root.xpath( + "/%s/cbc:UBLVersionID" % root_name, namespaces=ns + ) + if not version_xpath: + raise UserError( + _( + "The UBL XML file does not contain the version " + "for validating the content according to the schema." + ) + ) + return version_xpath[0].text.strip() + + @api.model + def _ubl_check_xml_schema(self, xml_string, document, version="2.1"): + """Validate the XML file against the XSD""" + xsd_file = "base_ubl/data/xsd-{}/maindoc/UBL-{}-{}.xsd".format( + version, document, version + ) + xsd_etree_obj = etree.parse(file_open(xsd_file)) + official_schema = etree.XMLSchema(xsd_etree_obj) + try: + t = etree.parse(BytesIO(xml_string)) + official_schema.assertValid(t) + except Exception as e: + # if the validation of the XSD fails, we arrive here + logger = logging.getLogger(__name__) + logger.warning("The XML file is invalid against the XML Schema Definition") + logger.warning(xml_string) + logger.warning(e) + raise UserError( + _( + "The UBL XML file is not valid against the official " + "XML Schema Definition. The XML file and the " + "full error have been written in the server logs. " + "Here is the error, which may give you an idea on the " + "cause of the problem : %(error)s.", + error=str(e), + ) + ) from e + return True + + @api.model + def _ubl_add_xml_in_pdf_buffer(self, xml_string, xml_filename, buffer): + logger.warning( + "`_ubl_add_xml_in_pdf_buffer` deprecated: use `pdf.helper.pdf_embed_xml`" + ) + pdf_content = buffer.getvalue() + new_content = self.env["pdf.helper"].pdf_embed_xml( + pdf_content, xml_filename, xml_string + ) + new_buffer = BytesIO(new_content) + return new_buffer + + @api.model + def _embed_ubl_xml_in_pdf_content(self, xml_string, xml_filename, pdf_content): + """Add the attachments to the PDF content. + Use the pdf_content argument, which has the binary of the PDF + -> it will return the new PDF binary with the embedded XML + (used for qweb-pdf reports) + """ + logger.warning( + "`_embed_ubl_xml_in_pdf_content` deprecated: use `pdf.helper.pdf_embed_xml`" + ) + self.ensure_one() + logger.debug("Starting to embed %s in PDF", xml_filename) + pdf_content = self.env["pdf.helper"].pdf_embed_xml( + pdf_content, xml_filename, xml_string + ) + logger.info("%s file added to PDF content", xml_filename) + return pdf_content + + # TODO: move to pdf_helper + @api.model + def embed_xml_in_pdf( + self, xml_string, xml_filename, pdf_content=None, pdf_file=None + ): + """ + 2 possible uses: + a) use the pdf_content argument, which has the binary of the PDF + -> it will return the new PDF binary with the embedded XML + (used for qweb-pdf reports) + b) OR use the pdf_file argument, which has the full path to the + original PDF file + -> it will re-write this file with the new PDF + (used for py3o reports, *_ubl_py3o modules in this repo) + """ + assert pdf_content or pdf_file, "Missing pdf_file or pdf_content" + if pdf_file: + with open(pdf_file, "rb") as f: + pdf_content = f.read() + updated_pdf_content = self.env["pdf.helper"].pdf_embed_xml( + pdf_content, xml_filename, xml_string + ) + if pdf_file: + with open(pdf_file, "wb") as f: + f.write(updated_pdf_content) + return updated_pdf_content + + # ==================== METHODS TO PARSE UBL files + + @api.model + def ubl_parse_customer_party(self, party_node, ns): + ref_xpath = party_node.xpath("cbc:SupplierAssignedAccountID", namespaces=ns) + party_node = party_node.xpath("cac:Party", namespaces=ns)[0] + partner_dict = self.ubl_parse_party(party_node, ns) + partner_dict["ref"] = ref_xpath and ref_xpath[0].text or False + return partner_dict + + @api.model + def ubl_parse_supplier_party(self, party_node, ns): + ref_xpath = party_node.xpath("cbc:CustomerAssignedAccountID", namespaces=ns) + party_node = party_node.xpath("cac:Party", namespaces=ns)[0] + partner_dict = self.ubl_parse_party(party_node, ns) + partner_dict["ref"] = ref_xpath and ref_xpath[0].text or False + return partner_dict + + @api.model + def ubl_parse_party(self, party_node, ns): + partner_name_xpath = party_node.xpath("cac:PartyName/cbc:Name", namespaces=ns) + vat_xpath = party_node.xpath("cac:PartyTaxScheme/cbc:CompanyID", namespaces=ns) + website_xpath = party_node.xpath("cbc:WebsiteURI", namespaces=ns) + contact_name_xpath = party_node.xpath("cac:Contact/cbc:Name", namespaces=ns) + contact_email_xpath = party_node.xpath( + "cac:Contact/cbc:ElectronicMail", namespaces=ns + ) + contact_phone_xpath = party_node.xpath( + "cac:Contact/cbc:Telephone", namespaces=ns + ) + partner_dict = { + "vat": vat_xpath and vat_xpath[0].text or False, + "name": partner_name_xpath and partner_name_xpath[0].text or False, + "website": website_xpath and website_xpath[0].text or False, + "contact": contact_name_xpath and contact_name_xpath[0].text or False, + "email": contact_email_xpath and contact_email_xpath[0].text or False, + "phone": contact_phone_xpath and contact_phone_xpath[0].text or False, + } + id_nodes = party_node.xpath("cac:PartyIdentification/cbc:ID", namespaces=ns) + id_numbers = [] + for id_node in id_nodes: + id_numbers.append( + {"value": id_node.text, "schemeID": id_node.attrib.get("schemeID")} + ) + partner_dict["id_number"] = id_numbers + address_xpath = party_node.xpath("cac:PostalAddress", namespaces=ns) + if address_xpath: + address_dict = self.ubl_parse_address(address_xpath[0], ns) + partner_dict.update(address_dict) + return partner_dict + + @api.model + def ubl_parse_address(self, address_node, ns): + country_code_xpath = address_node.xpath( + "cac:Country/cbc:IdentificationCode", namespaces=ns + ) + country_code = country_code_xpath and country_code_xpath[0].text or False + state_code_xpath = address_node.xpath("cbc:CountrySubentityCode", namespaces=ns) + state_code = state_code_xpath and state_code_xpath[0].text or False + street_xpath = address_node.xpath("cbc:StreetName", namespaces=ns) + street2_xpath = address_node.xpath("cbc:AdditionalStreetName", namespaces=ns) + street_number_xpath = address_node.xpath("cbc:BuildingNumber", namespaces=ns) + city_xpath = address_node.xpath("cbc:CityName", namespaces=ns) + zip_xpath = address_node.xpath("cbc:PostalZone", namespaces=ns) + zip_code = ( + zip_xpath + and zip_xpath[0].text + and zip_xpath[0].text.replace(" ", "") + or False + ) + address_dict = { + "street": street_xpath and street_xpath[0].text or False, + "street_number": street_number_xpath + and street_number_xpath[0].text + or False, + "street2": street2_xpath and street2_xpath[0].text or False, + "city": city_xpath and city_xpath[0].text or False, + "zip": zip_code, + "state_code": state_code, + "country_code": country_code, + } + return address_dict + + @api.model + def ubl_parse_delivery(self, delivery_node, ns): + party_xpath = delivery_node.xpath("cac:DeliveryParty", namespaces=ns) + if party_xpath: + partner_dict = self.ubl_parse_party(party_xpath[0], ns) + else: + partner_dict = {} + postal_xpath = delivery_node.xpath( + "cac:DeliveryParty/cac:PostalAddress", namespaces=ns + ) + if not postal_xpath: + delivery_address_xpath = delivery_node.xpath( + "cac:DeliveryLocation/cac:Address", namespaces=ns + ) + if not delivery_address_xpath: + delivery_address_xpath = delivery_node.xpath( + "cac:DeliveryAddress", namespaces=ns + ) + if delivery_address_xpath: + partner_dict.update( + self.ubl_parse_address(delivery_address_xpath[0], ns) + ) + return partner_dict + + @api.model + def ubl_parse_delivery_details(self, delivery_node, ns): + delivery_dict = {} + latest_date = delivery_node.xpath("cbc:LatestDeliveryDate", namespaces=ns) + latest_time = delivery_node.xpath("cbc:LatestDeliveryTime", namespaces=ns) + if latest_date: + latest_delivery = latest_date[0].text + if latest_time: + latest_delivery += " " + latest_time[0].text[:-3] + delivery_dict["commitment_date"] = latest_delivery + return delivery_dict + + def ubl_parse_incoterm(self, delivery_term_node, ns): + incoterm_xpath = delivery_term_node.xpath("cbc:ID", namespaces=ns) + if incoterm_xpath: + incoterm_dict = {"code": incoterm_xpath[0].text} + return incoterm_dict + return {} + + def ubl_parse_product(self, line_node, ns): + # GTIN schemeID is 0160 in peppol + barcode_xpath = line_node.xpath( + "cac:Item/cac:StandardItemIdentification/cbc:ID[@schemeID=('0160' or 'GTIN')]", + namespaces=ns, + ) + code_xpath = line_node.xpath( + "cac:Item/cac:SellersItemIdentification/cbc:ID", namespaces=ns + ) + product_dict = { + "barcode": barcode_xpath and barcode_xpath[0].text or False, + "code": code_xpath and code_xpath[0].text or False, + } + return product_dict + + def get_xml_files_from_pdf(self, pdf_file): + """Returns a dict with key = filename, value = XML file obj""" + logger.warning( + "`get_xml_files_from_pdf` deprecated: use `pdf.helper.pdf_get_xml_files`" + ) + return self.env["pdf.helper"].pdf_get_xml_files(pdf_file) diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..093a418 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ +* Alexis de Lattre +* Andrea Stirpe +* Jacques-Etienne Baudoux +* Phuc (Tran Thanh) +* Simone Orsi diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/readme/CREDITS.rst b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/readme/CREDITS.rst new file mode 100644 index 0000000..f5cc070 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/readme/CREDITS.rst @@ -0,0 +1,3 @@ +The development of this module has been financially supported by: + +* Camptocamp diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/readme/DESCRIPTION.rst new file mode 100644 index 0000000..0fc5b2b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/readme/DESCRIPTION.rst @@ -0,0 +1,12 @@ +This is the base module for the implementation of the `Universal Business +Language (UBL) `_ standard. The UBL standard became the +`ISO/IEC 19845 `_ +standard in January 2016 (cf the `official announce +`_). + +This module contains methods to generate and parse UBL files. This module +doesn't do anything useful by itself, but it is used by several other modules: + +* *purchase_order_ubl* that generate UBL purchase orders, +* *sale_order_import_ubl* that imports UBL sale orders. +* *account_invoice_import_ubl* that imports UBL invoices, diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/static/description/icon.png b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/static/description/index.html b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/static/description/index.html new file mode 100644 index 0000000..a5a0cfd --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/static/description/index.html @@ -0,0 +1,452 @@ + + + + + +README.rst + + + +
      + + + +Odoo Community Association + +
      +

      Base UBL

      + +

      Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      This is the base module for the implementation of the Universal Business +Language (UBL) standard. The UBL standard became the +ISO/IEC 19845 +standard in January 2016 (cf the official announce).

      +

      This module contains methods to generate and parse UBL files. This module +doesn’t do anything useful by itself, but it is used by several other modules:

      +
        +
      • purchase_order_ubl that generate UBL purchase orders,
      • +
      • sale_order_import_ubl that imports UBL sale orders.
      • +
      • account_invoice_import_ubl that imports UBL invoices,
      • +
      +

      Table of contents

      + +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • Akretion
      • +
      • Onestein
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Other credits

      +

      The development of this module has been financially supported by:

      +
        +
      • Camptocamp
      • +
      +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      + +Odoo Community Association + +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/tests/__init__.py b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/tests/__init__.py new file mode 100644 index 0000000..39e1569 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/tests/__init__.py @@ -0,0 +1,4 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_ubl_generate +from . import test_ubl_parse diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/tests/test_ubl_generate.py b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/tests/test_ubl_generate.py new file mode 100644 index 0000000..7a122a8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/tests/test_ubl_generate.py @@ -0,0 +1,109 @@ +# Copyright 2019 Onestein () +# © 2017-2020 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from lxml import etree + +from odoo.tests.common import HttpCase + + +class TestUblInvoice(HttpCase): + def test_pdf_generate(self): + invoice = self.create_test_invoice() + content, doc_type = ( + self.env.ref("account.account_invoices") + .with_context(no_embedded_ubl_xml=True, force_report_rendering=True) + ._render_qweb_pdf("account.account_invoices", invoice.ids) + ) + self.assertTrue(content) + self.assertEqual(doc_type, "pdf") + + def test_ubl_generate(self): + invoice = self.create_test_invoice() + nsmap, ns = self.env["base.ubl"]._ubl_get_nsmap_namespace("Invoice-2") + xml_root = etree.Element("Invoice", nsmap=nsmap) + + self.env["base.ubl"]._ubl_add_supplier_party( + False, invoice.company_id, "AccountingSupplierParty", xml_root, ns + ) + self.env["base.ubl"]._ubl_add_customer_party( + invoice.partner_id, False, "AccountingCustomerParty", xml_root, ns + ) + + def create_test_invoice( + self, product=False, qty=1, price=12.42, discount=0, validate=True + ): + aio = self.env["account.move"] + aao = self.env["account.account"] + ato = self.env["account.tax"] + company = self.env.ref("base.main_company") + account_revenue = aao.search( + [("code", "=", "707100"), ("company_id", "=", company.id)], limit=1 + ) + if not account_revenue: + account_revenue = aao.create( + { + "code": "707100", + "name": "Product Sales - (test)", + "company_id": company.id, + "account_type": "income", + } + ) + taxes = ato.search( + [ + ("company_id", "=", company.id), + ("type_tax_use", "=", "sale"), + ("unece_type_id", "!=", False), + ("unece_categ_id", "!=", False), + ("amount_type", "=", "percent"), + ] + ) + if taxes: + tax = taxes[0] + else: + unece_type_id = self.env.ref("account_tax_unece.tax_type_vat").id + unece_categ_id = self.env.ref("account_tax_unece.tax_categ_s").id + tax = ato.create( + { + "name": "German VAT purchase 18.0%", + "description": "DE-VAT-sale-18.0", + "company_id": company.id, + "type_tax_use": "sale", + "price_include": False, + "amount": 18, + "amount_type": "percent", + "unece_type_id": unece_type_id, + "unece_categ_id": unece_categ_id, + } + ) + # validate invoice + if not product: + product = self.env.ref("product.product_product_4") + invoice = aio.create( + { + "partner_id": self.env.ref("base.res_partner_2").id, + "currency_id": self.env.ref("base.EUR").id, + "move_type": "out_invoice", + "company_id": company.id, + "name": "SO1242", + "invoice_line_ids": [ + ( + 0, + 0, + { + "product_id": product.id, + "product_uom_id": product.uom_id.id, + "quantity": qty, + "price_unit": price, + "discount": discount, + "name": product.name, + "account_id": account_revenue.id, + "tax_ids": [(6, 0, [tax.id])], + }, + ) + ], + } + ) + if validate: + invoice.action_post() + return invoice diff --git a/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/tests/test_ubl_parse.py b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/tests/test_ubl_parse.py new file mode 100644 index 0000000..b21d94a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/base_ubl/tests/test_ubl_parse.py @@ -0,0 +1,56 @@ +# Copyright 2024 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from lxml import etree + +from odoo.tests.common import TransactionCase + + +class TestBaseUblParse(TransactionCase): + def test_parse_product_schemeid_gtin(self): + xml_string = b""" + + + Acme beeswax + beeswax + + 6578489 + + + 17589683 + + + + """ + xml_root = etree.fromstring(xml_string) + ns = xml_root.nsmap + product = self.env["base.ubl"].ubl_parse_product(xml_root, ns) + self.assertEqual(product.get("barcode"), "6578489") + self.assertEqual(product.get("code"), "17589683") + + def test_parse_product_schemeid_0160(self): + xml_string = b""" + + + Acme beeswax + beeswax + + 6578489 + + + 17589683 + + + + """ + xml_root = etree.fromstring(xml_string) + ns = xml_root.nsmap + product = self.env["base.ubl"].ubl_parse_product(xml_root, ns) + self.assertEqual(product.get("barcode"), "6578489") + self.assertEqual(product.get("code"), "17589683") diff --git a/odoo-bringout-oca-edi-framework-base_ubl/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-base_ubl/doc/ARCHITECTURE.md new file mode 100644 index 0000000..3543092 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_ubl Module - base_ubl + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-base_ubl/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-base_ubl/doc/CONFIGURATION.md new file mode 100644 index 0000000..157621f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_ubl. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-base_ubl/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-base_ubl/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-base_ubl/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-base_ubl/doc/DEPENDENCIES.md new file mode 100644 index 0000000..5108630 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/doc/DEPENDENCIES.md @@ -0,0 +1,8 @@ +# Dependencies + +This addon depends on: + +- uom_unece +- account_tax_unece +- [base_vat](../../odoo-bringout-oca-ocb-base_vat) +- [pdf_helper](../../odoo-bringout-oca-edi-framework-pdf_helper) diff --git a/odoo-bringout-oca-edi-framework-base_ubl/doc/FAQ.md b/odoo-bringout-oca-edi-framework-base_ubl/doc/FAQ.md new file mode 100644 index 0000000..cd8d2d9 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_ubl or install in UI. diff --git a/odoo-bringout-oca-edi-framework-base_ubl/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-base_ubl/doc/INSTALL.md new file mode 100644 index 0000000..d31b8a1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-base_ubl" +# or +uv pip install odoo-bringout-oca-edi-framework-base_ubl" +``` diff --git a/odoo-bringout-oca-edi-framework-base_ubl/doc/MODELS.md b/odoo-bringout-oca-edi-framework-base_ubl/doc/MODELS.md new file mode 100644 index 0000000..4496e30 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in base_ubl. + +```mermaid +classDiagram + class base_ubl +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-base_ubl/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-base_ubl/doc/OVERVIEW.md new file mode 100644 index 0000000..031cb17 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_ubl. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_ubl +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-base_ubl/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-base_ubl/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-base_ubl/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-base_ubl/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-base_ubl/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-base_ubl/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-base_ubl/doc/USAGE.md b/odoo-bringout-oca-edi-framework-base_ubl/doc/USAGE.md new file mode 100644 index 0000000..6e19eaa --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_ubl +``` diff --git a/odoo-bringout-oca-edi-framework-base_ubl/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-base_ubl/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-base_ubl/pyproject.toml b/odoo-bringout-oca-edi-framework-base_ubl/pyproject.toml new file mode 100644 index 0000000..64f4be7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl/pyproject.toml @@ -0,0 +1,45 @@ +[project] +name = "odoo-bringout-oca-edi-framework-base_ubl" +version = "16.0.0" +description = "Base UBL - Base module for Universal Business Language (UBL)" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-framework-uom_unece>=16.0.0", + "odoo-bringout-oca-edi-framework-account_tax_unece>=16.0.0", + "odoo-bringout-oca-edi-framework-base_vat>=16.0.0", + "odoo-bringout-oca-edi-framework-pdf_helper>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_ubl"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/README.md b/odoo-bringout-oca-edi-framework-base_ubl_payment/README.md new file mode 100644 index 0000000..e3fcb70 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/README.md @@ -0,0 +1,45 @@ +# Base UBL Payment + +Odoo addon: base_ubl_payment + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-base_ubl_payment +``` + +## Dependencies + +This addon depends on: +- account_payment_unece +- base_ubl + +## Manifest Information + +- **Name**: Base UBL Payment +- **Version**: 16.0.1.0.1 +- **Category**: Hidden +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `base_ubl_payment`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/README.rst b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/README.rst new file mode 100644 index 0000000..a23242b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/README.rst @@ -0,0 +1,84 @@ +================ +Base UBL Payment +================ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:fc3ded922635f55a2fad4636b88129463b6ab6fe3eb90d604a4af381d4068346 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_ubl_payment + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_ubl_payment + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module is a small module above the *base_ubl* module; +it adds the generation of the *PaymentMeans* UBL block. +I decided to make it a separate module because it depends +on the module *account_payment_unece* which itself depend on +*account_banking_payment_export*, and I didn't want to add +these dependencies on the *base_ubl* module. + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre +* Andrea Stirpe +* Dhara Solanki +* Jacques-Etienne Baudoux (BCIM) + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/__init__.py b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/__init__.py new file mode 100644 index 0000000..31660d6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import models diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/__manifest__.py b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/__manifest__.py new file mode 100644 index 0000000..e49d232 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/__manifest__.py @@ -0,0 +1,14 @@ +# © 2016-2017 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Base UBL Payment", + "version": "16.0.1.0.1", + "category": "Hidden", + "license": "AGPL-3", + "summary": "Payment-related code for Universal Business Language (UBL)", + "author": "Akretion,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/edi", + "depends": ["account_payment_unece", "base_ubl"], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/base_ubl_payment.pot b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/base_ubl_payment.pot new file mode 100644 index 0000000..7d42fe1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/base_ubl_payment.pot @@ -0,0 +1,28 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl_payment +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_ubl_payment +#: model:ir.model,name:base_ubl_payment.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "" + +#. module: base_ubl_payment +#. odoo-python +#: code:addons/base_ubl_payment/models/ubl.py:0 +#, python-format +msgid "" +"Missing 'UNECE Payment Mean' on payment type '{method}' used by the payment " +"mode '{mode}'." +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/es.po b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/es.po new file mode 100644 index 0000000..34e4b15 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/es.po @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl_payment +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-11-22 20:34+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_ubl_payment +#: model:ir.model,name:base_ubl_payment.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Métodos habituales para generar y analizar archivos XML UBL" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__id +msgid "ID" +msgstr "ID" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl____last_update +msgid "Last Modified on" +msgstr "Última Modificación el" + +#. module: base_ubl_payment +#: code:addons/base_ubl_payment/models/ubl.py:0 +#, python-format +msgid "" +"Missing 'UNECE Payment Mean' on payment type '{method}' " +"used by the payment mode '{mode}'." +msgstr "" +"Falta 'UNECE Payment Mean' en el tipo de pago '{method}' utilizado por el modo de " +"pago '{mode}'." diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/fr.po b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/fr.po new file mode 100644 index 0000000..14bec05 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/fr.po @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl_payment +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-05-29 11:08+0000\n" +"Last-Translator: Claude R Perrin \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_ubl_payment +#: model:ir.model,name:base_ubl_payment.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Méthodes courantes pour générer et analyser les fichiers XML UBL" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__display_name +msgid "Display Name" +msgstr "Nom affiché" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__id +msgid "ID" +msgstr "ID" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl____last_update +msgid "Last Modified on" +msgstr "Dernière modification le" + +#. module: base_ubl_payment +#: code:addons/base_ubl_payment/models/ubl.py:0 +#, python-format +msgid "" +"Missing 'UNECE Payment Mean' on payment type '{method}' " +"used by the payment mode '{mode}'." +msgstr "" +"'Moyen de paiement UNECE’ manquant sur le type de paiement '{method}' utilisé par " +"le mode de paiement '{mode}'." diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/hr.po b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/hr.po new file mode 100644 index 0000000..6d6fbbe --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/hr.po @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl_payment +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-11-12 17:34+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 3.8\n" + +#. module: base_ubl_payment +#: model:ir.model,name:base_ubl_payment.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Zajedničke metode za generiranje i parsiranje UBL XML datoteka" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__display_name +msgid "Display Name" +msgstr "" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__id +msgid "ID" +msgstr "" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_ubl_payment +#: code:addons/base_ubl_payment/models/ubl.py:0 +#, python-format +msgid "" +"Missing 'UNECE Payment Mean' on payment type '{method}' " +"used by the payment mode '{mode}'." +msgstr "" +"Nedostaje UNECE šifra načina plaćanja '{method}' korštenog na tipu plaćanja '{mode}'." diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/it.po b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/it.po new file mode 100644 index 0000000..4623970 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/it.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl_payment +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-12-09 11:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_ubl_payment +#: model:ir.model,name:base_ubl_payment.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "Metodi comuni per generare ed elaborare file UBL e XML" + +#. module: base_ubl_payment +#. odoo-python +#: code:addons/base_ubl_payment/models/ubl.py:0 +#, python-format +msgid "" +"Missing 'UNECE Payment Mean' on payment type '{method}' used by the payment " +"mode '{mode}'." +msgstr "" +"'Significato pagamento UNECE' non presente nel tipo pagamento '{method}' " +"utilizzato per il metodo di pagamento '{mode}'." diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/nl.po b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/nl.po new file mode 100644 index 0000000..3090676 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/i18n/nl.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_ubl_payment +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-12-13 02:36+0000\n" +"Last-Translator: Bosd \n" +"Language-Team: none\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: base_ubl_payment +#: model:ir.model,name:base_ubl_payment.model_base_ubl +msgid "Common methods to generate and parse UBL XML files" +msgstr "" +"Gemeenschappelijke code voor het genereren en verwerken van UBL XML bestanden" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__display_name +msgid "Display Name" +msgstr "" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__id +msgid "ID" +msgstr "" + +#. module: base_ubl_payment +#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_ubl_payment +#: code:addons/base_ubl_payment/models/ubl.py:0 +#, python-format +msgid "" +"Missing 'UNECE Payment Mean' on payment type '{method}' " +"used by the payment mode '{mode}'." +msgstr "" +"Ontbrekende 'UNECE betaalmethode' voor betalingstype '{method}' gebruikt door " +"betaalmethode '{mode}'." diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/models/__init__.py b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/models/__init__.py new file mode 100644 index 0000000..7ec1c77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import ubl diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/models/ubl.py b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/models/ubl.py new file mode 100644 index 0000000..5cf2b1f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/models/ubl.py @@ -0,0 +1,101 @@ +# © 2016-2017 Akretion (Alexis de Lattre ) +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +import logging + +from lxml import etree + +from odoo import _, api, models +from odoo.exceptions import UserError + +logger = logging.getLogger(__name__) + + +class BaseUbl(models.AbstractModel): + _inherit = "base.ubl" + + @api.model + def _ubl_convert_payment_identifier(self, payment_identifier): + """Reformat localized payment identifier in an UBL compatible format""" + if not payment_identifier: + return payment_identifier + return payment_identifier.replace("+", "").replace("/", "") + + @api.model + def _ubl_add_payment_means( + self, + partner_bank, + payment_mode, + date_due, + parent_node, + ns, + payment_identifier=None, + version="2.1", + ): + pay_means = etree.SubElement(parent_node, ns["cac"] + "PaymentMeans") + pay_means_code = etree.SubElement( + pay_means, ns["cbc"] + "PaymentMeansCode", listID="UN/ECE 4461" + ) + # Why not schemeAgencyID='6' + schemeID + if payment_mode: # type is a required field on payment_mode + if not payment_mode.payment_method_id.unece_id: + raise UserError( + _( + "Missing 'UNECE Payment Mean' on payment type '{method}' " + "used by the payment mode '{mode}'." + ).format( + method=payment_mode.payment_method_id.name, + mode=payment_mode.name, + ) + ) + pay_means_code.text = payment_mode.payment_method_id.unece_code + else: + pay_means_code.text = "31" + logger.warning( + "Missing payment mode on invoice ID %d. " + "Using 31 (wire transfer) as UNECE code as fallback " + "for payment mean", + self.id, + ) + if date_due: + pay_due_date = etree.SubElement(pay_means, ns["cbc"] + "PaymentDueDate") + pay_due_date.text = date_due.strftime("%Y-%m-%d") + if pay_means_code.text in ["30", "31", "42", "58", "59"]: + if ( + not partner_bank + and payment_mode + and payment_mode.bank_account_link == "fixed" + and payment_mode.fixed_journal_id + ): + partner_bank = payment_mode.fixed_journal_id.bank_account_id + if partner_bank and partner_bank.acc_type == "iban": + # In the Chorus specs, they except 'IBAN' in PaymentChannelCode + # I don't know if this usage is common or not + payment_channel_code = etree.SubElement( + pay_means, ns["cbc"] + "PaymentChannelCode" + ) + payment_channel_code.text = "IBAN" + if payment_identifier: + payment_id = etree.SubElement(pay_means, ns["cbc"] + "PaymentID") + payment_id.text = self._ubl_convert_payment_identifier( + payment_identifier + ) + payee_fin_account = etree.SubElement( + pay_means, ns["cac"] + "PayeeFinancialAccount" + ) + payee_fin_account_id = etree.SubElement( + payee_fin_account, ns["cbc"] + "ID", schemeName="IBAN" + ) + payee_fin_account_id.text = partner_bank.sanitized_acc_number + if partner_bank.bank_bic: + financial_inst_branch = etree.SubElement( + payee_fin_account, ns["cac"] + "FinancialInstitutionBranch" + ) + financial_inst = etree.SubElement( + financial_inst_branch, ns["cac"] + "FinancialInstitution" + ) + financial_inst_id = etree.SubElement( + financial_inst, ns["cbc"] + "ID", schemeName="BIC" + ) + financial_inst_id.text = partner_bank.bank_bic diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..8af1ca1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Alexis de Lattre +* Andrea Stirpe +* Dhara Solanki +* Jacques-Etienne Baudoux (BCIM) diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/readme/DESCRIPTION.rst new file mode 100644 index 0000000..eeed096 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/readme/DESCRIPTION.rst @@ -0,0 +1,6 @@ +This module is a small module above the *base_ubl* module; +it adds the generation of the *PaymentMeans* UBL block. +I decided to make it a separate module because it depends +on the module *account_payment_unece* which itself depend on +*account_banking_payment_export*, and I didn't want to add +these dependencies on the *base_ubl* module. diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/static/description/icon.png b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/static/description/index.html b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/static/description/index.html new file mode 100644 index 0000000..fd04bac --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/base_ubl_payment/static/description/index.html @@ -0,0 +1,431 @@ + + + + + +Base UBL Payment + + + +
      +

      Base UBL Payment

      + + +

      Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      This module is a small module above the base_ubl module; +it adds the generation of the PaymentMeans UBL block. +I decided to make it a separate module because it depends +on the module account_payment_unece which itself depend on +account_banking_payment_export, and I didn’t want to add +these dependencies on the base_ubl module.

      +

      Table of contents

      + +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • Akretion
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      + +Odoo Community Association + +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/ARCHITECTURE.md new file mode 100644 index 0000000..21b22cf --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_ubl_payment Module - base_ubl_payment + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/CONFIGURATION.md new file mode 100644 index 0000000..7cb6505 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_ubl_payment. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/DEPENDENCIES.md new file mode 100644 index 0000000..aa03870 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/DEPENDENCIES.md @@ -0,0 +1,6 @@ +# Dependencies + +This addon depends on: + +- account_payment_unece +- [base_ubl](../../odoo-bringout-oca-edi-framework-base_ubl) diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/FAQ.md b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/FAQ.md new file mode 100644 index 0000000..b13ef20 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_ubl_payment or install in UI. diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/INSTALL.md new file mode 100644 index 0000000..4c2867e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-base_ubl_payment" +# or +uv pip install odoo-bringout-oca-edi-framework-base_ubl_payment" +``` diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/MODELS.md b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/MODELS.md new file mode 100644 index 0000000..757286e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in base_ubl_payment. + +```mermaid +classDiagram + class base_ubl +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/OVERVIEW.md new file mode 100644 index 0000000..79b3966 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_ubl_payment. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_ubl_payment +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/USAGE.md b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/USAGE.md new file mode 100644 index 0000000..1effdff --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_ubl_payment +``` diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-base_ubl_payment/pyproject.toml b/odoo-bringout-oca-edi-framework-base_ubl_payment/pyproject.toml new file mode 100644 index 0000000..7aa6416 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_ubl_payment/pyproject.toml @@ -0,0 +1,43 @@ +[project] +name = "odoo-bringout-oca-edi-framework-base_ubl_payment" +version = "16.0.0" +description = "Base UBL Payment - Payment-related code for Universal Business Language (UBL)" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-framework-account_payment_unece>=16.0.0", + "odoo-bringout-oca-edi-framework-base_ubl>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_ubl_payment"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/README.md b/odoo-bringout-oca-edi-framework-base_wamas_ubl/README.md new file mode 100644 index 0000000..1ab0d07 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/README.md @@ -0,0 +1,45 @@ +# Base WAMAS UBL + +Odoo addon: base_wamas_ubl + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-base_wamas_ubl +``` + +## Dependencies + +This addon depends on: +- base_edi +- base_ubl + +## Manifest Information + +- **Name**: Base WAMAS UBL +- **Version**: 16.0.1.17.1 +- **Category**: Hidden +- **License**: AGPL-3 +- **Installable**: False + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `base_wamas_ubl`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/README.rst b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/README.rst new file mode 100644 index 0000000..e997e73 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/README.rst @@ -0,0 +1,89 @@ +============== +Base WAMAS UBL +============== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:f97ed074cb58c152474c9fa18dfea888a7c80aeb70fdf5a516ed2a84becdb1bc + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png + :target: https://odoo-community.org/page/development-status + :alt: Alpha +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/base_wamas_ubl + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_wamas_ubl + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module contains methods to parse between WAMAS file and UBL file. + +.. IMPORTANT:: + This is an alpha version, the data model and design can change at any time without warning. + Only for development or testing purpose, do not use in production. + `More details on development status `_ + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Camptocamp +* BCIM + +Contributors +~~~~~~~~~~~~ + +* Jacques-Etienne Baudoux +* Tuan Tran +* Telmo Santos + +Other credits +~~~~~~~~~~~~~ + +The creation of this module was financially supported by Camptocamp. + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/__init__.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/__init__.py new file mode 100644 index 0000000..aee8895 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/__init__.py @@ -0,0 +1,2 @@ +from . import models +from . import wizards diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/__manifest__.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/__manifest__.py new file mode 100644 index 0000000..de8a354 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/__manifest__.py @@ -0,0 +1,24 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "Base WAMAS UBL", + "summary": """Base module to aggregate WAMAS - UBL features.""", + "version": "16.0.1.17.1", + "development_status": "Alpha", + "category": "Hidden", + "website": "https://github.com/OCA/edi", + "license": "AGPL-3", + "author": "Camptocamp,BCIM,Odoo Community Association (OCA)", + "depends": ["base_edi", "base_ubl"], + "external_dependencies": { + "python": ["xmltodict", "dotty-dict", "pytz"], + }, + "data": [ + "security/ir.model.access.csv", + "wizards/wamas_ubl_wiz_check.xml", + "wizards/wamas_ubl_wiz_simulate.xml", + "views/wamas_menu.xml", + ], +} diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/i18n/base_wamas_ubl.pot b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/i18n/base_wamas_ubl.pot new file mode 100644 index 0000000..87f5f8c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/i18n/base_wamas_ubl.pot @@ -0,0 +1,208 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_wamas_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py:0 +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.py:0 +#, python-format +msgid "- Error: %s" +msgstr "" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py:0 +#, python-format +msgid "" +"- WAMAS Type: %(wamas_type)s\n" +"- Data: %(data)s" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Cancel" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Check" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.actions.act_window,name:base_wamas_ubl.wamas_ubl_wiz_check_action +#: model:ir.ui.menu,name:base_wamas_ubl.wamas_ubl_wiz_check_menu +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Check WAMAS File" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_wamas_ubl_wiz_check +msgid "Check WAMAS File Wizard" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__create_uid +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__create_uid +msgid "Created by" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__create_date +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__create_date +msgid "Created on" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Data" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__display_name +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__display_name +msgid "Display Name" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__id +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__id +msgid "ID" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check____last_update +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate____last_update +msgid "Last Modified on" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__write_uid +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__write_date +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__write_date +msgid "Last Updated on" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_base_wamas_ubl +msgid "Methods to convert WAMAS to UBL XML files and vice versa" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Only supports FROM telegram type TO telegram type(s) bellow:" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Only supports telegram type(s) bellow:" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__output +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output +msgid "Output" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output_wamas_file +msgid "Output WAMAS File" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output_wamas_filename +msgid "Output WAMAS Filename" +msgstr "" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/models/base_wamas_ubl.py:0 +#, python-format +msgid "Please define wamas message type (msg_type)." +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Simulate" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.actions.act_window,name:base_wamas_ubl.wamas_ubl_wiz_simulate_action +#: model:ir.ui.menu,name:base_wamas_ubl.wamas_ubl_wiz_simulate_menu +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Simulate WAMAS File" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_wamas_ubl_wiz_simulate +msgid "Simulate WAMAS File Wizard" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__supported_telegram +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__supported_telegram +msgid "Supported Telegram" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Telegram Type" +msgstr "" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/models/base_wamas_ubl.py:0 +#, python-format +msgid "The data is not valid." +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "This wizard will help you extract data of a WAMAS file into:" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "" +"This wizard will help you generate (simulating) a new WAMAS file from an " +"existing WAMAS file." +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.ui.menu,name:base_wamas_ubl.menu_wamas_parent +msgid "WAMAS" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__wamas_file +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__wamas_file +msgid "WAMAS File" +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__wamas_filename +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__wamas_filename +msgid "WAMAS Filename" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "WAMAS Type" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/i18n/bs.po b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/i18n/bs.po new file mode 100644 index 0000000..3a44ae2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/i18n/bs.po @@ -0,0 +1,208 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_wamas_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py:0 +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.py:0 +#, python-format +msgid "- Error: %s" +msgstr "- Greška: %s" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py:0 +#, python-format +msgid "" +"- WAMAS Type: %(wamas_type)s\n" +"- Data: %(data)s" +msgstr "" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Cancel" +msgstr "Otkaži" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Check" +msgstr "Provjeri" + +#. module: base_wamas_ubl +#: model:ir.actions.act_window,name:base_wamas_ubl.wamas_ubl_wiz_check_action +#: model:ir.ui.menu,name:base_wamas_ubl.wamas_ubl_wiz_check_menu +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Check WAMAS File" +msgstr "Provjeri WAMAS datoteku" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_wamas_ubl_wiz_check +msgid "Check WAMAS File Wizard" +msgstr "Čarobnjak za provjeru WAMAS datoteke" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__create_uid +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__create_uid +msgid "Created by" +msgstr "Kreirao" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__create_date +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__create_date +msgid "Created on" +msgstr "Kreirano" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Data" +msgstr "Podaci" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__display_name +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__display_name +msgid "Display Name" +msgstr "Prikazani naziv" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__id +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__id +msgid "ID" +msgstr "ID" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check____last_update +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate____last_update +msgid "Last Modified on" +msgstr "Zadnje mijenjano" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__write_uid +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__write_uid +msgid "Last Updated by" +msgstr "Zadnji ažurirao" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__write_date +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__write_date +msgid "Last Updated on" +msgstr "Zadnje ažurirano" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_base_wamas_ubl +msgid "Methods to convert WAMAS to UBL XML files and vice versa" +msgstr "Metode za konverziju WAMAS u UBL XML datoteke i obrnuto" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Only supports FROM telegram type TO telegram type(s) bellow:" +msgstr "Podržava samo OD tipa telegrama DO tipa(ova) telegrama ispod:" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Only supports telegram type(s) bellow:" +msgstr "Podržava samo tipove telegrama ispod:" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__output +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output +msgid "Output" +msgstr "Izlaz" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output_wamas_file +msgid "Output WAMAS File" +msgstr "Izlazna WAMAS datoteka" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output_wamas_filename +msgid "Output WAMAS Filename" +msgstr "Izlazni WAMAS naziv datoteke" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/models/base_wamas_ubl.py:0 +#, python-format +msgid "Please define wamas message type (msg_type)." +msgstr "Molimo definirajte wamas tip poruke (msg_type)." + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Simulate" +msgstr "Simuliraj" + +#. module: base_wamas_ubl +#: model:ir.actions.act_window,name:base_wamas_ubl.wamas_ubl_wiz_simulate_action +#: model:ir.ui.menu,name:base_wamas_ubl.wamas_ubl_wiz_simulate_menu +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Simulate WAMAS File" +msgstr "Simuliraj WAMAS datoteku" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_wamas_ubl_wiz_simulate +msgid "Simulate WAMAS File Wizard" +msgstr "Čarobnjak za simulaciju WAMAS datoteke" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__supported_telegram +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__supported_telegram +msgid "Supported Telegram" +msgstr "Podržani telegram" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Telegram Type" +msgstr "Tip telegrama" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/models/base_wamas_ubl.py:0 +#, python-format +msgid "The data is not valid." +msgstr "Podaci nisu važeći." + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "This wizard will help you extract data of a WAMAS file into:" +msgstr "Ovaj čarobnjak će vam pomoći da izvučete podatke WAMAS datoteke u:" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "" +"This wizard will help you generate (simulating) a new WAMAS file from an " +"existing WAMAS file." +msgstr "" + +#. module: base_wamas_ubl +#: model:ir.ui.menu,name:base_wamas_ubl.menu_wamas_parent +msgid "WAMAS" +msgstr "WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__wamas_file +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__wamas_file +msgid "WAMAS File" +msgstr "WAMAS datoteka" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__wamas_filename +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__wamas_filename +msgid "WAMAS Filename" +msgstr "WAMAS naziv datoteke" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "WAMAS Type" +msgstr "WAMAS tip" diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/i18n/es.po b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/i18n/es.po new file mode 100644 index 0000000..7b65658 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/i18n/es.po @@ -0,0 +1,238 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_wamas_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-02-15 21:35+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py:0 +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.py:0 +#, python-format +msgid "- Error: %s" +msgstr "- Error: %s" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py:0 +#, python-format +msgid "" +"- WAMAS Type: %(wamas_type)s\n" +"- Data: %(data)s" +msgstr "" +"- Tipo WAMAS: %(wamas_type)s\n" +"- Datos: %(data)s" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Check" +msgstr "Comprobar" + +#. module: base_wamas_ubl +#: model:ir.actions.act_window,name:base_wamas_ubl.wamas_ubl_wiz_check_action +#: model:ir.ui.menu,name:base_wamas_ubl.wamas_ubl_wiz_check_menu +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Check WAMAS File" +msgstr "Comprobar el archivo WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_wamas_ubl_wiz_check +msgid "Check WAMAS File Wizard" +msgstr "Comprobar el Asistente de Archivos WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__create_uid +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__create_date +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Data" +msgstr "Datos" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__display_name +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__id +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__id +msgid "ID" +msgstr "ID" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check____last_update +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate____last_update +msgid "Last Modified on" +msgstr "Última Modificación el" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__write_uid +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__write_uid +msgid "Last Updated by" +msgstr "Última Actualización por" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__write_date +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__write_date +msgid "Last Updated on" +msgstr "Última Actualización el" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_base_wamas_ubl +msgid "Methods to convert WAMAS to UBL XML files and vice versa" +msgstr "Métodos para convertir archivos WAMAS a UBL XML y viceversa" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Only supports FROM telegram type TO telegram type(s) bellow:" +msgstr "" +"Sólo admite el tipo de telegrama DESDE el tipo de telegrama HASTA el tipo o " +"tipos de telegrama(s) siguiente(s):" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Only supports telegram type(s) bellow:" +msgstr "Sólo admite los siguientes tipos de telegramas:" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__output +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output +msgid "Output" +msgstr "Salida" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output_wamas_file +msgid "Output WAMAS File" +msgstr "Archivo WAMAS de Salida" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output_wamas_filename +msgid "Output WAMAS Filename" +msgstr "Nombre del Archivo WAMAS de Salida" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/models/base_wamas_ubl.py:0 +#, python-format +msgid "Please define wamas message type (msg_type)." +msgstr "Por favor, defina el tipo de mensaje wamas (msg_type)." + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Simulate" +msgstr "Simular" + +#. module: base_wamas_ubl +#: model:ir.actions.act_window,name:base_wamas_ubl.wamas_ubl_wiz_simulate_action +#: model:ir.ui.menu,name:base_wamas_ubl.wamas_ubl_wiz_simulate_menu +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Simulate WAMAS File" +msgstr "Simular Fichero WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_wamas_ubl_wiz_simulate +msgid "Simulate WAMAS File Wizard" +msgstr "Asistente de Simulación de Ficheros WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__supported_telegram +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__supported_telegram +msgid "Supported Telegram" +msgstr "Telegram Compatible" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Telegram Type" +msgstr "Tipo de Telegram" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/models/base_wamas_ubl.py:0 +#, python-format +msgid "The data is not valid." +msgstr "Los datos no son válidos." + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "This wizard will help you extract data of a WAMAS file into:" +msgstr "Este asistente le ayudará a extraer los datos de un archivo WAMAS en:" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "" +"This wizard will help you generate (simulating) a new WAMAS file from an " +"existing WAMAS file." +msgstr "" +"Este asistente le ayudará a generar (simular) un nuevo archivo WAMAS a " +"partir de un archivo WAMAS existente." + +#. module: base_wamas_ubl +#: model:ir.ui.menu,name:base_wamas_ubl.menu_wamas_parent +msgid "WAMAS" +msgstr "WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__wamas_file +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__wamas_file +msgid "WAMAS File" +msgstr "Archivo WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__wamas_filename +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__wamas_filename +msgid "WAMAS Filename" +msgstr "Nombre de archivo WAMAS" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "WAMAS Type" +msgstr "Tipo WAMAS" + +#, python-format +#~ msgid "- Error: Length of line does not match expected length" +#~ msgstr "" +#~ "- Error: La longitud de la línea no coincide con la longitud esperada" + +#, python-format +#~ msgid "" +#~ "- WAMAS Type: %(wamas_type)s\n" +#~ "- Telegram Type: %(telegram_type)s\n" +#~ "- Data: %(data)s\n" +#~ " " +#~ msgstr "" +#~ "- Tipo WAMAS: %(wamas_type)s\n" +#~ "- Tipo de telegrama: %(telegram_type)s\n" +#~ "- Datos: %(data)s\n" +#~ " " + +#, python-format +#~ msgid "Please define telegram_type." +#~ msgstr "Por favor, defina telegram_type." diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/i18n/it.po b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/i18n/it.po new file mode 100644 index 0000000..fab48a9 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/i18n/it.po @@ -0,0 +1,215 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_wamas_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-23 12:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py:0 +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.py:0 +#, python-format +msgid "- Error: %s" +msgstr "- Errore: %s" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py:0 +#, python-format +msgid "" +"- WAMAS Type: %(wamas_type)s\n" +"- Data: %(data)s" +msgstr "" +"- Tipo WAMAS : %(wamas_type)s\n" +"- Dati: %(data)s" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Cancel" +msgstr "Annulla" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Check" +msgstr "Controllo" + +#. module: base_wamas_ubl +#: model:ir.actions.act_window,name:base_wamas_ubl.wamas_ubl_wiz_check_action +#: model:ir.ui.menu,name:base_wamas_ubl.wamas_ubl_wiz_check_menu +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Check WAMAS File" +msgstr "Controllo file WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_wamas_ubl_wiz_check +msgid "Check WAMAS File Wizard" +msgstr "Procedura guidata controllo file WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__create_uid +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__create_date +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Data" +msgstr "Dati" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__display_name +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__id +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__id +msgid "ID" +msgstr "ID" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check____last_update +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__write_uid +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__write_date +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_base_wamas_ubl +msgid "Methods to convert WAMAS to UBL XML files and vice versa" +msgstr "Metodi per convertire WAMAS in file XML UBL e vice versa" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Only supports FROM telegram type TO telegram type(s) bellow:" +msgstr "Supporta solo DA tipo telegramma A tipo(i) telegramma sottostanti:" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Only supports telegram type(s) bellow:" +msgstr "Supporta solo tipo(i) telegramma sottostante:" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__output +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output +msgid "Output" +msgstr "Output" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output_wamas_file +msgid "Output WAMAS File" +msgstr "File output WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__output_wamas_filename +msgid "Output WAMAS Filename" +msgstr "Nome file output WAMAS" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/models/base_wamas_ubl.py:0 +#, python-format +msgid "Please define wamas message type (msg_type)." +msgstr "Definire il tipo messaggio WAMAS (msg_type)." + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Simulate" +msgstr "Simula" + +#. module: base_wamas_ubl +#: model:ir.actions.act_window,name:base_wamas_ubl.wamas_ubl_wiz_simulate_action +#: model:ir.ui.menu,name:base_wamas_ubl.wamas_ubl_wiz_simulate_menu +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "Simulate WAMAS File" +msgstr "Simula file WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model,name:base_wamas_ubl.model_wamas_ubl_wiz_simulate +msgid "Simulate WAMAS File Wizard" +msgstr "Procedura guidata simulazione file WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__supported_telegram +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__supported_telegram +msgid "Supported Telegram" +msgstr "Telegramma supportato" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "Telegram Type" +msgstr "Tipo telegramma" + +#. module: base_wamas_ubl +#. odoo-python +#: code:addons/base_wamas_ubl/models/base_wamas_ubl.py:0 +#, python-format +msgid "The data is not valid." +msgstr "I dati non sono validi." + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "This wizard will help you extract data of a WAMAS file into:" +msgstr "Questa procedura guidata aiuta nell'estrarre dati di un file WAMAS in:" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_simulate_form +msgid "" +"This wizard will help you generate (simulating) a new WAMAS file from an " +"existing WAMAS file." +msgstr "" +"Questa procedura guidata aiuta a generare (simulando) un nuovo file WAMAS da " +"un file WAMAS esistente." + +#. module: base_wamas_ubl +#: model:ir.ui.menu,name:base_wamas_ubl.menu_wamas_parent +msgid "WAMAS" +msgstr "WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__wamas_file +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__wamas_file +msgid "WAMAS File" +msgstr "File WAMAS" + +#. module: base_wamas_ubl +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_check__wamas_filename +#: model:ir.model.fields,field_description:base_wamas_ubl.field_wamas_ubl_wiz_simulate__wamas_filename +msgid "WAMAS Filename" +msgstr "Nome file WAMAS" + +#. module: base_wamas_ubl +#: model_terms:ir.ui.view,arch_db:base_wamas_ubl.wamas_ubl_wiz_check_form +msgid "WAMAS Type" +msgstr "Tipo WAMAS" diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/dict2wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/dict2wamas new file mode 100755 index 0000000..27b614b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/dict2wamas @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.dict2wamas $* diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/generate_sample_results b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/generate_sample_results new file mode 100755 index 0000000..764ce8a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/generate_sample_results @@ -0,0 +1,8 @@ +#!/usr/bin/sh +./ubl2wamas ../tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE.xml -o ../tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP.wamas -t Picking +./ubl2wamas ../tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP-DESPATCH_ADVICE.xml -o ../tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP.wamas -t Reception +./ubl2wamas ../tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP-DESPATCH_ADVICE.xml -o ../tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP.wamas -t Return + +./wamas2ubl ../tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ.wamas -o ../tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ-DESPATCH_ADVICE.xml +./wamas2ubl ../tests/samples/WAMAS2UBL-SAMPLE_WEAKQ_WEAPQ.wamas -o ../tests/samples/WAMAS2UBL-SAMPLE_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml +./wamas2ubl ../tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ.wamas -o ../tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ-DESPATCH_ADVICE.xml diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_dict2wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_dict2wamas new file mode 100755 index 0000000..8043eca --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_dict2wamas @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.tests.test_dict2wamas diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_ubl2wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_ubl2wamas new file mode 100755 index 0000000..d5e4d28 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_ubl2wamas @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.tests.test_ubl2wamas diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_utils b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_utils new file mode 100755 index 0000000..978e92d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_utils @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.tests.test_utils diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2dict new file mode 100755 index 0000000..0a2e164 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2dict @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.tests.test_wamas2dict diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2ubl b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2ubl new file mode 100755 index 0000000..01cce44 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2ubl @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.tests.test_wamas2ubl diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2wamas new file mode 100755 index 0000000..bb757b8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/test_wamas2wamas @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.tests.test_wamas2wamas diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/ubl2wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/ubl2wamas new file mode 100755 index 0000000..14dbe19 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/ubl2wamas @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.ubl2wamas $* diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/__init__.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/const.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/const.py new file mode 100644 index 0000000..c870010 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/const.py @@ -0,0 +1,183 @@ +from .wamas_grammar import ( + art, + arte, + artean, + ausk, + auskq, + ausp, + auspq, + bkorr, + kretk, + kretkq, + kretp, + kretpq, + kst, + kstaus, + lba, + lbabq, + lbaeq, + lbamq, + lst, + watekq, + watepq, + weak, + weakq, + weap, + weapq, +) + +## +# WAMAS CONST +## + +DEFAULT_TIMEZONE = "Europe/Zurich" +SYSTEM_WAMAS = "WAMAS" +SYSTEM_ERP = "ODOO" + +## +# WAMAS FORMAT SPECS +## + +TELEGRAM_HEADER_GRAMMAR = { + "Telheader_Quelle": 10, + "Telheader_Ziel": 10, + "Telheader_TelSeq": 6, + "Telheader_AnlZeit": 14, + "Satzart": 9, +} + +DICT_DETECT_WAMAS_TYPE = { + "ART": "Product", + "AUSK": "Picking", + "AUSKQ": "PickingResponse", + "AUSPQ": "PickingResponse", + "KRETK": "Return", + "KRETKQ": "ReturnResponse", + "KST": "Customer", + "LST": "Supplier", + "WATEKQ": "PickingResponse", + "WEAK": "Reception", + "WEAKQ": "ReceptionResponse", + "BKORR": "InventoryCorrection", + "LBABQ": "InventoryResponse", + "LBAMQ": "InventoryResponse", +} + +## +# WAMAS GRAMMAR +## + +DICT_WAMAS_GRAMMAR = { + "ART": art.grammar, + "ARTE": arte.grammar, + "ARTEAN": artean.grammar, + "AUSK": ausk.grammar, + "AUSP": ausp.grammar, + "BKORR": bkorr.grammar, + "KRETK": kretk.grammar, + "KRETP": kretp.grammar, + "WEAK": weak.grammar, + "WEAP": weap.grammar, + "AUSKQ": auskq.grammar, + "AUSPQ": auspq.grammar, + "KRETKQ": kretkq.grammar, + "KRETPQ": kretpq.grammar, + "KST": kst.grammar, + "KSTAUS": kstaus.grammar, + "LBA": lba.grammar, + "LBABQ": lbabq.grammar, + "LBAEQ": lbaeq.grammar, + "LBAMQ": lbamq.grammar, + "LST": lst.grammar, + "WATEKQ": watekq.grammar, + "WATEPQ": watepq.grammar, + "WEAKQ": weakq.grammar, + "WEAPQ": weapq.grammar, +} + +## +# WAMAS TO UBL +## + +LST_TELEGRAM_TYPE_IGNORE_W2D = ["TOURQ", "TAUSPQ"] + +DICT_UBL_TEMPLATE = { + "ReceptionResponse": "ubl_template/reception.xml", + "ReturnResponse": "ubl_template/return.xml", + "PickingResponse": "ubl_template/picking.xml", +} + +## +# DICT TO WAMAS +## + +SUPPORTED_DICT_TO_WAMAS = { + "Product": ["ART"], # "ARTE", "ARTEAN"], + "Packaging": ["ARTE"], + "Barcode": ["ARTEAN"], + "Customer": ["KST"], # "KSTAUS"], + "CustomerDeliveryPreferences": ["KSTAUS"], + "Supplier": ["LST"], +} + +## +# UBL TO WAMAS +## + +SUPPORTED_UBL_TO_WAMAS = { + "Reception": ["WEAK", "WEAP"], + "Picking": ["AUSK", "AUSP"], + "Return": ["KRETK", "KRETP"], +} + +LST_TELEGRAM_TYPE_SUPPORT_D2W = [ + "ART", + "ARTE", + "ARTEAN", + "WEAK", + "WEAP", + "AUSK", + "AUSP", + "BKORR", + "KRETK", + "KRETP", + "KST", + "KSTAUS", + "LBA", + "LBABQ", + "LBAMQ", + "LBAEQ", + "LST", +] + + +## +# WAMAS TO WAMAS +## + +LST_VALID_TELEGRAM_IN = [ + "AUSK", + "AUSP", + "KRETK", + "KRETP", + "WATEK", + "WATEP", + "WEAK", + "WEAP", +] + + +DICT_CONVERT_WAMAS_TYPE = { + "AUSK": ["AUSKQ", "WATEKQ"], + "AUSP": ["AUSPQ", "WATEPQ"], + "KRETK": ["KRETKQ"], + "KRETP": ["KRETPQ"], + "WEAK": ["WEAKQ"], + "WEAP": ["WEAPQ"], +} + + +DICT_PARENT_KEY = {"WATEKQ": ["IvTek_TeId"]} + + +DICT_CHILD_KEY = {"WATEPQ": {"IvTep_TeId": "IvTek_TeId"}} diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/dict2wamas.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/dict2wamas.py new file mode 100644 index 0000000..e530f12 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/dict2wamas.py @@ -0,0 +1,102 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import argparse +import logging +from ast import literal_eval +from pprint import pformat + +from freezegun import freeze_time + +from . import const, utils + +_logger = logging.getLogger("json2wamas") + +SUPPORTED_TYPES = list(const.SUPPORTED_DICT_TO_WAMAS.keys()) + + +def dict2list(dict_input, msg_type): + res = [] + + if msg_type not in SUPPORTED_TYPES: + raise Exception("Invalid document type: %s" % msg_type) + + line_idx = 0 + for telegram_type in const.SUPPORTED_DICT_TO_WAMAS[msg_type]: + grammar = const.DICT_WAMAS_GRAMMAR[telegram_type] + # Special case for `KSTAUS` + if telegram_type == "KSTAUS": + # 1 line for `KstAus_LagIdKom = kMEZ` + line_idx += 1 + dict_input["picking_zone"] = "kMEZ" + line = utils.generate_wamas_dict( + dict_input, + grammar, + line_idx=line_idx, + ) + res.append(line) + # 1 line for `KstAus_LagIdKom = kPAR` + line_idx += 1 + dict_input["picking_zone"] = "kPAR" + line = utils.generate_wamas_dict( + dict_input, + grammar, + line_idx=line_idx, + ) + res.append(line) + else: + line_idx += 1 + line = utils.generate_wamas_dict( + dict_input, + grammar, + line_idx=line_idx, + ) + res.append(line) + return res + + +def dict2wamas(dict_input, msg_type): + lst_of_wamas_dicts = dict2list(dict_input, msg_type) + wamas = "\n".join(utils.wamas_dict2line(d) for d in lst_of_wamas_dicts) + _logger.debug(lst_of_wamas_dicts) + return wamas + + +@freeze_time("2024-02-11 22:14:22") +def main(): + parser = argparse.ArgumentParser( + description="Converts JSON document into message.", + ) + parser.add_argument("-v", "--verbose", action="store_true", help="enable debug log") + parser.add_argument( + "-f", + "--format", + default="wamas", + choices=["dict", "wamas"], + help="result format", + ) + parser.add_argument( + "-t", "--type", required=True, choices=SUPPORTED_TYPES, help="type of document" + ) + parser.add_argument( + "-o", "--output", dest="outputfile", help="write result in this file" + ) + parser.add_argument("inputfile", help="read message from this file") + args = parser.parse_args() + if args.verbose: + logging.basicConfig(level=logging.DEBUG) + infile = utils.file_open(args.inputfile).read() + infile = literal_eval(infile) + if args.format == "dict": + res = pformat(dict2list(infile, args.type)) + else: + res = dict2wamas(infile, args.type) + if args.outputfile: + fd = utils.file_open(args.outputfile, "w") + fd.write(res) + else: + print(res) # pylint: disable=print-used + + +if __name__ == "__main__": + main() diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/miniqweb.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/miniqweb.py new file mode 100644 index 0000000..cdd28e7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/miniqweb.py @@ -0,0 +1,231 @@ +""" +Extracted from QWeb Framework v0.7 + +https://github.com/antonylesuisse/qweb/blob/master/qweb_python/qweb/qweb.py + +License +------- +Public domain. +""" + +import logging +import xml.dom +import xml.dom.minidom + +_logger = logging.getLogger("miniqweb") + + +# ---------------------------------------------------------- +# Qweb Xml t-raw t-if t-foreach t-set t-trim +# ---------------------------------------------------------- +class QWebEval: + def __init__(self, data): + self.data = data + + def __getitem__(self, expr): + if expr in self.data: + return self.data[expr] + r = None + try: + r = eval(expr, self.data) # pylint: disable=W0123 + except NameError: + _logger.debug("qweb: name error") + except AttributeError: + _logger.debug("qweb: attribute error") + except Exception as e: + _logger.debug("qweb: expression error '%s' " % expr, e) + if "__builtins__" in self.data: + del self.data["__builtins__"] + return r + + def eval_object(self, expr): + return self[expr] + + def eval_str(self, expr): + if expr == "0": + return self.data[0] + return str(self[expr]) + + def eval_format(self, expr): + try: + return str(expr % self) + except Exception: + return "qweb: format error '%s' " % expr + + def eval_bool(self, expr): + if self.eval_object(expr): + return 1 + else: + return 0 + + +class QWebXml: + """QWeb Xml templating engine + + The templating engine use a very simple syntax, "magic" xml attributes, to + produce any kind of texutal output (even non-xml). + + QWebXml: + the template engine core implements the basic magic attributes: + + t-att t-raw t-if t-foreach t-set t-trim + + """ + + def __init__(self, x=None): + self.node = xml.dom.Node + self._t = {} + self._render_tag = {} + prefix = "render_tag_" + for i in [j for j in dir(self) if j.startswith(prefix)]: + name = i[len(prefix) :].replace("_", "-") + self._render_tag[name] = getattr(self.__class__, i) + + self._render_att = {} + prefix = "render_att_" + for i in [j for j in dir(self) if j.startswith(prefix)]: + name = i[len(prefix) :].replace("_", "-") + self._render_att[name] = getattr(self.__class__, i) + + if x is not None: + self.add_template(x) + + def register_tag(self, tag, func): + self._render_tag[tag] = func + + def add_template(self, x): + dom = xml.dom.minidom.parseString(x) + self._t = dom + + def eval_object(self, expr, v): + return QWebEval(v).eval_object(expr) + + def eval_str(self, expr, v): + return QWebEval(v).eval_str(expr) + + def eval_format(self, expr, v): + return QWebEval(v).eval_format(expr) + + def eval_bool(self, expr, v): + return QWebEval(v).eval_bool(expr) + + def render(self, v, out=None): + return self.render_node(self._t.childNodes[0], v) + + def render_node(self, e, v): + r = "" + if ( + e.nodeType == self.node.TEXT_NODE + or e.nodeType == self.node.CDATA_SECTION_NODE + ): + r = e.data + elif e.nodeType == self.node.ELEMENT_NODE: + pre = "" + g_att = "" + t_render = None + t_att = {} + for an, av in e.attributes.items(): + if an.startswith("t-"): + for i in self._render_att: + if an[2:].startswith(i): + g_att += self._render_att[i](self, e, an, av, v) + break + else: + if an[2:] in self._render_tag: + t_render = an[2:] + t_att[an[2:]] = av + else: + g_att += ' {}="{}"'.format(an, av) + if t_render: + if t_render in self._render_tag: + r = self._render_tag[t_render](self, e, t_att, g_att, v) + else: + r = self.render_element(e, g_att, v, pre, t_att.get("trim", 0)) + return r + + def render_element(self, e, g_att, v, pre="", trim=0): + g_inner = [] + for n in e.childNodes: + g_inner.append(self.render_node(n, v)) + name = str(e.nodeName) + inner = "".join(g_inner) + if trim == 0: + pass + elif trim == "left": + inner = inner.lstrip() + elif trim == "right": + inner = inner.rstrip() + elif trim == "both": + inner = inner.strip() + if name == "t": + return inner + elif len(inner): + return "<{}{}>{}{}".format(name, g_att, pre, inner, name) + else: + return "<{}{}/>".format(name, g_att) + + # Attributes + def render_att_att(self, e, an, av, v): + if an.startswith("t-attf-"): + att, val = an[7:], self.eval_format(av, v) + elif an.startswith("t-att-"): + att, val = (an[6:], self.eval_str(av, v)) + else: + att, val = self.eval_object(av, v) + return ' {}="{}"'.format(att, val) + + # Tags + def render_tag_raw(self, e, t_att, g_att, v): + return self.eval_str(t_att["raw"], v) + + def render_tag_rawf(self, e, t_att, g_att, v): + return self.eval_format(t_att["rawf"], v) + + def render_tag_foreach(self, e, t_att, g_att, v): + expr = t_att["foreach"] + enum = self.eval_object(expr, v) + if enum is not None: + var = t_att.get("as", expr).replace(".", "_") + d = v.copy() + size = -1 + if isinstance(enum, (list, tuple)): + size = len(enum) + elif hasattr(enum, "count"): + size = enum.count() + d["%s_size" % var] = size + d["%s_all" % var] = enum + index = 0 + ru = [] + for i in enum: + d["%s_value" % var] = i + d["%s_index" % var] = index + d["%s_first" % var] = index == 0 + d["%s_even" % var] = index % 2 + d["%s_odd" % var] = (index + 1) % 2 + d["%s_last" % var] = index + 1 == size + if index % 2: + d["%s_parity" % var] = "odd" + else: + d["%s_parity" % var] = "even" + if isinstance(i, dict): + d.update(i) + else: + d[var] = i + ru.append(self.render_element(e, g_att, d)) + index += 1 + return "".join(ru) + else: + return "qweb: t-foreach %s not found." % expr + + def render_tag_if(self, e, t_att, g_att, v): + if self.eval_bool(t_att["if"], v): + return self.render_element(e, g_att, v) + else: + return "" + + def render_tag_set(self, e, t_att, g_att, v): + if "eval" in t_att: + v[t_att["set"]] = self.eval_object(t_att["eval"], v) + else: + v[t_att["set"]] = self.render_element(e, g_att, v) + return "" diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/structure.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/structure.py new file mode 100644 index 0000000..724e0e2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/structure.py @@ -0,0 +1,25 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import logging + +_logger = logging.getLogger("wamas") + + +class obj: + def __init__(self, d): + for k, v in d.items(): + if isinstance(v, (list, tuple)): + setattr(self, k, [obj(x) if isinstance(x, dict) else x for x in v]) + else: + setattr(self, k, obj(v) if isinstance(v, dict) else v) + + +class MappingDict(dict): + """ + A dict that returns the key if there's no corresponding value + """ + + def __missing__(self, key): + _logger.debug("No mapping found for key: %s", key) + return key diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/__init__.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE.xml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE.xml new file mode 100644 index 0000000..93ccce4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE.xml @@ -0,0 +1,94 @@ + + + 2.2 + 1673980/1700802 + + 2023-04-30 + + 1700802 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + YourCompany + + + 250 Executive Park Blvd, Suite 3400 + AdditionalStreetName_1 + Department_1 + San Francisco + 94134 + California + + US + + + + + + + + + + + Chester Reed + (979)-904-8902 + + chester.reed79@example.com + + + + + GE 2/120185 + + + 2023-04-13 + 11:00:00 + + + + Quai-22 + + + + + + 10001 + 1500 + + 000011 + + + + 7076 + + + + diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE2.xml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE2.xml new file mode 100644 index 0000000..faadd23 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE2.xml @@ -0,0 +1,108 @@ + + + 2.2 + WH/PICK/1700802 + + 2023-04-30 + + SO1700802 + + + + + YourCompany + + + 250 Executive Park Blvd, Suite 3400 + San Francisco + 94134 + California + + US + + + + + + + + + + + Chester Reed + (979)-904-8902 + + chester.reed79@example.com + + + + + + + Name + + + StreetName + Department + AdditionalStreetName + San Francisco + 94134 + California + + US + + + + + + + + + + + + (979)-904-8902 + + chester.reed79@example.com + + + + + GE 2/120185 + + + 2023-04-13 + 11:00:00 + + + + Quai-22 + + + + + + 10001 + 1500 + + + + + + 7076 + + + + + 10002 + 50 + + + + + + 5225 + + + + diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP.wamas new file mode 100644 index 0000000..313cb7d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP.wamas @@ -0,0 +1,3 @@ +ODOO WAMAS 00000120230501020000AUSK00056000WH/PICK/1700802 ODOO SO1700802 000 Name Department StreetName AdditionalStreetName 94134 San Francisco (979)-904-8902 Name Department StreetName AdditionalStreetName 94134 San Francisco California US (979)-904-8902 chester.reed79@example.com 20230413130000Quai-22 FRUEH FRUEHGE 2/120185 ODOO 00000000000000000000000000 CAM 001 ST Def_Strat +ODOO WAMAS 00000220230501020000AUSP00054000WH/PICK/1700802 ODOO 0100010007076 00000 DISPONIBLE 0000000000000000000000000000 000001500000PET 00000000000000 NN N 0000N +ODOO WAMAS 00000320230501020000AUSP00054000WH/PICK/1700802 ODOO 0100020005225 00000 DISPONIBLE 0000000000000000000000000000 000000050000BOUT 00000000000000 NN N 0000N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP-DESPATCH_ADVICE.xml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP-DESPATCH_ADVICE.xml new file mode 100644 index 0000000..cf68081 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP-DESPATCH_ADVICE.xml @@ -0,0 +1,135 @@ + + + 2.2 + WH/IN-RET/000235 + + 2023-05-01 + + SO001243 + 2023-04-27 + + + 1040 + + + MyCompany + + + StreetName + Department + AdditionalStreetName + Turlock + 95380 + California + + US + + + + (623)-853-7197 + + wood.corner26@example.com + + + + + + + YourCompany + + + 250 Executive Park Blvd, Suite 3400 + AdditionalStreetName_1 + Department_1 + San Francisco + 94134 + California + + US + + + + + + + + + + + Chester Reed + (979)-904-8902 + + chester.reed79@example.com + + + + + 130377 + + + 2023-05-01 + 14:00:00 + + + + + 0001 + 1536 + + + + + + 1151 + + + + + 0002 + 5184 + + + + + + 1156 + + + + + 0003 + 3840 + + 0003 + + + + 1160 + + + + + 0004 + 3072 + + + + + + 1162 + + + + + 0005 + 3024 + + + + + + 1176 + + + + diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP.wamas new file mode 100644 index 0000000..a0ebc13 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_KRETK_KRETP.wamas @@ -0,0 +1,6 @@ +ODOO WAMAS 00000120230501020000KRETK0051000WH/IN-RET/000235 ODOO SO001243 RETCLI0001040 MyCompany Department StreetName AdditionalStreetName 95380 Turlock US (623)-853-7197 wood.corner26@example.com SF-EM-RETCLI 20230501160000 +ODOO WAMAS 00000220230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000010001151 00000DISPONIBLE 000001536000BOUT N +ODOO WAMAS 00000320230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000020001156 00000DISPONIBLE 000005184000PET N +ODOO WAMAS 00000420230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000030001160 00000DISPONIBLE 000003840000BOUT N +ODOO WAMAS 00000520230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000040001162 00000DISPONIBLE 000003072000PET N +ODOO WAMAS 00000620230501020000KRETP0046000WH/IN-RET/000235 ODOO SO001243 0000050001176 00000DISPONIBLE 000003024000PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP-DESPATCH_ADVICE.xml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP-DESPATCH_ADVICE.xml new file mode 100644 index 0000000..dc57e00 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP-DESPATCH_ADVICE.xml @@ -0,0 +1,152 @@ + + + 2.2 + WH/IN/000377 + + 2023-05-01 + + PO001040 + 2023-04-27 + + + 1040 + + + MyCompany + + + StreetName + Department + AdditionalStreetName + Turlock + 95380 + California + + US + + + + (623)-853-7197 + + wood.corner26@example.com + + + + + + + YourCompany + + + 250 Executive Park Blvd, Suite 3400 + San Francisco + 94134 + California + + US + + + + + + + + + + + Chester Reed + (979)-904-8902 + + chester.reed79@example.com + + + + + 130377 + + + 2023-05-02 + 15:00:00 + + + 2023-05-01 + 14:00:00 + + + + + 0001 + 1536 + + + + + + 1151 + + + 7910063 + + + + + 0002 + 5184 + + + + + + 1156 + + + 7910105 + + + + + 0003 + 3840 + + + + + + 1160 + + + 7910004 + + + + + 0004 + 3072 + + + + + + 1162 + + + 12156876 + + + + + 0005 + 3024 + + + + + + 1176 + + + 7910044 + + + + diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP.wamas new file mode 100644 index 0000000..afecf08 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/UBL2WAMAS-SAMPLE_WEAK_WEAP.wamas @@ -0,0 +1,6 @@ +ODOO WAMAS 00000120230501020000WEAK00050000WH/IN/000377 ODOO PO001040 STDMAN0001040 MyCompany Department StreetName AdditionalStreetName 95380 Turlock US (623)-853-7197 wood.corner26@example.com 20230502170000 +ODOO WAMAS 00000220230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000010001151 00000 NDISPONIBLE 000001536000BOUT NORMAL 20230501020000 202305011600007910063 NNLG +ODOO WAMAS 00000320230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000020001156 00000 NDISPONIBLE 000005184000PET NORMAL 20230501020000 202305011600007910105 NNLG +ODOO WAMAS 00000420230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000030001160 00000 NDISPONIBLE 000003840000BOUT NORMAL 20230501020000 202305011600007910004 NNLG +ODOO WAMAS 00000520230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000040001162 00000 NDISPONIBLE 000003072000PET NORMAL 20230501020000 2023050116000012156876 NNLG +ODOO WAMAS 00000620230501020000WEAP00045000WH/IN/000377 ODOO PO001040 0000050001176 00000 NDISPONIBLE 000003024000XBO NORMAL 20230501020000 202305011600007910044 NNLG \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ-DESPATCH_ADVICE.xml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ-DESPATCH_ADVICE.xml new file mode 100644 index 0000000..deb5595 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ-DESPATCH_ADVICE.xml @@ -0,0 +1,162 @@ + + 2.2 + 1673982/1701778 + 2023-05-01 + + 1673982/1701778 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4009542 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GE 2/120185 + + + + + + 376401426411929180 + + PE + + + 314.7 + + + 101 + + 7.0 + + + + + + + + + + + 15455 + + + + + + + + + 376401426411929180 + + PE + + + 314.7 + + + 102 + + 8.0 + + + + + + + + + + + 15455 + + + + + + + + + 376401426411929180 + + PE + + + 314.7 + + + 103 + + 0.0 + + + + + + + + + + + 15455 + + + + + + \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ.wamas new file mode 100644 index 0000000..9e97c5c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ.wamas @@ -0,0 +1,5 @@ +WAMAS ODOO 00005620230413110200AUSKQ00520001673982/1701778 HOST 1673982/1701778 0004009542 202304140000002023041305252320230413110128GE 2/120185 HOST +WAMAS ODOO 00000120230413110200WATEKQ054376401426411929180QUAI-22 000000000000000000000000 0000GE 2/120185 HOST PE 000740ST9016000000314700 +WAMAS ODOO 00000220230413110200WATEPQ050 20240413 12 eCAM 008610 NN20240413000001TETRA 0001673982/1701778 HOST 00010100015455 00000000000007000000000000000DISPONIBLE 376401426411929180 +WAMAS ODOO 00000320230413110200WATEPQ050 20240413 12 eCAM 008610 NN20240413000001TETRA 0001673982/1701778 HOST 00010200015455 00000000000008000000000000000DISPONIBLE 376401426411929180 +WAMAS ODOO 00000420230413110200WATEPQ050 20240413 12 eCAM 008610 NN20240413000001TETRA 0001673982/1701778 HOST 00010300015455 00000000000000000000000000000DISPONIBLE 376401426411929180 diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml new file mode 100644 index 0000000..cd3bc2e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml @@ -0,0 +1,169 @@ + + 2.2 + ABCDE/IN/00424 + 2023-05-01 + + 000185 + + + 1069 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2025-01-14 + 12:13:23 + + + + + 1 + 100.0 + + + + + + 99098 2 + + + + + + 2.2 + ABCDE/IN/00409 + 2023-05-01 + + 000176 + + + 1069 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2025-01-14 + 12:13:23 + + + + + 1 + 114.0 + + + + + + 12766 + + + + 1 + 115.0 + + + + + + 12766 + + + + \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ.wamas new file mode 100644 index 0000000..cd2b883 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ.wamas @@ -0,0 +1,4 @@ +WAMAS ODOO 00000720250114132733WEAKQ0051000212712 ODOO 20250114070918 19700101010000202501140710472025011413132320250114070939 0001069 +WAMAS ODOO 00000820250114132733WEAPQ0050000212712 000ABCDE/IN/00424 ODOO 000185 0000019623 00099098 2 00000DISPONIBLE 000000100000000000000000 BOUT 19700101 12 eCAM 173980 N +WAMAS ODOO 00000920250114132733WEAPQ0050000212712 000ABCDE/IN/00409 ODOO 000176 0000019623 00012766 00000DISPONIBLE 000000114000000000000000 BOUT 19700101 12 eCAM 173970 N +WAMAS ODOO 00001020250114132733WEAPQ0050000212712 000ABCDE/IN/00409 ODOO 000176 0000019623 00012766 00000DISPONIBLE 000000115000000000000000 BOUT 19700101 12 eCAM 173970 N diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ-DESPATCH_ADVICE.xml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ-DESPATCH_ADVICE.xml new file mode 100644 index 0000000..b786fe0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ-DESPATCH_ADVICE.xml @@ -0,0 +1,202 @@ + + 2.2 + 1683399 + 2023-05-01 + + 1712149 + + + 4026234 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2023-05-10 + 09:54:47 + + + + + 10 + 108.0 + + + + + + 1172 + + + + 20 + 36.0 + + + + + + 1272 + + + + 30 + 48.0 + + + + + + 16076 + + + + 40 + 72.0 + + + + + + 22876 + + + + 50 + 60.0 + + + + + + 25676 + + + + + + 2.2 + 1683288 + 2023-05-01 + + 1711980 + + + 4007720 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2023-05-10 + 09:57:14 + + + + + 10 + 144.0 + + + + + + 8060 + + + + \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ.wamas new file mode 100644 index 0000000..a4a7686 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ.wamas @@ -0,0 +1,8 @@ +WAMAS ODOO 00000120230510115944KRETKQ0500001683399 HOST 1712149 0004026234 202305101026402023051011102920230510115447 +WAMAS ODOO 00000220230510115944KRETPQ0500001683399 HOST 1712149 0000100001172 00000DISPONIBLE 000000108000000000000000 PET 19700101 +WAMAS ODOO 00000320230510115944KRETPQ0500001683399 HOST 1712149 0000200001272 00000DISPONIBLE 000000036000000000000000 PET 19700101 +WAMAS ODOO 00000420230510115944KRETPQ0500001683399 HOST 1712149 00003000016076 00000DISPONIBLE 000000048000000000000000 PET 19700101 +WAMAS ODOO 00000520230510115944KRETPQ0500001683399 HOST 1712149 00004000022876 00000DISPONIBLE 000000072000000000000000 PET 19700101 +WAMAS ODOO 00000620230510115944KRETPQ0500001683399 HOST 1712149 00005000025676 00000DISPONIBLE 000000060000000000000000 PET 19700101 +WAMAS ODOO 00000720230510115944KRETKQ0500001683288 HOST 1711980 0004007720 202305100810092023051011562820230510115714 +WAMAS ODOO 00000820230510115944KRETPQ0500001683288 HOST 1711980 0000100008060 00000DISPONIBLE 000000144000000000000000 BOUT 19700101 diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml new file mode 100644 index 0000000..11e3154 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml @@ -0,0 +1,123 @@ + + 2.2 + 130377 + 2023-05-01 + + + + + 1040 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2023-05-01 + 04:43:39 + + + + + 20 + 1536.0 + + + + + + 1151 + + + + 30 + 5184.0 + + + + + + 1156 + + + + 40 + 3840.0 + + + + + + 1160 + + + + 50 + 3072.0 + + + + + + 1162 + + + + 60 + 3024.0 + + + + + + 1176 + + + + \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ.wamas new file mode 100644 index 0000000..308828f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120230501065723WEAKQ0051000196241 HOST 20230501060217 19700101010000202305010609112023050106433920230501060221 0001040 +WAMAS ODOO 00000220230501065723WEAPQ0050000196241 000130377 HOST 00002045415 0001151 00000DISPONIBLE 000001536000000000000000 BOUT 19700101 12 eCAM 018090 N +WAMAS ODOO 00000320230501065723WEAPQ0050000196241 000130377 HOST 00003045415 0001156 00000DISPONIBLE 000005184000000000000000 PET 19700101 12 eCAM 018090 N +WAMAS ODOO 00000420230501065723WEAPQ0050000196241 000130377 HOST 00004045415 0001160 00000DISPONIBLE 000003840000000000000000 BOUT 19700101 12 eCAM 018090 N +WAMAS ODOO 00000520230501065723WEAPQ0050000196241 000130377 HOST 00005045415 0001162 00000DISPONIBLE 000003072000000000000000 PET 19700101 12 eCAM 018090 N +WAMAS ODOO 00000620230501065723WEAPQ0050000196241 000130377 HOST 00006045415 0001176 00000DISPONIBLE 000003024000000000000000 PET 19700101 12 eCAM 018090 N diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_input.dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_input.dict new file mode 100644 index 0000000..ed64273 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_input.dict @@ -0,0 +1,13 @@ +{ + "ref": "0001", + "name": "Adam Smith", + "street": "3273 Laurel Lane", + "street2": "", + "zip": "79782", + "city": "Sand Springs", + "state": "Texas", + "country_code": "US", + "phone": "432-393-1264", + "email": "aaa", + "street": "adam@dayrep.com", +} diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_input_2.dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_input_2.dict new file mode 100644 index 0000000..51f0dca --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_input_2.dict @@ -0,0 +1,6 @@ +{ + "ref": "223224", + "wamas_code": "PE/PP/RO", + "priority_sequence": 0, + "game_identifier": "N", +} diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_output.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_output.wamas new file mode 100644 index 0000000..0bc344c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_output.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120240211231422LST0000510000001 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_output_2.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_output_2.wamas new file mode 100644 index 0000000..9d5eafb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/dict2wamas_output_2.wamas @@ -0,0 +1,2 @@ +ODOO WAMAS 00000120240211231532KSTAUS050000223224 PE/PP/RO kMEZ 0 N +ODOO WAMAS 00000220240211231532KSTAUS050000223224 PE/PP/RO kPAR 0 N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEKQ_-_length_off_by_one_01.dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEKQ_-_length_off_by_one_01.dict new file mode 100644 index 0000000..1196719 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEKQ_-_length_off_by_one_01.dict @@ -0,0 +1,20 @@ +{'WATEKQ': [OrderedDict([('Telheader_Quelle', 'WAMAS'), + ('Telheader_Ziel', 'SYSLOG'), + ('Telheader_TelSeq', 1), + ('Telheader_AnlZeit', '20230413110200'), + ('Satzart', 'WATEKQ054'), + ('IvTek_TeId', '376401426411929180'), + ('IvTek_Pos_FeldId', 'QUAI-22'), + ('IvTek_Pos_Offs_L_X', 0), + ('IvTek_Pos_Offs_L_Y', 0), + ('IvTek_Pos_Offs_L_Z', 0), + ('IvTek_Stamm_TeId', ''), + ('AnzSubTe', 0), + ('IvTourp_TOUR_TourId_TourNr', 'GE 2/120185'), + ('IvTourp_TOUR_TourId_HostTourKz', 'HOST'), + ('IvTts_THM_ThmId', 'PE'), + ('IvTts_MaxLadeHoehe', 740), + ('IvTour_VAST_Versandart', 'ST'), + ('IvTourp_TOUR_TourId_IntLfdNr', 9016), + ('IvTek_GesGew', 314.7), + ('IvTourp_LiefSNr', '')])]} \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEKQ_-_length_off_by_one_01.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEKQ_-_length_off_by_one_01.wamas new file mode 100644 index 0000000..d66ba22 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEKQ_-_length_off_by_one_01.wamas @@ -0,0 +1 @@ +WAMAS SYSLOG 00000120230413110200WATEKQ054376401426411929180QUAI-22 000000000000000000000000 0000GE 2/120185 HOST PE 000740ST9016000000314700 \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_non_ascii.dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_non_ascii.dict new file mode 100644 index 0000000..d20ab2c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_non_ascii.dict @@ -0,0 +1,26 @@ +{'WATEPQ': [OrderedDict([('Telheader_Quelle', 'WAMAS'), + ('Telheader_Ziel', 'SYSLOG'), + ('Telheader_TelSeq', 24), + ('Telheader_AnlZeit', '20230413110200'), + ('Satzart', 'WATEPQ050'), + ('IvTep_MId_Charge', '2723041A鰰370150'), + ('IvTep_MId_MHD', '20250210'), + ('IvTep_MId_ResNr', ''), + ('IvTep_MId_WeNr', '12 eCAM 013370'), + ('IvTep_MId_ThmKz', 'N'), + ('IvTep_PrimThmKz', 'N'), + ('IvTep_FifoDatum', '20250210'), + ('IvTep_PosNr', 7), + ('IvArt_Bestand_Einheit', 'PET'), + ('IvArt_HOSTUNITS_HostEinh', ''), + ('IvAusp_UrAusId_Mand', '000'), + ('IvAusp_UrAusId_AusNr', '1673981/1700809'), + ('IvAusp_UrAusId_HostAusKz', 'HOST'), + ('IvAusp_HostPosNr', 61), + ('IvArt_AId_Mand', '000'), + ('IvArt_AId_ArtNr', '7055'), + ('IvArt_AId_Var', '00000'), + ('Mngs_Mng', 90.0), + ('Mngs_Gew', 0.0), + ('IvMatqk_HMATQ_HMatQ', 'DISPONIBLE'), + ('IvTep_TeId', '376401426411929081')])]} \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_non_ascii.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_non_ascii.wamas new file mode 100644 index 0000000..2f0b3d9 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_non_ascii.wamas @@ -0,0 +1 @@ +WAMAS SYSLOG 00002420230413110200WATEPQ0502723041A鰰370150 20250210 12 eCAM 013370 NN20250210000007PET 0001673981/1700809 HOST 0000610007055 00000000000090000000000000000DISPONIBLE 376401426411929081 diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_normal.dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_normal.dict new file mode 100644 index 0000000..a6f4a43 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_normal.dict @@ -0,0 +1,26 @@ +{'WATEPQ': [OrderedDict([('Telheader_Quelle', 'WAMAS'), + ('Telheader_Ziel', 'SYSLOG'), + ('Telheader_TelSeq', 11), + ('Telheader_AnlZeit', '20230413110200'), + ('Satzart', 'WATEPQ050'), + ('IvTep_MId_Charge', ''), + ('IvTep_MId_MHD', '20231231'), + ('IvTep_MId_ResNr', ''), + ('IvTep_MId_WeNr', '12 eCAM 014020'), + ('IvTep_MId_ThmKz', 'N'), + ('IvTep_PrimThmKz', 'N'), + ('IvTep_FifoDatum', '20231231'), + ('IvTep_PosNr', 10), + ('IvArt_Bestand_Einheit', 'PET'), + ('IvArt_HOSTUNITS_HostEinh', ''), + ('IvAusp_UrAusId_Mand', '000'), + ('IvAusp_UrAusId_AusNr', '1673982/1701778'), + ('IvAusp_UrAusId_HostAusKz', 'HOST'), + ('IvAusp_HostPosNr', 21), + ('IvArt_AId_Mand', '000'), + ('IvArt_AId_ArtNr', '1176'), + ('IvArt_AId_Var', '00000'), + ('Mngs_Mng', 30.0), + ('Mngs_Gew', 0.0), + ('IvMatqk_HMATQ_HMatQ', 'DISPONIBLE'), + ('IvTep_TeId', '376401426411929180')])]} \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_normal.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_normal.wamas new file mode 100644 index 0000000..7bee5b5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_normal.wamas @@ -0,0 +1 @@ +WAMAS SYSLOG 00001120230413110200WATEPQ050 20231231 12 eCAM 014020 NN20231231000010PET 0001673982/1701778 HOST 0000210001176 00000000000030000000000000000DISPONIBLE 376401426411929180 \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_weirdly_encoded_01.dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_weirdly_encoded_01.dict new file mode 100644 index 0000000..c121e15 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_weirdly_encoded_01.dict @@ -0,0 +1,21 @@ +{'WATEPQ': [{'IvArt_AId_ArtNr': '34155', + 'IvArt_AId_Mand': '000', + 'IvArt_AId_Var': '00000', + 'IvArt_Bestand_Einheit': 'PET', + 'IvArt_HOSTUNITS_HostEinh': '', + 'IvAusp_HostPosNr': '000131', + 'IvAusp_UrAusId_AusNr': '1673982/1701778', + 'IvAusp_UrAusId_HostAusKz': 'HOST', + 'IvAusp_UrAusId_Mand': '000', + 'IvMatqk_HMATQ_HMatQ': 'DISPONIBLE', + 'IvTep_FifoDatum': '20240202', + 'IvTep_MId_Charge': '6423033A370063', + 'IvTep_MId_MHD': '20240202', + 'IvTep_MId_ResNr': '', + 'IvTep_MId_ThmKz': 'N', + 'IvTep_MId_WeNr': '12 eCAM 012210', + 'IvTep_PosNr': '000011', + 'IvTep_PrimThmKz': 'N', + 'IvTep_TeId': '376401426411929180', + 'Mngs_Gew': '000000000000', + 'Mngs_Mng': '000000048000'}]} diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_weirdly_encoded_01.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_weirdly_encoded_01.wamas new file mode 100644 index 0000000..8e81aec --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/line_WATEPQ_-_weirdly_encoded_01.wamas @@ -0,0 +1 @@ +WAMAS SYSLOG 00001220230413110200WATEPQ0506423033A鰰��370063 20240202 12 eCAM 012210 NN20240202000011PET 0001673982/1701778 HOST 00013100034155 00000000000048000000000000000DISPONIBLE 376401426411929180 \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/picking.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/picking.wamas new file mode 100644 index 0000000..f87e191 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/picking.wamas @@ -0,0 +1,4 @@ +WAMAS SYSLOG 00000120230413110200WATEKQ054376401426411929180QUAI-22 000000000000000000000000 0000GE 2/120185 HOST PE 000740ST9016000000314700 +WAMAS SYSLOG 00001620230413110200WATEPQ050 20231030 12 eCAM 012630 NN20231030000015PET 0001673982/1701778 HOST 00015100053126 00000000000096000000000000000DISPONIBLE 376401426411929180 +WAMAS SYSLOG 00005620230413110200AUSKQ00520001673982/1701778 HOST 1701778 0004009542 202304140000002023041305252320230413110128GE 2/120185 HOST +WAMAS SYSLOG 00005720230413110200AUSPQ00510001673982/1701778 HOST 1701778 00001100022056 00000DISPONIBLE 000000048000000000000000 PET 19700101 N diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret.wamas new file mode 100644 index 0000000..df2d7ea --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret.wamas @@ -0,0 +1,6 @@ +ODOO WAMAS 00000120230501000000KRETK0051000130377 HOST STDMAN0001040 MyCompany 1839 Arbor Way California 95380 Turlock US (623)-853-7197 wood.corner26@example.com 20230427000000 +ODOO WAMAS 00000220230501000000KRETP0046000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000001536000BOUT N +ODOO WAMAS 00000320230501000000KRETP0046000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000005184000PET N +ODOO WAMAS 00000420230501000000KRETP0046000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000003840000BOUT N +ODOO WAMAS 00000520230501000000KRETP0046000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000003072000PET N +ODOO WAMAS 00000620230501000000KRETP0046000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000003024000PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret_nothing.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret_nothing.wamas new file mode 100644 index 0000000..df2d7ea --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret_nothing.wamas @@ -0,0 +1,6 @@ +ODOO WAMAS 00000120230501000000KRETK0051000130377 HOST STDMAN0001040 MyCompany 1839 Arbor Way California 95380 Turlock US (623)-853-7197 wood.corner26@example.com 20230427000000 +ODOO WAMAS 00000220230501000000KRETP0046000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000001536000BOUT N +ODOO WAMAS 00000320230501000000KRETP0046000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000005184000PET N +ODOO WAMAS 00000420230501000000KRETP0046000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000003840000BOUT N +ODOO WAMAS 00000520230501000000KRETP0046000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000003072000PET N +ODOO WAMAS 00000620230501000000KRETP0046000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000003024000PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret_partial.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret_partial.wamas new file mode 100644 index 0000000..df2d7ea --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_kret_partial.wamas @@ -0,0 +1,6 @@ +ODOO WAMAS 00000120230501000000KRETK0051000130377 HOST STDMAN0001040 MyCompany 1839 Arbor Way California 95380 Turlock US (623)-853-7197 wood.corner26@example.com 20230427000000 +ODOO WAMAS 00000220230501000000KRETP0046000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000001536000BOUT N +ODOO WAMAS 00000320230501000000KRETP0046000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000005184000PET N +ODOO WAMAS 00000420230501000000KRETP0046000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000003840000BOUT N +ODOO WAMAS 00000520230501000000KRETP0046000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000003072000PET N +ODOO WAMAS 00000620230501000000KRETP0046000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000003024000PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea.wamas new file mode 100644 index 0000000..02e8964 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea.wamas @@ -0,0 +1,6 @@ +SYSLOG WAMAS 00000120231220091116WEAK00050000130377 HOST STDMAN0001040 Nestl Waters Suisse SA Route de la Gare 1 Case postale 1525 Henniez +41 848 677 677 +41 26 668 68 68 customerservice.ch@waters.nestle.com 20230427000000 +SYSLOG WAMAS 00002020231220091116WEAP00045000130377 HOST 0000200001151 00000 NDISPONIBLE 000001536000BOUT NORMAL 20230501000000 202305010000007910063 NNLG +SYSLOG WAMAS 00003020231220091116WEAP00045000130377 HOST 0000300001156 00000 NDISPONIBLE 000005184000PET NORMAL 20230501000000 202305010000007910105 NNLG +SYSLOG WAMAS 00004020231220091116WEAP00045000130377 HOST 0000400001160 00000 NDISPONIBLE 000003840000BOUT NORMAL 20230501000000 202305010000007910004 NNLG +SYSLOG WAMAS 00005020231220091116WEAP00045000130377 HOST 0000500001162 00000 NDISPONIBLE 000003072000PET NORMAL 20230501000000 2023050100000012156876 NNLG +SYSLOG WAMAS 00006020231220091116WEAP00045000130377 HOST 0000600001176 00000 NDISPONIBLE 000003024000PET NORMAL 20230501000000 202305010000007910044 NNLG diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea_nothing.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea_nothing.wamas new file mode 100644 index 0000000..02e8964 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea_nothing.wamas @@ -0,0 +1,6 @@ +SYSLOG WAMAS 00000120231220091116WEAK00050000130377 HOST STDMAN0001040 Nestl Waters Suisse SA Route de la Gare 1 Case postale 1525 Henniez +41 848 677 677 +41 26 668 68 68 customerservice.ch@waters.nestle.com 20230427000000 +SYSLOG WAMAS 00002020231220091116WEAP00045000130377 HOST 0000200001151 00000 NDISPONIBLE 000001536000BOUT NORMAL 20230501000000 202305010000007910063 NNLG +SYSLOG WAMAS 00003020231220091116WEAP00045000130377 HOST 0000300001156 00000 NDISPONIBLE 000005184000PET NORMAL 20230501000000 202305010000007910105 NNLG +SYSLOG WAMAS 00004020231220091116WEAP00045000130377 HOST 0000400001160 00000 NDISPONIBLE 000003840000BOUT NORMAL 20230501000000 202305010000007910004 NNLG +SYSLOG WAMAS 00005020231220091116WEAP00045000130377 HOST 0000500001162 00000 NDISPONIBLE 000003072000PET NORMAL 20230501000000 2023050100000012156876 NNLG +SYSLOG WAMAS 00006020231220091116WEAP00045000130377 HOST 0000600001176 00000 NDISPONIBLE 000003024000PET NORMAL 20230501000000 202305010000007910044 NNLG diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea_partial.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea_partial.wamas new file mode 100644 index 0000000..02e8964 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_input_wea_partial.wamas @@ -0,0 +1,6 @@ +SYSLOG WAMAS 00000120231220091116WEAK00050000130377 HOST STDMAN0001040 Nestl Waters Suisse SA Route de la Gare 1 Case postale 1525 Henniez +41 848 677 677 +41 26 668 68 68 customerservice.ch@waters.nestle.com 20230427000000 +SYSLOG WAMAS 00002020231220091116WEAP00045000130377 HOST 0000200001151 00000 NDISPONIBLE 000001536000BOUT NORMAL 20230501000000 202305010000007910063 NNLG +SYSLOG WAMAS 00003020231220091116WEAP00045000130377 HOST 0000300001156 00000 NDISPONIBLE 000005184000PET NORMAL 20230501000000 202305010000007910105 NNLG +SYSLOG WAMAS 00004020231220091116WEAP00045000130377 HOST 0000400001160 00000 NDISPONIBLE 000003840000BOUT NORMAL 20230501000000 202305010000007910004 NNLG +SYSLOG WAMAS 00005020231220091116WEAP00045000130377 HOST 0000500001162 00000 NDISPONIBLE 000003072000PET NORMAL 20230501000000 2023050100000012156876 NNLG +SYSLOG WAMAS 00006020231220091116WEAP00045000130377 HOST 0000600001176 00000 NDISPONIBLE 000003024000PET NORMAL 20230501000000 202305010000007910044 NNLG diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret.wamas new file mode 100644 index 0000000..347cc86 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120231220091116KRETKQ050000130377 HOST 0001040 202304270000002023042708000020230427180000 +WAMAS ODOO 00000220231220091116KRETPQ050000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000001536000000000000000 BOUT 19700101 +WAMAS ODOO 00000320231220091116KRETPQ050000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000005184000000000000000 PET 19700101 +WAMAS ODOO 00000420231220091116KRETPQ050000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000003840000000000000000 BOUT 19700101 +WAMAS ODOO 00000520231220091116KRETPQ050000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000003072000000000000000 PET 19700101 +WAMAS ODOO 00000620231220091116KRETPQ050000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000003024000000000000000 PET 19700101 \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret_nothing.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret_nothing.wamas new file mode 100644 index 0000000..0719157 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret_nothing.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120231220091116KRETKQ050000130377 HOST 0001040 202304270000002023042708000020230427180000 +WAMAS ODOO 00000220231220091116KRETPQ050000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000000000000000000000000 BOUT 19700101 +WAMAS ODOO 00000320231220091116KRETPQ050000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000000000000000000000000 PET 19700101 +WAMAS ODOO 00000420231220091116KRETPQ050000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000000000000000000000000 BOUT 19700101 +WAMAS ODOO 00000520231220091116KRETPQ050000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000000000000000000000000 PET 19700101 +WAMAS ODOO 00000620231220091116KRETPQ050000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000000000000000000000000 PET 19700101 \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret_partial.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret_partial.wamas new file mode 100644 index 0000000..9157b41 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_kret_partial.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120231220091116KRETKQ050000130377 HOST 0001040 202304270000002023042708000020230427180000 +WAMAS ODOO 00000220231220091116KRETPQ050000130377 HOST 0000200001151 0000020001151 00000DISPONIBLE 000000001000000000000000 BOUT 19700101 +WAMAS ODOO 00000320231220091116KRETPQ050000130377 HOST 0000300001156 0000030001156 00000DISPONIBLE 000000001000000000000000 PET 19700101 +WAMAS ODOO 00000420231220091116KRETPQ050000130377 HOST 0000400001160 0000040001160 00000DISPONIBLE 000000001000000000000000 BOUT 19700101 +WAMAS ODOO 00000520231220091116KRETPQ050000130377 HOST 0000500001162 0000050001162 00000DISPONIBLE 000000001000000000000000 PET 19700101 +WAMAS ODOO 00000620231220091116KRETPQ050000130377 HOST 0000600001176 0000060001176 00000DISPONIBLE 000000001000000000000000 PET 19700101 \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea.wamas new file mode 100644 index 0000000..2eb5206 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120231220091116WEAKQ0051000130377 HOST 19700101010000 19700101010000 20231220091116 0001040 +WAMAS ODOO 00000220231220091116WEAPQ0050000130377 000130377 HOST 000020 0001151 00000DISPONIBLE 000001536000000000000000 BOUT N +WAMAS ODOO 00000320231220091116WEAPQ0050000130377 000130377 HOST 000030 0001156 00000DISPONIBLE 000005184000000000000000 PET N +WAMAS ODOO 00000420231220091116WEAPQ0050000130377 000130377 HOST 000040 0001160 00000DISPONIBLE 000003840000000000000000 BOUT N +WAMAS ODOO 00000520231220091116WEAPQ0050000130377 000130377 HOST 000050 0001162 00000DISPONIBLE 000003072000000000000000 PET N +WAMAS ODOO 00000620231220091116WEAPQ0050000130377 000130377 HOST 000060 0001176 00000DISPONIBLE 000003024000000000000000 PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea_nothing.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea_nothing.wamas new file mode 100644 index 0000000..30db86b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea_nothing.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120231220091116WEAKQ0051000130377 HOST 19700101010000 19700101010000 20231220091116 0001040 +WAMAS ODOO 00000220231220091116WEAPQ0050000130377 000130377 HOST 000020 0001151 00000DISPONIBLE 000000000000000000000000 BOUT N +WAMAS ODOO 00000320231220091116WEAPQ0050000130377 000130377 HOST 000030 0001156 00000DISPONIBLE 000000000000000000000000 PET N +WAMAS ODOO 00000420231220091116WEAPQ0050000130377 000130377 HOST 000040 0001160 00000DISPONIBLE 000000000000000000000000 BOUT N +WAMAS ODOO 00000520231220091116WEAPQ0050000130377 000130377 HOST 000050 0001162 00000DISPONIBLE 000000000000000000000000 PET N +WAMAS ODOO 00000620231220091116WEAPQ0050000130377 000130377 HOST 000060 0001176 00000DISPONIBLE 000000000000000000000000 PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea_partial.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea_partial.wamas new file mode 100644 index 0000000..b2919d2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/samples/wamas2wamas_output_wea_partial.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120231220091116WEAKQ0051000130377 HOST 19700101010000 19700101010000 20231220091116 0001040 +WAMAS ODOO 00000220231220091116WEAPQ0050000130377 000130377 HOST 000020 0001151 00000DISPONIBLE 000000001000000000000000 BOUT N +WAMAS ODOO 00000320231220091116WEAPQ0050000130377 000130377 HOST 000030 0001156 00000DISPONIBLE 000000001000000000000000 PET N +WAMAS ODOO 00000420231220091116WEAPQ0050000130377 000130377 HOST 000040 0001160 00000DISPONIBLE 000000001000000000000000 BOUT N +WAMAS ODOO 00000520231220091116WEAPQ0050000130377 000130377 HOST 000050 0001162 00000DISPONIBLE 000000001000000000000000 PET N +WAMAS ODOO 00000620231220091116WEAPQ0050000130377 000130377 HOST 000060 0001176 00000DISPONIBLE 000000001000000000000000 PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_dict2wamas.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_dict2wamas.py new file mode 100644 index 0000000..9d9393a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_dict2wamas.py @@ -0,0 +1,35 @@ +import ast +import unittest + +from freezegun import freeze_time + +from ..dict2wamas import dict2wamas +from ..utils import file_open, file_path + + +class TestDict2wamas(unittest.TestCase): + + maxDiff = None + + def _test(self, msg_type, filename): + with file_open( + file_path("tests/samples/dict2wamas_input%s.dict" % filename) + ) as infile, file_open( + file_path("tests/samples/dict2wamas_output%s.wamas" % filename) + ) as outfile: + dict_input = ast.literal_eval(infile.read()) + output = dict2wamas(dict_input, msg_type) + expected_output = outfile.read() + self.assertEqual(output, expected_output) + + @freeze_time("2024-02-11 22:14:22") + def test_LST(self): + self._test("Supplier", "") + + @freeze_time("2024-02-11 22:15:32") + def test_KSTAUS(self): + self._test("CustomerDeliveryPreferences", "_2") + + +if __name__ == "__main__": + unittest.main() diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_ubl2wamas.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_ubl2wamas.py new file mode 100644 index 0000000..baac4ad --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_ubl2wamas.py @@ -0,0 +1,141 @@ +import unittest +from datetime import date, datetime + +from freezegun import freeze_time + +from ..ubl2wamas import ubl2wamas +from ..utils import file_open, file_path, set_value_to_string + + +class TestUbl2wamas(unittest.TestCase): + + maxDiff = None + + def test_helpers(self): + dict_data = { + "str": [ + { + "input_val": "WEAPQ0050", + "expected_output_val": "WEAPQ0050", + "length": 9, + "dp": False, + }, + ], + "int": [ + { + "input_val": 30, + "expected_output_val": "000030", + "length": 6, + "dp": False, + }, + { + "input_val": "30", + "expected_output_val": "000030", + "length": 6, + "dp": False, + }, + ], + "float": [ + { + "input_val": 5184.0, + "expected_output_val": "000005184000", + "length": 12, + "dp": 3, + }, + { + "input_val": "5184.0", + "expected_output_val": "000005184000", + "length": 12, + "dp": 3, + }, + ], + "date": [ + { + "input_val": "2023-05-01", + "expected_output_val": "20230501", + "length": 8, + "dp": False, + }, + { + "input_val": date(2023, 5, 1), + "expected_output_val": "20230501", + "length": 8, + "dp": False, + }, + { + "input_val": datetime(2023, 5, 1, 0, 0), + "expected_output_val": "20230501", + "length": 8, + "dp": False, + }, + ], + "datetime": [ + { + "input_val": "2023-05-01 06:57:23", + "expected_output_val": "20230501085723", + "length": 14, + "dp": False, + }, + { + "input_val": datetime(2023, 5, 1, 6, 57, 23), + "expected_output_val": "20230501", + "length": 8, + "dp": False, + }, + ], + "bool": [ + { + "input_val": "N", + "expected_output_val": "N", + "length": 1, + "dp": False, + }, + ], + } + + for ttype in dict_data: + for data in dict_data[ttype]: + input_val = data["input_val"] + expected_output_val = data["expected_output_val"] + length = data["length"] + dp = data["dp"] + + output_val = set_value_to_string( + input_val, ttype, length, dp, do_convert_tz=True + ) + self.assertEqual(output_val, expected_output_val) + + @freeze_time("2023-05-01") + def _convert_ubl2wamas( + self, input_filename, expected_output_filename, telegram_type + ): + path = file_path("tests/samples/") + with file_open(path + input_filename) as inputfile, file_open( + path + expected_output_filename + ) as outputfile: + str_input = inputfile.read() + output = ubl2wamas(str_input, telegram_type) + expected_output = outputfile.read().strip("\n") + self.assertEqual(output, expected_output) + + def test_convert_ubl2wamas_picking(self): + input_file = "UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE2.xml" + expected_output = "UBL2WAMAS-SAMPLE_AUSK_AUSP.wamas" + msg_type = "Picking" + self._convert_ubl2wamas(input_file, expected_output, msg_type) + + def test_convert_ubl2wamas_reception(self): + input_file = "UBL2WAMAS-SAMPLE_WEAK_WEAP-DESPATCH_ADVICE.xml" + expected_output = "UBL2WAMAS-SAMPLE_WEAK_WEAP.wamas" + msg_type = "Reception" + self._convert_ubl2wamas(input_file, expected_output, msg_type) + + def test_convert_ubl2wamas_return(self): + input_file = "UBL2WAMAS-SAMPLE_KRETK_KRETP-DESPATCH_ADVICE.xml" + expected_output = "UBL2WAMAS-SAMPLE_KRETK_KRETP.wamas" + msg_type = "Return" + self._convert_ubl2wamas(input_file, expected_output, msg_type) + + +if __name__ == "__main__": + unittest.main() diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_utils.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_utils.py new file mode 100644 index 0000000..493d396 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_utils.py @@ -0,0 +1,79 @@ +import unittest + +import xmltodict +from dotty_dict import Dotty + +from ..utils import ( + _set_string_bool, + _set_string_float, + file_open, + file_path, + get_address_elements, + get_Adrs_Adr, + get_Adrs_Name, + get_Adrs_Name2, + get_Adrs_Name3, + get_Adrs_Name4, +) + + +class TestUtils(unittest.TestCase): + def testGetAddressNamePicking(self): + with file_open( + file_path("tests/samples/UBL2WAMAS-SAMPLE_AUSK_AUSP-DESPATCH_ADVICE.xml") + ) as infile: + dict_item = Dotty(xmltodict.parse(infile.read())) + address_elements = get_address_elements(dict_item) + self.assertEqual( + address_elements, + { + "ContactName": "Chester Reed", + "PartyName": "YourCompany", + "Department": "Department_1", + "StreetName": "250 Executive Park Blvd, Suite 3400", + "AdditionalStreetName": "AdditionalStreetName_1", + }, + ) + self.assertEqual(get_Adrs_Name(address_elements), "Chester Reed") + self.assertEqual(get_Adrs_Name2(address_elements), "YourCompany") + self.assertEqual(get_Adrs_Name3(address_elements), "Department_1") + self.assertEqual( + get_Adrs_Name4(address_elements), "250 Executive Park Blvd, Suite 3400" + ) + self.assertEqual(get_Adrs_Adr(address_elements), "AdditionalStreetName_1") + + def testGetAddressNameFromDict(self): + address_elements = { + "ContactName": "Nom", + "PartyName": "YourCompany", + "Department": "Nom3", + "StreetName": "Nom4", + "AdditionalStreetName": "Adresse", + } + self.assertEqual(get_Adrs_Name(address_elements), "Nom") + self.assertEqual(get_Adrs_Name2(address_elements), "YourCompany") + self.assertEqual(get_Adrs_Name3(address_elements), "Nom3") + self.assertEqual(get_Adrs_Name4(address_elements), "Nom4") + self.assertEqual(get_Adrs_Adr(address_elements), "Adresse") + + def test_set_string_bool(self): + # Input is boolean + self.assertEqual(_set_string_bool(False, 1, False), "N") + self.assertEqual(_set_string_bool(True, 1, False), "J") + + # Input is string + self.assertEqual(_set_string_bool("N", 1, False), "N") + self.assertEqual(_set_string_bool("J", 1, False), "J") + + def test_set_string_float(self): + # Positive + self.assertEqual(_set_string_float(3.6, 9, 3), "000003600") + self.assertEqual(_set_string_float(3.0, 9, 3), "000003000") + + # Negative + self.assertEqual(_set_string_float(-3.6, 9, 3), "-00003600") + self.assertEqual(_set_string_float(-3.0, 9, 3), "-00003000") + + +if __name__ == "__main__": + unittest.main() diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2dict.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2dict.py new file mode 100644 index 0000000..966b4a8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2dict.py @@ -0,0 +1,37 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import unittest +from pprint import pformat + +from ..utils import file_open, file_path +from ..wamas2ubl import wamas2dict + + +class TestWamas2dict(unittest.TestCase): + + maxDiff = None + + def _test(self, filename): + with file_open( + file_path("tests/samples/%s.wamas" % filename) + ) as infile, file_open( + file_path("tests/samples/%s.dict" % filename) + ) as outfile: + str_input = infile.read() + expected_output = outfile.read() + output_prettified = pformat(wamas2dict(str_input)) + self.assertEqual(output_prettified, expected_output) + + def test_normal(self): + self._test("line_WATEPQ_-_normal") + + def test_non_ascii(self): + self._test("line_WATEPQ_-_non_ascii") + + def test_length_off(self): + self._test("line_WATEKQ_-_length_off_by_one_01") + + +if __name__ == "__main__": + unittest.main() diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2ubl.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2ubl.py new file mode 100644 index 0000000..1667cd5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2ubl.py @@ -0,0 +1,54 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import unittest + +from freezegun import freeze_time + +from ..utils import file_open, file_path +from ..wamas2ubl import wamas2ubl + + +class TestWamas2ubl(unittest.TestCase): + + maxDiff = None + + @freeze_time("2023-05-01") + def _convert_wamas2ubl(self, input_filename, expected_output_filename): + path = file_path("tests/samples/") + with file_open(path + input_filename) as inputfile, file_open( + path + expected_output_filename + ) as outputfile: + str_input = inputfile.read() + output = "\n".join(wamas2ubl(str_input)) + expected_output = outputfile.read() + self.assertEqual(output, expected_output) + + def test_convert_wamas2ubl_picking(self): + input_file = "WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ.wamas" + lst_expected_output = "WAMAS2UBL-SAMPLE_AUSKQ_WATEKQ_WATEPQ-DESPATCH_ADVICE.xml" + self._convert_wamas2ubl(input_file, lst_expected_output) + + def test_convert_wamas2ubl_reception_simple(self): + input_file = "WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ.wamas" + lst_expected_output = "WAMAS2UBL-SAMPLE_SIMPLE_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml" + self._convert_wamas2ubl(input_file, lst_expected_output) + + def test_convert_wamas2ubl_reception_combined(self): + """ + Test a reception with a single header concerning multiple receptions + + This happens when a supplier deliver goods for multiple INs + """ + input_file = "WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ.wamas" + lst_expected_output = "WAMAS2UBL-SAMPLE_COMB_WEAKQ_WEAPQ-DESPATCH_ADVICE.xml" + self._convert_wamas2ubl(input_file, lst_expected_output) + + def test_convert_wamas2ubl_return(self): + input_file = "WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ.wamas" + lst_expected_output = "WAMAS2UBL-SAMPLE_KRETKQ_KRETPQ-DESPATCH_ADVICE.xml" + self._convert_wamas2ubl(input_file, lst_expected_output) + + +if __name__ == "__main__": + unittest.main() diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2wamas.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2wamas.py new file mode 100644 index 0000000..1730eb6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/tests/test_wamas2wamas.py @@ -0,0 +1,56 @@ +import unittest + +from freezegun import freeze_time + +from ..utils import file_open, file_path +from ..wamas2wamas import wamas2wamas + + +class TestWamas2wamas(unittest.TestCase): + + maxDiff = None + + def _test(self, filename, processed_qty=None): + with file_open( + file_path("tests/samples/wamas2wamas_input_%s.wamas" % filename) + ) as infile, file_open( + file_path("tests/samples/wamas2wamas_output_%s.wamas" % filename) + ) as outfile: + str_input = infile.read() + output = wamas2wamas(str_input, processed_qty=processed_qty) + expected_output = outfile.read() + self.assertEqual(output, expected_output) + + @freeze_time("2023-12-20 09:11:16") + def testWamas2wamas_wea_full(self): + """Reception where the demand is fully processed""" + self._test("wea") + + @freeze_time("2023-12-20 09:11:16") + def testWamas2wamas_wea_partial(self): + """Reception where the demand is partially processed""" + self._test("wea_partial", processed_qty=1) + + @freeze_time("2023-12-20 09:11:16") + def testWamas2wamas_wea_nothing(self): + """Reception where the demand is not processed at all""" + self._test("wea_nothing", processed_qty=0) + + @freeze_time("2023-12-20 09:11:16") + def testWamas2wamas_kret_full(self): + """Customer return where the demand is fully processed""" + self._test("wea") + + @freeze_time("2023-12-20 09:11:16") + def testWamas2wamas_kret_partial(self): + """Customer return where the demand is partially processed""" + self._test("wea_partial", processed_qty=1) + + @freeze_time("2023-12-20 09:11:16") + def testWamas2wamas_kret_nothing(self): + """Customer return where the demand is not processed at all""" + self._test("wea_nothing", processed_qty=0) + + +if __name__ == "__main__": + unittest.main() diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl2wamas.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl2wamas.py new file mode 100644 index 0000000..a053428 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl2wamas.py @@ -0,0 +1,102 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import argparse +import logging +from pprint import pformat + +import xmltodict +from dotty_dict import Dotty +from freezegun import freeze_time + +from . import const, utils + +_logger = logging.getLogger("ubl2wamas") + +SUPPORTED_TYPES = list(const.SUPPORTED_UBL_TO_WAMAS.keys()) + + +def ubl2list(infile, msg_type): # noqa: C901 + res = [] + + my_dict = Dotty(xmltodict.parse(infile)) + if msg_type not in SUPPORTED_TYPES: + raise Exception("Invalid document type: %s" % msg_type) + + dict_telegram_type_loop = { + "WEAP": "DespatchAdvice.cac:DespatchLine", + "AUSP": "DespatchAdvice.cac:DespatchLine", + "KRETP": "DespatchAdvice.cac:DespatchLine", + } + + line_idx = 0 + for telegram_type in const.SUPPORTED_UBL_TO_WAMAS[msg_type]: + grammar = const.DICT_WAMAS_GRAMMAR[telegram_type] + + loop_element = dict_telegram_type_loop.get(telegram_type, False) + len_loop = ( + loop_element + and isinstance(my_dict[loop_element], list) + and len(my_dict[loop_element]) + or 1 + ) + + for idx_loop in range(len_loop): + line_idx += 1 + line = utils.generate_wamas_dict( + my_dict, + grammar, + line_idx=line_idx, + len_loop=len_loop, + idx_loop=idx_loop, + ) + if line: + res.append(line) + + return res + + +def ubl2wamas(infile, msg_type): + lst_of_wamas_dicts = ubl2list(infile, msg_type) + wamas = "\n".join(utils.wamas_dict2line(d) for d in lst_of_wamas_dicts) + _logger.debug(lst_of_wamas_dicts) + return wamas + + +@freeze_time("2023-05-01") +def main(): + parser = argparse.ArgumentParser( + description="Converts UBL document into message.", + ) + parser.add_argument("-v", "--verbose", action="store_true", help="enable debug log") + parser.add_argument( + "-f", + "--format", + default="wamas", + choices=["dict", "wamas"], + help="result format", + ) + parser.add_argument( + "-t", "--type", required=True, choices=SUPPORTED_TYPES, help="type of document" + ) + parser.add_argument( + "-o", "--output", dest="outputfile", help="write result in this file" + ) + parser.add_argument("inputfile", help="read message from this file") + args = parser.parse_args() + if args.verbose: + logging.basicConfig(level=logging.DEBUG) + infile = utils.file_open(args.inputfile).read() + if args.format == "dict": + res = pformat(ubl2list(infile, args.type)) + else: + res = ubl2wamas(infile, args.type) + if args.outputfile: + fd = utils.file_open(args.outputfile, "w") + fd.write(res) + else: + print(res) # pylint: disable=print-used + + +if __name__ == "__main__": + main() diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/picking.xml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/picking.xml new file mode 100644 index 0000000..705ed49 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/picking.xml @@ -0,0 +1,166 @@ + + + 2.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/reception.xml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/reception.xml new file mode 100644 index 0000000..75b26cc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/reception.xml @@ -0,0 +1,135 @@ + + + 2.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/return.xml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/return.xml new file mode 100644 index 0000000..1dd423b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/ubl_template/return.xml @@ -0,0 +1,135 @@ + + + 2.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/utils.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/utils.py new file mode 100644 index 0000000..9a0baf0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/utils.py @@ -0,0 +1,461 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import ast +import logging +import os +import re +from collections import OrderedDict +from datetime import date, datetime, timedelta +from pprint import pformat +from random import randint, randrange + +import pytz +from dateutil.parser import parse +from markupsafe import escape + +from .const import ( + DEFAULT_TIMEZONE, + DICT_CHILD_KEY, + DICT_CONVERT_WAMAS_TYPE, + DICT_DETECT_WAMAS_TYPE, + DICT_PARENT_KEY, + DICT_WAMAS_GRAMMAR, + SYSTEM_ERP, + SYSTEM_WAMAS, +) + +_logger = logging.getLogger("wamas_utils") + + +def file_path(path): + return os.path.join(os.path.abspath(os.path.dirname(__file__)), path) + + +def file_open(path, mode="r"): + return open(path, mode, encoding="iso-8859-1") + + +def get_date(val): + val = parse(val) + if isinstance(val, datetime): + val = convert_tz(val, DEFAULT_TIMEZONE, "UTC").strftime("%Y-%m-%d") + return val + + +def get_time(val): + val = parse(val) + if isinstance(val, datetime): + val = convert_tz(val, DEFAULT_TIMEZONE, "UTC").strftime("%H:%M:%S") + return val + + +def get_current_date(): + # return convert_tz(datetime.utcnow(), DEFAULT_TIMEZONE, "UTC").strftime("%Y-%m-%d") + return date.today() + + +def get_source(*args): + return SYSTEM_ERP + + +def get_destination(*args): + return SYSTEM_WAMAS + + +def get_source_q(*args): + return SYSTEM_WAMAS + + +def get_destination_q(*args): + return SYSTEM_ERP + + +def get_sequence_number(val=0): + return val + + +def get_current_datetime(val=0): + return datetime.utcnow() + + +def get_quantity_done(quantity, quantity_done=None): + return quantity if quantity_done is None else quantity_done + + +def _set_string(val, length, dp, **kwargs): + return str(val or "").ljust(length)[:length] + + +def _set_string_int(val, length, dp, **kwargs): + if isinstance(val, float): + val = int(val) + return str(val).rjust(length, "0")[:length] + + +def _set_string_float(val, length, dp, **kwargs): + try: + res = str(float(val or 0)) + except ValueError as err: + raise Exception( + "The value '%s' is not the float type. Please check it again!" % res + ) from err + + # Support for the negative float + signed = "" + if res.startswith("-"): + signed = "-" + length = length - 1 + res = res.lstrip("-") + + str_whole_number, str_decimal_portion = res.split(".") + str_whole_number = str_whole_number.rjust(length - dp, "0") + str_decimal_portion = str_decimal_portion.ljust(dp, "0") + + return signed + (str_whole_number + str_decimal_portion)[:length] + + +def _set_string_date(val, length, dp, **kwargs): + res = isinstance(val, str) and val != "" and parse(val) or val + + if isinstance(res, date): + res = res.strftime("%Y%m%d") + elif isinstance(res, datetime): + if kwargs.get("do_convert_tz", False): + res = convert_tz(res, "UTC", DEFAULT_TIMEZONE) + res = res.date().strftime("%Y%m%d") + elif isinstance(res, str): + res = res.ljust(length) + elif not res: + res = "" + else: + raise Exception( + "The value '%s' is not the date type. Please check it again!" % res + ) + + return res[:length] + + +def _set_string_datetime(val, length, dp, **kwargs): + res = isinstance(val, str) and val != "" and parse(val) or val + + if isinstance(res, (date, datetime)): + if kwargs.get("do_convert_tz", False): + res = convert_tz(res, "UTC", DEFAULT_TIMEZONE) + res = res.strftime("%Y%m%d%H%M%S") + elif isinstance(res, str): + res = res.ljust(length) + elif not res: + res = "" + else: + raise Exception( + "The value '%s' is not the date type. Please check it again!" % res + ) + + return res.ljust(length)[:length] + + +def _set_string_bool(val, length, dp, **kwargs): + res = "N" + if isinstance(val, str) and val: + res = val[:length] + elif isinstance(val, bool) and val: + res = "J" + return res + + +def set_value_to_string(val, ttype, length, dp, **kwargs): + setters = dict( + str=_set_string, + int=_set_string_int, + float=_set_string_float, + date=_set_string_date, + datetime=_set_string_datetime, + bool=_set_string_bool, + ) + return setters[ttype](val, length, dp, **kwargs) + + +def get_random_str_num(*args): + range_start = 10 ** (args[0] - 1) + range_end = (10 ** args[0]) - 1 + return str(randint(range_start, range_end)) + + +def get_random_int_num(*args): + return randrange(9999) + + +def get_parent_id(*args): + dict_parent_id, dict_child_key, field, telegram_type_out = args + return dict_parent_id[dict_child_key[telegram_type_out][field]] + + +def get_random_quai(*args): + return "QUAI-%d" % randint(1, 999) + + +def get_date_from_field(*args): + dict_wamas, field, number, interval = args + res = parse(dict_wamas[field]) + timedelta(**{interval: number}) + return res + + +def get_address_elements(dict_item, party_type="DeliveryCustomerParty"): + return { + "ContactName": dict_item.get( + f"DespatchAdvice.cac:{party_type}.cac:Party.cac:Contact.cbc:Name" + ), + "PartyName": dict_item.get( + f"DespatchAdvice.cac:{party_type}.cac:Party.cac:PartyName.cbc:Name" + ), + "Department": dict_item.get( + f"DespatchAdvice.cac:{party_type}.cac:Party.cac:PostalAddress.cbc:Department" + ), + "StreetName": dict_item.get( + f"DespatchAdvice.cac:{party_type}.cac:Party.cac:PostalAddress.cbc:StreetName" + ), + "AdditionalStreetName": dict_item.get( + f"DespatchAdvice.cac:{party_type}.cac:Party.cac:PostalAddress." + "cbc:AdditionalStreetName" + ), + } + + +def _get_Name(a, index): + candidates = ( + "ContactName", + "PartyName", + "Department", + "StreetName", + "AdditionalStreetName", + ) + values = [] + for c in candidates: + e = a.get(c) + if e and e not in values: + values.append(e) + # always drop last element, that's the address + values = values[index:-1] + return values[0] if values else None + + +def get_Adrs_Name(a): + return _get_Name(a, 0) + + +def get_Adrs_Name2(a): + return _get_Name(a, 1) + + +def get_Adrs_Name3(a): + return _get_Name(a, 2) + + +def get_Adrs_Name4(a): + return _get_Name(a, 3) + + +def get_Adrs_Adr(a): + return a["AdditionalStreetName"] or a["StreetName"] or a["Department"] + + +def get_index(idx): + return idx + + +def wamas_dict2line(wamas_dict): + """Converts a wamas OrderedDict to a telegram.""" + return "".join(wamas_dict.values()) + + +def generate_wamas_line(dict_item, grammar, **kwargs): + """Generate a wamas telegram.""" + wamas_dict = generate_wamas_dict(dict_item, grammar, **kwargs) + return wamas_dict2line(wamas_dict) + + +def generate_wamas_dict(dict_item, grammar, **kwargs): # noqa: C901 + """Generate an OrderedDict with wamas field and value.""" + dict_parent_id = kwargs.get("dict_parent_id", {}) + telegram_type_out = kwargs.get("telegram_type_out", False) + dict_wamas_out = OrderedDict() + do_convert_tz = not kwargs.get("do_wamas2wamas", False) + for _key in grammar: + val = "" + ttype = grammar[_key].get("type", False) + length = grammar[_key].get("length", False) + dp = grammar[_key].get("dp", False) + ubl_path = grammar[_key].get("ubl_path", False) + dict_key = grammar[_key].get("dict_key", False) + df_val = grammar[_key].get("df_val", False) + df_func = grammar[_key].get("df_func", False) + + if ubl_path: + # Get the `ubl_path` if it has multi lines + len_loop = kwargs.get("len_loop", False) + idx_loop = kwargs.get("idx_loop", False) + if len_loop and len_loop > 1: + ubl_path = "%s" in ubl_path and ubl_path % str(idx_loop) or ubl_path + else: + ubl_path = "%s" in ubl_path and ubl_path.replace(".%s", "") or ubl_path + # Handle the type of `ubl_path` + if isinstance(ubl_path, list): + lst_val = [] + for _item in ubl_path: + lst_val.append(dict_item.get(_item) or "") + if lst_val: + val = " ".join(lst_val).strip() + elif isinstance(ubl_path, dict): + for _key in ubl_path: + if dict_item.get(_key, False): + val = dict_item.get(ubl_path[_key], "") + elif isinstance(ubl_path, str): + val = dict_item.get(ubl_path, "") + else: + val = "" + if not val and dict_key: + val = dict_item.get(dict_key, "") + if not val and df_val: + val = df_val + if not val and df_func: + args = (kwargs.get("line_idx", 0),) + if df_func == "get_parent_id": + args = ( + dict_parent_id, + DICT_CHILD_KEY, + _key, + telegram_type_out, + ) + elif df_func == "get_index": + args = (kwargs.get("idx_loop", 0),) + elif df_func == "get_random_str_num": + args = (length,) + elif df_func == "get_quantity_done": + if "BestMng" in dict_item.keys(): + quantity = dict_item.get("BestMng", 0) + elif "SollMng" in dict_item.keys(): + quantity = dict_item.get("SollMng", 0) + else: + raise Exception("Quantity field not found") + args = (quantity, kwargs.get("processed_qty")) + elif "get_date_from_field" in df_func: + args = (dict_wamas_out,) + args += ast.literal_eval(re.search(r"\((.*?)\)", df_func).group(0)) + df_func = "get_date_from_field" + # TODO: Consider refactoring to use classes + # or provide a better way to determine arguments. + elif "get_Adrs_" in df_func: + if df_func.startswith("supplier"): + address_elements = get_address_elements( + dict_item, "DespatchSupplierParty" + ) + df_func = df_func[9:] + else: + address_elements = get_address_elements(dict_item) + args = (address_elements,) + + val = globals()[df_func](*args) + + val = set_value_to_string(val, ttype, length, dp, do_convert_tz=do_convert_tz) + dict_wamas_out[_key] = val + lst_parent_key = DICT_PARENT_KEY.get(telegram_type_out, False) + if lst_parent_key and _key in lst_parent_key: + dict_parent_id[_key] = val + return dict_wamas_out + + +def generate_wamas_lines(dict_input, telegram_type, line_idx, wamas_lines): + line_idx += 1 + grammar = DICT_WAMAS_GRAMMAR[telegram_type] + line = generate_wamas_line(dict_input, grammar, line_idx=line_idx) + if line: + wamas_lines.append(line) + return line_idx, wamas_lines + + +def get_grammar(telegram_type): + return DICT_WAMAS_GRAMMAR[telegram_type] + + +def fw2dict(line, grammar, telegram_type): + """ + Converts a fixed width string to a dict + + Parameters: + line (str): The string to convert + grammar (OrderedDict): The field width definition in the format: + { "k1": { "length": 3 }, "k2": { "length": 5 } } + telegram_type (str): Telegram type + + Returns: + OrderedDict: Same keys as the grammar, values from the string + """ + # sanity checks + max_length = min_length = sum(f["length"] for f in grammar.values()) + last_val = grammar[next(reversed(grammar))] + if last_val["type"] == "str": + min_length -= last_val["length"] + 1 + if not min_length <= len(line) <= max_length: + raise Exception( + "Line of length {actual:d} does not match expected length of " + "{expected:d}:\n{line:s}".format( + actual=len(line), + expected=max_length, + line=line, + ) + ) + else: + line = line.ljust(max_length) + + # actual parsing + res = OrderedDict() + offset = 0 + for fname, fdef in grammar.items(): + b = line[offset : offset + fdef["length"]] + offset += fdef["length"] + if fdef["type"] == "int": + val = int(b) + elif fdef["type"] == "float": + dp = fdef["dp"] + val = float(b[:-dp] + "." + b[-dp:]) + else: + val = str(escape(b.rstrip())) + res[fname] = val + _logger.debug(pformat(res)) + return res + + +def get_telegram_type(line): + # given by Satzart at pos 49, len 9 + return re.split(r"(\d+)", line[40:49])[0] + + +def detect_wamas_type(infile): + """ + Detect the type of message + + Parameters: + line (str): The wamas message + + Returns: + str: Type of message + """ + wamas_type = DICT_DETECT_WAMAS_TYPE.get(get_telegram_type(infile), "Undefined") + return wamas_type + + +def convert_tz(dt_val, str_from_tz, str_to_tz): + from_tz = pytz.timezone(str_from_tz) + to_tz = pytz.timezone(str_to_tz) + from_tz_dt = from_tz.localize(dt_val) + to_tz_dt = from_tz_dt.astimezone(to_tz) + return to_tz_dt + + +def get_supported_telegram(): + return DICT_WAMAS_GRAMMAR.keys() + + +def get_supported_telegram_w2w(): + return DICT_CONVERT_WAMAS_TYPE diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas2ubl.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas2ubl.py new file mode 100644 index 0000000..c858405 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas2ubl.py @@ -0,0 +1,229 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import argparse +import logging +from collections import OrderedDict +from pprint import pformat + +from freezegun import freeze_time + +from . import const, miniqweb, utils + +# FIXME: replace by Dotty ? +from .structure import obj + +_logger = logging.getLogger("wamas2ubl") + + +class Extractor: + def __init__(self, data): + self.data = data + self.transfers = {} + self.packages = {} + + def get_head(self, telegram_type, key_name, head=None): + """Converts a list of dict into a dict of dict + + Parameters: + telegram_type: the key to get the list out of data + key_name: the key in the dict that serves as key in the new dict + head: the result dict that is build + """ + if telegram_type not in self.data: + raise ValueError("Missing telegram: %s" % telegram_type) + + if head is None: + head = self.transfers + for item in self.data[telegram_type]: + key = item[key_name] + if key not in head: + head[key] = item + else: + _logger.debug( + "Redundant %s (transfer) record found, ignoring: %s", + telegram_type, + key, + ) + + def get_line( + self, + telegram_type, + transfer_key1_name, + transfer_key2_name=False, + package_key_name=False, + ): + """Process a list of dict as lines of the transfers + + Parameters: + telegram_type: the key to get the list out of data + transfer_key1_name: the key in the dict that serves to identify the + parent in transfers + transfer_key2_name: the key in the dict that serves to identify a sub-transfer + package_key_name: the key in the dict that serves to identify the + related package + """ + transfers = {} + if telegram_type not in self.data: + raise ValueError("Missing telegram: %s" % telegram_type) + + for line in self.data[telegram_type]: + key = line.get(transfer_key1_name) + if key not in self.transfers: + _logger.debug( + "Found %s (line) record for unknown transfer, ignoring: %s", + telegram_type, + key, + ) + continue + + # Create a key for the sub-transfer + if transfer_key2_name and line.get(transfer_key2_name): + key = (key, line[transfer_key2_name]) + if key not in transfers: + # Copy parent transfer data + transfers[key] = OrderedDict(self.transfers[line[transfer_key1_name]]) + transfers[key].setdefault("lines", []).append(line) + if not package_key_name: + continue + package_id = line[package_key_name] + package = self.packages.get(package_id) + if not package: + _logger.debug( + "Found %s (line) record with unknown package, ignoring: %s", + telegram_type, + package_id, + ) + continue + line["package"] = package + transfers[key].setdefault("packages", []).append(package) + self.transfers = transfers + + +def wamas2dict(msg): + """ + Converts a wamas message to a dict + + Parameters: + msg (str): The msg to convert + + Returns: + dict: key=telegram type, value=list of OrderedDict + """ + result = {} + supported_telegrams = utils.get_supported_telegram() + for line in msg.splitlines(): + if not line: + continue + telegram_type = utils.get_telegram_type(line) + # ignore useless telegram types + if telegram_type in const.LST_TELEGRAM_TYPE_IGNORE_W2D: + continue + if telegram_type not in supported_telegrams: + raise Exception("Invalid telegram type: %s" % telegram_type) + grammar = utils.get_grammar(telegram_type) + d = utils.fw2dict(line, grammar, telegram_type) + val = result.setdefault(telegram_type, []) + val.append(d) + _logger.debug(pformat(result)) + return result + + +def dict2ubl(msg_type, data, extra_data=False): + if extra_data is False: + extra_data = {"DeliveryCustomerParty": {}, "DespatchSupplierParty": {}} + + # Analyze/transform wamas file content + extractor = Extractor(data) + + if msg_type == "ReceptionResponse": + extractor.get_head("WEAKQ", "IvWevk_WevId_WevNr") + extractor.get_line("WEAPQ", "IvWevp_WevId_WevNr", "IvWevp_WEAP_WeaId_WeaNr") + elif msg_type == "ReturnResponse": + extractor.get_head("KRETKQ", "IvKretk_KretId_KretNr") + extractor.get_line("KRETPQ", "IvKretp_KretId_KretNr") + elif msg_type == "PickingResponse": + extractor.get_head("AUSKQ", "IvAusk_AusId_AusNr") + if "WATEKQ" not in extractor.data and "WATEPQ" not in extractor.data: + extractor.get_line("AUSPQ", "IvAusp_UrAusId_AusNr") + else: + extractor.get_head("WATEKQ", "IvTek_TeId", extractor.packages) + extractor.get_line( + "WATEPQ", "IvAusp_UrAusId_AusNr", package_key_name="IvTep_TeId" + ) + else: + raise Exception("Invalid message type: %s" % msg_type) + + pickings = extractor.transfers + _logger.debug("Number of pickings: %d", len(pickings)) + for order_id, picking in pickings.items(): + _logger.debug("ID: %s", order_id) + packages = pickings[order_id].get("packages") + if packages: + _logger.debug("Number of packages: %s", len(packages)) + _logger.debug(pformat(picking)) + + # Get template + ubl_template_path = const.DICT_UBL_TEMPLATE[msg_type] + with utils.file_open(utils.file_path(ubl_template_path)) as tmpl_file: + ubl_template = tmpl_file.read() + + # Convert + ubls = [] + for picking in pickings.values(): + ubl = render_ubl(ubl_template, picking, extra_data=extra_data) + ubls.append(ubl) + _logger.debug("Number of UBL files generated: %d", len(ubls)) + return ubls + + +def render_ubl(ubl_template, data, extra_data=False): + t = miniqweb.QWebXml(ubl_template) + # Convert dict to object to use dotted notation in template + globals_dict = { + "record": obj(data), + "get_date": utils.get_date, + "get_time": utils.get_time, + "get_current_date": utils.get_current_date, + "extra_data": extra_data, + } + xml = t.render(globals_dict) + return xml + + +def wamas2ubl(wamas_msg, extra_data=False): + data = wamas2dict(wamas_msg) + msg_type = utils.detect_wamas_type(wamas_msg) + return dict2ubl(msg_type, data, extra_data=extra_data) + + +@freeze_time("2023-05-01") +def main(): + parser = argparse.ArgumentParser( + description="Converts wamas message into UBLs documents.", + ) + parser.add_argument("-v", "--verbose", action="store_true", help="enable debug log") + parser.add_argument( + "-f", "--format", default="ubl", choices=["dict", "ubl"], help="result format" + ) + parser.add_argument( + "-o", "--output", dest="outputfile", help="write result in this file" + ) + parser.add_argument("inputfile", help="read message from this file") + args = parser.parse_args() + if args.verbose: + logging.basicConfig(level=logging.DEBUG) + infile = utils.file_open(args.inputfile).read() + if args.format == "dict": + res = pformat(wamas2dict(infile)) + else: + res = "\n".join(wamas2ubl(infile)) + if args.outputfile: + fd = utils.file_open(args.outputfile, "w") + fd.write(res) + else: + print(res) # pylint: disable=print-used + + +if __name__ == "__main__": + main() diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas2wamas.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas2wamas.py new file mode 100644 index 0000000..c451687 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas2wamas.py @@ -0,0 +1,76 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import argparse +import logging +from pprint import pformat + +from freezegun import freeze_time + +from . import const, utils +from .wamas2ubl import wamas2dict + +_logger = logging.getLogger("wamas2wamas") + + +def simulate_response(dict_wamas_in, processed_qty=None): + res = [] + line_idx = 0 + dict_parent_id = {} + for telegram_type_in, dicts in dict_wamas_in.items(): + for telegram_type_out in const.DICT_CONVERT_WAMAS_TYPE[telegram_type_in]: + grammar_out = const.DICT_WAMAS_GRAMMAR[telegram_type_out] + for dict_item in dicts: + line_idx += 1 + line = utils.generate_wamas_line( + dict_item, + grammar_out, + line_idx=line_idx, + dict_parent_id=dict_parent_id, + telegram_type_out=telegram_type_out, + do_wamas2wamas=True, + processed_qty=processed_qty, + ) + if line: + res.append(line) + return res + + +def wamas2wamas(infile, processed_qty=None): + data = wamas2dict(infile) + _logger.debug(pformat(data)) + wamas_lines = simulate_response(data, processed_qty=processed_qty) + return "\n".join(wamas_lines) + + +@freeze_time("2023-12-20 09:11:16") +def main(): + parser = argparse.ArgumentParser( + description="Converts a wamas message into wamas response.", + ) + parser.add_argument("-v", "--verbose", action="store_true", help="enable debug log") + parser.add_argument( + "-p", + "--processed-qty", + type=float, + dest="processed_qty", + help="quantity processed, by default complete quantity is processed", + ) + parser.add_argument( + "-o", "--output", dest="outputfile", help="write result in this file" + ) + parser.add_argument("inputfile", help="read message from this file") + args = parser.parse_args() + if args.verbose: + logging.basicConfig(level=logging.DEBUG) + infile = utils.file_open(args.inputfile).read() + res = wamas2wamas(infile, args.processed_qty) + if args.outputfile: + fd = utils.file_open(args.outputfile, "w") + fd.write(res) + else: + print(res) # pylint: disable=print-used + + +if __name__ == "__main__": + main() diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/__init__.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/__init__.py new file mode 100644 index 0000000..c04a730 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/__init__.py @@ -0,0 +1,16 @@ +from . import ( + weakq, + weapq, + watekq, + watepq, + weak, + weap, + ausk, + ausp, + auskq, + auspq, + kretkq, + kretpq, + kretk, + kretp, +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/art.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/art.py new file mode 100644 index 0000000..802393e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/art.py @@ -0,0 +1,859 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "ART000061", + "df_func": False, + }, + "Art_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "000", + "df_func": False, + }, + "Art_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "default_code", + "df_val": False, + "df_func": False, + }, + "Art_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "00000", + "df_func": False, + }, + "Art_ArtBez": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "name", + "df_val": False, + "df_func": False, + }, + "Art_ArtBez2": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_IntArtBez": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_Bestand_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "product_uom_wamas_code", + "df_val": False, + "df_func": False, + }, + "Art_Anzeige_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "packaging_code", + "df_val": False, + "df_func": False, + }, + "Art_HOSTUNITS_HostEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_HostGewKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_NettoGew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": "weight", + "df_val": False, + "df_func": False, + }, + "Art_AltAId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_AltAId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_AltAId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_ArtTyp": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": "item_type", + "df_val": False, + "df_func": False, + }, + "Art_SORT_Sortiment": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": "wamas_assortment", + "df_val": False, + "df_func": False, + }, + "Art_BestErfArtWa": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": "STK", + "df_func": False, + }, + "Art_BestErfArtWe": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": "STK", + "df_func": False, + }, + "Art_BestKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": "has_stock", + "df_val": False, + "df_func": False, + }, + "Art_AbcWert": { + "type": "int", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": 999, + "df_func": False, + }, + "Art_AKS_ArtKlasse": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": "wamas_class", + "df_val": False, + "df_func": False, + }, + "Art_ArtGrp": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": "sale_ok_company", + "df_val": False, + "df_func": False, + }, + "Art_WAGRP_WaGrpId": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": "GSMST", + "df_func": False, + }, + "Art_InvGrp": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": "-", + "df_func": False, + }, + "Art_AnbruchAnzErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": "sell_only_by_packaging", + "df_val": False, + "df_func": False, + }, + "Art_ArtMischErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Art_AusPrMischErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Art_ChargeMischErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Art_ASCODE_ACode": { + "type": "str", + "length": 2, + "dp": False, + "dict_key": False, + "df_val": "ANFRAGE", + "df_func": False, + }, + "Art_Aus_Schema": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": "ALL_WA", + "df_func": False, + }, + "Art_StdAus_LagRf": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": False, + "df_val": "sdDEF", + "df_func": False, + }, + "Art_TmpAus_LagRf": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": False, + "df_val": "sdDEF", + "df_func": False, + }, + "Art_AutoAbsKzWa": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_ChangeAusPrErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_ChargePflWa": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Art_ChargePflWe": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": "compulsory_lot", + "df_val": False, + "df_func": False, + }, + "Art_DisponentWe": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_FifoFen": { + "type": "int", + "length": 3, + "dp": False, + "dict_key": "fifo_window", + "df_val": False, + "df_func": False, + }, + "Art_GanzTeMng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GanzTeSplittKz1": { + "type": "str", + "length": 7, + "dp": False, + "dict_key": False, + "df_val": "KANN", + "df_func": False, + }, + "Art_GanzTeSplittKz2": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": "ORIGTE", + "df_func": False, + }, + "Art_GewTolAbsWa": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": 999999999, + "df_func": False, + }, + "Art_GewTolAbsWe": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": 999999999, + "df_func": False, + }, + "Art_GewTolProzWa": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": 50, + "df_func": False, + }, + "Art_GewTolProzWe": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": 50, + "df_func": False, + }, + "Art_MaxDiffBasisAbsWa": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": 999999999, + "df_func": False, + }, + "Art_MaxDiffBasisProzWa": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": 999.9, + "df_func": False, + }, + "Art_MaxDiffGewAbsWa": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": 999999999, + "df_func": False, + }, + "Art_MaxDiffGewProzWa": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": 999.9, + "df_func": False, + }, + "Art_BestandTolAbsWe": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": 999999999, + "df_func": False, + }, + "Art_BestandTolProzWe": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": 999.9, + "df_func": False, + }, + "Art_Info": { + "type": "str", + "length": 77, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_LagWert": { + "type": "float", + "length": 14, + "dp": 6, + "dict_key": "list_price", + "df_val": False, + "df_func": False, + }, + "Art_LBWE_LagIdWe": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": "eCAM", + "df_func": False, + }, + "Art_MhdMischErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Art_MHDPflWa": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Art_MHDPflWe": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": "wamas_expiration_date", + "df_val": False, + "df_func": False, + }, + "Art_MinderCheckKzHost": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Art_MinderCheckKzLls": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Art_RefEinheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_RefMng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_RestHaltProzWe": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": 100, + "df_func": False, + }, + "Art_RestHaltTaWa": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": "removal_time", + "df_val": False, + "df_func": False, + }, + "Art_RestHaltTaWe": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": "reception_validity_time", + "df_val": False, + "df_func": False, + }, + "Art_SperrArtKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_SperrKzWa": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_StapelHoehe": { + "type": "int", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_Stapelkzahl": { + "type": "int", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": 100, + "df_func": False, + }, + "Art_SumGewErfWe": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_ThmTauschErlWe": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_THM_ThmId": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": "packaging_level_palette_wamas_code", + "df_val": False, + "df_func": False, + }, + "Art_UeberLiefErlWe": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Art_WartInt": { + "type": "int", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_WhrCode": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "CHF", + "df_func": False, + }, + "Art_GefGutBuchs": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutStoffBez": { + "type": "str", + "length": 70, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutStoffBez2": { + "type": "str", + "length": 70, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutStoffBez3": { + "type": "str", + "length": 70, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutChemBez": { + "type": "str", + "length": 70, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutEinh": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutKlassCode": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutKlasse": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutUnNr": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutVerpGrp": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_GefGutZiffer": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_WaLvsSort_LvsSortiment": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_SatzKz": { + "type": "str", + "length": 1, + "dp": False, + "dict_key": "game_identifier", + "df_val": False, + "df_func": False, + }, + "Art_StapelGew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": 99999, + "df_func": False, + }, + "Art_ARTSTAT_ArtStatGrp": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": "item_stat_group", + "df_val": False, + "df_func": False, + }, + "Art_LgSchwelleProz": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_Batch": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_ArtKtoKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_MatqMischErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_AbschlStatus": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "ANFRAGE", + "df_func": False, + }, + "Art_BestErfArtWh": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": "STK", + "df_func": False, + }, + "Art_ChargePflWh": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_MHDPflWh": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_WhSerienNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_WeSerienNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_WaSerienNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_PrueflosMngWe": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_SNr_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/arte.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/arte.py new file mode 100644 index 0000000..a525b78 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/arte.py @@ -0,0 +1,251 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "ARTE00051", + "df_func": False, + }, + "Arte_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "000", + "df_func": False, + }, + "Arte_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "product", + "df_val": False, + "df_func": False, + }, + "Arte_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "00000", + "df_func": False, + }, + "Arte_Laenge": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "length", + "df_val": False, + "df_func": False, + }, + "Arte_Breite": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "width", + "df_val": False, + "df_func": False, + }, + "Arte_Hoehe": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "height", + "df_val": False, + "df_func": False, + }, + "Arte_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "code", + "df_val": False, + "df_func": False, + }, + "Arte_Zaehler": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "quantity", + "df_val": False, + "df_func": False, + }, + "Arte_Nenner": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": "000001", + "df_func": False, + }, + "Arte_GefGutPunkte": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_GEWKS_GewKlasse": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_HANDKS_HandKlasse": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_Info": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "code", + "df_val": False, + "df_func": False, + }, + "Arte_InvMngKom": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_InvMngTpa": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_Lg_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_Lg_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_Lg_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_NachMng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_TeilNachMng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_OrigTeKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_StapelFakt": { + "type": "float", + "length": 4, + "dp": 1, + "dict_key": False, + "df_val": "100.0", + "df_func": False, + }, + "Arte_TaraGew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": "weight", + "df_val": False, + "df_func": False, + }, + "Arte_WeTeKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Arte_SatzKz": { + "type": "str", + "length": 1, + "dp": False, + "dict_key": "game_identifier", + "df_val": False, + "df_func": False, + }, + "Arte_PrintArtLabWe": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/artean.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/artean.py new file mode 100644 index 0000000..86338db --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/artean.py @@ -0,0 +1,91 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "ARTEAN001", + "df_func": False, + }, + "ArtEan_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "000", + "df_func": False, + }, + "ArtEan_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "product", + "df_val": False, + "df_func": False, + }, + "ArtEan_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "00000", + "df_func": False, + }, + "ArtEan_EAN": { + "type": "str", + "length": 14, + "dp": False, + "dict_key": "barcode", + "df_val": False, + "df_func": False, + }, + "ArtEan_EST_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "product_uom", + "df_val": False, + "df_func": False, + }, + "ArtEan_SatzKz": { + "type": "str", + "length": 1, + "dp": False, + "dict_key": "game_identifier", + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/ausk.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/ausk.py new file mode 100644 index 0000000..4ce85c2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/ausk.py @@ -0,0 +1,743 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "ubl_path": False, + "df_val": "AUSK00056", + "df_func": False, + }, + "RxAusk_AusId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxAusk_AusId_AusNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxAusk_AusId_HostAusKz": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "RxAusk_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:OrderReference.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxAusk_AUTYP_Typ": { + "type": "str", + "length": 6, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cac:ShipmentStage." + "cbc:TransportMeansTypeCode", + "df_val": False, + "df_func": False, + }, + "RxAusk_KST_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxAusk_KST_KuNr": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty." + "cbc:CustomerAssignedAccountID", + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Name", + }, + "RxAusk_Adrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Name2", + }, + "RxAusk_Adrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Name3", + }, + "RxAusk_Adrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Name4", + }, + "RxAusk_Adrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PartyName.cbc:Title", + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Adr", + }, + "RxAusk_Adrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PostalAddress.cbc:PostalZone", + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PostalAddress.cbc:CityName", + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:Contact.cbc:Telephone", + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:DeliveryContact." + "cbc:ElectronicMail", + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_Adrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PartyName.cbc:Name", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Name2", + }, + "RxAusk_LiefAdrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Name3", + }, + "RxAusk_LiefAdrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Name4", + }, + "RxAusk_LiefAdrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PartyName.cbc:Title", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_Adrs_Adr", + }, + "RxAusk_LiefAdrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PostalAddress.cbc:PostalZone", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PostalAddress.cbc:CityName", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PostalAddress.cbc:CountrySubentity", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:PostalAddress.cac:Country.cbc:IdentificationCode", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:Contact.cbc:Telephone", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:Contact.cbc:ElectronicMail", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DeliveryCustomerParty.cac:Party." + "cac:Contact.cbc:Telefax", + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefAdrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_EndEmpfAdrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_GeplBereitTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": [ + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:EstimatedDeliveryPeriod.cbc:EndDate", + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:EstimatedDeliveryPeriod.cbc:EndTime", + ], + "df_val": False, + "df_func": False, + }, + "RxAusk_GeplEinStrat_LagRf": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cac:Delivery.cac:Despatch." + "cac:DespatchLocation.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxAusk_Info2Wamas": { + "type": "str", + "length": 77, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:Note", + "df_val": False, + "df_func": False, + }, + "RxAusk_AbladeStelle": { + "type": "str", + "length": 30, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_LiefTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cbc:DeliveryInstructions", + "df_val": False, + "df_func": False, + }, + "RxAusk_BestZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": "DespatchAdvice.cac:OrderReference.cbc:IssueDate", + "df_val": False, + "df_func": False, + }, + "RxAusk_ZustellTermin": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cbc:DeliveryInstructions", + "df_val": False, + "df_func": False, + }, + "RxAusk_ZustellZeitpunkt": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": "FRUEH", + "df_func": False, + }, + "RxAusk_BereitstellTermin": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cbc:DeliveryInstructions", + "df_val": False, + "df_func": False, + }, + "RxAusk_BereitstellZeitpunkt": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": "FRUEH", + "df_func": False, + }, + "RxAusk_RahmenTourId_TourNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTourId_HostTourKz": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "RxAusk_RahmenTour_WA_Tor": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTourMaxGew": { + "type": "float", + "length": 12, + "dp": 3, + "ubl_path": "DespatchAdvice.cac:Shipment.cbc:GrossWeightMeasure", + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTourMaxStdLE": { + "type": "float", + "length": 7, + "dp": 3, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTourStdLEVol": { + "type": "float", + "length": 7, + "dp": 3, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTourFzId1": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTourFzId2": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTour_LKWT_LkwTyp": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": "CAM", + "df_func": False, + }, + "RxAusk_RahmenTourLkwFahrer": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTourLkwBeifahrer": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_RahmenTour_S_SchichtId": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_VerlRfNr": { + "type": "int", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": 1, + "df_func": False, + }, + "RxAusk_Prio": { + "type": "str", + "length": 1, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cbc:ShippingPriorityLevelCode", + "df_val": False, + "df_func": False, + }, + "RxAuskI_Text": { + "type": "str", + "length": 70, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_MergeId": { + "type": "str", + "length": 30, + "dp": False, + "ubl_path": { + "DespatchAdvice.cac:Shipment." + "cbc:HandlingInstructions": "DespatchAdvice.cac:Shipment.cbc:ID" + }, + "df_val": False, + "df_func": False, + }, + "RxAusk_VAST_Versandart": { + "type": "str", + "length": 2, + "dp": False, + "ubl_path": False, + "df_val": "ST", + "df_func": False, + }, + "RxAusk_Gepl2Step_LagRf": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusk_VplStrat": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": False, + "df_val": "Def_Strat", + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/auskq.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/auskq.py new file mode 100644 index 0000000..7f9acac --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/auskq.py @@ -0,0 +1,142 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "AUSKQ0052", + "df_func": False, + }, + "IvAusk_AusId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxAusk_AusId_Mand", + "df_val": False, + "df_func": False, + }, + "IvAusk_AusId_AusNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusk_AusId_AusNr", + "df_val": False, + "df_func": False, + }, + "IvAusk_AusId_HostAusKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxAusk_AusId_HostAusKz", + "df_val": False, + "df_func": False, + }, + "IvAusk_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusk_ExtRef", + "df_val": False, + "df_func": False, + }, + "IvAusk_KST_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxAusk_KST_Mand", + "df_val": False, + "df_func": False, + }, + "IvAusk_KST_KuNr": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": "RxAusk_KST_KuNr", + "df_val": False, + "df_func": False, + }, + "IvAusk_LiefTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": "RxAusk_LiefTerm", + "df_val": False, + "df_func": False, + }, + "IvAusk_StartZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvAusk_FertZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvAusk_RahmenTourId_TourNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusk_AusId_Mand", + "df_val": False, + "df_func": False, + }, + "IvAusk_RahmenTourId_HostTourKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxAusk_RahmenTourId_HostTourKz", + "df_val": False, + "df_func": False, + }, + "IvAusk_Info2Host": { + "type": "str", + "length": 77, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/ausp.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/ausp.py new file mode 100644 index 0000000..c6e4376 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/ausp.py @@ -0,0 +1,297 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "ubl_path": False, + "df_val": "AUSP00054", + "df_func": False, + }, + "RxAusp_AusId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxAusp_AusId_AusNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxAusp_AusId_HostAusKz": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "RxAusp_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_HostPosNr": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s.cbc:ID", + "df_val": False, + "df_func": "get_index", + }, + "RxAusp_MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxAusp_MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s.cac:Item." + "cac:SellersItemIdentification.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxAusp_MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": "00000", + "df_func": False, + }, + "RxAusp_MId_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "Matqgs_Matqg1": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": "DISPONIBLE", + "df_func": False, + }, + "Matqgs_Matqg2": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "Matqgs_Matqg3": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_GrundPreis": { + "type": "float", + "length": 14, + "dp": 6, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_LadenVerPreis": { + "type": "float", + "length": 14, + "dp": 6, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_LadenVerWhrCode": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "BestMng": { + "type": "float", + "length": 12, + "dp": 3, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s." + "cbc:DeliveredQuantity.#text", + "df_val": False, + "df_func": False, + }, + "HostEinheit": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s." + "cbc:DeliveredQuantity.@unitCode", + "df_val": False, + "df_func": False, + }, + "RxAusp_WeiterPreis": { + "type": "float", + "length": 14, + "dp": 6, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_WeiterWhrCode": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_AktionWpKz": { + "type": "bool", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "RxAusp_AktionLvpKz": { + "type": "bool", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "RxAusp_AktionNr": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_VorVerNr": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_Info": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_HostBatch": { + "type": "bool", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "RxAusp_BatchLagRf": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_MId_SerienNrGrp": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxAusp_RestHaltTaWa": { + "type": "int", + "length": 4, + "dp": False, + "ubl_path": False, + "df_val": 0, + "df_func": False, + }, + "RxAusp_AscFifo": { + "type": "bool", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "RxAusp_WATeSplittId": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/auspq.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/auspq.py new file mode 100644 index 0000000..89eb21a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/auspq.py @@ -0,0 +1,190 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "AUSPQ0051", + "df_func": False, + }, + "IvAusp_UrAusId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxAusp_AusId_Mand", + "df_val": False, + "df_func": False, + }, + "IvAusp_UrAusId_AusNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_AusId_AusNr", + "df_val": False, + "df_func": False, + }, + "IvAusp_UrAusId_HostAusKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxAusp_AusId_HostAusKz", + "df_val": False, + "df_func": False, + }, + "IvAusp_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_ExtRef", + "df_val": False, + "df_func": False, + }, + "IvAusp_HostPosNr": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "RxAusp_HostPosNr", + "df_val": False, + "df_func": False, + }, + "IvAusp_MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxAusp_MId_AId_Mand", + "df_val": False, + "df_func": False, + }, + "IvAusp_MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_MId_AId_ArtNr", + "df_val": False, + "df_func": False, + }, + "IvAusp_MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxAusp_MId_AId_Var", + "df_val": False, + "df_func": False, + }, + "IvMatqk_HMATQ_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvAusp_LiefMngsWamas_Mng": { + "type": "int", + "length": 12, + "dp": False, + "dict_key": "BestMng", + "df_val": False, + "df_func": False, + }, + "IvAusp_LiefMngsWamas_Gew": { + "type": "int", + "length": 12, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvArt_HOSTUNITS_HostEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "HostEinheit", + "df_val": False, + "df_func": False, + }, + "IvArt_Bestand_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "HostEinheit", + "df_val": False, + "df_func": False, + }, + "IvAusp_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_MId_Charge", + "df_val": False, + "df_func": False, + }, + "IvAusp_Info": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "RxAusp_Info", + "df_val": False, + "df_func": False, + }, + "IvAusp_MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "LiefSNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "AUSPQ0051": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/bkorr.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/bkorr.py new file mode 100644 index 0000000..cf61878 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/bkorr.py @@ -0,0 +1,195 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "BKORR0051", + "df_func": False, + }, + "Hostkorr_HostKorrKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "HOST", + "df_func": False, + }, + "Invba_MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "000", + "df_func": False, + }, + "Invba_MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "00000", + "df_func": False, + }, + "Invba_MId_SerienNrGrp": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_MId_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_MId_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Matqk_HMATQ_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_DiffMngs_Mng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_DiffMngs_Gew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_HOSTUNITS_HostEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Art_Bestand_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_BuSchl": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Bschl_HostBuschlPlus": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Bschl_KOST_KostSte": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Invba_InvbaId": { + "type": "int", + "length": 7, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Sign": { + "type": "str", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretk.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretk.py new file mode 100644 index 0000000..6087c1a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretk.py @@ -0,0 +1,275 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "ubl_path": False, + "df_val": "KRETK0051", + "df_func": False, + }, + "RxKretk_KretId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxKretk_KretId_KretNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxKretk_KretId_HostKretKz": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "RxKretk_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:OrderReference.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxKretk_KRETTYP_Typ": { + "type": "str", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": "RETCLI", + "df_func": False, + }, + "RxKretk_KST_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxKretk_KST_KuNr": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cbc:CustomerAssignedAccountID", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name", + }, + "RxKretk_Adrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name2", + }, + "RxKretk_Adrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name3", + }, + "RxKretk_Adrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name4", + }, + "RxKretk_Adrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:Title", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Adr", + }, + "RxKretk_Adrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:PostalAddress.cbc:PostalZone", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:PostalAddress.cbc:CityName", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:PostalAddress.cac:Country.cbc:IdentificationCode", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:Telephone", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:ElectronicMail", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:Telefax", + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxKretk_Adrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxKretk_KretFlaeche_FeldId": { + "type": "str", + "length": 14, + "dp": False, + "ubl_path": False, + "df_val": "SF-EM-RETCLI", + "df_func": False, + }, + "RxKretk_Info2Wamas": { + "type": "str", + "length": 77, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:Note", + "df_val": False, + "df_func": False, + }, + "RxKretk_LiefTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": [ + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:EstimatedDeliveryPeriod.cbc:EndDate", + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:EstimatedDeliveryPeriod.cbc:EndTime", + ], + "df_val": False, + "df_func": False, + }, + "RxKretk_TOR_Tor": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretkq.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretkq.py new file mode 100644 index 0000000..06584bd --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretkq.py @@ -0,0 +1,126 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "KRETKQ050", + "df_func": False, + }, + "IvKretk_KretId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxKretk_KretId_Mand", + "df_val": False, + "df_func": False, + }, + "IvKretk_KretId_KretNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxKretk_KretId_KretNr", + "df_val": False, + "df_func": False, + }, + "IvKretk_KretId_HostKretKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxKretk_KretId_HostKretKz", + "df_val": False, + "df_func": False, + }, + "IvKretk_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxKretk_ExtRef", + "df_val": False, + "df_func": False, + }, + "IvKretk_KST_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxKretk_KST_Mand", + "df_val": False, + "df_func": False, + }, + "IvKretk_KST_KuNr": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": "RxKretk_KST_KuNr", + "df_val": False, + "df_func": False, + }, + "IvKretk_LiefTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": "RxKretk_LiefTerm", + "df_val": False, + "df_func": False, + }, + "IvKretk_StartZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_date_from_field('IvKretk_LiefTerm', 8, 'hours')", + }, + "IvKretk_FertZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_date_from_field('IvKretk_LiefTerm', 18, 'hours')", + }, + "IvKretk_Info2Host": { + "type": "str", + "length": 77, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretp.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretp.py new file mode 100644 index 0000000..bd153fd --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretp.py @@ -0,0 +1,193 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "ubl_path": False, + "df_val": "KRETP0046", + "df_func": False, + }, + "RxKretp_KretId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxKretp_KretId_KretNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxKretp_KretId_HostKretKz": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "RxKretp_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:OrderReference.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxKretp_HostPosNr": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s.cbc:ID", + "df_val": False, + "df_func": "get_sequence_number", + }, + "RxKretp_MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxKretp_MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s.cac:Item." + "cac:BuyersItemIdentification.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxKretp_MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": "00000", + "df_func": False, + }, + "Matqgs_Matqg1": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": "DISPONIBLE", + "df_func": False, + }, + "Matqgs_Matqg2": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "Matqgs_Matqg3": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "SollMng": { + "type": "float", + "length": 12, + "dp": 3, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s." + "cbc:DeliveredQuantity.#text", + "df_val": False, + "df_func": False, + }, + "HostEinheit": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s." + "cbc:DeliveredQuantity.@unitCode", + "df_val": False, + "df_func": False, + }, + "RxKretp_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxKretp_MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxKretp_SatzKzKretp": { + "type": "str", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "RxKretp_MId_SerienNrGrp": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxKretp_MId_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretpq.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretpq.py new file mode 100644 index 0000000..f969bae --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kretpq.py @@ -0,0 +1,174 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "KRETPQ050", + "df_func": False, + }, + "IvKretp_KretId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxKretp_KretId_Mand", + "df_val": False, + "df_func": False, + }, + "IvKretp_KretId_KretNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxKretp_KretId_KretNr", + "df_val": False, + "df_func": False, + }, + "IvKretp_KretId_HostKretKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxKretp_KretId_HostKretKz", + "df_val": False, + "df_func": False, + }, + "IvKretp_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxKretp_ExtRef", + "df_val": False, + "df_func": False, + }, + "IvKretp_HostPosNr": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "RxKretp_HostPosNr", + "df_val": False, + "df_func": False, + }, + "IvKretp_MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxKretp_MId_AId_Mand", + "df_val": False, + "df_func": False, + }, + "IvKretp_MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxKretp_MId_AId_ArtNr", + "df_val": False, + "df_func": False, + }, + "IvKretp_MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxKretp_MId_AId_Var", + "df_val": False, + "df_func": False, + }, + "IvMatqk_HMATQ_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "Matqgs_Matqg1", + "df_val": False, + "df_func": False, + }, + "IvKretp_AnmMngs_Mng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": "get_quantity_done", + }, + "IvKretp_AnmMngs_Gew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvArt_HOSTUNITS_HostEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvArt_Bestand_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "HostEinheit", + "df_val": False, + "df_func": False, + }, + "IvKretp_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxKretp_MId_Charge", + "df_val": False, + "df_func": False, + }, + "IvKretp_MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": "RxKretp_MId_MHD", + "df_val": "19700101", + "df_func": False, + }, + "IvKretp_MId_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxKretp_MId_WeNr", + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kst.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kst.py new file mode 100644 index 0000000..256f855 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kst.py @@ -0,0 +1,506 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "KST000052", + "df_func": False, + }, + "Kst_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "000", + "df_func": False, + }, + "Kst_KuNr": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": "ref", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_name", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_name2", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_name3", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_name4", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": "delivery_title", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_street", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": "delivery_zip", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_city", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_state", + "df_func": False, + }, + "Kst_LiefAdrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": "delivery_country_code", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": "delivery_phone", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "delivery_email", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": "delivery_website", + "df_val": False, + "df_func": False, + }, + "Kst_LiefAdrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_name", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_name2", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_name3", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_name4", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": "invoicing_title", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_street", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": "invoicing_zip", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_city", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_state", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": "invoicing_country_code", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": "invoicing_phone", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "invoicing_email", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": "invoicing_website", + "df_val": False, + "df_func": False, + }, + "Kst_Adrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_DVRNr": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_UIDNr": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_LokKstTyp_MaxTEHoehe": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_KSTTYP_KstTypId": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": "Standard", + "df_func": False, + }, + "Kst_LokKstTyp_EanQuittErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Kst_LokKstTyp_EartErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_LokKstTyp_EMatQErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_LokKstTyp_EtikettKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_LokKstTyp_FeldKQuittErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Kst_LokKstTyp_FeldQuittErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Kst_LokKstTyp_KomGewInitKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_LokKstTyp_KomMngInitKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Kst_LokKstTyp_KomPosInitKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Kst_LokKstTyp_KontErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_LokKstTyp_KontIntWa": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_LokKstTyp_KstGrp": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_LokKstTyp_LiefSAnz": { + "type": "int", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Kst_LokKstTyp_LiefSLay": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": "Standard", + "df_func": False, + }, + "Kst_LokKstTyp_MkkErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_LokKstTyp_OkQuittErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_LokKstTyp_TeQuittErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Kst_LokKstTyp_UeberliefErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "Kst_SatzKz": { + "type": "str", + "length": 1, + "dp": False, + "dict_key": "game_identifier", + "df_val": False, + "df_func": False, + }, + "Kst_SperrKzWa": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kstaus.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kstaus.py new file mode 100644 index 0000000..b0b554f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/kstaus.py @@ -0,0 +1,91 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "KSTAUS050", + "df_func": False, + }, + "KstAus_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "000", + "df_func": False, + }, + "KstAus_KuNr": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": "ref", + "df_val": False, + "df_func": False, + }, + "KstAus_ThmId": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": "wamas_code", + "df_val": False, + "df_func": False, + }, + "KstAus_LagIdKom": { + "type": "str", + "length": 6, + "dp": False, + "dict_key": "picking_zone", + "df_val": False, + "df_func": False, + }, + "KstAus_RfNr": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "priority_sequence", + "df_val": "0", + "df_func": False, + }, + "KstAus_SatzKz": { + "type": "str", + "length": 1, + "dp": False, + "dict_key": "game_identifier", + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lba.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lba.py new file mode 100644 index 0000000..6d606f6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lba.py @@ -0,0 +1,187 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "LBA000051", + "df_func": False, + }, + "Lba_HOSTSTOCK_HostStockKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "HOST", + "df_func": False, + }, + "Lba_LfdNummer": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Variante": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_SNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_vonMHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_bisMHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpChargeKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpWeNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpResNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpMHDKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpTeIdKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpSNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbabq.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbabq.py new file mode 100644 index 0000000..15fb44b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbabq.py @@ -0,0 +1,187 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "LBABQ0052", + "df_func": False, + }, + "Lba_HOSTSTOCK_HostStockKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "HOST", + "df_func": False, + }, + "Lba_LfdNummer": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Variante": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_SNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_vonMHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_bisMHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpChargeKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpWeNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpResNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpMHDKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpTeIdKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpSNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbaeq.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbaeq.py new file mode 100644 index 0000000..2f69320 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbaeq.py @@ -0,0 +1,187 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "LBAMQ0051", + "df_func": False, + }, + "Lba_HOSTSTOCK_HostStockKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "HOST", + "df_func": False, + }, + "Lba_LfdNummer": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Variante": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_SNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_vonMHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_bisMHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpChargeKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpWeNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpResNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpMHDKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpTeIdKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_GrpSNrKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lba_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbamq.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbamq.py new file mode 100644 index 0000000..406b8ab --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lbamq.py @@ -0,0 +1,179 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "LBAMQ0051", + "df_func": False, + }, + "Lba_HOSTSTOCK_HostStockKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": "HOST", + "df_func": False, + }, + "Lba_LfdNummer": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "TeId": { + "type": "str", + "length": 18, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Mngs_Mng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "BestEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Mngs_Gew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "HostEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_SerienNrGrp": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "MId_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Seriennummer": { + "type": "int", + "length": 7, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lst.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lst.py new file mode 100644 index 0000000..4618972 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/lst.py @@ -0,0 +1,283 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "df_val": "LST000051", + "df_func": False, + }, + "Lst_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": False, + "df_val": "000", + "df_func": False, + }, + "Lst_LiefNr": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": "ref", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "name", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "name2", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "name3", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "name4", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": "title", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "street", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": "zip", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "city", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "state", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "dict_key": "country_code", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": "phone", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": "email", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "dict_key": "website", + "df_val": False, + "df_func": False, + }, + "Lst_Adrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_UIDNr": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_DVRNr": { + "type": "str", + "length": 15, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_LSTTYP_LstTypId": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": "Standard", + "df_func": False, + }, + "Lst_LokLstTyp_AnzWeBeleg": { + "type": "int", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_LokLstTyp_LiefBewKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_LokLstTyp_StdLgTor": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_LokLstTyp_StdRetTor": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_LokLstTyp_StdWeTor": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "Lst_LokLstTyp_UebLiefErl": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "J", + "df_func": False, + }, + "Lst_LokLstTyp_WeBelegLay": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": "Standard", + "df_func": False, + }, + "Lst_SatzKz": { + "type": "str", + "length": 1, + "dp": False, + "dict_key": "game_identifier", + "df_val": False, + "df_func": False, + }, + "Lst_PrueflosWeKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/watekq.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/watekq.py new file mode 100644 index 0000000..cc6cead --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/watekq.py @@ -0,0 +1,166 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "WATEKQ054", + "df_func": False, + }, + "IvTek_TeId": { + "type": "str", + "length": 18, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_random_str_num", + }, + "IvTek_Pos_FeldId": { + "type": "str", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_random_quai", + }, + "IvTek_Pos_Offs_L_X": { + "type": "int", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvTek_Pos_Offs_L_Y": { + "type": "int", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvTek_Pos_Offs_L_Z": { + "type": "int", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvTek_Stamm_TeId": { + "type": "str", + "length": 18, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "AnzSubTe": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvTourp_TOUR_TourId_TourNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusk_RahmenTourId_TourNr", + "df_val": False, + "df_func": False, + }, + "IvTourp_TOUR_TourId_HostTourKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxAusk_AusId_HostAusKz", + "df_val": False, + "df_func": False, + }, + "IvTts_THM_ThmId": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": "RO", + "df_func": False, + }, + "IvTts_MaxLadeHoehe": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_random_int_num", + }, + "IvTour_VAST_Versandart": { + "type": "str", + "length": 2, + "dp": False, + "dict_key": False, + "df_val": "ST", + "df_func": False, + }, + "IvTourp_TOUR_TourId_IntLfdNr": { + "type": "int", + "length": 4, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_random_int_num", + }, + "IvTek_GesGew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": "get_random_int_num", + }, + "IvTourp_LiefSNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/watepq.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/watepq.py new file mode 100644 index 0000000..bb054aa --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/watepq.py @@ -0,0 +1,214 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "WATEPQ050", + "df_func": False, + }, + "IvTep_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_MId_Charge", + "df_val": False, + "df_func": False, + }, + "IvTep_MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": "20240413", + "df_func": False, + }, + "IvTep_MId_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_MId_ResNr", + "df_val": False, + "df_func": False, + }, + "IvTep_MId_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvTep_MId_ThmKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "IvTep_PrimThmKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": False, + "df_val": "N", + "df_func": False, + }, + "IvTep_FifoDatum": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": False, + "df_val": "20240413", + "df_func": False, + }, + "IvTep_PosNr": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvArt_Bestand_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "HostEinheit", + "df_val": False, + "df_func": False, + }, + "IvArt_HOSTUNITS_HostEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvAusp_UrAusId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxAusp_AusId_Mand", + "df_val": False, + "df_func": False, + }, + "IvAusp_UrAusId_AusNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_AusId_AusNr", + "df_val": False, + "df_func": False, + }, + "IvAusp_UrAusId_HostAusKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxAusp_AusId_HostAusKz", + "df_val": False, + "df_func": False, + }, + "IvAusp_HostPosNr": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "RxAusp_HostPosNr", + "df_val": False, + "df_func": False, + }, + "IvArt_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxAusp_MId_AId_Mand", + "df_val": False, + "df_func": False, + }, + "IvArt_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxAusp_MId_AId_ArtNr", + "df_val": False, + "df_func": False, + }, + "IvArt_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxAusp_MId_AId_Var", + "df_val": False, + "df_func": False, + }, + "Mngs_Mng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": "BestMng", + "df_val": False, + "df_func": False, + }, + "Mngs_Gew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvMatqk_HMATQ_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "Matqgs_Matqg1", + "df_val": False, + "df_func": False, + }, + "IvTep_TeId": { + "type": "str", + "length": 18, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_parent_id", + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weak.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weak.py new file mode 100644 index 0000000..053049c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weak.py @@ -0,0 +1,259 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "ubl_path": False, + "df_val": "WEAK00050", + "df_func": False, + }, + "RxWeak_WeaId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxWeak_WeaId_WeaNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxWeak_WeaId_HostWeaKz": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "RxWeak_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:OrderReference.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxWeak_WEATYP_Typ": { + "type": "str", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": "STDMAN", + "df_func": False, + }, + "RxWeak_LST_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxWeak_LST_LiefNr": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cbc:CustomerAssignedAccountID", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_Name": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name", + }, + "RxWeak_Adrs_Name2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name2", + }, + "RxWeak_Adrs_Name3": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name3", + }, + "RxWeak_Adrs_Name4": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Name4", + }, + "RxWeak_Adrs_Anrede": { + "type": "str", + "length": 15, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:Title", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_Adr": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "supplier_get_Adrs_Adr", + }, + "RxWeak_Adrs_Adr2": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_PLZ": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:PostalAddress.cbc:PostalZone", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_Ort": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:PostalAddress.cbc:CityName", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_OrtTeil": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_Land": { + "type": "str", + "length": 4, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:PostalAddress.cac:Country.cbc:IdentificationCode", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_Tel": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:Telephone", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_Fax": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:Telefax", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_Email": { + "type": "str", + "length": 40, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchSupplierParty." + "cac:Party.cac:Contact.cbc:ElectronicMail", + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_WWW": { + "type": "str", + "length": 35, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeak_Adrs_ILN": { + "type": "str", + "length": 13, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeak_BestTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": [ + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:PromiseDeliveryPeriod.cbc:EndDate", + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:PromiseDeliveryPeriod.cbc:EndTime", + ], + "df_val": False, + "df_func": False, + }, + "RxWeak_Info2Wamas": { + "type": "str", + "length": 77, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:Note", + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weakq.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weakq.py new file mode 100644 index 0000000..75bde31 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weakq.py @@ -0,0 +1,150 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "WEAKQ0051", + "df_func": False, + }, + "IvWevk_WevId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxWeak_WeaId_Mand", + "df_val": False, + "df_func": False, + }, + "IvWevk_WevId_WevNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeak_WeaId_WeaNr", + "df_val": False, + "df_func": False, + }, + "HostWeaKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxWeak_WeaId_HostWeaKz", + "df_val": False, + "df_func": False, + }, + "IvWevk_LiefTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": "19700101010000", + "df_func": False, + }, + "IvWevk_LkwFahrer": { + "type": "str", + "length": 40, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvWevk_LkwKz": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvWevk_EinfahrtZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": "19700101010000", + "df_func": False, + }, + "IvWevk_StartZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvWevk_FertZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "IvWevk_AnmZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvWevk_Info2Host": { + "type": "str", + "length": 77, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "LST_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxWeak_LST_Mand", + "df_val": False, + "df_func": False, + }, + "LST_LiefNr": { + "type": "str", + "length": 13, + "dp": False, + "dict_key": "RxWeak_LST_LiefNr", + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weap.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weap.py new file mode 100644 index 0000000..b9adb01 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weap.py @@ -0,0 +1,272 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_destination", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "ubl_path": False, + "df_val": "WEAP00045", + "df_func": False, + }, + "RxWeap_WeaId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxWeap_WeaId_WeaNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxWeap_WeaId_HostWeaKz": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": "get_source", + }, + "RxWeap_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:OrderReference.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxWeap_HostPosNr": { + "type": "int", + "length": 6, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s.cbc:ID", + "df_val": False, + "df_func": "get_sequence_number", + }, + "RxWeap_MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "000", + "df_func": False, + }, + "RxWeap_MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s.cac:Item." + "cac:BuyersItemIdentification.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxWeap_MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": False, + "df_val": "00000", + "df_func": False, + }, + "RxWeap_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeap_MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeap_MId_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeap_MId_ThmKz": { + "type": "bool", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "Matqgs_Matqg1": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": "DISPONIBLE", + "df_func": False, + }, + "Matqgs_Matqg2": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "Matqgs_Matqg3": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "BestMng": { + "type": "float", + "length": 12, + "dp": 3, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s." + "cbc:DeliveredQuantity.#text", + "df_val": False, + "df_func": False, + }, + "HostEinheit": { + "type": "str", + "length": 5, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s." + "cbc:DeliveredQuantity.@unitCode", + "df_val": False, + "df_func": False, + }, + "RxWeap_WeaPosTyp": { + "type": "str", + "length": 7, + "dp": False, + "ubl_path": False, + "df_val": "NORMAL", + "df_func": False, + }, + "RxWeap_AvLiefTerm": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:EstimatedDeliveryPeriod.cbc:EndDate", + "df_val": False, + "df_func": False, + }, + "RxWeap_AvLiefSNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeap_AvLiefSDatum": { + "type": "datetime", + "length": 14, + "dp": False, + "ubl_path": [ + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:EstimatedDeliveryPeriod.cbc:EndDate", + "DespatchAdvice.cac:Shipment.cac:Delivery." + "cac:EstimatedDeliveryPeriod.cbc:EndTime", + ], + "df_val": False, + "df_func": False, + }, + "RxWeap_LiefArtNr": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": "DespatchAdvice.cac:DespatchLine.%s." + "cac:Item.cac:SellersItemIdentification.cbc:ID", + "df_val": False, + "df_func": False, + }, + "RxWeap_SatzKzWeap": { + "type": "str", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "RxWeap_PosEnde": { + "type": "bool", + "length": 1, + "dp": False, + "ubl_path": False, + "df_val": "N", + "df_func": False, + }, + "RxWeap_RetTorKz": { + "type": "str", + "length": 3, + "dp": False, + "ubl_path": False, + "df_val": "LG", + "df_func": False, + }, + "RxWeap_MId_SerienNrGrp": { + "type": "str", + "length": 20, + "dp": False, + "ubl_path": False, + "df_val": False, + "df_func": False, + }, + "RxWeap_Info2Wamas": { + "type": "str", + "length": 77, + "dp": False, + "ubl_path": "DespatchAdvice.cbc:Note", + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weapq.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weapq.py new file mode 100644 index 0000000..9fdb7ac --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas/wamas_grammar/weapq.py @@ -0,0 +1,214 @@ +from collections import OrderedDict + +grammar = OrderedDict( + { + "Telheader_Quelle": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_source_q", + }, + "Telheader_Ziel": { + "type": "str", + "length": 10, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_destination_q", + }, + "Telheader_TelSeq": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_sequence_number", + }, + "Telheader_AnlZeit": { + "type": "datetime", + "length": 14, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": "get_current_datetime", + }, + "Satzart": { + "type": "str", + "length": 9, + "dp": False, + "dict_key": False, + "df_val": "WEAPQ0050", + "df_func": False, + }, + "IvWevp_WevId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxWeap_WeaId_Mand", + "df_val": False, + "df_func": False, + }, + "IvWevp_WevId_WevNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeap_WeaId_WeaNr", + "df_val": False, + "df_func": False, + }, + "IvWevp_WEAP_WeaId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxWeap_WeaId_Mand", + "df_val": False, + "df_func": False, + }, + "IvWevp_WEAP_WeaId_WeaNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeap_WeaId_WeaNr", + "df_val": False, + "df_func": False, + }, + "IvWevp_WEAP_WeaId_HostWeaKz": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxWeap_WeaId_HostWeaKz", + "df_val": False, + "df_func": False, + }, + "IvWeap_ExtRef": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeap_ExtRef", + "df_val": False, + "df_func": False, + }, + "IvWeap_HostPosNr": { + "type": "int", + "length": 6, + "dp": False, + "dict_key": "RxWeap_HostPosNr", + "df_val": False, + "df_func": False, + }, + "RxWeap_AvLiefSNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeap_AvLiefSNr", + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_AId_Mand": { + "type": "str", + "length": 3, + "dp": False, + "dict_key": "RxWeap_MId_AId_Mand", + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_AId_ArtNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeap_MId_AId_ArtNr", + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_AId_Var": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "RxWeap_MId_AId_Var", + "df_val": False, + "df_func": False, + }, + "IvMatQk_HMATQ_HMatQ": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "Matqgs_Matqg1", + "df_val": False, + "df_func": False, + }, + "IvWevp_LiefMngs_Mng": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": "get_quantity_done", + }, + "IvWevp_LiefMngs_Gew": { + "type": "float", + "length": 12, + "dp": 3, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvArt_HOSTUNITS_HostEinh": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvArt_Bestand_Einheit": { + "type": "str", + "length": 5, + "dp": False, + "dict_key": "HostEinheit", + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_Charge": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeap_MId_Charge", + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_MHD": { + "type": "date", + "length": 8, + "dp": False, + "dict_key": "RxWeap_MId_MHD", + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_ResNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": "RxWeap_MId_ResNr", + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_WeNr": { + "type": "str", + "length": 20, + "dp": False, + "dict_key": False, + "df_val": False, + "df_func": False, + }, + "IvWevp_MId_ThmKz": { + "type": "bool", + "length": 1, + "dp": False, + "dict_key": "RxWeap_MId_ThmKz", + "df_val": False, + "df_func": False, + }, + } +) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas2ubl b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas2ubl new file mode 100755 index 0000000..fefa45e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas2ubl @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.wamas2ubl $* diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas2wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas2wamas new file mode 100755 index 0000000..7dd1f7a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/lib/wamas2wamas @@ -0,0 +1,2 @@ +#!/usr/bin/sh +/usr/bin/env python3 -m wamas.wamas2wamas $* diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/models/__init__.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/models/__init__.py new file mode 100644 index 0000000..e56afa0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/models/__init__.py @@ -0,0 +1 @@ +from . import base_wamas_ubl diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/models/base_wamas_ubl.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/models/base_wamas_ubl.py new file mode 100644 index 0000000..2fb6022 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/models/base_wamas_ubl.py @@ -0,0 +1,70 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import _, api, models + +from ..lib.wamas.dict2wamas import dict2wamas +from ..lib.wamas.ubl2wamas import ubl2wamas +from ..lib.wamas.utils import ( + detect_wamas_type, + get_supported_telegram, + get_supported_telegram_w2w, +) +from ..lib.wamas.wamas2ubl import dict2ubl, wamas2dict, wamas2ubl +from ..lib.wamas.wamas2wamas import wamas2wamas + + +class BaseWamasUbl(models.AbstractModel): + _name = "base.wamas.ubl" + _description = "Methods to convert WAMAS to UBL XML files and vice versa" + + @api.model + def wamas2dict(self, wamas_msg): + return wamas2dict(wamas_msg) + + @api.model + def dict2ubl(self, msg_type, data, extra_data=False): + return dict2ubl(msg_type, data, extra_data=extra_data) + + @api.model + def wamas2ubl(self, wamas_msg, extra_data=False): + return wamas2ubl(wamas_msg, extra_data=extra_data) + + @api.model + def ubl2wamas(self, str_file, msg_type): + return ubl2wamas(str_file, msg_type) + + @api.model + def dict2wamas(self, dict_input, msg_type): + return dict2wamas(dict_input, msg_type) + + @api.model + def get_wamas_type(self, str_file): + return detect_wamas_type(str_file) + + @api.model + def wamas2wamas(self, str_file, processed_qty=None): + return wamas2wamas(str_file, processed_qty=processed_qty) + + @api.model + def record_data_to_wamas(self, data, msg_type): + """ + Convert Odoo record data to WAMAS format + + :return: data as WAMAS format + :rtype: bytes + """ + if not msg_type: + raise ValueError(_("Please define wamas message type (msg_type).")) + if not isinstance(data, dict): + raise ValueError(_("The data is not valid.")) + return self.dict2wamas(data, msg_type) + + @api.model + def get_supported_telegram(self): + return get_supported_telegram() + + @api.model + def get_supported_telegram_w2w(self): + return get_supported_telegram_w2w() diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..874b3ad --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Jacques-Etienne Baudoux +* Tuan Tran +* Telmo Santos diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/readme/CREDITS.rst b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/readme/CREDITS.rst new file mode 100644 index 0000000..ac19123 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/readme/CREDITS.rst @@ -0,0 +1 @@ +The creation of this module was financially supported by Camptocamp. diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/readme/DESCRIPTION.rst new file mode 100644 index 0000000..53aa133 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module contains methods to parse between WAMAS file and UBL file. diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/readme/TODO.rst b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/readme/TODO.rst new file mode 100644 index 0000000..7e1b441 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/readme/TODO.rst @@ -0,0 +1,2 @@ +- Get rid of embedded qweb engine in favor of odoo's +- Get rid of Dotty and obj in favor of Odoo's own DotDict? diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/security/ir.model.access.csv b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/security/ir.model.access.csv new file mode 100644 index 0000000..a8cc8a6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_wamas_ubl_wiz_check,access_wamas_ubl_wiz_check,model_wamas_ubl_wiz_check,base_edi.group_edi_manager,1,1,1,1 +access_wamas_ubl_wiz_simulate,access_wamas_ubl_wiz_simulate,model_wamas_ubl_wiz_simulate,base_edi.group_edi_manager,1,1,1,1 diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/static/description/icon.png b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/static/description/index.html b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/static/description/index.html new file mode 100644 index 0000000..a58a044 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/static/description/index.html @@ -0,0 +1,437 @@ + + + + + +Base WAMAS UBL + + + +
      +

      Base WAMAS UBL

      + + +

      Alpha License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      This module contains methods to parse between WAMAS file and UBL file.

      +
      +

      Important

      +

      This is an alpha version, the data model and design can change at any time without warning. +Only for development or testing purpose, do not use in production. +More details on development status

      +
      +

      Table of contents

      + +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • Camptocamp
      • +
      • BCIM
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Other credits

      +

      The creation of this module was financially supported by Camptocamp.

      +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      + +Odoo Community Association + +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/__init__.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/__init__.py new file mode 100644 index 0000000..f96d921 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/__init__.py @@ -0,0 +1,3 @@ +from . import test_base_wamas_ubl +from . import test_wamas_lib +from . import test_record_data_to_wamas diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION-2.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION-2.wamas new file mode 100644 index 0000000..726163e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION-2.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221041251LST000051 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION.wamas new file mode 100644 index 0000000..47ae7d6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221041251XYZ0000510000001 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT.wamas new file mode 100644 index 0000000..3886746 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221041251LST0000510000001 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION-2.txt b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION-2.txt new file mode 100644 index 0000000..7f1433e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION-2.txt @@ -0,0 +1,2 @@ +- Error: Line of length 660 does not match expected length of 667: +ODOO WAMAS 00000120231221041251LST000051 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt new file mode 100644 index 0000000..23ca1ee --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt @@ -0,0 +1 @@ +- Error: Invalid telegram type: XYZ \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT.dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT.dict new file mode 100644 index 0000000..b3c20df --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT.dict @@ -0,0 +1,39 @@ +{ + "wamas_type": "Supplier", + "data": { + "LST": [ + { + "Lst_Adrs_Adr": "adam@dayrep.com", + "Lst_Adrs_Adr2": "", + "Lst_Adrs_Anrede": "", + "Lst_Adrs_Email": "aaa", + "Lst_Adrs_Fax": "", + "Lst_Adrs_ILN": "", + "Lst_Adrs_Land": "US", + "Lst_Adrs_Name": "Adam Smith", + "Lst_Adrs_Name2": "", + "Lst_Adrs_Name3": "", + "Lst_Adrs_Name4": "", + "Lst_Adrs_Ort": "Sand Springs", + "Lst_Adrs_OrtTeil": "Texas", + "Lst_Adrs_PLZ": "79782", + "Lst_Adrs_Tel": "432-393-1264", + "Lst_Adrs_WWW": "", + "Lst_DVRNr": "", + "Lst_LSTTYP_LstTypId": "Standard", + "Lst_LiefNr": "0001", + "Lst_LokLstTyp_AnzWeBeleg": "0", + "Lst_LokLstTyp_LiefBewKz": "N", + "Lst_LokLstTyp_StdLgTor": "", + "Lst_LokLstTyp_StdRetTor": "", + "Lst_LokLstTyp_StdWeTor": "", + "Lst_LokLstTyp_UebLiefErl": "J", + "Lst_LokLstTyp_WeBelegLay": "Standard", + "Lst_Mand": "000", + "Lst_PrueflosWeKz": "N", + "Lst_SatzKz": "", + "Lst_UIDNr": "", + } + ] + }, +} diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT.txt b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT.txt new file mode 100644 index 0000000..97b17ef --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT.txt @@ -0,0 +1,42 @@ +- WAMAS Type: Supplier +- Data: { + "LST": [ + { + "Telheader_Quelle": "ODOO", + "Telheader_Ziel": "WAMAS", + "Telheader_TelSeq": 1, + "Telheader_AnlZeit": "20231221041251", + "Satzart": "LST000051", + "Lst_Mand": "000", + "Lst_LiefNr": "0001", + "Lst_Adrs_Name": "Adam Smith", + "Lst_Adrs_Name2": "", + "Lst_Adrs_Name3": "", + "Lst_Adrs_Name4": "", + "Lst_Adrs_Anrede": "", + "Lst_Adrs_Adr": "adam@dayrep.com", + "Lst_Adrs_Adr2": "", + "Lst_Adrs_PLZ": "79782", + "Lst_Adrs_Ort": "Sand Springs", + "Lst_Adrs_OrtTeil": "Texas", + "Lst_Adrs_Land": "US", + "Lst_Adrs_Fax": "", + "Lst_Adrs_Tel": "432-393-1264", + "Lst_Adrs_Email": "aaa", + "Lst_Adrs_WWW": "", + "Lst_Adrs_ILN": "", + "Lst_UIDNr": "", + "Lst_DVRNr": "", + "Lst_LSTTYP_LstTypId": "Standard", + "Lst_LokLstTyp_AnzWeBeleg": 0, + "Lst_LokLstTyp_LiefBewKz": "N", + "Lst_LokLstTyp_StdLgTor": "", + "Lst_LokLstTyp_StdRetTor": "", + "Lst_LokLstTyp_StdWeTor": "", + "Lst_LokLstTyp_UebLiefErl": "J", + "Lst_LokLstTyp_WeBelegLay": "Standard", + "Lst_SatzKz": "", + "Lst_PrueflosWeKz": "N" + } + ] +} diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/DICT2WAMAS-SAMPLE_INPUT.dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/DICT2WAMAS-SAMPLE_INPUT.dict new file mode 100644 index 0000000..ed64273 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/DICT2WAMAS-SAMPLE_INPUT.dict @@ -0,0 +1,13 @@ +{ + "ref": "0001", + "name": "Adam Smith", + "street": "3273 Laurel Lane", + "street2": "", + "zip": "79782", + "city": "Sand Springs", + "state": "Texas", + "country_code": "US", + "phone": "432-393-1264", + "email": "aaa", + "street": "adam@dayrep.com", +} diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/DICT2WAMAS-SAMPLE_OUTPUT.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/DICT2WAMAS-SAMPLE_OUTPUT.wamas new file mode 100644 index 0000000..7938ce3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/DICT2WAMAS-SAMPLE_OUTPUT.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221051251LST0000510000001 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT-EXCEPTION.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT-EXCEPTION.wamas new file mode 100644 index 0000000..47ae7d6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT-EXCEPTION.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221041251XYZ0000510000001 Adam Smith adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Standard 0N JStandard N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT.wamas new file mode 100644 index 0000000..9f4adf0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT.wamas @@ -0,0 +1,6 @@ +SYSLOG WAMAS 00000120231220091116WEAK00050000130377 HOST STDMAN0001040 SA Route de la Gare 1 Case postale 1525 Henniez +41 848 677 677 +41 26 668 68 68 customerservice.ch@waters.nestle.com 20230427000000 +SYSLOG WAMAS 00002020231220091116WEAP00045000130377 HOST 0000200001151 00000 NDISPONIBLE 000001536000BOUT NORMAL 20230501000000 202305010000007910063 NNLG +SYSLOG WAMAS 00003020231220091116WEAP00045000130377 HOST 0000300001156 00000 NDISPONIBLE 000005184000PET NORMAL 20230501000000 202305010000007910105 NNLG +SYSLOG WAMAS 00004020231220091116WEAP00045000130377 HOST 0000400001160 00000 NDISPONIBLE 000003840000BOUT NORMAL 20230501000000 202305010000007910004 NNLG +SYSLOG WAMAS 00005020231220091116WEAP00045000130377 HOST 0000500001162 00000 NDISPONIBLE 000003072000PET NORMAL 20230501000000 2023050100000012156876 NNLG +SYSLOG WAMAS 00006020231220091116WEAP00045000130377 HOST 0000600001176 00000 NDISPONIBLE 000003024000PET NORMAL 20230501000000 202305010000007910044 NNLG diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt new file mode 100644 index 0000000..23ca1ee --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt @@ -0,0 +1 @@ +- Error: Invalid telegram type: XYZ \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT.wamas new file mode 100644 index 0000000..e676f82 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT.wamas @@ -0,0 +1,6 @@ +WAMAS ODOO 00000120230501000000WEAKQ0051000130377 HOST 19700101010000 19700101010000 20230501000000 0001040 +WAMAS ODOO 00000220230501000000WEAPQ0050000130377 000130377 HOST 000020 0001151 00000DISPONIBLE 000001536000000000000000 BOUT N +WAMAS ODOO 00000320230501000000WEAPQ0050000130377 000130377 HOST 000030 0001156 00000DISPONIBLE 000005184000000000000000 PET N +WAMAS ODOO 00000420230501000000WEAPQ0050000130377 000130377 HOST 000040 0001160 00000DISPONIBLE 000003840000000000000000 BOUT N +WAMAS ODOO 00000520230501000000WEAPQ0050000130377 000130377 HOST 000050 0001162 00000DISPONIBLE 000003072000000000000000 PET N +WAMAS ODOO 00000620230501000000WEAPQ0050000130377 000130377 HOST 000060 0001176 00000DISPONIBLE 000003024000000000000000 PET N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_INPUT.dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_INPUT.dict new file mode 100644 index 0000000..70c37dc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_INPUT.dict @@ -0,0 +1,6 @@ +{ + "barcode": "256256256", + "product": "113 113 113", + "product_uom": "BOUT", + "game_identifier": "N", +} diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_OUTPUT.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_OUTPUT.wamas new file mode 100644 index 0000000..c09c042 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_OUTPUT.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221051251ARTEAN001000113 113 113 00000256256256 BOUT N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_INPUT.dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_INPUT.dict new file mode 100644 index 0000000..f2ec6c8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_INPUT.dict @@ -0,0 +1,9 @@ +{ + "product": "223 224 225", + "width": 55, + "height": 50, + "weight": 1, + "length": 10, + "code": "CART", + "game_identifier": "N", +} diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_OUTPUT.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_OUTPUT.wamas new file mode 100644 index 0000000..a6f2c46 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_OUTPUT.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221051251ARTE00051000223 224 225 00000000010000055000050CART 000000000001000000 CART 000000000000000000000000 000000000000000000000000N1000000000001000NNN \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_INPUT.dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_INPUT.dict new file mode 100644 index 0000000..5153729 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_INPUT.dict @@ -0,0 +1,16 @@ +{ + "default_code": "113", + "name": "The Yellow Chair", + "uom": "Units", + "weight": 2, + "sell_only_by_packaging": False, + "fifo_window": 999, + "wamas_expiration_date": False, + "wamas_assortment": "AA", + "wamas_class": "BB", + "product_uom_wamas_code": "HAR", + "packaging_code": "Box", + "packaging_level_palette_wamas_code": "CC", + "standard_price": 0, + "game_identifier": "N", +} diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_OUTPUT.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_OUTPUT.wamas new file mode 100644 index 0000000..76c9e6d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_OUTPUT.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221051251ART000061000113 00000The Yellow Chair HAR Box N000000002000 AA STK STK N999BB GSMST - NJNJANALL_WA sdDEF sdDEF NNNN 999000000000000KANN ORIG99999999900099999999900005000500999999999000999999999999900099999999999990009999 00000000000000eCAM JNNNN 000000000000100000000000NN00000100NNCC J000CHF N000099999000 0000NNNANFRAGE STK NNNNN000000000000 diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_INPUT.dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_INPUT.dict new file mode 100644 index 0000000..51f0dca --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_INPUT.dict @@ -0,0 +1,6 @@ +{ + "ref": "223224", + "wamas_code": "PE/PP/RO", + "priority_sequence": 0, + "game_identifier": "N", +} diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_OUTPUT.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_OUTPUT.wamas new file mode 100644 index 0000000..62a67c4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_OUTPUT.wamas @@ -0,0 +1,2 @@ +ODOO WAMAS 00000120231221051251KSTAUS050000223224 PE/PP/RO kMEZ 0 N +ODOO WAMAS 00000220231221051251KSTAUS050000223224 PE/PP/RO kPAR 0 N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_INPUT.dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_INPUT.dict new file mode 100644 index 0000000..73f3f28 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_INPUT.dict @@ -0,0 +1,31 @@ +{ + "ref": "113", + "delivery_name": "Adam Smith", + "delivery_name2": "Delivery Name 2", + "delivery_name3": "Delivery Name 3", + "delivery_name4": "Delivery Name 4", + "delivery_title": "Delivery Title", + "delivery_street": "3273 Laurel Lane", + "delivery_street2": "", + "delivery_zip": "79782", + "delivery_city": "Sand Springs", + "delivery_state": "Texas", + "delivery_country_code": "US", + "delivery_phone": "432-393-1264", + "delivery_email": "aaa", + "delivery_street": "adam@dayrep.com", + "invoicing_name": "Adam Smith", + "invoicing_name2": "Invoicing Name 2", + "invoicing_name3": "Invoicing Name 3", + "invoicing_name4": "Invoicing Name 4", + "invoicing_title": "invoicing Title", + "invoicing_street": "3273 Laurel Lane", + "invoicing_street2": "", + "invoicing_zip": "79782", + "invoicing_city": "Sand Springs", + "invoicing_state": "Texas", + "invoicing_country_code": "US", + "invoicing_phone": "432-393-1264", + "invoicing_email": "aaa", + "invoicing_street": "adam@dayrep.com", +} diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_OUTPUT.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_OUTPUT.wamas new file mode 100644 index 0000000..5a62a12 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_OUTPUT.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221051251KST000052000113 Adam Smith Delivery Name 2 Delivery Name 3 Delivery Name 4 Delivery Title adam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa Adam Smith Invoicing Name 2 Invoicing Name 3 Invoicing Name 4 invoicing Titleadam@dayrep.com 79782 Sand Springs Texas US 432-393-1264 aaa 000000Standard JNNNJJNJJN0000 0Standard NNJN N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_INPUT.dict b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_INPUT.dict new file mode 100644 index 0000000..8a2bb3a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_INPUT.dict @@ -0,0 +1,16 @@ +{ + "ref": "0001", + "name": "Adam Smith", + "name2": "Name 2", + "name3": "Name 3", + "name4": "Name 4", + "street": "3273 Laurel Lane", + "street2": "", + "zip": "79782", + "city": "Sand Springs", + "state": "Texas", + "country_code": "US", + "phone": "432-393-1264", + "email": "aaa", + "website": "https://testing.com", +} diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_OUTPUT.wamas b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_OUTPUT.wamas new file mode 100644 index 0000000..60cbdc4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_OUTPUT.wamas @@ -0,0 +1 @@ +ODOO WAMAS 00000120231221051251LST0000510000001 Adam Smith Name 2 Name 3 Name 4 3273 Laurel Lane 79782 Sand Springs Texas US 432-393-1264 aaa https://testing.com Standard 0N JStandard N \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/test_base_wamas_ubl.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/test_base_wamas_ubl.py new file mode 100644 index 0000000..db9ed20 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/test_base_wamas_ubl.py @@ -0,0 +1,173 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from ast import literal_eval +from base64 import b64decode, b64encode + +from freezegun import freeze_time + +from odoo.tests.common import TransactionCase +from odoo.tools import file_open + +from odoo.addons.account.tests.common import AccountTestInvoicingCommon + +# FIXME: all simple convertion tests should move to lib/wamas/tests and there +# should be a test that runs the lib tests + + +class TestBaseWamas(TransactionCase): + + maxDiff = None + + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.base_wamas_ubl = cls.env["base.wamas.ubl"] + cls.wamas_ubl_wiz_check = cls.env["wamas.ubl.wiz.check"] + cls.wamas_ubl_wiz_simulate = cls.env["wamas.ubl.wiz.simulate"] + cls.assertXmlTreeEqual = AccountTestInvoicingCommon.assertXmlTreeEqual + cls.get_xml_tree_from_string = ( + AccountTestInvoicingCommon.get_xml_tree_from_string + ) + cls._turn_node_as_dict_hierarchy = ( + AccountTestInvoicingCommon._turn_node_as_dict_hierarchy + ) + cls.partner_1 = cls.env.ref("base.res_partner_1") + cls.partner_2 = cls.env.ref("base.res_partner_2") + country_code_1 = cls.partner_1.commercial_partner_id.country_id.code or "" + country_code_2 = cls.partner_2.commercial_partner_id.country_id.code or "" + cls.extra_data = { + "DespatchSupplierParty": { + "CustomerAssignedAccountID": cls.partner_1.commercial_partner_id.ref + or "", + "PartyName": cls.partner_1.commercial_partner_id.name or "", + "StreetName": cls.partner_1.commercial_partner_id.street or "", + "CityName": cls.partner_1.commercial_partner_id.city or "", + "PostalZone": cls.partner_1.commercial_partner_id.zip or "", + "Country.IdentificationCode": country_code_1, + "CompanyID": cls.partner_1.commercial_partner_id.vat or "", + "TaxScheme.ID": "", + "TaxScheme.TaxTypeCode": "", + "Contact.Name": cls.partner_1.child_ids + and cls.partner_1.child_ids[0].name + or "", + "Contact.Telephone": cls.partner_1.child_ids + and cls.partner_1.child_ids[0].phone + or "", + "Contact.ElectronicMail": cls.partner_1.child_ids + and cls.partner_1.child_ids[0].email + or "", + }, + "DeliveryCustomerParty": { + "PartyName": cls.partner_2.commercial_partner_id.name or "", + "StreetName": cls.partner_2.commercial_partner_id.street or "", + "CityName": cls.partner_2.commercial_partner_id.city or "", + "PostalZone": cls.partner_2.commercial_partner_id.zip or "", + "CountrySubentity": cls.partner_2.commercial_partner_id.state_id.name + or "", + "Country.IdentificationCode": country_code_2, + "CompanyID": cls.partner_2.commercial_partner_id.vat or "", + "TaxScheme.ID": "", + "TaxScheme.TaxTypeCode": "", + "Contact.Name": cls.partner_2.child_ids + and cls.partner_2.child_ids[0].name + or "", + "Contact.Telephone": cls.partner_2.child_ids + and cls.partner_2.child_ids[0].phone + or "", + "Contact.Telefax": "", + "Contact.ElectronicMail": cls.partner_2.child_ids + and cls.partner_2.child_ids[0].email + or "", + }, + } + + @freeze_time("2023-05-01") + def _wamas_ubl_wiz_check(self, input_filename, expected_output_filename): + with file_open(input_filename) as inputfile, file_open( + expected_output_filename + ) as outputfile: + str_input = inputfile.read() + str_expected_output = outputfile.read().strip("\n") + wizard = self.wamas_ubl_wiz_check.create( + { + "wamas_file": b64encode(str_input.encode("iso-8859-1")), + } + ) + wizard._onchange_wamas_filename() + self.assertFalse(wizard.output) + wizard.btn_check() + self.assertEqual(wizard.output, str_expected_output) + + @freeze_time("2023-05-01 00:00:00") + def _wamas_ubl_wiz_simulate( + self, input_filename, expected_output_filename, state="success" + ): + with file_open(input_filename) as inputfile, file_open( + expected_output_filename + ) as outputfile: + str_input = inputfile.read() + expected_output = outputfile.read() + wizard = self.wamas_ubl_wiz_simulate.create( + { + "wamas_file": b64encode(str_input.encode("iso-8859-1")), + } + ) + wizard._onchange_wamas_filename() + self.assertFalse(wizard.output_wamas_file) + self.assertFalse(wizard.output_wamas_filename) + self.assertFalse(wizard.output) + wizard.btn_simulate() + if state == "success": + output = b64decode(wizard.output_wamas_file).decode("iso-8859-1") + self.assertEqual(output, expected_output) + else: + self.assertEqual(wizard.output, expected_output) + + def test_wamas_ubl_wiz_check(self): + # Success + self._wamas_ubl_wiz_check( + "base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT.wamas", + "base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT.txt", + ) + + def test_wamas_ubl_wiz_check_exception_1(self): + # Raise Exception + self._wamas_ubl_wiz_check( + "base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION.wamas", + "base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt", + ) + + def test_wamas_ubl_wiz_check_exception_2(self): + self._wamas_ubl_wiz_check( + "base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_INPUT-EXCEPTION-2.wamas", + "base_wamas_ubl/tests/samples/CHECKWAMAS-SAMPLE_OUTPUT-EXCEPTION-2.txt", + ) + + def test_wamas_ubl_wiz_simulate(self): + # Success + self._wamas_ubl_wiz_simulate( + "base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT.wamas", + "base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT.wamas", + ) + # Raise Exception + self._wamas_ubl_wiz_simulate( + "base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_INPUT-EXCEPTION.wamas", + "base_wamas_ubl/tests/samples/SIMULATEWAMAS-SAMPLE_OUTPUT-EXCEPTION.txt", + "fail", + ) + + @freeze_time("2023-12-21 04:12:51") + def test_get_wamas_type(self): + input_filename = "CHECKWAMAS-SAMPLE_INPUT.wamas" + expected_output_filename = "CHECKWAMAS-SAMPLE_OUTPUT.dict" + path = "base_wamas_ubl/tests/samples/" + with file_open(path + input_filename) as inputfile, file_open( + path + expected_output_filename + ) as outputfile: + str_input = inputfile.read() + dict_expected_output = literal_eval(outputfile.read()) + wamas_type = self.base_wamas_ubl.get_wamas_type(str_input) + # Wamas Type + self.assertEqual(wamas_type, dict_expected_output["wamas_type"]) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/test_record_data_to_wamas.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/test_record_data_to_wamas.py new file mode 100644 index 0000000..471c808 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/test_record_data_to_wamas.py @@ -0,0 +1,101 @@ +# Copyright 2024 Jacques-Etienne Baudoux (BCIM) +# Copyright 2024 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from ast import literal_eval + +from freezegun import freeze_time + +from odoo.tests import common +from odoo.tools import file_open + + +class TestRecordToWAMAS(common.TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.base_wamas_ubl = cls.env["base.wamas.ubl"] + + def test_export_without_telegram(self): + with self.assertRaisesRegex( + ValueError, r"Please define wamas message type \(msg_type\)." + ): + input_dict = {"name": "David", "age": 16} + self.env["base.wamas.ubl"].record_data_to_wamas(input_dict, "") + + def test_export_invalid_dict(self): + with self.assertRaisesRegex(ValueError, "The data is not valid."): + input_dict = ["David", 16] + self.base_wamas_ubl.record_data_to_wamas(input_dict, "Supplier") + + @freeze_time("2023-12-21 04:12:51") + def test_export_with_LST_telegram(self): + dict_data = { + "input": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_INPUT.dict", + "expected_output": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-LST_OUTPUT.wamas", + } + expected_output = file_open(dict_data["expected_output"], "r").read() + dict_input = literal_eval(file_open(dict_data["input"], "r").read()) + output = self.base_wamas_ubl.record_data_to_wamas(dict_input, "Supplier") + self.assertEqual(output, expected_output) + + @freeze_time("2023-12-21 04:12:51") + def test_export_with_KST_telegram(self): + dict_data = { + "input": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_INPUT.dict", + "expected_output": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KST_OUTPUT.wamas", + } + expected_output = file_open(dict_data["expected_output"], "r").read() + dict_input = literal_eval(file_open(dict_data["input"], "r").read()) + output = self.base_wamas_ubl.record_data_to_wamas(dict_input, "Customer") + self.assertEqual(output, expected_output) + + @freeze_time("2023-12-21 04:12:51") + def test_export_with_ART_telegram(self): + dict_data = { + "input": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_INPUT.dict", + "expected_output": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ART_OUTPUT.wamas", + } + expected_output = ( + file_open(dict_data["expected_output"], "r").read().strip("\n") + ) + dict_input = literal_eval(file_open(dict_data["input"], "r").read()) + output = self.base_wamas_ubl.record_data_to_wamas(dict_input, "Product") + self.assertEqual(output, expected_output) + + @freeze_time("2023-12-21 04:12:51") + def test_export_with_ARTE_telegram(self): + dict_data = { + "input": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_INPUT.dict", + "expected_output": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTE_OUTPUT.wamas", + } + expected_output = file_open(dict_data["expected_output"], "r").read() + dict_input = literal_eval(file_open(dict_data["input"], "r").read()) + output = self.base_wamas_ubl.record_data_to_wamas(dict_input, "Packaging") + self.assertEqual(output, expected_output) + + @freeze_time("2023-12-21 04:12:51") + def test_export_with_ARTEAN_telegram(self): + dict_data = { + "input": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_INPUT.dict", + "expected_output": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-ARTEAN_OUTPUT" + ".wamas", + } + expected_output = file_open(dict_data["expected_output"], "r").read() + dict_input = literal_eval(file_open(dict_data["input"], "r").read()) + output = self.base_wamas_ubl.record_data_to_wamas(dict_input, "Barcode") + self.assertEqual(output, expected_output) + + @freeze_time("2023-12-21 04:12:51") + def test_export_with_KSTAUS_telegram(self): + dict_data = { + "input": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_INPUT.dict", + "expected_output": "base_wamas_ubl/tests/samples/TELEGRAM-SAMPLE-KSTAUS_OUTPUT" + ".wamas", + } + expected_output = file_open(dict_data["expected_output"], "r").read() + dict_input = literal_eval(file_open(dict_data["input"], "r").read()) + output = self.base_wamas_ubl.record_data_to_wamas( + dict_input, "CustomerDeliveryPreferences" + ) + self.assertEqual(output, expected_output) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/test_wamas_lib.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/test_wamas_lib.py new file mode 100644 index 0000000..b099be2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/tests/test_wamas_lib.py @@ -0,0 +1,9 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from ..lib.wamas.tests.test_dict2wamas import * # noqa: F401,F403 +from ..lib.wamas.tests.test_ubl2wamas import * # noqa: F401,F403 +from ..lib.wamas.tests.test_utils import * # noqa: F401,F403 +from ..lib.wamas.tests.test_wamas2dict import * # noqa: F401,F403 +from ..lib.wamas.tests.test_wamas2ubl import * # noqa: F401,F403 +from ..lib.wamas.tests.test_wamas2wamas import * # noqa: F401,F403 diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/views/wamas_menu.xml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/views/wamas_menu.xml new file mode 100644 index 0000000..dbc547c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/views/wamas_menu.xml @@ -0,0 +1,28 @@ + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/__init__.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/__init__.py new file mode 100644 index 0000000..6b38939 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/__init__.py @@ -0,0 +1,2 @@ +from . import wamas_ubl_wiz_check +from . import wamas_ubl_wiz_simulate diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py new file mode 100644 index 0000000..0a7a089 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_check.py @@ -0,0 +1,59 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import json +from base64 import b64decode + +from odoo import _, api, fields, models + + +class WamasUblWizCheck(models.TransientModel): + _name = "wamas.ubl.wiz.check" + _description = "Check WAMAS File Wizard" + + wamas_file = fields.Binary( + "WAMAS File", + required=True, + ) + wamas_filename = fields.Char("WAMAS Filename") + output = fields.Text() + supported_telegram = fields.Text( + default=lambda self: ", ".join( + self.env["base.wamas.ubl"].get_supported_telegram() + ) + ) + + @api.onchange("wamas_filename") + def _onchange_wamas_filename(self): + self.output = False + + def btn_check(self): + self.ensure_one() + wamas_file_decoded = b64decode(self.wamas_file).decode("iso-8859-1") + + bwu_obj = self.env["base.wamas.ubl"] + try: + wamas_type = bwu_obj.get_wamas_type(wamas_file_decoded) + data = bwu_obj.wamas2dict(wamas_file_decoded) + + self.output = ( + _( + """- WAMAS Type: %(wamas_type)s +- Data: %(data)s""" + ) + % dict( + wamas_type=wamas_type, + data=json.dumps(data, indent=4, sort_keys=False), + ) + ) + except Exception as e: + self.output = _("""- Error: %s""") % (e) + + return { + "view_mode": "form", + "res_model": "wamas.ubl.wiz.check", + "res_id": self.id, + "type": "ir.actions.act_window", + "target": "new", + } diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_check.xml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_check.xml new file mode 100644 index 0000000..12e7875 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_check.xml @@ -0,0 +1,50 @@ + + + + + wamas.ubl.wiz.check.form + wamas.ubl.wiz.check + +
      + + + + + + + + +
      +
      +
      +
      +
      + + + Check WAMAS File + wamas.ubl.wiz.check + form + new + {} + + +
      diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.py b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.py new file mode 100644 index 0000000..bcd0cbf --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.py @@ -0,0 +1,63 @@ +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from base64 import b64decode, b64encode + +from odoo import _, api, fields, models + + +class WamasUblWizSimulate(models.TransientModel): + _name = "wamas.ubl.wiz.simulate" + _description = "Simulate WAMAS File Wizard" + + wamas_file = fields.Binary( + "WAMAS File", + required=True, + ) + wamas_filename = fields.Char("WAMAS Filename") + output_wamas_file = fields.Binary("Output WAMAS File") + output_wamas_filename = fields.Char("Output WAMAS Filename") + output = fields.Text() + supported_telegram = fields.Text( + default=lambda self: self._default_supported_telegram() + ) + + @api.model + def _default_supported_telegram(self): + bwu_obj = self.env["base.wamas.ubl"] + dict_telegram = bwu_obj.get_supported_telegram_w2w() + res = "" + for from_telegram, to_telegrams in dict_telegram.items(): + res += "- %(from_telegram)s => %(to_telegram)s\n" % { + "from_telegram": from_telegram, + "to_telegram": ", ".join(to_telegrams), + } + return res + + @api.onchange("wamas_filename") + def _onchange_wamas_filename(self): + self.output_wamas_file = False + self.output_wamas_filename = False + self.output = False + + def btn_simulate(self): + self.ensure_one() + wamas_file_decoded = b64decode(self.wamas_file).decode("iso-8859-1") + + try: + bwu_obj = self.env["base.wamas.ubl"] + output_wamas = bwu_obj.wamas2wamas(wamas_file_decoded).encode("iso-8859-1") + + self.output_wamas_file = b64encode(output_wamas) + self.output_wamas_filename = "OUTPUT_" + self.wamas_filename + except Exception as e: + self.output = _("""- Error: %s""") % (e) + + return { + "view_mode": "form", + "res_model": "wamas.ubl.wiz.simulate", + "res_id": self.id, + "type": "ir.actions.act_window", + "target": "new", + } diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.xml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.xml new file mode 100644 index 0000000..a787ee7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/base_wamas_ubl/wizards/wamas_ubl_wiz_simulate.xml @@ -0,0 +1,53 @@ + + + + + wamas.ubl.wiz.simulate.form + wamas.ubl.wiz.simulate + +
      + + + + + + + + + + +
      +
      +
      +
      +
      + + + Simulate WAMAS File + wamas.ubl.wiz.simulate + form + new + {} + + +
      diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/ARCHITECTURE.md new file mode 100644 index 0000000..cdefdf5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Base_wamas_ubl Module - base_wamas_ubl + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/CONFIGURATION.md new file mode 100644 index 0000000..4af8fea --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for base_wamas_ubl. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/DEPENDENCIES.md new file mode 100644 index 0000000..22eb646 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/DEPENDENCIES.md @@ -0,0 +1,6 @@ +# Dependencies + +This addon depends on: + +- [base_edi](../../odoo-bringout-oca-edi-framework-base_edi) +- [base_ubl](../../odoo-bringout-oca-edi-framework-base_ubl) diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/FAQ.md b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/FAQ.md new file mode 100644 index 0000000..1eb9148 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon base_wamas_ubl or install in UI. diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/INSTALL.md new file mode 100644 index 0000000..a735c5e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-base_wamas_ubl" +# or +uv pip install odoo-bringout-oca-edi-framework-base_wamas_ubl" +``` diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/MODELS.md b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/MODELS.md new file mode 100644 index 0000000..e429b89 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in base_wamas_ubl. + +```mermaid +classDiagram + class base_wamas_ubl +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/OVERVIEW.md new file mode 100644 index 0000000..6b2aa9b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: base_wamas_ubl. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon base_wamas_ubl +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/SECURITY.md new file mode 100644 index 0000000..00ba8bc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/SECURITY.md @@ -0,0 +1,34 @@ +# Security + +Access control and security definitions in base_wamas_ubl. + +## Access Control Lists (ACLs) + +Model access permissions defined in: +- **[ir.model.access.csv](../base_wamas_ubl/security/ir.model.access.csv)** + - 2 model access rules + +## Record Rules + +Row-level security rules defined in: + +```mermaid +graph TB + subgraph "Security Layers" + A[Users] --> B[Groups] + B --> C[Access Control Lists] + C --> D[Models] + B --> E[Record Rules] + E --> F[Individual Records] + end +``` + +Security files overview: +- **[ir.model.access.csv](../base_wamas_ubl/security/ir.model.access.csv)** + - Model access permissions (CRUD rights) + +Notes +- Access Control Lists define which groups can access which models +- Record Rules provide row-level security (filter records by user/group) +- Security groups organize users and define permission sets +- All security is enforced at the ORM level by Odoo diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/USAGE.md b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/USAGE.md new file mode 100644 index 0000000..fad8172 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon base_wamas_ubl +``` diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-base_wamas_ubl/pyproject.toml b/odoo-bringout-oca-edi-framework-base_wamas_ubl/pyproject.toml new file mode 100644 index 0000000..3c89806 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-base_wamas_ubl/pyproject.toml @@ -0,0 +1,43 @@ +[project] +name = "odoo-bringout-oca-edi-framework-base_wamas_ubl" +version = "16.0.0" +description = "Base WAMAS UBL - Base module to aggregate WAMAS - UBL features." +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-framework-base_edi>=16.0.0", + "odoo-bringout-oca-edi-framework-base_ubl>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["base_wamas_ubl"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/README.md b/odoo-bringout-oca-edi-framework-despatch_advice_import/README.md new file mode 100644 index 0000000..3bec665 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/README.md @@ -0,0 +1,46 @@ +# Despatch Advice Import + +Odoo addon: despatch_advice_import + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-despatch_advice_import +``` + +## Dependencies + +This addon depends on: +- purchase +- purchase_stock +- base_business_document_import + +## Manifest Information + +- **Name**: Despatch Advice Import +- **Version**: 16.0.1.2.1 +- **Category**: N/A +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `despatch_advice_import`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/README.rst b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/README.rst new file mode 100644 index 0000000..f97584f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/README.rst @@ -0,0 +1,99 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +====================== +Despatch Advice Import +====================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:6ca80319c1f9790b27e5685c5eb372aa2f61b0570f467f49e81d28c3c2abf77a + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/despatch_advice_import + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-despatch_advice_import + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module will support import despatch advice file + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* ACSONE SA/NV +* BCIM + +Contributors +~~~~~~~~~~~~ + +* Laurent Mignon +* `Trobz `_: + + * Thien +* Simone Orsi +* Jacques-Etienne Baudoux + +Other credits +~~~~~~~~~~~~~ + +The migration of this module from 10.0 to 16.0 was financially supported by Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-jbaudoux| image:: https://github.com/jbaudoux.png?size=40px + :target: https://github.com/jbaudoux + :alt: jbaudoux + +Current `maintainer `__: + +|maintainer-jbaudoux| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/__init__.py b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/__init__.py new file mode 100644 index 0000000..4027237 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/__init__.py @@ -0,0 +1 @@ +from . import wizard diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/__manifest__.py b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/__manifest__.py new file mode 100644 index 0000000..fe6261d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2020 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Despatch Advice Import", + "summary": """ + Despatch Advice import""", + "version": "16.0.1.2.1", + "website": "https://github.com/OCA/edi", + "license": "AGPL-3", + "author": "ACSONE SA/NV,BCIM,Odoo Community Association (OCA)", + "maintainers": ["jbaudoux"], + "depends": ["purchase", "purchase_stock", "base_business_document_import"], + "data": ["security/ir.model.access.csv", "wizard/despatch_advice_import.xml"], + "demo": [], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/bs.po b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/bs.po new file mode 100644 index 0000000..ba9590d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/bs.po @@ -0,0 +1,232 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__allow_validate_over_qty +msgid "Allow Validate Over Quantity" +msgstr "Dozvoli validaciju preko količine" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Cancel" +msgstr "Otkaži" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_uid +msgid "Created by" +msgstr "Kreirao" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_date +msgid "Created on" +msgstr "Kreirano" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery cancelled by the supplier." +msgstr "Isporuka otkazana od strane dobavljača." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed by the supplier." +msgstr "Isporuka potvrđena od strane dobavljača." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed with amendment by the supplier." +msgstr "Isporuka potvrđena sa izmjenom od strane dobavljača." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Despatch Advice Import" +msgstr "Uvoz otpremnog savjeta" + +#. module: despatch_advice_import +#: model:ir.model,name:despatch_advice_import.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "Uvoz otpremnog savjeta iz datoteka" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__display_name +msgid "Display Name" +msgstr "Prikazani naziv" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__filename +msgid "File Name" +msgstr "Ime fajla" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__id +msgid "ID" +msgstr "ID" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of" +" the PDF file and then use this XML file." +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for" +" this XML format is installed. For the" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.actions.act_window,name:despatch_advice_import.despatch_advice_import_action +msgid "Import" +msgstr "Uvoz" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Import document" +msgstr "Uvezi dokument" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import____last_update +msgid "Last Modified on" +msgstr "Zadnje mijenjano" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_uid +msgid "Last Updated by" +msgstr "Zadnji ažurirao" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_date +msgid "Last Updated on" +msgstr "Zadnje ažurirano" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document file" +msgstr "Nedostaje datoteka dokumenta" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document filename" +msgstr "Nedostaje ime datoteke dokumenta" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name %s." +msgstr "Nije pronađena narudžba nabavke za ime %s." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/tests/test_despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name 123456." +msgstr "Nije pronađena narudžba nabavke za ime 123456." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "The product quantity is greater than the original product quantity" +msgstr "Količina proizvoda je veća od originalne količine proizvoda" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "Nema ugrađenih XML datoteka u ovoj PDF datoteci." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "Ova XML datoteka nije u skladu sa XML standardom" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as XML nor PDF file. Please check the file " +"and it's extension." +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Document is not supported. Did you install the module" +" to support this XML format?" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Response is not supported. Did you install the module" +" to support this XML format?" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.ui.menu,name:despatch_advice_import.despatch_advice_import_importer_menu +msgid "UBL Despatch Advice Importer" +msgstr "UBL uvoznik otpremnog savjeta" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Universal Business Language" +msgstr "Univerzalni poslovni jezik" + +#. module: despatch_advice_import +#: model:ir.model.fields,help:despatch_advice_import.field_despatch_advice_import__document +msgid "" +"Upload an Despatch Advice file that you received from your supplier. " +"Supported formats: XML and PDF (PDF with an embeded XML file)." +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"Upload below the DespatchAdvice you received from your supplier. When you " +"click on the import button:" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__document +msgid "XML or PDF Despatch Advice" +msgstr "XML ili PDF otpremni savjet" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"format (UBL), you should install the module " +"despatch_advice_import_ubl." +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/despatch_advice_import.pot b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/despatch_advice_import.pot new file mode 100644 index 0000000..66dabce --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/despatch_advice_import.pot @@ -0,0 +1,232 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__allow_validate_over_qty +msgid "Allow Validate Over Quantity" +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Cancel" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_uid +msgid "Created by" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_date +msgid "Created on" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery cancelled by the supplier." +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed by the supplier." +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed with amendment by the supplier." +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Despatch Advice Import" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model,name:despatch_advice_import.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__display_name +msgid "Display Name" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__filename +msgid "File Name" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__id +msgid "ID" +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of" +" the PDF file and then use this XML file." +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for" +" this XML format is installed. For the" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.actions.act_window,name:despatch_advice_import.despatch_advice_import_action +msgid "Import" +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Import document" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import____last_update +msgid "Last Modified on" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_date +msgid "Last Updated on" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document file" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document filename" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name %s." +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/tests/test_despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name 123456." +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "The product quantity is greater than the original product quantity" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as XML nor PDF file. Please check the file " +"and it's extension." +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Document is not supported. Did you install the module" +" to support this XML format?" +msgstr "" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Response is not supported. Did you install the module" +" to support this XML format?" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.ui.menu,name:despatch_advice_import.despatch_advice_import_importer_menu +msgid "UBL Despatch Advice Importer" +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Universal Business Language" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,help:despatch_advice_import.field_despatch_advice_import__document +msgid "" +"Upload an Despatch Advice file that you received from your supplier. " +"Supported formats: XML and PDF (PDF with an embeded XML file)." +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"Upload below the DespatchAdvice you received from your supplier. When you " +"click on the import button:" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__document +msgid "XML or PDF Despatch Advice" +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"format (UBL), you should install the module " +"despatch_advice_import_ubl." +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/es.po b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/es.po new file mode 100644 index 0000000..a5d506d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/es.po @@ -0,0 +1,249 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-02-14 15:36+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__allow_validate_over_qty +msgid "Allow Validate Over Quantity" +msgstr "" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Cancel" +msgstr "Cancelar" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery cancelled by the supplier." +msgstr "Entrega anulada por el proveedor." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed by the supplier." +msgstr "Entrega confirmada por el proveedor." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed with amendment by the supplier." +msgstr "Entrega confirmada con modificación por el proveedor." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Despatch Advice Import" +msgstr "Aviso de Expedición Importación" + +#. module: despatch_advice_import +#: model:ir.model,name:despatch_advice_import.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "Aviso de Expedición Importación desde Ficheros" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__filename +msgid "File Name" +msgstr "Nombre del Archivo" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__id +msgid "ID" +msgstr "ID" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of " +"the PDF file and then use this XML file." +msgstr "" +"Si es un archivo PDF, Odoo tratará de encontrar un archivo XML en los " +"adjuntos del archivo PDF y luego usará este archivo XML." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for " +"this XML format is installed. For the" +msgstr "" +"Si es un archivo XML, Odoo lo analizará si está instalado el módulo que " +"agrega soporte para este formato XML. Para el" + +#. module: despatch_advice_import +#: model:ir.actions.act_window,name:despatch_advice_import.despatch_advice_import_action +msgid "Import" +msgstr "Importar" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Import document" +msgstr "Importar documento" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import____last_update +msgid "Last Modified on" +msgstr "Última Modificación el" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_uid +msgid "Last Updated by" +msgstr "Última Actualización por" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_date +msgid "Last Updated on" +msgstr "Última Actualización el" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document file" +msgstr "Falta un archivo de documento" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document filename" +msgstr "Falta el nombre de archivo del documento" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name %s." +msgstr "No se ha encontrado ninguna orden de compra para el nombre %s." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/tests/test_despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name 123456." +msgstr "No se ha encontrado ninguna orden de compra a nombre de 123456." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "The product quantity is greater than the original product quantity" +msgstr "La cantidad de producto es superior a la cantidad de producto original" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "No hay ningún archivo XML incorporado en este archivo PDF." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "Este archivo no es compatible con el formato XML" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as XML nor PDF file. Please check the file " +"and it's extension." +msgstr "" +"Este archivo '%s' no se reconoce como archivo XML ni PDF. Compruebe el " +"archivo y su extensión." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Document is not supported. Did you install the module " +"to support this XML format?" +msgstr "" +"Este tipo de documento de pedido XML no es compatible. ¿Ha instalado el " +"módulo para admitir este formato XML?" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Response is not supported. Did you install the module " +"to support this XML format?" +msgstr "" +"Este tipo de respuesta de pedido XML no es compatible. ¿Ha instalado el " +"módulo para admitir este formato XML?" + +#. module: despatch_advice_import +#: model:ir.ui.menu,name:despatch_advice_import.despatch_advice_import_importer_menu +msgid "UBL Despatch Advice Importer" +msgstr "Aviso de Expedición UBL Importador" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Universal Business Language" +msgstr "Lenguaje Comercial Universal" + +#. module: despatch_advice_import +#: model:ir.model.fields,help:despatch_advice_import.field_despatch_advice_import__document +msgid "" +"Upload an Despatch Advice file that you received from your supplier. " +"Supported formats: XML and PDF (PDF with an embeded XML file)." +msgstr "" +"Cargue un Archivo de Aviso de Expedición que haya recibido de su proveedor. " +"Formatos admitidos: XML y PDF (PDF con un archivo XML incrustado)." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"Upload below the DespatchAdvice you received from your supplier. When you " +"click on the import button:" +msgstr "" +"Cargue a continuación el Aviso de Expedición que ha recibido de su " +"proveedor. Cuando haga clic en el botón de importación:" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__document +msgid "XML or PDF Despatch Advice" +msgstr "Aviso de Envío XML o PDF" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"format (UBL), you should install the module despatch_advice_import_ubl." +msgstr "" +"formato (UBL), debes instalar el módulo despatch_advice_import_ubl." diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/fr.po b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/fr.po new file mode 100644 index 0000000..1454622 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/fr.po @@ -0,0 +1,253 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-04-22 12:35+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__allow_validate_over_qty +msgid "Allow Validate Over Quantity" +msgstr "Autoriser la validation d'une quantité supérieure" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Cancel" +msgstr "Annuler" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_uid +msgid "Created by" +msgstr "" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_date +msgid "Created on" +msgstr "créé le" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery cancelled by the supplier." +msgstr "Livraison annulée par le fournisseur." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed by the supplier." +msgstr "Livraison confirmée par le fournisseur." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed with amendment by the supplier." +msgstr "Livraison confirmée avec modification par le fournisseur." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Despatch Advice Import" +msgstr "Importation d'avis d'expédition" + +#. module: despatch_advice_import +#: model:ir.model,name:despatch_advice_import.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "Importation de fichiers d'avis d'expédition" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__display_name +msgid "Display Name" +msgstr "Nom affiché" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__filename +msgid "File Name" +msgstr "Nom du fichier" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__id +msgid "ID" +msgstr "ID" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of" +" the PDF file and then use this XML file." +msgstr "" +"S'il s'agit d'un fichier PDF, Odoo essaiera de trouver un fichier XML dans " +"les pièces jointes du fichier PDF et utilisera ce fichier XML." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for" +" this XML format is installed. For the" +msgstr "" +"S'il s'agit d'un fichier XML, Odoo l'analysera si le module qui prend en " +"charge ce format XML est installé. Pour le fichier" + +#. module: despatch_advice_import +#: model:ir.actions.act_window,name:despatch_advice_import.despatch_advice_import_action +msgid "Import" +msgstr "Import" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Import document" +msgstr "Importer le document" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import____last_update +msgid "Last Modified on" +msgstr "Dernière modification le" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_uid +msgid "Last Updated by" +msgstr "Dernière mise à jour par" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_date +msgid "Last Updated on" +msgstr "Dernière mise à jour le" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document file" +msgstr "Fichier de document manquant" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document filename" +msgstr "Nom de fichier manquant" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name %s." +msgstr "Aucune commande fournisseur trouvée pour le nom %s." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/tests/test_despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name 123456." +msgstr "Aucune commande fournisseur trouvée avec le nom 123456." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "The product quantity is greater than the original product quantity" +msgstr "" +"La quantité de produit est supérieure à la quantité de produit commandée" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "Il n'y a pas de fichier XML intégré dans ce fichier PDF." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "Ce fichier XML n'est pas conforme" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as XML nor PDF file. Please check the file " +"and it's extension." +msgstr "" +"Le fichier '%s' n'est pas reconnu comme un fichier XML ou PDF. Veuillez " +"vérifier le fichier et son extension." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Document is not supported. Did you install the module" +" to support this XML format?" +msgstr "" +"Ce type de document de commande XML n'est pas pris en charge. Avez-vous " +"installé le module pour supporter ce format XML ?" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Response is not supported. Did you install the module" +" to support this XML format?" +msgstr "" +"Ce type de réponse de commande XML n'est pas pris en charge. Avez-vous " +"installé le module pour supporter ce format XML ?" + +#. module: despatch_advice_import +#: model:ir.ui.menu,name:despatch_advice_import.despatch_advice_import_importer_menu +msgid "UBL Despatch Advice Importer" +msgstr "Importateur d'avis d'expédition UBL" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Universal Business Language" +msgstr "Universal Business Language" + +#. module: despatch_advice_import +#: model:ir.model.fields,help:despatch_advice_import.field_despatch_advice_import__document +msgid "" +"Upload an Despatch Advice file that you received from your supplier. " +"Supported formats: XML and PDF (PDF with an embeded XML file)." +msgstr "" +"Téléchargez un fichier d'avis d'expédition que vous avez reçu de votre " +"fournisseur. Formats pris en charge : XML et PDF (PDF avec un fichier XML " +"intégré)." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"Upload below the DespatchAdvice you received from your supplier. When you " +"click on the import button:" +msgstr "" +"Téléchargez ci-dessous l'avis d'expédition que vous avez reçu de votre " +"fournisseur. Lorsque vous cliquez sur le bouton d'importation :" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__document +msgid "XML or PDF Despatch Advice" +msgstr "Avis d'expédition XML ou PDF" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"format (UBL), you should install the module " +"despatch_advice_import_ubl." +msgstr "" +"format (UBL), vous devez installer le module " +"despatch_advice_import_ubl." diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/it.po b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/it.po new file mode 100644 index 0000000..d7437bc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/i18n/it.po @@ -0,0 +1,251 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-23 15:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__allow_validate_over_qty +msgid "Allow Validate Over Quantity" +msgstr "Consenti validazione sovra quantità" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Cancel" +msgstr "Annulla" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery cancelled by the supplier." +msgstr "Consegna annullata dal fornitore." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed by the supplier." +msgstr "Consegna confermata dal fornitore." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Delivery confirmed with amendment by the supplier." +msgstr "Consegna confermata con correzione dal fornitore." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Despatch Advice Import" +msgstr "Importa avviso spedizione" + +#. module: despatch_advice_import +#: model:ir.model,name:despatch_advice_import.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "Importazione di avvisi di spedizione da file" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__filename +msgid "File Name" +msgstr "Nome file" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__id +msgid "ID" +msgstr "ID" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of" +" the PDF file and then use this XML file." +msgstr "" +"Se è un file PDF, Odoo cercherà di trovare un file XML negli allegati del " +"file PDF e usarlo." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for" +" this XML format is installed. For the" +msgstr "" +"Se è un file XML, Odoo lo analizzerà se è installato il modulo che aggiunge " +"il supporto per questo formato XML. Per il" + +#. module: despatch_advice_import +#: model:ir.actions.act_window,name:despatch_advice_import.despatch_advice_import_action +msgid "Import" +msgstr "Importa" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Import document" +msgstr "Importa documento" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document file" +msgstr "File documento mancante" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing document filename" +msgstr "Nome file documento mancante" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name %s." +msgstr "Nessun ordine di acquisto trovato per il nome %s." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/tests/test_despatch_advice_import.py:0 +#, python-format +msgid "No purchase order found for name 123456." +msgstr "Nessun ordine di acquisto trovato per il nome 123456." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "The product quantity is greater than the original product quantity" +msgstr "La quantità del prodotto è superiore alla quantità originale" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "In questo PDF non c'è un file XML integrato." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "Il file XML non è compatibile al formato XML" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as XML nor PDF file. Please check the file " +"and it's extension." +msgstr "" +"Il file '%s' non è riconosciuto come file XML o PDF. Controllare il file e " +"la sua estensione." + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Document is not supported. Did you install the module" +" to support this XML format?" +msgstr "" +"Questo tipo di documento ordine XML non è supportato. Il modulo per " +"supportare questo formato XML è installato?" + +#. module: despatch_advice_import +#. odoo-python +#: code:addons/despatch_advice_import/wizard/despatch_advice_import.py:0 +#, python-format +msgid "" +"This type of XML Order Response is not supported. Did you install the module" +" to support this XML format?" +msgstr "" +"Questo tipo di risposta ordine XML non è supportato. Il modulo per " +"supportare questo formato XML è installato?" + +#. module: despatch_advice_import +#: model:ir.ui.menu,name:despatch_advice_import.despatch_advice_import_importer_menu +msgid "UBL Despatch Advice Importer" +msgstr "Importatore avviso spedizione UBL" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "Universal Business Language" +msgstr "Linguaggio commerciale universale" + +#. module: despatch_advice_import +#: model:ir.model.fields,help:despatch_advice_import.field_despatch_advice_import__document +msgid "" +"Upload an Despatch Advice file that you received from your supplier. " +"Supported formats: XML and PDF (PDF with an embeded XML file)." +msgstr "" +"Caricare un avviso di spedizione ricevuto dal fornitore. Formati supportati: " +"XML e PDF (PDF con XML incorporato)." + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"Upload below the DespatchAdvice you received from your supplier. When you " +"click on the import button:" +msgstr "" +"Caricare in calce l'avviso di spedizione ricevuto dal fornitore. Quando si " +"fa clic sul pulsante di importazione:" + +#. module: despatch_advice_import +#: model:ir.model.fields,field_description:despatch_advice_import.field_despatch_advice_import__document +msgid "XML or PDF Despatch Advice" +msgstr "Avviso di spedizione XML o PDF" + +#. module: despatch_advice_import +#: model_terms:ir.ui.view,arch_db:despatch_advice_import.despatch_advice_import_form_view +msgid "" +"format (UBL), you should install the module " +"despatch_advice_import_ubl." +msgstr "" +"formato (UBL), bisogna installare il modulo " +"despatch_advice_import_ubl." diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..424b6df --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/readme/CONTRIBUTORS.rst @@ -0,0 +1,6 @@ +* Laurent Mignon +* `Trobz `_: + + * Thien +* Simone Orsi +* Jacques-Etienne Baudoux diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/readme/CREDITS.rst b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/readme/CREDITS.rst new file mode 100644 index 0000000..6ebc079 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/readme/CREDITS.rst @@ -0,0 +1 @@ +The migration of this module from 10.0 to 16.0 was financially supported by Camptocamp \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/readme/DESCRIPTION.rst new file mode 100644 index 0000000..89062fc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module will support import despatch advice file \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/security/ir.model.access.csv b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/security/ir.model.access.csv new file mode 100644 index 0000000..d815760 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_despatch_advice_import,despatch.advice.import,model_despatch_advice_import,purchase.group_purchase_user,1,1,1,1 diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/static/description/icon.png b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/static/description/index.html b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/static/description/index.html new file mode 100644 index 0000000..005a28f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/static/description/index.html @@ -0,0 +1,449 @@ + + + + + +README.rst + + + +
      + + + +Odoo Community Association + +
      +

      Despatch Advice Import

      + +

      Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      This module will support import despatch advice file

      +

      Table of contents

      + +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • ACSONE SA/NV
      • +
      • BCIM
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Other credits

      +

      The migration of this module from 10.0 to 16.0 was financially supported by Camptocamp

      +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      + +Odoo Community Association + +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      Current maintainer:

      +

      jbaudoux

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/tests/__init__.py b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/tests/__init__.py new file mode 100644 index 0000000..3d12552 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/tests/__init__.py @@ -0,0 +1 @@ +from . import test_despatch_advice_import diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/tests/test_despatch_advice_import.py b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/tests/test_despatch_advice_import.py new file mode 100644 index 0000000..70960b3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/tests/test_despatch_advice_import.py @@ -0,0 +1,394 @@ +# Copyright 2020 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import base64 + +from odoo import _, fields +from odoo.exceptions import UserError +from odoo.tests.common import TransactionCase + + +class TestDespatchAdviceImport(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + cls.supplier = cls.env.ref("base.res_partner_12") + cls.supplier.vat = "BE0477472701" + cls.env.user.company_id.partner_id.vat = "BE0421801233" + cls.product_1 = cls.env["product.product"].create( + { + "name": "Product 1", + "default_code": "987654321", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "P1"}) + ], + } + ) + cls.product_2 = cls.env["product.product"].create( + { + "name": "Product 2", + "default_code": "987654312", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "P2"}) + ], + } + ) + cls.product_3 = cls.env["product.product"].create( + { + "name": "Product 3", + "default_code": "123456789", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "P3"}) + ], + } + ) + cls.product_4 = cls.env["product.product"].create( + { + "name": "Product 4", + "default_code": "23456718", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "P4"}) + ], + } + ) + cls.purchase_order = cls.env["purchase.order"].create( + { + "partner_id": cls.supplier.id, + "date_order": fields.Datetime.now(), + "date_planned": fields.Datetime.now(), + } + ) + cls.line1 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.product_1.id, + "name": cls.product_1.name, + "date_planned": fields.Datetime.now(), + "product_qty": 24, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 15, + } + ) + cls.line2 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.product_2.id, + "name": cls.product_2.name, + "date_planned": fields.Datetime.now(), + "product_qty": 5, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 25, + } + ) + + cls.line3 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.product_3.id, + "name": cls.product_3.name, + "date_planned": fields.Datetime.now(), + "product_qty": 15, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 25, + } + ) + + cls.line4 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.product_4.id, + "name": cls.product_4.name, + "date_planned": fields.Datetime.now(), + "product_qty": 15, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 25, + } + ) + cls.purchase_order.button_confirm() + + cls.DespatchAdviceImport = cls.env["despatch.advice.import"].create( + {"document": base64.b64encode(bytes("", "utf-8"))} + ) + + def order_line_to_data(self, order_line, qty=None, backorder_qty=None): + return { + "backorder_qty": backorder_qty, + "qty": qty if qty is not None else order_line.product_qty, + "order_line_id": order_line.id, + "ref": order_line.order_id.name, + "product_ref": order_line.product_id.default_code, + "uom": {"unece_code": order_line.product_uom.unece_code}, + } + + def _get_base_data(self): + return { + "company": {"vat": "BE0421801233"}, + "date": "2020-02-04", + "chatter_msg": [], + "lines": [], + "supplier": {"vat": "BE0477472701"}, + "ref": str(self.purchase_order.name), + } + + def test_no_purchase_order_name(self): + """ + Data: + Data with unknown PO reference + Test Case: + Process data + Expected result: + UserError is raised + """ + data = self._get_base_data() + data["ref"] = "123456" + data["lines"] = [self.order_line_to_data(self.line1)] + data["lines"][0]["ref"] = "123456" + + with self.assertRaises(UserError) as ue: + self.DespatchAdviceImport.process_data(data) + self.assertEqual( + ue.exception.name, _("No purchase order found for name 123456.") + ) + + def test_process_data_with_backorder_qty(self): + """ + backorder qty + """ + data = self._get_base_data() + confirmed_qty = self.line1.product_qty - 21 + data["lines"] = [ + self.order_line_to_data(self.line1, qty=confirmed_qty, backorder_qty=21), + self.order_line_to_data(self.line2), + self.order_line_to_data(self.line3), + self.order_line_to_data(self.line4), + ] + self.DespatchAdviceImport.process_data(data) + + self.assertTrue(self.purchase_order.picking_ids) + move_ids = self.line1.move_ids + self.assertEqual(len(move_ids), 2) + self.assertEqual(sum(move_ids.mapped("product_qty")), self.line1.product_qty) + assigned = move_ids.filtered(lambda s: s.state == "done" and s.product_qty == 3) + self.assertEqual(assigned.product_qty, confirmed_qty) + + move_backorder = move_ids.filtered( + lambda s: s.state == "assigned" and s.product_qty == 21 + ) + self.assertTrue(move_backorder) + self.assertEqual(move_backorder.picking_id.backorder_id, assigned.picking_id) + + def test_process_data_with_no_backorder_qty(self): + """ + no backorder qty + """ + data = self._get_base_data() + confirmed_qty = self.line1.product_qty - 21 + data["lines"] = [ + self.order_line_to_data(self.line1, qty=confirmed_qty), + self.order_line_to_data(self.line2), + self.order_line_to_data(self.line3), + self.order_line_to_data(self.line4), + ] + self.DespatchAdviceImport.process_data(data) + + self.assertTrue(self.purchase_order.picking_ids) + move_ids = self.line1.move_ids + self.assertEqual(len(move_ids), 2) + self.assertEqual(sum(move_ids.mapped("product_qty")), self.line1.product_qty) + assigned = move_ids.filtered(lambda s: s.state == "done") + self.assertEqual(assigned.product_qty, confirmed_qty) + cancel = move_ids.filtered(lambda s: s.state == "cancel") + self.assertEqual(cancel.product_qty, 21) + + def test_process_data_create_backorder(self): + """ + 2 back order created, second one is put in the same than the first 1 + """ + data = self._get_base_data() + line1_confirmed_qty = self.line1.product_qty - 3 + line2_confirmed_qty = self.line2.product_qty - 3 + data["lines"] = [ + self.order_line_to_data( + self.line1, + qty=line1_confirmed_qty, + backorder_qty=3, + ), + self.order_line_to_data( + self.line2, + qty=line2_confirmed_qty, + backorder_qty=3, + ), + self.order_line_to_data(self.line3), + self.order_line_to_data(self.line4), + ] + + self.DespatchAdviceImport.process_data(data) + self.assertEqual(self.purchase_order.state, "purchase") + self.assertEqual(len(self.purchase_order.picking_ids), 2) + # line1 + line1_move_ids = self.line1.move_ids + self.assertEqual(len(line1_move_ids), 2) + self.assertEqual( + sum(line1_move_ids.mapped("product_qty")), self.line1.product_qty + ) + move_confirmed = line1_move_ids.filtered( + lambda s: s.state == "done" and s.product_qty == line1_confirmed_qty + ) + self.assertTrue(move_confirmed) + self.assertEqual(move_confirmed.product_qty, line1_confirmed_qty) + move_backorder = line1_move_ids.filtered( + lambda s: s.state == "assigned" and s.product_qty == 3 + ) + self.assertTrue(move_backorder) + self.assertEqual( + move_backorder.picking_id.backorder_id, + move_confirmed.picking_id, + ) + + # line2 + line2_move_ids = self.line2.move_ids + self.assertEqual(len(line2_move_ids), 2) + self.assertEqual( + sum(line2_move_ids.mapped("product_qty")), self.line2.product_qty + ) + move_confirmed = line2_move_ids.filtered( + lambda s: s.state == "done" and s.product_qty == line2_confirmed_qty + ) + self.assertTrue(move_confirmed) + self.assertEqual(move_confirmed.product_qty, line2_confirmed_qty) + + move_backorder = line2_move_ids.filtered( + lambda s: s.state == "assigned" and s.product_qty == 3 + ) + self.assertTrue(move_backorder) + self.assertEqual( + move_backorder.picking_id.backorder_id, + move_confirmed.picking_id, + ) + + def test_partial_delivery_with_backorder(self): + """ """ + data = self._get_base_data() + confirmed_qty = self.line1.product_qty - 3 + data["lines"] = [ + self.order_line_to_data( + self.line1, + qty=confirmed_qty, + backorder_qty=2, + ), + self.order_line_to_data(self.line2), + self.order_line_to_data(self.line3), + self.order_line_to_data(self.line4), + ] + self.DespatchAdviceImport.process_data(data) + self.assertEqual(len(self.purchase_order.picking_ids), 2) + move_ids = self.line1.move_ids + + self.assertEqual(len(move_ids), 3) + self.assertEqual(sum(move_ids.mapped("product_qty")), self.line1.product_qty) + move_confirmed = move_ids.filtered( + lambda s: s.state == "done" and s.product_qty == confirmed_qty + ) + self.assertTrue(move_confirmed) + move_cancel = move_ids.filtered( + lambda s: s.state == "cancel" and s.product_qty == 1 + ) + self.assertTrue(move_cancel) + move_backorder = move_ids.filtered( + lambda s: s.state == "assigned" and s.product_qty == 2 + ) + + self.assertTrue(move_backorder) + self.assertEqual( + move_backorder.picking_id.backorder_id, + move_confirmed.picking_id, + ) + + def test_qty_larger_backorder_qty(self): + """ """ + data = self._get_base_data() + confirmed_qty = 6 + data["lines"] = [ + self.order_line_to_data(self.line1), + self.order_line_to_data(self.line2), + self.order_line_to_data(self.line3, qty=confirmed_qty, backorder_qty=3), + self.order_line_to_data(self.line4), + ] + self.DespatchAdviceImport.process_data(data) + self.assertEqual(len(self.purchase_order.picking_ids), 2) + move_ids = self.line3.move_ids + self.assertEqual(len(move_ids), 3) + self.assertEqual(sum(move_ids.mapped("product_qty")), self.line3.product_qty) + moves_confirmed = move_ids.filtered( + lambda s: s.state == "done" and not s.picking_id.backorder_id + ) + self.assertEqual(sum(moves_confirmed.mapped("product_qty")), confirmed_qty) + + move_cancel = move_ids.filtered( + lambda s: s.state == "cancel" and s.product_qty == 6 + ) + self.assertTrue(move_cancel) + move_backorder = move_ids.filtered( + lambda s: s.state == "assigned" and s.product_qty == 3 + ) + self.assertTrue(move_backorder) + self.assertEqual( + move_backorder.picking_id.backorder_id, + moves_confirmed[0].picking_id, + ) + + def test_qty_equal_backorder_qty(self): + """ """ + data = self._get_base_data() + confirmed_qty = 3 + data["lines"] = [ + self.order_line_to_data(self.line1), + self.order_line_to_data(self.line2), + self.order_line_to_data(self.line3), + self.order_line_to_data( + self.line4, + qty=confirmed_qty, + backorder_qty=3, + ), + ] + self.DespatchAdviceImport.process_data(data) + self.assertEqual(len(self.purchase_order.picking_ids), 2) + move_ids = self.line4.move_ids + self.assertEqual(sum(move_ids.mapped("product_qty")), self.line4.product_qty) + moves_confirmed = move_ids.filtered( + lambda s: s.state == "done" and not s.picking_id.backorder_id + ) + self.assertEqual(sum(moves_confirmed.mapped("product_qty")), 3) + + moves_cancel = move_ids.filtered( + lambda s: s.state == "cancel" and not s.picking_id.backorder_id + ) + self.assertEqual(sum(moves_cancel.mapped("product_qty")), 9) + moves_backorder = move_ids.filtered( + lambda s: s.state == "assigned" and s.picking_id.backorder_id + ) + self.assertEqual(sum(moves_backorder.mapped("product_qty")), 3) + + def test_confirmed_qty_larger_reserved_qty(self): + """ + confirmed qty > reserved qty + """ + data = self._get_base_data() + confirmed_qty = self.line1.product_qty + 6 + data["lines"] = [ + self.order_line_to_data(self.line1, qty=confirmed_qty), + self.order_line_to_data(self.line2), + self.order_line_to_data(self.line3), + self.order_line_to_data(self.line4), + ] + self.DespatchAdviceImport.with_context( + allow_validate_over_qty=True + ).process_data(data) + + self.assertTrue(self.purchase_order.picking_ids) + move_ids = self.line1.move_ids + self.assertEqual(len(move_ids), 1) + self.assertEqual(sum(move_ids.mapped("product_qty")), confirmed_qty) + assigned = move_ids.filtered(lambda s: s.state == "done") + self.assertEqual(assigned.product_qty, confirmed_qty) diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/wizard/__init__.py b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/wizard/__init__.py new file mode 100644 index 0000000..ce838ad --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/wizard/__init__.py @@ -0,0 +1 @@ +from . import despatch_advice_import diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/wizard/despatch_advice_import.py b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/wizard/despatch_advice_import.py new file mode 100644 index 0000000..52e95af --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/wizard/despatch_advice_import.py @@ -0,0 +1,312 @@ +# Copyright 2020 ACSONE SA/NV +# Copyright 2025 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import logging +import mimetypes +from base64 import b64decode, b64encode + +from lxml import etree + +from odoo import _, api, fields, models +from odoo.exceptions import UserError +from odoo.tools import float_compare + +logger = logging.getLogger(__name__) + + +class DespatchAdviceImport(models.TransientModel): + _name = "despatch.advice.import" + _description = "Despatch Advice Import from Files" + + document = fields.Binary( + string="XML or PDF Despatch Advice", + required=True, + help="Upload an Despatch Advice file that you received from " + "your supplier. Supported formats: XML and PDF " + "(PDF with an embeded XML file).", + ) + filename = fields.Char(string="File Name") + allow_validate_over_qty = fields.Boolean( + "Allow Validate Over Quantity", default=True + ) + + # Format of parsed despatch advice + # { + # 'ref': 'PO01234' # the buyer party identifier + # # (specified into the Order document -> po's name) + # 'despatch_advice_type_code': ' scheduled | delivered' + # 'supplier': {'vat': 'FR25499247138'}, + # 'company': {'vat': 'FR12123456789'}, # Only used to check we are not + # # importing the quote in the + # # wrong company by mistake + # 'estimated_delivery_date': '2020-11-20' + # 'lines': [{ + # 'id': 123456, + # 'qty': 2.5, + # 'uom': {'unece_code': 'C62'}, + # 'backorder_qty: None # if provided and qty != expected + # # the backorder qty will be delivered + # # in a next shipping + # }] + + @api.model + def parse_despatch_advice(self, document, filename): + if not document: + raise UserError(_("Missing document file")) + if not filename: + raise UserError(_("Missing document filename")) + filetype = mimetypes.guess_type(filename)[0] + logger.debug("DespatchAdvice file mimetype: %s", filetype) + if filetype in ["application/xml", "text/xml"]: + try: + xml_root = etree.fromstring(document) + except Exception as err: + raise UserError(_("This XML file is not XML-compliant")) from err + if logger.isEnabledFor(logging.DEBUG): + pretty_xml_string = etree.tostring( + xml_root, pretty_print=True, encoding="UTF-8", xml_declaration=True + ) + logger.debug("Starting to import the following XML file:") + logger.debug(pretty_xml_string) + parsed_despatch_advice = self.parse_xml_despatch_advice(xml_root) + elif filetype == "application/pdf": + parsed_despatch_advice = self.parse_pdf_despatch_advice(document) + else: + raise UserError( + _( + "This file '%s' is not recognised as XML nor PDF file. " + "Please check the file and it's extension." + ) + % filename + ) + logger.debug("Result of Despatch Advice parsing: ", parsed_despatch_advice) + if "attachments" not in parsed_despatch_advice: + parsed_despatch_advice["attachments"] = {} + parsed_despatch_advice["attachments"][filename] = b64encode(document) + if "chatter_msg" not in parsed_despatch_advice: + parsed_despatch_advice["chatter_msg"] = [] + if parsed_despatch_advice.get("company") and not self.env.context.get( + "edi_skip_company_check" + ): + self.env["business.document.import"]._check_company( + parsed_despatch_advice["company"], parsed_despatch_advice["chatter_msg"] + ) + defaults = self.env.context.get("despatch_advice_import__default_vals", {}).get( + "despatch_advice", {} + ) + parsed_despatch_advice.update(defaults) + return parsed_despatch_advice + + @api.model + def parse_xml_despatch_advice(self, xml_root): + raise UserError( + _( + "This type of XML Order Response is not supported. Did you " + "install the module to support this XML format?" + ) + ) + + @api.model + def parse_pdf_despatch_advice(self, document): + """ + Get PDF attachments, filter on XML files and call import_order_xml + """ + xml_files_dict = self.get_xml_files_from_pdf(document) + if not xml_files_dict: + raise UserError(_("There are no embedded XML file in this PDF file.")) + for xml_filename, xml_root in xml_files_dict.items(): + logger.info("Trying to parse XML file %s", xml_filename) + try: + parsed_despatch_advice = self.parse_xml_despatch_advice(xml_root) + return parsed_despatch_advice + except Exception: + continue + raise UserError( + _( + "This type of XML Order Document is not supported. Did you " + "install the module to support this XML format?" + ) + ) + + def process_document(self): + self.ensure_one() + parsed_order_document = self.parse_despatch_advice( + b64decode(self.document), self.filename + ) + self.process_data(parsed_order_document) + + def _collect_lines_by_id(self, lines_doc, key="order_line_id"): + lines_by_id = {} + for line in lines_doc: + line_id = int(line[key]) + if line_id in lines_by_id: + lines_by_id[line_id]["qty"] += line["qty"] + lines_by_id[line_id]["backorder_qty"] += line["backorder_qty"] + if "product_lot" in line: + lines_by_id[line_id]["product_lot"].append(line["product_lot"]) + lines_by_id[line_id]["product_lot"] = list( + set(lines_by_id[line_id]["product_lot"]) + ) + lines_by_id[line_id]["uom"]["unece_code"].append( + line["uom"]["unece_code"] + ) + lines_by_id[line_id]["uom"]["unece_code"] = list( + set(lines_by_id[line_id]["uom"]["unece_code"]) + ) + else: + lines_by_id[line_id] = line + if "product_lot" in line: + lines_by_id[line_id]["product_lot"] = [ + lines_by_id[line_id]["product_lot"] + ] + lines_by_id[line_id]["uom"]["unece_code"] = [ + lines_by_id[line_id]["uom"]["unece_code"] + ] + return lines_by_id + + def process_data(self, parsed_order_document): + po_name = parsed_order_document.get("ref") + + lines_doc = parsed_order_document.get("lines") + + lines_by_id = self._collect_lines_by_id(lines_doc) + + lines = self.env["purchase.order.line"].browse(lines_by_id.keys()) + + for line in lines: + order = line.order_id + line_info = lines_by_id.get(line.id) + + if line_info["ref"]: + if order.name != line_info["ref"]: + raise UserError( + _("No purchase order found for name %s.") % line_info["ref"], + ) + else: + if order.name != po_name: + raise UserError(_("No purchase order found for name %s.") % po_name) + stock_moves = line.move_ids.filtered( + lambda x: x.state not in ("cancel", "done") + ) + moves_qty = sum(stock_moves.mapped("product_qty")) + if line_info["qty"] == moves_qty: + self._process_accepted(stock_moves, parsed_order_document) + elif line_info["qty"] > moves_qty and self.allow_validate_over_qty: + self._process_accepted( + stock_moves, parsed_order_document, forced_qty=line_info["qty"] + ) + elif not line_info["qty"] and not line_info["backorder_qty"]: + self._process_rejected(stock_moves, parsed_order_document) + else: + self._process_conditional(stock_moves, parsed_order_document, line_info) + self._process_picking_done(lines[0].move_ids[0]) + + def _process_picking_done(self, move): + picking = move.picking_id + if all(line.state == "cancel" for line in picking.move_ids): + return True + # skip backorder wizard + picking.with_context( + skip_immediate=True, skip_backorder=True, skip_sms=True, skip_expired=True + ).button_validate() + + def _cancel_extra_moves(self, moves): + # Loose dependency with stock_picking_restrict_cancel_printed module + # that checks we are canceling the backorder to allow move cancellation. + # Mimic odoo setting this cancel_backorder context variable in this case. + moves.with_context(cancel_backorder=True)._action_cancel() + + def _process_rejected(self, stock_moves, parsed_order_document): + parsed_order_document["chatter_msg"] = parsed_order_document.get( + "chatter_msg", [] + ) + parsed_order_document["chatter_msg"].append( + _("Delivery cancelled by the supplier.") + ) + self._cancel_extra_moves(stock_moves) + + def _process_accepted(self, stock_moves, parsed_order_document, forced_qty=False): + parsed_order_document["chatter_msg"] = ( + parsed_order_document["chatter_msg"] or [] + ) + parsed_order_document["chatter_msg"].append( + _("Delivery confirmed by the supplier.") + ) + stock_moves._action_confirm() + stock_moves._action_assign() + for move in stock_moves: + move.quantity_done = forced_qty or move.product_qty + + def _process_conditional(self, moves, parsed_order_document, line): + precision = self.env["decimal.precision"].precision_get( + "Product Unit of Measure" + ) + chatter = parsed_order_document["chatter_msg"] = ( + parsed_order_document["chatter_msg"] or [] + ) + chatter.append(_("Delivery confirmed with amendment by the supplier.")) + + qty = line["qty"] + backorder_qty = line["backorder_qty"] + moves_qty = sum(moves.mapped("product_qty")) + + if float_compare(qty, moves_qty, precision_digits=precision) >= 0: + raise UserError( + _("The product quantity is greater than the original product quantity") + ) + + # confirmed qty < ordered qty + move_ids_to_backorder = [] + move_ids_to_cancel = [] + for move in moves: + if ( + float_compare(qty, move.product_uom_qty, precision_digits=precision) + >= 0 + ): + # qty planned => qty into the stock move: Keep it + qty -= move.product_uom_qty + continue + if ( + qty + and float_compare(qty, move.product_uom_qty, precision_digits=precision) + < 0 + ): + # qty planned < qty into the stock move: Split it + new_vals = move._split(move.product_uom_qty - qty) + move.quantity_done = move.product_qty + move = self.env["stock.move"].create(new_vals[0]) + + qty -= move.product_uom_qty + if not backorder_qty: + # if no backorder -> we must cancel the move + move_ids_to_cancel.append(move.id) + continue + # from here we process the backorder qty + # we distribute this qty into the remaining moves and + # if this qty is < than the expected one, we split and cancel the + # remaining qty + if ( + float_compare( + backorder_qty, move.product_uom_qty, precision_digits=precision + ) + < 0 + ): + # backorder_qty < qty into the move -> split the move + # and cancel remaining qty + move._action_confirm(merge=False) + new_vals = move._split(move.product_uom_qty - backorder_qty) + move_ids_to_cancel.append(self.env["stock.move"].create(new_vals[0]).id) + + backorder_qty -= move.product_uom_qty + move_ids_to_backorder.append(move.id) + + # cancel moves to cancel + if move_ids_to_cancel: + moves_to_cancel = self.env["stock.move"].browse(move_ids_to_cancel) + self._cancel_extra_moves(moves_to_cancel) + # move backorder moves to a backorder + if move_ids_to_backorder: + moves_to_backorder = self.env["stock.move"].browse(move_ids_to_backorder) + for move in moves_to_backorder: + move._action_confirm(merge=False) diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/wizard/despatch_advice_import.xml b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/wizard/despatch_advice_import.xml new file mode 100644 index 0000000..98c1bd0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/despatch_advice_import/wizard/despatch_advice_import.xml @@ -0,0 +1,58 @@ + + + + + + despatch.advice.import (in purchase_order_import) + despatch.advice.import + +
      + +
      +

      Upload below the DespatchAdvice you received from your supplier. When you click on the import button:

      +
        +
      1. If it is an XML file, Odoo will parse it if the module that adds support for this XML format is installed. For the Universal Business Language format (UBL), you should install the module despatch_advice_import_ubl.
      2. +
      3. If it is a PDF file, Odoo will try to find an XML file in the attachments of the PDF file and then use this XML file.
      4. +
      +
      +
      + + + + + + +
      +
      +
      +
      +
      + + Import + despatch.advice.import + form + new + + + UBL Despatch Advice Importer + + + + + +
      diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/ARCHITECTURE.md new file mode 100644 index 0000000..f27e1a5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Despatch_advice_import Module - despatch_advice_import + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/CONFIGURATION.md new file mode 100644 index 0000000..9785034 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for despatch_advice_import. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/DEPENDENCIES.md new file mode 100644 index 0000000..d94e37e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/DEPENDENCIES.md @@ -0,0 +1,7 @@ +# Dependencies + +This addon depends on: + +- [purchase](../../odoo-bringout-oca-ocb-purchase) +- [purchase_stock](../../odoo-bringout-oca-ocb-purchase_stock) +- [base_business_document_import](../../odoo-bringout-oca-edi-base_business_document_import) diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/FAQ.md b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/FAQ.md new file mode 100644 index 0000000..88709db --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon despatch_advice_import or install in UI. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/INSTALL.md new file mode 100644 index 0000000..43dba84 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-despatch_advice_import" +# or +uv pip install odoo-bringout-oca-edi-framework-despatch_advice_import" +``` diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/MODELS.md b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/MODELS.md new file mode 100644 index 0000000..f9bee13 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/MODELS.md @@ -0,0 +1,11 @@ +# Models + +Detected core models and extensions in despatch_advice_import. + +```mermaid +classDiagram +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/OVERVIEW.md new file mode 100644 index 0000000..62554d9 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: despatch_advice_import. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon despatch_advice_import +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/SECURITY.md new file mode 100644 index 0000000..a95ee0b --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/SECURITY.md @@ -0,0 +1,34 @@ +# Security + +Access control and security definitions in despatch_advice_import. + +## Access Control Lists (ACLs) + +Model access permissions defined in: +- **[ir.model.access.csv](../despatch_advice_import/security/ir.model.access.csv)** + - 1 model access rules + +## Record Rules + +Row-level security rules defined in: + +```mermaid +graph TB + subgraph "Security Layers" + A[Users] --> B[Groups] + B --> C[Access Control Lists] + C --> D[Models] + B --> E[Record Rules] + E --> F[Individual Records] + end +``` + +Security files overview: +- **[ir.model.access.csv](../despatch_advice_import/security/ir.model.access.csv)** + - Model access permissions (CRUD rights) + +Notes +- Access Control Lists define which groups can access which models +- Record Rules provide row-level security (filter records by user/group) +- Security groups organize users and define permission sets +- All security is enforced at the ORM level by Odoo diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/USAGE.md b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/USAGE.md new file mode 100644 index 0000000..9f5c1bc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon despatch_advice_import +``` diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/WIZARDS.md new file mode 100644 index 0000000..c644026 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/doc/WIZARDS.md @@ -0,0 +1,8 @@ +# Wizards + +Transient models exposed as UI wizards in despatch_advice_import. + +```mermaid +classDiagram + class DespatchAdviceImport +``` diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import/pyproject.toml b/odoo-bringout-oca-edi-framework-despatch_advice_import/pyproject.toml new file mode 100644 index 0000000..cb6bbbe --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import/pyproject.toml @@ -0,0 +1,45 @@ +[project] +name = "odoo-bringout-oca-edi-framework-despatch_advice_import" +version = "16.0.0" +description = "Despatch Advice Import - + Despatch Advice import" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-ocb-purchase>=16.0.0", + "odoo-bringout-oca-edi-framework-purchase_stock>=16.0.0", + "odoo-bringout-oca-edi-framework-base_business_document_import>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["despatch_advice_import"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/README.md b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/README.md new file mode 100644 index 0000000..7bdc0c0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/README.md @@ -0,0 +1,45 @@ +# Despatch Advice Import Ubl + +Odoo addon: despatch_advice_import_ubl + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-despatch_advice_import_ubl +``` + +## Dependencies + +This addon depends on: +- despatch_advice_import +- base_ubl + +## Manifest Information + +- **Name**: Despatch Advice Import Ubl +- **Version**: 16.0.1.1.0 +- **Category**: N/A +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `despatch_advice_import_ubl`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/README.rst b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/README.rst new file mode 100644 index 0000000..de012b5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/README.rst @@ -0,0 +1,86 @@ +========================== +Despatch Advice Import Ubl +========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:6ae472dfcc668af3f2110436922e8e8bd70161ccafe62bddad3d5d297ba08acd + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/despatch_advice_import_ubl + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-despatch_advice_import_ubl + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module support for the import of Despatch Advice File. + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* ACSONE SA/NV + +Contributors +~~~~~~~~~~~~ + +* Laurent Mignon +* `Trobz `_: + + * Thien +* Simone Orsi +* Jacques-Etienne Baudoux + +Other credits +~~~~~~~~~~~~~ + +The migration of this module from 10.0 to 16.0 was financially supported by Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/__init__.py b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/__init__.py new file mode 100644 index 0000000..4027237 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/__init__.py @@ -0,0 +1 @@ +from . import wizard diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/__manifest__.py b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/__manifest__.py new file mode 100644 index 0000000..713e4c9 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/__manifest__.py @@ -0,0 +1,16 @@ +# Copyright 2020 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Despatch Advice Import Ubl", + "summary": """ + Import Despatch Advice files""", + "version": "16.0.1.1.0", + "license": "AGPL-3", + "author": "ACSONE SA/NV,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/edi", + "depends": ["despatch_advice_import", "base_ubl"], + "data": [], + "demo": [], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/bs.po b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/bs.po new file mode 100644 index 0000000..dedef80 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/bs.po @@ -0,0 +1,26 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: despatch_advice_import_ubl +#: model:ir.model,name:despatch_advice_import_ubl.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "Uvoz otpremnog savjeta iz datoteka" + +#. module: despatch_advice_import_ubl +#. odoo-python +#: code:addons/despatch_advice_import_ubl/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing line ID in the Despatch Advice." +msgstr "Nedostaje ID linije u otpremnom savjetu." diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/despatch_advice_import_ubl.pot b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/despatch_advice_import_ubl.pot new file mode 100644 index 0000000..ff76d9f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/despatch_advice_import_ubl.pot @@ -0,0 +1,26 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: despatch_advice_import_ubl +#: model:ir.model,name:despatch_advice_import_ubl.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "" + +#. module: despatch_advice_import_ubl +#. odoo-python +#: code:addons/despatch_advice_import_ubl/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing line ID in the Despatch Advice." +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/es.po b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/es.po new file mode 100644 index 0000000..f2ca13c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/es.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-02-15 21:35+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: despatch_advice_import_ubl +#: model:ir.model,name:despatch_advice_import_ubl.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "Aviso de Expedición Importación desde Ficheros" + +#. module: despatch_advice_import_ubl +#. odoo-python +#: code:addons/despatch_advice_import_ubl/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing line ID in the Despatch Advice." +msgstr "Falta ID de línea en el Aviso de Expedición." diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/fr.po b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/fr.po new file mode 100644 index 0000000..38a1ac5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/fr.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-01 15:34+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: despatch_advice_import_ubl +#: model:ir.model,name:despatch_advice_import_ubl.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "Importer l'avis d'expédition à partir des fichiers" + +#. module: despatch_advice_import_ubl +#. odoo-python +#: code:addons/despatch_advice_import_ubl/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing line ID in the Despatch Advice." +msgstr "ID de ligne manquant dans l'avis d'expédition." diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/it.po b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/it.po new file mode 100644 index 0000000..8ca43f2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/i18n/it.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * despatch_advice_import_ubl +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: despatch_advice_import_ubl +#: model:ir.model,name:despatch_advice_import_ubl.model_despatch_advice_import +msgid "Despatch Advice Import from Files" +msgstr "Importazione di avvisi di spedizione da file" + +#. module: despatch_advice_import_ubl +#. odoo-python +#: code:addons/despatch_advice_import_ubl/wizard/despatch_advice_import.py:0 +#, python-format +msgid "Missing line ID in the Despatch Advice." +msgstr "ID riga mancante nell'avviso di spedizione." diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..9d147f9 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/CONTRIBUTORS.rst @@ -0,0 +1,6 @@ +* Laurent Mignon +* `Trobz `_: + + * Thien +* Simone Orsi +* Jacques-Etienne Baudoux \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/CREDITS.rst b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/CREDITS.rst new file mode 100644 index 0000000..6ebc079 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/CREDITS.rst @@ -0,0 +1 @@ +The migration of this module from 10.0 to 16.0 was financially supported by Camptocamp \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/DESCRIPTION.rst new file mode 100644 index 0000000..9543a30 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module support for the import of Despatch Advice File. \ No newline at end of file diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/static/description/icon.png b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/static/description/index.html b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/static/description/index.html new file mode 100644 index 0000000..38b736e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/static/description/index.html @@ -0,0 +1,437 @@ + + + + + +Despatch Advice Import Ubl + + + +
      +

      Despatch Advice Import Ubl

      + + +

      Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      This module support for the import of Despatch Advice File.

      +

      Table of contents

      + +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • ACSONE SA/NV
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Other credits

      +

      The migration of this module from 10.0 to 16.0 was financially supported by Camptocamp

      +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      +Odoo Community Association +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/__init__.py b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/__init__.py new file mode 100644 index 0000000..adaa79f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/__init__.py @@ -0,0 +1,2 @@ +from . import test_despatch_advice_import +from . import test_despatch_advice_mix diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/despatch_advice_2.xml b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/despatch_advice_2.xml new file mode 100644 index 0000000..9310372 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/despatch_advice_2.xml @@ -0,0 +1,96 @@ + + + {picking_name} + 2020-11-16 + scheduled + + + + + + BE0477472701 + + + STREET + CITY + 0000 + + BE + + + + S.A. SOCIETY + + + + + + + BE0421801233 + + + COMPANY + + + + + 0987654321 + + + 2020-11-17 + + + + + {line_1_id} + {line_1_qty} + {line_1_backorder_qty} + + {line_1_id} + + {line_1_order_id} + + + + PRODUCT1 + + 1234567 + + + 2022-03-31 + + 1234890 + + + + + + {line_2_id} + {line_2_qty} + + {line_2_id} + + {line_2_order_id} + + + + PRODUCT2 + + 2345678 + + + 2021-12-31 + + 876540 + + + + + diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/despatch_advice_tmpl.xml b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/despatch_advice_tmpl.xml new file mode 100644 index 0000000..f9b48ad --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/despatch_advice_tmpl.xml @@ -0,0 +1,97 @@ + + + {picking_name} + 2020-11-16 + scheduled + + {order_id} + + + + + BE0477472701 + + + STREET + CITY + 0000 + + BE + + + + S.A. SOCIETY + + + + + + + BE0421801233 + + + COMPANY + + + + + 0987654321 + + + 2020-11-17 + + + + + {line_1_id} + {line_1_qty} + {line_1_backorder_qty} + + {line_1_id} + + {order_id} + + + + PRODUCT1 + + 1234567 + + + 2022-03-31 + + 1234890 + + + + + + {line_2_id} + {line_2_qty} + + {line_2_id} + + {order_id} + + + + PRODUCT2 + + 2345678 + + + 2021-12-31 + + 876540 + + + + + diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/do_mix1.xml b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/do_mix1.xml new file mode 100644 index 0000000..16d0404 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/do_mix1.xml @@ -0,0 +1,358 @@ + + + 0811960660 + 2021-04-01 + scheduled + + {order_id} + + + + + BE0401953350 + + + RUE TEST, 1 + CITY + 0000 + + BE + + + + S.A. SOCIETY + + + + + + + BE0421801233 + + + COMPANY + + + + + 0811960660 + + + 2021-04-02 + + + + + 000010 + 60 + + {line_1_id} + + {order_id} + + + + CYDECTIN 0,1% ORAL DRENCH 1L + + 10007444 + + + 2022-09-30 + + 475932 + + + + + + 000020 + 40 + + {line_2_id} + + {order_id} + + + + CYDECTIN TRICLAMOX OVIN 1 L + + 10005578 + + + 2022-05-31 + + 446320 + + + + + + 000030 + 96 + + {line_4_id} + + {order_id} + + + + APOQUEL 5,4MG 100CP + + 10022152 + + + 2022-07-31 + + 475409 + + + + + + 000040 + 10 + + {line_7_id} + + {order_id} + + + + MODERIN 32MG 30CP + + 10005211 + + + 2023-03-31 + + EC0920 + + + + + + 000050 + 40 + + {line_8_id} + + {order_id} + + + + CIDR 1,38gr BOITE DE 10 + + 10002949 + + + 2021-07-31 + + Y073071 + + + + + + 000060 + 1 + + {line_12_id} + + {order_id} + + + + WITNESS LH 6x1 TEST + + 10012140 + + + 2022-01-22 + + 461003 + + + + + + 000070 + 2 + + {line_13_id} + + {order_id} + + + + WITNESS RELAXIN 5x1 TEST GESTATION + + 10010958 + + + 2022-05-26 + + 476920 + + + + + + 000080 + 4 + + {line_14_id} + + {order_id} + + + + ACEGON 10x6ML + + 10010146 + + + 2021-07-31 + + 0029-72 + + + + + + 000090 + 480 + + {line_15_id} + + {order_id} + + + + EQUEST GEL ORAL 700kg + + 10009831 + + + 2022-11-30 + + 483001 + + + + + + 000100 + 1 + + {line_16_id} + + {order_id} + + + + WITNESS GIARDIA 5 TESTS + + 10009407 + + + 2022-09-30 + + AT37.11 + + + + + + 000110 + 400 + + {line_17_id} + + {order_id} + + + + CATMINTH PATE SERINGUE 3GR + + 10003022 + + + 2023-10-31 + + 477663 + + + + + + 000120 + 30 + + {line_18_id} + + {order_id} + + + + FENDOV 1250 12 BOLI + + 10006920 + + + 2024-12-31 + + 6089402 + + + + + + 000130 + 2 + + {line_29_id} + + {order_id} + + + + WITNESS FELV-FIV 10x1 TEST + + 10009061 + + + 2022-05-31 + + 21ZLAE064 + + + + + + 000140 + 2 + + {line_30_id} + + {order_id} + + + + WITNESS FELV-FIV 5x1 TEST + + 10006252 + + + 2022-05-31 + + 20ZLAD038 + + + + + diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/do_mix2.xml b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/do_mix2.xml new file mode 100644 index 0000000..e7bbf2f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/files/do_mix2.xml @@ -0,0 +1,424 @@ + + + 0811960665 + 2021-04-01 + scheduled + + {order_id} + + + + + BE0401953350 + + + RUE TEST, 1 + CITY + 0000 + + BE + + + + S.A. COMPANY + + + + + + + BE0421801233 + + + COMPANY + + + + + 0811960665 + + + 2021-04-02 + + + + + 000010 + 24 + + {line_3_id} + + {order_id} + + + + VANGUARD DA2PI-CPV 25X1D + + 10001458 + + + 2022-11-25 + + 471881 + + + + + + 000020 + 20 + + {line_6_id} + + {order_id} + + + + RISPOVAL IBR INACT 100ML + + 10001112 + + + 2022-12-25 + + 455269 + + + + + + 000030 + 0 + + {line_9_id} + + {order_id} + + + + VERSICAN PLS BB ORAL VACX1DS VLX10_BE/NL + + 10022422 + + + + + + + + + 000040 + 20 + + {line_10_id} + + {order_id} + + + + VERSICAN+ BBPi IN 10x1d + + 10023409 + + + 2022-06-25 + + 04582703 + + + + + + 000050 + 120 + + {line_11_id} + + {order_id} + + + + CONVENIA SOL INJ 10ml + + 10007669 + + + 2023-03-31 + + 43224706 + + + + + + 000060 + 160 + + {line_19_id} + + {order_id} + + + + FEVAXYN PENTOFEL 10X1D + + 10004344 + + + 2022-04-26 + + 474662 + + + + + + 000070 + 5 + + {line_20_id} + + {order_id} + + + + VANGUARD CPV-LEPTO 25x1D + + 10001455 + + + 2024-07-02 + + 473338 + + + + + + 000080 + 25 + 5 + + {line_21_id} + + {order_id} + + + + VANGUARD DA2PI-CPV-LEPTO 25x1D (7) + + 10001457 + + + 2022-06-29 + + 456322 + + + + + + 000090 + 10 + + {line_22_id} + + {order_id} + + + + VANGUARD LEPTO 25x1D + + 10001459 + + + 2022-10-11 + + 347340 + + + + + + 000100 + 30 + + {line_23_id} + + {order_id} + + + + VERSICAN+ DHPPI 25x1d + + 10011717 + + + 2022-08-11 + + 42602703 + + + + + + 000110 + 132 + 68 + + {line_24_id} + + {order_id} + + + + VERSICAN+ DHPPI/L4 25x1d + + 10011718 + + + 2022-06-08 + + 95602701 + + + + + + 000120 + 60 + + {line_25_id} + + {order_id} + + + + VERSICAN+ L4 25x1d + + 10011728 + + + 2022-04-20 + + 445427A01 + + + + + + 000130 + 40 + + {line_26_id} + + {order_id} + + + + VERSICAN+ PI 25x1d + + 10011736 + + + 2022-09-06 + + 39602702 + + + + + + 000140 + 15 + + {line_27_id} + + {order_id} + + + + VERSIFEL FELV 25x1d + + 10009541 + + + 2022-12-06 + + 491233 + + + + + + 000150 + 30 + + {line_28_id} + + {order_id} + + + + VERSIGUARD RABIES 10x1d + + 10016049 + + + 2022-08-13 + + 405827A04 + + + + + + 000030 + 18 + + {line_9_id} + + {order_id} + + + + VERSICAN+ BB ORAL 10x1d + + 10022422 + + + 2021-08-12 + + 401463 + + + + + + 000030 + 2 + + {line_9_id} + + {order_id} + + + + VERSICAN+ BB ORAL 10x1d + + 10022422 + + + 2021-08-12 + + 401464 + + + + + diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/test_despatch_advice_import.py b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/test_despatch_advice_import.py new file mode 100644 index 0000000..5cd848c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/test_despatch_advice_import.py @@ -0,0 +1,205 @@ +# Copyright 2020 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from base64 import b64decode, b64encode + +from odoo import fields +from odoo.tests.common import TransactionCase +from odoo.tools import file_open + + +class TestDespatchAdviceImport(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + cls.supplier = cls.env.ref("base.res_partner_12") + cls.supplier.vat = "BE0477472701" + cls.env.user.company_id.partner_id.vat = "BE0421801233" + cls.product_1 = cls.env["product.product"].create( + { + "name": "Product 1", + "default_code": "1234567", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "P1"}) + ], + } + ) + cls.product_2 = cls.env["product.product"].create( + { + "name": "Product 2", + "default_code": "2345678", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "P2"}) + ], + } + ) + cls.purchase_order = cls.env["purchase.order"].create( + { + "partner_id": cls.supplier.id, + "date_order": fields.Datetime.now(), + "date_planned": fields.Datetime.now(), + } + ) + cls.line1 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.product_1.id, + "name": cls.product_2.name, + "date_planned": fields.Datetime.now(), + "product_qty": 24, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 15, + } + ) + cls.line2 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.product_2.id, + "name": cls.product_2.name, + "date_planned": fields.Datetime.now(), + "product_qty": 15, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 25, + } + ) + cls.DespatchAdviceImport = cls.env["despatch.advice.import"] + # cls.ProcurementOrder = cls.env["procurement.order"] + + with file_open( + "despatch_advice_import_ubl/tests/files/despatch_advice_tmpl.xml", "rb" + ) as f: + cls.despatch_advice_xml1 = f.read() + + with file_open( + "despatch_advice_import_ubl/tests/files/despatch_advice_2.xml", "rb" + ) as f: + cls.despatch_advice_xml2 = f.read() + + def test_xml_convert_to_internal_data_01(self): + """ + Data: + An UBL DespatchAdvice with all the information expected by the + parser + Test case: + Convert to xml document to the internal data structure + Expected result: + All the fields are filled into the internal data structure. + """ + xml_content = self.despatch_advice_xml1.decode("utf-8").format( + picking_name="0810805774", + order_id=self.purchase_order.name, + line_1_id=self.line1.id, + line_1_qty=self.line1.product_qty, + line_1_product_ref=self.product_1.default_code, + line_1_backorder_qty=12, + line_2_id=self.line2.id, + line_2_qty=self.line2.product_qty, + line_2_product_ref=self.product_2.default_code, + line_2_backorder_qty=0, + ) + xml_content = b64encode(xml_content.encode("utf-8")) + default = {"despatch_advice_type_code": "delivery"} + result = self.DespatchAdviceImport.with_context( + despatch_advice_import__default_vals=dict(despatch_advice=default) + ).parse_despatch_advice(b64decode(xml_content), "test.xml") + attachments = result.pop("attachments") + self.assertTrue(attachments.get("test.xml")) + expected = { + "chatter_msg": [], + "company": {"vat": "BE0421801233"}, + "date": "2020-11-16", + "despatch_advice_type_code": "delivery", + "estimated_delivery_date": "2020-11-17", + "id": "0810805774", + "lines": [ + { + "backorder_qty": 12.0, + "line_id": str(self.line1.id), + "order_line_id": str(self.line1.id), + "product_lot": "1234890", + "product_ref": str(self.product_1.default_code), + "qty": self.line1.product_qty, + "ref": str(self.purchase_order.name), + "uom": {"unece_code": "BG"}, + }, + { + "backorder_qty": 0, + "line_id": str(self.line2.id), + "order_line_id": str(self.line2.id), + "product_lot": "876540", + "product_ref": str(self.product_2.default_code), + "qty": self.line2.product_qty, + "ref": str(self.purchase_order.name), + "uom": {"unece_code": "C62"}, + }, + ], + "ref": str(self.purchase_order.name), + "supplier": {"vat": "BE0477472701"}, + } + self.maxDiff = None + self.assertEqual(expected, result) + + def test_xml_convert_to_internal_data_02(self): + """ + Data: + An UBL DespatchAdvice with all the information expected by the + parser -- The orderReference is at the orderLineLevel + Test case: + Convert to xml document to the internal data structure + Expected result: + All the fields are filled into the internal data structure. + """ + xml_content = self.despatch_advice_xml2.decode("utf-8").format( + picking_name="0810805774", + line_1_id=self.line1.id, + line_1_order_id=self.purchase_order.name, + line_1_qty=self.line1.product_qty, + line_1_product_ref=self.product_1.default_code, + line_1_backorder_qty=12, + line_2_id=self.line2.id, + line_2_order_id=self.purchase_order.name, + line_2_qty=self.line2.product_qty, + line_2_product_ref=self.product_2.default_code, + line_2_backorder_qty=0, + ) + xml_content = b64encode(xml_content.encode("utf-8")) + result = self.DespatchAdviceImport.parse_despatch_advice( + b64decode(xml_content), "test2.xml" + ) + attachments = result.pop("attachments") + self.assertTrue(attachments.get("test2.xml")) + expected = { + "chatter_msg": [], + "company": {"vat": "BE0421801233"}, + "date": "2020-11-16", + "despatch_advice_type_code": "scheduled", + "estimated_delivery_date": "2020-11-17", + "id": "0810805774", + "lines": [ + { + "backorder_qty": 12.0, + "line_id": str(self.line1.id), + "order_line_id": str(self.line1.id), + "product_lot": "1234890", + "product_ref": str(self.product_1.default_code), + "qty": self.line1.product_qty, + "ref": str(self.purchase_order.name), + "uom": {"unece_code": "BG"}, + }, + { + "backorder_qty": 0, + "line_id": str(self.line2.id), + "order_line_id": str(self.line2.id), + "product_lot": "876540", + "product_ref": str(self.product_2.default_code), + "qty": self.line2.product_qty, + "ref": str(self.purchase_order.name), + "uom": {"unece_code": "C62"}, + }, + ], + "ref": "", + "supplier": {"vat": "BE0477472701"}, + } + self.maxDiff = None + self.assertEqual(expected, result) diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/test_despatch_advice_mix.py b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/test_despatch_advice_mix.py new file mode 100644 index 0000000..34962e9 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/tests/test_despatch_advice_mix.py @@ -0,0 +1,751 @@ +# Copyright 2021 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + + +from base64 import b64encode + +from odoo import fields +from odoo.tests.common import TransactionCase +from odoo.tools import file_open + + +class TestDespatchAdviceMix(TransactionCase): + @classmethod + def setUpClass(cls): + """ + Semi integration test : grab several DO for one PO + and check that everything is created properly: + Backorders, cancelled moves, etc + """ + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + + Product = cls.env["product.product"] + cls.supplier = cls.env.ref("base.res_partner_12") + cls.supplier.vat = "BE0477472701" + cls.env.user.company_id.partner_id.vat = "BE0421801233" + cls.purchase_order = cls.env["purchase.order"].create( + { + "partner_id": cls.supplier.id, + "date_order": fields.Datetime.now(), + "date_planned": fields.Datetime.now(), + } + ) + + cls.p1 = Product.create( + { + "name": "CYDECTIN 0,1% ORAL DRENCH 1L", + "default_code": "1354307", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "P1"}) + ], + } + ) + cls.line1 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p1.id, + "name": cls.p1.name, + "date_planned": fields.Datetime.now(), + "product_qty": 60, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 51.4, + } + ) + + cls.p2 = Product.create( + { + "name": "CYDECTIN TRICLAMOX OVIN 1 L", + "default_code": "10005578", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p2"}) + ], + } + ) + cls.line2 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p2.id, + "name": cls.p2.name, + "date_planned": fields.Datetime.now(), + "product_qty": 40, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 78.65, + } + ) + + cls.p3 = Product.create( + { + "name": "VANGUARD DA2PI-CPV 25X1D", + "default_code": "10001458", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p3"}) + ], + } + ) + cls.line3 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p3.id, + "name": cls.p3.name, + "date_planned": fields.Datetime.now(), + "product_qty": 24, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 96.32, + } + ) + + cls.p4 = Product.create( + { + "name": "APOQUEL 5,4MG 100CP", + "default_code": "10022152", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p4"}) + ], + } + ) + cls.line4 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p4.id, + "name": cls.p4.name, + "date_planned": fields.Datetime.now(), + "product_qty": 96, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 73.86, + } + ) + + cls.p5 = Product.create( + { + "name": "DOGMINTH PATE TUBE 24GR", + "default_code": "10002655", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p5"}) + ], + } + ) + cls.line5 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p5.id, + "name": cls.p5.name, + "date_planned": fields.Datetime.now(), + "product_qty": 280, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 7.2, + } + ) + + cls.p6 = Product.create( + { + "name": "RISPOVAL IBR INACT 100ML", + "default_code": "10001112", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p6"}) + ], + } + ) + cls.line6 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p6.id, + "name": cls.p6.name, + "date_planned": fields.Datetime.now(), + "product_qty": 20, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 114.36, + } + ) + + cls.p7 = Product.create( + { + "name": "MODERIN 32MG 30CP", + "default_code": "10005211", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p7"}) + ], + } + ) + cls.line7 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p7.id, + "name": cls.p7.name, + "date_planned": fields.Datetime.now(), + "product_qty": 10, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 47.62, + } + ) + + cls.p8 = Product.create( + { + "name": "CIDR 1,38gr BOITE DE 10", + "default_code": "10002949", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p8"}) + ], + } + ) + cls.line8 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p8.id, + "name": cls.p8.name, + "date_planned": fields.Datetime.now(), + "product_qty": 40, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 116.83, + } + ) + + cls.p9 = Product.create( + { + "name": "VERSICAN+ BB ORAL 10x1d", + "default_code": "10022422", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p9"}) + ], + } + ) + cls.line9 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p9.id, + "name": cls.p9.name, + "date_planned": fields.Datetime.now(), + "product_qty": 20, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 93.08, + } + ) + + cls.p10 = Product.create( + { + "name": "VERSICAN+ BBPi IN 10x1d", + "default_code": "10023409", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p10"}) + ], + } + ) + cls.line10 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p10.id, + "name": cls.p10.name, + "date_planned": fields.Datetime.now(), + "product_qty": 20, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 97.68, + } + ) + + cls.p11 = Product.create( + { + "name": "CONVENIA SOL INJ 10ml", + "default_code": "10007669", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p11"}) + ], + } + ) + cls.line11 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p11.id, + "name": cls.p11.name, + "date_planned": fields.Datetime.now(), + "product_qty": 120, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 150.27, + } + ) + + cls.p12 = Product.create( + { + "name": "WITNESS LH 6x1 TEST", + "default_code": "10012140", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p12"}) + ], + } + ) + cls.line12 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p12.id, + "name": cls.p12.name, + "date_planned": fields.Datetime.now(), + "product_qty": 1, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 134.32, + } + ) + + cls.p13 = Product.create( + { + "name": "WITNESS RELAXIN 5x1 TEST GESTATION", + "default_code": "10010958", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p13"}) + ], + } + ) + cls.line13 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p13.id, + "name": cls.p13.name, + "date_planned": fields.Datetime.now(), + "product_qty": 2, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 92.37, + } + ) + + cls.p14 = Product.create( + { + "name": "ACEGON 10x6ML", + "default_code": "10010146", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p14"}) + ], + } + ) + cls.line14 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p14.id, + "name": cls.p14.name, + "date_planned": fields.Datetime.now(), + "product_qty": 4, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 99.13, + } + ) + + cls.p15 = Product.create( + { + "name": "EQUEST GEL ORAL 700kg", + "default_code": "10009831", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p15"}) + ], + } + ) + cls.line15 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p15.id, + "name": cls.p15.name, + "date_planned": fields.Datetime.now(), + "product_qty": 480, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 16.62, + } + ) + + cls.p16 = Product.create( + { + "name": "WITNESS GIARDIA 5 TESTS", + "default_code": "10009407", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p16"}) + ], + } + ) + cls.line16 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p16.id, + "name": cls.p16.name, + "date_planned": fields.Datetime.now(), + "product_qty": 1, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 58.12, + } + ) + + cls.p17 = Product.create( + { + "name": "CATMINTH PATE SERINGUE 3GR", + "default_code": "10003022", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p17"}) + ], + } + ) + cls.line17 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p17.id, + "name": cls.p17.name, + "date_planned": fields.Datetime.now(), + "product_qty": 400, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 6.07, + } + ) + + cls.p18 = Product.create( + { + "name": "FENDOV 1250 12 BOLI", + "default_code": "10006920", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p18"}) + ], + } + ) + cls.line18 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p18.id, + "name": cls.p18.name, + "date_planned": fields.Datetime.now(), + "product_qty": 30, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 232.56, + } + ) + + cls.p19 = Product.create( + { + "name": "FEVAXYN PENTOFEL 10X1D", + "default_code": "10004344", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p19"}) + ], + } + ) + cls.line19 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p19.id, + "name": cls.p19.name, + "date_planned": fields.Datetime.now(), + "product_qty": 160, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 164.05, + } + ) + + cls.p20 = Product.create( + { + "name": "VANGUARD CPV-LEPTO 25x1D", + "default_code": "10001455", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p20"}) + ], + } + ) + cls.line20 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p20.id, + "name": cls.p20.name, + "date_planned": fields.Datetime.now(), + "product_qty": 5, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 88.73, + } + ) + + cls.p21 = Product.create( + { + "name": "VANGUARD DA2PI-CPV-LEPTO 25x1D (7)", + "default_code": "10001457", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p21"}) + ], + } + ) + cls.line21 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p21.id, + "name": cls.p21.name, + "date_planned": fields.Datetime.now(), + "product_qty": 30, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 123.60, + } + ) + + cls.p22 = Product.create( + { + "name": "VANGUARD LEPTO 25x1D", + "default_code": "10001459", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p22"}) + ], + } + ) + cls.line22 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p22.id, + "name": cls.p22.name, + "date_planned": fields.Datetime.now(), + "product_qty": 10, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 37.79, + } + ) + + cls.p23 = Product.create( + { + "name": "VERSICAN+ DHPPI 25x1d", + "default_code": "10011717", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p23"}) + ], + } + ) + cls.line23 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p23.id, + "name": cls.p23.name, + "date_planned": fields.Datetime.now(), + "product_qty": 30, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 94.93, + } + ) + + cls.p24 = Product.create( + { + "name": "VERSICAN+ DHPPI/L4 25x1d", + "default_code": "10011718", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p24"}) + ], + } + ) + cls.line24 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p24.id, + "name": cls.p24.name, + "date_planned": fields.Datetime.now(), + "product_qty": 200, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 156.90, + } + ) + + cls.p25 = Product.create( + { + "name": "VERSICAN+ L4 25x1d", + "default_code": "10011728", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p25"}) + ], + } + ) + cls.line25 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p25.id, + "name": cls.p25.name, + "date_planned": fields.Datetime.now(), + "product_qty": 60, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 65.41, + } + ) + + cls.p26 = Product.create( + { + "name": "VERSICAN+ PI 25x1d", + "default_code": "10011736", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p26"}) + ], + } + ) + cls.line26 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p26.id, + "name": cls.p26.name, + "date_planned": fields.Datetime.now(), + "product_qty": 40, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 53.73, + } + ) + + cls.p27 = Product.create( + { + "name": "VERSIFEL FELV 25x1d", + "default_code": "10009541", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p27"}) + ], + } + ) + cls.line27 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p27.id, + "name": cls.p27.name, + "date_planned": fields.Datetime.now(), + "product_qty": 15, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 277.55, + } + ) + + cls.p28 = Product.create( + { + "name": "VERSIGUARD RABIES 10x1d", + "default_code": "10016049", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p28"}) + ], + } + ) + cls.line28 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p28.id, + "name": cls.p28.name, + "date_planned": fields.Datetime.now(), + "product_qty": 30, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 24.14, + } + ) + + cls.p29 = Product.create( + { + "name": "WITNESS FELV-FIV 10x1 TEST", + "default_code": "10009061", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p29"}) + ], + } + ) + cls.line29 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p29.id, + "name": cls.p29.name, + "date_planned": fields.Datetime.now(), + "product_qty": 2, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 154.00, + } + ) + + cls.p30 = Product.create( + { + "name": "WITNESS FELV-FIV 5x1 TEST", + "default_code": "10006252", + "seller_ids": [ + (0, 0, {"partner_id": cls.supplier.id, "product_code": "p30"}) + ], + } + ) + cls.line30 = cls.purchase_order.order_line.create( + { + "order_id": cls.purchase_order.id, + "product_id": cls.p30.id, + "name": cls.p30.name, + "date_planned": fields.Datetime.now(), + "product_qty": 2, + "product_uom": cls.env.ref("uom.product_uom_unit").id, + "price_unit": 80.87, + } + ) + cls.purchase_order.button_confirm() + cls.picking = cls.purchase_order.picking_ids + + cls.DespatchAdviceImport = cls.env["despatch.advice.import"] + + with file_open("despatch_advice_import_ubl/tests/files/do_mix1.xml", "rb") as f: + cls.despatch_advice_xml1 = f.read() + + with file_open("despatch_advice_import_ubl/tests/files/do_mix2.xml", "rb") as f: + cls.despatch_advice_xml2 = f.read() + + def test_despatch_advice_import(self): + + xml_content1 = self.despatch_advice_xml1.decode("utf-8").format( + order_id=self.purchase_order.name, + line_1_id=self.line1.id, + line_2_id=self.line2.id, + line_4_id=self.line4.id, + line_7_id=self.line7.id, + line_8_id=self.line8.id, + line_12_id=self.line12.id, + line_13_id=self.line13.id, + line_14_id=self.line14.id, + line_15_id=self.line15.id, + line_16_id=self.line16.id, + line_17_id=self.line17.id, + line_18_id=self.line18.id, + line_29_id=self.line29.id, + line_30_id=self.line30.id, + ) + + xml_encoded_doc1 = b64encode(xml_content1.encode("utf-8")) + despatch_import = self.DespatchAdviceImport.create( + {"document": xml_encoded_doc1, "filename": "do_mix1.xml"} + ) + despatch_import.process_document() + + po_moves = self.line21.move_ids.filtered( + lambda m: m.state not in ("cancel", "done") + ) + + self.assertTrue(po_moves) + + xml_content2 = self.despatch_advice_xml2.decode("utf-8").format( + picking_name="0810805774", + order_id=self.purchase_order.name, + line_3_id=self.line3.id, + line_6_id=self.line6.id, + line_9_id=self.line9.id, + line_10_id=self.line10.id, + line_11_id=self.line11.id, + line_19_id=self.line19.id, + line_20_id=self.line20.id, + line_21_id=self.line21.id, + line_22_id=self.line22.id, + line_23_id=self.line23.id, + line_24_id=self.line24.id, + line_25_id=self.line25.id, + line_26_id=self.line26.id, + line_27_id=self.line27.id, + line_28_id=self.line28.id, + ) + + xml_encoded_doc2 = b64encode(xml_content2.encode("utf-8")) + despatch_import = self.DespatchAdviceImport.create( + {"document": xml_encoded_doc2, "filename": "do_mix2.xml"} + ) + despatch_import.process_document() + + backorder = self.purchase_order.picking_ids.filtered(lambda p: p.backorder_id) + initial_pick = self.purchase_order.picking_ids.filtered( + lambda p: not p.backorder_id + ) + + self.assertEqual(len(backorder), 2) + self.assertEqual(len(initial_pick), 1) + + po_moves = self.line21.move_ids.filtered( + lambda m: m.state not in ("cancel", "done") + ) + + self.assertTrue(po_moves) + + move_for_backorder_pick2 = backorder.move_ids.filtered( + lambda m: m.product_id.id == self.p24.id + ) + + self.assertEqual(len(move_for_backorder_pick2), 2) diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/wizard/__init__.py b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/wizard/__init__.py new file mode 100644 index 0000000..ce838ad --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/wizard/__init__.py @@ -0,0 +1 @@ +from . import despatch_advice_import diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/wizard/despatch_advice_import.py b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/wizard/despatch_advice_import.py new file mode 100644 index 0000000..d8022d5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/despatch_advice_import_ubl/wizard/despatch_advice_import.py @@ -0,0 +1,178 @@ +# Copyright 2020 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import logging + +from odoo import _, api, models +from odoo.exceptions import UserError + +logger = logging.getLogger(__name__) + + +class DespatchAdviceImport(models.TransientModel): + + _name = "despatch.advice.import" + _inherit = ["despatch.advice.import", "base.ubl"] + + @api.model + def parse_xml_despatch_advice(self, xml_root): + start_tag = "{urn:oasis:names:specification:ubl:schema:xsd:" + if xml_root.tag == start_tag + "DespatchAdvice-2}DespatchAdvice": + return self.parse_ubl_despatch_advice(xml_root) + else: + return super(DespatchAdviceImport, self).parse_xml_despatch_advice(xml_root) + + @api.model + def parse_ubl_despatch_advice(self, xml_root): + ns = xml_root.nsmap + # Get main xmlns + if None in ns: + main_xmlns = ns.pop(None) + else: + main_xmlns = ns.pop("DespatchAdvice") + ns["main"] = main_xmlns + date_el = xml_root.xpath("/main:DespatchAdvice/cbc:IssueDate", namespaces=ns) + estimated_delivery_date_el = xml_root.xpath( + "/main:DespatchAdvice/cac:Shipment/cac:Delivery/" + "cac:EstimatedDeliveryPeriod/cbc:EndDate", + namespaces=ns, + ) + order_id_el = xml_root.xpath("/main:DespatchAdvice/cbc:ID", namespaces=ns) + order_reference_el = xml_root.xpath( + "/main:DespatchAdvice/cac:OrderReference/cbc:ID", namespaces=ns + ) + + despatch_advice_type_code_el = xml_root.xpath( + "/main:DespatchAdvice/cbc:DespatchAdviceTypeCode", namespaces=ns + ) + + supplier_el = xml_root.xpath( + "/main:DespatchAdvice/cac:DespatchSupplierParty/cac:Party", namespaces=ns + ) + # We only take the "official references" for supplier_dict + supplier_dict = self.ubl_parse_party(supplier_el[0], ns) + supplier_dict = { + "vat": supplier_dict.get("vat"), + } + customer_el = xml_root.xpath( + "/main:DespatchAdvice/cac:DeliveryCustomerParty/cac:Party", namespaces=ns + ) + customer_dict = self.ubl_parse_party(customer_el[0], ns) + + customer_dict = {"vat": customer_dict.get("vat")} + lines_el = xml_root.xpath( + "/main:DespatchAdvice/cac:DespatchLine", namespaces=ns + ) + res_lines = [] + for line in lines_el: + res_lines.append(self.parse_ubl_despatch_advice_line(line, ns)) + res = { + "id": order_id_el[0].text if order_id_el else "", + "ref": order_reference_el[0].text if order_reference_el else "", + "supplier": supplier_dict, + "company": customer_dict, + "despatch_advice_type_code": ( + despatch_advice_type_code_el[0].text + if len(despatch_advice_type_code_el) > 0 + else "" + ), + "date": len(date_el) and date_el[0].text, + "estimated_delivery_date": len(estimated_delivery_date_el) + and estimated_delivery_date_el[0].text, + "lines": res_lines, + } + return res + + @api.model + def parse_ubl_despatch_advice_line(self, line, ns): + line_id_el = line.xpath("cbc:ID", namespaces=ns) + qty_el = line.xpath("cbc:DeliveredQuantity", namespaces=ns) + qty = float(qty_el[0].text) + backorder_qty_el = line.xpath("cbc:OutstandingQuantity", namespaces=ns) + backorder_qty = None + if backorder_qty_el and len(backorder_qty_el): + backorder_qty = float(backorder_qty_el[0].text) + else: + backorder_qty = 0 + + product_ref_el = line.xpath( + "cac:Item/cac:SellersItemIdentification/cbc:ID", namespaces=ns + ) + + if len(product_ref_el) == 0: + product_ref_el = line.xpath( + "cac:Item/cac:BuyersItemIdentification/cbc:ID", namespaces=ns + ) + + product_lot_el = line.xpath( + "cac:Item/cac:ItemInstance/cac:LotIdentification/cbc:LotNumberID", + namespaces=ns, + ) + order_reference_el = line.xpath( + "cac:OrderLineReference/cac:OrderReference/cbc:ID", namespaces=ns + ) + + order_line_id_el = line.xpath( + "cac:OrderLineReference/cbc:LineID", namespaces=ns + ) + + if not order_line_id_el: + raise UserError(_("Missing line ID in the Despatch Advice.")) + + res_line = { + "line_id": line_id_el[0].text, + "order_line_id": order_line_id_el[0].text, + "ref": order_reference_el[0].text if order_reference_el else "", + "qty": qty, + "product_ref": product_ref_el[0].text, + "product_lot": product_lot_el[0].text if product_lot_el else "", + "uom": {"unece_code": qty_el[0].attrib.get("unitCode")}, + "backorder_qty": backorder_qty, + } + + package_id_el = line.xpath( + "cac:Shipment/cac:TransportHandlingUnit/cac:ActualPackage/cbc:ID", + namespaces=ns, + ) + package_type_el = line.xpath( + "cac:Shipment/cac:TransportHandlingUnit/cbc:TransportHandlingUnitTypeCode", + namespaces=ns, + ) + package_weight_el = line.xpath( + "cac:Shipment/cac:GrossWeightMeasure/cbc:Measure", namespaces=ns + ) + if package_id_el or package_type_el: + res_line["package"] = { + "name": package_id_el[0].text if package_id_el else "", + "type": package_type_el[0].text if package_type_el else "", + "weight": package_weight_el[0].text if package_weight_el else "", + } + + defaults = self.env.context.get("despatch_advice_import__default_vals", {}).get( + "lines", {} + ) + res_line.update(defaults) + return res_line + + @api.model + def ubl_parse_party(self, party_node, ns): + partner_name_el = party_node.xpath("cac:PartyName/cbc:Name", namespaces=ns) + if not partner_name_el: + partner_name_el = party_node.xpath( + "cac:PartyLegalEntity/cbc:RegistrationName", namespaces=ns + ) + + vat_el = party_node.xpath("cac:PartyIdentification/cbc:ID", namespaces=ns) + partner_dict = { + "vat": ( + vat_el[0].text + if vat_el and vat_el[0].attrib.get("schemeName").upper() + else False + ), + "name": partner_name_el[0].text, + } + address_el = party_node.xpath("cac:PostalAddress", namespaces=ns) + if address_el: + address_dict = self.ubl_parse_address(address_el[0], ns) + partner_dict.update(address_dict) + return partner_dict diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/ARCHITECTURE.md new file mode 100644 index 0000000..28ed71d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Despatch_advice_import_ubl Module - despatch_advice_import_ubl + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/CONFIGURATION.md new file mode 100644 index 0000000..cc3e361 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for despatch_advice_import_ubl. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/DEPENDENCIES.md new file mode 100644 index 0000000..900e9e1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/DEPENDENCIES.md @@ -0,0 +1,6 @@ +# Dependencies + +This addon depends on: + +- [despatch_advice_import](../../odoo-bringout-oca-edi-framework-despatch_advice_import) +- [base_ubl](../../odoo-bringout-oca-edi-framework-base_ubl) diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/FAQ.md b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/FAQ.md new file mode 100644 index 0000000..637c9c3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon despatch_advice_import_ubl or install in UI. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/INSTALL.md new file mode 100644 index 0000000..ff8f3b5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-despatch_advice_import_ubl" +# or +uv pip install odoo-bringout-oca-edi-framework-despatch_advice_import_ubl" +``` diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/MODELS.md b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/MODELS.md new file mode 100644 index 0000000..2dcad49 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/MODELS.md @@ -0,0 +1,11 @@ +# Models + +Detected core models and extensions in despatch_advice_import_ubl. + +```mermaid +classDiagram +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/OVERVIEW.md new file mode 100644 index 0000000..8e630c7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: despatch_advice_import_ubl. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon despatch_advice_import_ubl +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/USAGE.md b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/USAGE.md new file mode 100644 index 0000000..c9d62a7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon despatch_advice_import_ubl +``` diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/WIZARDS.md new file mode 100644 index 0000000..2a8e7d2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/doc/WIZARDS.md @@ -0,0 +1,8 @@ +# Wizards + +Transient models exposed as UI wizards in despatch_advice_import_ubl. + +```mermaid +classDiagram + class DespatchAdviceImport +``` diff --git a/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/pyproject.toml b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/pyproject.toml new file mode 100644 index 0000000..e47fbc1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-despatch_advice_import_ubl/pyproject.toml @@ -0,0 +1,44 @@ +[project] +name = "odoo-bringout-oca-edi-framework-despatch_advice_import_ubl" +version = "16.0.0" +description = "Despatch Advice Import Ubl - + Import Despatch Advice files" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-framework-despatch_advice_import>=16.0.0", + "odoo-bringout-oca-edi-framework-base_ubl>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["despatch_advice_import_ubl"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/README.md b/odoo-bringout-oca-edi-framework-pdf_helper/README.md new file mode 100644 index 0000000..5053d27 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/README.md @@ -0,0 +1,44 @@ +# PDF Helper + +Odoo addon: pdf_helper + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-pdf_helper +``` + +## Dependencies + +This addon depends on: +- base + +## Manifest Information + +- **Name**: PDF Helper +- **Version**: 16.0.1.1.0 +- **Category**: Tools +- **License**: LGPL-3 +- **Installable**: False + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `pdf_helper`. + +## License + +This package maintains the original LGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-pdf_helper/doc/ARCHITECTURE.md new file mode 100644 index 0000000..d1e239c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Pdf_helper Module - pdf_helper + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-pdf_helper/doc/CONFIGURATION.md new file mode 100644 index 0000000..97a6a0c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for pdf_helper. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-pdf_helper/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-pdf_helper/doc/DEPENDENCIES.md new file mode 100644 index 0000000..e3a0a5c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/doc/DEPENDENCIES.md @@ -0,0 +1,5 @@ +# Dependencies + +This addon depends on: + +- base diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/doc/FAQ.md b/odoo-bringout-oca-edi-framework-pdf_helper/doc/FAQ.md new file mode 100644 index 0000000..943bbc8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon pdf_helper or install in UI. diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-pdf_helper/doc/INSTALL.md new file mode 100644 index 0000000..ab0bf2f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-pdf_helper" +# or +uv pip install odoo-bringout-oca-edi-framework-pdf_helper" +``` diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/doc/MODELS.md b/odoo-bringout-oca-edi-framework-pdf_helper/doc/MODELS.md new file mode 100644 index 0000000..c3dcdff --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in pdf_helper. + +```mermaid +classDiagram + class pdf_helper +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-pdf_helper/doc/OVERVIEW.md new file mode 100644 index 0000000..2416d18 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: pdf_helper. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon pdf_helper +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-pdf_helper/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-pdf_helper/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-pdf_helper/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/doc/USAGE.md b/odoo-bringout-oca-edi-framework-pdf_helper/doc/USAGE.md new file mode 100644 index 0000000..543ae2c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon pdf_helper +``` diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-pdf_helper/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/README.rst b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/README.rst new file mode 100644 index 0000000..101f095 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/README.rst @@ -0,0 +1,104 @@ +========== +PDF Helper +========== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:d5dc073f7cf4ac4b4ef37d3a19998beadd2bfda76fcc57b7eefceeb70f10f5e1 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/pdf_helper + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-pdf_helper + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Technical module to share PDF utils. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +Inside Odoo env:: + + res = env["pdf.helper"].pdf_get_xml_files(pdf_filecontent) + + new_pdf_filecontent = env["pdf.helper"].pdf_embed_xml(pdf_filecontent, filename, xml) + +Outside Odoo env:: + + from odoo.addons.pdf_helper.utils import PDFParser + [...] + res = PDFParser(pdf_filecontent).get_xml_files() + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Camptocamp + +Contributors +~~~~~~~~~~~~ + +* Simone Orsi +* Alexis de Lattre +* Jacques-Etienne Baudoux (BCIM) + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-simahawk| image:: https://github.com/simahawk.png?size=40px + :target: https://github.com/simahawk + :alt: simahawk +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainers `__: + +|maintainer-simahawk| |maintainer-alexis-via| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/__init__.py b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/__manifest__.py b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/__manifest__.py new file mode 100644 index 0000000..182294d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# TODO: move it to a simple python package under OCA umbrella? +{ + "name": "PDF Helper", + "version": "16.0.1.1.0", + "category": "Tools", + "license": "LGPL-3", + "summary": "Provides helpers to work w/ PDFs", + "author": "Camptocamp, Odoo Community Association (OCA)", + "maintainers": ["simahawk", "alexis-via"], + "website": "https://github.com/OCA/edi", + "depends": [ + "base", + ], +} diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/bs.po b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/bs.po new file mode 100644 index 0000000..ea75503 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/bs.po @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pdf_helper +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: pdf_helper +#: model:ir.model,name:pdf_helper.model_pdf_helper +msgid "PDF Helper" +msgstr "PDF Pomoćnik" diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/es.po b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/es.po new file mode 100644 index 0000000..6fe0409 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/es.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pdf_helper +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-08-07 11:09+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: pdf_helper +#: model:ir.model,name:pdf_helper.model_pdf_helper +msgid "PDF Helper" +msgstr "Ayudante de PDF" diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/hr.po b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/hr.po new file mode 100644 index 0000000..f1cca88 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/hr.po @@ -0,0 +1,23 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pdf_helper +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-06-02 12:09+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 4.17\n" + +#. module: pdf_helper +#: model:ir.model,name:pdf_helper.model_pdf_helper +msgid "PDF Helper" +msgstr "PDF Pomoćnik" diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/it.po b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/it.po new file mode 100644 index 0000000..8ca403f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/it.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pdf_helper +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: pdf_helper +#: model:ir.model,name:pdf_helper.model_pdf_helper +msgid "PDF Helper" +msgstr "Aiuto PDF" diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/pdf_helper.pot b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/pdf_helper.pot new file mode 100644 index 0000000..636a9fe --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/i18n/pdf_helper.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pdf_helper +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: pdf_helper +#: model:ir.model,name:pdf_helper.model_pdf_helper +msgid "PDF Helper" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/models/__init__.py b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/models/__init__.py new file mode 100644 index 0000000..d533863 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/models/__init__.py @@ -0,0 +1 @@ +from . import helper diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/models/helper.py b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/models/helper.py new file mode 100644 index 0000000..f07b925 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/models/helper.py @@ -0,0 +1,50 @@ +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +import io +import logging + +from odoo import api, models +from odoo.tools.pdf import NameObject, OdooPdfFileReader, OdooPdfFileWriter + +from ..utils import PDFParser + +_logger = logging.getLogger(__name__) + + +class PDFHelper(models.AbstractModel): + _name = "pdf.helper" + _description = "PDF Helper" + + _PDF_PARSER_KLASS = PDFParser + + @api.model + def pdf_get_xml_files(self, pdf_file): + """Extract XML attachments from pdf + + :param pdf_file: binary PDF file content + :returns: a dict like {$filename: $parsed_xml_file_obj}. + """ + parser = self._PDF_PARSER_KLASS(pdf_file) + try: + return parser.get_xml_files() + except parser.get_xml_files_swallable_exceptions() as err: + _logger.error("PDF file parsing failed: %s", str(err)) + return {} + + @api.model + def pdf_embed_xml(self, pdf_content, xml_filename, xml_string): + """Add an XML attachment in a pdf""" + with io.BytesIO(pdf_content) as reader_buffer, io.BytesIO() as new_pdf_stream: + reader = OdooPdfFileReader(reader_buffer, strict=False) + writer = OdooPdfFileWriter() + writer.cloneReaderDocumentRoot(reader) + writer.addAttachment(xml_filename, xml_string, subtype="text/xml") + # show attachments when opening PDF + writer._root_object.update( + {NameObject("/PageMode"): NameObject("/UseAttachments")} + ) + writer.write(new_pdf_stream) + return new_pdf_stream.getvalue() diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..ad925fe --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Simone Orsi +* Alexis de Lattre +* Jacques-Etienne Baudoux (BCIM) diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/readme/DESCRIPTION.rst new file mode 100644 index 0000000..ebfe3fa --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Technical module to share PDF utils. diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/readme/USAGE.rst b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/readme/USAGE.rst new file mode 100644 index 0000000..a90789e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/readme/USAGE.rst @@ -0,0 +1,11 @@ +Inside Odoo env:: + + res = env["pdf.helper"].pdf_get_xml_files(pdf_filecontent) + + new_pdf_filecontent = env["pdf.helper"].pdf_embed_xml(pdf_filecontent, filename, xml) + +Outside Odoo env:: + + from odoo.addons.pdf_helper.utils import PDFParser + [...] + res = PDFParser(pdf_filecontent).get_xml_files() diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/static/description/icon.png b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/static/description/index.html b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/static/description/index.html new file mode 100644 index 0000000..9de119f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/static/description/index.html @@ -0,0 +1,440 @@ + + + + + +PDF Helper + + + +
      +

      PDF Helper

      + + +

      Beta License: LGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      Technical module to share PDF utils.

      +

      Table of contents

      + +
      +

      Usage

      +

      Inside Odoo env:

      +
      +res = env["pdf.helper"].pdf_get_xml_files(pdf_filecontent)
      +
      +new_pdf_filecontent = env["pdf.helper"].pdf_embed_xml(pdf_filecontent, filename, xml)
      +
      +

      Outside Odoo env:

      +
      +from odoo.addons.pdf_helper.utils import PDFParser
      +[...]
      +res = PDFParser(pdf_filecontent).get_xml_files()
      +
      +
      +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • Camptocamp
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      +Odoo Community Association +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      Current maintainers:

      +

      simahawk alexis-via

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/tests/__init__.py b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/tests/__init__.py new file mode 100644 index 0000000..018dd86 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/tests/__init__.py @@ -0,0 +1 @@ +from . import test_helper diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/tests/fixtures/pdf_with_xml_test.pdf b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/tests/fixtures/pdf_with_xml_test.pdf new file mode 100644 index 0000000..72dcaf7 Binary files /dev/null and b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/tests/fixtures/pdf_with_xml_test.pdf differ diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/tests/test_helper.py b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/tests/test_helper.py new file mode 100644 index 0000000..3aa0c6e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/tests/test_helper.py @@ -0,0 +1,57 @@ +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). +import os + +from lxml import etree + +from odoo.tests import TransactionCase +from odoo.tests.case import TestCase + +from odoo.addons.pdf_helper.utils import PDFParser + + +def read_test_file(filename, mode="r"): + path = os.path.join(os.path.dirname(__file__), "fixtures", filename) + with open(path, mode) as thefile: + return thefile.read() + + +class TestPDFHelperUtils(TestCase): + def test_parse_xml(self): + pdf_content = read_test_file("pdf_with_xml_test.pdf", mode="rb") + res = PDFParser(pdf_content).get_xml_files() + fname, xml_root = tuple(res.items())[0] + self.assertEqual(fname, "factur-x.xml") + self.assertTrue(isinstance(xml_root, etree._Element)) + + +class TestPDFHelper(TransactionCase): + def test_get_xml(self): + pdf_content = read_test_file("pdf_with_xml_test.pdf", mode="rb") + res = self.env["pdf.helper"].pdf_get_xml_files(pdf_content) + fname, xml_root = tuple(res.items())[0] + self.assertEqual(fname, "factur-x.xml") + self.assertTrue(isinstance(xml_root, etree._Element)) + + def test_get_xml_fail(self): + with self.assertLogs( + "odoo.addons.pdf_helper.models.helper", level="ERROR" + ) as log_catcher: + self.env["pdf.helper"].pdf_get_xml_files(b"") + self.assertIn( + "PDF file parsing failed: Cannot read an empty file", + log_catcher.output[0], + ) + + def test_embed_xml(self): + pdf_content = read_test_file("pdf_with_xml_test.pdf", mode="rb") + filename = "test" + xml = b"test" + newpdf_content = self.env["pdf.helper"].pdf_embed_xml( + pdf_content, filename, xml + ) + attachments = self.env["pdf.helper"].pdf_get_xml_files(newpdf_content) + self.assertTrue(filename in attachments) + etree_content = attachments[filename] + self.assertEqual(xml, etree.tostring(etree_content)) diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/utils.py b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/utils.py new file mode 100644 index 0000000..23ad16c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pdf_helper/utils.py @@ -0,0 +1,48 @@ +# Copyright 2015-2021 Akretion France +# @author: Alexis de Lattre +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +import logging +from io import BytesIO +from struct import error as StructError + +from lxml import etree + +try: + from PyPDF2.errors import PdfReadError +except ImportError: + from PyPDF2.utils import PdfReadError + +from odoo.tools.pdf import OdooPdfFileReader + +_logger = logging.getLogger(__name__) + + +class PDFParser: + def __init__(self, pdf_file): + self.pdf_file = pdf_file + + def get_xml_files(self): + """Parse PDF files to extract XML content. + + :param pdf_file: binary PDF file content + :returns: a dict like {$filename: $parsed_xml_file_obj}. + """ + res = {} + with BytesIO(self.pdf_file) as buffer: + pdf_reader = OdooPdfFileReader(buffer, strict=False) + + # Process embedded files. + for xml_name, content in pdf_reader.getAttachments(): + try: + res[xml_name] = etree.fromstring(content) + except Exception: + _logger.debug("Non XML file found in PDF") + if res: + _logger.debug("Valid XML files found in PDF: %s", list(res.keys())) + return res + + def get_xml_files_swallable_exceptions(self): + return (NotImplementedError, StructError, PdfReadError) diff --git a/odoo-bringout-oca-edi-framework-pdf_helper/pyproject.toml b/odoo-bringout-oca-edi-framework-pdf_helper/pyproject.toml new file mode 100644 index 0000000..10c83a6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-pdf_helper/pyproject.toml @@ -0,0 +1,42 @@ +[project] +name = "odoo-bringout-oca-edi-framework-pdf_helper" +version = "16.0.0" +description = "PDF Helper - Provides helpers to work w/ PDFs" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-ocb-base>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["pdf_helper"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/README.md b/odoo-bringout-oca-edi-framework-sale_order_import/README.md new file mode 100644 index 0000000..8b6417d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/README.md @@ -0,0 +1,47 @@ +# Sale Order Import + +Odoo addon: sale_order_import + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-sale_order_import +``` + +## Dependencies + +This addon depends on: +- sale_commercial_partner +- base_business_document_import +- onchange_helper +- pdf_helper + +## Manifest Information + +- **Name**: Sale Order Import +- **Version**: 16.0.1.3.1 +- **Category**: Sales Management +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `sale_order_import`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-sale_order_import/doc/ARCHITECTURE.md new file mode 100644 index 0000000..93cfb76 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Sale_order_import Module - sale_order_import + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-sale_order_import/doc/CONFIGURATION.md new file mode 100644 index 0000000..d653970 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for sale_order_import. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-sale_order_import/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-sale_order_import/doc/DEPENDENCIES.md new file mode 100644 index 0000000..d267ab1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/doc/DEPENDENCIES.md @@ -0,0 +1,8 @@ +# Dependencies + +This addon depends on: + +- [sale_commercial_partner](../../odoo-bringout-oca-sale-workflow-sale_commercial_partner) +- [base_business_document_import](../../odoo-bringout-oca-edi-base_business_document_import) +- [onchange_helper](../../odoo-bringout-oca-server-tools-onchange_helper) +- [pdf_helper](../../odoo-bringout-oca-edi-framework-pdf_helper) diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/doc/FAQ.md b/odoo-bringout-oca-edi-framework-sale_order_import/doc/FAQ.md new file mode 100644 index 0000000..f6f87a0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon sale_order_import or install in UI. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-sale_order_import/doc/INSTALL.md new file mode 100644 index 0000000..207db35 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-sale_order_import" +# or +uv pip install odoo-bringout-oca-edi-framework-sale_order_import" +``` diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/doc/MODELS.md b/odoo-bringout-oca-edi-framework-sale_order_import/doc/MODELS.md new file mode 100644 index 0000000..4b0a79c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in sale_order_import. + +```mermaid +classDiagram + class sale_order +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-sale_order_import/doc/OVERVIEW.md new file mode 100644 index 0000000..c6c1fa0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: sale_order_import. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon sale_order_import +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-sale_order_import/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-sale_order_import/doc/SECURITY.md new file mode 100644 index 0000000..c52c738 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/doc/SECURITY.md @@ -0,0 +1,34 @@ +# Security + +Access control and security definitions in sale_order_import. + +## Access Control Lists (ACLs) + +Model access permissions defined in: +- **[ir.model.access.csv](../sale_order_import/security/ir.model.access.csv)** + - 1 model access rules + +## Record Rules + +Row-level security rules defined in: + +```mermaid +graph TB + subgraph "Security Layers" + A[Users] --> B[Groups] + B --> C[Access Control Lists] + C --> D[Models] + B --> E[Record Rules] + E --> F[Individual Records] + end +``` + +Security files overview: +- **[ir.model.access.csv](../sale_order_import/security/ir.model.access.csv)** + - Model access permissions (CRUD rights) + +Notes +- Access Control Lists define which groups can access which models +- Record Rules provide row-level security (filter records by user/group) +- Security groups organize users and define permission sets +- All security is enforced at the ORM level by Odoo diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-sale_order_import/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/doc/USAGE.md b/odoo-bringout-oca-edi-framework-sale_order_import/doc/USAGE.md new file mode 100644 index 0000000..8fbe451 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_order_import +``` diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-sale_order_import/doc/WIZARDS.md new file mode 100644 index 0000000..6e60d87 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/doc/WIZARDS.md @@ -0,0 +1,8 @@ +# Wizards + +Transient models exposed as UI wizards in sale_order_import. + +```mermaid +classDiagram + class SaleOrderImport +``` diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/pyproject.toml b/odoo-bringout-oca-edi-framework-sale_order_import/pyproject.toml new file mode 100644 index 0000000..9e0f3f2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/pyproject.toml @@ -0,0 +1,45 @@ +[project] +name = "odoo-bringout-oca-edi-framework-sale_order_import" +version = "16.0.0" +description = "Sale Order Import - Import RFQ or sale orders from files" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-framework-sale_commercial_partner>=16.0.0", + "odoo-bringout-oca-edi-framework-base_business_document_import>=16.0.0", + "odoo-bringout-oca-edi-framework-onchange_helper>=16.0.0", + "odoo-bringout-oca-edi-framework-pdf_helper>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["sale_order_import"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/README.rst b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/README.rst new file mode 100644 index 0000000..ad89ac4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/README.rst @@ -0,0 +1,105 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +================= +Sale Order Import +================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:8e01d803e464dc07c4ec36557747613a5f3db4de2c5c712b493c596addb6ce35 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/sale_order_import + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-sale_order_import + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds support for the import of electronic RFQ or orders. This module provides the base methods to import electronic orders, and you can also plug additional formats by extending the wizard. It requires additional modules to support specific order formats: + + +* module *sale_order_import_ubl*: adds support for `Universal Business Language (UBL) `_ RFQs and orders as: + + - XML file, + - PDF file with an embedded XML file. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +This module adds a wizard in the sale menu named *Import RFQ or Order*. This wizard will propose you to select the order or RFQ file. Depending on the format of the file (XML or PDF) and the type of file (RFQ or order), it may propose you additional options. + +When you import an order, if there is a quotation in Odoo for the same customer, the wizard will propose you to either update the existing quotation or create a new order (in fact, it will create a new quotation, so that you are free to make some modifications before you click on the *Confirm Sale* button to convert the quotation to a sale order). + +Once the RFQ/order is imported, you should read the messages in the chatter of the quotation because it may contain important information about the import. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion +* Camptocamp + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre +* Dennis Sluijk +* Andrea Stirpe +* Simone Orsi +* Duong (Tran Quoc) + +Other credits +~~~~~~~~~~~~~ + +The migration of this module from 13.0 to 16.0 was financially supported by Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/__init__.py b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/__init__.py new file mode 100644 index 0000000..66596bf --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/__init__.py @@ -0,0 +1,4 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import wizard +from . import models diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/__manifest__.py b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/__manifest__.py new file mode 100644 index 0000000..dae98ea --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/__manifest__.py @@ -0,0 +1,25 @@ +# © 2016-2017 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Sale Order Import", + "version": "16.0.1.3.1", + "category": "Sales Management", + "license": "AGPL-3", + "summary": "Import RFQ or sale orders from files", + "author": "Akretion, Camptocamp, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/edi", + "depends": [ + # OCA/sale-workflow + "sale_commercial_partner", + # OCA/edi + "base_business_document_import", + # OCA/server-tools + "onchange_helper", + # TODO: this dependency should be removed + # and support for PDF import should be moved to a glue module + "pdf_helper", + ], + "data": ["security/ir.model.access.csv", "wizard/sale_order_import_view.xml"], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/bs.po b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/bs.po new file mode 100644 index 0000000..6e45be1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/bs.po @@ -0,0 +1,410 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/models/sale.py:0 +#: code:addons/sale_order_import/tests/test_sale_order.py:0 +#, python-format +msgid " Amount w/o tax: %(amount)s %(currency)s" +msgstr " Iznos bez poreza: %(amount)s %(currency)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s new order line(s) created: %(label)s" +msgstr "%(orders)s nova stavka(e) naloga kreirana(e): %(label)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s order line(s) deleted: %(label)s" +msgstr "%(orders)s stavka(e) naloga obrisana(e): %(label)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"An order of customer '%(partner)s' with reference '%(ref)s' already exists: " +"%(name)s (state: %(state)s)" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__price_source +msgid "Apply Prices From" +msgstr "Primijeni cijene iz" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Cancel" +msgstr "Otkaži" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__commercial_partner_id +msgid "Commercial Entity" +msgstr "Komercijalni entitet" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__confirm_order +msgid "Confirm Order" +msgstr "Potvrdi nalog" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Create New" +msgstr "Kreiraj novi" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Created automatically via file import (%s)." +msgstr "Kreiran automatski putem importa datoteke (%s)." + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_uid +msgid "Created by" +msgstr "Kreirao" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_date +msgid "Created on" +msgstr "Kreirano" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_id +msgid "Customer" +msgstr "Kupac" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__order +msgid "Customer Order" +msgstr "Nalog kupca" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__display_name +msgid "Display Name" +msgstr "Prikazani naziv" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "Tip dokumenta" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_filename +msgid "Filename" +msgstr "Naziv datoteke" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__id +msgid "ID" +msgstr "ID" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of" +" the PDF file and then use this XML file to create the quotation." +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for" +" this XML format is installed. For the" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import" +msgstr "Uvoz" + +#. module: sale_order_import +#: model:ir.actions.act_window,name:sale_order_import.sale_order_import_action +#: model:ir.ui.menu,name:sale_order_import.sale_order_import_menu +msgid "Import RFQ or Order" +msgstr "Uvoz zahtjeva za ponudu ili naloga" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import Sale Orders" +msgstr "Uvoz prodajnih naloga" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__import_type +msgid "Import Type" +msgstr "Tip uvoza" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import____last_update +msgid "Last Modified on" +msgstr "Zadnje mijenjano" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_uid +msgid "Last Updated by" +msgstr "Zadnji ažurirao" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_date +msgid "Last Updated on" +msgstr "Zadnje ažurirano" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "No data provided" +msgstr "Nema podataka" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"No price is defined in the file. Please double check file or select " +"Pricelist as the source for prices." +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__pdf +msgid "PDF" +msgstr "PDF" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Please select a valid import type before importing!" +msgstr "Molimo odaberite važeći tip uvoza prije uvoza!" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__pricelist +msgid "Pricelist" +msgstr "Cjenik" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__sale_id +msgid "Quotation to Update" +msgstr "Ponuda za ažuriranje" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__rfq +msgid "Request For Quotation" +msgstr "Zahtjev za ponudu" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_file +msgid "Request for Quotation or Order" +msgstr "Zahtjev za ponudu ili nalog" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__order +msgid "Sale Order" +msgstr "Prodajni nalog" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "Uvoz prodajnog naloga iz datoteka" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order +msgid "Sales Order" +msgstr "Prodajni nalog" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "Odaberite tip koji želite uvoziti" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_shipping_id +msgid "Shipping Address" +msgstr "Adresa isporuke" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Some quotations have been found for this customer ; one of them may " +"correspond to the order or RFQ that you are importing. You can either select" +" an existing quotation to update or create a new one." +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__state +msgid "State" +msgstr "Status" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The currency of the imported order (%(old)s) is different from the currency " +"of the existing order (%(new)s)" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The customer '%(name)s' has a pricelist '%(pricelist)s' but the currency of " +"this order is '%(currency)s'." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The quantity has been updated on the order line with product '%(product)s' " +"from %(qty0)s to %(qty1)s %(uom)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The unit price has been updated on the order line with product '%(product)s'" +" from %(old)s to %(new)s %(currency)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "Nema ugrađene XML datoteke u ovoj PDF datoteci." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This Import Type is not supported. Did you install the module to support " +"this type?" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "Ova XML datoteka nije XML-kompatibilna" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%(filename)s' is not recognized as a %(type)s file. Please check " +"the file and its extension." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as a XML nor PDF file. Please check the " +"file and it's extension." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This order doesn't have any line !" +msgstr "Ovaj nalog nema stavki!" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This quotation has been updated automatically via the import of file %s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This type of XML RFQ/order is not supported. Did you install the module to " +"support this XML format?" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Universal Business Language" +msgstr "Universal Business Language" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Unsupported file format" +msgstr "Nepodržan format datoteke" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__update +msgid "Update" +msgstr "Ažuriraj" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Update Existing" +msgstr "Ažuriraj postojeći" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__order_file +msgid "" +"Upload a Request for Quotation or an Order file. Supported formats: XML and " +"PDF (PDF with an embeded XML file)." +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Upload below the customer order or request for quotation as XML or PDF file." +" When you click on the Import button:" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__xml +msgid "XML" +msgstr "XML" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "You must select a quotation to update." +msgstr "Morate odabrati ponudu za ažuriranje." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"format (UBL), you should install the module sale_order_import_ubl." +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/es.po b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/es.po new file mode 100644 index 0000000..d0043b8 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/es.po @@ -0,0 +1,460 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import +# +# Translators: +# enjolras , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-12 01:43+0000\n" +"PO-Revision-Date: 2023-11-26 20:35+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/models/sale.py:0 +#: code:addons/sale_order_import/tests/test_sale_order.py:0 +#, python-format +msgid " Amount w/o tax: %(amount)s %(currency)s" +msgstr " Importe sin impuestos: %(amount)s %(currency)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s new order line(s) created: %(label)s" +msgstr "%(orders)s nueva(s) línea(s) de pedido creada(s): %(label)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s order line(s) deleted: %(label)s" +msgstr "%(orders)s línea(s) de pedido suprimida(s): %(label)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"An order of customer '%(partner)s' with reference '%(ref)s' already exists: " +"%(name)s (state: %(state)s)" +msgstr "" +"Ya existe un pedido del cliente '%(partner)s' con referencia '%(ref)s': " +"%(name)s (state: %(state)s)" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__price_source +msgid "Apply Prices From" +msgstr "Aplicar Precios Desde" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__commercial_partner_id +msgid "Commercial Entity" +msgstr "Entidad Comercial" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__confirm_order +msgid "Confirm Order" +msgstr "Confirmar Pedido" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Create New" +msgstr "Crear nuevo" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Created automatically via file import (%s)." +msgstr "Creado automáticamente a través de la importación de archivos (%s)." + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_id +msgid "Customer" +msgstr "Cliente" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__order +msgid "Customer Order" +msgstr "Pedido del cliente" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__display_name +msgid "Display Name" +msgstr "Nombre mostrado" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "Tipo de documento" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_filename +msgid "Filename" +msgstr "Archivo" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__id +msgid "ID" +msgstr "ID" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of " +"the PDF file and then use this XML file to create the quotation." +msgstr "" +"Si es un archivo PDF, Odoo tratará de encontrar un archivo XML en los " +"adjuntos del archivo PDF y luego usará este archivo XML para crear la " +"cotización." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for " +"this XML format is installed. For the" +msgstr "" +"Si es un archivo XML, Odoo lo analizará si el módulo que añade soporte para " +"este formato XML está instalado. Para los archivos" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import" +msgstr "Importar" + +#. module: sale_order_import +#: model:ir.actions.act_window,name:sale_order_import.sale_order_import_action +#: model:ir.ui.menu,name:sale_order_import.sale_order_import_menu +msgid "Import RFQ or Order" +msgstr "Importar solicitud de presupuesto o pedido" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import Sale Orders" +msgstr "Importar pedidos de venta" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__import_type +msgid "Import Type" +msgstr "Tipo de Importación" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import____last_update +msgid "Last Modified on" +msgstr "Última modificación el" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_uid +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_date +msgid "Last Updated on" +msgstr "Última actualización el" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "No data provided" +msgstr "No se han facilitado datos" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"No price is defined in the file. Please double check file or select " +"Pricelist as the source for prices." +msgstr "" +"No se ha definido ningún precio en el archivo. Compruebe el archivo o " +"seleccione Lista de precios como fuente de precios." + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__pdf +msgid "PDF" +msgstr "PDF" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Please select a valid import type before importing!" +msgstr "" +"¡Por favor, seleccione un tipo de importación válido antes de importar!" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__pricelist +msgid "Pricelist" +msgstr "Tarifa" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__sale_id +msgid "Quotation to Update" +msgstr "Presupuesto para actualizar" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__rfq +msgid "Request For Quotation" +msgstr "Solicitud de presupuesto" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_file +msgid "Request for Quotation or Order" +msgstr "Solicitud de presupuesto o pedido" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__order +msgid "Sale Order" +msgstr "Pedido de venta" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "Importación de Orden de Venta desde Ficheros" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order +msgid "Sales Order" +msgstr "Pedido de venta" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "Seleccione el tipo que desea importar" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_shipping_id +msgid "Shipping Address" +msgstr "Dirección de envío" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Some quotations have been found for this customer ; one of them may " +"correspond to the order or RFQ that you are importing. You can either select " +"an existing quotation to update or create a new one." +msgstr "" +"Se han encontrado algunos presupuestos para este cliente; uno de ellos puede " +"corresponder al pedido o petición de oferta que está importando. Puede " +"seleccionar una oferta existente para actualizarla o crear una nueva." + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__state +msgid "State" +msgstr "Estado" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The currency of the imported order (%(old)s) is different from the currency " +"of the existing order (%(new)s)" +msgstr "" +"La divisa del pedido importado ( %(old)s) es diferente de la divisa del " +"pedido existente (%(new)s)" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The customer '%(name)s' has a pricelist '%(pricelist)s' but the currency of " +"this order is '%(currency)s'." +msgstr "" +"El cliente '%(name)s' tiene una lista de precios '%(pricelist)s' pero la " +"divisa de este pedido es '%(currency)s'." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The quantity has been updated on the order line with product '%(product)s' " +"from %(qty0)s to %(qty1)s %(uom)s" +msgstr "" +"Se ha actualizado la cantidad en la línea de pedido con el producto " +"'%(product)s' de %(qty0)s a %(qty1)s %(uom)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The unit price has been updated on the order line with product '%(product)s' " +"from %(old)s to %(new)s %(currency)s" +msgstr "" +"Se ha actualizado el precio unitario en la línea de pedido con el producto " +"'%(product)s' de %(old)s a %(new)s %(currency)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "No hay ningún archivo XML incorporado en este archivo PDF." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This Import Type is not supported. Did you install the module to support " +"this type?" +msgstr "" +"Este Tipo de Importación no está admitido. ¿Has instalado el módulo para " +"admitir este tipo?" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "Este archivo no es compatible con el formato XML" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%(filename)s' is not recognized as a %(type)s file. Please check " +"the file and its extension." +msgstr "" +"Este archivo '%(filename)s' no se reconoce como un archivo %(type)s. " +"Compruebe el archivo y su extensión." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as a XML nor PDF file. Please check the " +"file and it's extension." +msgstr "" +"Este archivo '%s' no se reconoce como archivo XML ni PDF. Compruebe el " +"archivo y su extensión." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This order doesn't have any line !" +msgstr "¡Este pedido no tiene ninguna línea!" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This quotation has been updated automatically via the import of file %s" +msgstr "" +"Este presupuesto se ha actualizado automáticamente mediante la importación " +"del fichero %s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This type of XML RFQ/order is not supported. Did you install the module to " +"support this XML format?" +msgstr "" +"Este tipo de petición de oferta/pedido XML no es compatible. ¿Ha instalado " +"el módulo para admitir este formato XML?" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Universal Business Language" +msgstr "Lenguaje Comercial Universal" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Unsupported file format" +msgstr "Formato de archivo no soportado" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__update +msgid "Update" +msgstr "Actualizar" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Update Existing" +msgstr "Actualizar existente" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__order_file +msgid "" +"Upload a Request for Quotation or an Order file. Supported formats: XML and " +"PDF (PDF with an embeded XML file)." +msgstr "" +"Cargue una solicitud de presupuesto o un archivo de pedido. Formatos " +"admitidos: XML y PDF (PDF con un archivo XML incorporado)." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Upload below the customer order or request for quotation as XML or PDF file. " +"When you click on the Import button:" +msgstr "" +"Cargue a continuación el pedido del cliente o la solicitud de presupuesto " +"como archivo XML o PDF. Al hacer clic en el botón Importar:" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__xml +msgid "XML" +msgstr "XML" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "You must select a quotation to update." +msgstr "Debe seleccionar un presupuesto para actualizarlo." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"format (UBL), you should install the module sale_order_import_ubl." +msgstr "(UBL), debe instalar el módulo sale_order_import_ubl." + +#, fuzzy +#~ msgid "Csv Import" +#~ msgstr "Importar CSV" + +#~ msgid "Missing customer" +#~ msgstr "Falta cliente" + +#, fuzzy +#~ msgid "Quotation" +#~ msgstr "Presupuesto para actualizar" diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/fr.po b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/fr.po new file mode 100644 index 0000000..20499a1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/fr.po @@ -0,0 +1,426 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-12 13:36+0000\n" +"PO-Revision-Date: 2024-11-06 16:06+0000\n" +"Last-Translator: samibc2c \n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/models/sale.py:0 +#: code:addons/sale_order_import/tests/test_sale_order.py:0 +#, python-format +msgid " Amount w/o tax: %(amount)s %(currency)s" +msgstr " Montant hors taxe: %(amount)s %(currency)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s new order line(s) created: %(label)s" +msgstr "%(orders)s nouvelle(s) ligne(s) de commande créée(s): %(label)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s order line(s) deleted: %(label)s" +msgstr "%(orders)s ligne(s) de commande supprimée(s): %(label)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"An order of customer '%(partner)s' with reference '%(ref)s' already exists: " +"%(name)s (state: %(state)s)" +msgstr "" +"Une commande avec la référence '%(ref)s' existe déjà pour le client " +"'%(partner)s': %(name)s (état: %(state)s)" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__price_source +msgid "Apply Prices From" +msgstr "Appliquer les prix à partir de" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Cancel" +msgstr "Annuler" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__commercial_partner_id +msgid "Commercial Entity" +msgstr "Entité commerciale" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__confirm_order +msgid "Confirm Order" +msgstr "Confirmer la commande" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Create New" +msgstr "Créer une nouvelle" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Created automatically via file import (%s)." +msgstr "Créé automatiquement par importation de fichier (%s)." + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_uid +msgid "Created by" +msgstr "Créé par" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_date +msgid "Created on" +msgstr "Créé le" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_id +msgid "Customer" +msgstr "Client" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__order +msgid "Customer Order" +msgstr "Commande client" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__display_name +msgid "Display Name" +msgstr "Nom affiché" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "Type de document" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_filename +msgid "Filename" +msgstr "Nom du fichier" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__id +msgid "ID" +msgstr "ID" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of " +"the PDF file and then use this XML file to create the quotation." +msgstr "" +"S'il s'agit d'un document PDF, Odoo tentera de trouver un fichier XML en " +"pièce-jointe et utilisera ensuite ce document XML pour créer le devis." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for " +"this XML format is installed. For the" +msgstr "" +"S'il s'agit d'un document XML, Odoo l'analysera si le module adéquat est " +"installé. Pour le" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import" +msgstr "Importer" + +#. module: sale_order_import +#: model:ir.actions.act_window,name:sale_order_import.sale_order_import_action +#: model:ir.ui.menu,name:sale_order_import.sale_order_import_menu +msgid "Import RFQ or Order" +msgstr "Importer la demande ou la commande d'achat" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import Sale Orders" +msgstr "Importer le bon de commande" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__import_type +msgid "Import Type" +msgstr "Type d'import" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import____last_update +msgid "Last Modified on" +msgstr "Dernière modification le" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_uid +msgid "Last Updated by" +msgstr "Dernière mise-à-jour par" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_date +msgid "Last Updated on" +msgstr "Dernière mise-à-jour le" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "No data provided" +msgstr "Aucune donnée fournie" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"No price is defined in the file. Please double check file or select " +"Pricelist as the source for prices." +msgstr "" +"Aucun prix définit dans le fichier. Veuillez vérifier le fichier ou " +"sélectionner une liste de prix source." + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__pdf +msgid "PDF" +msgstr "PDF" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Please select a valid import type before importing!" +msgstr "Veuillez sélectionner un type d'importation valide avant d'importer !" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__pricelist +msgid "Pricelist" +msgstr "Liste de prix" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__sale_id +msgid "Quotation to Update" +msgstr "Devis à mettre à jour" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__rfq +msgid "Request For Quotation" +msgstr "Demande de prix" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_file +msgid "Request for Quotation or Order" +msgstr "Demande de prix ou Bon de conmande" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__order +msgid "Sale Order" +msgstr "Bon de commande" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order +msgid "Sales Order" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Some quotations have been found for this customer ; one of them may " +"correspond to the order or RFQ that you are importing. You can either select " +"an existing quotation to update or create a new one." +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__state +msgid "State" +msgstr "Etat" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The currency of the imported order (%(old)s) is different from the currency " +"of the existing order (%(new)s)" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The customer '%(name)s' has a pricelist '%(pricelist)s' but the currency of " +"this order is '%(currency)s'." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The quantity has been updated on the order line with product '%(product)s' " +"from %(qty0)s to %(qty1)s %(uom)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The unit price has been updated on the order line with product '%(product)s' " +"from %(old)s to %(new)s %(currency)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This Import Type is not supported. Did you install the module to support " +"this type?" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%(filename)s' is not recognized as a %(type)s file. Please check " +"the file and its extension." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as a XML nor PDF file. Please check the " +"file and it's extension." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This order doesn't have any line !" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This quotation has been updated automatically via the import of file %s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This type of XML RFQ/order is not supported. Did you install the module to " +"support this XML format?" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Universal Business Language" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Unsupported file format" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__update +msgid "Update" +msgstr "Mettre à jour" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Update Existing" +msgstr "Mettre à jour une existante" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__order_file +msgid "" +"Upload a Request for Quotation or an Order file. Supported formats: XML and " +"PDF (PDF with an embeded XML file)." +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Upload below the customer order or request for quotation as XML or PDF file. " +"When you click on the Import button:" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__xml +msgid "XML" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "You must select a quotation to update." +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"format (UBL), you should install the module sale_order_import_ubl." +msgstr "" + +#, fuzzy +#~ msgid "Csv Import" +#~ msgstr "Importer" diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/it.po b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/it.po new file mode 100644 index 0000000..1f56cdf --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/it.po @@ -0,0 +1,447 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-07-24 16:25+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.10.4\n" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/models/sale.py:0 +#: code:addons/sale_order_import/tests/test_sale_order.py:0 +#, python-format +msgid " Amount w/o tax: %(amount)s %(currency)s" +msgstr " Valore senza imposte: %(amount)s %(currency)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s new order line(s) created: %(label)s" +msgstr "%(orders)s nuova riga(e) ordine creata: %(label)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s order line(s) deleted: %(label)s" +msgstr "%(orders)s riga(e) ordine cancellata: %(label)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"An order of customer '%(partner)s' with reference '%(ref)s' already exists: " +"%(name)s (state: %(state)s)" +msgstr "" +"Un ordine del cliente '%(partner)s' con riferimento '%(ref)s' esiste già: " +"%(name)s (stato: %(state)s)" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__price_source +msgid "Apply Prices From" +msgstr "Maschera applicazione prezzi" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Cancel" +msgstr "Annulla" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__commercial_partner_id +msgid "Commercial Entity" +msgstr "Entità commerciale" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__confirm_order +msgid "Confirm Order" +msgstr "Conferma ordine" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Create New" +msgstr "Crea nuovo" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Created automatically via file import (%s)." +msgstr "Creati automaticamente con importazione file (%s)." + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_id +msgid "Customer" +msgstr "Cliente" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__order +msgid "Customer Order" +msgstr "Ordine cliente" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "Tipo documento" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_filename +msgid "Filename" +msgstr "Nome file" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__id +msgid "ID" +msgstr "ID" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of" +" the PDF file and then use this XML file to create the quotation." +msgstr "" +"Se è un file PDF, Odoo cercherà di trovare un file XML allegato al file PDF " +"e usarlo per creare il preventivo." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for" +" this XML format is installed. For the" +msgstr "" +"Se è un file XML, Odoo lo analizzerà se è installato il modulo che aggiunge " +"il supporto per questo formato XML. Per il" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import" +msgstr "Importa" + +#. module: sale_order_import +#: model:ir.actions.act_window,name:sale_order_import.sale_order_import_action +#: model:ir.ui.menu,name:sale_order_import.sale_order_import_menu +msgid "Import RFQ or Order" +msgstr "Importa RdP o ordine" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import Sale Orders" +msgstr "Importa gli ordini di vendita" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__import_type +msgid "Import Type" +msgstr "Tipo importazione" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "No data provided" +msgstr "Nessun dato fornito" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"No price is defined in the file. Please double check file or select " +"Pricelist as the source for prices." +msgstr "" +"Nessun prezzo definito nel file. Ricontrollare il file o selezionare un " +"listino per i prezzi." + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__pdf +msgid "PDF" +msgstr "PDF" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Please select a valid import type before importing!" +msgstr "Selezionare un tipo importazione valido prima di importare!" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__pricelist +msgid "Pricelist" +msgstr "Listino prezzi" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__sale_id +msgid "Quotation to Update" +msgstr "Preventivo da aggiornare" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__rfq +msgid "Request For Quotation" +msgstr "Richiesta di preventivo" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_file +msgid "Request for Quotation or Order" +msgstr "Richiesta di preventivo o ordine" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__order +msgid "Sale Order" +msgstr "Ordine di vendita" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "Importazione ordine di vendita da file" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order +msgid "Sales Order" +msgstr "Ordine di vendita" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "Selezionare un tipo che si vuole importare" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_shipping_id +msgid "Shipping Address" +msgstr "Indirizzo di spedizione" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Some quotations have been found for this customer ; one of them may " +"correspond to the order or RFQ that you are importing. You can either select" +" an existing quotation to update or create a new one." +msgstr "" +"Sono stati trovati alcuni preventivi per questo cliente; uno di essi può " +"corrispondere all'ordine o alla RdP che si sta importando. Si può " +"selezionare un preventivo esistente o crearne uno nuovo." + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__state +msgid "State" +msgstr "Stato" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The currency of the imported order (%(old)s) is different from the currency " +"of the existing order (%(new)s)" +msgstr "" +"La valuta dell'ordine importato (%(old)s) è diversa dalla valuta dell'ordine " +"esistente (%(new)s)" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The customer '%(name)s' has a pricelist '%(pricelist)s' but the currency of " +"this order is '%(currency)s'." +msgstr "" +"Il cliente '%(name)s' ha un listino '%(pricelist)s' ma la valuta dell'ordine " +"è '%(currency)s'." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The quantity has been updated on the order line with product '%(product)s' " +"from %(qty0)s to %(qty1)s %(uom)s" +msgstr "" +"La quantità è stata aggiornata nella riga ordine con prodotto '%(product)s' " +"da %(qty0)s a %(qty1)s %(uom)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The unit price has been updated on the order line with product '%(product)s'" +" from %(old)s to %(new)s %(currency)s" +msgstr "" +"Il prezzo unitario è stato aggiornato nella riga ordine con prodotto " +"'%(product)s' da %(old)s a %(new)s %(currency)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "In questo PDF non c'è un file XML integrato." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This Import Type is not supported. Did you install the module to support " +"this type?" +msgstr "" +"Questo tipo di importazione non è supportato. Il modulo per supportarlo è " +"stato installato?" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "Il file XML non è compatibile al formato XML" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%(filename)s' is not recognized as a %(type)s file. Please check " +"the file and its extension." +msgstr "" +"Questo file '%(filename)s' non è riconosciuto come file %(type)s. " +"Controllare il file e la sua estensione." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as a XML nor PDF file. Please check the " +"file and it's extension." +msgstr "" +"Il file '%s' non è riconosciuto come file XML o PDF. Controllare il file e " +"la sua estensione." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This order doesn't have any line !" +msgstr "Questo ordine non ha righe!" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This quotation has been updated automatically via the import of file %s" +msgstr "" +"Il preventivo è stato aggiornato automaticamente con l'importazione del file " +"%s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This type of XML RFQ/order is not supported. Did you install the module to " +"support this XML format?" +msgstr "" +"Questo tipo RdP/ordine XML non è supportato. Il modulo per supportare questo " +"formato è stato installato?" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Universal Business Language" +msgstr "Linguaggio commerciale universale" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Unsupported file format" +msgstr "Formato file non supportato" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__update +msgid "Update" +msgstr "Aggiorna" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Update Existing" +msgstr "Aggiorna esistente" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__order_file +msgid "" +"Upload a Request for Quotation or an Order file. Supported formats: XML and " +"PDF (PDF with an embeded XML file)." +msgstr "" +"Caricare un file richiesta di preventivo o un ordine. Formati supportati: " +"XML e PDF (PDF con file XML integrato)." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Upload below the customer order or request for quotation as XML or PDF file." +" When you click on the Import button:" +msgstr "" +"Caricare in calce l'ordine cliente o la richiesta di preventivo come file " +"XML o PDF. Quando si fa clic sul pulsante importazione:" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__xml +msgid "XML" +msgstr "XML" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "You must select a quotation to update." +msgstr "Bisogna selezionare un preventivo da aggiornare." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"format (UBL), you should install the module sale_order_import_ubl." +msgstr "" +"formato (UBL), bisogna installare il modulo sale_order_import_ubl." diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/sale_order_import.pot b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/sale_order_import.pot new file mode 100644 index 0000000..54012eb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/i18n/sale_order_import.pot @@ -0,0 +1,410 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/models/sale.py:0 +#: code:addons/sale_order_import/tests/test_sale_order.py:0 +#, python-format +msgid " Amount w/o tax: %(amount)s %(currency)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s new order line(s) created: %(label)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s order line(s) deleted: %(label)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"An order of customer '%(partner)s' with reference '%(ref)s' already exists: " +"%(name)s (state: %(state)s)" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__price_source +msgid "Apply Prices From" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Cancel" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__commercial_partner_id +msgid "Commercial Entity" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__confirm_order +msgid "Confirm Order" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Create New" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Created automatically via file import (%s)." +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_uid +msgid "Created by" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_date +msgid "Created on" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_id +msgid "Customer" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__order +msgid "Customer Order" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__display_name +msgid "Display Name" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_filename +msgid "Filename" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__id +msgid "ID" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of" +" the PDF file and then use this XML file to create the quotation." +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for" +" this XML format is installed. For the" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import" +msgstr "" + +#. module: sale_order_import +#: model:ir.actions.act_window,name:sale_order_import.sale_order_import_action +#: model:ir.ui.menu,name:sale_order_import.sale_order_import_menu +msgid "Import RFQ or Order" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import Sale Orders" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__import_type +msgid "Import Type" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import____last_update +msgid "Last Modified on" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_date +msgid "Last Updated on" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "No data provided" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"No price is defined in the file. Please double check file or select " +"Pricelist as the source for prices." +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__pdf +msgid "PDF" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Please select a valid import type before importing!" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__pricelist +msgid "Pricelist" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__sale_id +msgid "Quotation to Update" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__rfq +msgid "Request For Quotation" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_file +msgid "Request for Quotation or Order" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__order +msgid "Sale Order" +msgstr "" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order +msgid "Sales Order" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Some quotations have been found for this customer ; one of them may " +"correspond to the order or RFQ that you are importing. You can either select" +" an existing quotation to update or create a new one." +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__state +msgid "State" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The currency of the imported order (%(old)s) is different from the currency " +"of the existing order (%(new)s)" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The customer '%(name)s' has a pricelist '%(pricelist)s' but the currency of " +"this order is '%(currency)s'." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The quantity has been updated on the order line with product '%(product)s' " +"from %(qty0)s to %(qty1)s %(uom)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The unit price has been updated on the order line with product '%(product)s'" +" from %(old)s to %(new)s %(currency)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This Import Type is not supported. Did you install the module to support " +"this type?" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%(filename)s' is not recognized as a %(type)s file. Please check " +"the file and its extension." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as a XML nor PDF file. Please check the " +"file and it's extension." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This order doesn't have any line !" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This quotation has been updated automatically via the import of file %s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This type of XML RFQ/order is not supported. Did you install the module to " +"support this XML format?" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Universal Business Language" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Unsupported file format" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__update +msgid "Update" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Update Existing" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__order_file +msgid "" +"Upload a Request for Quotation or an Order file. Supported formats: XML and " +"PDF (PDF with an embeded XML file)." +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Upload below the customer order or request for quotation as XML or PDF file." +" When you click on the Import button:" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__xml +msgid "XML" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "You must select a quotation to update." +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"format (UBL), you should install the module sale_order_import_ubl." +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/models/__init__.py b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/models/__init__.py new file mode 100644 index 0000000..c065ca3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import sale diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/models/sale.py b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/models/sale.py new file mode 100644 index 0000000..2ff435a --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/models/sale.py @@ -0,0 +1,27 @@ +# © 2016-2017 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import _, models + + +class SaleOrder(models.Model): + _inherit = "sale.order" + + def name_get(self): + """Add amount_untaxed in name_get of sale orders""" + res = super().name_get() + if self._context.get("sale_order_show_amount"): + new_res = [] + for (sale_id, name) in res: + sale = self.browse(sale_id) + # TODO: find a python method to easily display a float + currency + # symbol (before or after) depending on lang of context and currency + name += _( + " Amount w/o tax: %(amount)s %(currency)s", + amount=sale.amount_untaxed, + currency=sale.currency_id.name, + ) + new_res.append((sale_id, name)) + return new_res + else: + return res diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..b4f469e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ +* Alexis de Lattre +* Dennis Sluijk +* Andrea Stirpe +* Simone Orsi +* Duong (Tran Quoc) diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/readme/CREDITS.rst b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/readme/CREDITS.rst new file mode 100644 index 0000000..d43b3aa --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/readme/CREDITS.rst @@ -0,0 +1 @@ +The migration of this module from 13.0 to 16.0 was financially supported by Camptocamp diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/readme/DESCRIPTION.rst new file mode 100644 index 0000000..1288092 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/readme/DESCRIPTION.rst @@ -0,0 +1,7 @@ +This module adds support for the import of electronic RFQ or orders. This module provides the base methods to import electronic orders, and you can also plug additional formats by extending the wizard. It requires additional modules to support specific order formats: + + +* module *sale_order_import_ubl*: adds support for `Universal Business Language (UBL) `_ RFQs and orders as: + + - XML file, + - PDF file with an embedded XML file. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/readme/USAGE.rst b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/readme/USAGE.rst new file mode 100644 index 0000000..8438328 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/readme/USAGE.rst @@ -0,0 +1,5 @@ +This module adds a wizard in the sale menu named *Import RFQ or Order*. This wizard will propose you to select the order or RFQ file. Depending on the format of the file (XML or PDF) and the type of file (RFQ or order), it may propose you additional options. + +When you import an order, if there is a quotation in Odoo for the same customer, the wizard will propose you to either update the existing quotation or create a new order (in fact, it will create a new quotation, so that you are free to make some modifications before you click on the *Confirm Sale* button to convert the quotation to a sale order). + +Once the RFQ/order is imported, you should read the messages in the chatter of the quotation because it may contain important information about the import. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/security/ir.model.access.csv b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/security/ir.model.access.csv new file mode 100644 index 0000000..70a29eb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_sale_order_import,access_sale_order_import,model_sale_order_import,sales_team.group_sale_salesman,1,1,1,1 diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/static/description/icon.png b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/static/description/index.html b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/static/description/index.html new file mode 100644 index 0000000..64db4dc --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/static/description/index.html @@ -0,0 +1,453 @@ + + + + + +README.rst + + + +
      + + + +Odoo Community Association + +
      +

      Sale Order Import

      + +

      Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      This module adds support for the import of electronic RFQ or orders. This module provides the base methods to import electronic orders, and you can also plug additional formats by extending the wizard. It requires additional modules to support specific order formats:

      + +

      Table of contents

      + +
      +

      Usage

      +

      This module adds a wizard in the sale menu named Import RFQ or Order. This wizard will propose you to select the order or RFQ file. Depending on the format of the file (XML or PDF) and the type of file (RFQ or order), it may propose you additional options.

      +

      When you import an order, if there is a quotation in Odoo for the same customer, the wizard will propose you to either update the existing quotation or create a new order (in fact, it will create a new quotation, so that you are free to make some modifications before you click on the Confirm Sale button to convert the quotation to a sale order).

      +

      Once the RFQ/order is imported, you should read the messages in the chatter of the quotation because it may contain important information about the import.

      +
      +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • Akretion
      • +
      • Camptocamp
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Other credits

      +

      The migration of this module from 13.0 to 16.0 was financially supported by Camptocamp

      +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      + +Odoo Community Association + +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/__init__.py b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/__init__.py new file mode 100644 index 0000000..5abc4e2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/__init__.py @@ -0,0 +1,5 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_sale_order +from . import test_order_import +from . import test_parse_validate diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/common.py b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/common.py new file mode 100644 index 0000000..be9a0a4 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/common.py @@ -0,0 +1,22 @@ +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +import base64 +import os + +from odoo.tests.common import TransactionCase + + +class TestCommon(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + cls.wiz_model = cls.env["sale.order.import"] + cls.partner = cls.env["res.partner"].create({"name": "SO Test"}) + + def read_test_file(self, filename, mode="r", as_b64=False): + path = os.path.join(os.path.dirname(__file__), "fixtures", filename) + with open(path, mode) as thefile: + content = thefile.read() + return content if not as_b64 else base64.b64encode(content) diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/fixtures/test.pdf b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/fixtures/test.pdf new file mode 100644 index 0000000..775bbe4 Binary files /dev/null and b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/fixtures/test.pdf differ diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/test_order_import.py b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/test_order_import.py new file mode 100644 index 0000000..1b4c2b7 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/test_order_import.py @@ -0,0 +1,182 @@ +# Copyright 2018 Akretion (Alexis de Lattre ) +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +import base64 +from unittest import mock + +from odoo import exceptions +from odoo.tests.common import Form + +from .common import TestCommon + + +class TestOrderImport(TestCommon): + """Test order create/update.""" + + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.parsed_order = { + "partner": {"email": "deco.addict82@example.com"}, + "date": "2018-08-14", + "order_ref": "TEST1242", + "lines": [ + { + "product": {"code": "FURN_8888"}, + "qty": 2, + "uom": {"unece_code": "C62"}, + "price_unit": 12.42, + } + ], + "chatter_msg": [], + "doc_type": "rfq", + } + + def test_order_import(self): + order = self.wiz_model.create_order(self.parsed_order, "pricelist") + self.assertEqual(order.client_order_ref, self.parsed_order["order_ref"]) + self.assertEqual( + order.order_line[0].product_id.default_code, + self.parsed_order["lines"][0]["product"]["code"], + ) + self.assertEqual(int(order.order_line[0].product_uom_qty), 2) + # Now update the order + parsed_order_up = dict( + self.parsed_order, + partner={"email": "agrolait@yourcompany.example.com"}, + lines=[ + { + "product": {"code": "FURN_8888"}, + "qty": 3, + "uom": {"unece_code": "C62"}, + "price_unit": 12.42, + }, + { + "product": {"code": "FURN_9999"}, + "qty": 1, + "uom": {"unece_code": "C62"}, + "price_unit": 1.42, + }, + ], + ) + self.wiz_model.update_order_lines(parsed_order_up, order, "pricelist") + self.assertEqual(len(order.order_line), 2) + self.assertEqual(int(order.order_line[0].product_uom_qty), 3) + # test raise UserError if not price_unit + parsed_order_up_no_price_unit = dict( + self.parsed_order, + partner={"email": "agrolait@yourcompany.example.com"}, + lines=[ + { + "product": {"code": "FURN_7777"}, + "qty": 4, + "uom": {"unece_code": "C62"}, + }, + ], + ) + parsed_order_up_no_price_unit["doc_type"] = "order" + parsed_order_up_no_price_unit["price_source"] = "order" + expected_msg = ( + "No price is defined in the file. Please double check " + "file or select Pricelist as the source for prices." + ) + with self.assertRaisesRegex(exceptions.UserError, expected_msg): + self.wiz_model.update_order_lines( + parsed_order_up_no_price_unit, order, "order" + ) + + def test_order_import_action(self): + wiz = self.wiz_model.create({"import_type": "xml"}) + action = wiz.create_order_return_action(self.parsed_order, "order.ref") + order = self.env["sale.order"].browse(action["res_id"]) + self.assertEqual(order.state, "draft") + + def test_order_import_confirm(self): + wiz = self.wiz_model.create({"import_type": "xml", "confirm_order": True}) + action = wiz.create_order_return_action(self.parsed_order, "order.ref") + order = self.env["sale.order"].browse(action["res_id"]) + self.assertEqual(order.state, "sale") + + def test_order_import_default_so_vals(self): + default = {"client_order_ref": "OVERRIDE"} + order = self.wiz_model.with_context( + sale_order_import__default_vals=dict(order=default) + ).create_order(self.parsed_order, "pricelist") + self.assertEqual(order.client_order_ref, "OVERRIDE") + + def test_with_order_buttons(self): + # Prepare test data + order_file_data = base64.b64encode( + b"baz" + ) + order_filename = "test_order.xml" + mock_parse_order = mock.patch.object(type(self.wiz_model), "parse_xml_order") + # Create a new form + with Form( + self.wiz_model.with_context( + default_order_filename=order_filename, + ) + ) as form: + with mock_parse_order as mocked: + # Return 'rfq' for doc_type + mocked.return_value = "rfq" + # Set values for the required fields + form.import_type = "xml" + form.order_file = order_file_data + mocked.assert_called() + # Test the button with the simulated values + mocked.return_value = self.parsed_order + action = form.save().import_order_button() + self.assertEqual(action["xml_id"], "sale.action_quotations") + self.assertEqual(action["view_mode"], "form,tree,calendar,graph") + self.assertEqual(action["view_id"], False) + mocked.assert_called() + so = self.env["sale.order"].browse(action["res_id"]) + self.assertEqual(so.partner_id.email, "deco.addict82@example.com") + self.assertEqual(so.client_order_ref, "TEST1242") + self.assertEqual(so.order_line.product_id.code, "FURN_8888") + self.assertEqual(so.state, "draft") + + # Create another form to update the above sale order + with Form( + self.wiz_model.with_context( + default_order_filename=order_filename, + ) + ) as form: + with mock_parse_order as mocked: + # Return 'rfq' for doc_type + mocked.return_value = "rfq" + # Set the required fields + form.import_type = "xml" + form.order_file = order_file_data + parsed_order_up = dict( + self.parsed_order, + lines=[ + { + "product": {"code": "FURN_8888"}, + "qty": 3, + "uom": {"unece_code": "C62"}, + "price_unit": 12.42, + }, + { + "product": {"code": "FURN_9999"}, + "qty": 1, + "uom": {"unece_code": "C62"}, + "price_unit": 1.42, + }, + ], + ) + mocked.return_value = parsed_order_up + action = form.save().import_order_button() + form = form.save() + self.assertEqual( + action["xml_id"], "sale_order_import.sale_order_import_action" + ) + self.assertEqual(form.state, "update") + self.assertEqual(form.sale_id, so) + form.update_order_button() + + self.assertEqual(len(so.order_line), 2) + self.assertEqual(so.order_line[0].product_uom_qty, 3) diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/test_parse_validate.py b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/test_parse_validate.py new file mode 100644 index 0000000..c7b25e3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/test_parse_validate.py @@ -0,0 +1,170 @@ +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +import base64 +from unittest import mock + +from lxml import etree + +from odoo import exceptions +from odoo.tests.common import Form + +from .common import TestCommon + + +class TestParsingValidation(TestCommon): + """Mostly unit tests on wizard parsing methods.""" + + def test_wrong_import_type(self): + order_file_data = base64.b64encode( + b"baz" + ) + order_filename = "test_order.xml" + expected_error_message = ( + "This file 'test_order.xml' is not recognized as" + " a PDF file. Please check the file and its extension." + ) + + with self.assertRaisesRegex(exceptions.UserError, expected_error_message): + with Form( + self.wiz_model.with_context(default_order_filename=order_filename) + ) as form: + form.import_type = "pdf" + form.order_file = order_file_data + + def test_onchange_validation_xml(self): + xml_data = base64.b64encode( + b"baz" + ) + + # Simulate bad file handling + mock_parse_xml = mock.patch.object(type(self.wiz_model), "_parse_xml") + + with Form( + self.wiz_model.with_context(default_order_filename="test.xml") + ) as form: + with mock_parse_xml as mocked: + mocked.return_value = ("", "I don't like this file") + with self.assertRaisesRegex( + exceptions.UserError, "I don't like this file" + ): + form.import_type = "xml" + form.order_file = xml_data + mocked.assert_called() + + mock_parse_order = mock.patch.object(type(self.wiz_model), "parse_xml_order") + + with Form( + self.wiz_model.with_context(default_order_filename="test.xml") + ) as form: + with mock_parse_order as mocked: + mocked.return_value = "rfq" + form.import_type = "xml" + form.order_file = xml_data + mocked.assert_called() + self.assertEqual(form.doc_type, "rfq") + + def test_onchange_validation_pdf(self): + pdf_data = self.read_test_file("test.pdf", mode="rb", as_b64=True) + mock_parse_order = mock.patch.object(type(self.wiz_model), "parse_pdf_order") + + with Form( + self.wiz_model.with_context(default_order_filename="test.pdf") + ) as form: + with mock_parse_order as mocked: + mocked.return_value = "rfq" + form.import_type = "pdf" + form.order_file = pdf_data + mocked.assert_called() + self.assertEqual(form.doc_type, "rfq") + + def test_parse_xml_bad(self): + xml_root, error_msg = self.wiz_model._parse_xml("") + self.assertEqual(xml_root, None) + self.assertEqual(error_msg, "No data provided") + xml_root, error_msg = self.wiz_model._parse_xml("something_wrong") + self.assertEqual(xml_root, None) + self.assertEqual(error_msg, "This XML file is not XML-compliant") + + def test_parse_xml_unsupported(self): + xml_data = b"baz" + xml_root, error_msg = self.wiz_model._parse_xml(xml_data) + self.assertTrue(isinstance(xml_root, etree._Element)) + # Due to parse_xml_order NotImplementedError + mock_parse_order = mock.patch.object(type(self.wiz_model), "parse_xml_order") + with mock_parse_order as mocked: + mocked.side_effect = exceptions.UserError("I don't like this file") + self.assertTrue(isinstance(xml_root, etree._Element)) + + def test_parse_xml_good(self): + xml_data = b"baz" + mock_parse_order = mock.patch.object(type(self.wiz_model), "parse_xml_order") + with mock_parse_order as mocked: + mocked.return_value = "rfq" + xml_root, error_msg = self.wiz_model._parse_xml(xml_data) + self.assertTrue(isinstance(xml_root, etree._Element)) + self.assertTrue(error_msg is None) + + def test_parse_pdf_bad(self): + pdf_data = self.read_test_file("test.pdf", mode="rb", as_b64=True) + mock_pdf_get_xml_files = mock.patch.object( + type(self.env["pdf.helper"]), "pdf_get_xml_files" + ) + with mock_pdf_get_xml_files as mocked: + mocked.return_value = {} + with self.assertRaisesRegex( + exceptions.UserError, "There are no embedded XML file in this PDF file." + ): + self.wiz_model.parse_pdf_order(pdf_data) + mocked.assert_called() + + def test_parse_pdf_good(self): + pdf_data = self.read_test_file("test.pdf", mode="rb", as_b64=True) + mock_pdf_get_xml_files = mock.patch.object( + type(self.env["pdf.helper"]), "pdf_get_xml_files" + ) + mock_parse_xml_order = mock.patch.object( + type(self.wiz_model), "parse_xml_order" + ) + with mock_pdf_get_xml_files as m1, mock_parse_xml_order as m2: + m1.return_value = { + "test.pdf": etree.fromstring( + b"baz" + ) + } + fake_parsed_order = {"got": "a wonderful order"} + m2.return_value = fake_parsed_order + res = self.wiz_model.parse_pdf_order(pdf_data) + m1.assert_called() + m2.assert_called() + self.assertEqual(res, fake_parsed_order) + + def test_parse_pdf_good_but_no_file(self): + pdf_data = self.read_test_file("test.pdf", mode="rb", as_b64=True) + mock_pdf_get_xml_files = mock.patch.object( + type(self.env["pdf.helper"]), "pdf_get_xml_files" + ) + mock_parse_xml_order = mock.patch.object( + type(self.wiz_model), "parse_xml_order" + ) + with mock_pdf_get_xml_files as m1, mock_parse_xml_order as m2: + m1.return_value = { + "test.pdf": etree.fromstring( + b"baz" + ) + } + m2.side_effect = etree.LxmlError("Bad XML sir!") + expected_msg = ( + "This type of XML RFQ/order is not supported. Did you install " + "the module to support this XML format?" + ) + with self.assertRaisesRegex(exceptions.UserError, expected_msg): + self.wiz_model.parse_pdf_order(pdf_data) + m1.assert_called() + m2.assert_called() + # same w/ UserError catched somewhere else + m2.side_effect = exceptions.UserError("Something is wrong w/ this file") + with self.assertRaisesRegex(exceptions.UserError, expected_msg): + self.wiz_model.parse_pdf_order(pdf_data) + m1.assert_called() + m2.assert_called() diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/test_sale_order.py b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/test_sale_order.py new file mode 100644 index 0000000..b923e1d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/tests/test_sale_order.py @@ -0,0 +1,25 @@ +# Copyright 2018 Akretion (Alexis de Lattre ) +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import _ +from odoo.tests.common import TransactionCase + + +class TestOrderImport(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + + def test_name_get(self): + sale_order = self.env.ref("sale.sale_order_1") + name = sale_order.name + _( + " Amount w/o tax: %(amount)s %(currency)s", + amount=sale_order.amount_untaxed, + currency=sale_order.currency_id.name, + ) + so = self.env["sale.order"].with_context(sale_order_show_amount=True) + name_get_res = so.search([("id", "=", sale_order.id)]).name_get() + self.assertEqual(name, name_get_res[0][1]) diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/wizard/__init__.py b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/wizard/__init__.py new file mode 100644 index 0000000..293838f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/wizard/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import sale_order_import diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/wizard/sale_order_import.py b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/wizard/sale_order_import.py new file mode 100644 index 0000000..94fdd5e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/wizard/sale_order_import.py @@ -0,0 +1,690 @@ +# Copyright 2016-2017 Akretion +# @author: Alexis de Lattre +# Copyright 2022 Camptocamp +# @author: Simone Orsi +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +import logging +import mimetypes +from base64 import b64decode, b64encode + +from lxml import etree + +from odoo import _, api, fields, models +from odoo.exceptions import UserError +from odoo.osv.expression import AND +from odoo.tools import config, float_compare, float_is_zero + +logger = logging.getLogger(__name__) + + +class SaleOrderImport(models.TransientModel): + _name = "sale.order.import" + _description = "Sale Order Import from Files" + + state = fields.Selection( + [("import", "Import"), ("update", "Update")], default="import" + ) + partner_id = fields.Many2one("res.partner", string="Customer") + import_type = fields.Selection( + [("xml", "XML"), ("pdf", "PDF")], + required=True, + default=None, + help="Select a type which you want to import", + ) + order_file = fields.Binary( + string="Request for Quotation or Order", + required=True, + help="Upload a Request for Quotation or an Order file. Supported " + "formats: XML and PDF (PDF with an embeded XML file).", + ) + order_filename = fields.Char(string="Filename") + doc_type = fields.Selection( + [("rfq", "Request For Quotation"), ("order", "Sale Order")], + string="Document Type", + readonly=True, + ) + price_source = fields.Selection( + [("pricelist", "Pricelist"), ("order", "Customer Order")], + string="Apply Prices From", + ) + # for state = update + commercial_partner_id = fields.Many2one( + "res.partner", string="Commercial Entity", readonly=True + ) + partner_shipping_id = fields.Many2one( + "res.partner", string="Shipping Address", readonly=True + ) + sale_id = fields.Many2one("sale.order", string="Quotation to Update") + confirm_order = fields.Boolean(default=False) + + @api.onchange("order_file") + def order_file_change(self): + if not self.order_filename or not self.order_file: + self.doc_type = False + return + + doc_type = self._parse_file( + self.order_filename, b64decode(self.order_file), detect_doc_type=True + ) + if doc_type is None: + return {"warning": self._unsupported_file_msg(self.order_filename)} + self.doc_type = doc_type + + def _get_supported_types(self): + # Define the supported types dictionary + supported_types = { + "xml": ("application/xml", "text/xml"), + "pdf": ("application/pdf"), + } + return supported_types + + def _parse_file(self, filename, filecontent, detect_doc_type=False): + assert filename, "Missing filename" + assert filecontent, "Missing file content" + filetype = mimetypes.guess_type(filename) + logger.debug("Order file mimetype: %s", filetype) + mimetype = filetype[0] + supported_types = self._get_supported_types() + # Check if the selected import type is supported + if self.import_type not in supported_types: + raise UserError(_("Please select a valid import type before importing!")) + + # Check if the detected MIME type is supported for the selected import type + if mimetype not in supported_types[self.import_type]: + raise UserError( + _( + "This file '%(filename)s' is not recognized as a %(type)s file. " + "Please check the file and its extension.", + filename=filename, + type=self.import_type.upper(), + ) + ) + + if parser_method := getattr(self, f"parse_{self.import_type}_order", None): + return parser_method(filecontent, detect_doc_type=detect_doc_type) + else: + logger.error( + "%(meth)s not found %(itype)s not supported", + meth=f"parse_{self.import_type}_order", + itype=self.import_type, + ) + raise UserError( + _( + "This Import Type is not supported. Did you install " + "the module to support this type?" + ) + ) + + def _unsupported_file_msg(self, filename): + return { + "title": _("Unsupported file format"), + "message": _( + "This file '%s' is not recognised as a XML nor " + "PDF file. Please check the file and it's " + "extension." + ) + % filename, + } + + @api.model + def _parse_xml(self, data): + if not data: + return None, _("No data provided") + xml_root = None + try: + xml_root = etree.fromstring(data) + error_msg = None + except etree.XMLSyntaxError: + error_msg = _("This XML file is not XML-compliant") + return xml_root, error_msg + return xml_root, error_msg + + @api.model + def parse_xml_order(self, data, detect_doc_type=False): + if not self.env.context.get("xml_root", False): + xml_root, error_msg = self._parse_xml(data) + else: + xml_root = data + error_msg = None + if (xml_root is None or not len(xml_root)) and error_msg: + raise UserError(error_msg) + raise NotImplementedError( + _( + "This type of XML RFQ/order is not supported. Did you install " + "the module to support this XML format?" + ) + ) + + @api.model + def parse_pdf_order(self, order_file, detect_doc_type=False): + """ + Get PDF attachments, filter on XML files and call import_order_xml + """ + xml_files_dict = self.env["pdf.helper"].pdf_get_xml_files(order_file) + if not xml_files_dict: + raise UserError(_("There are no embedded XML file in this PDF file.")) + for xml_filename, xml_root in xml_files_dict.items(): + logger.info("Trying to parse XML file %s", xml_filename) + try: + parsed_order = self.with_context(xml_root=True).parse_xml_order( + xml_root, detect_doc_type=detect_doc_type + ) + return parsed_order + except (etree.LxmlError, UserError): + continue + raise UserError( + _( + "This type of XML RFQ/order is not supported. Did you install " + "the module to support this XML format?" + ) + ) + + # Format of parsed_order + # { + # 'partner': { + # 'vat': 'FR25499247138', + # 'name': 'Camptocamp', + # 'email': 'luc@camptocamp.com', + # }, + # 'ship_to': { + # 'partner': partner_dict, + # 'address': { + # 'country_code': 'FR', + # 'state_code': False, + # 'zip': False, + # }, + # 'company': {'vat': 'FR12123456789'}, # Only used to check we are not + # # importing the order in the + # # wrong company by mistake + # 'date': '2016-08-16', # order date + # 'order_ref': 'PO1242', # Customer PO number + # 'currency': {'iso': 'EUR', 'symbol': u'€'}, + # 'incoterm': 'EXW', + # 'note': 'order notes of the customer', + # 'chatter_msg': ['msg1', 'msg2'] + # 'lines': [{ + # 'product': { + # 'code': 'EA7821', + # 'ean13': '2100002000003', + # }, + # 'qty': 2.5, + # 'uom': {'unece_code': 'C62'}, + # 'price_unit': 12.42, # without taxes + # 'doc_type': 'rfq' or 'order', + # }] + + @api.model + def _search_existing_order_domain( + self, parsed_order, commercial_partner, state_domain + ): + return AND( + [ + state_domain, + [ + ("client_order_ref", "=", parsed_order["order_ref"]), + ("commercial_partner_id", "=", commercial_partner.id), + ], + ] + ) + + @api.model + def _prepare_order(self, parsed_order, price_source): + soo = self.env["sale.order"] + bdio = self.env["business.document.import"] + partner = bdio._match_partner( + parsed_order["partner"], + parsed_order["chatter_msg"], + partner_type="customer", + ) + currency = bdio._match_currency( + parsed_order.get("currency"), parsed_order["chatter_msg"] + ) + # FIXME: this should work but it's not as it breaks core price compute + # so_vals = soo.default_get(soo._fields.keys()) + so_vals = { + "partner_id": partner.id, + "client_order_ref": parsed_order.get("order_ref"), + } + self._validate_currency(partner, currency) + self._validate_existing_orders(partner, parsed_order) + so_vals = soo.play_onchanges(so_vals, ["partner_id"]) + so_vals["order_line"] = [] + if parsed_order.get("ship_to"): + shipping_partner = bdio._match_shipping_partner( + parsed_order["ship_to"], partner, parsed_order["chatter_msg"] + ) + so_vals["partner_shipping_id"] = shipping_partner.id + + if parsed_order.get("delivery_detail"): + so_vals.update(parsed_order.get("delivery_detail")) + + if parsed_order.get("invoice_to"): + invoicing_partner = bdio._match_partner( + parsed_order["invoice_to"], parsed_order["chatter_msg"], partner_type="" + ) + so_vals["partner_invoice_id"] = invoicing_partner.id + if parsed_order.get("date"): + so_vals["date_order"] = parsed_order["date"] + for line in parsed_order["lines"]: + # partner=False because we don't want to use product.supplierinfo + product = bdio._match_product( + line["product"], parsed_order["chatter_msg"], seller=False + ) + uom = bdio._match_uom(line.get("uom"), parsed_order["chatter_msg"], product) + line_vals = self._prepare_create_order_line( + product, uom, so_vals, line, price_source + ) + so_vals["order_line"].append((0, 0, line_vals)) + + defaults = self.env.context.get("sale_order_import__default_vals", {}).get( + "order", {} + ) + so_vals.update(defaults) + return so_vals + + def _validate_currency(self, partner, currency): + if partner.property_product_pricelist.currency_id != currency: + raise UserError( + _( + "The customer '%(name)s' has a pricelist '%(pricelist)s' but the " + "currency of this order is '%(currency)s'.", + name=partner.display_name, + pricelist=partner.property_product_pricelist.display_name, + currency=currency.name, + ) + ) + + def _validate_existing_orders(self, partner, parsed_order): + if not parsed_order.get("order_ref"): + return + commercial_partner = partner.commercial_partner_id + existing_orders = self.env["sale.order"].search( + self._search_existing_order_domain( + parsed_order, commercial_partner, [("state", "!=", "cancel")] + ), + limit=1, + ) + if existing_orders: + raise UserError( + _( + "An order of customer '%(partner)s' with reference '%(ref)s' " + "already exists: %(name)s (state: %(state)s)", + partner=partner.display_name, + ref=parsed_order["order_ref"], + name=existing_orders[0].name, + state=existing_orders[0].state, + ) + ) + + # TODO: I wonder why these methods are model methods + @api.model + def create_order( + self, parsed_order, price_source, order_filename=None, confirm_order=False + ): + soo = self.env["sale.order"].with_context(mail_create_nosubscribe=True) + bdio = self.env["business.document.import"] + so_vals = self._prepare_order(parsed_order, price_source) + order = soo.create(so_vals) + if confirm_order: + order.action_confirm() + bdio.post_create_or_update(parsed_order, order, doc_filename=order_filename) + logger.info("Sale Order ID %d created", order.id) + return order + + @api.model + def create_order_ws( + self, parsed_order, price_source, order_filename=None, confirm_order=False + ): + """Same method as create_order() but callable via JSON-RPC + webservice. Returns an ID to avoid this error: + TypeError: sale.order(15,) is not JSON serializable""" + order = self.create_order( + parsed_order, + price_source, + order_filename=order_filename, + confirm_order=confirm_order, + ) + return order.id + + @api.model + def parse_order(self, order_file, order_filename, partner=False): + parsed_order = self._parse_file(order_filename, order_file) + logger.debug("Result of order parsing: %s", parsed_order) + defaults = ( + ("attachments", {}), + ("chatter_msg", []), + ) + for key, val in defaults: + parsed_order.setdefault(key, val) + + parsed_order["attachments"][order_filename] = b64encode(order_file) + if ( + parsed_order.get("company") + and not config["test_enable"] + and not self._context.get("edi_skip_company_check") + ): + self.env["business.document.import"]._check_company( + parsed_order["company"], parsed_order["chatter_msg"] + ) + return parsed_order + + def import_order_button(self): + self.ensure_one() + bdio = self.env["business.document.import"] + order_file_decoded = b64decode(self.order_file) + parsed_order = self.parse_order( + order_file_decoded, self.order_filename, self.partner_id + ) + if not parsed_order.get("lines"): + raise UserError(_("This order doesn't have any line !")) + partner = bdio._match_partner( + parsed_order["partner"], [], partner_type="customer" + ) + commercial_partner = partner.commercial_partner_id + partner_shipping_id = False + if parsed_order.get("ship_to"): + partner_shipping_id = bdio._match_shipping_partner( + parsed_order["ship_to"], partner, [] + ).id + existing_quotations = self.env["sale.order"].search( + self._search_existing_order_domain( + parsed_order, commercial_partner, [("state", "in", ("draft", "sent"))] + ) + ) + if existing_quotations: + default_sale_id = False + if len(existing_quotations) == 1: + default_sale_id = existing_quotations[0].id + self.write( + { + "commercial_partner_id": commercial_partner.id, + "partner_shipping_id": partner_shipping_id, + "state": "update", + "sale_id": default_sale_id, + "doc_type": parsed_order.get("doc_type"), + } + ) + action = self.env["ir.actions.act_window"]._for_xml_id( + "sale_order_import.sale_order_import_action" + ) + action["res_id"] = self.id + return action + else: + return self.create_order_return_action(parsed_order, self.order_filename) + + def create_order_button(self): + self.ensure_one() + parsed_order = self.parse_order( + b64decode(self.order_file), self.order_filename, self.partner_id + ) + return self.create_order_return_action(parsed_order, self.order_filename) + + def create_order_return_action(self, parsed_order, order_filename): + self.ensure_one() + order = self.create_order( + parsed_order, + self.price_source, + order_filename, + confirm_order=self._order_should_be_confirmed(), + ) + order.message_post( + body=_("Created automatically via file import (%s).") % self.order_filename + ) + action = self.env["ir.actions.actions"]._for_xml_id("sale.action_quotations") + action.update( + { + "view_mode": "form,tree,calendar,graph", + "views": False, + "view_id": False, + "res_id": order.id, + } + ) + return action + + def _order_should_be_confirmed(self): + # Hook to override behavior + return self.confirm_order + + # TODO: add tests + @api.model + def _prepare_update_order_vals(self, parsed_order, order, partner): + bdio = self.env["business.document.import"] + partner = bdio._match_partner( + parsed_order["partner"], + parsed_order["chatter_msg"], + partner_type="customer", + ) + vals = {"partner_id": partner.id} + if parsed_order.get("ship_to"): + shipping_partner = bdio._match_shipping_partner( + parsed_order["ship_to"], partner, parsed_order["chatter_msg"] + ) + vals["partner_shipping_id"] = shipping_partner.id + if parsed_order.get("order_ref"): + vals["client_order_ref"] = parsed_order["order_ref"] + return vals + + @api.model + def _prepare_create_order_line( + self, product, uom, order, import_line, price_source + ): + """the 'order' arg can be a recordset (in case of an update of a sale order) + or a dict (in case of the creation of a new sale order)""" + solo = self.env["sale.order.line"] + vals = {} + # Ensure the company is loaded before we play onchanges. + # Yes, `company_id` is related to `order_id.company_id` + # but when we call `play_onchanges` it will be empty + # w/out this precaution. + company_id = self._prepare_order_line_get_company_id(order) + vals.update( + { + "product_id": product.id, + "product_uom_qty": import_line["qty"], + "product_uom": uom.id, + "company_id": company_id, + } + ) + + if price_source == "order": + if "price_unit" not in import_line: + raise UserError( + _( + "No price is defined in the file. Please double check " + "file or select Pricelist as the source for prices." + ) + ) + vals["price_unit"] = import_line["price_unit"] + elif price_source == "pricelist": + # product_id_change is played in the inherit of create() + # of sale.order.line cf odoo/addons/sale/models/sale.py + # but it is not enough: we also need to play _onchange_discount() + # to have the right discount for pricelist + vals["order_id"] = order + vals.pop("order_id") + + # Handle additional fields dynamically if available. + # If a field is added to a record and its value is injected by a parser + # you won't have to override `_prepare_create_order_line` + # to let it propagate. + for k, v in import_line.items(): + if k not in vals and k in solo._fields: + vals[k] = v + + defaults = self.env.context.get("sale_order_import__default_vals", {}).get( + "lines", {} + ) + vals.update(defaults) + return vals + + def _prepare_order_line_get_company_id(self, order): + company_id = self.env.company.id + if isinstance(order, models.Model): + company_id = order.company_id.id + elif isinstance(order, dict): + company_id = order.get("company_id") or company_id + return company_id + + # TODO: add tests + @api.model + def update_order_lines(self, parsed_order, order, price_source): + chatter = parsed_order["chatter_msg"] + solo = self.env["sale.order.line"] + dpo = self.env["decimal.precision"] + bdio = self.env["business.document.import"] + qty_prec = dpo.precision_get("Product UoS") + price_prec = dpo.precision_get("Product Price") + existing_lines = [] + for oline in order.order_line: + # compute price unit without tax + price_unit = 0.0 + if not float_is_zero(oline.product_uom_qty, precision_digits=qty_prec): + qty = float(oline.product_uom_qty) + price_unit = oline.price_subtotal / qty + existing_lines.append( + { + "product": oline.product_id or False, + "name": oline.name, + "qty": oline.product_uom_qty, + "uom": oline.product_uom, + "line": oline, + "price_unit": price_unit, + } + ) + compare_res = bdio.compare_lines( + existing_lines, + parsed_order["lines"], + chatter, + qty_precision=qty_prec, + seller=False, + ) + # NOW, we start to write/delete/create the order lines + for oline, cdict in compare_res["to_update"].items(): + write_vals = {} + # TODO: add support for price_source == order + if cdict.get("qty"): + chatter.append( + _( + "The quantity has been updated on the order line " + "with product '%(product)s' from %(qty0)s to %(qty1)s %(uom)s", + product=oline.product_id.display_name, + qty0=cdict["qty"][0], + qty1=cdict["qty"][1], + uom=oline.product_uom.name, + ) + ) + write_vals["product_uom_qty"] = cdict["qty"][1] + if price_source != "order": + new_price_unit = order.pricelist_id.with_context( + date=order.date_order, uom=oline.product_uom.id + )._price_get(oline.product_id, write_vals["product_uom_qty"],)[ + order.pricelist_id.id + ] + if float_compare( + new_price_unit, oline.price_unit, precision_digits=price_prec + ): + chatter.append( + _( + "The unit price has been updated on the order " + "line with product '%(product)s' from %(old)s to " + "%(new)s %(currency)s", + product=oline.product_id.display_name, + old=oline.price_unit, + new=new_price_unit, + currency=order.currency_id.name, + ) + ) + write_vals["price_unit"] = new_price_unit + write_vals.update(self._prepare_update_order_line_vals(cdict)) + if write_vals: + oline.write(write_vals) + if compare_res["to_remove"]: + to_remove_label = [ + f"{line.product_uom_qty} {line.product_uom.name} " + f"x {line.product_id.name}" + for line in compare_res["to_remove"] + ] + chatter.append( + _( + "%(orders)s order line(s) deleted: %(label)s", + orders=len(compare_res["to_remove"]), + label=", ".join(to_remove_label), + ) + ) + compare_res["to_remove"].unlink() + if compare_res["to_add"]: + to_create_label = [] + for add in compare_res["to_add"]: + line_vals = self._prepare_create_order_line( + add["product"], add["uom"], order, add["import_line"], price_source + ) + line_vals["order_id"] = order.id + new_line = solo.create(line_vals) + to_create_label.append( + f"{new_line.product_uom_qty} {new_line.product_uom.name} " + f"x {new_line.name}" + ) + chatter.append( + _( + "%(orders)s new order line(s) created: %(label)s", + orders=len(compare_res["to_add"]), + label=", ".join(to_create_label), + ) + ) + return True + + def _prepare_update_order_line_vals(self, change_dict): + # Allows other module to update some fields on the line + return {} + + def update_order_button(self): + self.ensure_one() + bdio = self.env["business.document.import"] + order = self.sale_id + if not order: + raise UserError(_("You must select a quotation to update.")) + parsed_order = self.parse_order( + b64decode(self.order_file), self.order_filename, self.partner_id + ) + currency = bdio._match_currency( + parsed_order.get("currency"), parsed_order["chatter_msg"] + ) + if currency != order.currency_id: + raise UserError( + _( + "The currency of the imported order (%(old)s) is different from " + "the currency of the existing order (%(new)s)", + old=currency.name, + new=order.currency_id.name, + ) + ) + vals = self._prepare_update_order_vals( + parsed_order, order, self.commercial_partner_id + ) + if vals: + order.write(vals) + self.update_order_lines(parsed_order, order, self.price_source) + bdio.post_create_or_update(parsed_order, order) + logger.info( + "Quotation ID %d updated via import of file %s", + order.id, + self.order_filename, + ) + order.message_post( + body=_( + "This quotation has been updated automatically via the import of " + "file %s" + ) + % self.order_filename + ) + action = self.env["ir.actions.act_window"]._for_xml_id("sale.action_quotations") + action.update( + { + "view_mode": "form,tree,calendar,graph", + "views": False, + "view_id": False, + "res_id": order.id, + } + ) + return action diff --git a/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/wizard/sale_order_import_view.xml b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/wizard/sale_order_import_view.xml new file mode 100644 index 0000000..b8f0286 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import/sale_order_import/wizard/sale_order_import_view.xml @@ -0,0 +1,106 @@ + + + + + sale.order.import.form + sale.order.import + +
      + + + + +
      +

      Upload below the customer order or request for quotation as XML or PDF file. When you click on the Import button:

      +
        +
      1. If it is an XML file, Odoo will parse it if the module that adds support for this XML format is installed. For the Universal Business Language format (UBL), you should install the module sale_order_import_ubl.
      2. +
      3. If it is a PDF file, Odoo will try to find an XML file in the attachments of the PDF file and then use this XML file to create the quotation.
      4. +
      +
      +
      + +
      +

      Some quotations have been found for this customer ; one of them may correspond to the order or RFQ that you are importing. You can either select an existing quotation to update or create a new one.

      +
      +
      + + + + + + + + + + + + + + + +
      +
      +
      +
      +
      + + Import RFQ or Order + sale.order.import + form + new + {'sale_order_show_amount': True} + + +
      diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/README.md b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/README.md new file mode 100644 index 0000000..cae5a94 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/README.md @@ -0,0 +1,47 @@ +# Import Business Document EDIFACT/D96A Order + +Odoo addon: sale_order_import_edifact + +## Installation + +```bash +pip install odoo-bringout-oca-edi-framework-sale_order_import_edifact +``` + +## Dependencies + +This addon depends on: +- sale_management +- partner_identification_gln +- base_edifact +- sale_order_import + +## Manifest Information + +- **Name**: Import Business Document EDIFACT/D96A Order +- **Version**: 16.0.1.1.0 +- **Category**: Sales Management +- **License**: AGPL-3 +- **Installable**: False + +## Source + +Based on [OCA/edi-framework](https://github.com/OCA/edi-framework) branch 16.0, addon `sale_order_import_edifact`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/ARCHITECTURE.md new file mode 100644 index 0000000..9b230ff --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Sale_order_import_edifact Module - sale_order_import_edifact + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/CONFIGURATION.md new file mode 100644 index 0000000..fc28320 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for sale_order_import_edifact. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/DEPENDENCIES.md new file mode 100644 index 0000000..0d0b087 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/DEPENDENCIES.md @@ -0,0 +1,8 @@ +# Dependencies + +This addon depends on: + +- [sale_management](../../odoo-bringout-oca-ocb-sale_management) +- partner_identification_gln +- [base_edifact](../../odoo-bringout-oca-edi-base_edifact) +- [sale_order_import](../../odoo-bringout-oca-edi-framework-sale_order_import) diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/FAQ.md b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/FAQ.md new file mode 100644 index 0000000..61b0679 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon sale_order_import_edifact or install in UI. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/INSTALL.md b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/INSTALL.md new file mode 100644 index 0000000..b7b0698 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-framework-sale_order_import_edifact" +# or +uv pip install odoo-bringout-oca-edi-framework-sale_order_import_edifact" +``` diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/MODELS.md b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/MODELS.md new file mode 100644 index 0000000..76ecaea --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in sale_order_import_edifact. + +```mermaid +classDiagram + class business_document_import +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/OVERVIEW.md b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/OVERVIEW.md new file mode 100644 index 0000000..b729c0e --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: sale_order_import_edifact. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon sale_order_import_edifact +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/REPORTS.md b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/SECURITY.md b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/USAGE.md b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/USAGE.md new file mode 100644 index 0000000..37e9a23 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_order_import_edifact +``` diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/WIZARDS.md b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/WIZARDS.md new file mode 100644 index 0000000..2f067e2 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/doc/WIZARDS.md @@ -0,0 +1,8 @@ +# Wizards + +Transient models exposed as UI wizards in sale_order_import_edifact. + +```mermaid +classDiagram + class SaleOrderImport +``` diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/pyproject.toml b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/pyproject.toml new file mode 100644 index 0000000..ae962c3 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/pyproject.toml @@ -0,0 +1,45 @@ +[project] +name = "odoo-bringout-oca-edi-framework-sale_order_import_edifact" +version = "16.0.0" +description = "Import Business Document EDIFACT/D96A Order - EDIFACT/D96A Order" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-framework-sale_management>=16.0.0", + "odoo-bringout-oca-edi-framework-partner_identification_gln>=16.0.0", + "odoo-bringout-oca-edi-framework-base_edifact>=16.0.0", + "odoo-bringout-oca-edi-framework-sale_order_import>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["sale_order_import_edifact"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/README.rst b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/README.rst new file mode 100644 index 0000000..b4c0f65 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/README.rst @@ -0,0 +1,137 @@ +=========================================== +Import Business Document EDIFACT/D96A Order +=========================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:73a00474d97ec5b99974450168fa2e4e38572a70c95790882f1a5f2fe60d517a + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png + :target: https://odoo-community.org/page/development-status + :alt: Alpha +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/sale_order_import_edifact + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-sale_order_import_edifact + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +UN/EDIFACT + United Nations rules for Elec­tronic Data Interchange for Administration, Commerce and Transport + +This module plugs EDIFACT/D96A ORDER in sale_order_import process. + +https://www.stedi.com/edi/edifact/D96A/messages/ORDERS + +.. IMPORTANT:: + This is an alpha version, the data model and design can change at any time without warning. + Only for development or testing purpose, do not use in production. + `More details on development status `_ + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + + +This module struggles with EDIFACT format, if you need X12 format you will need something like sale_order_import_x12 module. + +Regardless format, a concret document should need a concret specification nammed release. For example Amazon uses "D96A" specification. + +See + +Known issues / Roadmap +====================== + +* Move the previews button feature to the base module + +Changelog +========= + +.. The change log. The goal of this file is to help readers + understand changes between versions. The primary audience is + end users and integrators. Purely technical changes such as + code refactoring must not be mentioned here. + + This file may contain ONE level of section titles, underlined + with the ~ (tilde) character. Other section markers are + forbidden and will likely break the structure of the README.rst + or other documents where this fragment is included. + +14.0.1.0.0 (2023-06-07) +~~~~~~~~~~~~~~~~~~~~~~~ + +* [14.0][ADD] sale_order_import_edifact & base_edifact. + (`#779 `_) + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* ALBA Software +* Camptocamp + +Contributors +~~~~~~~~~~~~ + +* Rafa Morant (https://www.albasoft.com) +* Marc Poch +* Duong (Tran Quoc) +* Simone Orsi + +Other credits +~~~~~~~~~~~~~ + +The migration of this module from 14.0 to 16.0 was financially supported by Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-rmorant| image:: https://github.com/rmorant.png?size=40px + :target: https://github.com/rmorant + :alt: rmorant + +Current `maintainer `__: + +|maintainer-rmorant| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/__init__.py b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/__init__.py new file mode 100644 index 0000000..9b42961 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/__init__.py @@ -0,0 +1,2 @@ +from . import models +from . import wizard diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/__manifest__.py b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/__manifest__.py new file mode 100644 index 0000000..dabcdce --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/__manifest__.py @@ -0,0 +1,24 @@ +# Copyright 2023 ALBA Software S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) + +{ + "name": "Import Business Document EDIFACT/D96A Order", + "summary": "EDIFACT/D96A Order", + "version": "16.0.1.1.0", + "development_status": "Alpha", + "category": "Sales Management", + "website": "https://github.com/OCA/edi", + "author": "ALBA Software, Camptocamp, Odoo Community Association (OCA)", + "maintainers": ["rmorant"], + "license": "AGPL-3", + "depends": [ + "sale_management", + "partner_identification_gln", + "base_edifact", + "sale_order_import", + ], + "data": [ + "wizard/sale_order_import_view.xml", + ], + "demo": ["demo/demo_data.xml"], +} diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/demo/demo_data.xml b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/demo/demo_data.xml new file mode 100644 index 0000000..54888b6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/demo/demo_data.xml @@ -0,0 +1,116 @@ + + + + + AMATEST EU SARL + + + 38 Avenue J.F. Kennedy + 1234 + Luxembourg + + + + AMATEST EU (TST) + + 80 Bojsdoeisn + 4321 + Gliwice + + + delivery + + + AMATEST Invoice + + Accountant + + invoice + + + + + + + 5450534000017 + + + + + 5450534008617 + + + + + 5450534008143 + + + + EDIFACT Demo 1 + + consu + edifact1 + + 9783898307529 + + + EDIFACT Demo 2 + + consu + edifac2 + + 9783898307538 + + + EDIFACT Demo 3 + + consu + edifact + + 9783898307645 + + + Product1 + + consu + 1276 + + + + Product2 + + consu + 46630 + + + + Product3 + + consu + 98891 75 + + + + Product4 + + consu + 37230 + + + + Product5 + + consu + 1076 + + + diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/bs.po b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/bs.po new file mode 100644 index 0000000..caf0b59 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/bs.po @@ -0,0 +1,149 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/wizard/sale_order_import.py:0 +#, python-format +msgid "%s document is not a Sale Order document" +msgstr "%s dokument nije dokument prodajnog naloga" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Zajedničke metode za uvoz poslovnih dokumenata" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "Tip dokumenta" + +#. module: sale_order_import_edifact +#: model:ir.model.fields.selection,name:sale_order_import_edifact.selection__sale_order_import__import_type__edifact +msgid "EDIFACT" +msgstr "EDIFACT" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact1_dm_product_template +msgid "EDIFACT Demo 1" +msgstr "EDIFACT Demo 1" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact2_dm_product_template +msgid "EDIFACT Demo 2" +msgstr "EDIFACT Demo 2" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact3_dm_product_template +msgid "EDIFACT Demo 3" +msgstr "EDIFACT Demo 3" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__edifact_ok +msgid "Edifact Ok" +msgstr "Edifact u redu" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__file_ext +msgid "File Ext" +msgstr "Ekstenzija datoteke" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Import Type" +msgstr "Tip uvoza" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "Json Data Preview" +msgstr "Pregled JSON podataka" + +#. module: sale_order_import_edifact +#: model_terms:ir.ui.view,arch_db:sale_order_import_edifact.sale_order_import_form +msgid "Parse" +msgstr "Parsiraj" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"Partner GLN Code: %(party)s not found in order file: '%(file)s' from VAT " +"registration number '%(vat)s'." +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact4_dm_product_template +msgid "Product1" +msgstr "Proizvod1" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact5_dm_product_template +msgid "Product2" +msgstr "Proizvod2" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact6_dm_product_template +msgid "Product3" +msgstr "Proizvod3" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact7_dm_product_template +msgid "Product4" +msgstr "Proizvod4" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact8_dm_product_template +msgid "Product5" +msgstr "Proizvod5" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__release +msgid "Release" +msgstr "Verzija" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "Uvoz prodajnog naloga iz datoteka" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "Odaberite tip koji želite uvoziti" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "Unknown" +msgstr "Nepoznat" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "" +"Used by the btn `button_parse_order_preview` to preview data before " +"importing" +msgstr "" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"partner_identification_gln module should be installed with a xmlid: " +"partner_identification_gln_number_category" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/es.po b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/es.po new file mode 100644 index 0000000..bf41116 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/es.po @@ -0,0 +1,158 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-11-26 20:35+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/wizard/sale_order_import.py:0 +#, python-format +msgid "%s document is not a Sale Order document" +msgstr "El documento %s no es un documento de Orden de Venta" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Métodos habituales para importar documentos comerciales" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "Tipo de documento" + +#. module: sale_order_import_edifact +#: model:ir.model.fields.selection,name:sale_order_import_edifact.selection__sale_order_import__import_type__edifact +msgid "EDIFACT" +msgstr "FACTUREDI" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact1_dm_product_template +msgid "EDIFACT Demo 1" +msgstr "EDIFACT Demo 1" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact2_dm_product_template +msgid "EDIFACT Demo 2" +msgstr "EDIFACT Demo 2" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact3_dm_product_template +msgid "EDIFACT Demo 3" +msgstr "EDIFACT Demo 3" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__edifact_ok +msgid "Edifact Ok" +msgstr "Edifact Ok" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__file_ext +msgid "File Ext" +msgstr "Archivo Ext" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Import Type" +msgstr "Tipo de Importación" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "Json Data Preview" +msgstr "Vista Preliminar de Datos Json" + +#. module: sale_order_import_edifact +#: model_terms:ir.ui.view,arch_db:sale_order_import_edifact.sale_order_import_form +msgid "Parse" +msgstr "Analice" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"Partner GLN Code: %(party)s not found in order file: '%(file)s' from VAT " +"registration number '%(vat)s'." +msgstr "" +"Código GLN de socio: %(party)s no se encuentra en el fichero de pedidos: " +"%(file)s' del número de registro de IVA '%(vat)s'." + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact4_dm_product_template +msgid "Product1" +msgstr "Producto1" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact5_dm_product_template +msgid "Product2" +msgstr "Producto2" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact6_dm_product_template +msgid "Product3" +msgstr "Producto3" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact7_dm_product_template +msgid "Product4" +msgstr "Producto4" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact8_dm_product_template +msgid "Product5" +msgstr "Producto5" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__release +msgid "Release" +msgstr "Liberar" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "Importación de Órdenes de Venta desde Archivos" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "Seleccione el tipo que desea importar" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "Unknown" +msgstr "Desconocido" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "" +"Used by the btn `button_parse_order_preview` to preview data before " +"importing" +msgstr "" +"Utilizado por el btn `button_parse_order_preview` para previsualizar los " +"datos antes de importarlos" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"partner_identification_gln module should be installed with a xmlid: " +"partner_identification_gln_number_category" +msgstr "" +"El módulo partner_identification_gln debe instalarse con un xmlid: " +"partner_identification_gln_number_category" diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/fr.po b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/fr.po new file mode 100644 index 0000000..e1f4f13 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/fr.po @@ -0,0 +1,158 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-01 15:34+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/wizard/sale_order_import.py:0 +#, python-format +msgid "%s document is not a Sale Order document" +msgstr "%s document n'est pas un bon de commande" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Méthode générique pour l'importation de documents de type business" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "Type de document" + +#. module: sale_order_import_edifact +#: model:ir.model.fields.selection,name:sale_order_import_edifact.selection__sale_order_import__import_type__edifact +msgid "EDIFACT" +msgstr "EDIFACT" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact1_dm_product_template +msgid "EDIFACT Demo 1" +msgstr "EDIFACT Demo 1" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact2_dm_product_template +msgid "EDIFACT Demo 2" +msgstr "EDIFACT Démo 2" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact3_dm_product_template +msgid "EDIFACT Demo 3" +msgstr "EDIFACT Démo 3" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__edifact_ok +msgid "Edifact Ok" +msgstr "OK Edifact" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__file_ext +msgid "File Ext" +msgstr "Extension de fichier" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Import Type" +msgstr "Type d'importation" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "Json Data Preview" +msgstr "Prévisualisation données Json" + +#. module: sale_order_import_edifact +#: model_terms:ir.ui.view,arch_db:sale_order_import_edifact.sale_order_import_form +msgid "Parse" +msgstr "Analyser" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"Partner GLN Code: %(party)s not found in order file: '%(file)s' from VAT " +"registration number '%(vat)s'." +msgstr "" +"Le numéro d'adhérent GLN : %(party)s n'a pas été trouvé dans le document de " +"commande : '%(file)s' à partir du numéro TVA '%(vat)s'." + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact4_dm_product_template +msgid "Product1" +msgstr "Article1" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact5_dm_product_template +msgid "Product2" +msgstr "Article2" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact6_dm_product_template +msgid "Product3" +msgstr "Article3" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact7_dm_product_template +msgid "Product4" +msgstr "Article4" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact8_dm_product_template +msgid "Product5" +msgstr "Article5" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__release +msgid "Release" +msgstr "Libérer" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "Importer la commande client à partir des fichiers" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "Sélectionner le type d'importation souhaité" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "Unknown" +msgstr "Inconnu" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "" +"Used by the btn `button_parse_order_preview` to preview data before " +"importing" +msgstr "" +"Est utilisé par le bouton `button_parse_order_preview` afin de prévisualiser " +"avant d'importer les données" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"partner_identification_gln module should be installed with a xmlid: " +"partner_identification_gln_number_category" +msgstr "" +"le module partner_identification_gln module devrait être installé avec un " +"xmlid: partner_identification_gln_number_category" diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/it.po b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/it.po new file mode 100644 index 0000000..2404555 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/it.po @@ -0,0 +1,158 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-23 12:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/wizard/sale_order_import.py:0 +#, python-format +msgid "%s document is not a Sale Order document" +msgstr "Il documento %s non è un documento ordine di vendita" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Metodi comuni per l'importazione di documenti di lavoro" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "Tipo documento" + +#. module: sale_order_import_edifact +#: model:ir.model.fields.selection,name:sale_order_import_edifact.selection__sale_order_import__import_type__edifact +msgid "EDIFACT" +msgstr "EDIFACT" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact1_dm_product_template +msgid "EDIFACT Demo 1" +msgstr "Demo 1 EDIFACT" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact2_dm_product_template +msgid "EDIFACT Demo 2" +msgstr "Demo 2 EDIFACT" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact3_dm_product_template +msgid "EDIFACT Demo 3" +msgstr "Demo 3 EDIFACT" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__edifact_ok +msgid "Edifact Ok" +msgstr "EDIFACT OK" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__file_ext +msgid "File Ext" +msgstr "Ext file" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Import Type" +msgstr "Tipo importazione" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "Json Data Preview" +msgstr "Anteprima dati JSON" + +#. module: sale_order_import_edifact +#: model_terms:ir.ui.view,arch_db:sale_order_import_edifact.sale_order_import_form +msgid "Parse" +msgstr "Analizza" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"Partner GLN Code: %(party)s not found in order file: '%(file)s' from VAT " +"registration number '%(vat)s'." +msgstr "" +"Codice partner GLN: %(party)s non trovato nel file ordine: '%(file)s' per " +"registrazione IVA numero '%(vat)s'." + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact4_dm_product_template +msgid "Product1" +msgstr "Prodotto1" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact5_dm_product_template +msgid "Product2" +msgstr "Prodotto2" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact6_dm_product_template +msgid "Product3" +msgstr "Prodotto3" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact7_dm_product_template +msgid "Product4" +msgstr "Prodotto4" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact8_dm_product_template +msgid "Product5" +msgstr "Prodotto5" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__release +msgid "Release" +msgstr "Rilascio" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "Importazione ordine di vendita da file" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "Selezionare un tipo che si vuole importare" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "Unknown" +msgstr "Sconosciuto" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "" +"Used by the btn `button_parse_order_preview` to preview data before " +"importing" +msgstr "" +"Utilizzato dal pulsante `button_parse_order_preview` per anteprima data " +"prima dell'importazione" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"partner_identification_gln module should be installed with a xmlid: " +"partner_identification_gln_number_category" +msgstr "" +"Il modulo partner_identification_gln deve essere installato con un xmlid: " +"partner_identification_gln_number_category" diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/sale_order_import_edifact.pot b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/sale_order_import_edifact.pot new file mode 100644 index 0000000..58a2fea --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/i18n/sale_order_import_edifact.pot @@ -0,0 +1,149 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/wizard/sale_order_import.py:0 +#, python-format +msgid "%s document is not a Sale Order document" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_business_document_import +msgid "Common methods to import business documents" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields.selection,name:sale_order_import_edifact.selection__sale_order_import__import_type__edifact +msgid "EDIFACT" +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact1_dm_product_template +msgid "EDIFACT Demo 1" +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact2_dm_product_template +msgid "EDIFACT Demo 2" +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact3_dm_product_template +msgid "EDIFACT Demo 3" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__edifact_ok +msgid "Edifact Ok" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__file_ext +msgid "File Ext" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Import Type" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "Json Data Preview" +msgstr "" + +#. module: sale_order_import_edifact +#: model_terms:ir.ui.view,arch_db:sale_order_import_edifact.sale_order_import_form +msgid "Parse" +msgstr "" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"Partner GLN Code: %(party)s not found in order file: '%(file)s' from VAT " +"registration number '%(vat)s'." +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact4_dm_product_template +msgid "Product1" +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact5_dm_product_template +msgid "Product2" +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact6_dm_product_template +msgid "Product3" +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact7_dm_product_template +msgid "Product4" +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact8_dm_product_template +msgid "Product5" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__release +msgid "Release" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "Unknown" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "" +"Used by the btn `button_parse_order_preview` to preview data before " +"importing" +msgstr "" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"partner_identification_gln module should be installed with a xmlid: " +"partner_identification_gln_number_category" +msgstr "" diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/models/__init__.py b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/models/__init__.py new file mode 100644 index 0000000..d695bc5 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/models/__init__.py @@ -0,0 +1 @@ +from . import business_document_import diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/models/business_document_import.py b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/models/business_document_import.py new file mode 100644 index 0000000..d79ad3c --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/models/business_document_import.py @@ -0,0 +1,57 @@ +# Copyright 2019 PlanetaTIC - Marc Poch +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import _, api, exceptions, models + + +class BusinessDocumentImport(models.AbstractModel): + _inherit = "business.document.import" + + # TODO: refactor code in partner_identification_import and drop this one + @api.model + def _hook_match_partner(self, partner_dict, chatter_msg, domain, order): + """ + 2 types + partner_dict = {'gln':""} + partner_dict = {'partner': {'gln':""}, 'address':{'country_code':"ES",...}} + """ + partner = partner_dict.get("partner", partner_dict) + partner_dict.get("address", False) + if not partner.get("gln"): + return super()._hook_match_partner(partner_dict, chatter_msg, domain, order) + party_id = partner["gln"] + + partner_id_category = self.env.ref( + "partner_identification_gln.partner_identification_gln_number_category" + ) + if not partner_id_category: + raise exceptions.UserError( + _( + "partner_identification_gln module should be installed with a xmlid: " + "partner_identification_gln_number_category" + ) + ) + id_number = self.env["res.partner.id_number"].search( + [("category_id", "=", int(partner_id_category)), ("name", "=", party_id)], + limit=1, + ) + if not id_number: + ctx = partner.get( + "edi_ctx", {"order_filename": _("Unknown"), "rff_va": _("Unknown")} + ) + raise exceptions.UserError( + _( + "Partner GLN Code: %(party)s not found in order file: '%(file)s' " + "from VAT registration number '%(vat)s'.", + party=party_id, + file=ctx.get("order_filename"), + vat=ctx.get("rff_va"), + ) + ) + + return id_number.partner_id + + # @api.model + # def post_create_or_update(self, parsed_dict, record, doc_filename=None): + # if 'origin_exchange_record_id' in record.fields_get(): + # record.origin_exchange_record_id = diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/CONFIGURE.rst b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/CONFIGURE.rst new file mode 100644 index 0000000..89cd9f6 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/CONFIGURE.rst @@ -0,0 +1,6 @@ + +This module struggles with EDIFACT format, if you need X12 format you will need something like sale_order_import_x12 module. + +Regardless format, a concret document should need a concret specification nammed release. For example Amazon uses "D96A" specification. + +See diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..ebb2469 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Rafa Morant (https://www.albasoft.com) +* Marc Poch +* Duong (Tran Quoc) +* Simone Orsi diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/CREDITS.rst b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/CREDITS.rst new file mode 100644 index 0000000..a5c8f66 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/CREDITS.rst @@ -0,0 +1 @@ +The migration of this module from 14.0 to 16.0 was financially supported by Camptocamp diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/DESCRIPTION.rst new file mode 100644 index 0000000..0874269 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/DESCRIPTION.rst @@ -0,0 +1,6 @@ +UN/EDIFACT + United Nations rules for Elec­tronic Data Interchange for Administration, Commerce and Transport + +This module plugs EDIFACT/D96A ORDER in sale_order_import process. + +https://www.stedi.com/edi/edifact/D96A/messages/ORDERS diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/HISTORY.rst b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/HISTORY.rst new file mode 100644 index 0000000..6d08184 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/HISTORY.rst @@ -0,0 +1,15 @@ +.. The change log. The goal of this file is to help readers + understand changes between versions. The primary audience is + end users and integrators. Purely technical changes such as + code refactoring must not be mentioned here. + + This file may contain ONE level of section titles, underlined + with the ~ (tilde) character. Other section markers are + forbidden and will likely break the structure of the README.rst + or other documents where this fragment is included. + +14.0.1.0.0 (2023-06-07) +~~~~~~~~~~~~~~~~~~~~~~~ + +* [14.0][ADD] sale_order_import_edifact & base_edifact. + (`#779 `_) diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/ROADMAP.rst b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/ROADMAP.rst new file mode 100644 index 0000000..41d2ef1 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/readme/ROADMAP.rst @@ -0,0 +1 @@ +* Move the previews button feature to the base module diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/static/description/icon.png b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/static/description/icon.svg b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/static/description/icon.svg new file mode 100644 index 0000000..a7a26d0 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/static/description/icon.svg @@ -0,0 +1,79 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/static/description/index.html b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/static/description/index.html new file mode 100644 index 0000000..33489be --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/static/description/index.html @@ -0,0 +1,479 @@ + + + + + +Import Business Document EDIFACT/D96A Order + + + +
      +

      Import Business Document EDIFACT/D96A Order

      + + +

      Alpha License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +
      +
      UN/EDIFACT
      +
      United Nations rules for Elec­tronic Data Interchange for Administration, Commerce and Transport
      +
      +

      This module plugs EDIFACT/D96A ORDER in sale_order_import process.

      +

      https://www.stedi.com/edi/edifact/D96A/messages/ORDERS

      +
      +

      Important

      +

      This is an alpha version, the data model and design can change at any time without warning. +Only for development or testing purpose, do not use in production. +More details on development status

      +
      +

      Table of contents

      + +
      +

      Configuration

      +

      This module struggles with EDIFACT format, if you need X12 format you will need something like sale_order_import_x12 module.

      +

      Regardless format, a concret document should need a concret specification nammed release. For example Amazon uses “D96A” specification.

      +

      See <https://www.stedi.com/edi/edifact>

      +
      +
      +

      Known issues / Roadmap

      +
        +
      • Move the previews button feature to the base module
      • +
      +
      +
      +

      Changelog

      + +
      +

      14.0.1.0.0 (2023-06-07)

      +
        +
      • [14.0][ADD] sale_order_import_edifact & base_edifact. +(#779)
      • +
      +
      +
      +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • ALBA Software
      • +
      • Camptocamp
      • +
      +
      + +
      +

      Other credits

      +

      The migration of this module from 14.0 to 16.0 was financially supported by Camptocamp

      +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      +Odoo Community Association +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      Current maintainer:

      +

      rmorant

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/tests/__init__.py b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/tests/__init__.py new file mode 100644 index 0000000..90d50ce --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/tests/__init__.py @@ -0,0 +1 @@ +from . import test_edifact_order_import diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/tests/common.py b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/tests/common.py new file mode 100644 index 0000000..054da35 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/tests/common.py @@ -0,0 +1,92 @@ +# Copyright 2016 Akretion +# @author: Alexis de Lattre ) +# Copyright 2022 Camptocamp +# @author: Simone Orsi +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from functools import partial + +from odoo.tools import DotDict, file_open + + +def _get_file_content(filename): + path = "base_edifact/tests/files/" + filename + with file_open(path, "rb") as fd: + return fd.read() + + +def get_test_data(env): + ref = env.ref + return { + "Retail_EDIFACT_ORDERS_sample1.txt": DotDict( + { + "_get_content": partial( + _get_file_content, "Retail_EDIFACT_ORDERS_sample1.txt" + ), + "client_order_ref": "1AA1TEST", + "date_order": "2023-06-06", + "partner": ref("sale_order_import_edifact.partner_edi_invoiceto_dm"), + "shipping_partner": ref( + "sale_order_import_edifact.partner_edi_shipto_dm" + ), + # "invoicing_partner": ref( + # "sale_order_import_edifact.partner_edi_invoiceto_dm" + # ), + # "currency": ref("base.SEK"), + # "commitment_date": "", + "products": ref("sale_order_import_edifact.product_product_edifact1_dm") + + ref("sale_order_import_edifact.product_product_edifact2_dm") + + ref("sale_order_import_edifact.product_product_edifact3_dm"), + } + ) + } + + +def get_test_data_no_ean_in_lin(env): + ref = env.ref + return { + "test_orders_-_no_ean_in_LIN_segments.txt": DotDict( + { + "_get_content": partial( + _get_file_content, "test_orders_-_no_ean_in_LIN_segments.txt" + ), + "client_order_ref": "467819", + "date_order": "2023-03-20", + "commitment_date": "2023-03-22 00:00:00", + "partner": ref("sale_order_import_edifact.partner_edi_shipto_dm"), + "shipping_partner": ref( + "sale_order_import_edifact.partner_edi_shipto_dm" + ), + "products": ref("sale_order_import_edifact.product_product_edifact4_dm") + + ref("sale_order_import_edifact.product_product_edifact5_dm") + + ref("sale_order_import_edifact.product_product_edifact6_dm") + + ref("sale_order_import_edifact.product_product_edifact7_dm") + + ref("sale_order_import_edifact.product_product_edifact8_dm"), + "qty": [12.0, 24.0, 12.0, 24.0, 90.0], + } + ) + } + + +def get_test_data_no_price(env): + ref = env.ref + return { + "test_orders_-_no_PRI_segments.txt": DotDict( + { + "_get_content": partial( + _get_file_content, "test_orders_-_no_PRI_segments.txt" + ), + "client_order_ref": "COM-004017", + "date_order": "2023-03-20", + "commitment_date": "2023-03-21 00:00:00", + "partner": ref("sale_order_import_edifact.partner_edi_invoiceto_dm"), + "shipping_partner": ref( + "sale_order_import_edifact.partner_edi_shipto_dm" + ), + "products": ref("sale_order_import_edifact.product_product_edifact1_dm") + + ref("sale_order_import_edifact.product_product_edifact2_dm") + + ref("sale_order_import_edifact.product_product_edifact3_dm"), + "price": [1.0, 1.0, 1.0], + } + ) + } diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/tests/test_edifact_order_import.py b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/tests/test_edifact_order_import.py new file mode 100644 index 0000000..b78e488 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/tests/test_edifact_order_import.py @@ -0,0 +1,115 @@ +# Copyright 2023 ALBA Software S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) + +import base64 + +from odoo.tests.common import TransactionCase +from odoo.tools import mute_logger + +from .common import get_test_data, get_test_data_no_ean_in_lin, get_test_data_no_price + + +class TestEdifactOrderImport(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + + @mute_logger("odoo.addons.sale_order_import.wizard.sale_order_import") + def test_edifact_order_import(self): + tests = get_test_data(self.env) + for filename, expected in tests.items(): + edifact_file = expected._get_content() + wiz = self.env["sale.order.import"].create( + { + "import_type": "edifact", + "order_file": base64.b64encode(edifact_file), + "order_filename": filename, + } + ) + action = wiz.import_order_button() + so = self.env["sale.order"].browse(action["res_id"]) + self.assertEqual(so.partner_id, expected["partner"]) + + if expected.get("client_order_ref"): + self.assertEqual(so.client_order_ref, expected["client_order_ref"]) + + if expected.get("shipping_partner"): + self.assertEqual(so.partner_shipping_id, expected["shipping_partner"]) + if expected.get("invoicing_partner"): + self.assertEqual(so.partner_invoice_id, expected["invoicing_partner"]) + + if expected.get("products"): + expected_ids = sorted(expected["products"].ids) + self.assertEqual( + sorted(so.order_line.mapped("product_id").ids), expected_ids + ) + + @mute_logger("odoo.addons.sale_order_import.wizard.sale_order_import") + def test_edifact_order_import_no_ean_in_lin(self): + tests = get_test_data_no_ean_in_lin(self.env) + for filename, expected in tests.items(): + edifact_file = expected._get_content() + wiz = self.env["sale.order.import"].create( + { + "import_type": "edifact", + "order_file": base64.b64encode(edifact_file), + "order_filename": filename, + } + ) + action = wiz.import_order_button() + so = self.env["sale.order"].browse(action["res_id"]) + self.assertEqual(so.partner_id, expected["partner"]) + + if expected.get("commitment_date"): + self.assertEqual(str(so.commitment_date), expected["commitment_date"]) + + if expected.get("client_order_ref"): + self.assertEqual(so.client_order_ref, expected["client_order_ref"]) + + if expected.get("shipping_partner"): + self.assertEqual(so.partner_shipping_id, expected["shipping_partner"]) + + if expected.get("products"): + expected_ids = sorted(expected["products"].ids) + self.assertEqual( + sorted(so.order_line.mapped("product_id").ids), expected_ids + ) + self.assertEqual( + so.order_line.mapped("product_uom_qty"), expected["qty"] + ) + self.assertEqual( + so.order_line.mapped("name")[0], "Product1 description" + ) + + @mute_logger("odoo.addons.sale_order_import.wizard.sale_order_import") + def test_edifact_order_import_no_price(self): + tests = get_test_data_no_price(self.env) + for filename, expected in tests.items(): + edifact_file = expected._get_content() + wiz = self.env["sale.order.import"].create( + { + "import_type": "edifact", + "order_file": base64.b64encode(edifact_file), + "order_filename": filename, + } + ) + action = wiz.import_order_button() + so = self.env["sale.order"].browse(action["res_id"]) + self.assertEqual(so.partner_id, expected["partner"]) + + if expected.get("commitment_date"): + self.assertEqual(str(so.commitment_date), expected["commitment_date"]) + + if expected.get("client_order_ref"): + self.assertEqual(so.client_order_ref, expected["client_order_ref"]) + + if expected.get("shipping_partner"): + self.assertEqual(so.partner_shipping_id, expected["shipping_partner"]) + + if expected.get("products"): + expected_ids = sorted(expected["products"].ids) + self.assertEqual( + sorted(so.order_line.mapped("product_id").ids), expected_ids + ) + self.assertEqual(so.order_line.mapped("price_unit"), expected["price"]) diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/wizard/__init__.py b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/wizard/__init__.py new file mode 100644 index 0000000..e0ddf61 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/wizard/__init__.py @@ -0,0 +1 @@ +from . import sale_order_import diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/wizard/sale_order_import.py b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/wizard/sale_order_import.py new file mode 100644 index 0000000..59b8107 --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/wizard/sale_order_import.py @@ -0,0 +1,276 @@ +import json +import logging +import os +from base64 import b64decode +from collections import defaultdict + +from odoo import _, api, fields, models +from odoo.exceptions import UserError + +logger = logging.getLogger(__name__) + + +class SaleOrderImport(models.TransientModel): + _inherit = "sale.order.import" + + import_type = fields.Selection( + selection_add=[("edifact", "EDIFACT")], ondelete={"edifact": "cascade"} + ) + # Make doc_type field support for EDIFACT type + doc_type = fields.Selection(readonly=False) + # TODO: Move this feature to the base module or to an additional module. + json_data_preview = fields.Text( + help="Used by the btn `button_parse_order_preview` to preview data before importing" + ) + edifact_ok = fields.Boolean(compute="_compute_edifact_ok") + # Techincal fields used to get the extension part of files + file_ext = fields.Char(default="txt,d96a") + # EDIFACT format release + release = fields.Char(default="d96a") + + @api.depends("order_file", "order_filename") + def _compute_edifact_ok(self): + for rec in self: + if not (rec.order_file and rec.order_filename): + rec.edifact_ok = False + continue + extensions = rec.file_ext.split(",") + path, ext = os.path.splitext(self.order_filename) + ok = ext and ext[1:] in extensions + if not ok: + ok = b64decode(self.order_file[:4]) in (b"UNA", b"UNB") + rec.edifact_ok = ok + + # TODO: Move this feature to the base module or to an additional module. + def button_parse_order_preview(self): + """ + Generate a preview of the data before importing. + + This method is called by the button to take a quick look at the pydifact + structure ('edifact' type) and the parsed object ('order') from + the original document before importing the document. + """ + + self.ensure_one() + edifact_model = self.env["base.edifact"] + order_file_decoded = b64decode(self.order_file) + parsed_obj = dict(edifact=None, order=None) + if self.edifact_ok: + parsed_obj["edifact"] = edifact_model.pydifact_obj(order_file_decoded) + + parsed_order = self.parse_order( + order_file_decoded, self.order_filename, self.partner_id + ) + del parsed_order["attachments"] + parsed_obj["order"] = parsed_order + self.write( + { + "json_data_preview": json.dumps(parsed_obj, indent=4, default=str), + } + ) + action = self.env["ir.actions.act_window"]._for_xml_id( + "sale_order_import.sale_order_import_action" + ) + action["res_id"] = self.id + return action + + def _get_supported_types(self): + # Add more types for EDIFACT + res = super()._get_supported_types() + res.update({"edifact": ("text/plain", None)}) + return res + + @api.model + def parse_edifact_order(self, filecontent, detect_doc_type=False): + # https://github.com/nerdocs/pydifact/blob/master/pydifact/segmentcollection.py + if detect_doc_type: + if not self.edifact_ok: + return None + return self.env.context.get("default_doc_type", "rfq") + + edifact_model = self.env["base.edifact"] + interchange = edifact_model._loads_edifact(filecontent) + header = interchange.get_header_segment() + # > UNB segment: [['UNOA', '2'], ['5450534000000', '14'], + # ['8435337000003', '14'], ['230306', '0435'], '5506'] + + msg_type, msg_type_release = edifact_model._get_msg_type(interchange) + supported = ["ORDERS"] + if msg_type not in supported: + raise UserError(_("%s document is not a Sale Order document")) + + bgm = interchange.get_segment("BGM") + # Customer PO number + # BGM segment: ['220', '1LP6WZGF', '9'] + order_ref = bgm[1] + + rd = { + "doc_type": self.doc_type, + # Customer PO number + "order_ref": order_ref, + "edi_ctx": {"sender": header[1], "recipient": header[2]}, # header[1][0] + } + parties = self._prepare_edifact_parties(interchange) + order_dict = { + **rd, + **self._prepare_edifact_dates(interchange), + **self._prepare_edifact_currencies(interchange), + **parties, + } + lines = self._prepare_edifact_lines(interchange) + if lines: + order_dict["lines"] = lines + return order_dict + + @api.model + def _prepare_edifact_parties(self, interchange): + references = self._prepare_edifact_references(interchange) + parties = self._prepare_edifact_name_and_address(interchange) + if references.get("vat") and parties.get("invoice_to"): + # just for check vat + if parties["invoice_to"].get("partner"): + parties["invoice_to"]["partner"]["rff_va"] = references["vat"] + if parties.get("invoice_to") and parties["invoice_to"].get("partner"): + newpartner = parties["invoice_to"]["partner"].copy() + if parties.get("partner") and parties["partner"].get("gln"): + # To see if NAD_BY is different NAD_IV + newpartner["gln_by"] = parties["partner"]["gln"] + parties["partner"] = newpartner + # add context information + for pval in parties.values(): + partner_dict = pval.get("partner", pval) + partner_dict["edi_ctx"] = { + "order_filename": self.order_filename, + } + if references.get("vat"): + partner_dict["edi_ctx"]["rff_va"] = references["vat"] + if parties.get("company"): + parties["company"]["edi_ctx"]["vendor_code"] = references.get("vendor_code") + return parties + + @api.model + def _prepare_edifact_dates(self, interchange): + dates = defaultdict(dict) + edifact_model = self.env["base.edifact"] + for seg in interchange.get_segments("DTM"): + date_meaning_code = seg[0][0] + if date_meaning_code == "137": + dates["date"] = edifact_model.map2odoo_date(seg[0]) + elif date_meaning_code == "63": + # latest delivery date + # dates.setdefault("delivery_detail",{}) + dates["delivery_detail"]["validity_date"] = edifact_model.map2odoo_date( + seg[0] + ) + elif date_meaning_code == "2": + # Delivery date + dates["delivery_detail"][ + "commitment_date" + ] = edifact_model.map2odoo_date(seg[0]) + + return dates + + @api.model + def _prepare_edifact_references(self, interchange): + """ + RFF segment: [['CR', 'IK142']] + """ + refs = {} + for seg in interchange.get_segments("RFF"): + reference = seg[0] + reference_code = reference[0] + if reference_code == "ADE": + # ['firstorder','backorder','advantage','nyp'] + refs["account_reference"] = reference[1] + elif reference_code == "CR": + # Customer reference Number + refs["vendor_code"] = reference[1] + elif reference_code == "PD": + # Promotion Deal Number + # Number assigned by a vendor to a special promotion activity + refs["promotion_number"] = reference[1] + elif reference_code == "VA": + # Unique number assigned by the relevant tax authority to identify a + # party for use in relation to Value Added Tax (VAT). + refs["vat"] = reference[1] + + return refs + + @api.model + def _prepare_edifact_name_and_address(self, interchange): + nads = {} + edifact_model = self.env["base.edifact"] + for seg in interchange.get_segments("NAD"): + reference_code = seg[0] + if reference_code == "BY": + # NAD segment: ['BY', ['5450534001649', '', '9']] + # Customer (Buyer's GLN) + nads["partner"] = edifact_model.map2odoo_partner(seg) + elif reference_code == "SU": + # Our number of Supplier's GLN + # Can be used to check that we are not importing the order + # in the wrong company by mistake + nads["company"] = edifact_model.map2odoo_partner(seg) + elif reference_code == "DP": + # Delivery Party + nads["ship_to"] = edifact_model.map2odoo_address(seg) + elif reference_code == "IV": + # Invoice Party + nads["invoice_to"] = edifact_model.map2odoo_address(seg) + return nads + + @api.model + def _prepare_edifact_currencies(self, interchange): + currencies = {} + edifact_model = self.env["base.edifact"] + for seg in interchange.get_segments("CUX"): + usage_code = seg[0] + if usage_code == "2": + currencies["currency"] = edifact_model.map2odoo_currency(seg) + return currencies + + @api.model + def _prepare_edifact_lines(self, interchange): + edifact_model = self.env["base.edifact"] + lines = [] + pia_list = [] + qty_list = [] + pri_list = [] + imd_list = [] + + for i in interchange.get_segments("PIA"): + if i[1][1] == "SA": + pia_list.append(i) + for i in interchange.get_segments("QTY"): + if i[0][0] == "21": + qty_list.append(i) + for i in interchange.get_segments("PRI"): + pri_list.append(i) + for i in interchange.get_segments("IMD"): + if i[1] == "79": + imd_list.append(i) + + for linseg in interchange.get_segments("LIN"): + + piaseg = pia_list.pop(0) if pia_list else None + qtyseg = qty_list.pop(0) if qty_list else None + priseg = pri_list.pop(0) if pri_list else None + imdseg = imd_list.pop(0) if imd_list else None + + line = { + "sequence": int(linseg[0]), + "product": edifact_model.map2odoo_product(linseg, piaseg), + "qty": edifact_model.map2odoo_qty(qtyseg), + } + + price_unit = edifact_model.map2odoo_unit_price(priseg) + # If the product price is not provided, the price will be taken from the system + if price_unit != 0.0: + line["price_unit"] = price_unit + description = edifact_model.map2odoo_description(imdseg) + if description: + line["name"] = description + + lines.append(line) + + return lines diff --git a/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/wizard/sale_order_import_view.xml b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/wizard/sale_order_import_view.xml new file mode 100644 index 0000000..a1d1bda --- /dev/null +++ b/odoo-bringout-oca-edi-framework-sale_order_import_edifact/sale_order_import_edifact/wizard/sale_order_import_view.xml @@ -0,0 +1,34 @@ + + + + sale.order.import.form.dev + sale.order.import + + + + + {'readonly': [('import_type','!=','edifact')]} + +
      + + + +
      +
      +
      + +
      +
      +
      diff --git a/odoo-bringout-oca-edi-pdf_helper/README.md b/odoo-bringout-oca-edi-pdf_helper/README.md new file mode 100644 index 0000000..d291917 --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/README.md @@ -0,0 +1,44 @@ +# PDF Helper + +Odoo addon: pdf_helper + +## Installation + +```bash +pip install odoo-bringout-oca-edi-pdf_helper +``` + +## Dependencies + +This addon depends on: +- base + +## Manifest Information + +- **Name**: PDF Helper +- **Version**: 16.0.1.1.0 +- **Category**: Tools +- **License**: LGPL-3 +- **Installable**: False + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `pdf_helper`. + +## License + +This package maintains the original LGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-pdf_helper/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-pdf_helper/doc/ARCHITECTURE.md new file mode 100644 index 0000000..d1e239c --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Pdf_helper Module - pdf_helper + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-pdf_helper/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-pdf_helper/doc/CONFIGURATION.md new file mode 100644 index 0000000..97a6a0c --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for pdf_helper. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-pdf_helper/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-pdf_helper/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-pdf_helper/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-pdf_helper/doc/DEPENDENCIES.md new file mode 100644 index 0000000..e3a0a5c --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/doc/DEPENDENCIES.md @@ -0,0 +1,5 @@ +# Dependencies + +This addon depends on: + +- base diff --git a/odoo-bringout-oca-edi-pdf_helper/doc/FAQ.md b/odoo-bringout-oca-edi-pdf_helper/doc/FAQ.md new file mode 100644 index 0000000..943bbc8 --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon pdf_helper or install in UI. diff --git a/odoo-bringout-oca-edi-pdf_helper/doc/INSTALL.md b/odoo-bringout-oca-edi-pdf_helper/doc/INSTALL.md new file mode 100644 index 0000000..a2c67d3 --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-pdf_helper" +# or +uv pip install odoo-bringout-oca-edi-pdf_helper" +``` diff --git a/odoo-bringout-oca-edi-pdf_helper/doc/MODELS.md b/odoo-bringout-oca-edi-pdf_helper/doc/MODELS.md new file mode 100644 index 0000000..c3dcdff --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in pdf_helper. + +```mermaid +classDiagram + class pdf_helper +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-pdf_helper/doc/OVERVIEW.md b/odoo-bringout-oca-edi-pdf_helper/doc/OVERVIEW.md new file mode 100644 index 0000000..2416d18 --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: pdf_helper. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon pdf_helper +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-pdf_helper/doc/REPORTS.md b/odoo-bringout-oca-edi-pdf_helper/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-pdf_helper/doc/SECURITY.md b/odoo-bringout-oca-edi-pdf_helper/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-pdf_helper/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-pdf_helper/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-pdf_helper/doc/USAGE.md b/odoo-bringout-oca-edi-pdf_helper/doc/USAGE.md new file mode 100644 index 0000000..543ae2c --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon pdf_helper +``` diff --git a/odoo-bringout-oca-edi-pdf_helper/doc/WIZARDS.md b/odoo-bringout-oca-edi-pdf_helper/doc/WIZARDS.md new file mode 100644 index 0000000..48e790d --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/doc/WIZARDS.md @@ -0,0 +1,3 @@ +# Wizards + +This module does not include UI wizards. diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/README.rst b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/README.rst new file mode 100644 index 0000000..101f095 --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/README.rst @@ -0,0 +1,104 @@ +========== +PDF Helper +========== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:d5dc073f7cf4ac4b4ef37d3a19998beadd2bfda76fcc57b7eefceeb70f10f5e1 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/pdf_helper + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-pdf_helper + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Technical module to share PDF utils. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +Inside Odoo env:: + + res = env["pdf.helper"].pdf_get_xml_files(pdf_filecontent) + + new_pdf_filecontent = env["pdf.helper"].pdf_embed_xml(pdf_filecontent, filename, xml) + +Outside Odoo env:: + + from odoo.addons.pdf_helper.utils import PDFParser + [...] + res = PDFParser(pdf_filecontent).get_xml_files() + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Camptocamp + +Contributors +~~~~~~~~~~~~ + +* Simone Orsi +* Alexis de Lattre +* Jacques-Etienne Baudoux (BCIM) + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-simahawk| image:: https://github.com/simahawk.png?size=40px + :target: https://github.com/simahawk + :alt: simahawk +.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainers `__: + +|maintainer-simahawk| |maintainer-alexis-via| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/__init__.py b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/__manifest__.py b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/__manifest__.py new file mode 100644 index 0000000..182294d --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# TODO: move it to a simple python package under OCA umbrella? +{ + "name": "PDF Helper", + "version": "16.0.1.1.0", + "category": "Tools", + "license": "LGPL-3", + "summary": "Provides helpers to work w/ PDFs", + "author": "Camptocamp, Odoo Community Association (OCA)", + "maintainers": ["simahawk", "alexis-via"], + "website": "https://github.com/OCA/edi", + "depends": [ + "base", + ], +} diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/bs.po b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/bs.po new file mode 100644 index 0000000..ea75503 --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/bs.po @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pdf_helper +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: pdf_helper +#: model:ir.model,name:pdf_helper.model_pdf_helper +msgid "PDF Helper" +msgstr "PDF Pomoćnik" diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/es.po b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/es.po new file mode 100644 index 0000000..6fe0409 --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/es.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pdf_helper +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-08-07 11:09+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: pdf_helper +#: model:ir.model,name:pdf_helper.model_pdf_helper +msgid "PDF Helper" +msgstr "Ayudante de PDF" diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/hr.po b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/hr.po new file mode 100644 index 0000000..f1cca88 --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/hr.po @@ -0,0 +1,23 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pdf_helper +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-06-02 12:09+0000\n" +"Last-Translator: Bole \n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 4.17\n" + +#. module: pdf_helper +#: model:ir.model,name:pdf_helper.model_pdf_helper +msgid "PDF Helper" +msgstr "PDF Pomoćnik" diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/it.po b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/it.po new file mode 100644 index 0000000..8ca403f --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/it.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pdf_helper +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-13 10:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: pdf_helper +#: model:ir.model,name:pdf_helper.model_pdf_helper +msgid "PDF Helper" +msgstr "Aiuto PDF" diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/pdf_helper.pot b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/pdf_helper.pot new file mode 100644 index 0000000..636a9fe --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/i18n/pdf_helper.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pdf_helper +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: pdf_helper +#: model:ir.model,name:pdf_helper.model_pdf_helper +msgid "PDF Helper" +msgstr "" diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/models/__init__.py b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/models/__init__.py new file mode 100644 index 0000000..d533863 --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/models/__init__.py @@ -0,0 +1 @@ +from . import helper diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/models/helper.py b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/models/helper.py new file mode 100644 index 0000000..f07b925 --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/models/helper.py @@ -0,0 +1,50 @@ +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# Copyright 2023 Jacques-Etienne Baudoux (BCIM) +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +import io +import logging + +from odoo import api, models +from odoo.tools.pdf import NameObject, OdooPdfFileReader, OdooPdfFileWriter + +from ..utils import PDFParser + +_logger = logging.getLogger(__name__) + + +class PDFHelper(models.AbstractModel): + _name = "pdf.helper" + _description = "PDF Helper" + + _PDF_PARSER_KLASS = PDFParser + + @api.model + def pdf_get_xml_files(self, pdf_file): + """Extract XML attachments from pdf + + :param pdf_file: binary PDF file content + :returns: a dict like {$filename: $parsed_xml_file_obj}. + """ + parser = self._PDF_PARSER_KLASS(pdf_file) + try: + return parser.get_xml_files() + except parser.get_xml_files_swallable_exceptions() as err: + _logger.error("PDF file parsing failed: %s", str(err)) + return {} + + @api.model + def pdf_embed_xml(self, pdf_content, xml_filename, xml_string): + """Add an XML attachment in a pdf""" + with io.BytesIO(pdf_content) as reader_buffer, io.BytesIO() as new_pdf_stream: + reader = OdooPdfFileReader(reader_buffer, strict=False) + writer = OdooPdfFileWriter() + writer.cloneReaderDocumentRoot(reader) + writer.addAttachment(xml_filename, xml_string, subtype="text/xml") + # show attachments when opening PDF + writer._root_object.update( + {NameObject("/PageMode"): NameObject("/UseAttachments")} + ) + writer.write(new_pdf_stream) + return new_pdf_stream.getvalue() diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..ad925fe --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Simone Orsi +* Alexis de Lattre +* Jacques-Etienne Baudoux (BCIM) diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/readme/DESCRIPTION.rst new file mode 100644 index 0000000..ebfe3fa --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Technical module to share PDF utils. diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/readme/USAGE.rst b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/readme/USAGE.rst new file mode 100644 index 0000000..a90789e --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/readme/USAGE.rst @@ -0,0 +1,11 @@ +Inside Odoo env:: + + res = env["pdf.helper"].pdf_get_xml_files(pdf_filecontent) + + new_pdf_filecontent = env["pdf.helper"].pdf_embed_xml(pdf_filecontent, filename, xml) + +Outside Odoo env:: + + from odoo.addons.pdf_helper.utils import PDFParser + [...] + res = PDFParser(pdf_filecontent).get_xml_files() diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/static/description/icon.png b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/static/description/index.html b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/static/description/index.html new file mode 100644 index 0000000..9de119f --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/static/description/index.html @@ -0,0 +1,440 @@ + + + + + +PDF Helper + + + +
      +

      PDF Helper

      + + +

      Beta License: LGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      Technical module to share PDF utils.

      +

      Table of contents

      + +
      +

      Usage

      +

      Inside Odoo env:

      +
      +res = env["pdf.helper"].pdf_get_xml_files(pdf_filecontent)
      +
      +new_pdf_filecontent = env["pdf.helper"].pdf_embed_xml(pdf_filecontent, filename, xml)
      +
      +

      Outside Odoo env:

      +
      +from odoo.addons.pdf_helper.utils import PDFParser
      +[...]
      +res = PDFParser(pdf_filecontent).get_xml_files()
      +
      +
      +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • Camptocamp
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      +Odoo Community Association +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      Current maintainers:

      +

      simahawk alexis-via

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/tests/__init__.py b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/tests/__init__.py new file mode 100644 index 0000000..018dd86 --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/tests/__init__.py @@ -0,0 +1 @@ +from . import test_helper diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/tests/fixtures/pdf_with_xml_test.pdf b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/tests/fixtures/pdf_with_xml_test.pdf new file mode 100644 index 0000000..72dcaf7 Binary files /dev/null and b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/tests/fixtures/pdf_with_xml_test.pdf differ diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/tests/test_helper.py b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/tests/test_helper.py new file mode 100644 index 0000000..3aa0c6e --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/tests/test_helper.py @@ -0,0 +1,57 @@ +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). +import os + +from lxml import etree + +from odoo.tests import TransactionCase +from odoo.tests.case import TestCase + +from odoo.addons.pdf_helper.utils import PDFParser + + +def read_test_file(filename, mode="r"): + path = os.path.join(os.path.dirname(__file__), "fixtures", filename) + with open(path, mode) as thefile: + return thefile.read() + + +class TestPDFHelperUtils(TestCase): + def test_parse_xml(self): + pdf_content = read_test_file("pdf_with_xml_test.pdf", mode="rb") + res = PDFParser(pdf_content).get_xml_files() + fname, xml_root = tuple(res.items())[0] + self.assertEqual(fname, "factur-x.xml") + self.assertTrue(isinstance(xml_root, etree._Element)) + + +class TestPDFHelper(TransactionCase): + def test_get_xml(self): + pdf_content = read_test_file("pdf_with_xml_test.pdf", mode="rb") + res = self.env["pdf.helper"].pdf_get_xml_files(pdf_content) + fname, xml_root = tuple(res.items())[0] + self.assertEqual(fname, "factur-x.xml") + self.assertTrue(isinstance(xml_root, etree._Element)) + + def test_get_xml_fail(self): + with self.assertLogs( + "odoo.addons.pdf_helper.models.helper", level="ERROR" + ) as log_catcher: + self.env["pdf.helper"].pdf_get_xml_files(b"") + self.assertIn( + "PDF file parsing failed: Cannot read an empty file", + log_catcher.output[0], + ) + + def test_embed_xml(self): + pdf_content = read_test_file("pdf_with_xml_test.pdf", mode="rb") + filename = "test" + xml = b"test" + newpdf_content = self.env["pdf.helper"].pdf_embed_xml( + pdf_content, filename, xml + ) + attachments = self.env["pdf.helper"].pdf_get_xml_files(newpdf_content) + self.assertTrue(filename in attachments) + etree_content = attachments[filename] + self.assertEqual(xml, etree.tostring(etree_content)) diff --git a/odoo-bringout-oca-edi-pdf_helper/pdf_helper/utils.py b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/utils.py new file mode 100644 index 0000000..23ad16c --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pdf_helper/utils.py @@ -0,0 +1,48 @@ +# Copyright 2015-2021 Akretion France +# @author: Alexis de Lattre +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +import logging +from io import BytesIO +from struct import error as StructError + +from lxml import etree + +try: + from PyPDF2.errors import PdfReadError +except ImportError: + from PyPDF2.utils import PdfReadError + +from odoo.tools.pdf import OdooPdfFileReader + +_logger = logging.getLogger(__name__) + + +class PDFParser: + def __init__(self, pdf_file): + self.pdf_file = pdf_file + + def get_xml_files(self): + """Parse PDF files to extract XML content. + + :param pdf_file: binary PDF file content + :returns: a dict like {$filename: $parsed_xml_file_obj}. + """ + res = {} + with BytesIO(self.pdf_file) as buffer: + pdf_reader = OdooPdfFileReader(buffer, strict=False) + + # Process embedded files. + for xml_name, content in pdf_reader.getAttachments(): + try: + res[xml_name] = etree.fromstring(content) + except Exception: + _logger.debug("Non XML file found in PDF") + if res: + _logger.debug("Valid XML files found in PDF: %s", list(res.keys())) + return res + + def get_xml_files_swallable_exceptions(self): + return (NotImplementedError, StructError, PdfReadError) diff --git a/odoo-bringout-oca-edi-pdf_helper/pyproject.toml b/odoo-bringout-oca-edi-pdf_helper/pyproject.toml new file mode 100644 index 0000000..3446924 --- /dev/null +++ b/odoo-bringout-oca-edi-pdf_helper/pyproject.toml @@ -0,0 +1,42 @@ +[project] +name = "odoo-bringout-oca-edi-pdf_helper" +version = "16.0.0" +description = "PDF Helper - Provides helpers to work w/ PDFs" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-ocb-base>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["pdf_helper"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-sale_order_import/README.md b/odoo-bringout-oca-edi-sale_order_import/README.md new file mode 100644 index 0000000..b00e8d9 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/README.md @@ -0,0 +1,47 @@ +# Sale Order Import + +Odoo addon: sale_order_import + +## Installation + +```bash +pip install odoo-bringout-oca-edi-sale_order_import +``` + +## Dependencies + +This addon depends on: +- sale_commercial_partner +- base_business_document_import +- onchange_helper +- pdf_helper + +## Manifest Information + +- **Name**: Sale Order Import +- **Version**: 16.0.1.3.1 +- **Category**: Sales Management +- **License**: AGPL-3 +- **Installable**: True + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `sale_order_import`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-sale_order_import/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-sale_order_import/doc/ARCHITECTURE.md new file mode 100644 index 0000000..93cfb76 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Sale_order_import Module - sale_order_import + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-sale_order_import/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-sale_order_import/doc/CONFIGURATION.md new file mode 100644 index 0000000..d653970 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for sale_order_import. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-sale_order_import/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-sale_order_import/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-sale_order_import/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-sale_order_import/doc/DEPENDENCIES.md new file mode 100644 index 0000000..d267ab1 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/doc/DEPENDENCIES.md @@ -0,0 +1,8 @@ +# Dependencies + +This addon depends on: + +- [sale_commercial_partner](../../odoo-bringout-oca-sale-workflow-sale_commercial_partner) +- [base_business_document_import](../../odoo-bringout-oca-edi-base_business_document_import) +- [onchange_helper](../../odoo-bringout-oca-server-tools-onchange_helper) +- [pdf_helper](../../odoo-bringout-oca-edi-framework-pdf_helper) diff --git a/odoo-bringout-oca-edi-sale_order_import/doc/FAQ.md b/odoo-bringout-oca-edi-sale_order_import/doc/FAQ.md new file mode 100644 index 0000000..f6f87a0 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon sale_order_import or install in UI. diff --git a/odoo-bringout-oca-edi-sale_order_import/doc/INSTALL.md b/odoo-bringout-oca-edi-sale_order_import/doc/INSTALL.md new file mode 100644 index 0000000..0d0a702 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-sale_order_import" +# or +uv pip install odoo-bringout-oca-edi-sale_order_import" +``` diff --git a/odoo-bringout-oca-edi-sale_order_import/doc/MODELS.md b/odoo-bringout-oca-edi-sale_order_import/doc/MODELS.md new file mode 100644 index 0000000..4b0a79c --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in sale_order_import. + +```mermaid +classDiagram + class sale_order +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-sale_order_import/doc/OVERVIEW.md b/odoo-bringout-oca-edi-sale_order_import/doc/OVERVIEW.md new file mode 100644 index 0000000..c6c1fa0 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: sale_order_import. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon sale_order_import +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-sale_order_import/doc/REPORTS.md b/odoo-bringout-oca-edi-sale_order_import/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-sale_order_import/doc/SECURITY.md b/odoo-bringout-oca-edi-sale_order_import/doc/SECURITY.md new file mode 100644 index 0000000..c52c738 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/doc/SECURITY.md @@ -0,0 +1,34 @@ +# Security + +Access control and security definitions in sale_order_import. + +## Access Control Lists (ACLs) + +Model access permissions defined in: +- **[ir.model.access.csv](../sale_order_import/security/ir.model.access.csv)** + - 1 model access rules + +## Record Rules + +Row-level security rules defined in: + +```mermaid +graph TB + subgraph "Security Layers" + A[Users] --> B[Groups] + B --> C[Access Control Lists] + C --> D[Models] + B --> E[Record Rules] + E --> F[Individual Records] + end +``` + +Security files overview: +- **[ir.model.access.csv](../sale_order_import/security/ir.model.access.csv)** + - Model access permissions (CRUD rights) + +Notes +- Access Control Lists define which groups can access which models +- Record Rules provide row-level security (filter records by user/group) +- Security groups organize users and define permission sets +- All security is enforced at the ORM level by Odoo diff --git a/odoo-bringout-oca-edi-sale_order_import/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-sale_order_import/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-sale_order_import/doc/USAGE.md b/odoo-bringout-oca-edi-sale_order_import/doc/USAGE.md new file mode 100644 index 0000000..8fbe451 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_order_import +``` diff --git a/odoo-bringout-oca-edi-sale_order_import/doc/WIZARDS.md b/odoo-bringout-oca-edi-sale_order_import/doc/WIZARDS.md new file mode 100644 index 0000000..6e60d87 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/doc/WIZARDS.md @@ -0,0 +1,8 @@ +# Wizards + +Transient models exposed as UI wizards in sale_order_import. + +```mermaid +classDiagram + class SaleOrderImport +``` diff --git a/odoo-bringout-oca-edi-sale_order_import/pyproject.toml b/odoo-bringout-oca-edi-sale_order_import/pyproject.toml new file mode 100644 index 0000000..8a08832 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/pyproject.toml @@ -0,0 +1,45 @@ +[project] +name = "odoo-bringout-oca-edi-sale_order_import" +version = "16.0.0" +description = "Sale Order Import - Import RFQ or sale orders from files" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-sale_commercial_partner>=16.0.0", + "odoo-bringout-oca-edi-base_business_document_import>=16.0.0", + "odoo-bringout-oca-edi-onchange_helper>=16.0.0", + "odoo-bringout-oca-edi-pdf_helper>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["sale_order_import"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/README.rst b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/README.rst new file mode 100644 index 0000000..ad89ac4 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/README.rst @@ -0,0 +1,105 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +================= +Sale Order Import +================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:8e01d803e464dc07c4ec36557747613a5f3db4de2c5c712b493c596addb6ce35 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/sale_order_import + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-sale_order_import + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds support for the import of electronic RFQ or orders. This module provides the base methods to import electronic orders, and you can also plug additional formats by extending the wizard. It requires additional modules to support specific order formats: + + +* module *sale_order_import_ubl*: adds support for `Universal Business Language (UBL) `_ RFQs and orders as: + + - XML file, + - PDF file with an embedded XML file. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +This module adds a wizard in the sale menu named *Import RFQ or Order*. This wizard will propose you to select the order or RFQ file. Depending on the format of the file (XML or PDF) and the type of file (RFQ or order), it may propose you additional options. + +When you import an order, if there is a quotation in Odoo for the same customer, the wizard will propose you to either update the existing quotation or create a new order (in fact, it will create a new quotation, so that you are free to make some modifications before you click on the *Confirm Sale* button to convert the quotation to a sale order). + +Once the RFQ/order is imported, you should read the messages in the chatter of the quotation because it may contain important information about the import. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion +* Camptocamp + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre +* Dennis Sluijk +* Andrea Stirpe +* Simone Orsi +* Duong (Tran Quoc) + +Other credits +~~~~~~~~~~~~~ + +The migration of this module from 13.0 to 16.0 was financially supported by Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/__init__.py b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/__init__.py new file mode 100644 index 0000000..66596bf --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/__init__.py @@ -0,0 +1,4 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import wizard +from . import models diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/__manifest__.py b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/__manifest__.py new file mode 100644 index 0000000..dae98ea --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/__manifest__.py @@ -0,0 +1,25 @@ +# © 2016-2017 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Sale Order Import", + "version": "16.0.1.3.1", + "category": "Sales Management", + "license": "AGPL-3", + "summary": "Import RFQ or sale orders from files", + "author": "Akretion, Camptocamp, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/edi", + "depends": [ + # OCA/sale-workflow + "sale_commercial_partner", + # OCA/edi + "base_business_document_import", + # OCA/server-tools + "onchange_helper", + # TODO: this dependency should be removed + # and support for PDF import should be moved to a glue module + "pdf_helper", + ], + "data": ["security/ir.model.access.csv", "wizard/sale_order_import_view.xml"], + "installable": True, +} diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/i18n/es.po b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/i18n/es.po new file mode 100644 index 0000000..d0043b8 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/i18n/es.po @@ -0,0 +1,460 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import +# +# Translators: +# enjolras , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-12 01:43+0000\n" +"PO-Revision-Date: 2023-11-26 20:35+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/models/sale.py:0 +#: code:addons/sale_order_import/tests/test_sale_order.py:0 +#, python-format +msgid " Amount w/o tax: %(amount)s %(currency)s" +msgstr " Importe sin impuestos: %(amount)s %(currency)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s new order line(s) created: %(label)s" +msgstr "%(orders)s nueva(s) línea(s) de pedido creada(s): %(label)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s order line(s) deleted: %(label)s" +msgstr "%(orders)s línea(s) de pedido suprimida(s): %(label)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"An order of customer '%(partner)s' with reference '%(ref)s' already exists: " +"%(name)s (state: %(state)s)" +msgstr "" +"Ya existe un pedido del cliente '%(partner)s' con referencia '%(ref)s': " +"%(name)s (state: %(state)s)" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__price_source +msgid "Apply Prices From" +msgstr "Aplicar Precios Desde" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__commercial_partner_id +msgid "Commercial Entity" +msgstr "Entidad Comercial" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__confirm_order +msgid "Confirm Order" +msgstr "Confirmar Pedido" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Create New" +msgstr "Crear nuevo" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Created automatically via file import (%s)." +msgstr "Creado automáticamente a través de la importación de archivos (%s)." + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_id +msgid "Customer" +msgstr "Cliente" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__order +msgid "Customer Order" +msgstr "Pedido del cliente" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__display_name +msgid "Display Name" +msgstr "Nombre mostrado" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "Tipo de documento" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_filename +msgid "Filename" +msgstr "Archivo" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__id +msgid "ID" +msgstr "ID" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of " +"the PDF file and then use this XML file to create the quotation." +msgstr "" +"Si es un archivo PDF, Odoo tratará de encontrar un archivo XML en los " +"adjuntos del archivo PDF y luego usará este archivo XML para crear la " +"cotización." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for " +"this XML format is installed. For the" +msgstr "" +"Si es un archivo XML, Odoo lo analizará si el módulo que añade soporte para " +"este formato XML está instalado. Para los archivos" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import" +msgstr "Importar" + +#. module: sale_order_import +#: model:ir.actions.act_window,name:sale_order_import.sale_order_import_action +#: model:ir.ui.menu,name:sale_order_import.sale_order_import_menu +msgid "Import RFQ or Order" +msgstr "Importar solicitud de presupuesto o pedido" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import Sale Orders" +msgstr "Importar pedidos de venta" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__import_type +msgid "Import Type" +msgstr "Tipo de Importación" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import____last_update +msgid "Last Modified on" +msgstr "Última modificación el" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_uid +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_date +msgid "Last Updated on" +msgstr "Última actualización el" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "No data provided" +msgstr "No se han facilitado datos" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"No price is defined in the file. Please double check file or select " +"Pricelist as the source for prices." +msgstr "" +"No se ha definido ningún precio en el archivo. Compruebe el archivo o " +"seleccione Lista de precios como fuente de precios." + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__pdf +msgid "PDF" +msgstr "PDF" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Please select a valid import type before importing!" +msgstr "" +"¡Por favor, seleccione un tipo de importación válido antes de importar!" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__pricelist +msgid "Pricelist" +msgstr "Tarifa" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__sale_id +msgid "Quotation to Update" +msgstr "Presupuesto para actualizar" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__rfq +msgid "Request For Quotation" +msgstr "Solicitud de presupuesto" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_file +msgid "Request for Quotation or Order" +msgstr "Solicitud de presupuesto o pedido" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__order +msgid "Sale Order" +msgstr "Pedido de venta" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "Importación de Orden de Venta desde Ficheros" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order +msgid "Sales Order" +msgstr "Pedido de venta" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "Seleccione el tipo que desea importar" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_shipping_id +msgid "Shipping Address" +msgstr "Dirección de envío" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Some quotations have been found for this customer ; one of them may " +"correspond to the order or RFQ that you are importing. You can either select " +"an existing quotation to update or create a new one." +msgstr "" +"Se han encontrado algunos presupuestos para este cliente; uno de ellos puede " +"corresponder al pedido o petición de oferta que está importando. Puede " +"seleccionar una oferta existente para actualizarla o crear una nueva." + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__state +msgid "State" +msgstr "Estado" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The currency of the imported order (%(old)s) is different from the currency " +"of the existing order (%(new)s)" +msgstr "" +"La divisa del pedido importado ( %(old)s) es diferente de la divisa del " +"pedido existente (%(new)s)" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The customer '%(name)s' has a pricelist '%(pricelist)s' but the currency of " +"this order is '%(currency)s'." +msgstr "" +"El cliente '%(name)s' tiene una lista de precios '%(pricelist)s' pero la " +"divisa de este pedido es '%(currency)s'." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The quantity has been updated on the order line with product '%(product)s' " +"from %(qty0)s to %(qty1)s %(uom)s" +msgstr "" +"Se ha actualizado la cantidad en la línea de pedido con el producto " +"'%(product)s' de %(qty0)s a %(qty1)s %(uom)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The unit price has been updated on the order line with product '%(product)s' " +"from %(old)s to %(new)s %(currency)s" +msgstr "" +"Se ha actualizado el precio unitario en la línea de pedido con el producto " +"'%(product)s' de %(old)s a %(new)s %(currency)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "No hay ningún archivo XML incorporado en este archivo PDF." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This Import Type is not supported. Did you install the module to support " +"this type?" +msgstr "" +"Este Tipo de Importación no está admitido. ¿Has instalado el módulo para " +"admitir este tipo?" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "Este archivo no es compatible con el formato XML" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%(filename)s' is not recognized as a %(type)s file. Please check " +"the file and its extension." +msgstr "" +"Este archivo '%(filename)s' no se reconoce como un archivo %(type)s. " +"Compruebe el archivo y su extensión." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as a XML nor PDF file. Please check the " +"file and it's extension." +msgstr "" +"Este archivo '%s' no se reconoce como archivo XML ni PDF. Compruebe el " +"archivo y su extensión." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This order doesn't have any line !" +msgstr "¡Este pedido no tiene ninguna línea!" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This quotation has been updated automatically via the import of file %s" +msgstr "" +"Este presupuesto se ha actualizado automáticamente mediante la importación " +"del fichero %s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This type of XML RFQ/order is not supported. Did you install the module to " +"support this XML format?" +msgstr "" +"Este tipo de petición de oferta/pedido XML no es compatible. ¿Ha instalado " +"el módulo para admitir este formato XML?" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Universal Business Language" +msgstr "Lenguaje Comercial Universal" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Unsupported file format" +msgstr "Formato de archivo no soportado" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__update +msgid "Update" +msgstr "Actualizar" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Update Existing" +msgstr "Actualizar existente" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__order_file +msgid "" +"Upload a Request for Quotation or an Order file. Supported formats: XML and " +"PDF (PDF with an embeded XML file)." +msgstr "" +"Cargue una solicitud de presupuesto o un archivo de pedido. Formatos " +"admitidos: XML y PDF (PDF con un archivo XML incorporado)." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Upload below the customer order or request for quotation as XML or PDF file. " +"When you click on the Import button:" +msgstr "" +"Cargue a continuación el pedido del cliente o la solicitud de presupuesto " +"como archivo XML o PDF. Al hacer clic en el botón Importar:" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__xml +msgid "XML" +msgstr "XML" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "You must select a quotation to update." +msgstr "Debe seleccionar un presupuesto para actualizarlo." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"format (UBL), you should install the module sale_order_import_ubl." +msgstr "(UBL), debe instalar el módulo sale_order_import_ubl." + +#, fuzzy +#~ msgid "Csv Import" +#~ msgstr "Importar CSV" + +#~ msgid "Missing customer" +#~ msgstr "Falta cliente" + +#, fuzzy +#~ msgid "Quotation" +#~ msgstr "Presupuesto para actualizar" diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/i18n/fr.po b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/i18n/fr.po new file mode 100644 index 0000000..20499a1 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/i18n/fr.po @@ -0,0 +1,426 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-12 13:36+0000\n" +"PO-Revision-Date: 2024-11-06 16:06+0000\n" +"Last-Translator: samibc2c \n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/models/sale.py:0 +#: code:addons/sale_order_import/tests/test_sale_order.py:0 +#, python-format +msgid " Amount w/o tax: %(amount)s %(currency)s" +msgstr " Montant hors taxe: %(amount)s %(currency)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s new order line(s) created: %(label)s" +msgstr "%(orders)s nouvelle(s) ligne(s) de commande créée(s): %(label)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s order line(s) deleted: %(label)s" +msgstr "%(orders)s ligne(s) de commande supprimée(s): %(label)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"An order of customer '%(partner)s' with reference '%(ref)s' already exists: " +"%(name)s (state: %(state)s)" +msgstr "" +"Une commande avec la référence '%(ref)s' existe déjà pour le client " +"'%(partner)s': %(name)s (état: %(state)s)" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__price_source +msgid "Apply Prices From" +msgstr "Appliquer les prix à partir de" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Cancel" +msgstr "Annuler" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__commercial_partner_id +msgid "Commercial Entity" +msgstr "Entité commerciale" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__confirm_order +msgid "Confirm Order" +msgstr "Confirmer la commande" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Create New" +msgstr "Créer une nouvelle" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Created automatically via file import (%s)." +msgstr "Créé automatiquement par importation de fichier (%s)." + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_uid +msgid "Created by" +msgstr "Créé par" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_date +msgid "Created on" +msgstr "Créé le" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_id +msgid "Customer" +msgstr "Client" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__order +msgid "Customer Order" +msgstr "Commande client" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__display_name +msgid "Display Name" +msgstr "Nom affiché" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "Type de document" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_filename +msgid "Filename" +msgstr "Nom du fichier" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__id +msgid "ID" +msgstr "ID" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of " +"the PDF file and then use this XML file to create the quotation." +msgstr "" +"S'il s'agit d'un document PDF, Odoo tentera de trouver un fichier XML en " +"pièce-jointe et utilisera ensuite ce document XML pour créer le devis." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for " +"this XML format is installed. For the" +msgstr "" +"S'il s'agit d'un document XML, Odoo l'analysera si le module adéquat est " +"installé. Pour le" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import" +msgstr "Importer" + +#. module: sale_order_import +#: model:ir.actions.act_window,name:sale_order_import.sale_order_import_action +#: model:ir.ui.menu,name:sale_order_import.sale_order_import_menu +msgid "Import RFQ or Order" +msgstr "Importer la demande ou la commande d'achat" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import Sale Orders" +msgstr "Importer le bon de commande" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__import_type +msgid "Import Type" +msgstr "Type d'import" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import____last_update +msgid "Last Modified on" +msgstr "Dernière modification le" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_uid +msgid "Last Updated by" +msgstr "Dernière mise-à-jour par" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_date +msgid "Last Updated on" +msgstr "Dernière mise-à-jour le" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "No data provided" +msgstr "Aucune donnée fournie" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"No price is defined in the file. Please double check file or select " +"Pricelist as the source for prices." +msgstr "" +"Aucun prix définit dans le fichier. Veuillez vérifier le fichier ou " +"sélectionner une liste de prix source." + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__pdf +msgid "PDF" +msgstr "PDF" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Please select a valid import type before importing!" +msgstr "Veuillez sélectionner un type d'importation valide avant d'importer !" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__pricelist +msgid "Pricelist" +msgstr "Liste de prix" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__sale_id +msgid "Quotation to Update" +msgstr "Devis à mettre à jour" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__rfq +msgid "Request For Quotation" +msgstr "Demande de prix" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_file +msgid "Request for Quotation or Order" +msgstr "Demande de prix ou Bon de conmande" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__order +msgid "Sale Order" +msgstr "Bon de commande" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order +msgid "Sales Order" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Some quotations have been found for this customer ; one of them may " +"correspond to the order or RFQ that you are importing. You can either select " +"an existing quotation to update or create a new one." +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__state +msgid "State" +msgstr "Etat" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The currency of the imported order (%(old)s) is different from the currency " +"of the existing order (%(new)s)" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The customer '%(name)s' has a pricelist '%(pricelist)s' but the currency of " +"this order is '%(currency)s'." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The quantity has been updated on the order line with product '%(product)s' " +"from %(qty0)s to %(qty1)s %(uom)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The unit price has been updated on the order line with product '%(product)s' " +"from %(old)s to %(new)s %(currency)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This Import Type is not supported. Did you install the module to support " +"this type?" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%(filename)s' is not recognized as a %(type)s file. Please check " +"the file and its extension." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as a XML nor PDF file. Please check the " +"file and it's extension." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This order doesn't have any line !" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This quotation has been updated automatically via the import of file %s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This type of XML RFQ/order is not supported. Did you install the module to " +"support this XML format?" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Universal Business Language" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Unsupported file format" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__update +msgid "Update" +msgstr "Mettre à jour" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Update Existing" +msgstr "Mettre à jour une existante" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__order_file +msgid "" +"Upload a Request for Quotation or an Order file. Supported formats: XML and " +"PDF (PDF with an embeded XML file)." +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Upload below the customer order or request for quotation as XML or PDF file. " +"When you click on the Import button:" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__xml +msgid "XML" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "You must select a quotation to update." +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"format (UBL), you should install the module sale_order_import_ubl." +msgstr "" + +#, fuzzy +#~ msgid "Csv Import" +#~ msgstr "Importer" diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/i18n/it.po b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/i18n/it.po new file mode 100644 index 0000000..1f56cdf --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/i18n/it.po @@ -0,0 +1,447 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-07-24 16:25+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.10.4\n" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/models/sale.py:0 +#: code:addons/sale_order_import/tests/test_sale_order.py:0 +#, python-format +msgid " Amount w/o tax: %(amount)s %(currency)s" +msgstr " Valore senza imposte: %(amount)s %(currency)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s new order line(s) created: %(label)s" +msgstr "%(orders)s nuova riga(e) ordine creata: %(label)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s order line(s) deleted: %(label)s" +msgstr "%(orders)s riga(e) ordine cancellata: %(label)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"An order of customer '%(partner)s' with reference '%(ref)s' already exists: " +"%(name)s (state: %(state)s)" +msgstr "" +"Un ordine del cliente '%(partner)s' con riferimento '%(ref)s' esiste già: " +"%(name)s (stato: %(state)s)" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__price_source +msgid "Apply Prices From" +msgstr "Maschera applicazione prezzi" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Cancel" +msgstr "Annulla" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__commercial_partner_id +msgid "Commercial Entity" +msgstr "Entità commerciale" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__confirm_order +msgid "Confirm Order" +msgstr "Conferma ordine" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Create New" +msgstr "Crea nuovo" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Created automatically via file import (%s)." +msgstr "Creati automaticamente con importazione file (%s)." + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_id +msgid "Customer" +msgstr "Cliente" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__order +msgid "Customer Order" +msgstr "Ordine cliente" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "Tipo documento" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_filename +msgid "Filename" +msgstr "Nome file" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__id +msgid "ID" +msgstr "ID" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of" +" the PDF file and then use this XML file to create the quotation." +msgstr "" +"Se è un file PDF, Odoo cercherà di trovare un file XML allegato al file PDF " +"e usarlo per creare il preventivo." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for" +" this XML format is installed. For the" +msgstr "" +"Se è un file XML, Odoo lo analizzerà se è installato il modulo che aggiunge " +"il supporto per questo formato XML. Per il" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import" +msgstr "Importa" + +#. module: sale_order_import +#: model:ir.actions.act_window,name:sale_order_import.sale_order_import_action +#: model:ir.ui.menu,name:sale_order_import.sale_order_import_menu +msgid "Import RFQ or Order" +msgstr "Importa RdP o ordine" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import Sale Orders" +msgstr "Importa gli ordini di vendita" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__import_type +msgid "Import Type" +msgstr "Tipo importazione" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "No data provided" +msgstr "Nessun dato fornito" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"No price is defined in the file. Please double check file or select " +"Pricelist as the source for prices." +msgstr "" +"Nessun prezzo definito nel file. Ricontrollare il file o selezionare un " +"listino per i prezzi." + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__pdf +msgid "PDF" +msgstr "PDF" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Please select a valid import type before importing!" +msgstr "Selezionare un tipo importazione valido prima di importare!" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__pricelist +msgid "Pricelist" +msgstr "Listino prezzi" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__sale_id +msgid "Quotation to Update" +msgstr "Preventivo da aggiornare" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__rfq +msgid "Request For Quotation" +msgstr "Richiesta di preventivo" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_file +msgid "Request for Quotation or Order" +msgstr "Richiesta di preventivo o ordine" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__order +msgid "Sale Order" +msgstr "Ordine di vendita" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "Importazione ordine di vendita da file" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order +msgid "Sales Order" +msgstr "Ordine di vendita" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "Selezionare un tipo che si vuole importare" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_shipping_id +msgid "Shipping Address" +msgstr "Indirizzo di spedizione" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Some quotations have been found for this customer ; one of them may " +"correspond to the order or RFQ that you are importing. You can either select" +" an existing quotation to update or create a new one." +msgstr "" +"Sono stati trovati alcuni preventivi per questo cliente; uno di essi può " +"corrispondere all'ordine o alla RdP che si sta importando. Si può " +"selezionare un preventivo esistente o crearne uno nuovo." + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__state +msgid "State" +msgstr "Stato" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The currency of the imported order (%(old)s) is different from the currency " +"of the existing order (%(new)s)" +msgstr "" +"La valuta dell'ordine importato (%(old)s) è diversa dalla valuta dell'ordine " +"esistente (%(new)s)" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The customer '%(name)s' has a pricelist '%(pricelist)s' but the currency of " +"this order is '%(currency)s'." +msgstr "" +"Il cliente '%(name)s' ha un listino '%(pricelist)s' ma la valuta dell'ordine " +"è '%(currency)s'." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The quantity has been updated on the order line with product '%(product)s' " +"from %(qty0)s to %(qty1)s %(uom)s" +msgstr "" +"La quantità è stata aggiornata nella riga ordine con prodotto '%(product)s' " +"da %(qty0)s a %(qty1)s %(uom)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The unit price has been updated on the order line with product '%(product)s'" +" from %(old)s to %(new)s %(currency)s" +msgstr "" +"Il prezzo unitario è stato aggiornato nella riga ordine con prodotto " +"'%(product)s' da %(old)s a %(new)s %(currency)s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "In questo PDF non c'è un file XML integrato." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This Import Type is not supported. Did you install the module to support " +"this type?" +msgstr "" +"Questo tipo di importazione non è supportato. Il modulo per supportarlo è " +"stato installato?" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "Il file XML non è compatibile al formato XML" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%(filename)s' is not recognized as a %(type)s file. Please check " +"the file and its extension." +msgstr "" +"Questo file '%(filename)s' non è riconosciuto come file %(type)s. " +"Controllare il file e la sua estensione." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as a XML nor PDF file. Please check the " +"file and it's extension." +msgstr "" +"Il file '%s' non è riconosciuto come file XML o PDF. Controllare il file e " +"la sua estensione." + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This order doesn't have any line !" +msgstr "Questo ordine non ha righe!" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This quotation has been updated automatically via the import of file %s" +msgstr "" +"Il preventivo è stato aggiornato automaticamente con l'importazione del file " +"%s" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This type of XML RFQ/order is not supported. Did you install the module to " +"support this XML format?" +msgstr "" +"Questo tipo RdP/ordine XML non è supportato. Il modulo per supportare questo " +"formato è stato installato?" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Universal Business Language" +msgstr "Linguaggio commerciale universale" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Unsupported file format" +msgstr "Formato file non supportato" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__update +msgid "Update" +msgstr "Aggiorna" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Update Existing" +msgstr "Aggiorna esistente" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__order_file +msgid "" +"Upload a Request for Quotation or an Order file. Supported formats: XML and " +"PDF (PDF with an embeded XML file)." +msgstr "" +"Caricare un file richiesta di preventivo o un ordine. Formati supportati: " +"XML e PDF (PDF con file XML integrato)." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Upload below the customer order or request for quotation as XML or PDF file." +" When you click on the Import button:" +msgstr "" +"Caricare in calce l'ordine cliente o la richiesta di preventivo come file " +"XML o PDF. Quando si fa clic sul pulsante importazione:" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__xml +msgid "XML" +msgstr "XML" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "You must select a quotation to update." +msgstr "Bisogna selezionare un preventivo da aggiornare." + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"format (UBL), you should install the module sale_order_import_ubl." +msgstr "" +"formato (UBL), bisogna installare il modulo sale_order_import_ubl." diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/i18n/sale_order_import.pot b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/i18n/sale_order_import.pot new file mode 100644 index 0000000..54012eb --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/i18n/sale_order_import.pot @@ -0,0 +1,410 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/models/sale.py:0 +#: code:addons/sale_order_import/tests/test_sale_order.py:0 +#, python-format +msgid " Amount w/o tax: %(amount)s %(currency)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s new order line(s) created: %(label)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "%(orders)s order line(s) deleted: %(label)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"An order of customer '%(partner)s' with reference '%(ref)s' already exists: " +"%(name)s (state: %(state)s)" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__price_source +msgid "Apply Prices From" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Cancel" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__commercial_partner_id +msgid "Commercial Entity" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__confirm_order +msgid "Confirm Order" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Create New" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Created automatically via file import (%s)." +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_uid +msgid "Created by" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__create_date +msgid "Created on" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_id +msgid "Customer" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__order +msgid "Customer Order" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__display_name +msgid "Display Name" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_filename +msgid "Filename" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__id +msgid "ID" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is a PDF file, Odoo will try to find an XML file in the attachments of" +" the PDF file and then use this XML file to create the quotation." +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"If it is an XML file, Odoo will parse it if the module that adds support for" +" this XML format is installed. For the" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import" +msgstr "" + +#. module: sale_order_import +#: model:ir.actions.act_window,name:sale_order_import.sale_order_import_action +#: model:ir.ui.menu,name:sale_order_import.sale_order_import_menu +msgid "Import RFQ or Order" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Import Sale Orders" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__import_type +msgid "Import Type" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import____last_update +msgid "Last Modified on" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__write_date +msgid "Last Updated on" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "No data provided" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"No price is defined in the file. Please double check file or select " +"Pricelist as the source for prices." +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__pdf +msgid "PDF" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Please select a valid import type before importing!" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__price_source__pricelist +msgid "Pricelist" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__sale_id +msgid "Quotation to Update" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__rfq +msgid "Request For Quotation" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__order_file +msgid "Request for Quotation or Order" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__doc_type__order +msgid "Sale Order" +msgstr "" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "" + +#. module: sale_order_import +#: model:ir.model,name:sale_order_import.model_sale_order +msgid "Sales Order" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__partner_shipping_id +msgid "Shipping Address" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Some quotations have been found for this customer ; one of them may " +"correspond to the order or RFQ that you are importing. You can either select" +" an existing quotation to update or create a new one." +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,field_description:sale_order_import.field_sale_order_import__state +msgid "State" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The currency of the imported order (%(old)s) is different from the currency " +"of the existing order (%(new)s)" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The customer '%(name)s' has a pricelist '%(pricelist)s' but the currency of " +"this order is '%(currency)s'." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The quantity has been updated on the order line with product '%(product)s' " +"from %(qty0)s to %(qty1)s %(uom)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"The unit price has been updated on the order line with product '%(product)s'" +" from %(old)s to %(new)s %(currency)s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "There are no embedded XML file in this PDF file." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This Import Type is not supported. Did you install the module to support " +"this type?" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This XML file is not XML-compliant" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%(filename)s' is not recognized as a %(type)s file. Please check " +"the file and its extension." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This file '%s' is not recognised as a XML nor PDF file. Please check the " +"file and it's extension." +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "This order doesn't have any line !" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This quotation has been updated automatically via the import of file %s" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "" +"This type of XML RFQ/order is not supported. Did you install the module to " +"support this XML format?" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Universal Business Language" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "Unsupported file format" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__state__update +msgid "Update" +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "Update Existing" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields,help:sale_order_import.field_sale_order_import__order_file +msgid "" +"Upload a Request for Quotation or an Order file. Supported formats: XML and " +"PDF (PDF with an embeded XML file)." +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"Upload below the customer order or request for quotation as XML or PDF file." +" When you click on the Import button:" +msgstr "" + +#. module: sale_order_import +#: model:ir.model.fields.selection,name:sale_order_import.selection__sale_order_import__import_type__xml +msgid "XML" +msgstr "" + +#. module: sale_order_import +#. odoo-python +#: code:addons/sale_order_import/wizard/sale_order_import.py:0 +#, python-format +msgid "You must select a quotation to update." +msgstr "" + +#. module: sale_order_import +#: model_terms:ir.ui.view,arch_db:sale_order_import.sale_order_import_form +msgid "" +"format (UBL), you should install the module sale_order_import_ubl." +msgstr "" diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/models/__init__.py b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/models/__init__.py new file mode 100644 index 0000000..c065ca3 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import sale diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/models/sale.py b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/models/sale.py new file mode 100644 index 0000000..2ff435a --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/models/sale.py @@ -0,0 +1,27 @@ +# © 2016-2017 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import _, models + + +class SaleOrder(models.Model): + _inherit = "sale.order" + + def name_get(self): + """Add amount_untaxed in name_get of sale orders""" + res = super().name_get() + if self._context.get("sale_order_show_amount"): + new_res = [] + for (sale_id, name) in res: + sale = self.browse(sale_id) + # TODO: find a python method to easily display a float + currency + # symbol (before or after) depending on lang of context and currency + name += _( + " Amount w/o tax: %(amount)s %(currency)s", + amount=sale.amount_untaxed, + currency=sale.currency_id.name, + ) + new_res.append((sale_id, name)) + return new_res + else: + return res diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..b4f469e --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ +* Alexis de Lattre +* Dennis Sluijk +* Andrea Stirpe +* Simone Orsi +* Duong (Tran Quoc) diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/readme/CREDITS.rst b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/readme/CREDITS.rst new file mode 100644 index 0000000..d43b3aa --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/readme/CREDITS.rst @@ -0,0 +1 @@ +The migration of this module from 13.0 to 16.0 was financially supported by Camptocamp diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/readme/DESCRIPTION.rst new file mode 100644 index 0000000..1288092 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/readme/DESCRIPTION.rst @@ -0,0 +1,7 @@ +This module adds support for the import of electronic RFQ or orders. This module provides the base methods to import electronic orders, and you can also plug additional formats by extending the wizard. It requires additional modules to support specific order formats: + + +* module *sale_order_import_ubl*: adds support for `Universal Business Language (UBL) `_ RFQs and orders as: + + - XML file, + - PDF file with an embedded XML file. diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/readme/USAGE.rst b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/readme/USAGE.rst new file mode 100644 index 0000000..8438328 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/readme/USAGE.rst @@ -0,0 +1,5 @@ +This module adds a wizard in the sale menu named *Import RFQ or Order*. This wizard will propose you to select the order or RFQ file. Depending on the format of the file (XML or PDF) and the type of file (RFQ or order), it may propose you additional options. + +When you import an order, if there is a quotation in Odoo for the same customer, the wizard will propose you to either update the existing quotation or create a new order (in fact, it will create a new quotation, so that you are free to make some modifications before you click on the *Confirm Sale* button to convert the quotation to a sale order). + +Once the RFQ/order is imported, you should read the messages in the chatter of the quotation because it may contain important information about the import. diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/security/ir.model.access.csv b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/security/ir.model.access.csv new file mode 100644 index 0000000..70a29eb --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_sale_order_import,access_sale_order_import,model_sale_order_import,sales_team.group_sale_salesman,1,1,1,1 diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/static/description/icon.png b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/static/description/index.html b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/static/description/index.html new file mode 100644 index 0000000..64db4dc --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/static/description/index.html @@ -0,0 +1,453 @@ + + + + + +README.rst + + + +
      + + + +Odoo Community Association + +
      +

      Sale Order Import

      + +

      Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +

      This module adds support for the import of electronic RFQ or orders. This module provides the base methods to import electronic orders, and you can also plug additional formats by extending the wizard. It requires additional modules to support specific order formats:

      + +

      Table of contents

      + +
      +

      Usage

      +

      This module adds a wizard in the sale menu named Import RFQ or Order. This wizard will propose you to select the order or RFQ file. Depending on the format of the file (XML or PDF) and the type of file (RFQ or order), it may propose you additional options.

      +

      When you import an order, if there is a quotation in Odoo for the same customer, the wizard will propose you to either update the existing quotation or create a new order (in fact, it will create a new quotation, so that you are free to make some modifications before you click on the Confirm Sale button to convert the quotation to a sale order).

      +

      Once the RFQ/order is imported, you should read the messages in the chatter of the quotation because it may contain important information about the import.

      +
      +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • Akretion
      • +
      • Camptocamp
      • +
      +
      +
      +

      Contributors

      + +
      +
      +

      Other credits

      +

      The migration of this module from 13.0 to 16.0 was financially supported by Camptocamp

      +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      + +Odoo Community Association + +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/__init__.py b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/__init__.py new file mode 100644 index 0000000..5abc4e2 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/__init__.py @@ -0,0 +1,5 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_sale_order +from . import test_order_import +from . import test_parse_validate diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/common.py b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/common.py new file mode 100644 index 0000000..be9a0a4 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/common.py @@ -0,0 +1,22 @@ +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +import base64 +import os + +from odoo.tests.common import TransactionCase + + +class TestCommon(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + cls.wiz_model = cls.env["sale.order.import"] + cls.partner = cls.env["res.partner"].create({"name": "SO Test"}) + + def read_test_file(self, filename, mode="r", as_b64=False): + path = os.path.join(os.path.dirname(__file__), "fixtures", filename) + with open(path, mode) as thefile: + content = thefile.read() + return content if not as_b64 else base64.b64encode(content) diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/fixtures/test.pdf b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/fixtures/test.pdf new file mode 100644 index 0000000..775bbe4 Binary files /dev/null and b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/fixtures/test.pdf differ diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/test_order_import.py b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/test_order_import.py new file mode 100644 index 0000000..1b4c2b7 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/test_order_import.py @@ -0,0 +1,182 @@ +# Copyright 2018 Akretion (Alexis de Lattre ) +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +import base64 +from unittest import mock + +from odoo import exceptions +from odoo.tests.common import Form + +from .common import TestCommon + + +class TestOrderImport(TestCommon): + """Test order create/update.""" + + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.parsed_order = { + "partner": {"email": "deco.addict82@example.com"}, + "date": "2018-08-14", + "order_ref": "TEST1242", + "lines": [ + { + "product": {"code": "FURN_8888"}, + "qty": 2, + "uom": {"unece_code": "C62"}, + "price_unit": 12.42, + } + ], + "chatter_msg": [], + "doc_type": "rfq", + } + + def test_order_import(self): + order = self.wiz_model.create_order(self.parsed_order, "pricelist") + self.assertEqual(order.client_order_ref, self.parsed_order["order_ref"]) + self.assertEqual( + order.order_line[0].product_id.default_code, + self.parsed_order["lines"][0]["product"]["code"], + ) + self.assertEqual(int(order.order_line[0].product_uom_qty), 2) + # Now update the order + parsed_order_up = dict( + self.parsed_order, + partner={"email": "agrolait@yourcompany.example.com"}, + lines=[ + { + "product": {"code": "FURN_8888"}, + "qty": 3, + "uom": {"unece_code": "C62"}, + "price_unit": 12.42, + }, + { + "product": {"code": "FURN_9999"}, + "qty": 1, + "uom": {"unece_code": "C62"}, + "price_unit": 1.42, + }, + ], + ) + self.wiz_model.update_order_lines(parsed_order_up, order, "pricelist") + self.assertEqual(len(order.order_line), 2) + self.assertEqual(int(order.order_line[0].product_uom_qty), 3) + # test raise UserError if not price_unit + parsed_order_up_no_price_unit = dict( + self.parsed_order, + partner={"email": "agrolait@yourcompany.example.com"}, + lines=[ + { + "product": {"code": "FURN_7777"}, + "qty": 4, + "uom": {"unece_code": "C62"}, + }, + ], + ) + parsed_order_up_no_price_unit["doc_type"] = "order" + parsed_order_up_no_price_unit["price_source"] = "order" + expected_msg = ( + "No price is defined in the file. Please double check " + "file or select Pricelist as the source for prices." + ) + with self.assertRaisesRegex(exceptions.UserError, expected_msg): + self.wiz_model.update_order_lines( + parsed_order_up_no_price_unit, order, "order" + ) + + def test_order_import_action(self): + wiz = self.wiz_model.create({"import_type": "xml"}) + action = wiz.create_order_return_action(self.parsed_order, "order.ref") + order = self.env["sale.order"].browse(action["res_id"]) + self.assertEqual(order.state, "draft") + + def test_order_import_confirm(self): + wiz = self.wiz_model.create({"import_type": "xml", "confirm_order": True}) + action = wiz.create_order_return_action(self.parsed_order, "order.ref") + order = self.env["sale.order"].browse(action["res_id"]) + self.assertEqual(order.state, "sale") + + def test_order_import_default_so_vals(self): + default = {"client_order_ref": "OVERRIDE"} + order = self.wiz_model.with_context( + sale_order_import__default_vals=dict(order=default) + ).create_order(self.parsed_order, "pricelist") + self.assertEqual(order.client_order_ref, "OVERRIDE") + + def test_with_order_buttons(self): + # Prepare test data + order_file_data = base64.b64encode( + b"baz" + ) + order_filename = "test_order.xml" + mock_parse_order = mock.patch.object(type(self.wiz_model), "parse_xml_order") + # Create a new form + with Form( + self.wiz_model.with_context( + default_order_filename=order_filename, + ) + ) as form: + with mock_parse_order as mocked: + # Return 'rfq' for doc_type + mocked.return_value = "rfq" + # Set values for the required fields + form.import_type = "xml" + form.order_file = order_file_data + mocked.assert_called() + # Test the button with the simulated values + mocked.return_value = self.parsed_order + action = form.save().import_order_button() + self.assertEqual(action["xml_id"], "sale.action_quotations") + self.assertEqual(action["view_mode"], "form,tree,calendar,graph") + self.assertEqual(action["view_id"], False) + mocked.assert_called() + so = self.env["sale.order"].browse(action["res_id"]) + self.assertEqual(so.partner_id.email, "deco.addict82@example.com") + self.assertEqual(so.client_order_ref, "TEST1242") + self.assertEqual(so.order_line.product_id.code, "FURN_8888") + self.assertEqual(so.state, "draft") + + # Create another form to update the above sale order + with Form( + self.wiz_model.with_context( + default_order_filename=order_filename, + ) + ) as form: + with mock_parse_order as mocked: + # Return 'rfq' for doc_type + mocked.return_value = "rfq" + # Set the required fields + form.import_type = "xml" + form.order_file = order_file_data + parsed_order_up = dict( + self.parsed_order, + lines=[ + { + "product": {"code": "FURN_8888"}, + "qty": 3, + "uom": {"unece_code": "C62"}, + "price_unit": 12.42, + }, + { + "product": {"code": "FURN_9999"}, + "qty": 1, + "uom": {"unece_code": "C62"}, + "price_unit": 1.42, + }, + ], + ) + mocked.return_value = parsed_order_up + action = form.save().import_order_button() + form = form.save() + self.assertEqual( + action["xml_id"], "sale_order_import.sale_order_import_action" + ) + self.assertEqual(form.state, "update") + self.assertEqual(form.sale_id, so) + form.update_order_button() + + self.assertEqual(len(so.order_line), 2) + self.assertEqual(so.order_line[0].product_uom_qty, 3) diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/test_parse_validate.py b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/test_parse_validate.py new file mode 100644 index 0000000..c7b25e3 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/test_parse_validate.py @@ -0,0 +1,170 @@ +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +import base64 +from unittest import mock + +from lxml import etree + +from odoo import exceptions +from odoo.tests.common import Form + +from .common import TestCommon + + +class TestParsingValidation(TestCommon): + """Mostly unit tests on wizard parsing methods.""" + + def test_wrong_import_type(self): + order_file_data = base64.b64encode( + b"baz" + ) + order_filename = "test_order.xml" + expected_error_message = ( + "This file 'test_order.xml' is not recognized as" + " a PDF file. Please check the file and its extension." + ) + + with self.assertRaisesRegex(exceptions.UserError, expected_error_message): + with Form( + self.wiz_model.with_context(default_order_filename=order_filename) + ) as form: + form.import_type = "pdf" + form.order_file = order_file_data + + def test_onchange_validation_xml(self): + xml_data = base64.b64encode( + b"baz" + ) + + # Simulate bad file handling + mock_parse_xml = mock.patch.object(type(self.wiz_model), "_parse_xml") + + with Form( + self.wiz_model.with_context(default_order_filename="test.xml") + ) as form: + with mock_parse_xml as mocked: + mocked.return_value = ("", "I don't like this file") + with self.assertRaisesRegex( + exceptions.UserError, "I don't like this file" + ): + form.import_type = "xml" + form.order_file = xml_data + mocked.assert_called() + + mock_parse_order = mock.patch.object(type(self.wiz_model), "parse_xml_order") + + with Form( + self.wiz_model.with_context(default_order_filename="test.xml") + ) as form: + with mock_parse_order as mocked: + mocked.return_value = "rfq" + form.import_type = "xml" + form.order_file = xml_data + mocked.assert_called() + self.assertEqual(form.doc_type, "rfq") + + def test_onchange_validation_pdf(self): + pdf_data = self.read_test_file("test.pdf", mode="rb", as_b64=True) + mock_parse_order = mock.patch.object(type(self.wiz_model), "parse_pdf_order") + + with Form( + self.wiz_model.with_context(default_order_filename="test.pdf") + ) as form: + with mock_parse_order as mocked: + mocked.return_value = "rfq" + form.import_type = "pdf" + form.order_file = pdf_data + mocked.assert_called() + self.assertEqual(form.doc_type, "rfq") + + def test_parse_xml_bad(self): + xml_root, error_msg = self.wiz_model._parse_xml("") + self.assertEqual(xml_root, None) + self.assertEqual(error_msg, "No data provided") + xml_root, error_msg = self.wiz_model._parse_xml("something_wrong") + self.assertEqual(xml_root, None) + self.assertEqual(error_msg, "This XML file is not XML-compliant") + + def test_parse_xml_unsupported(self): + xml_data = b"baz" + xml_root, error_msg = self.wiz_model._parse_xml(xml_data) + self.assertTrue(isinstance(xml_root, etree._Element)) + # Due to parse_xml_order NotImplementedError + mock_parse_order = mock.patch.object(type(self.wiz_model), "parse_xml_order") + with mock_parse_order as mocked: + mocked.side_effect = exceptions.UserError("I don't like this file") + self.assertTrue(isinstance(xml_root, etree._Element)) + + def test_parse_xml_good(self): + xml_data = b"baz" + mock_parse_order = mock.patch.object(type(self.wiz_model), "parse_xml_order") + with mock_parse_order as mocked: + mocked.return_value = "rfq" + xml_root, error_msg = self.wiz_model._parse_xml(xml_data) + self.assertTrue(isinstance(xml_root, etree._Element)) + self.assertTrue(error_msg is None) + + def test_parse_pdf_bad(self): + pdf_data = self.read_test_file("test.pdf", mode="rb", as_b64=True) + mock_pdf_get_xml_files = mock.patch.object( + type(self.env["pdf.helper"]), "pdf_get_xml_files" + ) + with mock_pdf_get_xml_files as mocked: + mocked.return_value = {} + with self.assertRaisesRegex( + exceptions.UserError, "There are no embedded XML file in this PDF file." + ): + self.wiz_model.parse_pdf_order(pdf_data) + mocked.assert_called() + + def test_parse_pdf_good(self): + pdf_data = self.read_test_file("test.pdf", mode="rb", as_b64=True) + mock_pdf_get_xml_files = mock.patch.object( + type(self.env["pdf.helper"]), "pdf_get_xml_files" + ) + mock_parse_xml_order = mock.patch.object( + type(self.wiz_model), "parse_xml_order" + ) + with mock_pdf_get_xml_files as m1, mock_parse_xml_order as m2: + m1.return_value = { + "test.pdf": etree.fromstring( + b"baz" + ) + } + fake_parsed_order = {"got": "a wonderful order"} + m2.return_value = fake_parsed_order + res = self.wiz_model.parse_pdf_order(pdf_data) + m1.assert_called() + m2.assert_called() + self.assertEqual(res, fake_parsed_order) + + def test_parse_pdf_good_but_no_file(self): + pdf_data = self.read_test_file("test.pdf", mode="rb", as_b64=True) + mock_pdf_get_xml_files = mock.patch.object( + type(self.env["pdf.helper"]), "pdf_get_xml_files" + ) + mock_parse_xml_order = mock.patch.object( + type(self.wiz_model), "parse_xml_order" + ) + with mock_pdf_get_xml_files as m1, mock_parse_xml_order as m2: + m1.return_value = { + "test.pdf": etree.fromstring( + b"baz" + ) + } + m2.side_effect = etree.LxmlError("Bad XML sir!") + expected_msg = ( + "This type of XML RFQ/order is not supported. Did you install " + "the module to support this XML format?" + ) + with self.assertRaisesRegex(exceptions.UserError, expected_msg): + self.wiz_model.parse_pdf_order(pdf_data) + m1.assert_called() + m2.assert_called() + # same w/ UserError catched somewhere else + m2.side_effect = exceptions.UserError("Something is wrong w/ this file") + with self.assertRaisesRegex(exceptions.UserError, expected_msg): + self.wiz_model.parse_pdf_order(pdf_data) + m1.assert_called() + m2.assert_called() diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/test_sale_order.py b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/test_sale_order.py new file mode 100644 index 0000000..b923e1d --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/tests/test_sale_order.py @@ -0,0 +1,25 @@ +# Copyright 2018 Akretion (Alexis de Lattre ) +# Copyright 2022 Camptocamp SA +# @author: Simone Orsi +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import _ +from odoo.tests.common import TransactionCase + + +class TestOrderImport(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + + def test_name_get(self): + sale_order = self.env.ref("sale.sale_order_1") + name = sale_order.name + _( + " Amount w/o tax: %(amount)s %(currency)s", + amount=sale_order.amount_untaxed, + currency=sale_order.currency_id.name, + ) + so = self.env["sale.order"].with_context(sale_order_show_amount=True) + name_get_res = so.search([("id", "=", sale_order.id)]).name_get() + self.assertEqual(name, name_get_res[0][1]) diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/wizard/__init__.py b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/wizard/__init__.py new file mode 100644 index 0000000..293838f --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/wizard/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import sale_order_import diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/wizard/sale_order_import.py b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/wizard/sale_order_import.py new file mode 100644 index 0000000..94fdd5e --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/wizard/sale_order_import.py @@ -0,0 +1,690 @@ +# Copyright 2016-2017 Akretion +# @author: Alexis de Lattre +# Copyright 2022 Camptocamp +# @author: Simone Orsi +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +import logging +import mimetypes +from base64 import b64decode, b64encode + +from lxml import etree + +from odoo import _, api, fields, models +from odoo.exceptions import UserError +from odoo.osv.expression import AND +from odoo.tools import config, float_compare, float_is_zero + +logger = logging.getLogger(__name__) + + +class SaleOrderImport(models.TransientModel): + _name = "sale.order.import" + _description = "Sale Order Import from Files" + + state = fields.Selection( + [("import", "Import"), ("update", "Update")], default="import" + ) + partner_id = fields.Many2one("res.partner", string="Customer") + import_type = fields.Selection( + [("xml", "XML"), ("pdf", "PDF")], + required=True, + default=None, + help="Select a type which you want to import", + ) + order_file = fields.Binary( + string="Request for Quotation or Order", + required=True, + help="Upload a Request for Quotation or an Order file. Supported " + "formats: XML and PDF (PDF with an embeded XML file).", + ) + order_filename = fields.Char(string="Filename") + doc_type = fields.Selection( + [("rfq", "Request For Quotation"), ("order", "Sale Order")], + string="Document Type", + readonly=True, + ) + price_source = fields.Selection( + [("pricelist", "Pricelist"), ("order", "Customer Order")], + string="Apply Prices From", + ) + # for state = update + commercial_partner_id = fields.Many2one( + "res.partner", string="Commercial Entity", readonly=True + ) + partner_shipping_id = fields.Many2one( + "res.partner", string="Shipping Address", readonly=True + ) + sale_id = fields.Many2one("sale.order", string="Quotation to Update") + confirm_order = fields.Boolean(default=False) + + @api.onchange("order_file") + def order_file_change(self): + if not self.order_filename or not self.order_file: + self.doc_type = False + return + + doc_type = self._parse_file( + self.order_filename, b64decode(self.order_file), detect_doc_type=True + ) + if doc_type is None: + return {"warning": self._unsupported_file_msg(self.order_filename)} + self.doc_type = doc_type + + def _get_supported_types(self): + # Define the supported types dictionary + supported_types = { + "xml": ("application/xml", "text/xml"), + "pdf": ("application/pdf"), + } + return supported_types + + def _parse_file(self, filename, filecontent, detect_doc_type=False): + assert filename, "Missing filename" + assert filecontent, "Missing file content" + filetype = mimetypes.guess_type(filename) + logger.debug("Order file mimetype: %s", filetype) + mimetype = filetype[0] + supported_types = self._get_supported_types() + # Check if the selected import type is supported + if self.import_type not in supported_types: + raise UserError(_("Please select a valid import type before importing!")) + + # Check if the detected MIME type is supported for the selected import type + if mimetype not in supported_types[self.import_type]: + raise UserError( + _( + "This file '%(filename)s' is not recognized as a %(type)s file. " + "Please check the file and its extension.", + filename=filename, + type=self.import_type.upper(), + ) + ) + + if parser_method := getattr(self, f"parse_{self.import_type}_order", None): + return parser_method(filecontent, detect_doc_type=detect_doc_type) + else: + logger.error( + "%(meth)s not found %(itype)s not supported", + meth=f"parse_{self.import_type}_order", + itype=self.import_type, + ) + raise UserError( + _( + "This Import Type is not supported. Did you install " + "the module to support this type?" + ) + ) + + def _unsupported_file_msg(self, filename): + return { + "title": _("Unsupported file format"), + "message": _( + "This file '%s' is not recognised as a XML nor " + "PDF file. Please check the file and it's " + "extension." + ) + % filename, + } + + @api.model + def _parse_xml(self, data): + if not data: + return None, _("No data provided") + xml_root = None + try: + xml_root = etree.fromstring(data) + error_msg = None + except etree.XMLSyntaxError: + error_msg = _("This XML file is not XML-compliant") + return xml_root, error_msg + return xml_root, error_msg + + @api.model + def parse_xml_order(self, data, detect_doc_type=False): + if not self.env.context.get("xml_root", False): + xml_root, error_msg = self._parse_xml(data) + else: + xml_root = data + error_msg = None + if (xml_root is None or not len(xml_root)) and error_msg: + raise UserError(error_msg) + raise NotImplementedError( + _( + "This type of XML RFQ/order is not supported. Did you install " + "the module to support this XML format?" + ) + ) + + @api.model + def parse_pdf_order(self, order_file, detect_doc_type=False): + """ + Get PDF attachments, filter on XML files and call import_order_xml + """ + xml_files_dict = self.env["pdf.helper"].pdf_get_xml_files(order_file) + if not xml_files_dict: + raise UserError(_("There are no embedded XML file in this PDF file.")) + for xml_filename, xml_root in xml_files_dict.items(): + logger.info("Trying to parse XML file %s", xml_filename) + try: + parsed_order = self.with_context(xml_root=True).parse_xml_order( + xml_root, detect_doc_type=detect_doc_type + ) + return parsed_order + except (etree.LxmlError, UserError): + continue + raise UserError( + _( + "This type of XML RFQ/order is not supported. Did you install " + "the module to support this XML format?" + ) + ) + + # Format of parsed_order + # { + # 'partner': { + # 'vat': 'FR25499247138', + # 'name': 'Camptocamp', + # 'email': 'luc@camptocamp.com', + # }, + # 'ship_to': { + # 'partner': partner_dict, + # 'address': { + # 'country_code': 'FR', + # 'state_code': False, + # 'zip': False, + # }, + # 'company': {'vat': 'FR12123456789'}, # Only used to check we are not + # # importing the order in the + # # wrong company by mistake + # 'date': '2016-08-16', # order date + # 'order_ref': 'PO1242', # Customer PO number + # 'currency': {'iso': 'EUR', 'symbol': u'€'}, + # 'incoterm': 'EXW', + # 'note': 'order notes of the customer', + # 'chatter_msg': ['msg1', 'msg2'] + # 'lines': [{ + # 'product': { + # 'code': 'EA7821', + # 'ean13': '2100002000003', + # }, + # 'qty': 2.5, + # 'uom': {'unece_code': 'C62'}, + # 'price_unit': 12.42, # without taxes + # 'doc_type': 'rfq' or 'order', + # }] + + @api.model + def _search_existing_order_domain( + self, parsed_order, commercial_partner, state_domain + ): + return AND( + [ + state_domain, + [ + ("client_order_ref", "=", parsed_order["order_ref"]), + ("commercial_partner_id", "=", commercial_partner.id), + ], + ] + ) + + @api.model + def _prepare_order(self, parsed_order, price_source): + soo = self.env["sale.order"] + bdio = self.env["business.document.import"] + partner = bdio._match_partner( + parsed_order["partner"], + parsed_order["chatter_msg"], + partner_type="customer", + ) + currency = bdio._match_currency( + parsed_order.get("currency"), parsed_order["chatter_msg"] + ) + # FIXME: this should work but it's not as it breaks core price compute + # so_vals = soo.default_get(soo._fields.keys()) + so_vals = { + "partner_id": partner.id, + "client_order_ref": parsed_order.get("order_ref"), + } + self._validate_currency(partner, currency) + self._validate_existing_orders(partner, parsed_order) + so_vals = soo.play_onchanges(so_vals, ["partner_id"]) + so_vals["order_line"] = [] + if parsed_order.get("ship_to"): + shipping_partner = bdio._match_shipping_partner( + parsed_order["ship_to"], partner, parsed_order["chatter_msg"] + ) + so_vals["partner_shipping_id"] = shipping_partner.id + + if parsed_order.get("delivery_detail"): + so_vals.update(parsed_order.get("delivery_detail")) + + if parsed_order.get("invoice_to"): + invoicing_partner = bdio._match_partner( + parsed_order["invoice_to"], parsed_order["chatter_msg"], partner_type="" + ) + so_vals["partner_invoice_id"] = invoicing_partner.id + if parsed_order.get("date"): + so_vals["date_order"] = parsed_order["date"] + for line in parsed_order["lines"]: + # partner=False because we don't want to use product.supplierinfo + product = bdio._match_product( + line["product"], parsed_order["chatter_msg"], seller=False + ) + uom = bdio._match_uom(line.get("uom"), parsed_order["chatter_msg"], product) + line_vals = self._prepare_create_order_line( + product, uom, so_vals, line, price_source + ) + so_vals["order_line"].append((0, 0, line_vals)) + + defaults = self.env.context.get("sale_order_import__default_vals", {}).get( + "order", {} + ) + so_vals.update(defaults) + return so_vals + + def _validate_currency(self, partner, currency): + if partner.property_product_pricelist.currency_id != currency: + raise UserError( + _( + "The customer '%(name)s' has a pricelist '%(pricelist)s' but the " + "currency of this order is '%(currency)s'.", + name=partner.display_name, + pricelist=partner.property_product_pricelist.display_name, + currency=currency.name, + ) + ) + + def _validate_existing_orders(self, partner, parsed_order): + if not parsed_order.get("order_ref"): + return + commercial_partner = partner.commercial_partner_id + existing_orders = self.env["sale.order"].search( + self._search_existing_order_domain( + parsed_order, commercial_partner, [("state", "!=", "cancel")] + ), + limit=1, + ) + if existing_orders: + raise UserError( + _( + "An order of customer '%(partner)s' with reference '%(ref)s' " + "already exists: %(name)s (state: %(state)s)", + partner=partner.display_name, + ref=parsed_order["order_ref"], + name=existing_orders[0].name, + state=existing_orders[0].state, + ) + ) + + # TODO: I wonder why these methods are model methods + @api.model + def create_order( + self, parsed_order, price_source, order_filename=None, confirm_order=False + ): + soo = self.env["sale.order"].with_context(mail_create_nosubscribe=True) + bdio = self.env["business.document.import"] + so_vals = self._prepare_order(parsed_order, price_source) + order = soo.create(so_vals) + if confirm_order: + order.action_confirm() + bdio.post_create_or_update(parsed_order, order, doc_filename=order_filename) + logger.info("Sale Order ID %d created", order.id) + return order + + @api.model + def create_order_ws( + self, parsed_order, price_source, order_filename=None, confirm_order=False + ): + """Same method as create_order() but callable via JSON-RPC + webservice. Returns an ID to avoid this error: + TypeError: sale.order(15,) is not JSON serializable""" + order = self.create_order( + parsed_order, + price_source, + order_filename=order_filename, + confirm_order=confirm_order, + ) + return order.id + + @api.model + def parse_order(self, order_file, order_filename, partner=False): + parsed_order = self._parse_file(order_filename, order_file) + logger.debug("Result of order parsing: %s", parsed_order) + defaults = ( + ("attachments", {}), + ("chatter_msg", []), + ) + for key, val in defaults: + parsed_order.setdefault(key, val) + + parsed_order["attachments"][order_filename] = b64encode(order_file) + if ( + parsed_order.get("company") + and not config["test_enable"] + and not self._context.get("edi_skip_company_check") + ): + self.env["business.document.import"]._check_company( + parsed_order["company"], parsed_order["chatter_msg"] + ) + return parsed_order + + def import_order_button(self): + self.ensure_one() + bdio = self.env["business.document.import"] + order_file_decoded = b64decode(self.order_file) + parsed_order = self.parse_order( + order_file_decoded, self.order_filename, self.partner_id + ) + if not parsed_order.get("lines"): + raise UserError(_("This order doesn't have any line !")) + partner = bdio._match_partner( + parsed_order["partner"], [], partner_type="customer" + ) + commercial_partner = partner.commercial_partner_id + partner_shipping_id = False + if parsed_order.get("ship_to"): + partner_shipping_id = bdio._match_shipping_partner( + parsed_order["ship_to"], partner, [] + ).id + existing_quotations = self.env["sale.order"].search( + self._search_existing_order_domain( + parsed_order, commercial_partner, [("state", "in", ("draft", "sent"))] + ) + ) + if existing_quotations: + default_sale_id = False + if len(existing_quotations) == 1: + default_sale_id = existing_quotations[0].id + self.write( + { + "commercial_partner_id": commercial_partner.id, + "partner_shipping_id": partner_shipping_id, + "state": "update", + "sale_id": default_sale_id, + "doc_type": parsed_order.get("doc_type"), + } + ) + action = self.env["ir.actions.act_window"]._for_xml_id( + "sale_order_import.sale_order_import_action" + ) + action["res_id"] = self.id + return action + else: + return self.create_order_return_action(parsed_order, self.order_filename) + + def create_order_button(self): + self.ensure_one() + parsed_order = self.parse_order( + b64decode(self.order_file), self.order_filename, self.partner_id + ) + return self.create_order_return_action(parsed_order, self.order_filename) + + def create_order_return_action(self, parsed_order, order_filename): + self.ensure_one() + order = self.create_order( + parsed_order, + self.price_source, + order_filename, + confirm_order=self._order_should_be_confirmed(), + ) + order.message_post( + body=_("Created automatically via file import (%s).") % self.order_filename + ) + action = self.env["ir.actions.actions"]._for_xml_id("sale.action_quotations") + action.update( + { + "view_mode": "form,tree,calendar,graph", + "views": False, + "view_id": False, + "res_id": order.id, + } + ) + return action + + def _order_should_be_confirmed(self): + # Hook to override behavior + return self.confirm_order + + # TODO: add tests + @api.model + def _prepare_update_order_vals(self, parsed_order, order, partner): + bdio = self.env["business.document.import"] + partner = bdio._match_partner( + parsed_order["partner"], + parsed_order["chatter_msg"], + partner_type="customer", + ) + vals = {"partner_id": partner.id} + if parsed_order.get("ship_to"): + shipping_partner = bdio._match_shipping_partner( + parsed_order["ship_to"], partner, parsed_order["chatter_msg"] + ) + vals["partner_shipping_id"] = shipping_partner.id + if parsed_order.get("order_ref"): + vals["client_order_ref"] = parsed_order["order_ref"] + return vals + + @api.model + def _prepare_create_order_line( + self, product, uom, order, import_line, price_source + ): + """the 'order' arg can be a recordset (in case of an update of a sale order) + or a dict (in case of the creation of a new sale order)""" + solo = self.env["sale.order.line"] + vals = {} + # Ensure the company is loaded before we play onchanges. + # Yes, `company_id` is related to `order_id.company_id` + # but when we call `play_onchanges` it will be empty + # w/out this precaution. + company_id = self._prepare_order_line_get_company_id(order) + vals.update( + { + "product_id": product.id, + "product_uom_qty": import_line["qty"], + "product_uom": uom.id, + "company_id": company_id, + } + ) + + if price_source == "order": + if "price_unit" not in import_line: + raise UserError( + _( + "No price is defined in the file. Please double check " + "file or select Pricelist as the source for prices." + ) + ) + vals["price_unit"] = import_line["price_unit"] + elif price_source == "pricelist": + # product_id_change is played in the inherit of create() + # of sale.order.line cf odoo/addons/sale/models/sale.py + # but it is not enough: we also need to play _onchange_discount() + # to have the right discount for pricelist + vals["order_id"] = order + vals.pop("order_id") + + # Handle additional fields dynamically if available. + # If a field is added to a record and its value is injected by a parser + # you won't have to override `_prepare_create_order_line` + # to let it propagate. + for k, v in import_line.items(): + if k not in vals and k in solo._fields: + vals[k] = v + + defaults = self.env.context.get("sale_order_import__default_vals", {}).get( + "lines", {} + ) + vals.update(defaults) + return vals + + def _prepare_order_line_get_company_id(self, order): + company_id = self.env.company.id + if isinstance(order, models.Model): + company_id = order.company_id.id + elif isinstance(order, dict): + company_id = order.get("company_id") or company_id + return company_id + + # TODO: add tests + @api.model + def update_order_lines(self, parsed_order, order, price_source): + chatter = parsed_order["chatter_msg"] + solo = self.env["sale.order.line"] + dpo = self.env["decimal.precision"] + bdio = self.env["business.document.import"] + qty_prec = dpo.precision_get("Product UoS") + price_prec = dpo.precision_get("Product Price") + existing_lines = [] + for oline in order.order_line: + # compute price unit without tax + price_unit = 0.0 + if not float_is_zero(oline.product_uom_qty, precision_digits=qty_prec): + qty = float(oline.product_uom_qty) + price_unit = oline.price_subtotal / qty + existing_lines.append( + { + "product": oline.product_id or False, + "name": oline.name, + "qty": oline.product_uom_qty, + "uom": oline.product_uom, + "line": oline, + "price_unit": price_unit, + } + ) + compare_res = bdio.compare_lines( + existing_lines, + parsed_order["lines"], + chatter, + qty_precision=qty_prec, + seller=False, + ) + # NOW, we start to write/delete/create the order lines + for oline, cdict in compare_res["to_update"].items(): + write_vals = {} + # TODO: add support for price_source == order + if cdict.get("qty"): + chatter.append( + _( + "The quantity has been updated on the order line " + "with product '%(product)s' from %(qty0)s to %(qty1)s %(uom)s", + product=oline.product_id.display_name, + qty0=cdict["qty"][0], + qty1=cdict["qty"][1], + uom=oline.product_uom.name, + ) + ) + write_vals["product_uom_qty"] = cdict["qty"][1] + if price_source != "order": + new_price_unit = order.pricelist_id.with_context( + date=order.date_order, uom=oline.product_uom.id + )._price_get(oline.product_id, write_vals["product_uom_qty"],)[ + order.pricelist_id.id + ] + if float_compare( + new_price_unit, oline.price_unit, precision_digits=price_prec + ): + chatter.append( + _( + "The unit price has been updated on the order " + "line with product '%(product)s' from %(old)s to " + "%(new)s %(currency)s", + product=oline.product_id.display_name, + old=oline.price_unit, + new=new_price_unit, + currency=order.currency_id.name, + ) + ) + write_vals["price_unit"] = new_price_unit + write_vals.update(self._prepare_update_order_line_vals(cdict)) + if write_vals: + oline.write(write_vals) + if compare_res["to_remove"]: + to_remove_label = [ + f"{line.product_uom_qty} {line.product_uom.name} " + f"x {line.product_id.name}" + for line in compare_res["to_remove"] + ] + chatter.append( + _( + "%(orders)s order line(s) deleted: %(label)s", + orders=len(compare_res["to_remove"]), + label=", ".join(to_remove_label), + ) + ) + compare_res["to_remove"].unlink() + if compare_res["to_add"]: + to_create_label = [] + for add in compare_res["to_add"]: + line_vals = self._prepare_create_order_line( + add["product"], add["uom"], order, add["import_line"], price_source + ) + line_vals["order_id"] = order.id + new_line = solo.create(line_vals) + to_create_label.append( + f"{new_line.product_uom_qty} {new_line.product_uom.name} " + f"x {new_line.name}" + ) + chatter.append( + _( + "%(orders)s new order line(s) created: %(label)s", + orders=len(compare_res["to_add"]), + label=", ".join(to_create_label), + ) + ) + return True + + def _prepare_update_order_line_vals(self, change_dict): + # Allows other module to update some fields on the line + return {} + + def update_order_button(self): + self.ensure_one() + bdio = self.env["business.document.import"] + order = self.sale_id + if not order: + raise UserError(_("You must select a quotation to update.")) + parsed_order = self.parse_order( + b64decode(self.order_file), self.order_filename, self.partner_id + ) + currency = bdio._match_currency( + parsed_order.get("currency"), parsed_order["chatter_msg"] + ) + if currency != order.currency_id: + raise UserError( + _( + "The currency of the imported order (%(old)s) is different from " + "the currency of the existing order (%(new)s)", + old=currency.name, + new=order.currency_id.name, + ) + ) + vals = self._prepare_update_order_vals( + parsed_order, order, self.commercial_partner_id + ) + if vals: + order.write(vals) + self.update_order_lines(parsed_order, order, self.price_source) + bdio.post_create_or_update(parsed_order, order) + logger.info( + "Quotation ID %d updated via import of file %s", + order.id, + self.order_filename, + ) + order.message_post( + body=_( + "This quotation has been updated automatically via the import of " + "file %s" + ) + % self.order_filename + ) + action = self.env["ir.actions.act_window"]._for_xml_id("sale.action_quotations") + action.update( + { + "view_mode": "form,tree,calendar,graph", + "views": False, + "view_id": False, + "res_id": order.id, + } + ) + return action diff --git a/odoo-bringout-oca-edi-sale_order_import/sale_order_import/wizard/sale_order_import_view.xml b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/wizard/sale_order_import_view.xml new file mode 100644 index 0000000..b8f0286 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import/sale_order_import/wizard/sale_order_import_view.xml @@ -0,0 +1,106 @@ + + + + + sale.order.import.form + sale.order.import + +
      + + + + +
      +

      Upload below the customer order or request for quotation as XML or PDF file. When you click on the Import button:

      +
        +
      1. If it is an XML file, Odoo will parse it if the module that adds support for this XML format is installed. For the Universal Business Language format (UBL), you should install the module sale_order_import_ubl.
      2. +
      3. If it is a PDF file, Odoo will try to find an XML file in the attachments of the PDF file and then use this XML file to create the quotation.
      4. +
      +
      +
      + +
      +

      Some quotations have been found for this customer ; one of them may correspond to the order or RFQ that you are importing. You can either select an existing quotation to update or create a new one.

      +
      +
      + + + + + + + + + + + + + + + +
      +
      +
      +
      +
      + + Import RFQ or Order + sale.order.import + form + new + {'sale_order_show_amount': True} + + +
      diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/README.md b/odoo-bringout-oca-edi-sale_order_import_edifact/README.md new file mode 100644 index 0000000..a8f3b66 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/README.md @@ -0,0 +1,47 @@ +# Import Business Document EDIFACT/D96A Order + +Odoo addon: sale_order_import_edifact + +## Installation + +```bash +pip install odoo-bringout-oca-edi-sale_order_import_edifact +``` + +## Dependencies + +This addon depends on: +- sale_management +- partner_identification_gln +- base_edifact +- sale_order_import + +## Manifest Information + +- **Name**: Import Business Document EDIFACT/D96A Order +- **Version**: 16.0.1.1.0 +- **Category**: Sales Management +- **License**: AGPL-3 +- **Installable**: False + +## Source + +Based on [OCA/edi](https://github.com/OCA/edi) branch 16.0, addon `sale_order_import_edifact`. + +## License + +This package maintains the original AGPL-3 license from the upstream Odoo project. + +## Documentation + +- Overview: doc/OVERVIEW.md +- Architecture: doc/ARCHITECTURE.md +- Models: doc/MODELS.md +- Controllers: doc/CONTROLLERS.md +- Wizards: doc/WIZARDS.md +- Install: doc/INSTALL.md +- Usage: doc/USAGE.md +- Configuration: doc/CONFIGURATION.md +- Dependencies: doc/DEPENDENCIES.md +- Troubleshooting: doc/TROUBLESHOOTING.md +- FAQ: doc/FAQ.md diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/doc/ARCHITECTURE.md b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/ARCHITECTURE.md new file mode 100644 index 0000000..9b230ff --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/ARCHITECTURE.md @@ -0,0 +1,32 @@ +# Architecture + +```mermaid +flowchart TD + U[Users] -->|HTTP| V[Views and QWeb Templates] + V --> C[Controllers] + V --> W[Wizards – Transient Models] + C --> M[Models and ORM] + W --> M + M --> R[Reports] + DX[Data XML] --> M + S[Security – ACLs and Groups] -. enforces .-> M + + subgraph Sale_order_import_edifact Module - sale_order_import_edifact + direction LR + M:::layer + W:::layer + C:::layer + V:::layer + R:::layer + S:::layer + DX:::layer + end + + classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px +``` + +Notes +- Views include tree/form/kanban templates and report templates. +- Controllers provide website/portal routes when present. +- Wizards are UI flows implemented with `models.TransientModel`. +- Data XML loads data/demo records; Security defines groups and access. diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/doc/CONFIGURATION.md b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/CONFIGURATION.md new file mode 100644 index 0000000..fc28320 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/CONFIGURATION.md @@ -0,0 +1,3 @@ +# Configuration + +Refer to Odoo settings for sale_order_import_edifact. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/doc/CONTROLLERS.md b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/CONTROLLERS.md new file mode 100644 index 0000000..f628e77 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/CONTROLLERS.md @@ -0,0 +1,3 @@ +# Controllers + +This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/doc/DEPENDENCIES.md b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/DEPENDENCIES.md new file mode 100644 index 0000000..0d0b087 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/DEPENDENCIES.md @@ -0,0 +1,8 @@ +# Dependencies + +This addon depends on: + +- [sale_management](../../odoo-bringout-oca-ocb-sale_management) +- partner_identification_gln +- [base_edifact](../../odoo-bringout-oca-edi-base_edifact) +- [sale_order_import](../../odoo-bringout-oca-edi-framework-sale_order_import) diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/doc/FAQ.md b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/FAQ.md new file mode 100644 index 0000000..61b0679 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/FAQ.md @@ -0,0 +1,4 @@ +# FAQ + +- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). +- Q: How to enable? A: Start server with --addon sale_order_import_edifact or install in UI. diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/doc/INSTALL.md b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/INSTALL.md new file mode 100644 index 0000000..c12e8db --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/INSTALL.md @@ -0,0 +1,7 @@ +# Install + +```bash +pip install odoo-bringout-oca-edi-sale_order_import_edifact" +# or +uv pip install odoo-bringout-oca-edi-sale_order_import_edifact" +``` diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/doc/MODELS.md b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/MODELS.md new file mode 100644 index 0000000..76ecaea --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/MODELS.md @@ -0,0 +1,12 @@ +# Models + +Detected core models and extensions in sale_order_import_edifact. + +```mermaid +classDiagram + class business_document_import +``` + +Notes +- Classes show model technical names; fields omitted for brevity. +- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/doc/OVERVIEW.md b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/OVERVIEW.md new file mode 100644 index 0000000..b729c0e --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/OVERVIEW.md @@ -0,0 +1,6 @@ +# Overview + +Packaged Odoo addon: sale_order_import_edifact. Provides features documented in upstream Odoo 16 under this addon. + +- Source: OCA/OCB 16.0, addon sale_order_import_edifact +- License: LGPL-3 diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/doc/REPORTS.md b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/REPORTS.md new file mode 100644 index 0000000..e0ea35f --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/REPORTS.md @@ -0,0 +1,3 @@ +# Reports + +This module does not define custom reports. diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/doc/SECURITY.md b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/SECURITY.md new file mode 100644 index 0000000..e07da9d --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/SECURITY.md @@ -0,0 +1,8 @@ +# Security + +This module does not define custom security rules or access controls beyond Odoo defaults. + +Default Odoo security applies: +- Base user access through standard groups +- Model access inherited from dependencies +- No custom row-level security rules diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/TROUBLESHOOTING.md new file mode 100644 index 0000000..56853cb --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/TROUBLESHOOTING.md @@ -0,0 +1,5 @@ +# Troubleshooting + +- Ensure Python and Odoo environment matches repo guidance. +- Check database connectivity and logs if startup fails. +- Validate that dependent addons listed in DEPENDENCIES.md are installed. diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/doc/USAGE.md b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/USAGE.md new file mode 100644 index 0000000..37e9a23 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/USAGE.md @@ -0,0 +1,7 @@ +# Usage + +Start Odoo including this addon (from repo root): + +```bash +python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_order_import_edifact +``` diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/doc/WIZARDS.md b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/WIZARDS.md new file mode 100644 index 0000000..2f067e2 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/doc/WIZARDS.md @@ -0,0 +1,8 @@ +# Wizards + +Transient models exposed as UI wizards in sale_order_import_edifact. + +```mermaid +classDiagram + class SaleOrderImport +``` diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/pyproject.toml b/odoo-bringout-oca-edi-sale_order_import_edifact/pyproject.toml new file mode 100644 index 0000000..249acf5 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/pyproject.toml @@ -0,0 +1,45 @@ +[project] +name = "odoo-bringout-oca-edi-sale_order_import_edifact" +version = "16.0.0" +description = "Import Business Document EDIFACT/D96A Order - EDIFACT/D96A Order" +authors = [ + { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } +] +dependencies = [ + "odoo-bringout-oca-edi-sale_management>=16.0.0", + "odoo-bringout-oca-edi-partner_identification_gln>=16.0.0", + "odoo-bringout-oca-edi-base_edifact>=16.0.0", + "odoo-bringout-oca-edi-sale_order_import>=16.0.0", + "requests>=2.25.1" +] +readme = "README.md" +requires-python = ">= 3.11" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Office/Business", +] + +[project.urls] +homepage = "https://github.com/bringout/0" +repository = "https://github.com/bringout/0" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["sale_order_import_edifact"] + +[tool.rye] +managed = true +dev-dependencies = [ + "pytest>=8.4.1", +] diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/README.rst b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/README.rst new file mode 100644 index 0000000..b4c0f65 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/README.rst @@ -0,0 +1,137 @@ +=========================================== +Import Business Document EDIFACT/D96A Order +=========================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:73a00474d97ec5b99974450168fa2e4e38572a70c95790882f1a5f2fe60d517a + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png + :target: https://odoo-community.org/page/development-status + :alt: Alpha +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/16.0/sale_order_import_edifact + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-sale_order_import_edifact + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +UN/EDIFACT + United Nations rules for Elec­tronic Data Interchange for Administration, Commerce and Transport + +This module plugs EDIFACT/D96A ORDER in sale_order_import process. + +https://www.stedi.com/edi/edifact/D96A/messages/ORDERS + +.. IMPORTANT:: + This is an alpha version, the data model and design can change at any time without warning. + Only for development or testing purpose, do not use in production. + `More details on development status `_ + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + + +This module struggles with EDIFACT format, if you need X12 format you will need something like sale_order_import_x12 module. + +Regardless format, a concret document should need a concret specification nammed release. For example Amazon uses "D96A" specification. + +See + +Known issues / Roadmap +====================== + +* Move the previews button feature to the base module + +Changelog +========= + +.. The change log. The goal of this file is to help readers + understand changes between versions. The primary audience is + end users and integrators. Purely technical changes such as + code refactoring must not be mentioned here. + + This file may contain ONE level of section titles, underlined + with the ~ (tilde) character. Other section markers are + forbidden and will likely break the structure of the README.rst + or other documents where this fragment is included. + +14.0.1.0.0 (2023-06-07) +~~~~~~~~~~~~~~~~~~~~~~~ + +* [14.0][ADD] sale_order_import_edifact & base_edifact. + (`#779 `_) + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* ALBA Software +* Camptocamp + +Contributors +~~~~~~~~~~~~ + +* Rafa Morant (https://www.albasoft.com) +* Marc Poch +* Duong (Tran Quoc) +* Simone Orsi + +Other credits +~~~~~~~~~~~~~ + +The migration of this module from 14.0 to 16.0 was financially supported by Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-rmorant| image:: https://github.com/rmorant.png?size=40px + :target: https://github.com/rmorant + :alt: rmorant + +Current `maintainer `__: + +|maintainer-rmorant| + +This module is part of the `OCA/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/__init__.py b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/__init__.py new file mode 100644 index 0000000..9b42961 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/__init__.py @@ -0,0 +1,2 @@ +from . import models +from . import wizard diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/__manifest__.py b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/__manifest__.py new file mode 100644 index 0000000..dabcdce --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/__manifest__.py @@ -0,0 +1,24 @@ +# Copyright 2023 ALBA Software S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) + +{ + "name": "Import Business Document EDIFACT/D96A Order", + "summary": "EDIFACT/D96A Order", + "version": "16.0.1.1.0", + "development_status": "Alpha", + "category": "Sales Management", + "website": "https://github.com/OCA/edi", + "author": "ALBA Software, Camptocamp, Odoo Community Association (OCA)", + "maintainers": ["rmorant"], + "license": "AGPL-3", + "depends": [ + "sale_management", + "partner_identification_gln", + "base_edifact", + "sale_order_import", + ], + "data": [ + "wizard/sale_order_import_view.xml", + ], + "demo": ["demo/demo_data.xml"], +} diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/demo/demo_data.xml b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/demo/demo_data.xml new file mode 100644 index 0000000..54888b6 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/demo/demo_data.xml @@ -0,0 +1,116 @@ + + + + + AMATEST EU SARL + + + 38 Avenue J.F. Kennedy + 1234 + Luxembourg + + + + AMATEST EU (TST) + + 80 Bojsdoeisn + 4321 + Gliwice + + + delivery + + + AMATEST Invoice + + Accountant + + invoice + + + + + + + 5450534000017 + + + + + 5450534008617 + + + + + 5450534008143 + + + + EDIFACT Demo 1 + + consu + edifact1 + + 9783898307529 + + + EDIFACT Demo 2 + + consu + edifac2 + + 9783898307538 + + + EDIFACT Demo 3 + + consu + edifact + + 9783898307645 + + + Product1 + + consu + 1276 + + + + Product2 + + consu + 46630 + + + + Product3 + + consu + 98891 75 + + + + Product4 + + consu + 37230 + + + + Product5 + + consu + 1076 + + + diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/i18n/es.po b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/i18n/es.po new file mode 100644 index 0000000..bf41116 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/i18n/es.po @@ -0,0 +1,158 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-11-26 20:35+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/wizard/sale_order_import.py:0 +#, python-format +msgid "%s document is not a Sale Order document" +msgstr "El documento %s no es un documento de Orden de Venta" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Métodos habituales para importar documentos comerciales" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "Tipo de documento" + +#. module: sale_order_import_edifact +#: model:ir.model.fields.selection,name:sale_order_import_edifact.selection__sale_order_import__import_type__edifact +msgid "EDIFACT" +msgstr "FACTUREDI" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact1_dm_product_template +msgid "EDIFACT Demo 1" +msgstr "EDIFACT Demo 1" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact2_dm_product_template +msgid "EDIFACT Demo 2" +msgstr "EDIFACT Demo 2" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact3_dm_product_template +msgid "EDIFACT Demo 3" +msgstr "EDIFACT Demo 3" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__edifact_ok +msgid "Edifact Ok" +msgstr "Edifact Ok" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__file_ext +msgid "File Ext" +msgstr "Archivo Ext" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Import Type" +msgstr "Tipo de Importación" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "Json Data Preview" +msgstr "Vista Preliminar de Datos Json" + +#. module: sale_order_import_edifact +#: model_terms:ir.ui.view,arch_db:sale_order_import_edifact.sale_order_import_form +msgid "Parse" +msgstr "Analice" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"Partner GLN Code: %(party)s not found in order file: '%(file)s' from VAT " +"registration number '%(vat)s'." +msgstr "" +"Código GLN de socio: %(party)s no se encuentra en el fichero de pedidos: " +"%(file)s' del número de registro de IVA '%(vat)s'." + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact4_dm_product_template +msgid "Product1" +msgstr "Producto1" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact5_dm_product_template +msgid "Product2" +msgstr "Producto2" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact6_dm_product_template +msgid "Product3" +msgstr "Producto3" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact7_dm_product_template +msgid "Product4" +msgstr "Producto4" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact8_dm_product_template +msgid "Product5" +msgstr "Producto5" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__release +msgid "Release" +msgstr "Liberar" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "Importación de Órdenes de Venta desde Archivos" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "Seleccione el tipo que desea importar" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "Unknown" +msgstr "Desconocido" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "" +"Used by the btn `button_parse_order_preview` to preview data before " +"importing" +msgstr "" +"Utilizado por el btn `button_parse_order_preview` para previsualizar los " +"datos antes de importarlos" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"partner_identification_gln module should be installed with a xmlid: " +"partner_identification_gln_number_category" +msgstr "" +"El módulo partner_identification_gln debe instalarse con un xmlid: " +"partner_identification_gln_number_category" diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/i18n/fr.po b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/i18n/fr.po new file mode 100644 index 0000000..e1f4f13 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/i18n/fr.po @@ -0,0 +1,158 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-01 15:34+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/wizard/sale_order_import.py:0 +#, python-format +msgid "%s document is not a Sale Order document" +msgstr "%s document n'est pas un bon de commande" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Méthode générique pour l'importation de documents de type business" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "Type de document" + +#. module: sale_order_import_edifact +#: model:ir.model.fields.selection,name:sale_order_import_edifact.selection__sale_order_import__import_type__edifact +msgid "EDIFACT" +msgstr "EDIFACT" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact1_dm_product_template +msgid "EDIFACT Demo 1" +msgstr "EDIFACT Demo 1" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact2_dm_product_template +msgid "EDIFACT Demo 2" +msgstr "EDIFACT Démo 2" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact3_dm_product_template +msgid "EDIFACT Demo 3" +msgstr "EDIFACT Démo 3" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__edifact_ok +msgid "Edifact Ok" +msgstr "OK Edifact" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__file_ext +msgid "File Ext" +msgstr "Extension de fichier" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Import Type" +msgstr "Type d'importation" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "Json Data Preview" +msgstr "Prévisualisation données Json" + +#. module: sale_order_import_edifact +#: model_terms:ir.ui.view,arch_db:sale_order_import_edifact.sale_order_import_form +msgid "Parse" +msgstr "Analyser" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"Partner GLN Code: %(party)s not found in order file: '%(file)s' from VAT " +"registration number '%(vat)s'." +msgstr "" +"Le numéro d'adhérent GLN : %(party)s n'a pas été trouvé dans le document de " +"commande : '%(file)s' à partir du numéro TVA '%(vat)s'." + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact4_dm_product_template +msgid "Product1" +msgstr "Article1" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact5_dm_product_template +msgid "Product2" +msgstr "Article2" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact6_dm_product_template +msgid "Product3" +msgstr "Article3" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact7_dm_product_template +msgid "Product4" +msgstr "Article4" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact8_dm_product_template +msgid "Product5" +msgstr "Article5" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__release +msgid "Release" +msgstr "Libérer" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "Importer la commande client à partir des fichiers" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "Sélectionner le type d'importation souhaité" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "Unknown" +msgstr "Inconnu" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "" +"Used by the btn `button_parse_order_preview` to preview data before " +"importing" +msgstr "" +"Est utilisé par le bouton `button_parse_order_preview` afin de prévisualiser " +"avant d'importer les données" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"partner_identification_gln module should be installed with a xmlid: " +"partner_identification_gln_number_category" +msgstr "" +"le module partner_identification_gln module devrait être installé avec un " +"xmlid: partner_identification_gln_number_category" diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/i18n/it.po b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/i18n/it.po new file mode 100644 index 0000000..2404555 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/i18n/it.po @@ -0,0 +1,158 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-08-23 12:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/wizard/sale_order_import.py:0 +#, python-format +msgid "%s document is not a Sale Order document" +msgstr "Il documento %s non è un documento ordine di vendita" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_business_document_import +msgid "Common methods to import business documents" +msgstr "Metodi comuni per l'importazione di documenti di lavoro" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "Tipo documento" + +#. module: sale_order_import_edifact +#: model:ir.model.fields.selection,name:sale_order_import_edifact.selection__sale_order_import__import_type__edifact +msgid "EDIFACT" +msgstr "EDIFACT" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact1_dm_product_template +msgid "EDIFACT Demo 1" +msgstr "Demo 1 EDIFACT" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact2_dm_product_template +msgid "EDIFACT Demo 2" +msgstr "Demo 2 EDIFACT" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact3_dm_product_template +msgid "EDIFACT Demo 3" +msgstr "Demo 3 EDIFACT" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__edifact_ok +msgid "Edifact Ok" +msgstr "EDIFACT OK" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__file_ext +msgid "File Ext" +msgstr "Ext file" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Import Type" +msgstr "Tipo importazione" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "Json Data Preview" +msgstr "Anteprima dati JSON" + +#. module: sale_order_import_edifact +#: model_terms:ir.ui.view,arch_db:sale_order_import_edifact.sale_order_import_form +msgid "Parse" +msgstr "Analizza" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"Partner GLN Code: %(party)s not found in order file: '%(file)s' from VAT " +"registration number '%(vat)s'." +msgstr "" +"Codice partner GLN: %(party)s non trovato nel file ordine: '%(file)s' per " +"registrazione IVA numero '%(vat)s'." + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact4_dm_product_template +msgid "Product1" +msgstr "Prodotto1" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact5_dm_product_template +msgid "Product2" +msgstr "Prodotto2" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact6_dm_product_template +msgid "Product3" +msgstr "Prodotto3" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact7_dm_product_template +msgid "Product4" +msgstr "Prodotto4" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact8_dm_product_template +msgid "Product5" +msgstr "Prodotto5" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__release +msgid "Release" +msgstr "Rilascio" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "Importazione ordine di vendita da file" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "Selezionare un tipo che si vuole importare" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "Unknown" +msgstr "Sconosciuto" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "" +"Used by the btn `button_parse_order_preview` to preview data before " +"importing" +msgstr "" +"Utilizzato dal pulsante `button_parse_order_preview` per anteprima data " +"prima dell'importazione" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"partner_identification_gln module should be installed with a xmlid: " +"partner_identification_gln_number_category" +msgstr "" +"Il modulo partner_identification_gln deve essere installato con un xmlid: " +"partner_identification_gln_number_category" diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/i18n/sale_order_import_edifact.pot b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/i18n/sale_order_import_edifact.pot new file mode 100644 index 0000000..58a2fea --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/i18n/sale_order_import_edifact.pot @@ -0,0 +1,149 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_import_edifact +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/wizard/sale_order_import.py:0 +#, python-format +msgid "%s document is not a Sale Order document" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_business_document_import +msgid "Common methods to import business documents" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__doc_type +msgid "Document Type" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields.selection,name:sale_order_import_edifact.selection__sale_order_import__import_type__edifact +msgid "EDIFACT" +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact1_dm_product_template +msgid "EDIFACT Demo 1" +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact2_dm_product_template +msgid "EDIFACT Demo 2" +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact3_dm_product_template +msgid "EDIFACT Demo 3" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__edifact_ok +msgid "Edifact Ok" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__file_ext +msgid "File Ext" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Import Type" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "Json Data Preview" +msgstr "" + +#. module: sale_order_import_edifact +#: model_terms:ir.ui.view,arch_db:sale_order_import_edifact.sale_order_import_form +msgid "Parse" +msgstr "" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"Partner GLN Code: %(party)s not found in order file: '%(file)s' from VAT " +"registration number '%(vat)s'." +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact4_dm_product_template +msgid "Product1" +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact5_dm_product_template +msgid "Product2" +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact6_dm_product_template +msgid "Product3" +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact7_dm_product_template +msgid "Product4" +msgstr "" + +#. module: sale_order_import_edifact +#: model:product.template,name:sale_order_import_edifact.product_product_edifact8_dm_product_template +msgid "Product5" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,field_description:sale_order_import_edifact.field_sale_order_import__release +msgid "Release" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model,name:sale_order_import_edifact.model_sale_order_import +msgid "Sale Order Import from Files" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__import_type +msgid "Select a type which you want to import" +msgstr "" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "Unknown" +msgstr "" + +#. module: sale_order_import_edifact +#: model:ir.model.fields,help:sale_order_import_edifact.field_sale_order_import__json_data_preview +msgid "" +"Used by the btn `button_parse_order_preview` to preview data before " +"importing" +msgstr "" + +#. module: sale_order_import_edifact +#. odoo-python +#: code:addons/sale_order_import_edifact/models/business_document_import.py:0 +#, python-format +msgid "" +"partner_identification_gln module should be installed with a xmlid: " +"partner_identification_gln_number_category" +msgstr "" diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/models/__init__.py b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/models/__init__.py new file mode 100644 index 0000000..d695bc5 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/models/__init__.py @@ -0,0 +1 @@ +from . import business_document_import diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/models/business_document_import.py b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/models/business_document_import.py new file mode 100644 index 0000000..d79ad3c --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/models/business_document_import.py @@ -0,0 +1,57 @@ +# Copyright 2019 PlanetaTIC - Marc Poch +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import _, api, exceptions, models + + +class BusinessDocumentImport(models.AbstractModel): + _inherit = "business.document.import" + + # TODO: refactor code in partner_identification_import and drop this one + @api.model + def _hook_match_partner(self, partner_dict, chatter_msg, domain, order): + """ + 2 types + partner_dict = {'gln':""} + partner_dict = {'partner': {'gln':""}, 'address':{'country_code':"ES",...}} + """ + partner = partner_dict.get("partner", partner_dict) + partner_dict.get("address", False) + if not partner.get("gln"): + return super()._hook_match_partner(partner_dict, chatter_msg, domain, order) + party_id = partner["gln"] + + partner_id_category = self.env.ref( + "partner_identification_gln.partner_identification_gln_number_category" + ) + if not partner_id_category: + raise exceptions.UserError( + _( + "partner_identification_gln module should be installed with a xmlid: " + "partner_identification_gln_number_category" + ) + ) + id_number = self.env["res.partner.id_number"].search( + [("category_id", "=", int(partner_id_category)), ("name", "=", party_id)], + limit=1, + ) + if not id_number: + ctx = partner.get( + "edi_ctx", {"order_filename": _("Unknown"), "rff_va": _("Unknown")} + ) + raise exceptions.UserError( + _( + "Partner GLN Code: %(party)s not found in order file: '%(file)s' " + "from VAT registration number '%(vat)s'.", + party=party_id, + file=ctx.get("order_filename"), + vat=ctx.get("rff_va"), + ) + ) + + return id_number.partner_id + + # @api.model + # def post_create_or_update(self, parsed_dict, record, doc_filename=None): + # if 'origin_exchange_record_id' in record.fields_get(): + # record.origin_exchange_record_id = diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/CONFIGURE.rst b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/CONFIGURE.rst new file mode 100644 index 0000000..89cd9f6 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/CONFIGURE.rst @@ -0,0 +1,6 @@ + +This module struggles with EDIFACT format, if you need X12 format you will need something like sale_order_import_x12 module. + +Regardless format, a concret document should need a concret specification nammed release. For example Amazon uses "D96A" specification. + +See diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..ebb2469 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Rafa Morant (https://www.albasoft.com) +* Marc Poch +* Duong (Tran Quoc) +* Simone Orsi diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/CREDITS.rst b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/CREDITS.rst new file mode 100644 index 0000000..a5c8f66 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/CREDITS.rst @@ -0,0 +1 @@ +The migration of this module from 14.0 to 16.0 was financially supported by Camptocamp diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/DESCRIPTION.rst b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/DESCRIPTION.rst new file mode 100644 index 0000000..0874269 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/DESCRIPTION.rst @@ -0,0 +1,6 @@ +UN/EDIFACT + United Nations rules for Elec­tronic Data Interchange for Administration, Commerce and Transport + +This module plugs EDIFACT/D96A ORDER in sale_order_import process. + +https://www.stedi.com/edi/edifact/D96A/messages/ORDERS diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/HISTORY.rst b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/HISTORY.rst new file mode 100644 index 0000000..6d08184 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/HISTORY.rst @@ -0,0 +1,15 @@ +.. The change log. The goal of this file is to help readers + understand changes between versions. The primary audience is + end users and integrators. Purely technical changes such as + code refactoring must not be mentioned here. + + This file may contain ONE level of section titles, underlined + with the ~ (tilde) character. Other section markers are + forbidden and will likely break the structure of the README.rst + or other documents where this fragment is included. + +14.0.1.0.0 (2023-06-07) +~~~~~~~~~~~~~~~~~~~~~~~ + +* [14.0][ADD] sale_order_import_edifact & base_edifact. + (`#779 `_) diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/ROADMAP.rst b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/ROADMAP.rst new file mode 100644 index 0000000..41d2ef1 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/readme/ROADMAP.rst @@ -0,0 +1 @@ +* Move the previews button feature to the base module diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/static/description/icon.png b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/static/description/icon.png differ diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/static/description/icon.svg b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/static/description/icon.svg new file mode 100644 index 0000000..a7a26d0 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/static/description/icon.svg @@ -0,0 +1,79 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/static/description/index.html b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/static/description/index.html new file mode 100644 index 0000000..33489be --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/static/description/index.html @@ -0,0 +1,479 @@ + + + + + +Import Business Document EDIFACT/D96A Order + + + +
      +

      Import Business Document EDIFACT/D96A Order

      + + +

      Alpha License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runboat

      +
      +
      UN/EDIFACT
      +
      United Nations rules for Elec­tronic Data Interchange for Administration, Commerce and Transport
      +
      +

      This module plugs EDIFACT/D96A ORDER in sale_order_import process.

      +

      https://www.stedi.com/edi/edifact/D96A/messages/ORDERS

      +
      +

      Important

      +

      This is an alpha version, the data model and design can change at any time without warning. +Only for development or testing purpose, do not use in production. +More details on development status

      +
      +

      Table of contents

      + +
      +

      Configuration

      +

      This module struggles with EDIFACT format, if you need X12 format you will need something like sale_order_import_x12 module.

      +

      Regardless format, a concret document should need a concret specification nammed release. For example Amazon uses “D96A” specification.

      +

      See <https://www.stedi.com/edi/edifact>

      +
      +
      +

      Known issues / Roadmap

      +
        +
      • Move the previews button feature to the base module
      • +
      +
      +
      +

      Changelog

      + +
      +

      14.0.1.0.0 (2023-06-07)

      +
        +
      • [14.0][ADD] sale_order_import_edifact & base_edifact. +(#779)
      • +
      +
      +
      +
      +

      Bug Tracker

      +

      Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • ALBA Software
      • +
      • Camptocamp
      • +
      +
      + +
      +

      Other credits

      +

      The migration of this module from 14.0 to 16.0 was financially supported by Camptocamp

      +
      +
      +

      Maintainers

      +

      This module is maintained by the OCA.

      +Odoo Community Association +

      OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

      +

      Current maintainer:

      +

      rmorant

      +

      This module is part of the OCA/edi project on GitHub.

      +

      You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

      +
      +
      +
      + + diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/tests/__init__.py b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/tests/__init__.py new file mode 100644 index 0000000..90d50ce --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/tests/__init__.py @@ -0,0 +1 @@ +from . import test_edifact_order_import diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/tests/common.py b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/tests/common.py new file mode 100644 index 0000000..054da35 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/tests/common.py @@ -0,0 +1,92 @@ +# Copyright 2016 Akretion +# @author: Alexis de Lattre ) +# Copyright 2022 Camptocamp +# @author: Simone Orsi +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from functools import partial + +from odoo.tools import DotDict, file_open + + +def _get_file_content(filename): + path = "base_edifact/tests/files/" + filename + with file_open(path, "rb") as fd: + return fd.read() + + +def get_test_data(env): + ref = env.ref + return { + "Retail_EDIFACT_ORDERS_sample1.txt": DotDict( + { + "_get_content": partial( + _get_file_content, "Retail_EDIFACT_ORDERS_sample1.txt" + ), + "client_order_ref": "1AA1TEST", + "date_order": "2023-06-06", + "partner": ref("sale_order_import_edifact.partner_edi_invoiceto_dm"), + "shipping_partner": ref( + "sale_order_import_edifact.partner_edi_shipto_dm" + ), + # "invoicing_partner": ref( + # "sale_order_import_edifact.partner_edi_invoiceto_dm" + # ), + # "currency": ref("base.SEK"), + # "commitment_date": "", + "products": ref("sale_order_import_edifact.product_product_edifact1_dm") + + ref("sale_order_import_edifact.product_product_edifact2_dm") + + ref("sale_order_import_edifact.product_product_edifact3_dm"), + } + ) + } + + +def get_test_data_no_ean_in_lin(env): + ref = env.ref + return { + "test_orders_-_no_ean_in_LIN_segments.txt": DotDict( + { + "_get_content": partial( + _get_file_content, "test_orders_-_no_ean_in_LIN_segments.txt" + ), + "client_order_ref": "467819", + "date_order": "2023-03-20", + "commitment_date": "2023-03-22 00:00:00", + "partner": ref("sale_order_import_edifact.partner_edi_shipto_dm"), + "shipping_partner": ref( + "sale_order_import_edifact.partner_edi_shipto_dm" + ), + "products": ref("sale_order_import_edifact.product_product_edifact4_dm") + + ref("sale_order_import_edifact.product_product_edifact5_dm") + + ref("sale_order_import_edifact.product_product_edifact6_dm") + + ref("sale_order_import_edifact.product_product_edifact7_dm") + + ref("sale_order_import_edifact.product_product_edifact8_dm"), + "qty": [12.0, 24.0, 12.0, 24.0, 90.0], + } + ) + } + + +def get_test_data_no_price(env): + ref = env.ref + return { + "test_orders_-_no_PRI_segments.txt": DotDict( + { + "_get_content": partial( + _get_file_content, "test_orders_-_no_PRI_segments.txt" + ), + "client_order_ref": "COM-004017", + "date_order": "2023-03-20", + "commitment_date": "2023-03-21 00:00:00", + "partner": ref("sale_order_import_edifact.partner_edi_invoiceto_dm"), + "shipping_partner": ref( + "sale_order_import_edifact.partner_edi_shipto_dm" + ), + "products": ref("sale_order_import_edifact.product_product_edifact1_dm") + + ref("sale_order_import_edifact.product_product_edifact2_dm") + + ref("sale_order_import_edifact.product_product_edifact3_dm"), + "price": [1.0, 1.0, 1.0], + } + ) + } diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/tests/test_edifact_order_import.py b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/tests/test_edifact_order_import.py new file mode 100644 index 0000000..b78e488 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/tests/test_edifact_order_import.py @@ -0,0 +1,115 @@ +# Copyright 2023 ALBA Software S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) + +import base64 + +from odoo.tests.common import TransactionCase +from odoo.tools import mute_logger + +from .common import get_test_data, get_test_data_no_ean_in_lin, get_test_data_no_price + + +class TestEdifactOrderImport(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + + @mute_logger("odoo.addons.sale_order_import.wizard.sale_order_import") + def test_edifact_order_import(self): + tests = get_test_data(self.env) + for filename, expected in tests.items(): + edifact_file = expected._get_content() + wiz = self.env["sale.order.import"].create( + { + "import_type": "edifact", + "order_file": base64.b64encode(edifact_file), + "order_filename": filename, + } + ) + action = wiz.import_order_button() + so = self.env["sale.order"].browse(action["res_id"]) + self.assertEqual(so.partner_id, expected["partner"]) + + if expected.get("client_order_ref"): + self.assertEqual(so.client_order_ref, expected["client_order_ref"]) + + if expected.get("shipping_partner"): + self.assertEqual(so.partner_shipping_id, expected["shipping_partner"]) + if expected.get("invoicing_partner"): + self.assertEqual(so.partner_invoice_id, expected["invoicing_partner"]) + + if expected.get("products"): + expected_ids = sorted(expected["products"].ids) + self.assertEqual( + sorted(so.order_line.mapped("product_id").ids), expected_ids + ) + + @mute_logger("odoo.addons.sale_order_import.wizard.sale_order_import") + def test_edifact_order_import_no_ean_in_lin(self): + tests = get_test_data_no_ean_in_lin(self.env) + for filename, expected in tests.items(): + edifact_file = expected._get_content() + wiz = self.env["sale.order.import"].create( + { + "import_type": "edifact", + "order_file": base64.b64encode(edifact_file), + "order_filename": filename, + } + ) + action = wiz.import_order_button() + so = self.env["sale.order"].browse(action["res_id"]) + self.assertEqual(so.partner_id, expected["partner"]) + + if expected.get("commitment_date"): + self.assertEqual(str(so.commitment_date), expected["commitment_date"]) + + if expected.get("client_order_ref"): + self.assertEqual(so.client_order_ref, expected["client_order_ref"]) + + if expected.get("shipping_partner"): + self.assertEqual(so.partner_shipping_id, expected["shipping_partner"]) + + if expected.get("products"): + expected_ids = sorted(expected["products"].ids) + self.assertEqual( + sorted(so.order_line.mapped("product_id").ids), expected_ids + ) + self.assertEqual( + so.order_line.mapped("product_uom_qty"), expected["qty"] + ) + self.assertEqual( + so.order_line.mapped("name")[0], "Product1 description" + ) + + @mute_logger("odoo.addons.sale_order_import.wizard.sale_order_import") + def test_edifact_order_import_no_price(self): + tests = get_test_data_no_price(self.env) + for filename, expected in tests.items(): + edifact_file = expected._get_content() + wiz = self.env["sale.order.import"].create( + { + "import_type": "edifact", + "order_file": base64.b64encode(edifact_file), + "order_filename": filename, + } + ) + action = wiz.import_order_button() + so = self.env["sale.order"].browse(action["res_id"]) + self.assertEqual(so.partner_id, expected["partner"]) + + if expected.get("commitment_date"): + self.assertEqual(str(so.commitment_date), expected["commitment_date"]) + + if expected.get("client_order_ref"): + self.assertEqual(so.client_order_ref, expected["client_order_ref"]) + + if expected.get("shipping_partner"): + self.assertEqual(so.partner_shipping_id, expected["shipping_partner"]) + + if expected.get("products"): + expected_ids = sorted(expected["products"].ids) + self.assertEqual( + sorted(so.order_line.mapped("product_id").ids), expected_ids + ) + self.assertEqual(so.order_line.mapped("price_unit"), expected["price"]) diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/wizard/__init__.py b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/wizard/__init__.py new file mode 100644 index 0000000..e0ddf61 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/wizard/__init__.py @@ -0,0 +1 @@ +from . import sale_order_import diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/wizard/sale_order_import.py b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/wizard/sale_order_import.py new file mode 100644 index 0000000..59b8107 --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/wizard/sale_order_import.py @@ -0,0 +1,276 @@ +import json +import logging +import os +from base64 import b64decode +from collections import defaultdict + +from odoo import _, api, fields, models +from odoo.exceptions import UserError + +logger = logging.getLogger(__name__) + + +class SaleOrderImport(models.TransientModel): + _inherit = "sale.order.import" + + import_type = fields.Selection( + selection_add=[("edifact", "EDIFACT")], ondelete={"edifact": "cascade"} + ) + # Make doc_type field support for EDIFACT type + doc_type = fields.Selection(readonly=False) + # TODO: Move this feature to the base module or to an additional module. + json_data_preview = fields.Text( + help="Used by the btn `button_parse_order_preview` to preview data before importing" + ) + edifact_ok = fields.Boolean(compute="_compute_edifact_ok") + # Techincal fields used to get the extension part of files + file_ext = fields.Char(default="txt,d96a") + # EDIFACT format release + release = fields.Char(default="d96a") + + @api.depends("order_file", "order_filename") + def _compute_edifact_ok(self): + for rec in self: + if not (rec.order_file and rec.order_filename): + rec.edifact_ok = False + continue + extensions = rec.file_ext.split(",") + path, ext = os.path.splitext(self.order_filename) + ok = ext and ext[1:] in extensions + if not ok: + ok = b64decode(self.order_file[:4]) in (b"UNA", b"UNB") + rec.edifact_ok = ok + + # TODO: Move this feature to the base module or to an additional module. + def button_parse_order_preview(self): + """ + Generate a preview of the data before importing. + + This method is called by the button to take a quick look at the pydifact + structure ('edifact' type) and the parsed object ('order') from + the original document before importing the document. + """ + + self.ensure_one() + edifact_model = self.env["base.edifact"] + order_file_decoded = b64decode(self.order_file) + parsed_obj = dict(edifact=None, order=None) + if self.edifact_ok: + parsed_obj["edifact"] = edifact_model.pydifact_obj(order_file_decoded) + + parsed_order = self.parse_order( + order_file_decoded, self.order_filename, self.partner_id + ) + del parsed_order["attachments"] + parsed_obj["order"] = parsed_order + self.write( + { + "json_data_preview": json.dumps(parsed_obj, indent=4, default=str), + } + ) + action = self.env["ir.actions.act_window"]._for_xml_id( + "sale_order_import.sale_order_import_action" + ) + action["res_id"] = self.id + return action + + def _get_supported_types(self): + # Add more types for EDIFACT + res = super()._get_supported_types() + res.update({"edifact": ("text/plain", None)}) + return res + + @api.model + def parse_edifact_order(self, filecontent, detect_doc_type=False): + # https://github.com/nerdocs/pydifact/blob/master/pydifact/segmentcollection.py + if detect_doc_type: + if not self.edifact_ok: + return None + return self.env.context.get("default_doc_type", "rfq") + + edifact_model = self.env["base.edifact"] + interchange = edifact_model._loads_edifact(filecontent) + header = interchange.get_header_segment() + # > UNB segment: [['UNOA', '2'], ['5450534000000', '14'], + # ['8435337000003', '14'], ['230306', '0435'], '5506'] + + msg_type, msg_type_release = edifact_model._get_msg_type(interchange) + supported = ["ORDERS"] + if msg_type not in supported: + raise UserError(_("%s document is not a Sale Order document")) + + bgm = interchange.get_segment("BGM") + # Customer PO number + # BGM segment: ['220', '1LP6WZGF', '9'] + order_ref = bgm[1] + + rd = { + "doc_type": self.doc_type, + # Customer PO number + "order_ref": order_ref, + "edi_ctx": {"sender": header[1], "recipient": header[2]}, # header[1][0] + } + parties = self._prepare_edifact_parties(interchange) + order_dict = { + **rd, + **self._prepare_edifact_dates(interchange), + **self._prepare_edifact_currencies(interchange), + **parties, + } + lines = self._prepare_edifact_lines(interchange) + if lines: + order_dict["lines"] = lines + return order_dict + + @api.model + def _prepare_edifact_parties(self, interchange): + references = self._prepare_edifact_references(interchange) + parties = self._prepare_edifact_name_and_address(interchange) + if references.get("vat") and parties.get("invoice_to"): + # just for check vat + if parties["invoice_to"].get("partner"): + parties["invoice_to"]["partner"]["rff_va"] = references["vat"] + if parties.get("invoice_to") and parties["invoice_to"].get("partner"): + newpartner = parties["invoice_to"]["partner"].copy() + if parties.get("partner") and parties["partner"].get("gln"): + # To see if NAD_BY is different NAD_IV + newpartner["gln_by"] = parties["partner"]["gln"] + parties["partner"] = newpartner + # add context information + for pval in parties.values(): + partner_dict = pval.get("partner", pval) + partner_dict["edi_ctx"] = { + "order_filename": self.order_filename, + } + if references.get("vat"): + partner_dict["edi_ctx"]["rff_va"] = references["vat"] + if parties.get("company"): + parties["company"]["edi_ctx"]["vendor_code"] = references.get("vendor_code") + return parties + + @api.model + def _prepare_edifact_dates(self, interchange): + dates = defaultdict(dict) + edifact_model = self.env["base.edifact"] + for seg in interchange.get_segments("DTM"): + date_meaning_code = seg[0][0] + if date_meaning_code == "137": + dates["date"] = edifact_model.map2odoo_date(seg[0]) + elif date_meaning_code == "63": + # latest delivery date + # dates.setdefault("delivery_detail",{}) + dates["delivery_detail"]["validity_date"] = edifact_model.map2odoo_date( + seg[0] + ) + elif date_meaning_code == "2": + # Delivery date + dates["delivery_detail"][ + "commitment_date" + ] = edifact_model.map2odoo_date(seg[0]) + + return dates + + @api.model + def _prepare_edifact_references(self, interchange): + """ + RFF segment: [['CR', 'IK142']] + """ + refs = {} + for seg in interchange.get_segments("RFF"): + reference = seg[0] + reference_code = reference[0] + if reference_code == "ADE": + # ['firstorder','backorder','advantage','nyp'] + refs["account_reference"] = reference[1] + elif reference_code == "CR": + # Customer reference Number + refs["vendor_code"] = reference[1] + elif reference_code == "PD": + # Promotion Deal Number + # Number assigned by a vendor to a special promotion activity + refs["promotion_number"] = reference[1] + elif reference_code == "VA": + # Unique number assigned by the relevant tax authority to identify a + # party for use in relation to Value Added Tax (VAT). + refs["vat"] = reference[1] + + return refs + + @api.model + def _prepare_edifact_name_and_address(self, interchange): + nads = {} + edifact_model = self.env["base.edifact"] + for seg in interchange.get_segments("NAD"): + reference_code = seg[0] + if reference_code == "BY": + # NAD segment: ['BY', ['5450534001649', '', '9']] + # Customer (Buyer's GLN) + nads["partner"] = edifact_model.map2odoo_partner(seg) + elif reference_code == "SU": + # Our number of Supplier's GLN + # Can be used to check that we are not importing the order + # in the wrong company by mistake + nads["company"] = edifact_model.map2odoo_partner(seg) + elif reference_code == "DP": + # Delivery Party + nads["ship_to"] = edifact_model.map2odoo_address(seg) + elif reference_code == "IV": + # Invoice Party + nads["invoice_to"] = edifact_model.map2odoo_address(seg) + return nads + + @api.model + def _prepare_edifact_currencies(self, interchange): + currencies = {} + edifact_model = self.env["base.edifact"] + for seg in interchange.get_segments("CUX"): + usage_code = seg[0] + if usage_code == "2": + currencies["currency"] = edifact_model.map2odoo_currency(seg) + return currencies + + @api.model + def _prepare_edifact_lines(self, interchange): + edifact_model = self.env["base.edifact"] + lines = [] + pia_list = [] + qty_list = [] + pri_list = [] + imd_list = [] + + for i in interchange.get_segments("PIA"): + if i[1][1] == "SA": + pia_list.append(i) + for i in interchange.get_segments("QTY"): + if i[0][0] == "21": + qty_list.append(i) + for i in interchange.get_segments("PRI"): + pri_list.append(i) + for i in interchange.get_segments("IMD"): + if i[1] == "79": + imd_list.append(i) + + for linseg in interchange.get_segments("LIN"): + + piaseg = pia_list.pop(0) if pia_list else None + qtyseg = qty_list.pop(0) if qty_list else None + priseg = pri_list.pop(0) if pri_list else None + imdseg = imd_list.pop(0) if imd_list else None + + line = { + "sequence": int(linseg[0]), + "product": edifact_model.map2odoo_product(linseg, piaseg), + "qty": edifact_model.map2odoo_qty(qtyseg), + } + + price_unit = edifact_model.map2odoo_unit_price(priseg) + # If the product price is not provided, the price will be taken from the system + if price_unit != 0.0: + line["price_unit"] = price_unit + description = edifact_model.map2odoo_description(imdseg) + if description: + line["name"] = description + + lines.append(line) + + return lines diff --git a/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/wizard/sale_order_import_view.xml b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/wizard/sale_order_import_view.xml new file mode 100644 index 0000000..a1d1bda --- /dev/null +++ b/odoo-bringout-oca-edi-sale_order_import_edifact/sale_order_import_edifact/wizard/sale_order_import_view.xml @@ -0,0 +1,34 @@ + + + + sale.order.import.form.dev + sale.order.import + + + + + {'readonly': [('import_type','!=','edifact')]} + +
      + + + +
      + + +
      +
      +