Vállalkozási számlák kezelése

Rögzítse a vállalkozása által kiállított és beérkezett számlákat: az összeget, amellyel egy ügyfél tartozik Önnek, és az összeget, amellyel Ön tartozik egy beszállítónak. Ez az útmutató mindkét fajtát bemutatja, és megmutatja, mely rekordok táplálják az adószámításait.

A vállalkozási számla nem ugyanaz, mint egy beszerzési bizonylat, amelyet bizonyítékként csatol. A bizonylatok egy főkönyvi tranzakció levonható kiadását támasztják alá (lásd: Számlák és bizonylatok csatolása). Az itt rögzített vállalkozási számlák maguk a kereskedelmi dokumentumok: egy kiállított számla (Ön számlázott egy ügyfélnek) vagy egy beérkezett számla (egy beszállító számlázott Önnek).

Mielőtt hozzákezd

Szüksége lesz:

  • Egy aktív adózói profilra. Az alábbi minden parancs az aktív profillal dolgozik; ha nincs beállítva, a parancs elutasítja a műveletet. Lásd: Állítsa be adózói profilját.

  • Egy mesterkulcs-jelmondatra. Az eszköz akkor kéri be, amikor egy munkamenetben először nyitja meg titkosított tárolóját.

Az aeat parancssori felület (CLI) a súgóját és üzeneteit spanyolul adja ki; az oldalon szereplő magyar szöveg leírja, mit tesz az egyes lépések.

Egy számla kétféle tárolása

A Cadrumo két különböző helyen tárolja a számlákat, két különböző célra.

A számlái egy helyen vannak (aeat app ledger invoice ...): nyilvántartás arról, ki tartozik Önnek és kinek tartozik Ön. Ezzel rögzítsen, listázzon és szerkesszen számlákat.

Minden rögzített számla összekapcsolható és számítható. Kapcsolja banki tranzakcióhoz az aeat app ledger link paranccsal, és a számítás közvetlenül olvassa: például a Modelo 349, a Közösségen belüli ügyletek összesítő nyilatkozata.

Minden számlát az invoice add paranccsal rögzítsen. Nincs második példány, amit létre kellene hozni.

Minden parancs --kind issued vagy --kind received értéket vesz fel. A kiállított (issued) azt jelenti, hogy egy ügyfél tartozik Önnek (behajtható számla); a beérkezett (received) azt jelenti, hogy Ön tartozik egy beszállítónak (fizetendő számla).

Kiállított számla rögzítése

Rögzítsen egy számlát, amelyet egy ügyfélnek küldött. A parancs visszaadja az új invoice_id azonosítót, a feloldott source_kind értéket (collectible_invoice) és a beírt értékeket:

1Record an invoice you sent to a customer.
aeat --format json app ledger invoice add --kind issued --counterparty-nif B12345674 \
  --country-code ES --counterparty-name Cliente SL --invoice-number FAC-2026-001 \
  --invoice-date 2026-02-15 --taxable-base 1000 --iva-rate 21
aeat --format json app ledger invoice add --kind issued --counterparty-nif B12345674 `
  --country-code ES --counterparty-name Cliente SL --invoice-number FAC-2026-001 `
  --invoice-date 2026-02-15 --taxable-base 1000 --iva-rate 21
{
  "active_profile": "docs-sequence-sandbox",
  "command": "ledger.invoice.add",
  "notices": [],
  "result": {
    "base_total": "1000.00",
    "base_total_eur": "1000.00",
    "bucket_id": "<bucket-id>",
    "counterparty_country": "ES",
    "counterparty_name": "Cliente SL",
    "counterparty_tax_id": "sha256:133cad41",
    "currency": "EUR",
    "fx_rate": null,
    "fx_rate_date": null,
    "fx_rate_source": null,
    "grand_total": "1210.00",
    "grand_total_eur": "1210.00",
    "invoice_id": "8156e70ce16a05f4588f7516d49da7ffd4115964a75b079061e624a41ad30211",
    "invoice_number": "FAC-2026-001",
    "issued_at": "2026-02-15",
    "iva_total": "210.00",
    "iva_total_eur": "210.00",
    "kind": "issued",
    "linked_transaction_ids": [],
    "notes": "",
    "operation_type": null,
    "payment_status": "PENDING",
    "recargo_amount": null,
    "retention_amount": null,
    "retention_rate": null
  },
  "schema_version": "2",
  "status": "success"
}
2Confirm it resolved to a collectible invoice.
aeat --format json app ledger invoice view {invoice_id}
aeat --format json app ledger invoice view {invoice_id}
{
  "active_profile": "docs-sequence-sandbox",
  "command": "ledger.invoice.view",
  "notices": [],
  "result": {
    "base_total": "1000.00",
    "base_total_eur": "1000.00",
    "bucket_id": "<bucket-id>",
    "counterparty_country": "ES",
    "counterparty_name": "Cliente SL",
    "counterparty_tax_id": "sha256:133cad41",
    "currency": "EUR",
    "fx_rate": null,
    "fx_rate_date": null,
    "fx_rate_source": null,
    "grand_total": "1210.00",
    "grand_total_eur": "1210.00",
    "invoice_id": "8156e70ce16a05f4588f7516d49da7ffd4115964a75b079061e624a41ad30211",
    "invoice_number": "FAC-2026-001",
    "issued_at": "2026-02-15",
    "iva_total": "210.00",
    "iva_total_eur": "210.00",
    "kind": "issued",
    "linked_transaction_ids": [],
    "notes": "",
    "operation_type": null,
    "payment_status": "PENDING",
    "recargo_amount": null,
    "retention_amount": null,
    "retention_rate": null
  },
  "schema_version": "2",
  "status": "success"
}

