Versions Compared

Key

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

Operation

This endpoint returns a combined list of payments from folios contained in folios and invoices filtered by a date range. 

Rw ui textbox macro
typewarning

Only accessible with permission of pms.integration.billing


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}/billingPayment



Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter 
Unique identificator of the chain.
propertyIdIntegertruepath parameter
Unique identificator of the property.
fromLocalDatetruerequest parameter
Start of date range
toLocalDatetruerequest parameter
End of date range


Example request

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



Response

PropertyTypeRequiredDescription
PagePagetrue

Entity


Insert excerpt
BillingPayment
BillingPayment
nopaneltrue

Example response

Code Block
themeDJango
[{
	"id": 8,
	"productionDate": "2019-04-30",
	"postingDate": "2019-04-30",
	"payment": {
		"id": 453,
		"name": "Visa"
	},
	"quantity": 1,
	"amount": 357,
	"currency": {
		"id": 1,
		"code": "EUR",
		"name": "Euro"
	},
	"invoice": {
		"id": 3,
		"invoiceSerie": "A15",
		"invoiceNumber": 100002,
		"invoiceDate": "2019-04-23",
		"company": null,
		"customer": {
			"id": 213,
			"name": "Emily Maëlann Andrews"
		},
		"travelAgent": null,
		"holderName": "Emily Maëlann Andrews",
		"taxId": null,
		"address": null,
		"city": null,
	    "stateProvName": null,
		"stateProvCode": null,
		"postalCode": null,
		"countryCode": null,
		"remark": null,
		"productList": [{
				"id": 8,
				"productionDate": "2019-04-30",
				"postingDate": "2019-04-30",
				"product": {
					"id": 453,
		  			"code":"V",
					"name": "Visa",
					"productType": {
						"id": 8,
						"code": "PAY",
						"name": "Payment"
					}
				},
				"quantity": 1,
				"amountAfterTax": 357,
				"amountBeforeTax": 357,
				"amountDiscount": 0,
				"amountTax": 0,
				"amountCommission": 0,
				"currency": {
					"id": 1,
					"code": "EUR",
					"name": "Euro"
				},
				"channel": null,
				"source": null,
				"segment": null,
				"invoiceProductTaxList": [],
				"invoiceProductCommissionList": [],
				"invoiceProductDiscountList": []
			},
			{
				"id": 9,
				"productionDate": "2019-04-30",
				"postingDate": "2019-04-30",
				"product": {
					"id": 519,
		  			"code":"DEP10",
					"name": "Deposit 10",
					"productType": {
						"id": 9,
						"code": "DEP",
						"name": "Deposit"
					}
				},
				"quantity": 1,
				"amountAfterTax": 357,
				"amountBeforeTax": 357,
				"amountDiscount": 0,
				"amountTax": 0,
				"amountCommission": 0,
				"currency": {
					"id": 1,
					"code": "EUR",
					"name": "Euro"
				},
				"channel": null,
				"source": null,
				"segment": null,
				"invoiceProductTaxList": [],
				"invoiceProductCommissionList": [],
				"invoiceProductDiscountList": []
			}
		]
	}
}
]