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. Open Generate in the sidebar and click E-invoice
  2. The form loads showing "Peppol E-Invoice Form - UBL BIS 3.0", with an Output profile selector above it β€” PEPPOL BIS 3.0, a national profile (XRechnung, France, Romania, Netherlands, Portugal, Spain Facturae, Estonia e-arve) or a Factur-X EN 16931 PDF
  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
  • Import XML E-Invoice (Free) - Upload a UBL, CII / Factur-X, Facturae or e-arve invoice to auto-fill all fields

Skip these to fill manually. Whichever you upload stays on screen beside the form β€” toggle it with Show Document / Hide Document.

Step 2

Fill Document Information

IDRequired

Unique invoice number for your company.

Example: INV-2026-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).

Reuse a Line: the Product Catalog

Invoicing the same thing every month? Fill the line once and click the save icon on that row ("Save line as product"). Next time, "Add product line" inserts it already filled in β€” item, unit, price, VAT category and any optional columns you had added. Only the quantity is left to you, starting at 1. Saved products live under Products in the sidebar and need a free account.

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 "Add Fields" in the toolbar at the top of the form
  2. Grayed-out placeholders appear for every optional field β€” click one to add it
  3. Or type in the "Search fields" box to jump straight to a field
  4. Click "Exit Add Fields" when you are done
  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. aiDoks builds the file for your output profile β€” UBL or CII XML for the PEPPOL and national profiles, a Factur-X PDF, or a Facturae or e-arve file β€” and validates it against that format's own rules
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.

Creating a Credit Note

A credit note cancels or corrects an invoice you already sent. aiDoks uses the same form for both documents, so everything above still applies β€” there are two ways in:

From the invoice you are looking at

Click "Create credit note from this invoice" in the action buttons. The credit note opens with the supplier, customer and lines already carried over β€” quantities become credited quantities β€” while the invoice number, issue date and due date are cleared for you to fill in fresh.

From scratch

Open Generate in the sidebar and click Credit Note. The form loads as "Peppol Credit Note Form", with its own upload zones β€” AI recognition for a PDF or photo, and XML import for a UBL or CII credit note β€” and the submit button reads Generate Credit Note.

Always Reference the Original Invoice

A credit note has to say which invoice it corrects β€” that is the Billing Reference section, and the document type code is 381. Starting from an invoice fills it in for you with that invoice's number and issue date; starting from scratch, add it yourself.

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).