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.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

ublcii-1.0.3-py2.py3-none-any.whl (586.0 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page