Centurio Documentazione dei sistemi e dei moduli
🏛️ Architettura della piattaforma 🔑 Login
🏠 Tutti i moduli / sales_billing / Pagamenti e servizi bancari
📘

Pagamenti e servizi bancari

payments sales_billing 🛡️ RLS Protected

Pagamenti & Banca <unk> Documentazione processuale e API derivata dal codice.

Fachliche Bestimmung: Pagamenti & Banca <unk> Documentazione processuale e API derivata dal codice.

⚡ Flussi di lavoro e cicli di vita

Ordine d'uso: agente di corrispondenza dei pagamenti plan:command_payment_matching_agent

Controllato piano duraturo (durable_plan), inizio: manual_command.

1. payment_matching_agent
payment_matching_agent
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Aktionen: payment_matching_agent

Pagamento status:payment

La macchina in stato di osservazione (solo osservabile) non è obbligatoria.

1. unmatched
di cui al capitolo
Statuto di pagamento della macchina di stato
2. matched
di cui al punto 1.
Statuto <unk>corrispondente <unk> della macchina di pagamento.
3. confirmed
Confirmato
Statuto <unk>confirmato <unk> della macchina di stato di pagamento.

🗄️ Modelli di dati

PaymentOrders payment_orders RLS Aktiv
14 Feltri / colonne

Tabelle payment_orders

Feldname Tipo di dati Dati Schlüssel Importanza professionale
kind VARCHAR(16) Ja * - Feld kind
package_amount NUMERIC(14, 2) Ja * - Feld package_amount
package_gb INTEGER Nein - Feld package_gb
provider VARCHAR(16) Ja * - Feld provider
provider_session_id VARCHAR(255) Nein - Feld provider_session_id
status VARCHAR(16) Ja * - Feld status
created_by UUID Nein - Feld created_by
paid_at DATETIME Nein - Feld paid_at
topup_id UUID Nein FK ➔ ai_budget_topups.id Feld topup_id
rental_booking_id UUID Nein FK ➔ rental_bookings.id Feld rental_booking_id
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
Payments payments RLS Aktiv
22 Feltri / colonne

Tabelle payments

Feldname Tipo di dati Dati Schlüssel Importanza professionale
transaction_date DATE Ja * - Feld transaction_date
value_date DATE Nein - Feld value_date
amount NUMERIC(14, 2) Ja * - Feld amount
currency VARCHAR(3) Ja * - Feld currency
direction VARCHAR(48) Ja * - Feld direction
payment_method VARCHAR(32) Nein - Feld payment_method
counterparty_name VARCHAR(255) Nein - Feld counterparty_name
counterparty_iban VARCHAR(34) Nein - Feld counterparty_iban
reference TEXT Nein - Feld reference
bank_transaction_id VARCHAR(128) Ja * - Feld bank_transaction_id
invoice_id UUID Nein FK ➔ invoices.id Feld invoice_id
matching_confidence NUMERIC(4, 3) Nein - Feld matching_confidence
status VARCHAR(48) Ja * - Feld status
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata

🔌 Punto di partenza (UI & API)

Art Metodo Punto finale / percorso Titel & Zweck Il diritto
⚡ REST API DELETE /api/v1/payments/{payment_id}
delete_payment
Semantic binding: not_evaluated; mutation=True
payments
⚡ REST API GET /api/v1/payments
list_payments
Semantic binding: not_evaluated; mutation=False
payments
⚡ REST API GET /payments
payments_page
Semantic binding: not_evaluated; mutation=False
payments
⚡ REST API GET /payments/new
payment_create_page
Semantic binding: not_evaluated; mutation=False
payments
⚡ REST API GET /payments/{payment_id}
payment_detail_page
Semantic binding: not_evaluated; mutation=False
payments
⚡ REST API GET /payments/{provider}/return
payments_return
Semantic binding: not_evaluated; mutation=False
payments
⚡ REST API POST /api/v1/payments
create_payment
Semantic binding: not_evaluated; mutation=True
payments
⚡ REST API POST /api/v1/payments/import-statement
import_bank_statement
Semantic binding: not_evaluated; mutation=True
payments
⚡ REST API POST /api/v1/payments/{payment_id}/match
match_payment
Semantic binding: not_evaluated; mutation=True
payments
⚡ REST API POST /api/v1/payments/{payment_id}/unmatch
unmatch_payment
Semantic binding: not_evaluated; mutation=True
payments

🛡️ Regolamentazione e conformità

Dieses Modul unterliegt folgenden gesetzlichen, regulatorischen und Revisionsstandards:

  • Capacità di verifica
  • Isolazione dei clienti (PostgreSQL RLS)