Creating Your First Invoice

Follow this step-by-step guide to create your first PEPPOL BIS 3.0 compliant e-invoice using aiDoks. This guide reflects the actual application interface and workflow.

Before You Start

Make sure you have:

  • Access to aiDoks (free access or registered account)
  • Your company information (name, address, tax registration)
  • Customer details (name, address, tax/VAT number)
  • Products/services to invoice with prices
Step 1

Open the PEPPOL Invoice Form

Navigate to the invoice form:

  1. Click Generate E-invoice in the sidebar
  2. The form loads showing "Peppol E-Invoice Form - UBL BIS 3.0"
  3. Only mandatory fields are visible initially
Quick Start Options

Two upload zones appear at the top for faster data entry:

  • AI-Powered Invoice Recognition (Premium) - Upload invoice PDF/image for automatic data extraction
  • XML Upload (Free) - Upload existing PEPPOL XML to auto-fill the form

Skip these to fill manually.

Step 2

Fill Document Information

IDRequired

Unique invoice number for your company.

Example: INV-2025-0001
Issue DateRequired

Invoice issue date (calendar picker).

Due DateRequired

Payment due date.

Invoice Type CodeRequired

Select from dropdown.

Common: 380 (Commercial Invoice), 381 (Credit Note)
Document Currency CodeRequired

Currency for all amounts.

Example: EUR, USD
Step 3

Enter Supplier Information

In the Accounting Supplier Party section:

Business Partner Selector

If logged in with saved suppliers, use the dropdown at the top to auto-fill all supplier fields!

Party Legal Entity → Registration NameRequired

Your legal business name.

Example: OÜ Baltic Solutions
Postal AddressRequired

Complete address: Street, City, Postal Code, Country.

Party Tax Scheme → Company IDRequired

Tax/business registration number.

Example: EE123456789
Step 4

Enter Customer Information

In the Accounting Customer Party section, fill customer details (same structure as supplier). Use the Business Partner Selector if available.

Step 5

Add Invoice Lines

The Invoice Line section shows an interactive table. One line is auto-created. Fill these columns:

IDRequired

Line number (1, 2, 3...)

Invoiced QuantityRequired

Quantity with unit code.

Example: 40 HUR (hours)
Item → NameRequired

Product/service description.

Price → Price AmountRequired

Unit price excluding VAT.

Tax Category → IDRequired

Tax classification: S (Standard), Z (Zero), E (Exempt).

Tax Category → PercentRequired

VAT rate (loads based on supplier country).

Latvia: 21%, 12%, 5%, 0%
Line Extension AmountAuto-calculated

Quantity × Unit Price (automatic).

Adding More Lines

Click "Add Line" (+ button) above the table for more items. Remove lines with trash icon (min 1 line).

Step 6

Review Auto-Calculations

All totals calculate automatically in real-time:

Tax TotalAuto-grouped by VAT rate
Line Extension AmountSum of line totals
Tax Exclusive AmountBefore tax
Tax Inclusive AmountWith tax
Payable AmountFinal amount due
Step 7

Add Optional Fields (If Needed)

  1. Click "Customize Form" (gear icon)
  2. Click "Add Elements" in any section
  3. Search and select optional fields
  4. Click "Add Selected Elements"
  5. Fill the newly visible fields
Popular Optional FieldsOptional
  • Note - Payment instructions
  • Payment Means - Bank details (IBAN)
  • Payment Terms - Payment conditions
  • Order Reference - PO number
Step 8

Generate and Validate

  1. Optional: Click "Preview PDF" to see visual preview
  2. Ensure "Validate after generation" is checked
  3. Click "Generate Invoice"
  4. System creates UBL XML and validates against PEPPOL BIS 3.0
Success

If validation passes, XML downloads automatically. Send to customer via PEPPOL or email.

Validation Errors

Modal shows issues if errors found. Fix in form and regenerate, or "Download Anyway" for testing.

Step 9

Save as Template (Optional)

  1. Click "Save Template"
  2. Enter template name
  3. Check "Set as default" if desired
  4. Click "Save"
What's Saved?

Templates save: field values, visible optional fields, custom ordering. Don't save invoice-specific data like numbers/dates.

Tips & Best Practices

Use Business Partners

Save frequently used suppliers/customers for instant auto-fill.

Leverage AI Upload

Digitize paper invoices by uploading photos. Use QR code for mobile!

Create Multiple Templates

Save templates for different invoice types for consistency.

Always Validate

Keep validation enabled to catch errors before sending.

Common Issues

Can't generate - what's missing?

All fields with red asterisks (*) are required. Look for red borders indicating validation errors. Generate button is disabled until all required fields are valid.

VAT rates not showing?

VAT rates load based on supplier country. Fill in supplier's country code in Postal Address first.

How to find unit codes?

In Invoiced Quantity, click unit code dropdown. Select common units or click "Search all units" for full UN/ECE list (1800+ codes).