Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Operation

Information of the operation

Rw ui textbox macro
typewarning

Only accessible with permission of pms.integration.invoice


Style
table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}


.separator{
margin: 5px 0;
}



Div
style background-color: green; color: white; display: inline-block; padding: 5px; border-radius: 3px;

GET



Div
stylebackground-color: #0a2b1d; padding: 10px 1em; display: inline-block; color: white; border-radius: 3px;

https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/invoice/{invoiceId}



Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegertruepath parameter
Unique identificator of the property.
invoiceIdIntegertruepath parameter
Unique identificator of the invoice.


Example request

Code Block
languagepowershell
themeDJango
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/2/invoice/1



Response

Insert excerpt
Invoice
Invoice
nopaneltrue

Example response

Code Block
themeDJango
{
  	"id": 13384,
  	"invoiceSerie": "IN",
  	"invoiceNumber": 182,
  	"invoiceDateinvoiceSource": "2020-01-15",
  "company": {
    {
		"id": 172102,
    "name		"invoiceSerie": "TagfeedIN",
		"invoiceNumber": 80,
  		"codeinvoiceSource": null,
    "taxId		"invoiceDate": "753101612021-01-25",
    "iataId		"company": null,
    "companyEmailList": [
      {
        		"customer": {
			"id": 1721461,
			"name": "Marie-ève Bailey, Mary",
			"customerDocumentList": [{
				"id": 186,
				"primary": true,
        "emailAddressType				"documentType": {
          					"id": 12,
					"code":          "code"P",
					"name": "1Passport",
          "name					"nameI18n": "PersonalPassport"
        				},
        "email				"number": "rsnyder4g@quantcast.comQIhvzJUU",
        "remark": null
      }
    ],
    "companyAddressList": [
      {
        "id": 172,
        "primary": true,
        "communicationLocationType": {
          "id": 1,
          "code": "1",
          "name": "Home"
        },
        "street": "09914 Lunder Point",
        "city": "Dallas",
        "stateProvName": "Texas",
        				"givenName": "Mary",
				"surName": "Marie-ève",
				"secondSurName": "Bailey",
				"genderType": {
					"id": 2,
					"code": "F",
					"name": "Female",
					"nameI18n": "Female"
				},
				"birthDate": "2003-01-26",
				"birthCountryCode": "CK",
				"birthPlace": "Memphis",
				"effectiveDate": "2020-01-26",
				"expireDate": "2023-01-26",
				"street": "6 Pine View Avenue",
				"city": "Memphis",
				"stateProvName": "Tennessee",
				"stateProvCode": null,
				"countryCode":        "CK",
				"postalCode": "7531038143",
        "countryCode				"nationalityCountryCode": "HTCK",
        "remark				"countryOfIssuanceCode": "CK"Address Remark"
      }
    ],
    "companyPhoneList": [
      {
        "id": 172,
        "primary": true,
        "phoneLocationType": {
          "id": 6,
          "code": "6",
          "name": "Home"
        },
        "phoneTechType": {
          "id": 1,
          "code": "1",
          "name": "Voice"
        },
        "countryAccessCode": "+34",
        "areaCityCode": "B",
        "phoneNumber": "1-(214)166-4006",
        "extension": "1",
        "remark": "Phone Remark"
      }
    ],
    "companyTaxAddress": {
      "id": 162,
      "communicationLocationType": null,
      "street": "09914 Lunder Point",
      "city": "Dallas",
      "stateProvName": "Texas",
      "stateProvCode": null,
      "postalCode": "75310",
      "countryCode": "NZ",
      "remark": "Address Remark"
    },
    "remark": "Company Remarks",
  	"profileType": {
    ,
				"ocr": null,
				"remark": null
			}],
			"customerEmailList": null,
			"customerAddressList": null,
			"customerPhoneList": null,
			"remark": null,
			"profileType": {
				"code": "1",
				"name": "Customer",
				"nameI18n": "Customer",
				"colorCode": "#757575"
			}
		},
		"travelAgent": null,
		"holderName": "Marie-ève Bailey, Mary",
		"taxId": "QIhvzJUU",
		"address": "6 Pine View Avenue",
		"city": "Memphis",
		"stateProvName": "Tennessee",
		"stateProvCode": null,
		"postalCode": "38143",
		"countryCode": "CK",
		"remark": null,
		"invoiceType": {
			"id": 6,
			"code": "IN",
			"name": "Invoice",
			"description": null,
			"active": true,
			"inactiveReason": null
		},
		"billingType": {
			"id": 3,
			"code": "RE",
			"name": "ReservationRoomStay",
			"nameI18n": "ReservationRoomStay",
			"colorCode": "#1E88E5"
		},
		"totalAmountAfterTax": 176.000000,
		"totalAmountBeforeTax": 160.272727,
		"totalAmountTax": 15.727273,
		"totalAmountTaxExempt": 3.000000,
		"totalAmountDiscount": 0.000000,
		"totalAmountCommission": 0.000000,
		"productList": [],
		"invoiceTaxSummaryList": null
	},
	"invoiceDate": "2021-01-26",
	"company": null,
	"customer": {
		"id": 1461,
		"name": "Marie-ève Bailey, Mary",
		"customerDocumentList": [{
			"id": 186,
			"primary": true,
			"documentType": {
				"id": 2,
				"code": "2P",
   	 			"name": "CompanyPassport",
    				"nameI18n": "CompanyPassport",
   
			},
			"colorCodenumber": "#00ACC1QIhvzJUU",
  	}
  },
  "customer			"givenName": null,
  "travelAgentMary": null,
  "holderName			"surName": "TagfeedMarie-ève",
  "taxId			"secondSurName": "75310161Bailey",
  "address			"genderType": "09914 Lunder Point",
  "city{
				"id": 2,
				"code": "DallasF",
  "stateProvName				"name": "TexasFemale",
  "stateProvCode": null,
  "postalCode				"nameI18n": "Female"
			},
			"birthDate": "753102003-01-26",
  "countryCode			"birthCountryCode": "HTCK",
  "remark			"birthPlace": null,
  "productList": [
    {
      "id": 1,
      "productionDate"Memphis",
			"effectiveDate": "2020-01-1426",
      "postingDate			"expireDate": "20202023-01-1426",
      "product": {
        "id": 632,
		"code":"S",
        "name": "Single",
        "productType": {
          "id": 1,
          "code": "ACC",
          "name": "Accommodation"
        }
      },
      "quantity": 1,
      "amountAfterTax": 102.200000,
      "amountBeforeTax": 92.909091,
      "amountDiscount": 0.000000,
      "amountTax": 9.290909,
      "amountCommission": 0.000000,
      "currency": {
        "id": 1,
        "code": "EUR",
        "name": "Euro"
      },
      "channel": {
        "id": 11,
        "code": "WEB",
        "name": "Booking Engine"
      },
      "source": {
        "id": 8,
        "code": "AGE",
        "name": "Agency"
      },
      "segment": {
        "id": 31,
        "code": "CREWS",
        "name": "Crews"
      },
      "invoiceProductTaxList": [
        {
          "id": 1,
          "tax": {
            "id": 45,
            "name": "Tax 10%"
          },
          "name": "Tax 10%",
          "amount": 0.000000,
          "percentageOfTax": 10.000000,
          "amountOfTax": 0.000000
        }
      ],
      "invoiceProductCommissionList": [],
      "invoiceProductDiscountList": []
    },
    {
      "id": 2,
      "productionDate": "2020-01-14",
      "postingDate": "2020-01-14",
      "product": {
        "id": 767,
		"code":"CTB",
        "name": "City Tax Barcelona",
        "productType": {
          "id": 6,
          "code": "FEE",
          "name": "Fee"
        }
      },
      "quantity": 1,
      "amountAfterTax": 3.000000,
      "amountBeforeTax": 3.000000,
      "amountDiscount": 0.000000,
      "amountTax": 0.000000,
      "amountCommission": 0.000000,
      "currency": {
        "id": 1,
        "code": "EUR",
        "name": "Euro"
      },
      "channel": {
        "id": 11,
        "code": "WEB",
        "name": "Booking Engine"
      },
      "source": {
        "id": 8,
        "code": "AGE",
        "name": "Agency"
      },
      "segment": {
        "id": 31,
        "code": "CREWS",
        "name": "Crews"
      },
      "invoiceProductTaxList": [],
      "invoiceProductCommissionList": [],
      "invoiceProductDiscountList": []
    },
    {
      "id": 3,
      "productionDate": "2020-01-15",
      "postingDate": "2020-01-15",
      "product": {
        "id": 61,
		"code":"BR",
        "name": "Breakfast",
        "productType": {
          "id": 2,
          "code": "SER",
          "name": "Service"
        }
      },
      "quantity": 1,
      "amountAfterTax": 22.000000,
      "amountBeforeTax": 20.000000,
      "amountDiscount": 0.000000,
      "amountTax": 2.000000,
      "amountCommission": 0.000000,
      "currency": {
        "id": 1,
        "code": "EUR",
        "name": "Euro"
      },
      "channel": {
        "id": 11,
        "code": "WEB",
        "name": "Booking Engine"
      },
      "source": {
        "id": 8,
        "code": "AGE",
        "name": "Agency"
      },
      "segment": {
        "id": 31,
        "code": "CREWS",
        "name": "Crews"
      },
      "invoiceProductTaxList": [
        {
          "id": 2,
          "tax": {
            "id": 45,
            "name": "Tax 10%"
          },
          "name": "Tax 10%",
          "amount": 0.000000,
          "percentageOfTax": 10.000000,
          "amountOfTax": 0.000000
        }
      ],
      "invoiceProductCommissionList": [],
      "invoiceProductDiscountList": []
    },
    {
      "id": 4,
      "productionDate": "2020-01-15",
      "postingDate": "2020-01-15",
      "product": {
        "id": 74,
		"code":"PK",
        "name": "Parking",
        "productType": {
          "id": 2,
          "code": "SER",
          "name": "Service"
        }
      },
      "quantity": 3,
      "amountAfterTax": 10.000000,
      "amountBeforeTax": 9.090909,
      "amountDiscount": 0.000000,
      "amountTax": 0.909091,
      "amountCommission": 0.000000,
      "currency": {
        "id": 1,
        "code": "EUR",
        "name": "Euro"
      },
      "channel": {
        "id": 11,
        "code": "WEB",
        "name": "Booking Engine"
      },
      "source": {
        "id": 8,
        "code": "AGE",
        "name": "Agency"
      },
      "segment": {
        "id": 31,
        "code": "CREWS",
        "name": "Crews"
      },
      "invoiceProductTaxList": [
        {
          "id": 3,
          "tax": {
            "id": 45,
            "name": "Tax 10%"
          },
          "name": "Tax 10%",
          "amount": 0.000000,
          "percentageOfTax": 10.000000,
          "amountOfTax": 0.000000
        }
      ],
      "invoiceProductCommissionList": [],
      "invoiceProductDiscountList": []
    },
    {
      "id": 5,
      "productionDate": "2020-01-15",
      "postingDate": "2020-01-15",
      "product": {
        "id": 74,
		"code":"PK",
        "name": "Parking",
        "productType": {
          "id": 2,
          "code": "SER",
          "name": "Service"
        }
      },
      "quantity": 2,
      "amountAfterTax": 10.000000,
      "amountBeforeTax": 9.090909,
      "amountDiscount": 0.000000,
      "amountTax": 0.909091,
      "amountCommission": 0.000000,
      "currency": {
        "id": 1,
        "code": "EUR",
        "name": "Euro"
      },
      "channel": {
        "id": 11,
        "code": "WEB",
        "name": "Booking Engine"
      },
      "source": {
        "id": 8,
        "code": "AGE",
        "name": "Agency"
      },
      "segment": {
        "id": 31,
        "code": "CREWS",
        "name": "Crews"
      },
      "invoiceProductTaxList": [
        {
          "id": 4,
          "tax": {
            "id": 45,
            "name": "Tax 10%"
          },
          "name": "Tax 10%",
          "amount": 0.000000,
          "percentageOfTax": 10.000000,
          "amountOfTax": 0.000000
        }
      ],
      "invoiceProductCommissionList": [],
      "invoiceProductDiscountList": []
    },
    {
      "id": 6,
      "productionDate": "2020-01-15",
      "postingDate": "2020-01-15",
      "product": {
        "id": 51,
		"code":"MC",
        "name": "MasterCard",
        "productType": {
          "id": 3,
          "code": "PAY",
          "name": "Payment"
        }
      },
      "quantity": 1,
      "amountAfterTax": 177.200000,
      "amountBeforeTax": 177.200000,
      "amountDiscount": 0.000000,
      "amountTax": 0.000000,
      "amountCommission": 0.000000,
      "currency": {
        "id": 1,
        "code": "EUR",
        "name": "Euro"
      },
      "channel": {
        "id": 11,
        "code": "WEB",
        "name": "Booking Engine"
      },
      "source": {
        "id": 8,
        "code": "AGE",
        "name": "Agency"
      },
      "segment": {
        "id": 31,
        "code": "CREWS",
        "name": "Crews"
      },
      "invoiceProductTaxList": [],
      "invoiceProductCommissionList": [],
      "invoiceProductDiscountList": []
    }
  ]			"street": "6 Pine View Avenue",
			"city": "Memphis",
			"stateProvName": "Tennessee",
			"stateProvCode": null,
			"countryCode": "CK",
			"postalCode": "38143",
			"nationalityCountryCode": "CK",
			"countryOfIssuanceCode": "CK",
			"ocr": null,
			"remark": null
		}],
		"customerEmailList": [{
			"id": 1461,
			"primary": true,
			"emailAddressType": {
				"id": 1,
				"code": "1",
				"name": "Personal",
				"nameI18n": "Personal"
			},
			"email": "mrichardsn1@spiegel.de",
			"remark": null
		}],
		"customerAddressList": [{
			"id": 1461,
			"primary": true,
			"communicationLocationType": {
				"id": 1,
				"code": "1",
				"name": "Home",
				"nameI18n": "Home"
			},
			"street": "6 Pine View Avenue",
			"city": "Memphis",
			"stateProvName": "Tennessee",
			"stateProvCode": null,
			"postalCode": "38143",
			"countryCode": "CK",
			"remark": null
		}],
		"customerPhoneList": [{
			"id": 1461,
			"primary": true,
			"phoneLocationType": {
				"id": 6,
				"code": "6",
				"name": "Home",
				"nameI18n": "Home"
			},
			"phoneTechType": {
				"id": 1,
				"code": "1",
				"name": "Voice",
				"nameI18n": "Voice"
			},
			"countryAccessCode": null,
			"areaCityCode": null,
			"phoneNumber": "1-(901)824-6880",
			"extension": null,
			"remark": null
		}],
		"remark": null,
		"profileType": {
			"code": "1",
			"name": "Customer",
			"nameI18n": "Customer",
			"colorCode": "#757575"
		}
	},
	"travelAgent": null,
	"holderName": "Marie-ève Bailey, Mary",
	"taxId": "QIhvzJUU",
	"address": "6 Pine View Avenue",
	"city": "Memphis",
	"stateProvName": "Tennessee",
	"stateProvCode": null,
	"postalCode": "38143",
	"countryCode": "CK",
	"remark": null,
	"invoiceType": {
		"id": 6,
		"code": "IN",
		"name": "Invoice",
		"description": null,
		"active": true,
		"inactiveReason": null
	},
	"billingType": {
		"id": 3,
		"code": "RE",
		"name": "ReservationRoomStay",
		"nameI18n": "ReservationRoomStay",
		"colorCode": "#1E88E5"
	},
	"totalAmountAfterTax": 176.000000,
	"totalAmountBeforeTax": 160.272727,
	"totalAmountTax": 15.727273,
	"totalAmountTaxExempt": 3.000000,
	"totalAmountDiscount": 0.000000,
	"totalAmountCommission": 0.000000,
	"productList": [{
		"id": 51197,
		"productionDate": "2021-01-26",
		"postingDate": "2021-01-26",
		"product": {
			"id": 677,
			"code": "DBL",
			"name": "Double",
			"productType": {
				"id": 1,
				"code": "ACC",
				"name": "Accommodation",
				"nameI18n": "Accommodation"
			}
		},
		"quantity": 1,
		"amountAfterTax": 120.000000,
		"amountBeforeTax": 109.090909,
		"amountDiscount": 0.000000,
		"amountTax": 10.909091,
		"amountCommission": 0.000000,
		"currency": {
			"id": 1,
			"code": "EUR",
			"name": "Euro",
			"nameI18n": "Euro",
			"symbol": "€",
			"decimalPlaces": 2
		},
		"channel": {
			"id": 8,
			"code": "GDS",
			"name": "Global Distribution System"
		},
		"source": {
			"id": 13,
			"code": "PHO",
			"name": "Phone"
		},
		"segment": {
			"id": 22,
			"code": "CRU",
			"name": "Cruise"
		},
		"invoiceProductTaxList": [{
			"id": 40409,
			"tax": {
				"id": 46,
				"name": "Tax 10%"
			},
			"name": "Tax 10%",
			"amount": 0.000000,
			"percentageOfTax": 10.000000,
			"amountOfTax": 0.000000
		}],
		"invoiceProductCommissionList": [],
		"invoiceProductDiscountList": []
	}],
	"invoiceTaxSummaryList": null
}