Skip to main content
Glama

Invoiceer e-invoicing tools

Create an e-invoice

create_einvoice
Read-only

Create a valid e-invoice from structured data: XRechnung 3.0 (UBL or CII), ZUGFeRD / Factur-X PDF (EN 16931) or Peppol BIS Billing 3.0. The file is checked with the official KoSIT validator before it is returned; if it fails, you get the rule errors instead of a file. XML comes back as text in xml, the ZUGFeRD PDF as base64 in pdf_base64. XRechnung needs a seller contact (contact, phone, email), a buyer email or Peppol ID (electronic address), a buyer_reference (Leitweg-ID for German authorities) and payment details (iban). Peppol needs peppol_id for seller and buyer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bicNo
ibanNo
noteNo
buyerYes
linesYes
formatNoxrechnung-ubl
numberYes
sellerYes
currencyNoEUR
due_dateNoYYYY-MM-DD, default issue + 14 days
issue_dateNoYYYY-MM-DD, default today
period_endNo
credit_noteNo
paid_amountNoAlready paid (BT-113), e.g. down payments
skonto_baseNoOptional base amount if Skonto applies to part of the amount due
skonto_daysNoEarly-payment discount (Skonto): days; written into BT-20 in the XRechnung format (BR-DE-18)
period_startNo
payment_termsNo
skonto_percentNoSkonto percentage, e.g. 2
buyer_referenceNo
order_referenceNo
payment_referenceNo
preceding_invoiceNoOriginal invoice number (credit notes)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / paid_amount
      Added value: +{
      +  "description": "Already paid (BT-113), e.g. down payments",
      +  "type": "number"
      +}
    • addedInput schema / properties / skonto_base
      Added value: +{
      +  "description": "Optional base amount if Skonto applies to part of the amount due",
      +  "type": "number"
      +}
    • addedInput schema / properties / skonto_days
      Added value: +{
      +  "description": "Early-payment discount (Skonto): days; written into BT-20 in the XRechnung format (BR-DE-18)",
      +  "type": "integer"
      +}
    • addedInput schema / properties / skonto_percent
      Added value: +{
      +  "description": "Skonto percentage, e.g. 2",
      +  "type": "number"
      +}
  2. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources