Versions Compared

Key

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

Operation

Information of the operation

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



Request

PropertyTypeRequiredDefault valueDescription
chainIdIntegertrue
Unique identificator of the chain.
propertyIdIntegertrue
Unique identificator of the property.
invoiceNumberStringfalse

invoiceSerieStringfalse

fromDatefalse
Date from
toDatefalse
Date to
offsetIntegerfalse0Offset of the array of results.
limitIntegerfalse10Limit of results.
sortStringfalseidProperty of the entity to sort by.
sortModeStringfalseAscMode of sorting.


Example request

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



Response

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

Entity


Insert excerpt
Invoice
Invoice
nopaneltrue

Example response

Code Block
themeDJango
{
	"count": 2,
	"offset": 0,
	"limit": 10,
	"list": [{
			"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": []
				}
			]
		},
		{
			"id": 2,
			"invoiceSerie": "A15",
			"invoiceNumber": 100001,
			"invoiceDate": "2019-01-22",
			"company": null,
			"customer": null,
			"travelAgent": {
				"id": 153,
				"name": "Skipstorm"
			},
			"holderName": "Skipstorm",
			"taxId": null,
			"address": "1695 Meadow Ridge Parkway",
			"city": "Lake Worth",
			"stateProv": "Florida",
			"postalCode": "33462",
			"country": {
				"code": "ESP",
				"name": "SPAIN"
			},
			"remark": null,
			"productList": [{
					"id": 3,
					"productionDate": "2019-01-30",
					"postingDate": "2019-01-30",
					"product": {
						"id": 464,
						"name": "Diners",
						"productType": {
							"code": "PAY",
							"name": "Payment"
						}
					},
					"quantity": 1,
					"amountAfterTax": 25,
					"amountBeforeTax": 25,
					"amountDiscount": 0,
					"amountTax": 0,
					"amountCommission": 0,
					"currency": {
						"code": "EUR",
						"name": "Euro"
					},
					"channel": null,
					"source": null,
					"segment": null,
					"invoiceProductTaxList": [],
					"invoiceProductCommissionList": [],
					"invoiceProductDiscountList": []
				},
				{
					"id": 4,
					"productionDate": "2019-01-30",
					"postingDate": "2019-01-30",
					"product": {
						"id": 530,
						"name": "Deposit 21",
						"productType": {
							"code": "DEP",
							"name": "Deposit"
						}
					},
					"productName": "Deposit 21",
					"quantity": 1,
					"amountAfterTax": 25,
					"amountBeforeTax": 25,
					"amountDiscount": 0,
					"amountTax": 0,
					"amountCommission": 0,
					"currency": {
						"code": "EUR",
						"name": "Euro"
					},
					"channel": null,
					"source": null,
					"segment": null,
					"invoiceProductTaxList": [],
					"invoiceProductCommissionList": [],
					"invoiceProductDiscountList": []
				}
			]
		}
	]
}