### API Errors Source: https://hostkit.pt/api/index This section details the possible errors that the Hostkit API may return, along with their meanings. ```APIDOC ## API Errors ### Description Lists and describes potential errors returned by the Hostkit API. ### Error Codes and Descriptions - **Missing parameter**: There is a mandatory parameter for SIBA missing. - **Incorrect format**: The format of one of the parameters is wrong. - **Departure is before arrival**: Arrival date is earlier than departure date. - **Parameter is invalid**: The parameter is not valid. - **Parameter too long**: The parameter exceeded the maximum size. - **SIBA error**: Specific SIBA error. - **Reservation already exists**: The reservation you are trying to add/edit already exists. - **Reservation not found**: The reservation you are trying to edit/delete doesn't exist. - **Unknown reservation code**: The reservation code you are trying to obtain doesn't exist. - **Guest already exists**: The guest you are trying to add already exists. - **Guest not found**: The guest you are trying to edit/delete doesn't exist. - **Invalid format for check-in/out**: Incorrect check-in/out date format, must be YYYY-MM-DD. - **Invalid property ID for your user**: Specified property is not licensed to the API key user. - **No APIKEY provided**: API key not specified. - **Account expired**: Your Hostkit account license expired. - **Invalid plan**: Your plan does not allow access to the API. - **Incorrect APIKEY provided**: An incorrect API key has been specified. - **Limit exceeded**: Requests rate limit exceeded. - **Incorrect protocol**: Incorrect API protocol call. - **Internal error**: Internal Hostkit error, please contact us. - **Unknown error**: An unknown error has occurred. ``` -------------------------------- ### VAT Reverse Charge Codes Source: https://hostkit.pt/api/index This section lists various VAT reverse charge codes applicable in Portugal, along with their corresponding descriptions. ```APIDOC ## VAT Reverse Charge Codes ### Description Provides a list of VAT reverse charge codes used in Portugal. ### Endpoint `/websites/hostkit_pt_api/vat_codes ### Response #### Success Response (200) - **M40** (string) - VAT reverse charge, Article 6, nr. 6, line a of CIVA (to the contrary) - **M41** (string) - VAT reverse charge, Article 8, nr. 3 of RITI - **M42** (string) - VAT reverse charge, Decree-Law no. 21/2007, of 29 January - **M43** (string) - VAT reverse charge, Decree-Law no. 362/99, of 16th September - **M99** (string) - Not subject, not taxed #### Response Example { "M40": "IVA autoliquidação, Artigo 6.º n.º 6 alínea a do CIVA, a contrário", "M41": "IVA autoliquidação, Artigo 8.º n.º 3 do RITI", "M42": "IVA autoliquidação, Decreto-Lei n.º 21/2007, de 29 de janeiro", "M43": "IVA autoliquidação, Decreto-Lei n.º 362/99, de 16 de setembro", "M99": "Não sujeito, não tributado" } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.