v3

latestOpenAPI 3.0.42026-07-312008682.1 MB
Bills

Get bill PDF

Generates a PDF document of the specified bill. If the PDF cannot be returned immediately, retry the call later with the unique event identifier returned by the first invocation as BillPrintEventId.

This operation is subject to the Mews Operations quota "Property Financial Document Print Event Weekly Count". Each bill can be printed or previewed up to 30 times within 7 days. Requests that include an existing BillPrintEventId do not count against this quota.

post/api/connector/v1/bills/getPdf

Request body

ClientTokenstring required

Token identifying the client application.

AccessTokenstring required

Access token of the client application.

Clientstring required

Name and version of the client application.

BillIdstring uuid required

Unique identifier of the Bill to be printed.

BillPrintEventIdstring uuid nullable

Identifier of an existing bill print event returned by a previous call. Provide this value to retry retrieval of a pending PDF without consuming its "Property Financial Document Print Event Weekly Count" quota.

PdfTemplate'Detailed' | 'Consumption' | 'Reservation' | 'OrderItem' | 'Guest'

Detailed (Detailed overview. Items are grouped by the reservation, item type and price, and consumption date.)

Consumption (Overview by date (no reservation details). Items of the same type and price are grouped by consumption date.)

Reservation (Overview by reservation (no date). Items of the same type and price are grouped by reservation.)

OrderItem (Consumption overview (not fiscal document). Items are grouped by the item type and price without reservation details and consumption date.)

Guest (Overview by guest. Items are grouped by guest, reservation, consumption date, and item type.)

PrintReasonstring nullable

The reason for reprinting the bill with different template. Required for France LE.

Response

OK

BillIdstring uuid

Unique identifier of the printed bill.