PurchaseInvoice
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 | |
| 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 | |
| externalNote | _OutputTextStream | yes | |
| isExternalNote | Boolean | yes | |
| isTransferHeaderNote | Boolean | yes | |
| isTransferLineNote | Boolean | yes | |
| siteAddress | Address_node | yes | |
| businessEntityAddress | BusinessEntityAddress_node | yes | |
| invoiceStatus | InvoiceStatus | yes | |
| taxCalculationStatus | TaxCalculationStatus | yes | |
| taxEngine | TaxEngine | no | |
| netBalance | Decimal | no | |
| supplier | Supplier_node | no | |
| billBySupplier | Supplier_node | yes | |
| invoiceDate | Date | yes | |
| billByLinkedAddress | BusinessEntityAddress_node | yes | |
| billByAddress | Address_node | yes | |
| billByContact | Contact_node | yes | |
| payToSupplier | Supplier_node | yes | |
| payToLinkedAddress | BusinessEntityAddress_node | yes | |
| payToAddress | Address_node | yes | |
| payToContact | Contact_node | yes | |
| supplierDocumentNumber | String | yes | |
| supplierDocumentDate | Date | yes | |
| pdfSupplierInvoice | _OutputBinaryStream | yes | |
| returnLinkedAddress | BusinessEntityAddress_node | yes | |
| matchingUser | User_node | yes | |
| financeStatus | PurchaseInvoiceStatus | yes | |
| apOpenItems | BaseOpenItem_Collection | no | |
| openItemSysId | Int | no | |
| isOpenItemPageOptionActive | Boolean | no | |
| postingDetails | FinanceTransaction_Collection | no | |
| financeIntegrationStatus | FinanceIntegrationStatus | no | |
| uploadedDocument | UploadedPurchasingDocument_node | yes | |
| _etag | String | yes | |
| _attachments | AttachmentAssociation_Collection | yes | |
| date | Date | yes | |
| businessRelation | Supplier_node | yes | |
| fxRateDate | Date | yes | |
| paymentTerm | PaymentTerm_node | yes | |
| paymentTracking | PaymentTracking_node | yes | |
| dueDate | Date | yes | |
| currency | Currency_node | yes | |
| transactionCurrency | Currency_node | no | |
| internalNote | _OutputTextStream | yes | |
| companyFxRate | Decimal | no | |
| companyFxRateDivisor | Decimal | yes | |
| rateDescription | String | no | |
| totalAmountExcludingTax | Decimal | yes | |
| totalAmountExcludingTaxInCompanyCurrency | Decimal | yes | |
| anyTaxes | DocumentTax_Collection | yes | |
| taxes | DocumentTax_Collection | yes | |
| totalTaxAmount | Decimal | yes | |
| totalTaxableAmount | Decimal | yes | |
| totalExemptAmount | Decimal | yes | |
| anyLines | BaseDocumentItemLine_Collection | yes | |
| lines | PurchaseInvoiceLine_Collection | yes | |
| totalTaxAmountAdjusted | Decimal | yes | |
| matchingStatus | PurchaseInvoiceMatchingStatus | yes | |
| calculatedTotalAmountExcludingTax | Decimal | no | |
| calculatedTotalAmountExcludingTaxInCompanyCurrency | Decimal | no | |
| varianceTotalAmountExcludingTax | Decimal | no | |
| varianceTotalTaxAmount | Decimal | no | |
| calculatedTotalAmountIncludingTaxInCompanyCurrency | Decimal | no | |
| calculatedTotalTaxAmount | Decimal | no | |
| calculatedTotalTaxAmountAdjusted | Decimal | no | |
| calculatedTotalTaxableAmount | Decimal | no | |
| calculatedTotalExemptAmount | Decimal | no | |
| stockTransactionStatus | StockDocumentTransactionStatus | no | |
| calculatedTotalRemainingQuantityToCredit | Decimal | no | |
| displayStatus | BaseDisplayStatus | yes | |
| totalAmountIncludingTax | Decimal | no | |
| calculatedTotalAmountIncludingTax | Decimal | no | |
| varianceTotalAmountIncludingTax | Decimal | no | |
| _constructor | String | yes | |
| _createStamp | Datetime | no | |
| _updateStamp | Datetime | no |
Custom Queries
getDuplicate : PurchaseInvoice
| Property | Type | Description |
|---|---|---|
| _id | Id |
asyncExport : PurchaseInvoice_Connection_asyncExport
bulkResync : PurchaseInvoice_Connection_bulkResync
Custom Mutations
bulkUpdate : Boolean
| Mutation | Type | Description |
|---|---|---|
| filter | String | |
| data | PurchaseInvoice_Input |
duplicate : PurchaseInvoice
| Mutation | Type | Description |
|---|---|---|
| _id | ID | |
| data | PurchaseInvoice_Input |
acceptAllVariances : PurchaseInvoice
| Mutation | Type | Description |
|---|---|---|
| document | IntReference | |
| matchingStatusToUpdate | PurchaseInvoiceMatchingStatus_EnumInput | |
| isSafeToRetry | Boolean |
sendNotificationToBuyerMail : Boolean
| Mutation | Type | Description |
|---|---|---|
| document | IntReference | |
| user | User_Input |
post : PurchaseInvoicePostReturn
| Mutation | Type | Description |
|---|---|---|
| purchaseInvoice | IntReference |
financeIntegrationCheck : PurchaseInvoiceFinanceIntegrationCheckReturn
| Mutation | Type | Description |
|---|---|---|
| invoice | IntReference |
resendNotificationForFinance : Boolean
| Mutation | Type | Description |
|---|---|---|
| purchaseInvoice | IntReference |
createCreditMemoFromInvoice : PurchaseCreditMemo
| Mutation | Type | Description |
|---|---|---|
| document | IntReference | |
| reasonCode | IntReference | |
| totalAmountExcludingTax | Decimal | |
| supplierDocumentDate | Date |
repost : PurchaseInvoiceRepostReturn
| Mutation | Type | Description |
|---|---|---|
| purchaseInvoice | IntReference | |
| documentData | PurchaseInvoiceRepostDocumentData_Input |
resynchronizeDisplayStatus : PurchaseInvoiceResynchronizeDisplayStatusReturn
| Mutation | Type | Description |
|---|---|---|
| purchaseInvoice | IntReference |
sendApprovalRequestMail : Boolean
| Mutation | Type | Description |
|---|---|---|
| document | IntReference | |
| user | User_Input |
asyncExport : PurchaseInvoice_Mutations_asyncExport
bulkResync : PurchaseInvoice_Mutations_bulkResync
Custom Type
Id
IntReference
PurchaseInvoiceMatchingStatus_EnumInput
IntReference
IntReference
PurchaseInvoicePostReturn
| Query | Type | Description |
|---|---|---|
| wasSuccessful | Boolean | |
| message | String | |
| validationMessages | [PurchaseInvoicePostReturnValidationMessages]_node | |
| stockPostingResult | String |
IntReference
PurchaseInvoiceFinanceIntegrationCheckReturn
| Query | Type | Description |
|---|---|---|
| wasSuccessful | Boolean | |
| message | String | |
| validationMessages | [PurchaseInvoiceFinanceIntegrationCheckReturnValidationMessages]_node |
IntReference
IntReference
IntReference
IntReference
PurchaseInvoiceRepostDocumentData_Input
| Query | Type | Description |
|---|---|---|
| header | PurchaseInvoiceRepostDocumentDataHeader_Input | |
| lines | [PurchaseInvoiceRepostDocumentDataLines_Input] |
PurchaseInvoiceRepostReturn
| Query | Type | Description |
|---|---|---|
| wasSuccessful | Boolean | |
| message | String |
IntReference
PurchaseInvoiceResynchronizeDisplayStatusReturn
| Query | Type | Description |
|---|---|---|
| oldDisplayStatus | PurchaseInvoiceDisplayStatus | |
| newDisplayStatus | PurchaseInvoiceDisplayStatus |