Skip to main content

Translate Invoice UBL 2.1 to/from CrossIndustryInvoice (CII) D16B

Project description


Translate Invoice UBL 2.1 to/from CrossIndustryInvoice (CII) D16B


  • Pre-required: python2 or python3
pip install ublcii


ubl2cii Input-Invoice-UBL.xml Output-Invoice-CII-D16B.xml
cii2ubl Input-Invoice-CII-D16B.xml Output-Invoice-UBL.xml


  • Ludovic Watteaux (Development)
  • Claude Charmot (Specifications)



  • v1.0.3 : 2019-07-29 - Fixes and Updates

    • [CII2UBL] Fixes for /Invoice/Delivery/DeliveryLocation/ID
    • Add xml namespaces: qdt, udt, xsi, xsi:schemaLocation
    • [CII2UBL] Map /IncludedNote/SubjectCode in begin of /Invoice/Note
    • Increase xml D16B ram:Content len to 1024
    • Set minimum occurance of UBL /Invoice/InvoiceLine to 0
  • v1.0.2 : 2019-07-23 - Fixes and Updates

    • Map field /Invoice/InvoiceLine/AllowanceCharge/ChargeIndicator
    • Set default mandatory field ChargeIndicator to 'false'
    • Fix /Invoice/PaymentMeans
    • Fix /Invoice/InvoiceLine/Price/AllowanceCharge/BaseAmount
  • v1.0.1 : 2019-07-19 - Packaging infos updates

  • v1.0.0 : 2019-07-18 - First release on pypi

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ublcii, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size ublcii-1.0.3-py2.py3-none-any.whl (586.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page