Confirm the issued invoice was stored as a collectible invoice.

Jegyezze fel a rövid invoice_id azonosítót; ez alapján (vagy egy egyértelmű előtag alapján) hivatkozik a számlára.

Beérkezett számla rögzítése

Rögzítsen egy számlát, amelyet egy beszállító küldött Önnek. A source_kind payable_invoice értékre oldódik fel:

1Record an invoice a supplier sent you.
aeat --format json app ledger invoice add --kind received --counterparty-nif A87654323 \
  --country-code ES --counterparty-name Proveedor SA --invoice-number PROV-99 \
  --invoice-date 2026-02-20 --taxable-base 500 --iva-rate 21
aeat --format json app ledger invoice add --kind received --counterparty-nif A87654323 `
  --country-code ES --counterparty-name Proveedor SA --invoice-number PROV-99 `
  --invoice-date 2026-02-20 --taxable-base 500 --iva-rate 21
{
  "active_profile": "docs-sequence-sandbox",
  "command": "ledger.invoice.add",
  "notices": [],
  "result": {
    "base_total": "500.00",
    "base_total_eur": "500.00",
    "bucket_id": "<bucket-id>",
    "counterparty_country": "ES",
    "counterparty_name": "Proveedor SA",
    "counterparty_tax_id": "sha256:c1fcd88f",
    "currency": "EUR",
    "fx_rate": null,
    "fx_rate_date": null,
    "fx_rate_source": null,
    "grand_total": "605.00",
    "grand_total_eur": "605.00",
    "invoice_id": "2d276305600c31de666ddd61dc33377cde314c59c10f99608db208ec0f46da1b",
    "invoice_number": "PROV-99",
    "issued_at": "2026-02-20",
    "iva_total": "105.00",
    "iva_total_eur": "105.00",
    "kind": "received",
    "linked_transaction_ids": [],
    "notes": "",
    "operation_type": null,
    "payment_status": "PENDING",
    "recargo_amount": null,
    "retention_amount": null,
    "retention_rate": null
  },
  "schema_version": "2",
  "status": "success"
}
2Confirm it resolved to a payable invoice.
aeat --format json app ledger invoice view {invoice_id}
aeat --format json app ledger invoice view {invoice_id}
{
  "active_profile": "docs-sequence-sandbox",
  "command": "ledger.invoice.view",
  "notices": [],
  "result": {
    "base_total": "500.00",
    "base_total_eur": "500.00",
    "bucket_id": "<bucket-id>",
    "counterparty_country": "ES",
    "counterparty_name": "Proveedor SA",
    "counterparty_tax_id": "sha256:c1fcd88f",
    "currency": "EUR",
    "fx_rate": null,
    "fx_rate_date": null,
    "fx_rate_source": null,
    "grand_total": "605.00",
    "grand_total_eur": "605.00",
    "invoice_id": "2d276305600c31de666ddd61dc33377cde314c59c10f99608db208ec0f46da1b",
    "invoice_number": "PROV-99",
    "issued_at": "2026-02-20",
    "iva_total": "105.00",
    "iva_total_eur": "105.00",
    "kind": "received",
    "linked_transaction_ids": [],
    "notes": "",
    "operation_type": null,
    "payment_status": "PENDING",
    "recargo_amount": null,
    "retention_amount": null,
    "retention_rate": null
  },
  "schema_version": "2",
  "status": "success"
}

