Paid in advance list by date range [GET]

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.

GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/billingPayment/payInAdvance


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

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/billingPayment/payInAdvance


Response

PropertyTypeRequiredDescription
PagePagetrue

Entity



FieldTypeRequiredDescription
idIntegertrueIdentificator of the BillingPayment
sequenceIntegertrueSequence of the folioProduct/invoiceProduct
productionDateIntegertrueDate when the payment enters in production
postingDateStringtrueDate when the payment is posted.
paymentPaymenttrueThe product of type payment associated to this billingPayment.
quantityIntegertrue
amountBigDecimaltrue
currencyCurrencytrue
invoiceInvoicefalseThe Invoice related to this payment
folioFoliofalseThe Folio related to this payment
paymentReceiptPaymentReceiptfalsePayment receipt related to this billing payment

Example response

[{
    "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,
	  "invoiceSource": 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": null,
    }
  }
]