Operation
This endpoint gives as a result all the payments contained in folios and invoices in which the date of the posting differs from the date in which the invoice has been created.
Rw ui textbox macro | ||
---|---|---|
| ||
Only accessible with permission of pms.integration.billing |
Style |
---|
table { width: 100%; } body.page-gadget { padding-top: 20px; } .separator{ margin: 5px 0; } |
Div | ||
---|---|---|
| ||
GET |
Div | ||
---|---|---|
| ||
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/billingPayment/payInAdvance |
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | Unique identificator of the chain. | |
propertyId | Integer | true | path parameter | Unique identificator of the property. | |
from | LocalDate | true | request parameter | Start of date range | |
to | LocalDate | true | request parameter | End of date range |
Example request
Code Block | ||||
---|---|---|---|---|
| ||||
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/billingPayment/payInAdvance |
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true |
Entity
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Example response
Code Block | ||
---|---|---|
| ||
[{
"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"
},
"folio": null,
"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,
"stateProvCode": null,
"stateProvName": 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": []
}
]
}
}
] |