Confirm the received invoice was stored as a payable invoice.

Listázás, megtekintés, frissítés és eltávolítás

Listázza mindkét fajtát, vagy szűrjön egyre, adjon egy megjegyzést egy tárolt számlához, majd távolítsa el. Egyetlen számla megtekintése az azonosítóját (vagy egy egyértelmű előtagját) és a fajtáját veszi fel:

1List every invoice, both kinds.
aeat app ledger invoice list
aeat app ledger invoice list
bucket	<profile-id>
count	1
876198eb9b01ec6643765dd6bb7141567df25dc89e280632bffce3f8f9d3e9f9	issued	sha256:133cad41	FAC-2026-050	2026-02-15	1210.00
2Filter the list to issued invoices only.
aeat app ledger invoice list --kind issued
aeat app ledger invoice list --kind issued
bucket	<profile-id>
count	1
876198eb9b01ec6643765dd6bb7141567df25dc89e280632bffce3f8f9d3e9f9	issued	sha256:133cad41	FAC-2026-050	2026-02-15	1210.00
3Add a note to the invoice.
aeat app ledger invoice update {invoice_id} --notes paid late
aeat app ledger invoice update {invoice_id} --notes paid late
invoice_id	876198eb9b01ec6643765dd6bb7141567df25dc89e280632bffce3f8f9d3e9f9
kind	issued
counterparty_name	Cliente SL
counterparty_tax_id	sha256:133cad41
invoice_number	FAC-2026-050
issued_at	2026-02-15
base_total	1000.00
iva_total	210.00
grand_total	1210.00
currency	EUR
operation_type	
invoice_class	ORDINARIA
series	
rectifies_invoice_number	
recargo_amount	
iva_category	
linked_transaction_ids	
bucket_event_ids	d4fee17b4a2c566db0b31f44bc80726aca5a9648795c0ae17b933b9cf01b99b0
4Remove the invoice, confirming with --yes.
aeat --format json app ledger invoice remove {invoice_id} --yes
aeat --format json app ledger invoice remove {invoice_id} --yes
{
  "active_profile": "docs-sequence-sandbox",
  "command": "ledger.invoice.remove",
  "notices": [],
  "result": {
    "base_total": "1000.00",
    "base_total_eur": "1000.00",
    "bucket_id": "<bucket-id>",
    "counterparty_country": "ES",
    "counterparty_name": "Cliente SL",
    "counterparty_tax_id": "sha256:133cad41",
    "currency": "EUR",
    "fx_rate": null,
    "fx_rate_date": null,
    "fx_rate_source": null,
    "grand_total": "1210.00",
    "grand_total_eur": "1210.00",
    "invoice_id": "876198eb9b01ec6643765dd6bb7141567df25dc89e280632bffce3f8f9d3e9f9",
    "invoice_number": "FAC-2026-050",
    "issued_at": "2026-02-15",
    "iva_total": "210.00",
    "iva_total_eur": "210.00",
    "kind": "issued",
    "linked_transaction_ids": [],
    "notes": "paid late",
    "operation_type": null,
    "payment_status": "PENDING",
    "recargo_amount": null,
    "retention_amount": null,
    "retention_rate": null
  },
  "schema_version": "2",
  "status": "success"
}

Confirm the note was added and the invoice then removed.

Közösségen belüli számla rögzítése

Egy másik EU-tagországbeli, afanyilvántartásba vett vállalkozásnak történő értékesítés vagy tőle való beszerzés közösségen belüli ügylet. Rögzítse a kiállított vagy beérkezett számlán a partner országával és EU-s afaszámával, valamint a Modelo 349 ügylettípusával:

1Record a supply to a VAT-registered EU customer with its M349 operation type.
aeat --format json app ledger invoice add --kind issued --counterparty-nif DE345678901 \
  --counterparty-name Kunde GmbH --invoice-number EU-001 --invoice-date 2026-02-10 \
  --taxable-base 2000 --iva-rate 0 --country-code DE --operation-type E
