Aiosell POS Bill Payload for 3rd Party

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,

      "invoiceData":[

         {

            "invoiceNum":“INV-RST-346”,

            "invoiceAmount":661.5,

            "paymentData":[

               {

                  "paymentMode":"Bill to Company",

                  "amountPaid":661.5,

                  "attachment":"“https"://s3.ap-south-1.amazonaws.com/aiosell.pms/nishant-test-hotel/1730098914368-logo.jpg”,

                  "comments":"test comment",

                  "companyName":"Luxury Rooms",

                  "address":"winzone area",

                  "taxNum":“GST1100110”

               }

            ],

            "services":[

               {

                  "name":"FRIED RICE VEG",

                  "pretaxAmount":200.0,

                  "totalAmount":210.0,

                  "taxData":{

                     "total":10.0,

                     "CGST 2.5":5.0,

                     "SGST 2.5":5.0

                  }

               },

               {

                  "name":"TAWA ROTI",

                  "pretaxAmount":50.0,

                  "totalAmount":52.5,

                  "taxData":{

                     "total":2.5,

                     "CGST 2.5":1.25,

                     "SGST 2.5":1.25

                  }

               },

               {

                  "name":"ALOO MATTAR",

                  "pretaxAmount":220.0,

                  "totalAmount":231.0,

                  "taxData":{

                     "total":11.0,

                     "CGST 2.5":5.5,

                     "SGST 2.5":5.5

                  }

               },

               {

                  "name":"MASALA PAPAD",

                  "pretaxAmount":160.0,

                  "totalAmount":168.0,

                  "taxData":{

                     "total":8.0,

                     "CGST 2.5":4.0,

                     "SGST 2.5":4.0

                  }

               }

            ]

         }

      ]

   },

   "hotelCountryCode":"IN"

}{

   "hotelId":"nishant-test-hotel",

   "operation":"pos_bill",

   "posBill":{

      "masterInvoiceNumber":"““",

      "nights":0,

      "guestCount":0,

      "invoiceData":[

         {

            "invoiceNum":“INV-RST-349”,

            "invoiceAmount":63.0,

            "paymentData":[

               {

                  "paymentMode":"Cash",

                  "amountPaid":63.0,

                  "attachment":"“https"://s3.ap-south-1.amazonaws.com/aiosell.pms/nishant-test-hotel/1730098914368-logo.jpg”,

                  "comments":"test comment"

               }

            ],

            "services":[

               {

                  "name":"MILK TEA",

                  "pretaxAmount":60.0,

                  "totalAmount":63.0,

                  "taxData":{

                     "total":3.0,

                     "CGST 2.5":1.5,

                     "SGST 2.5":1.5

                  }

               }

            ]

         }

      ]

   },

   "hotelCountryCode":"IN"

}

    • Related Articles

    • 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":[ ...
    • 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 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" ...
    • 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: ...