Transactions
Transaction is used for invoices and for payments
Get list of Transactions
GET https://api.rnetpos.com/v1/transactions
Query Parameters
Name
Type
Description
from_date
string
to_date
string
Get Single Transactions By Transaction Number
GET https://api.rnetpos.com/v1/transactions/no/{transaction number}
Path Parameters
Name
Type
Description
no
string
{
"ItemEntries": [
{
"TransactionEntryId": "1d037ad2-ca94-49be-8a17-62a091b6e88b",
"ItemStoreId": "fb8b604e-81fe-446e-b0d1-db11f6647d3a",
"Sort": 1,
"EntryType": 0,
"EntryDescription": "אני יכול לבד",
"Item": {
"ItemID": "071ebe03-698b-4d5d-8252-63fd3437c07e",
"Name": "אני יכול לבד ",
"BarcodeNumber": "7290107817714",
"ModelNumber": null,
"Description": null,
"GeneralPrice": 30,
"ERPCode": null
},
"Qty": 1,
"Price": 30,
"Total": 30,
"BeforeDiscount": 30,
"DiscountOnEntryPerc": null,
"DiscountOnEntryAmount": null,
"UOMType": null,
"UOMQty": null,
"SaleCode": null,
"ChangePriceReason": null,
"ParentTransactionEntry": null,
"Cost": 17.99,
"Tax": 4.359,
"AVGCost": null,
"Note": null,
"DepartmentID": null,
"MainGroupID": null,
"DiscountOnTotalPerc": null,
"DiscountOnTotalAmount": 0,
"Status": 1,
"ReturnTEntryID": null,
"PriceADisc": 30,
"BeforeTax": 25.641,
"TaxRate": 17,
"NewZTables": false,
"PromotionID": null,
"CapsuleQty": null,
"IfItemFromReceipt": false,
"CustomerOrderID": 0,
"CustomerOrderLineIdx": 0,
"ChooseType": 0,
"ItemSerialId": null,
"TempItemName": null,
"PriceAItemDisc": 30,
"ExternalNum": null,
"TotalOriginalPrice": 30,
"TotalFinalPriceBeforeTax": null,
"DiscountPercentage": 99.1453,
"TotalFinalPrice": null,
"TotalDiscount": null
},
{
"TransactionEntryId": "a4b75e87-a373-4c3e-a4d5-68457c39c0de",
"ItemStoreId": "239e485c-625a-485e-add8-66c14e8ba06f",
"Sort": 2,
"EntryType": 0,
"EntryDescription": "כיף ללכת לגן",
"Item": {
"ItemID": "096499d9-e702-403a-b894-645cc69e6600",
"Name": "כיף ללכת לגן ",
"BarcodeNumber": "7290107814904",
"ModelNumber": null,
"Description": null,
"GeneralPrice": 50,
"ERPCode": null
},
"Qty": 1,
"Price": 30,
"Total": 30,
"BeforeDiscount": 30,
"DiscountOnEntryPerc": null,
"DiscountOnEntryAmount": null,
"UOMType": null,
"UOMQty": null,
"SaleCode": null,
"ChangePriceReason": null,
"ParentTransactionEntry": null,
"Cost": 17.995,
"Tax": 4.359,
"AVGCost": null,
"Note": null,
"DepartmentID": null,
"MainGroupID": null,
"DiscountOnTotalPerc": null,
"DiscountOnTotalAmount": 0,
"Status": 1,
"ReturnTEntryID": null,
"PriceADisc": 30,
"BeforeTax": 25.641,
"TaxRate": 17,
"NewZTables": false,
"PromotionID": null,
"CapsuleQty": null,
"IfItemFromReceipt": false,
"CustomerOrderID": 0,
"CustomerOrderLineIdx": 0,
"ChooseType": 0,
"ItemSerialId": null,
"TempItemName": null,
"PriceAItemDisc": 30,
"ExternalNum": null,
"TotalOriginalPrice": 30,
"TotalFinalPriceBeforeTax": null,
"DiscountPercentage": 99.1453,
"TotalFinalPrice": null,
"TotalDiscount": null
}
],
"DiscountEntries": [],
"CashTenders": [],
"CHTenders": [],
"CCTenders": [
{
"TenderEntryId": "1eb8b26f-d2d5-49ea-864a-a4ce5baf1363",
"Tender": {
"TenderID": 3,
"TenderName": "Credit Card"
},
"Amount": 60,
"Date": "2018-09-30 09:09:49Z",
"No": "6987",
"CCIsure": 6,
"CreditType": "LeumiCard",
"CCExpDate": "0587",
"CCTransmissionNo": "06333543",
"MutagCompany": null,
"CCTenderERPCode": null,
"Status": 1,
"CVV": null,
"CCFirstPaySum": null,
"CCRestPaySum": null,
"ApprovalCode": "0024338",
"CChargeType": 0,
"PayNumber": null,
"TZ": null,
"SolekCompany": 2,
"CCCreditSubType": 1,
"EncodedCCNumber": null
}
],
"CustomTenders": [],
"TransactionId": "a4ed4fa7-89a6-4633-a375-00044913e26b",
"TransactionNo": "2-103176",
"TransactionERPCode": null,
"Store": {
"StoreId": "dea6fe69-50e3-4811-819e-6a615a2652a7",
"StoreName": "סניף באר שבע",
"Code": "6"
},
"ZNo": "6-1784",
"Total": 60,
"TotalBeforeTax": 51.282,
"TotalBeforeDisc": 60,
"TransactionType": 0,
"TaxId": "b44ec60b-e8f0-4497-9d0c-d8dbebaffc48",
"Tax": 8.718,
"TaxRate": 17,
"SaleTime": "2018-09-30 09:09:23Z",
"CouponAmount": null,
"Rounding": 0,
"RecieptTxt": null,
"PrintingXml": null,
"Register": {
"RegisterId": "c010edb2-18ae-4b73-8f9e-aef91ed8b889",
"RegisterName": "RAMOT",
"Code": "2"
},
"Note": null,
"Status": null,
"Modifier": {
"UserId": "b00544db-9fd3-4c8b-a6e6-c54ce3a2fe17",
"UserNo": "2",
"Name": "חיה לוי",
"UserERPCode": null
},
"SerialNo": null,
"VoidTransactionID": null,
"XID": null,
"PGT": 0,
"IsExtended": null,
"OnHoldID": null,
"SimplyCulbNo": null,
"PrivateNumber": null,
"InvitationComparePrintText": null,
"Customer": {
"CustomerID": "ee7dfb15-9f09-457a-974e-cac4e6d58585",
"CustomerNo": "10002333",
"FirstName": "ישראל",
"LastName": "כהן",
"Club": {
"ClubId": "d3349c2b-817c-4336-9bea-c261b5b4d564",
"ClubName": "סימפלי קלאב",
"ClubCode": 2,
"ClubPoints": 45.8,
"ClubNo": "14302653",
"ClubExpDate": "2018-04-03T00:00:00",
"ClubStartDate": null,
"ClubValid": false
},
"Address": {
"CustomerAddressID": "8b18b067-3a7e-43c5-a4a9-1a5126a4d091",
"Street": "הזית 2",
"City": "ירושלים",
"PhoneNo": "0532433644"
},
"BirthDay": "1986-12-09T00:00:00",
"WeddAnniversary": null,
"SpouseName": null,
"SpouseBirthDay": null,
"DateCreated": null,
"DateModified": "2019-01-17T12:25:56.983",
"AgreeEMAIL": null,
"AgreeSMS": null,
"CustomerERPCode": null,
"StoreCreated": "5f20e99a-99a8-4f84-91dd-ba2b4e973c8d",
"IdentityNo": "300741329",
"CustomerType": 3,
"FaxNumber": null,
"Current": 0,
"Status": 1,
"BalanceDoe": null
},
"Seller": {
"UserId": "b00544db-9fd3-4c8b-a6e6-c54ce3a2fe17",
"UserNo": "2",
"Name": "חיה לוי",
"UserERPCode": null
},
"GroupTourist": null,
"TaxableTotal": 51.282,
"TaxFreeTotal": 0
}Create New Transaction
POST http://api.rnet-tec.com/v1/transactions
Query Parameters
Name
Type
Description
upsert_items
boolean
upsert_customer
boolean
Request Body
Name
Type
Description
object
Transaction object
Example of Paid Invoice transaction:
Example of a transaction with discount per item:
Examples of discount per transaction:
1.
2.
Example of standard invoice (15) (payment is not included within the Invoice)
Example of Transaction Type Payment (14)
Example of Transaction Type Delivery Note (16 - updates inventory only)
Note - ERP Code is not needed - it is a good practice to hold there the web site or accounting system internal transaction code
Last updated
Was this helpful?