aeat --format json app ledger invoice add --kind issued --counterparty-nif DE345678901 `
  --counterparty-name Kunde GmbH --invoice-number EU-001 --invoice-date 2026-02-10 `
  --taxable-base 2000 --iva-rate 0 --country-code DE --operation-type E
{
  "active_profile": "docs-sequence-sandbox",
  "command": "ledger.invoice.add",
  "notices": [],
  "result": {
    "base_total": "2000.00",
    "base_total_eur": "2000.00",
    "bucket_id": "<bucket-id>",
    "counterparty_country": "DE",
    "counterparty_name": "Kunde GmbH",
    "counterparty_tax_id": "sha256:a9224776",
    "currency": "EUR",
    "fx_rate": null,
    "fx_rate_date": null,
    "fx_rate_source": null,
    "grand_total": "2000.00",
    "grand_total_eur": "2000.00",
    "invoice_id": "6d5fa3b4e91913a5e2f8245f40061fe824ecb7894c88b418d6e8c0fb1be79ca7",
    "invoice_number": "EU-001",
    "issued_at": "2026-02-10",
    "iva_total": "0.00",
    "iva_total_eur": "0.00",
    "kind": "issued",
    "linked_transaction_ids": [],
    "notes": "",
    "operation_type": "E",
    "payment_status": "PENDING",
    "recargo_amount": null,
    "retention_amount": null,
    "retention_rate": null
  },
  "schema_version": "2",
  "status": "success"
}
2Confirm the operation type and country were stored.
aeat --format json app ledger invoice view {invoice_id}
aeat --format json app ledger invoice view {invoice_id}
{
  "active_profile": "docs-sequence-sandbox",
  "command": "ledger.invoice.view",
  "notices": [],
  "result": {
    "base_total": "2000.00",
    "base_total_eur": "2000.00",
    "bucket_id": "<bucket-id>",
    "counterparty_country": "DE",
    "counterparty_name": "Kunde GmbH",
    "counterparty_tax_id": "sha256:a9224776",
    "currency": "EUR",
    "fx_rate": null,
    "fx_rate_date": null,
    "fx_rate_source": null,
    "grand_total": "2000.00",
    "grand_total_eur": "2000.00",
    "invoice_id": "6d5fa3b4e91913a5e2f8245f40061fe824ecb7894c88b418d6e8c0fb1be79ca7",
    "invoice_number": "EU-001",
    "issued_at": "2026-02-10",
    "iva_total": "0.00",
    "iva_total_eur": "0.00",
    "kind": "issued",
    "linked_transaction_ids": [],
    "notes": "",
    "operation_type": "E",
    "payment_status": "PENDING",
    "recargo_amount": null,
    "retention_amount": null,
    "retention_rate": null
  },
  "schema_version": "2",
  "status": "success"
}

Confirm the operation type and country were stored on the issued invoice.

A --operation-type egy M349 ügyletkulcsot vesz fel: E termékértékesítés, M értékesítés adómentes import után, H ugyanez adóügyi képviselőn keresztül, A termékbeszerzés, T háromszögügyletek, S nyújtott szolgáltatások, I igénybe vett szolgáltatások, valamint a vevői készlet (call-off-stock) kulcsai: R (átszállítás), D (visszaszállítás) és C (helyettesítés).

Számítás táplálása a katalógusból

Ahhoz, hogy egy számla elérjen egy modelo-számítást, hozza létre a katalógusban. A katalógusmásolat az, amelyet egy számítás olvas, és amelyet egy banki tranzakcióhoz köthet. A parancssorozat katalogizál egy közösségen belüli értékesítést, listázza és megvizsgálja a katalógust, majd létrehozza és kiszámítja a Modelo 349 összesítő nyilatkozatot arra az időszakra, amelybe a számla esik:

1Catalogue an intra-community supply so a calculation can read it.
aeat --format json app ledger invoice add --kind issued --counterparty-nif DE345678901 \
  --counterparty-name Kunde GmbH --invoice-number EU-CAT-001 --invoice-date 2026-02-10 \
  --taxable-base 2000 --iva-rate 0 --country-code DE --operation-type E
