This endpoint is used to cancel an invoice that is already sent to PMS.

Request

POST https://app.hotelrunner.com/api/v1/apps/pos/postings/cancel

Query Parameters

Key Description
TOKEN Token generated for this integration on integration setup page
HR ID Hotel ID provided on integration setup page

Example: POST https://app.hotelrunner.com/api/v1/apps/pos/postings/cancel?token=12345&hr_id=67890

Example Query Body

{
  "pos_id": 745,
  "invoice_number": 4456
}

Body Parameters

Parameter Required Description
pos_id Yes Physical terminal ID in the target system
invoice_number Yes Invioce number that should be canceled

When the request is sent, all folio items with the given invoice number are found and their negative equivalents are added to their folio.