0% found this document useful (0 votes)
215 views1 page

Quickbooks 1.0 ERD

This document describes the structure of invoice line items and their relationships to other database tables. It shows that an invoice line item can be linked to specific invoices, items, classes, tax codes, and departments. Related tables include bundles, items, accounts, credit card transactions, addresses, tax codes, and departments.

Uploaded by

sexywanker5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
215 views1 page

Quickbooks 1.0 ERD

This document describes the structure of invoice line items and their relationships to other database tables. It shows that an invoice line item can be linked to specific invoices, items, classes, tax codes, and departments. Related tables include bundles, items, accounts, credit card transactions, addresses, tax codes, and departments.

Uploaded by

sexywanker5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

INVOICE_LINE ⇱

invoice_id 🔑 ➤ INVOICE
index 🔑
description
CLASS ⇱ TERM
detail_type
BUNDLE ⇱ ITEM ⇱ ACCOUNT ⇱ CREDIT_CARD_PAYMENT_TXN ⇱ ADDRESS
TAX_CODE ⇱ DEPARTMENT ⇱
line_num
amount id 🔑 id 🔑 id 🔑
id 🔑
id id 🔑 id 🔑 id 🔑 id 🔑 active parent_class_id ➤ CLASS active
id 🔑 parent_department_id ➤ DEPARTMENT
sales_item_tax_code_id ➤ TAX_CODE sync_token asset_account_id ➤ ACCOUNT bank_account_id ➤ ACCOUNT city created_at active created_at
currency_id ➤ CURRENCY active
sales_item_class_id ➤ CLASS name income_account_id ➤ ACCOUNT credit_card_id ➤ ACCOUNT country description created_at day_of_month_due
parent_account_id ➤ ACCOUNT create_time
sales_item_item_id ➤ ITEM active expense_account_id ➤ ACCOUNT currency_id ➤ CURRENCY country_sub_division_code name fully_qualified_name discount_day_of_month
tax_code_id ➤ TAX_CODE last_updated_time
sales_item_account_id ➤ ACCOUNT parent_item_id ➤ ITEM amount latitude sync_token name discount_days
ESTIMATE_LINE ⇱ description account_number fully_qualified_name
discount_percent
sales_item_service_date fully_qualified_name sales_tax_code_id ➤ TAX_CODE sync_token line_1 tax_group sub_class
account_sub_type sub_department
sales_item_unit_price taxable purchase_tax_code_id ➤ TAX_CODE txn_date line_2 taxable sync_token due_days
account_type name
index 🔑 sales_item_tax_inclusive_amount unit_price active line_3 updated_at updated_at due_next_month_days
active sync_token
estimate_id 🔑 ➤ ESTIMATE sales_item_quantity purchase_cost created_at line_4 name
balance created_at
sales_item_tax_code_id ➤ TAX_CODE sales_item_discount_amount printed_group_items description line_5 sync_token
balance_with_sub_accounts updated_at
sales_item_class_id ➤ CLASS sales_item_discount_rate created_at expense_account longitude type
classification
sales_item_item_id ➤ ITEM bundle_id ➤ ITEM updated_at fully_qualified_name postal_code updated_at
created_at
sales_item_account_id ➤ ACCOUNT bundle_quantity inventory_start_date description
bundle_id ➤ ITEM description_tax_code_id ➤ TAX_CODE level fully_qualified_name
discount_class_id ➤ CLASS description_service_date name name
discount_tax_code_id ➤ TAX_CODE discount_class_id ➤ CLASS purchase_cost sub_account
discount_account_id ➤ ACCOUNT discount_tax_code_id ➤ TAX_CODE purchase_description TAX_RATE ⇱
sync_token
description_tax_code_id ➤ TAX_CODE discount_account_id ➤ ACCOUNT purchase_tax_included
INVOICE_LINE_BUNDLE ⇱ updated_at PAYMENT_METHOD ⇱ CURRENCY
sub_total_item_id ➤ ITEM discount_percent_based quantity_on_hand TAX_AGENCY ⇱
id 🔑
amount discount_discount_percent BUNDLE_ITEM ⇱ sales_tax_included
sub_total_item_id ➤ ITEM invoice_id 🔑 ➤ INVOICE id 🔑 id 🔑 TAX_RATE_DETAIL ⇱ tax_agency_id ➤ TAX_AGENCY
description stock_keeping_unit id 🔑
active name name
description_service_date invoice_line_index 🔑 ➤ INVOICE_LINE sub_item
special_tax_type tax_tracked_on_purchases
discount_discount_percent index 🔑 bundle_id 🔑 ➤ BUNDLE sync_token created_at tax_code_id 🔑 ➤ TAX_CODE
active sync_token
discount_percent_based line_num item_id 🔑 ➤ ITEM taxable name tax_rate_id ➤ TAX_RATE
rate_value display_name
bundle_quantity ESTIMATE_LINKED_TXN ⇱ INVOICE ⇱ description item_quantity track_quantity_on_hand sync_token type
sales_item_discount_amount amount type
*The relationship of these type tax_type_applicable
description tax_tracked_on_sales
sync_token tax_registration_number
sales_item_discount_rate estimate_id 🔑 ➤ ESTIMATE id 🔑 item_id ➤ ITEM
class_id ➤ CLASS
unit_price entities is not shown in the updated_at tax_order
effective_tax_rate created_at
sales_item_quantity index 🔑 currency_id ➤ CURRENCY updated_at updated_at
ESTIMATE_LINE_BUNDLE ⇱ sales_item_service_date invoice_id ➤ INVOICE department_id ➤ DEPARTMENT unit_price diagram for brevity. display_type
created_at
sales_item_tax_inclusive_amount shipping_address_id ➤ ADDRESS quantity
updated_at
estimate_id 🔑 ➤ ESTIMATE sales_item_unit_price billing_address_id ➤ ADDRESS account_id ➤ ACCOUNT
estimate_line_index 🔑 ➤ sales_term_id ➤ TERM tax_code_id ➤ TAX_CODE
ESTIMATE_LINE customer_id ➤ CUSTOMER service_date
index 🔑 tax_code_id ➤ TAX_CODE discount_rate
line_num class_id ➤ CLASS discount_amount
description deposit_to_account_id ➤ ACCOUNT
amount allow_ipn_payment
item_id ➤ ITEM allow_online_ach_payment
class_id ➤ CLASS allow_online_credit_card_payment
unit_price ESTIMATE ⇱ allow_online_payment
quantity apply_tax_after_discount
account_id ➤ ACCOUNT id 🔑 balance
tax_code_id ➤ TAX_CODE currency_id ➤ CURRENCY billing_bcc_email PURCHASE_LINE ⇱
service_date shipping_address_id ➤ ADDRESS billing_cc_email
discount_rate billing_address ➤ ADDRESS billing_email
discount_amount department_id ➤ DEPARTMENT purchase_id 🔑 ➤ PURCHASE
created_at
customer_id ➤ CUSTOMER index 🔑
custom_* account_expense_account_id ➤ ACCOUNT
class_id ➤ CLASS
customer_memo account_expense_class_id ➤ CLASS
sales_term_id ➤ TERM
delivery_time account_expense_customer_id ➤ CUSTOMER
exchange_rate
delivery_type PURCHASE_TAX_LINE ⇱ account_expense_tax_code_id ➤ TAX_CODE
total_tax
deposit item_expense_class_id ➤ CLASS
tax_code_id ➤ TAX
email_status doc_number item_expense_item_id ➤ ITEM
due_date purchase_id 🔑 ➤ PURCHASE item_expense_tax_code_id ➤ TAX_CODE
due_date
email_status index 🔑 item_expense_customer_id ➤ CUSTOMER
ship_date
exchange_rate percent_based account_expense_billable_status
expiration_date
tax_rate_id ➤ TAX_RATE account_expense_tax_amount
accepted_date global_tax_calculation
net_amount_taxable
delivery_type home_balance INVOICE_TAX_LINE ⇱ item_expense_unit_price
tax_inclusive_amount item_expense_billable_status
home_total_amount home_total_amount
BUDGET ⇱ override_delta_amount item_expense_quantity
doc_number print_status invoice_id 🔑 ➤ INVOICE
BUDGET_DETAIL ⇱ tax_percent description
print_status private_note index 🔑
id 🔑 amount amount
bill_email ship_date percent_based
transaction_date start_date budget_id 🔑 ➤ BUDGET tax_rate_id ➤ TAX_RATE
sync_token
transaction_status end_date index 🔑 net_amount_taxable
total_amount
customer_memo active account_id ➤ ACCOUNT tax_inclusive_amount JOURNAL_ENTRY_LINE ⇱
budget_type customer_id ➤ CUSTOMER
total_tax VENDOR_CREDIT_LINE ⇱
total_amount CUSTOMER ⇱ tracking_number override_delta_amount
name class_id ➤ CLASS tax_percent
ESTIMATE_TAX_LINE ⇱ transaction_status transaction_date journal_entry_id 🔑 ➤ JOURNAL_ENTRY
apply_tax_after_discount budget_entry_type department_id ➤ DEPARTMENT amount vendor_credit_id 🔑 ➤ VENDOR_CREDIT
sync_token transaction_source index 🔑
global_tax_caculation amount id 🔑 index 🔑
index 🔑 created_at budget_date updated_at class_id ➤ CLASS
private_note currency_id ➤ CURRENCY account_expense_account_id ➤ ACCOUNT
estimate_id 🔑 ➤ ESTIMATE updated_at department_id ➤ DEPARTMENT
accepted_by payment_method_id ➤ PAYMENT_METHOD account_expense_class_id ➤ CLASS
tax_rate_id ➤ TAX_RATE account_id ➤ ACCOUNT
sync_token shipping_address_id ➤ ADDRESS account_expense_customer_id ➤ CUSTOMER
amount bill_address_id ➤ ADDRESS
tax_code_id ➤ TAX_CODE
account_expense_tax_code_id ➤ TAX_CODE PURCHASE ⇱ EMPLOYEE ⇱
updated_at tax_applicable_on
net_amount_taxable default_tax_code_id ➤ TAX_CODE item_expense_class_id ➤ CLASS
created_at tax_amount
override_delta_amount sales_term_id ➤ TERM item_expense_item_id ➤ ITEM id 🔑 id 🔑
custom_* billable_status
percent_based ar_account_id ➤ ACCOUNT item_expense_tax_code_id ➤ TAX_CODE department_id ➤ DEPARTMENT address_id ➤ ADDRESS
tax_inclusive_amount description_tax_code_id ➤ TAX_CODE
family_name item_expense_customer_id ➤ CUSTOMER currency_id ➤ CURRENCY hired_date
tax_percent amount
fully_qualified_name account_expense_billable_status exchange_rate organization
posting_type
given_name account_expense_tax_amount account_id ➤ ACCOUNT billable_time
customer_id ➤ CUSTOMER
company_name item_expense_unit_price remit_to_address_id ➤ ADDRESS family_name
vendor_id ➤ VENDOR
customer_type_id item_expense_billable_status payment_method_id ➤ given_name
employee_id ➤ EMPLOYEE
bill_with_parent item_expense_quantity PAYMENT_METHOD gender
preferred_delivery_method INVOICE_LINKED_TXN ⇱ description_service_date
private_note credit display_name
display_name amount total_amount primary_phone_number
resale_number invoice_id 🔑 ➤ INVOICE total_tax print_on_check_name
job index 🔑 tax_code_id ➤ TAX_CODE employee_number
email payment_id ➤ PAYMENT doc_number title
notes estimate_id ➤ ESTIMATE payment_type email
website time_activity_id ➤ TIME_ACTIVITY print_status middle_name
phone_number reimburse_charge_id customer_id ➤ CUSTOMER mobile_phone
print_on_check_name charge_credit_id VENDOR_CREDIT ⇱ vendor_id ➤ VENDOR social_security_number
JOURNAL_ENTRY ⇱
title statement_charge_id employee_id ➤ EMPLOYEE active
middle_name BILL_PAYMENT_LINE ⇱ id 🔑 private_note suffix
open_balance_date id 🔑 payable_account_id ➤ ACCOUNT transaction_date bill_rate
mobile_number currency_id ➤ CURRENCY bill_payment_id 🔑 ➤ BILL_PAYMENT vendor_id ➤ VENDOR transaction_source released_date
parent_customer_id ➤ CUSTOMER exchange_rate index 🔑 currency_id ➤ CURRENCY created_at birth_date
active adjustment bill_id ➤ BILL department_id ➤ DEPARTMENT updated_at sync_token
suffix doc_number deposit_id ➤ DEPOSIT description sync_token created_at
balance_with_jobs total_amount journal_entry_id ➤ JOURNAL_ENTRY total_amount global_tax_calculation updated_at
SALES_RECEIPT ⇱ level home_total_amount linked_bill_payment_id ➤ BILL_PAYMENT transaction_date
fax_number private_note vendor_credit_id ➤ VENDOR_CREDIT sync_token
balance created_at amount doc_number
id 🔑 PAYMENT ⇱ updated_at check_id private_note
taxable
currency_id ➤ CURRENCY sync_token credit_card_charge_id balance
created_at
customer_id ➤ CUSTOMER transaction_date credit_card_credit_id exchange_rate
updated_at id 🔑
department_id ➤ DEPARTMENT total_tax expense_id global_tax_calculation
sync_token customer_id ➤ CUSTOMER
class_id ➤ CLASS created_at
tax_exemption_reason_id receivable_account_id ➤ ACCOUNT
tax_code_id ➤ TAX_CODE VENDOR ⇱
deposit_to_account_id ➤ ACCOUNT updated_at
SALES_RECEIPT_TAX_LINE ⇱ alternate_phone_number deposit_to_account_id ➤ ACCOUNT
payment_method_id ➤ PAYMENT_METHOD
payment_reference_number ➤ PAYMENT currency_id ➤ CURRENCY id 🔑 TIME_ACTIVITY ⇱
sales_receipt_id 🔑 ➤ SALES_RECEIPT shipping_address_id ➤ ADDRESS payment_method_id ➤ PAYMENT_METHOD currency_id ➤ CURRENCY
index 🔑 billing_address_id ➤ ADDRESS exchange_rate BILL_PAYMENT ⇱ billing_address_id ➤ ADDRESS
percent_based tax_code_id ➤ TAX_CODE process_payment PAYMENT_LINE ⇱ term_id ➤ TERM
id 🔑
reference_number employee_id ➤ EMPLOYEE
tax_rate_id ➤ TAX_RATE exchange_rate vendor_1099
transaction_date id 🔑 item_id ➤ ITEM
net_amount_taxable email_status payment_id 🔑 ➤ PAYMENT family_name
transaction_source department_id ➤ DEPARTMENT department_id ➤ DEPARTMENT
tax_inclusive_amount home_total_amount index 🔑 tax_identifier
transaction_status currency_id ➤ CURRENCY class_id ➤ CLASS
override_delta_amount doc_number amount given_name
unapplied_amount credit_card_account_id ➤ ACCOUNT customer_id ➤ CUSTOMER
tax_percent print_status journal_entry_id ➤ JOURNAL_ENTRY company_name
total_amount check_bank_account_id ➤ ACCOUNT vendor_id ➤ VENDOR
amount bill_email credit_memo_id ➤ CREDIT_MEMO active
private_note payable_account_id ➤ ACCOUNT billable_status
customer_memo invoice_id ➤ INVOICE suffix
created_at vendor_id ➤ VENDOR break_hours
home_balance deposit_id ➤ DEPOSIT account_number
updated_at exchange_rate break_minutes
balance expense_id balance
REFUND_RECEIPT ⇱ sync_token pay_type name_of
apply_tax_after_discount check_id display_name
credit_card_type doc_number description
total_tax credit_card_credit_id print_on_check_name
credit_card_name_on_account total_amount end_time
private_note id 🔑 credit_card_charge_id title
credit_card_cc_expiry_month transaction_date hourly_rate
transaction_date billing_address_id ➤ ADDRESS account_number
credit_card_cc_expiry_year print_status hours
transaction_source class_id ➤ CLASS middle_name
credit_card_billing_address_street sync_token minutes
ship_date currency_id ➤ CURRENCY email
credit_card_postal_code created_at start_time
delivery_time customer_id ➤ CUSTOMER web_url
credit_card_amount updated_at taxable
delivery_type REFUND_RECEIPT_TAX_LINE ⇱ department_id ➤ DEPARTMENT private_note
other_contacts
sync_token
tracking_number credit_card_process_payment primary_phone
deposit_to_account_id ➤ ACCOUNT process_bill_payment taxable
global_tax_calculation credit_card_cc_trans_id alternate_phone
payment_method_id ➤ PAYMENT_METHOD check_print_status transaction_date
total_amount refund_receipt_id 🔑 ➤ credit_card_auth_code mobile_phone
payment_reference_number ➤ PAYMENT created_at
sync_token REFUND_RECEIPT credit_card_status fax_number
shipping_address_id ➤ ADDRESS updated_at
created_at index 🔑 credit_card_transaction_authorization_time sync_token
exchange_rate
updated_at percent_based created_at
transaction_date
custom_* tax_rate_id ➤ TAX_RATE updated_at
transaction_source
SALES_RECEIPT_LINE_BUNDLE ⇱ credit_card_type net_amount_taxable
customer_memo
credit_card_name_on_account tax_inclusive_amount
total_amount
credit_card_cc_expiry_month override_delta_amount BILL_LINKED_TXN ⇱
home_total_amount
sales_receipt_id 🔑 ➤ SALES_RECEIPT credit_card_cc_expiry_year tax_percent CREDIT_MEMO ⇱ DEPOSIT_LINE ⇱
doc_number DEPOSIT ⇱
sales_receipt_line_index 🔑 ➤ SALES_RECEIPT_LINE credit_card_billing_address_street amount bill_id 🔑➤ BILL
home_balance deposit_id 🔑 ➤ DEPOSIT
index 🔑 credit_card_postal_code id 🔑 index 🔑
print_status id 🔑 index 🔑
line_num credit_card_amount currency_id ➤ CURRENCY bill_payment_id ➤ BILL_PAYMENT
balance department_id ➤ DEPARTMENT deposit_class_id ➤ CLASS
description credit_card_process_payment apply_tax_after_discount shipping_address_id ➤ ADDRESS
amount currency_id ➤ CURRENCY deposit_payment_method_id ➤ PAYMENT_METHOD
credit_card_cc_trans_id bill_email billing_address_id ➤ ADDRESS
item_id ➤ ITEM account_id ➤ ACCOUNT deposit_account_id ➤ ACCOUNT
credit_card_auth_code total_tax customer_id ➤ CUSTOMER
class_id ➤ CLASS cash_back_account_id ➤ deposit_check_number
credit_card_status department_id ➤ DEPARTMENT
created_at ACCOUNT deposit_transaction_type PURCHASE_ORDER ⇱