aeat --format json app ledger invoice add --kind issued --counterparty-nif DE345678901 `
  --counterparty-name Kunde GmbH --invoice-number EU-CAT-001 --invoice-date 2026-02-10 `
  --taxable-base 2000 --iva-rate 0 --country-code DE --operation-type E
{
  "active_profile": "docs-sequence-sandbox",
  "command": "ledger.invoice.add",
  "notices": [],
  "result": {
    "base_total": "2000.00",
    "base_total_eur": "2000.00",
    "bucket_id": "<bucket-id>",
    "counterparty_country": "DE",
    "counterparty_name": "Kunde GmbH",
    "counterparty_tax_id": "sha256:a9224776",
    "currency": "EUR",
    "fx_rate": null,
    "fx_rate_date": null,
    "fx_rate_source": null,
    "grand_total": "2000.00",
    "grand_total_eur": "2000.00",
    "invoice_id": "5f6226984e838fa553b9647364c5e3199cb833d79c8932072b9a67bc39eabc17",
    "invoice_number": "EU-CAT-001",
    "issued_at": "2026-02-10",
    "iva_total": "0.00",
    "iva_total_eur": "0.00",
    "kind": "issued",
    "linked_transaction_ids": [],
    "notes": "",
    "operation_type": "E",
    "payment_status": "PENDING",
    "recargo_amount": null,
    "retention_amount": null,
    "retention_rate": null
  },
  "schema_version": "2",
  "status": "success"
}
2List the catalogue copies.
aeat app ledger invoice list
aeat app ledger invoice list
bucket	<profile-id>
count	1
5f6226984e838fa553b9647364c5e3199cb833d79c8932072b9a67bc39eabc17	issued	sha256:a9224776	EU-CAT-001	2026-02-10	2000.00
3Inspect one catalogue invoice to confirm its id.
aeat --format json app ledger invoice view {invoice_id}
aeat --format json app ledger invoice view {invoice_id}
{
  "active_profile": "docs-sequence-sandbox",
  "command": "ledger.invoice.view",
  "notices": [],
  "result": {
    "base_total": "2000.00",
    "base_total_eur": "2000.00",
    "bucket_id": "<bucket-id>",
    "counterparty_country": "DE",
    "counterparty_name": "Kunde GmbH",
    "counterparty_tax_id": "sha256:a9224776",
    "currency": "EUR",
    "fx_rate": null,
    "fx_rate_date": null,
    "fx_rate_source": null,
    "grand_total": "2000.00",
    "grand_total_eur": "2000.00",
    "invoice_id": "5f6226984e838fa553b9647364c5e3199cb833d79c8932072b9a67bc39eabc17",
    "invoice_number": "EU-CAT-001",
    "issued_at": "2026-02-10",
    "iva_total": "0.00",
    "iva_total_eur": "0.00",
    "kind": "issued",
    "linked_transaction_ids": [],
    "notes": "",
    "operation_type": "E",
    "payment_status": "PENDING",
    "recargo_amount": null,
    "retention_amount": null,
    "retention_rate": null
  },
  "schema_version": "2",
  "status": "success"
}
4Create the Modelo 349 work unit for the period the invoice falls in.
aeat --format json app modelo work create --modelo 349 --year 2026 --period 02
aeat --format json app modelo work create --modelo 349 --year 2026 --period 02
{
  "active_profile": "docs-sequence-sandbox",
  "command": "modelo.work.create",
  "notices": [],
  "result": {
    "applicability_guard_bypassed": false,
    "bucket_id": "<bucket-id>",
    "causante_ccaa": null,
    "created_at": "2026-04-01T09:00:00+00:00",
    "current_calculation_revision_id": null,
    "current_filing_record_id": null,
    "discard_reason": null,
    "discarded_at": null,
    "discarded_by": null,
    "filed_calculation_revision_id": null,
    "filing_year": 2026,
    "modelo": "349",
    "name": "349-2026-02",
    "name_applied": null,
    "operation": "modelo.work.create",
    "period": {
      "code": "02",
      "filing_year": 2026
    },
    "revision_id": "2020-y-siguientes",
    "short_current_calculation_revision_id": null,
    "short_filed_calculation_revision_id": null,
    "short_work_unit_id": "253f06e07c9f",
    "state": "borrador",
    "status": "created",
    "status_message": "New work unit created.",
    "updated_at": "2026-04-01T09:00:00+00:00",
    "work_unit_id": "1609deb31dbe07e1b21281e26d114d5a4ef4230a5e9d2f387e8c253f06e07c9f"
  },
  "schema_version": "2",
  "status": "success"
}
5Calculate the recapitulative declaration.
aeat --format json app modelo work calculate {work_unit_id}
aeat --format json app modelo work calculate {work_unit_id}
{
  "active_profile": "docs-sequence-sandbox",
  "command": "modelo.work.calculate",
  "notices": [
    {
      "action": null,
      "code": "modelo.work.calculate.plazo_vencido_unassessed_preview",
      "context": {
        "article_27_assessment_status": "unassessed",
        "closes_on": "2026-03-20",
        "conditional_recargo_preview_band": "completed_months_0",
        "conditional_recargo_preview_interest_applies": "False",
        "conditional_recargo_preview_pct": "1.00",
        "conditional_recargo_preview_reference_on": "2026-04-01",
        "days_overdue": "12",
        "legal_refs": "ley-58-2003:art-27.2"
      },
      "message": "WARNING: voluntary filing period expired (Art. 27 LGT). The displayed rate is an unassessed preview; this application does not determine surcharge or interest liability.",
      "severity": "warning"
    }
  ],
  "result": {
    "authorization_state": null,
    "binding_overrides": {
      "iva-349-declarante-importe-operaciones": "2000",
      "iva-349-declarante-importe-operaciones-adquisicion": "0",
      "iva-349-declarante-importe-rectificaciones": "0",
      "iva-349-declarante-importe-rectificaciones-adquisicion": "0",
      "iva-349-declarante-numero-operadores": "1",
      "iva-349-declarante-numero-operadores-adquisicion": "0",
      "iva-349-declarante-numero-rectificaciones": "0",
      "iva-349-declarante-numero-rectificaciones-adquisicion": "0",
      "modelo-349-ledger-intracommunity-guard": "0"
    },
    "calculation_revision_id": "457438fde19c986c6e759c496965856b1141a8aaf23c3f9eb6ca82967b7daf43",
    "casilla_values": {
      "decl.cambio-periodicidad": "0",
      "decl.complementaria-sustitutiva": "0",
      "decl.importe-operaciones": "2000.00",
      "decl.importe-rectificaciones": "0",
      "decl.nif-representante-legal": "0",
      "decl.numero-identificativo": "0",
      "decl.numero-identificativo-anterior": "0",
      "decl.numero-operadores": "1",
      "decl.numero-rectificaciones": "0",
      "sustituto.apellidos-razon-social": "0",
      "sustituto.nif": "0"
    },
    "created_at": "2026-04-01T09:00:00+00:00",
    "deadline": {
      "closes_on": "2026-03-20",
      "conditional_recargo_preview": {
        "assessment_status": "unassessed",
        "band_id": "completed_months_0",
        "interest_applies": false,
        "legal_ref": "ley-58-2003:art-27.2",
        "rate_reference_on": "2026-04-01",
        "surcharge_pct": "1.00"
      },
      "days_overdue": 12,
      "days_remaining": null
    },
    "detail_rows": [
      {
        "fields": {
          "clave_operacion": "E",
          "codigo_pais": "DE",
          "importe": "2000.00",
          "nif_comunitario": "sha256:a9224776",
          "razon_social": "Kunde GmbH"
        },
        "index": 1,
        "row_type": "operador"
      }
    ],
    "filed_at": null,
    "filed_by": null,
    "input_values_by_casilla_id": {
      "decl.importe-operaciones": "2000",
      "decl.importe-rectificaciones": "0",
      "decl.numero-operadores": "1",
      "decl.numero-rectificaciones": "0"
    },
    "modality": null,
    "modality_reason": null,
    "observations": [
      {
        "absent_by_design": false,
        "casilla_id": "decl.cambio-periodicidad",
        "formula_id": null,
        "legal_refs": [
          "orden-eha-769-2010:art-1",
          "orden-hac-174-2020:art-1",
          "ley-58-2003:art-93",
          "rd-1624-1992:art-81"
        ],
        "op": null,
        "operand_casilla_refs": [],
        "operand_refs": [],
        "operand_values": [],
        "source_refs": [
          "aeat-dr-349-2020-current"
        ],
        "value": "0"
      },
      {
        "absent_by_design": false,
        "casilla_id": "decl.complementaria-sustitutiva",
        "formula_id": null,
        "legal_refs": [
          "orden-eha-769-2010:art-1",
          "orden-hac-174-2020:art-1",
          "ley-58-2003:art-93",
          "rd-1624-1992:art-81"
        ],
        "op": null,
        "operand_casilla_refs": [],
        "operand_refs": [],
        "operand_values": [],
        "source_refs": [
          "aeat-dr-349-2020-current"
        ],
        "value": "0"
      },
      {
        "absent_by_design": false,
        "casilla_id": "decl.importe-operaciones",
        "formula_id": null,
        "legal_refs": [
          "orden-eha-769-2010:art-1",
          "orden-hac-174-2020:art-1",
          "ley-58-2003:art-93"
        ],
        "op": null,
        "operand_casilla_refs": [],
        "operand_refs": [],
        "operand_values": [],
        "source_refs": [
          "aeat-dr-349-2020-current",
          "aeat-modelo-349-procedure"
        ],
        "value": "2000.00"
      },
      {
        "absent_by_design": false,
        "casilla_id": "decl.importe-rectificaciones",
        "formula_id": null,
        "legal_refs": [
          "orden-eha-769-2010:art-1",
          "orden-hac-174-2020:art-1",
          "ley-58-2003:art-93"
        ],
        "op": null,
        "operand_casilla_refs": [],
        "operand_refs": [],
        "operand_values": [],
        "source_refs": [
          "aeat-dr-349-2020-current",
          "aeat-modelo-349-procedure"
        ],
        "value": "0"
      },
      {
        "absent_by_design": false,
        "casilla_id": "decl.nif-representante-legal",
        "formula_id": null,
        "legal_refs": [
          "orden-eha-769-2010:art-1",
          "orden-hac-174-2020:art-1",
          "ley-58-2003:art-93",
          "rd-1624-1992:art-81"
        ],
        "op": null,
        "operand_casilla_refs": [],
        "operand_refs": [],
        "operand_values": [],
        "source_refs": [
          "aeat-dr-349-2020-current"
        ],
        "value": "0"
      },
      {
        "absent_by_design": false,
        "casilla_id": "decl.numero-identificativo",
        "formula_id": null,
        "legal_refs": [
          "orden-eha-769-2010:art-1",
          "orden-hac-174-2020:art-1",
          "ley-58-2003:art-93",
          "rd-1624-1992:art-81"
        ],
        "op": null,
        "operand_casilla_refs": [],
        "operand_refs": [],
        "operand_values": [],
        "source_refs": [
          "aeat-dr-349-2020-current"
        ],
        "value": "0"
      },
      {
        "absent_by_design": false,
        "casilla_id": "decl.numero-identificativo-anterior",
        "formula_id": null,
        "legal_refs": [
          "orden-eha-769-2010:art-1",
          "orden-hac-174-2020:art-1",
          "ley-58-2003:art-93",
          "rd-1624-1992:art-81"
        ],
        "op": null,
        "operand_casilla_refs": [],
        "operand_refs": [],
        "operand_values": [],
        "source_refs": [
          "aeat-dr-349-2020-current"
        ],
        "value": "0"
      },
      {
        "absent_by_design": false,
        "casilla_id": "decl.numero-operadores",
        "formula_id": null,
        "legal_refs": [
          "orden-eha-769-2010:art-1",
          "orden-hac-174-2020:art-1",
          "ley-58-2003:art-93"
        ],
        "op": null,
        "operand_casilla_refs": [],
        "operand_refs": [],
        "operand_values": [],
        "source_refs": [
          "aeat-dr-349-2020-current",
          "aeat-modelo-349-procedure"
        ],
        "value": "1"
      },
      {
        "absent_by_design": false,
        "casilla_id": "decl.numero-rectificaciones",
        "formula_id": null,
        "legal_refs": [
          "orden-eha-769-2010:art-1",
          "orden-hac-174-2020:art-1",
          "ley-58-2003:art-93"
        ],
        "op": null,
        "operand_casilla_refs": [],
        "operand_refs": [],
        "operand_values": [],
        "source_refs": [
          "aeat-dr-349-2020-current",
          "aeat-modelo-349-procedure"
        ],
        "value": "0"
      },
      {
        "absent_by_design": false,
        "casilla_id": "sustituto.apellidos-razon-social",
        "formula_id": null,
        "legal_refs": [
          "orden-eha-769-2010:art-1",
          "orden-hac-174-2020:art-1",
          "ley-58-2003:art-93"
        ],
        "op": null,
        "operand_casilla_refs": [],
        "operand_refs": [],
        "operand_values": [],
        "source_refs": [
          "aeat-dr-349-2020-current"
        ],
        "value": "0"
      },
      {
        "absent_by_design": false,
        "casilla_id": "sustituto.nif",
        "formula_id": null,
        "legal_refs": [
          "orden-eha-769-2010:art-1",
          "orden-hac-174-2020:art-1",
          "ley-58-2003:art-93"
        ],
        "op": null,
        "operand_casilla_refs": [],
        "operand_refs": [],
        "operand_values": [],
        "source_refs": [
          "aeat-dr-349-2020-current"
        ],
        "value": "0"
      }
    ],
    "operation": "modelo.work.calculate",
    "registry_snapshot_ref": {
      "modelo": "349",
      "modelo_year": 2026,
      "period": "02",
      "revision_id": "2020-y-siguientes"
    },
    "relation_overrides": {},
    "result_summary": [
      {
        "casilla_id": "decl.numero-operadores",
        "label": "Total number of intra-Community operators",
        "role": "key_figure",
        "value": "1"
      },
      {
        "casilla_id": "decl.importe-operaciones",
        "label": "Amount of intra-Community transactions",
        "role": "key_figure",
        "value": "2000.00"
      }
    ],
    "saved": true,
    "saved_confirmation": "Saved as draft calculation revision 457438fde19c986c6e759c496965856b1141a8aaf23c3f9eb6ca82967b7daf43 (state: draft). It is persisted and can be resumed later.",
    "source_provenance": [
      {
        "contributor_binding_source": "collectible_invoice",
        "contributor_source_kind": "collectible_invoice",
        "dependency_treatment": "",
        "fingerprint": "sha256:72748ea0133a321a0f267c1a26c97cb74e46e173732201ddd72a3c2edfd3c890",
        "lineage_role": "primary",
        "parent_source_ref": null,
        "resolved_binding_source": "collectible_invoice",
        "resolver_id": "invoice_catalogue",
        "source_ref": "collectible_invoice:5f6226984e838fa553b9647364c5e3199cb833d79c8932072b9a67bc39eabc17"
      }
    ],
    "state": "borrador",
    "superseded_at": null,
    "updated_at": "2026-04-01T09:00:00+00:00",
    "verified_at": null,
    "verified_by": null,
    "work_unit_id": "1609deb31dbe07e1b21281e26d114d5a4ef4230a5e9d2f387e8c253f06e07c9f"
  },
  "schema_version": "2",
  "status": "warning"
}

