v_invoice

v_invoice

Purpose

  1. Invoice records.


Relationships

  • v_invoice_line_item: One-to-Many (1:N)

    • One invoice can have many line items

    • Referenced through invoice_id

  • v_invoice_payment: One-to-Many (1:N)

    • One invoice can have many payments

    • Referenced through invoice_id

  • v_occupancy: Many-to-One (N:1)

    • Many invoices link to one location

    • Referenced through address_id




Table


Column

Type

Description

id

integer

Primary key

address_id

integer

Address reference

address

text

Billing address

client_code

varchar(28)

Organization ID

invoice_category_name

varchar(255)

Category name

category_type_name

varchar(255)

Type name

invoice_number

varchar(30)

Invoice number

emailed_at

timestamp

Email time

mailed_at

timestamp

Mail time

status_name

text

Status name

money_status_code

varchar(14)

Payment status

other_status_code

varchar(14)

Other status

created_at

timestamp

Creation time

due_date

date

Due date

total

numeric

Invoice total

total_discount

numeric

Discount amount

total_payment

numeric

Payment total

balance

numeric

Balance due

preplan_business_name

varchar(128)

Business name

vendor_phone

varchar(50)

Vendor phone

write_off_reason

varchar(255)

Write-off reason

write_off_approved_by

varchar(255)

Write-off approver

write_off

numeric

Write-off amount



    • Related Articles

    • v_invoice_payment

      Purpose Invoice payment records. Relationships v_invoice: Many-to-One (N:1) Many payments link to one invoice Referenced through invoice relationship Table Column Type Description id integer Primary key client_code varchar(28) Organization ID ...
    • v_invoice_line_item

      Purpose Invoice line items details. Relationships v_invoice: Many-to-One (N:1) Many line items link to one invoice Referenced through invoice_id Table Column Type Description invoice_id integer Invoice reference client_code varchar(28) Organization ...
    • Voiding an Invoice

      Purpose Statement The Invoice Void feature allows agencies to cancel invoices that have been issued but need to be nullified due to errors, cancellations, or other administrative needs. This feature provides a clear audit trail by marking invoices as ...
    • Invoice - Change Form On Demand

      Purpose Statement The Invoice - Change Form On Demand feature allows users to dynamically switch between different invoice forms while creating or editing invoices. This functionality provides flexibility to select the most appropriate invoice format ...
    • Creating an Invoice

      Purpose Statement To demonstrate how to create invoices on the First Due Platform for billing services, permits, inspections, and other departmental activities. This feature enables Fire/EMS departments to efficiently generate professional invoices ...