unit_price credit_card_transaction_authorization_time updated_at sales_term_id ➤ TERM
quantity transaction_date deposit_tax_applicable_on BILL
custom_* class_id ➤ CLASS
cash_back_amount deposit_tax_code_id ➤ TAX_CODE id 🔑 PURCHASE_ORDER_LINE ⇱
account_id ➤ ACCOUNT sync_token payment_method_id ➤ PAYMENT_METHOD
cash_back_memo deposit_customer_id ➤ CUSTOMER id 🔑 payable_account_id ➤
tax_code_id ➤ TAX_CODE private_note exchange_rate
private_note transfer_id ➤ TRANSFER department_id ➤ DEPARTMENT ACCOUNT
service_date payment_type email_status purchase_order_id 🔑 ➤ PURCHASE_ORDER
total_amount payment_id ➤ PAYMENT currency_id ➤ CURRENCY currency_id ➤ CURRENCY
discount_rate global_tax_calculation remaining_credit index 🔑
home_total_amount sales_receipt_id ➤ SALES_RECEIPT payable_account_id ➤ ACCOUNT vendor_id ➤ VENDOR
discount_amount credit_card_type home_total_amount account_expense_account_id ➤ ACCOUNT
created_at refund_receipt_id ➤ REFUND_RECEIPT sales_term_id ➤ TERM sales_term_id ➤ TERM
credit_card_name_on_account doc_number account_expense_class_id ➤ CLASS
SALES_RECEIPT_LINE ⇱ print_status
updated_at journal_entry_id ➤ JOURNAL_ENTRY vendor_id ➤ VENDOR class_id ➤ CLASS
account_expense_customer_id ➤ CUSTOMER
credit_card_cc_expiry_month sync_token purchase_id ➤ PURCHASE PURCHASE_ORDER_LINKED_TXN ⇱ vendor_address_id ➤ ADDRESS
bill_email exchange_rate account_expense_tax_code_id ➤ TAX_CODE
credit_card_cc_expiry_year global_tax_calculation vendor_credit_id ➤ VENDOR_CREDIT shipping_address_id ➤ ADDRESS
sales_receipt_id 🔑 ➤ SALES_RECEIPT txn_date home_balance item_expense_tax_code_id ➤ TAX_CODE
credit_card_billing_address_street transaction_status bill_id ➤ BILL purchase_order_id 🔑 ➤ PURCHASE_ORDER exchange_rate
index 🔑 customer_memo due_date item_expense_customer_id ➤ CUSTOMER
credit_card_postal_code transaction_source check_number index 🔑 sync_token
description total_amount balance item_expense_item_id ➤ ITEM
credit_card_amount expense_id bill_id ➤ BILL private_note
amount home_balance private_note item_expense_class_id ➤ CLASS
credit_card_process_payment purchase_id ➤ PURCHASE memo
sales_item_tax_code_id ➤ TAX_CODE private_note transaction_date account_expense_billable_status
credit_card_cc_trans_id global_tax_calculation
sales_item_class_id ➤ CLASS balance total_amount account_expense_tax_amount
credit_card_auth_code CREDIT_MEMO_LINE_BUNDLE ⇱ account_number status
sales_item_item_id ➤ ITEM credit_card_status apply_tax_after_discount item_expense_unit_price
created_at doc_number
sales_item_account_id ➤ ACCOUNT credit_card_transaction_authorization_time total_tax item_expense_billable_status
updated_at transaction_date
sales_item_service_date check_payment_check_number transaction_date credit_memo_id 🔑 ➤ CREDIT_MEMO item_expense_quantity
sync_token due_date
sales_item_unit_price check_payment_status created_at credit_memo_line_index 🔑 ➤ ESTIMATE_LINE description
REFUND_RECEIPT_LINE_BUNDLE ⇱ updated_at doc_number total_amount
sales_item_tax_inclusive_amount check_payment_name_on_account index 🔑 amount
global_tax_calculation TERM ⇱ created_at
sales_item_quantity check_payment_account_number sync_token line_num updated_at
sales_item_discount_amount refund_receipt_id 🔑 ➤ REFUND_RECEIPT check_payment_bank_name global_tax_calculation description TRANSFER ⇱
id 🔑 custom_*
sales_item_discount_rate refund_receipt_line_index 🔑 ➤ REFUND_RECEIPT_LINE custom_* amount
bundle_id ➤ ITEM index 🔑 item_id ➤ ITEM discount_days
id 🔑
bundle_quantity line_num class_id ➤ CLASS discount_percent
to_account_id ➤ ACCOUNT
description_tax_code_id ➤ TAX_CODE description unit_price name
from_account_id ➤ ACCOUNT
description_service_date amount quantity active
amount
discount_class_id ➤ CLASS item_id ➤ ITEM account_id ➤ ACCOUNT type
transaction_date
discount_tax_code_id ➤ TAX_CODE class_id ➤ CLASS CREDIT_MEMO_LINE ⇱ tax_code_id ➤ TAX_CODE due_days
REFUND_RECEIPT_LINE ⇱ private_note
created_at
discount_account_id ➤ ACCOUNT unit_price service_date sync_token BILL_LINE ⇱
discount_percent_based quantity discount_rate updated_at
credit_memo_id 🔑➤ CREDIT_MEMO created_at PURCHASE_ORDER_TAX_LINE
discount_discount_percent account_id ➤ ACCOUNT refund_id 🔑 ➤ REFUND_RECEIPT discount_amount
index 🔑 updated_at
sub_total_item_id ➤ ITEM tax_code_id ➤ TAX_CODE index 🔑 bill_id 🔑 ➤ BILL ⇱
description sales_item_tax_code_id ➤ TAX_CODE index 🔑
service_date
amount sales_item_class_id ➤ CLASS account_expense_class_id ➤ CLASS purchase_order_id 🔑 ➤ PURCHASE
discount_rate
sales_item_tax_code_id ➤ TAX_CODE sales_item_item_id ➤ ITEM account_expense_tax_code ➤ TAX_CODE index 🔑
discount_amount
sales_item_class_id ➤ CLASS sales_item_account_id ➤ ACCOUNT account_expense_account_id ➤ ACCOUNT percent_based
sales_item_item_id ➤ ITEM discount_class_id ➤ CLASS account_expense_customer_id ➤ tax_rate_id ➤ TAX_RATE
Legend sales_item_account_id ➤ ACCOUNT discount_tax_code_id ➤ TAX_CODE
discount_account_id ➤ ACCOUNT
CUSTOMER net_amount_taxable
sales_item_service_date item_expense_tax_code_id ➤ TAX_CODE tax_inclusive_amount
sales_item_unit_price discount_percent_based item_expense_item_id ➤ ITEM override_delta_amount
sales_item_tax_inclusive_amount discount_discount_percent item_expense_class_id ➤ CLASS tax_percent
sales_item_quantity bundle_id ➤ ITEM item_expense_customer_id ➤ CUSTOMER amount
description_tax_code_id ➤ TAX_CODE
🔑 = primary key sales_item_discount_amount
sub_total_item_id ➤ ITEM
account_expense_billable_status
sales_item_discount_rate account_expense_tax_amount
bundle_id ➤ ITEM amount item_expense_billable_status
bundle_quantity sales_item_service_date item_expense_unit_price
➤ = foreign key relation description_tax_code_id ➤ TAX_CODE sales_item_unit_price item_expense_quantity
description_service_date sales_item_tax_inclusive_amount description
sales_item_quantity

discount_class_id ➤ CLASS amount
= external link discount_tax_code_id ➤ TAX_CODE sales_item_discount_amount
sales_item_discount_rate
discount_account_id ➤ ACCOUNT
discount_percent_based bundle_quantity
discount_discount_percent description_service_date
sub_total_item_id ➤ ITEM

You might also like