Confirm the catalogued invoice reaches the Modelo 349 calculation.

Közösségen belüli ügylet esetén adja át a --operation-type értéket, hogy a katalógus rábélyegezze azt a besorolást, amelyet a Modelo 349 számítás olvas. Kiállított katalógusszámláknál használja az E, H, M, S, T, R, D vagy C értéket. Beérkezett katalógusszámláknál használja az A, I vagy T értéket. A Modelo 349-ben az R a vevői készlet átszállítási kulcsa; a helyesbítő sorok külön helyesbített-időszak és alap mezőket használnak.

Egy számlát csak abban az időszakban vesz számításba a rendszer, amelybe a számla kelte esik. A Modelo 349 szigorúan kelet szerint olvassa a számlákat, korábbi időszakokból való áthozat nélkül.

Mely modelók olvassák a számláit

A katalógusszámlák a Modelo 349-et (a közösségen belüli ügyletek összesítő nyilatkozatát) táplálják azon ügylettípuson keresztül, amelyet a létrehozáskor rájuk bélyegez. Ez az a modelo, amelyet a kiállított és beérkezett számlái közvetlenül hajtanak.

Az afabevallásai nem olvassák ezeket a számlarekordokat. A Modelo 303 (negyedéves afa) és a Modelo 390 (éves afa-összesítő) az osztályozott főkönyvi tranzakcióiból számítódik, nem a számlakatalógusból. Rögzítse a bevételt és a kiadást a főkönyvben, és osztályozza (lásd: Tranzakciók osztályozása); az afabevallások a főkönyvet olvassák. Egy számla itteni rögzítése nem adja hozzá egy Modelo 303-hoz.

Az egyablakos rendszer (Modelo 369) alá tartozó, határon átnyúló B2C értékesítések külön folyamatot követnek, amely az invoice add parancsból még nem érhető el; ezeket az OSS-specifikus folyamaton keresztül rögzítse.

Merre tovább