AccountingSale
An invoice or sales receipt created in Endless from order financial lines.
type AccountingSale {
accountingTermId: ID
customerId: ID
customerName: String
depositAccountExternalId: String
discountMonetary: MonetaryValue!
documentDate: ISO8601Date!
documentType: OrderFinancialDocumentTypeEnum!
id: ID!
integrationId: ID
lines: [AccountingSaleLine!]!
orders: [V2Order!]!
salesChannelId: ID!
sentToExternal: Boolean!
shippingMonetary: MonetaryValue!
subtotalMonetary: MonetaryValue
taxMonetary: MonetaryValue!
totalMonetary: MonetaryValue
}
Fields
AccountingSale.accountingTermId ● ID scalar common
Invoice payment terms override.
AccountingSale.customerId ● ID scalar common
The Endless customer ID.
AccountingSale.customerName ● String scalar common
The name of the Endless customer.
AccountingSale.depositAccountExternalId ● String scalar common
Receipt deposit account override.
AccountingSale.discountMonetary ● MonetaryValue! non-null object common
Document discount deducted from the subtotal.
AccountingSale.documentDate ● ISO8601Date! non-null scalar common
The date of the document.
AccountingSale.documentType ● OrderFinancialDocumentTypeEnum! non-null enum orders
Whether this is an invoice or a sales receipt.
AccountingSale.id ● ID! non-null scalar common
The invoice or sales receipt ID.
AccountingSale.integrationId ● ID scalar common
The integration that received this document.
AccountingSale.lines ● [AccountingSaleLine!]! non-null object common
The saved lines on the document.
AccountingSale.orders ● [V2Order!]! non-null object orders
Orders whose financial lines are accounted for by this sale.
AccountingSale.salesChannelId ● ID! non-null scalar common
The sale’s sales channel.
AccountingSale.sentToExternal ● Boolean! non-null scalar common
Whether the document was sent to QuickBooks.
AccountingSale.shippingMonetary ● MonetaryValue! non-null object common
Shipping charged on this document.
AccountingSale.subtotalMonetary ● MonetaryValue object common
The saved item subtotal before document discounts, shipping, and tax.
AccountingSale.taxMonetary ● MonetaryValue! non-null object common
Sales tax on this document.
AccountingSale.totalMonetary ● MonetaryValue object common
The saved total, including tax and shipping.
Returned By
accountingSale query
Member Of
AccountingSaleConnection object ● AccountingSaleEdge object ● AccountingSalesCreatePayload object ● AccountingSalesUpdatePayload object ● V2Order object