The invoice object is used in invoice forms and also used in account statement forms.
It has the following fields
id: A unique id for the invoice.
invoice_date: The invoice date.
invoice_number: The invoice number
total: Total of the invoice including taxes and line adjustments(discount/surcharge) excluding any invoice adjustments.
message: The message field on the invoice
total_payments_received: Total payment received for this invoice.
balance_outstanding: Amount owing for the invoice.
currency: The currency of the invoice. See currency object.
customer_bill_to: The customer associated with the invoice. See customer object.
void: If the invoice is voided. True or false.
cost_of_goods_sold: The COGS are calculated as the sum of postings to COGS accounts in the related GL transaction.
term: The payment term on the invoice. See term object.
firm: The firm associated with the invoice. See firm object.
facility: The facility associated with the invoice. See facility object.
invoice_items: The list of invoice items. See invoice item object.
invoice_item_subtotal_no_tax: Invoice total minus taxes.
total_taxes_array: Total taxes for all lines. See total tax object.
internal_ref: Internal reference number.
internal_organization: The internal organization associated with the invoice. See internal organization object.
ship_to_party: The party the invoice is being shipped to. See party object.
public_custom_fields_list: A list of custom field associated with the invoice. See custom field object.
sales_agent_name: The name of the sales agent associated with the invoice.
refunded_amount: Total amount refunded on the invoice.
aged_days: The number of days from the invoice date to today's date.
total_with_adjustment: excluding any invoice adjustments.
total_invoice_adjustments: Total of the invoice including taxes , line adjustments(discount/surcharge) and any invoice adjustments.
total_before_taxes: Total before taxes.
due_date: The due date of the invoice according to the payment term.
tags: A list of dimension tags associated with the invoice.