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/api/{version}/chain/{chainId}/property/{propertyId}/invoice/{invoiceId}



Request

PropertyTypeRequiredDefault valueDescription
chainIdIntegertrue
Unique identificator of the chain.
propertyIdIntegertrue
Unique identificator of the property.
invoiceIdIntegertrue
Unique identificator of the invoice.


Example request

Code Block
languagepowershell
themeDJango
GET https://prod.ulysescloud.com/api/v1/chain/1/property/2/invoice/1



Response

Insert excerpt
Invoice
Invoice
nopaneltrue

Example response

Code Block
themeDJango
{
	"id": 1,
	"invoiceSerie": "A15",
	"invoiceNumber": 100000,
	"invoiceDate": "2019-01-21",
	"company": null,
	"customer": {
		"id": 8,
		"name": "Denise Naéva Schmidt"
	},
	"travelAgent": null,
	"holderName": "Denise Naéva Schmidt",
	"taxId": null,
	"address": "75865 Emmet Crossing",
	"city": "Saginaw",
	"stateProv": "Michigan",
	"postalCode": "48604",
	"country": {
		"code": "ESP",
		"name": "SPAIN"
	},
	"remark": null,
	"productList": [{
			"id": 1,
			"productionDate": "2019-01-30",
			"postingDate": "2019-01-30",
			"product": {
				"id": 431,
				"name": "Cash",
				"productType": {
					"code": "PAY",
					"name": "Payment"
				}
			},
			"quantity": 1,
			"amountAfterTax": 142,
			"amountBeforeTax": 142,
			"amountDiscount": 0,
			"amountTax": 0,
			"amountCommission": 0,
			"currency": {
				"code": "EUR",
				"name": "Euro"
			},
			"channel": null,
			"source": null,
			"segment": null,
			"invoiceProductTaxList": [],
			"invoiceProductCommissionList": [],
			"invoiceProductDiscountList": []
		},
		{
			"id": 2,
			"productionDate": "2019-01-30",
			"postingDate": "2019-01-30",
			"product": {
				"id": 530,
				"name": "Deposit 21",
				"productType": {
					"code": "DEP",
					"name": "Deposit"
				}
			},
			"quantity": 1,
			"amountAfterTax": 142,
			"amountBeforeTax": 142,
			"amountDiscount": 0,
			"amountTax": 0,
			"amountCommission": 0,
			"currency": {
				"code": "EUR",
				"name": "Euro"
			},
			"channel": null,
			"source": null,
			"segment": null,
			"invoiceProductTaxList": [],
			"invoiceProductCommissionList": [],
			"invoiceProductDiscountList": []
		}
	]
}