Accounting Summar
Operation
Endpoint to get accounting information of Summar
GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/summar/data
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | Unique id for chain | |
propertyId | Integer | true | path parameter | Unique id for property | |
startDate | LocalDate | true | request parameter | Initial date | |
endDate | LocalDate | true | request parameter | end date | |
offset | Integer | false | request parameter | 0 | |
limit | Integer | false | request parameter | 10 |
Example request
GET https://prod.ulysescloud.com/public/api/v1/con/chain/1/property/2/summar/data?startDate=2021-11-23&endDate=2021-11-23
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true | Description of the response of the success operation |
Entity
Field Type Required Description date LocalDate true Date of operation customers List of Customer List of customers production List of Production List of Production invoicing List of Invoicing List of invoicing creditAssessments List of CreditAssessments List of credit assessments receipt List of Receipt List of Receipt summary Summary Summary of totals payInAdvance List of Payment List of payments in advance
Example response
{ "count": 10, "offset": 0, "limit": 10, "list": [ { "date": "2021-11-23", "customers": [ { "accountingAccount": "", "address": "AVDA ALICANTE 170", "cityName": "MURCIA", "code": 141, "country": { "name": "SPAIN", "codeISO2": "ES" }, "customerPayment": null, "customerType": { "code": "2", "name": "Company" }, "document": { "number": "B73002099 ", "documentType": { "code": "03", "name": "Passport" } }, "givenName": "PLAY ORENES (GRUPO ORENES)", "middleName": null, "namePrefix": null, "phoneNumber": "968242500 ", "postalCode": "30007 ", "state": null, "surname": null, "surname2": null, "email": "sonia.garcia@orenesgrupo.com" } ], "production": [ { "amount": 788, "accountingData": { "accountingAccount": "", "analityAccount": null, "centerAccount": null }, "concept": { "code": "BOOK", "name": "BOOKING" } }, { "amount": 6321.28, "accountingData": { "accountingAccount": "", "analityAccount": null, "centerAccount": null }, "concept": { "code": "CR", "name": "Crédito" } } ], "invoicing": [ { "id_folio": 54456, "series": "F359", "number": 18153336, "invoiceType": { "code": "F1", "name": "Factura Ordinaria" }, "depositId": null, "amendingInvoice": null, "amendingNegativeInvoice": null, "totalInvoice": 78, "grandTotal": 78, "billTo": { "address": "AVD CANTABRIA Nº 51", "state": null, "cityName": "MADRID", "code": "454", "country": { "name": "SPAIN", "codeISO2": "ES" }, "document": { "number": "A28229813", "documentType": { "code": "03", "name": "Passport" } }, "name": "EL CORTE INGLES VIAJES", "postalCode": "28042", "webPage": null }, "invoiceLines": [ { "accountingData": { "accountingAccount": "", "analityAccount": null, "centerAccount": null }, "concept": { "code": "IN", "name": "Individual" }, "productionDate": "2021-11-22", "quantity": 1, "tax": { "percentage": 10, "code": "IVA10", "name": "IVA 10%", "quota": 7.090909 }, "totalAmountWithTAX": 78, "unitaryPriceWithoutTAX": 70.909091, "discount_Percentaje": 0, "totalNetAmount": null, "depositID": null, "ticketLine": null }, { "accountingData": { "accountingAccount": "", "analityAccount": null, "centerAccount": null }, "concept": { "code": "ALM", "name": "Almuerzo" }, "productionDate": "2021-11-22", "quantity": 1, "tax": { "percentage": 10, "code": "IVA10", "name": "IVA 10%", "quota": 0 }, "totalAmountWithTAX": 0, "unitaryPriceWithoutTAX": 0, "discount_Percentaje": 0, "totalNetAmount": null, "depositID": null, "ticketLine": null }, { "accountingData": { "accountingAccount": "", "analityAccount": null, "centerAccount": null }, "concept": { "code": "CEN", "name": "Cena" }, "productionDate": "2021-11-22", "quantity": 1, "tax": { "percentage": 10, "code": "IVA10", "name": "IVA 10%", "quota": 0 }, "totalAmountWithTAX": 0, "unitaryPriceWithoutTAX": 0, "discount_Percentaje": 0, "totalNetAmount": null, "depositID": null, "ticketLine": null }, { "accountingData": { "accountingAccount": "", "analityAccount": null, "centerAccount": null }, "concept": { "code": "BRK", "name": "Desayuno" }, "productionDate": "2021-11-23", "quantity": 1, "tax": { "percentage": 10, "code": "IVA10", "name": "IVA 10%", "quota": 0 }, "totalAmountWithTAX": 0, "unitaryPriceWithoutTAX": 0, "discount_Percentaje": 0, "totalNetAmount": null, "depositID": null, "ticketLine": null } ], "payments": [ { "amount": 78, "depositId": null, "paymentMethod": { "type": "", "code": "CR", "name": "Crédito" } } ], "tickets": { "initial": "", "final": "" }, "totalDiscount": 0, "totalExterior": 0, "totalExempt": 0, "totalBase": 70.909091, "invoiceBases": [ { "percentage": 10, "quota": 7.090909, "base": 70.909091 } ] } ], "creditAssessments": [], "receipt": [ { "receiptid": { "number": 7, "series": "RC" }, "payment": { "amount": 240, "depositId": null, "paymentMethod": { "type": "", "code": "EF", "name": "Efectivo" } }, "billTo": { "address": "CALLE TEODORO MONETA 3", "state": null, "cityName": "ARMILLA", "code": null, "country": { "name": null, "codeISO2": null }, "document": { "number": "24264739S", "documentType": { "code": "00", "name": "Spanish Id Document" } }, "name": "LOPEZ , ENCARNI", "postalCode": "GRANADA", "webPage": null } }, { "receiptid": { "number": 8, "series": "RC" }, "payment": { "amount": 1447, "depositId": null, "paymentMethod": { "type": "", "code": "TR", "name": "Transferencia" } }, "billTo": { "address": "AVDA CID 25", "state": null, "cityName": "VALENCIA", "code": "1664", "country": { "name": "SPAIN", "codeISO2": "ES" }, "document": { "number": "B97174296", "documentType": { "code": "03", "name": "Passport" } }, "name": "PROGEST CONSULTORIA Y SERVICIOS S.L.", "postalCode": "46018", "webPage": null } }, { "receiptid": { "number": 9, "series": "RC" }, "payment": { "amount": 1447, "depositId": null, "paymentMethod": { "type": "", "code": "TR", "name": "Transferencia" } }, "billTo": { "address": "AVDA CID 25", "state": null, "cityName": "VALENCIA", "code": "1664", "country": { "name": "SPAIN", "codeISO2": "ES" }, "document": { "number": "B97174296", "documentType": { "code": "03", "name": "Passport" } }, "name": "PROGEST CONSULTORIA Y SERVICIOS S.L.", "postalCode": "46018", "webPage": null } } ], "summary": { "totalInvoicing": { "amount": 31591.6345, "ordinaryAmount": 0, "depositAmount": 3134, "amendingAmount": 0, "amendingNegativeAmount": 0, "totalBase": 28503.799819, "totalExterior": 0, "totalExempt": 0, "totalInvoiceBases": [ { "percentage": 10, "quota": 2634.512368, "base": 26345.122132 }, { "percentage": 21, "quota": 453.322313, "base": 2158.677687 } ] }, "totalPayments": [ { "amount": 788, "paymentMethod": { "type": "", "code": "BOOK", "name": "BOOKING" } }, { "amount": 6321.2945, "paymentMethod": { "type": "", "code": "CR", "name": "Crédito" } }, { "amount": 1609.09, "paymentMethod": { "type": "", "code": "EF", "name": "Efectivo" } }, { "amount": 18624.2, "paymentMethod": { "type": "", "code": "TR", "name": "Transferencia" } }, { "amount": 5286.09, "paymentMethod": { "type": "", "code": "VI", "name": "Visa" } } ] } } ] }