Skip to main content

Create, Sign and Send an Invoice

This guide walks you through creating an invoice through to its acceptance by TTN Elfatoura.

You can track your invoicing statistics (monthly quota, total, breakdown) from the portal:

Invoice statistics


Create an Invoice

New Invoice

  1. In the main menu of Fatoora App, click "Invoices" → "New invoice"
  2. Select the document type:
    • Invoice (I-11) — standard invoice
    • Credit note (I-13) — credit note
    • Debit note (I-16)
  3. Select the partner (customer) from the directory

New invoice

Line Entry

  1. For each line, click "Add a line"
  2. Select a product from the catalog or enter manually:
    • Product code
    • Description
    • Quantity
    • Unit price (excl. VAT)
    • VAT rate
  3. Totals (excl. VAT, VAT, incl. VAT) are calculated automatically

Add lines

Preview

  1. Click "Preview" to see the invoice rendering
  2. Verify all information before proceeding to signature

TEIF XML Generation

  1. Click "Generate XML"
  2. Fatoora App generates the compliant TEIF 1.8.8 XML
  3. You can check the XML via the "View XML" button

XML generation


Sign and Send an Invoice

Signing Process

  1. Select the invoice(s) to sign from the list
  2. Click "Sign and Send"
  3. In the dialog box, verify:
    • The selected certificate
    • The invoice information
  4. Enter the PIN of your token
  5. Click "Confirm signature"

Important: Entering an incorrect PIN immediately stops the process to protect your token. PKCS#11 tokens lock after several consecutive incorrect attempts.

Signing process

Signing Workflow

Fatoora App automatically performs the following steps:

  1. Opening PKCS#11 session with your certificate
  2. Computing XAdES digests (SHA-256)
  3. RSA signing via hardware token (the private key never leaves the token)
  4. Post-signature validation (TunTrust chain, algorithms)
  5. SOAP submission to TTN Elfatoura

Signing workflow

TTN Status Tracking

After submission, the invoice displays one of the statuses:

StatusMeaning
ProcessingTTN processing in progress
RejectedInvoice rejected by TTN (see reason)

To get the final validation status, click the invoice sync icon:

  1. Connection to TTN
  2. Request validation status
  3. Update local database

After receiving the final status:

StatusMeaning
AcceptedInvoice accepted by TTN — legal value ✅
RejectedInvoice rejected by TTN (see reason) ❌

Signature status

Downloading Signed Documents

After signing and TTN acceptance:

  • PDF: click the PDF icon on the invoice
  • Signed TEIF XML: click the XML icon

Next step