InvoiceLineModel

Represents a line in an invoice

Fields

invoiceLineId

uuid

The unique ID of this record, automatically assigned by Lockstep when this record is
added to the Lockstep platform.

For the ID of this record in its originating financial system, see ErpKey.

groupKey

uuid

The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
account will share the same GroupKey value. GroupKey values cannot be changed once created.

For more information, see Accounts and GroupKeys.

invoiceId

uuid, read-only

The ID number of the invoice this line belongs to.

erpKey

string, nullable, 0-100 characters

The unique ID of this record as it was known in its originating financial system, if it was
different from the original LineNumber.

If this company record was imported from a financial system, it will have the value ErpKey
set to the original primary key number of the record as it was known in the originating financial
system. If this record was not imported, this value will be null.

For more information, see Identity Columns.

lineNumber

string, nullable, 0-100 characters

The line number of this line, as defined in the originating ERP or accounting system. You can sort on this number to
get the original view of lines within the invoice.

productCode

string, nullable, 0-100 characters

A code number identifying the product or service that is specified on this line.

description

string, nullable, 0-250 characters

Description of this invoice line.

unitMeasureCode

string, nullable, 0-50 characters

For lines measured in a unit other than "quantity", this code indicates the measurement system for the quantity field.
If the line is measured in quantity, this field is null.

unitPrice

double

The price of a single unit for this line.

quantity

double, nullable

The quantity of items for ths line.

quantityShipped

double, nullable

The number of items that have been shipped.

quantityReceived

double, nullable

The number of items that has been received.

totalAmount

double, nullable

The total amount for this line.

exemptionCode

string, nullable, 0-100 characters

If this line is tax exempt, this code indicates the reason for the exemption.

reportingDate

date, nullable

If null, the products specified on this line were delivered on the same date as all other lines.
If not null, this line was delivered or finalized on a different date than the overall invoice.

overrideOriginAddressId

uuid, nullable

An optional ID number for the line's origin address.

overrideBillToAddressId

uuid, nullable

An optional ID number for the line's bill to address.

overrideShipToAddressId

uuid, nullable

An optional ID number for the line's ship to address.

created

date-time, nullable, read-only

The date on which this line was created.

createdUserId

uuid, nullable, read-only

The ID number of the user who created this line.

modified

date-time, nullable, read-only

The date on which this line was last modified.

modifiedUserId

uuid, nullable, read-only

The ID number of the user who most recently modified this line.

appEnrollmentId

uuid, nullable, read-only

AppEnrollmentId for this record; used for mapping purposes.

notes

NoteModel[], nullable, read-only

All notes attached to this company.
To retrieve this collection, specify Notes in the "Include" parameter for your query.

attachments

AttachmentModel[], nullable, read-only

All attachments attached to this company.
To retrieve this collection, specify Attachments in the "Include" parameter for your query.


Did this page help you?