Content

Overview

    Project description

    Intelligent Invoicing for e-Commerce

    Table of Contents

    Lichen Xalgorithms is currently being planned to specify and prototype a generic free/libre/open back-end solution to enhance any e-invoice with a rulesbase to enable platform-independent automation of externally-dependent functions (e.g. taxes, price benchmarking, etc.) in alignment with primary global standards in financial messaging (ISO 20022), e-commerce (ISO 15000), business documents (OASIS UBL) and assurance (ISAE 3402) Client-side choices in any Lichen-enabled e-commerce solution will generate a computed table of attributes for price and payment.

    The Lichen Xalgorithms Project team is not producing a stand-alone e-commerce solution. Ours is intentionally and strategically something that will only useful when implemented with any e-commerce solution.

    This project is at an early stage, and we'll be grateful for any feedback. Our plans are that:
    • Any e-commerce environment should be able to access the generic Xalgorithms rulesbase as an external service, or as a template for internal adaptation;
    • The Lichen e-invoice is essentially a memory-resident set of tables with a user interface, with streamlined linkage to a distributed repository of context-sensitive algorithms to securely enable:
      • Automated application of diverse consumption-side fiscal rules (e.g. sales taxes, excise taxes, tax exemptions, tax credits, etc);
      • Loyalty formulas developed by the seller, the buyer or a third party trusted by either of both;
      • Algorithmic pricing (e.g. calibrated to one or more vendor-selected benchmark indices);
      • Any price dimension and payment schedule (e.g. from micro-payments to large transfers; one-time, series, conditional, periodic);
      • Any other user-defined legally-sound formulas that the buyer or seller decide to implement.
    • The specification shall come with a working proof-of-concept reference implementation suitable for testing, genuine implementation, porting;
    • A live test instance of the rulesbase shall be maintained as part of the proof-of-concept, populated with well-structured algorithms for various taxes, price benchmarks and other useful examples;
    • The system is being designed to function with any ISO 20022-compliant payment system (bank accounts; telco payments; credit cards; giros; blockchains; prepaid cards, etc.);
    • Project documentation will explain how the Lichen Xalgorithms package will also be useful towards improving the consistency and efficiency of non-electronic transactions.

    Co-Coordinator: Joseph Potvin, The Opman Company <>

    The Lichen Xalgorithms Project community was started by DataKinetics and The Opman Company in January 2015, and is 100% free/libre/open. Documentation is being shared under the Creative Commons Attribution License 4.0 (or a later version of that license) and the project's default license for source code is the Mozilla 2.0 License (or a later version of that license).

    Lichen Xalgorithms Sub-Projects

    The project community is working to provide the following:

    1. e-Invoice Specification

    A generic specification within standards-based requirements for the e-invoice (UBL, ISO 15000 and ISO 20022) of any purchasing system. The project would instantiate an auditable object that contains a set of entities, attributes and relationships to automate some attributes of price and payment, but it does not itself include "the payment". The OnePass e-invoice object would exist securely in various potential states:
    • Instantiated
    • Communicated
    • Active
    • Immutable

    Documentation of the OnePass specification will be distributed and maintained under the CC-by 4.0 Licence, and can be dual licensed with other free/libre/open licenses if helpful towards inclusion in other open specifications.

    2. A Reference Implementation of the OnePass e-Invoice Extensions

    Reference implementation software of the OnePass e-Invoice in JSON or generic SQL which can be readily adapted or ported to any electronic commerce environment. The source code will be distributed and maintained under the Mozilla 2.0 License (or more recent), and may also be dual-licensed as required.

    3. Specification of the OnePass Use of an ISO 15000-Compliant Registry/Repository, with ISO 20022-Compliant Messaging to Convey Rules Called Upon by any OnePass-Enabled e-Invoice

    A generic specification of elements in a registry/repository within the ISO 15000-4 standard, in alignment with RESTful SOA requirements, to contain all declarative statements required for a OnePass-enabled e-Invoice to be computed during instantiation. Documentation of this specification will be distributed and maintained under the CC-by 4.0 Licence (or more recent).

    4. A Reference Implementation of a Registry/Repository Required by Any OnePass Enabled e-Invoice

    A reference implementation in the form of adaptation instructions and/or software for a standard ISO 15000 registry/repository, which can be readily adapted or ported to any e-commerce services environment. Source code will be distributed and maintained under the Mozilla 2.0 License (or more recent).

    5. A Business Rules Authoring Service

    A business rules authoring service to transform context-sensitive business rule specifications (e.g. tax rules, price benchmarks, geospatial jurisdiction definitions, etc.) into well-formed standard JSON or SQL statements to be stored in the OnePass-enabled registry/repository. The statements will be distributed and maintained under the Mozilla 2.0 license (or more recent).

    6. A Live Proof-of-Concept Reference Implementation of the OnePass Supporting Registry/Repository

    A live proof-of-concept reference implementation of the OnePass-enabled registry/repository, populated with the required business rules, would be accessible on a subscription basis. A live service to support genuine transactions will be compliant with ISAE 3402 and can also be assured with a commercial performance bond.

    7. Extensions to a Agent-Based Multi-Economy Model as a Virtual Lab to Evaluate Emergent Effects of OnePass

    Extensions to a free/libre/open agent-based multi-economy model that analysts can use to determine the emergent effects of various scenarios for the entities, attributes and relationships of payment in a OnePass-enabled e-commerce system. Essentially payment arrangements that prove to be relatively more efficient and/or effective for payees and payers proliferate via an inter-organizational learning function, to influence broader systemic outcomes. The extended model will provide a virtual laboratory to enable forward analysis of consumption-based tax policies, and various price benchmarking designs. The source code for these model extensions will be distributed and maintained under the Mozilla 2.0 License (or more recent).

    8. A Live Proof-of-Concept Reference Implementation of the Virtual Lab to Evaluate Emergent Effects of OnePass

    A live proof-of-concept reference implementation of the OnePass simulation model to be accessed on a subscription basis. A live service to support genuine policy or business analysis will be compliant with ISAE 3402 and can also be assured with a commercial performance bond.

    Illustration of the OnePass Project Scope

    The eight elements above are tentatively associated with elements of a conceptual class diagram as follows:

    External Refernces

    External references are maintained in the project wiki.

    Participate in the OnePass Project

    Please contact "Joseph Potvin" <> or @jrpotvin to participate in advancing the OnePass Project.

    DataKinetics
    The Opman Company

    Work package tracking

    View all work packages

    Latest news

    Xalgorithms Foundation Management Migrated to OpenProject

    Added by Joseph Potvin almost 3 years ago

    During the past month, all project management under Xalgorithms Foundation has migrated to the OpenProject platform.

    View all news