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
Example

from_date

String

From date

2026-03-10 14:58:21.227

to_date

String

To date

2026-03-11 22:08:53.463

trn_type (optional)

Int

Type

0

include_lines (optional, default = true)

Boolean

Determines whether the following properties will be included in objects:

  • ItemEntries

  • DiscountEntries

  • Discount

  • CashTenders

  • CHTenders

  • CCTenders

  • CustomTenders

false

// array of transactions objects 
//(objects have the same structure as for single response)

Get Single Transaction

By Id

GET https://api.rnetpos.com/v1/transactions

Query Parameters

Name
Type
Description
Example

id

GUID

Transaction Id

A384DB1D-7D26-421D-8A01-889E89C5A22B

{
    "ItemEntries": [
        {
            "TransactionEntryID": "77148be7-84ee-4336-995a-d5ecb424263c",
            "ItemStoreID": "7e0fc51d-a781-419e-bd56-4612ad41d040",
            "Sort": 2.0,
            "EntryType": 0,
            "EntryDescription": "2021",
            "Item": {
                "ItemID": "1d2b2e4c-7c66-4d1a-a466-4b29fda67283",
                "ItemStoreID": "00000000-0000-0000-0000-000000000000",
                "Name": "2021",
                "BarcodeNumber": "2021122021S",
                "ModelNumber": "2021",
                "MatrixKey": null,
                "Description": "2021 1 2 2021 S  ",
                "GeneralPrice": null,
                "Cost": null,
                "IsCostTaxable": null,
                "TaxRate": null,
                "ERPCode": null,
                "ItemType": 0,
                "ParentItem": null,
                "TotalOnHand": null,
                "Status": null,
                "DateModified": null,
                "StoreIDs": null,
                "IsChainPrice": null,
                "PriceInSpecificStore": null
            },
            "Department": null,
            "Qty": 1.000,
            "Price": 500.0000,
            "Total": 500.0000,
            "BeforeDiscount": 500.0000,
            "DiscountOnEntryPerc": null,
            "DiscountOnEntryAmount": 0.0000,
            "UOMType": null,
            "UOMQty": 1.000,
            "SaleCode": null,
            "ChangePriceReason": null,
            "ParentTransactionEntry": null,
            "Cost": 0.0000,
            "Tax": 72.6496,
            "AVGCost": 0.0000,
            "Note": null,
            "MainGroupID": null,
            "DiscountOnTotalPerc": 0.000,
            "DiscountOnTotalAmount": 0.0000,
            "Status": 1,
            "QtyReturn": null,
            "ReturnTEntryID": null,
            "PriceAfterDiscount": 500.0000,
            "BeforeTax": 427.3504,
            "TaxRate": 17.000,
            "NewZTables": false,
            "CapsuleQty": null,
            "IfItemFromReceipt": false,
            "CustomerOrderID": 0,
            "CustomerOrderLineIDx": null,
            "ChooseType": 0,
            "ItemSerialID": null,
            "PriceAfterItemDiscount": 500.0000,
            "ExternalNum": null,
            "TotalFinalPrice": null,
            "TotalDiscount": null,
            "Discount": null
        }
    ],
    "DiscountEntries": [],
    "CashTenders": [],
    "CHTenders": [
        {
            "TenderEntryID": "30e56eb2-639f-457b-83c4-7ea3cc04c110",
            "Tender": {
                "TenderID": 2,
                "TenderName": "Check",
                "ERPCode": null,
                "TenderNameHe": null
            },
            "Amount": 500.0000,
            "Date": "2022-01-16 10:50:57Z",
            "CHDueDate": "2022-05-16 21:00:00Z",
            "No": "55",
            "CHBankNo": "11",
            "CHAccountNo": "1",
            "CHBranchNo": "1",
            "CHCurrPayNum": 1,
            "Status": 1,
            "PayNumber": null,
            "TZ": null
        }
    ],
    "CCTenders": [],
    "CustomTenders": [],
    "TransactionID": "a384db1d-7d26-421d-8a01-889e89c5a22b",
    "TransactionNo": "16-247",
    "TransactionERPCode": null,
    "ItemsCount": 0,
    "Store": {
        "StoreID": "4360f08c-784d-4e8e-b410-934d08ac8861",
        "Code": "7",
        "ERPCode": null,
        "PriceLeveExID": null,
        "StoreName": "מיזוג וברכה ",
        "Status": 1,
        "DefaultTax": null
    },
    "ZNo": "7-317",
    "Total": 500.0000,
    "TotalBeforeTax": 427.3504,
    "TotalBeforeDisc": 500.0000,
    "TransactionType": 0,
    "TaxID": "b44ec60b-e8f0-4497-9d0c-d8dbebaffc48",
    "Tax": 72.6496,
    "TaxRate": 17.0000,
    "SaleTime": "2022-01-16T12:50:29.203",
    "CouponAmount": null,
    "FeeAmount": null,
    "PrintType": null,
    "Rounding": 0.0000,
    "RecieptTxt": null,
    "PrintingXml": null,
    "Register": {
        "RegisterID": "fc5f61e2-ea13-4b32-a7ed-8ad87f1573b6",
        "RegisterName": "YEHUDIT_NEW",
        "Code": "16"
    },
    "Note": "",
    "Status": 1,
    "Modifier": {
        "UserID": "184340a4-07e9-47fb-9304-4a4bb590ea77",
        "UserNo": "1",
        "UserName": "מנהל",
        "FirstName": "מנהל",
        "LastName": "1",
        "Password": "1",
        "Address": null,
        "HomePhoneNumber": "7979",
        "WorkPhoneNumber": null,
        "Fax": null,
        "Email": null,
        "ZipCode": null,
        "Store": null,
        "UserERPCode": null,
        "CompanyID": null,
        "IsManualUpdate": false
    },
    "SerialNo": null,
    "VoidTransactionID": null,
    "XID": "e70278a5-1cb3-4594-9355-db2f4d106f19",
    "PGT": 186997.7500,
    "IsExtended": null,
    "SummaryInvoiceTransactionId": null,
    "OnHoldID": null,
    "SimplyClubNo": null,
    "PrivateNumber": null,
    "InvitationComparePrintText": null,
    "Customer": {
        "CustomerID": "6a78c582-fe7e-41a9-8e6a-c61968e92803",
        "CustomerGroups": [],
        "CustomerGroupIDs": [],
        "CustomerNo": "1",
        "FirstName": "חים",
        "LastName": "ע.מ. 18 שטייו",
        "Club": {
            "ClubID": "bef5637e-e137-4cb7-ac39-948f14ff77c6",
            "ClubName": "לקוחות זמניים",
            "ClubCode": 6,
            "ClubPoints": 10.91,
            "ClubNo": "55668822",
            "ClubExpDate": "2024-07-18T00:00:00",
            "ClubStartDate": "2019-07-18T15:09:31.693",
            "ClubValid": null,
            "CompanyID": null,
            "ClubExpirationMonth": null
        },
        "Address": {
            "CustomerAddressID": "19c98c33-e654-4a8b-bfe2-25d942d0c789",
            "Address": null,
            "Street": "רבי עקיבא",
            "City": "בני ברק",
            "PhoneNo": null,
            "AdditionalPhoneNo": null,
            "Buliding": null,
            "Apartment": null
        },
        "BirthDay": "2000-12-11T00:00:00",
        "WeddAnniversary": null,
        "SpouseName": null,
        "SpouseBirthDay": null,
        "DateCreated": "2018-01-03T14:28:59.673",
        "DateModified": "2026-03-05T09:51:07.993",
        "AgreeEMAIL": true,
        "AgreeSMS": true,
        "CustomerERPCode": null,
        "StoreCreated": {
            "StoreID": "4360f08c-784d-4e8e-b410-934d08ac8861",
            "Code": "7",
            "ERPCode": null,
            "PriceLeveExID": null,
            "StoreName": "מיזוג וברכה ",
            "Status": 1,
            "DefaultTax": null
        },
        "IdentityNo": "18",
        "CustomerType": 3,
        "FaxNumber": null,
        "Current": 0.0000,
        "Status": 1,
        "BalanceDoe": 44645.0000,
        "FormatPrice": {
            "PriceID": "eb6eb13c-4549-4a67-a45e-7cebbf14403f",
            "FormatName": "מחירון 50%",
            "ERPCode": null
        },
        "Email": "[email protected]",
        "LastPaymentDate": "0001-01-01T00:00:00",
        "CompanyID": null,
        "TemplateId": null,
        "IsPhoneNoExist": false,
        "IsCheckPhoneNoExist": false
    },
    "TransactionEMAIL": "",
    "Seller": {
        "UserID": "184340a4-07e9-47fb-9304-4a4bb590ea77",
        "UserNo": "1",
        "UserName": "מנהל",
        "FirstName": "מנהל",
        "LastName": "1",
        "Password": "1",
        "Address": null,
        "HomePhoneNumber": "7979",
        "WorkPhoneNumber": null,
        "Fax": null,
        "Email": null,
        "ZipCode": null,
        "Store": null,
        "UserERPCode": null,
        "CompanyID": null,
        "IsManualUpdate": false
    },
    "GroupTourist": null,
    "TaxableTotal": 427.3504,
    "TaxFreeTotal": 0.0000,
    "Discount": null
}

By Transaction Number

GET https://api.rnetpos.com/v1/transactions/no/{transaction_no}/type/{transaction_type}

Path Parameters

Name
Type
Description
Example

transaction_no

String

Transaction number

16-19

transaction_type

Int

Transaction type

16

Create New Transaction

POST http://api.rnet-tec.com/v1/transactions

Query Parameters

Name
Type
Description

upsert_items

(optional, default = false)

Boolean

upsert_customer

(optional, default = false)

Boolean

Request Body

Name
Type
Description

object

Transaction object

circle-info

The Default TransactionType is a Paid Invoice (0) (payment included within the Invoice)

Example of Paid Invoice transaction:


Example of a transaction with discount per item:

chevron-rightResponsehashtag


Examples of discount per transaction:

  1. By amount

  1. By percent


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