Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 2.78 KB

File metadata and controls

37 lines (30 loc) · 2.78 KB

XeroRuby::Accounting::LinkedTransaction

Properties

Name Type Description Notes
source_transaction_id String Filter by the SourceTransactionID. Get all the linked transactions created from a particular ACCPAY invoice [optional]
source_line_item_id String The line item identifier from the source transaction. [optional]
contact_id String Filter by the combination of ContactID and Status. Get all the linked transactions that have been assigned to a particular customer and have a particular status e.g. GET /LinkedTransactions?ContactID=4bb34b03-3378-4bb2-a0ed-6345abf3224e&Status=APPROVED. [optional]
target_transaction_id String Filter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoice [optional]
target_line_item_id String The line item identifier from the target transaction. It is possible to link multiple billable expenses to the same TargetLineItemID. [optional]
linked_transaction_id String The Xero identifier for an Linked Transaction e.g./LinkedTransactions/297c2dc5-cc47-4afd-8ec8-74990b8761e9 [optional]
status String Filter by the combination of ContactID and Status. Get all the linked transactions that have been assigned to a particular customer and have a particular status e.g. GET /LinkedTransactions?ContactID=4bb34b03-3378-4bb2-a0ed-6345abf3224e&Status=APPROVED. [optional]
type String This will always be BILLABLEEXPENSE. More types may be added in future. [optional]
updated_date_utc DateTime The last modified date in UTC format [optional]
source_transaction_type_code String The Type of the source tranasction. This will be ACCPAY if the linked transaction was created from an invoice and SPEND if it was created from a bank transaction. [optional]
validation_errors Array<ValidationError> Displays array of validation error messages from the API [optional]

Code Sample

require 'XeroRuby::Accounting'

instance = XeroRuby::Accounting::LinkedTransaction.new(source_transaction_id: null,
                                 source_line_item_id: null,
                                 contact_id: null,
                                 target_transaction_id: null,
                                 target_line_item_id: null,
                                 linked_transaction_id: null,
                                 status: null,
                                 type: null,
                                 updated_date_utc: null,
                                 source_transaction_type_code: null,
                                 validation_errors: null)