SalesInvoice
Less than to read
Properties
| Property Name | Type | Description | isWritable |
|---|---|---|---|
| _access | [_OutputAccessBinding] | no | |
| _factory | MetaNodeFactory_node | no | |
| _updateTick | Int | yes | |
| _updateUser | User_node | yes | |
| _createUser | User_node | yes | |
| _customData | Json | yes | |
| _sourceId | String | yes | |
| _id | Id | yes | |
| number | String | yes | |
| status | BaseStatus_enum | yes | |
| approvalStatus | ApprovalStatus | yes | |
| date | Date | yes | |
| canPrint | Boolean | no | |
| isPrinted | Boolean | yes | |
| isSent | Boolean | yes | |
| site | Site_node | yes | |
| stockSite | Site_node | yes | |
| companyCurrency | Currency_node | no | |
| financialSite | Site_node | yes | |
| text | _OutputTextStream | yes | |
| internalNote | _OutputTextStream | yes | |
| externalNote | _OutputTextStream | yes | |
| isExternalNote | Boolean | yes | |
| isTransferHeaderNote | Boolean | yes | |
| isTransferLineNote | Boolean | yes | |
| siteAddress | Address_node | yes | |
| businessEntityAddress | BusinessEntityAddress_node | yes | |
| paymentStatus | OpenItemStatus | yes | |
| invoiceDate | Date | no | |
| enablePrintButton | Boolean | no | |
| taxEngine | TaxEngine | no | |
| salesSite | Site_node | no | |
| salesSiteName | String | yes | |
| salesSiteTaxIdNumber | String | yes | |
| salesSiteLinkedAddress | BusinessEntityAddress_node | yes | |
| salesSiteAddress | Address_node | yes | |
| salesSiteContact | Contact_node | yes | |
| billToCustomer | Customer_node | yes | |
| billToCustomerName | String | yes | |
| billToCustomerTaxIdNumber | String | yes | |
| billToLinkedAddress | BusinessEntityAddress_node | yes | |
| billToAddress | Address_node | yes | |
| billToContact | Contact_node | yes | |
| paymentTerm | PaymentTerm_node | yes | |
| incoterm | Incoterm_node | yes | |
| taxCalculationStatus | TaxCalculationStatus | yes | |
| dueDate | Date | yes | |
| penaltyPaymentType | DiscountOrPenaltyType | yes | |
| discountPaymentType | DiscountOrPenaltyType | yes | |
| creditStatus | SalesDocumentCreditStatus | yes | |
| rateDescription | String | no | |
| fxRateDate | Date | yes | |
| financeIntegrationApp | FinanceIntegrationApp | no | |
| creationNumber | String | yes | |
| arOpenItems | BaseOpenItem_Collection | no | |
| openItemSysId | Int | no | |
| receipts | PaymentDocumentLine_Collection | no | |
| discountPaymentBeforeDate | Date | yes | |
| financeTransactions | FinanceTransaction_Collection | no | |
| isOpenItemPageOptionActive | Boolean | no | |
| postingDetails | FinanceTransaction_Collection | no | |
| financeIntegrationStatus | FinanceIntegrationStatus | no | |
| avalaraId | String | yes | |
| totalDiscountAmount | Decimal | yes | |
| _etag | String | yes | |
| _attachments | AttachmentAssociation_Collection | yes | |
| currency | Currency_node | yes | |
| transactionCurrency | Currency_node | no | |
| totalTaxAmount | Decimal | yes | |
| totalTaxableAmount | Decimal | yes | |
| totalExemptAmount | Decimal | yes | |
| totalTaxAmountAdjusted | Decimal | yes | |
| discountPaymentAmount | Decimal | yes | |
| penaltyPaymentAmount | Decimal | yes | |
| taxes | SalesInvoiceTax_Collection | yes | |
| companyFxRate | Decimal | yes | |
| companyFxRateDivisor | Decimal | yes | |
| totalAmountPaid | Decimal | no | |
| forcedAmountPaid | Decimal | no | |
| transactionAmountPaid | Decimal | yes | |
| companyAmountPaid | Decimal | yes | |
| financialSiteAmountPaid | Decimal | yes | |
| netBalance | Decimal | no | |
| anyLines | BaseDocumentItemLine_Collection | yes | |
| lines | SalesInvoiceLine_Collection | yes | |
| totalAmountExcludingTax | Decimal | no | |
| totalAmountIncludingTax | Decimal | no | |
| totalAmountIncludingTaxInCompanyCurrency | Decimal | no | |
| totalAmountExcludingTaxInCompanyCurrency | Decimal | no | |
| totalGrossProfit | Decimal | no | |
| displayStatus | BaseDisplayStatus | yes | |
| _constructor | String | yes | |
| _createStamp | Datetime | no | |
| _updateStamp | Datetime | no |
Custom Queries
getDuplicate : SalesInvoice
| Property | Type | Description |
|---|---|---|
| _id | Id |
getMtdSales : SalesInvoiceGetMtdSalesReturn
| Property | Type | Description |
|---|---|---|
| currency | IntReference |
getCustomerYtdSales : SalesInvoiceGetCustomerYtdSalesReturn
| Property | Type | Description |
|---|---|---|
| customer | IntReference |
getCustomerYtdGross : SalesInvoiceGetCustomerYtdGrossReturn
| Property | Type | Description |
|---|---|---|
| customer | IntReference |
postInvoice : SalesInvoice_Connection_postInvoice
printBulkSalesInvoice : SalesInvoice_Connection_printBulkSalesInvoice
asyncExport : SalesInvoice_Connection_asyncExport
bulkResync : SalesInvoice_Connection_bulkResync
Custom Mutations
bulkUpdate : Boolean
| Mutation | Type | Description |
|---|---|---|
| filter | String | |
| data | SalesInvoice_Input |
duplicate : SalesInvoice
| Mutation | Type | Description |
|---|---|---|
| _id | ID | |
| data | SalesInvoice_Input |
createSalesCreditMemosFromInvoices : SalesInvoiceCreateSalesCreditMemosFromInvoicesReturn
| Mutation | Type | Description |
|---|---|---|
| salesDocuments | # IntReference | |
| creditMemoDate | Date |
createSalesCreditMemosFromInvoiceLines : SalesInvoiceCreateSalesCreditMemosFromInvoiceLinesReturn
| Mutation | Type | Description |
|---|---|---|
| salesDocumentLines | # SalesInvoiceCreateSalesCreditMemosFromInvoiceLinesSalesDocumentLines_Input | |
| creditMemoDate | Date |
post : SalesInvoice
| Mutation | Type | Description |
|---|---|---|
| invoice | IntReference | |
| isSafeToRetry | Boolean |
repost : SalesInvoiceRepostReturn
| Mutation | Type | Description |
|---|---|---|
| salesInvoice | IntReference | |
| documentData | SalesInvoiceRepostDocumentData_Input |
financeIntegrationCheck : SalesInvoiceFinanceIntegrationCheckReturn
| Mutation | Type | Description |
|---|---|---|
| invoice | IntReference |
printSalesInvoiceAndEmail : Boolean
| Mutation | Type | Description |
|---|---|---|
| invoice | IntReference | |
| contactTitle | String | |
| contactLastName | String | |
| contactFirstName | String | |
| contactEmail | String |
massPriceDeterminationCalculation : Boolean
| Mutation | Type | Description |
|---|---|---|
| salesDocument | IntReference |
beforePrint : Boolean
| Mutation | Type | Description |
|---|---|---|
| invoice | IntReference |
afterPrint : Boolean
| Mutation | Type | Description |
|---|---|---|
| invoice | IntReference |
resendNotificationForFinance : Boolean
| Mutation | Type | Description |
|---|---|---|
| salesInvoice | IntReference |
enforceStatusPosted : Boolean
| Mutation | Type | Description |
|---|---|---|
| invoice | IntReference |
sendApprovalRequestMail : Boolean
| Mutation | Type | Description |
|---|---|---|
| document | IntReference | |
| user | User_Input |
calculateTax : String
| Mutation | Type | Description |
|---|---|---|
| invoice | IntReference | |
| isCommit | Boolean | |
| isPosting | Boolean |
postAvalara : SalesInvoice
| Mutation | Type | Description |
|---|---|---|
| invoice | IntReference |
postInvoice : SalesInvoice_Mutations_postInvoice
printBulkSalesInvoice : SalesInvoice_Mutations_printBulkSalesInvoice
asyncExport : SalesInvoice_Mutations_asyncExport
bulkResync : SalesInvoice_Mutations_bulkResync
Custom Type
Id
IntReference
SalesInvoiceGetMtdSalesReturn
| Query | Type | Description |
|---|---|---|
| currentMonth | Decimal | |
| previousMonth | Decimal |
IntReference
SalesInvoiceGetCustomerYtdSalesReturn
| Query | Type | Description |
|---|---|---|
| ytdTotal | Decimal | |
| currencySymbol | String | |
| decimalDigits | Int |
IntReference
SalesInvoiceGetCustomerYtdGrossReturn
| Query | Type | Description |
|---|---|---|
| ytdTotal | Decimal | |
| currencySymbol | String | |
| decimalDigits | Int |
IntReference
SalesInvoiceCreateSalesCreditMemosFromInvoicesReturn
| Query | Type | Description |
|---|---|---|
| status | String | |
| numberOfCreditMemos | Int | |
| documentsCreated | [SalesCreditMemo]_node | |
| lineErrors | [SalesInvoiceCreateSalesCreditMemosFromInvoicesReturnLineErrors]_node |
SalesInvoiceCreateSalesCreditMemosFromInvoiceLinesSalesDocumentLines_Input
| Query | Type | Description |
|---|---|---|
| salesDocumentLine | IntReference | |
| quantityToProcess | Decimal |
SalesInvoiceCreateSalesCreditMemosFromInvoiceLinesReturn
| Query | Type | Description |
|---|---|---|
| status | String | |
| numberOfCreditMemos | Int | |
| documentsCreated | [String] | |
| lineErrors | [SalesInvoiceCreateSalesCreditMemosFromInvoiceLinesReturnLineErrors]_node |
IntReference
IntReference
SalesInvoiceRepostDocumentData_Input
| Query | Type | Description |
|---|---|---|
| header | SalesInvoiceRepostDocumentDataHeader_Input | |
| lines | [SalesInvoiceRepostDocumentDataLines_Input] |
SalesInvoiceRepostReturn
| Query | Type | Description |
|---|---|---|
| wasSuccessful | Boolean | |
| message | String |
IntReference
SalesInvoiceFinanceIntegrationCheckReturn
| Query | Type | Description |
|---|---|---|
| wasSuccessful | Boolean | |
| message | String |