/
Transaction Data Type
Transaction Data Type
Transactions encompass purchases, invoices and orders. Each transaction has a header and one or more line items.
Transactional data is the core of Slyncy’s data model; it uses all the other core data types. If you want to transfer invoices, purchases or orders, then all the other data types are transferred in order to make them available for this data type.
Notes:
- lineExtensionAmount__c is the correct total of the line. If quantity x unit price does not equal this value, then a discount has been applied and needs to be calculated appropriately.
- discountTotal__c and shippingTotal__c are on the header. Connectors without a discount or shipping amount on the header will require an product to create a line item using.
- Updating of transactions are not supported at this time. Therefore if an transaction is sent and then updated, the update will NOT be transferred.
Transaction Header
Field | Description |
---|---|
identifier__c | The identifier of the transaction. Note: this is not a unique field. |
invoiceTypeCode__c | Either ItemSaleInvoice or ItemPurchaseOrder |
accountingCustomerParty__c | The party that the transaction relates to |
discountTotal__c | A decimal value indicating the discount amount applied to the transaction. |
shippingTotal__c | A decimal value indicating the shipping amount applied to the transaction. |
issueDateTime__c | The date the transaction was issued |
dueOrExpiryDate__c | For an invoice or purchase order, this is the due date of the transaction. For an order, this is the expiry date of the order. |
legalMonetaryTotal__c | The total amount of the transaction. This value is indicational only, the values of each line item should be used to correctly calculate the total value of the invoice. |
tax_Total__c | The total amount of tax on the transaction. This value is indicational only, the values of each line item should be used to correctly calculate the total tax value of the invoice. |
note__c | A note on the transaction |
referenceID__c | A reference string for the transaction. This could be the biller’s reference, or a purchase order number |
status__c | The status of the transaction. This is copied directly from the source and no transposing is done. |
tags__c | Comma seperated list of tags. Tags can be used to customise data flows. (See here for more details)[/docs/customisation/tagging]. |
relatedTransaction__c | The ID of a related transaction. For an invoice, this could be the ID of the Purchase Order if available. |
billingAddress_Street__c | The billing address used on this transaction |
billingAddress_City__c | The billing address used on this transaction |
billingAddress_Postcode__c | The billing address used on this transaction |
billingAddress_State__c | The billing address used on this transaction |
billingAddress_Country__c | The billing address used on this transaction |
shippingAddress_Name__c | The Name on the shipment |
shippingAddress_Phone__c | The Phone number on the shippment |
shippingAddress_Street__c | The shipping address on the shipment |
shippingAddress_City__c | The shipping address on the shipment |
shippingAddress_Postcode__c | The shipping address on the shipment |
shippingAddress_State__c | The shipping address on the shipment |
shippingAddress_Country__c | The shipping address on the shipment |
customerContact__c |
Transaction Line Item
Field | Description |
---|---|
invoice__c | The ID of the transaction header |
item__c | The ID of the product for this line item |
invoicedQuantity__c | The quantity of products on ths line item |
note__c | The line note or description |
isLineExtensionAmountIncTax__c | Boolean flag indicating whether lineExtensionAmount__c includes tax |
lineExtensionAmount__c | The total amount of the line item |
unit_IsPriceIncTax__c | Boolean flag indicating whether unit_Price__c includes tax |
unit_Price__c | The price of each unit of the line item |
taxCode__c | The tax code of the line item |
account__c | The financial account of the line item |
order__c | A numeric value used for sorting the line items. |
, multiple selections available,