Billing Payment list by date range [GET]
Operation
This endpoint returns a list of payments contained in folios and invoices filtered by a date range.
GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/billingPayment
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
GET https://prod.ulysescloud.com/api/v1/chain/1/property/1/billingPayment
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true |
Entity
Field | Type | Required | Description |
---|---|---|---|
id | Integer | true | Identificator of the BillingPayment |
sequence | Integer | true | Sequence of the folioProduct/invoiceProduct |
productionDate | Integer | true | Date when the payment enters in production |
postingDate | String | true | Date when the payment is posted. |
payment | Payment | true | The product of type payment associated to this billingPayment. |
quantity | Integer | true | |
amount | BigDecimal | true | |
currency | Currency | true | |
invoice | Invoice | false | The Invoice related to this payment |
folio | Folio | false | The Folio related to this payment |
paymentReceipt | PaymentReceipt | false | Payment receipt related to this billing payment |
Example response
[{ "id": 8, "sequence": 23, "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, "stateProv": null, "postalCode": null, "countryCode": null, "remark": null, "productList": null }, "paymentReceipt": { "id": 1, "name": "test", "remark": null, "price": 150.000000, "currency": { "id": 1, "code": "EUR", "name": "Euro", "nameI18n": "Euro", "symbol": "€", "decimalPlaces": 2 }, "merchant": "112903902", "operation": "Payment" } }]