DBO.V_INVOICESTATUS – Invoice Financial Summary View

Overview

The V_INVOICESTATUS view in the DBO schema provides a comprehensive financial summary for each invoice issued to customers. It consolidates core invoice attributes, payment status, aging information, and financial balances—both with and without fees and interest. This view is central to understanding customer liabilities, payment behavior, and the status of invoicing operations.

All monetary values are presented from Telefakt’s perspective, meaning:

  • Positive amounts indicate money owed to Telefakt.
  • Negative amounts represent money Telefakt owes to the customer (e.g., credits or overpayments).

Key Attributes

Invoice Identification and Metadata

ColumnDescription
V_INVSTAT_INV_IDPrimary key from the INVOICE table (INV_ID). Uniquely identifies the invoice.
V_INVSTAT_INV_DATEDate when the invoice was created.
V_INVSTAT_INV_DUE_DATEThe due date for the invoice payment.
V_INVSTAT_INV_INVOICEThe type of invoice – either Invoice or Credit Note.
V_INVSTAT_INV_CREDIT_IDLinks to the opposing invoice or credit note in case of cross-referencing.
V_INVSTAT_YEARYear in which the invoice was issued.

Payment & Status Tracking

ColumnDescription
V_INVSTAT_INV_PAYMENT_STATUSUser-friendly text representation of invoice status, based on financial values.
V_INVSTAT_DAYS_OVERDUEDays past the due date; negative values indicate not yet due.
V_INVSTAT_LAST_PLACEMENT_DATEDate of the last recorded financial movement on the invoice.
V_INVSTAT_LAST_PAYMENTDate of the most recent payment made toward this invoice.
V_INVSTAT_LAST_UPDATEDTimestamp when this record was last updated.
V_INVSTAT_LAST_IMPORT_FILENAMEOrigin of the last update. Always reports "Arvatoqueue" as updater.

Customer Information

ColumnDescription
V_INVSTAT_BU_IDCustomer ID (BU_ID) from the BUSINESS table.
V_INVSTAT_BU_NAMEName of the customer or company.
V_INVSTAT_BU_LOCATIONSite/department associated with the customer, e.g., branch office.
V_INVSTAT_BU_CUST_OWNEROwner of the customer account.

Financials – Base Currency (Usually NOK)

ColumnDescription
V_INVSTAT_INVOICEDThe invoiced amount in NOK.
V_INVSTAT_PAIDTotal paid amount in NOK. May be negative if overpaid.
V_INVSTAT_CREDITEDTotal amount credited to this invoice.
V_INVSTAT_BALANCECurrent balance excluding fees and interest.
V_INVSTAT_BALANCE_W_FEE_INTBalance including fees and interest.
V_INVSTAT_TOTAL_DUEAmount due (excl. fees & interest) only if invoice is overdue.
V_INVSTAT_DUE_WO_FEES_AND_INTDue balance including fees & interest only if overdue.
V_INVSTAT_ADDED_FEESAdditional fees appended post-invoicing.
V_INVSTAT_FEES_PAIDPortion of fees already paid.
V_INVSTAT_PAID_OUTAmount paid out to the customer (refunds, credits).
V_INVSTAT_WRITTEN_OFFLosses written off from the invoice (unrecoverable debt).
V_INVSTAT_TRANSFERREDUnpaid interest transferred from a previous invoice. Matches inv_transferred_interest in INVOICE.
V_INVSTAT_ACCRUEDUnpaid charges (non-interest) transferred from a previous invoice. Matches inv_transferred_charges in INVOICE.

Financials – Original Invoice Currency

ColumnDescription
V_INVSTAT_CUR_NAMECurrency name as per ISO standard (usually NOK).
V_INVSTAT_CUR_INVOICEDInvoiced amount in the original currency of issuance.

Deprecated or Unused Columns

These columns are included for legacy or placeholder reasons and should be ignored in production use:

ColumnReason
V_INVSTAT_INV_NUMBERHistoric invoice number; not used anymore.
V_INVSTAT_CREDIT_INV_IDDuplicate of V_INVSTAT_INV_CREDIT_ID.
V_INVSTAT_APPLIEDAlways set to 0. Placeholder with no current use.
V_INVSTAT_LAST_REMINDER(No description provided). Presumably, last reminder communication sent.

Usage Recommendations

  • Use this view for financial dashboards, overdue invoice reports, and collections analysis.
  • For legal or financial reconciliation, join with the INVOICE and BUSINESS tables using INV_ID and BU_ID.
  • To check outstanding liabilities, reference V_INVSTAT_BALANCE.
  • For monitoring write-offs or overpayments, rely on V_INVSTAT_WRITTEN_OFF and negative V_INVSTAT_PAID.

Caveats

  • Deprecated columns are retained for backward compatibility but should not be referenced in new queries or reports.
  • The LAST_IMPORT_FILENAME will always show "Arvatoqueue".

Was this page helpful?