Aiosell Checkout Payload for 3rd Party

Aiosell Checkout Payload for 3rd Party

Share the endpoint to receive the information from Aiosell System Upon Checkout of a Booking in PMS.

{
   "roomNumId":“nishant-test-hotel-executive super- 103”,
   "checkout":{
      "roomType":"executive-super",
      "photoIdUrls":[
         "“https"://s3.ap-south-1.amazonaws.com/aiosell.pms/nishant-test-hotel/2282199873-logo.jpg”
      ],
      "nights":1,
      "checkoutDate":"“2023-11-22 23":"59":00”,
      "guestName":"test booking",
      "gender":"Male",
      "checkinDate":"“2023-11-22 23":"59":00”,
      "ratePlan":"executive-super-d-ep",
      "roomTypeName":"Executive Super",
      "invoiceData":[
         {
            "invoiceAmount":552.5,
            "invoiceNum":“2023-24/NTH-2”,
            "services":[
               {
                  "taxData":{
                     "total":2.5,
                     "CGST 2.5":1.25,
                     "SGST 2.5":1.25
                  },
                  "totalAmount":52.5,
                  "pretaxAmount":50.0,
                  "date":"“2023-11-22 18":"29":00”,
                  "name":"Baked Samosa"
               },
               {
                  "taxData":{
                     "total":0,
                     "GST 0":0
                  },
                  "totalAmount":500.0,
                  "pretaxAmount":500.0,
                  "date":"“2023-11-22 18":"29":00”,
                  "name":"SOFT DRINK"
               }
            ],
            "invoiceUrl":"“https"://s3.ap-south-1.amazonaws.com/aiosell.pms/invoice/7b538230-07fa-4f2d-9c2c-6a96809605f2.pdf”,
            "paymentData":[
               {
                  "amountPaid":552.5,
                  "paymentMode":"GPay",
                  "attachment":"“https"://s3.ap-south-1.amazonaws.com/aiosell.pms/nishant-test-hotel/1733741883115-logo.jpg”,
                  "comments":"test comments"
               }
            ]
         },
         {
            "invoiceAmount":2464.0,
            "invoiceNum":“2023-24/NTH-1”,
            "services":[
               {
                  "taxData":{
                     "SGST 6":132.0,
                     "total":264.0,
                     "CGST 6":132.0
                  },
                  "totalAmount":2464.0,
                  "pretaxAmount":2200.0,
                  "date":"“2023-11-22 06":"30":00”,
                  "name":“Room Charges (GST 12)”
               }
            ],
            "invoiceUrl":"“https"://s3.ap-south-1.amazonaws.com/aiosell.pms/invoice/ec0ee5fb-b57a-42af-8387-a81bb0ce8111.pdf”,
            "paymentData":[
               {
                  "companyName":"Prepaid Bookings",
                  "paymentMode":"Bill to Company",
                  "comments":"None",
                  "attachment":"None",
                  "address":"None",
                  "amountPaid":2464.0,
                  "taxNum":"None"
               }
            ]
         }
      ],
      "guestCount":2,
      "dob":“2000-03-02”,
      "bookingId":“AIO-NIS-6330-2636”,
      "bookingVoucherLink":"“https"://s3.ap-south-1.amazonaws.com/aiosell.pms/pms-vouchers/nishant-test-hotel/AIO-NIS-1280-1774.pdf”,
      "guestContact":{
         "phone":“1112223334”,
         "email":"testbooking@email.com",
         "address":{
            "city":"bangalore",
            "state":"Karnataka",
            "zipCode":“587001”,
            "line1":"test address",
            "country":"India"
         }
      },
      "mealPlan":"EP",
      "masterInvoiceNumber":“2023-24/NTH-1”,
      "segment":"Walk-in",
      "channel":"PMS"
   },
   "hotelId":"nishant-test-hotel",
   "user":"sushmita@aiosell.com",
   "hotelCountryCode":"IN",
   "operation":"checkout",
   "roomNum":“ 103”
}
    • Related Articles

    • Aiosell New Booking Payload for 3rd Party

      Share the endpoint to receive the information from Aiosell System Upon creation of a new booking. { "hotelCountryCode":"IN", "hotelId":"nishant-test-hotel", "operation":"new_booking", "reservation":{ "sourceFields":{ "hotelCode":"nishant-test-hotel" ...
    • Inventory POST from Aiosell to 3rd Party

      API Endpoint URL: BASE URL TO BE SHARED BY OTA Purpose This API allows Aiosell to communicate inventory updates, including availability and restrictions, to third-party OTAs (Online Travel Agencies). It ensures inventory consistency across platforms. ...
    • Aiosell Checkin Payload for 3rd Party

      Share the endpoint to receive the information from Aiosell System Upon Checkin of a Booking in PMS. { "roomNumId":“nishant-test-hotel-executive super- 103”, "hotelId":"nishant-test-hotel", "user":"sushmita@aiosell.com", "hotelCountryCode":"IN", ...
    • Aiosell POS Bill Payload for 3rd Party

      (in paymentData apart from the keys paymentMode and amountPaid rest are optional, they might be passed or may not be) { "hotelId":"nishant-test-hotel", "operation":"pos_bill", "posBill":{ "masterInvoiceNumber":"““", "nights":0, "guestCount":0, ...
    • Rate POST from Aiosell to 3rd Party / OTA

      API ENDPOINT URL: TO BE SHARED BY OTA Purpose This API allows Aiosell to communicate updated room rates and restrictions to third-party OTAs (Online Travel Agencies). It ensures consistency in pricing across all platforms. Request Format | Method: ...