Integration

postGovernmentReceipt

Add a Government Receipt to a Reservation or House Account

post/postGovernmentReceipt

Request

  • Base URL
    https://api.cloudbeds.com/api/v1.3
  • URL
    https://api.cloudbeds.com/api/v1.3/postGovernmentReceipt
  • Auth
    • API key in header x-api-key
    • or OAuth 2
      Authorization code

Request body application/x-www-form-urlencoded

propertyIDstring nullable

Property identifier to be updated

reservationIDstring nullable

Reservation identifier. It, or houseAccountID, is necessary.

houseAccountIDstring nullable

House Account identifier. It, or reservationID, is necessary.

namestring

Name of the document. Will be used to describe document in MFD.

urlstring

URL for user to download document.

amountnumber

Value of posted document

identifierstring nullable

Receipt Identifier of document. If not sent, a random identifier will be generated.

issueDatestring date-time nullable

Datetime of document emission, if not sent, current datetime will be assumed.

Response

200 Response

successboolean

Returns if the request could be completed

messagestring nullable

To be used in case any error occurs (if success = false). If success = true, it does not exist.

Changes

No recorded changes to this operation across all 2 revisions of this API.