← Back to Articles

Peppol UBL Invoices: Automated E-Invoice Generation

·JARS.LT

Peppol UBL Invoices: Automated E-Invoice Generation

JARS.LT now provides all subscription invoices in Peppol BIS Billing 3.0 format — the European standard for electronic invoicing. This means you can automatically import your JARS.LT invoices into your accounting system without manual data entry.

What is Peppol BIS Billing 3.0?

Peppol (Pan-European Public Procurement Online) is a network that enables businesses and government agencies across Europe to exchange electronic documents. BIS Billing 3.0 is the invoice format standard based on:

  • UBL 2.1 (Universal Business Language) — ISO/IEC 19845 standard
  • EN 16931 — European standard for electronic invoicing

This format is mandatory for B2G (business-to-government) transactions in the EU and is increasingly used for B2B invoicing.

How to Access Your UBL Invoices

Via Web Interface

  1. Log in to your JARS.LT account
  2. Go to Invoices section
  3. Click the UBL button next to any invoice
  4. The XML file will be downloaded automatically

Via API

You can also access invoices programmatically using your API key:

# List all invoices
curl -H "x-api-key: your_api_key" \
  https://api.jars.lt/api/v1/invoices

# Download UBL XML for specific invoice
curl -H "x-api-key: your_api_key" \
  https://api.jars.lt/api/v1/invoices/in_xxx/ubl > invoice.xml

Important: Invoice API requests do not count towards your monthly quota.

UBL Invoice Structure

Each UBL invoice includes:

  • Supplier details — UAB "Sistemium" company information, VAT number, address
  • Customer details — Your company name, VAT number (if provided in Stripe)
  • Invoice metadata — Number, date, currency, payment status
  • Line items — Subscription details with period dates
  • Tax breakdown — VAT amount and percentage
  • Totals — Subtotal, tax, and payable amount

Example UBL Structure

<?xml version="1.0" encoding="UTF-8"?>
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2">
  <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>
  <cbc:ID>INV-0091</cbc:ID>
  <cbc:IssueDate>2026-02-12</cbc:IssueDate>
  <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
  <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>

  <cac:AccountingSupplierParty>
    <!-- UAB "Sistemium" details -->
  </cac:AccountingSupplierParty>

  <cac:AccountingCustomerParty>
    <!-- Your company details from Stripe -->
  </cac:AccountingCustomerParty>

  <cac:TaxTotal>...</cac:TaxTotal>
  <cac:LegalMonetaryTotal>...</cac:LegalMonetaryTotal>
  <cac:InvoiceLine>...</cac:InvoiceLine>
</Invoice>

Importing into Accounting Software

UBL invoices can be imported into most modern accounting systems:

  • SAP Business One — Import via XML
  • Microsoft Dynamics — E-invoicing module
  • Odoo — Peppol connector
  • Xero — Via Peppol access point
  • 1C — XML import functionality
  • Rivile — E-sąskaita module

Check your accounting software documentation for specific import instructions.

Customer Data in Invoices

For accurate invoice generation, make sure your company details are set in Stripe:

  1. Log in to your JARS.LT account
  2. Go to subscription management
  3. Click "Update billing information"
  4. Fill in: Company name, VAT number, Address

These details will appear in the AccountingCustomerParty section of your UBL invoices.

API Reference

EndpointMethodDescription
/api/v1/invoicesGETList all invoices
/api/v1/invoices/:idGETGet invoice details
/api/v1/invoices/:id/ublGETDownload UBL XML

See the full API documentation for more details.

Questions?

If you have questions about UBL invoices or need help with integration, contact us.