# List Quotes Get all your quotes. Endpoint: POST /api/v1/quote/search Version: 1.0 ## Request fields (application/json): - `condition` (object) Condition to filter results - `condition.field` (string) Field name to apply the condition to Example: "name" - `condition.value` (object) Value to compare against the field Example: "Example Value" - `condition.type` (string) Relational operator for the condition Enum: "BETWEEN", "EQ", "LT", "LTE", "GT", "GTE", "NE", "LIKE", "START", "FINISH", "IN", "NIN", "NLIKE", "LENGTH" - `condition.endValue` (object) End value for range conditions Example: 100 - `condition.innerConditions` (array) Nested conditions for complex queries - `condition.conditionType` (string) Type of condition for combining multiple conditions Enum: "AND", "OR" - `condition.empty` (boolean) Indicates if the condition is empty - `condition.compareFields` (boolean) Indicates if comparing between fields - `sortCriteria` (array) List of sorting criteria to apply - `sortCriteria.sortField` (string) Field name to sort by Example: "name" - `sortCriteria.sortDirection` (string) Sort direction (ascending or descending) Enum: "ASC", "DESC" - `pageNumber` (integer, required) Page number to retrieve (0-based) - `pageSize` (integer, required) Number of items per page Example: 20 ## Response 200 fields (application/json): - `data` (array, required) List of data items for the current page - `data.id` (integer, required) Unique identifier of the entity Example: 1 - `data.billingSeriesCode` (string) Billing series code Example: "Q" - `data.number` (integer) Quote number Example: 1001 - `data.documentDate` (string) Document date Example: "2024-01-15" - `data.customerCode` (string) Customer code Example: "CUST001" - `data.customerName` (string) Customer name Example: "John Doe" - `data.customerEmail` (string) Customer email address Example: "john.doe@example.com" - `data.commercialName` (string) Commercial name Example: "Doe Enterprises" - `data.grossAmountTotal` (number) Total gross amount Example: 1000 - `data.grossAmountTotalCompanyCurrency` (number) Total gross amount in company currency Example: 1000 - `data.discountPpAmountTotal` (number) Total discount amount (PP) Example: 50 - `data.discountPpAmountTotalCompanyCurrency` (number) Total discount amount (PP) in company currency Example: 50 - `data.discountAmountTotal` (number) Total discount amount Example: 100 - `data.discountAmountTotalCompanyCurrency` (number) Total discount amount in company currency Example: 100 - `data.netAmountTotal` (number) Total net amount Example: 900 - `data.netAmountTotalCompanyCurrency` (number) Total net amount in company currency Example: 900 - `data.vatAmountTotal` (number) Total VAT amount Example: 189 - `data.vatAmountTotalCompanyCurrency` (number) Total VAT amount in company currency Example: 189 - `data.disbursementAmountTotal` (number) Total disbursement amount Example: 25.5 - `data.total` (number) Total amount Example: 1114.5 - `data.totalCompanyCurrency` (number) Total amount in company currency Example: 1114.5 - `data.customerCountry` (string) Customer country Example: "Spain" - `data.customerStateDescription` (string) Customer state description Example: "Madrid" - `data.valueDate` (string) Value date Example: "2024-01-20" - `data.paymentMethodDescription` (string) Payment method description Example: "Bank Transfer" - `data.currencyNomenclature` (string) Currency nomenclature Example: "EUR" - `data.currencySignificantDecimalsDocuments` (integer) Currency significant decimals for documents Example: 2 - `data.currencyIntermediateDecimalsDocuments` (integer) Currency intermediate decimals for documents Example: 2 - `data.currencyDecimalsCalculatePrices` (integer) Currency decimals for calculating prices Example: 4 - `data.currencyDecimalsCalculateCosts` (integer) Currency decimals for calculating costs Example: 4 - `data.documentType` (string) Document type Example: "QUOTE" - `data.iban` (string) IBAN for payments Example: "ES9121000418450200051332" - `data.customerAddressId` (integer) Customer address identifier Example: 1 - `data.representatives` (string) Representatives information Example: "John Smith, Jane Doe" - `data.quantityTotal` (number) Total quantity Example: 10 - `data.status` (string) Status of the quote Enum: "PENDING_ACCEPTANCE", "REJECTED", "ACCEPTED" - `data.collectedAmount` (number) Collected amount Example: 1114.5 - `data.collectedAmountCompanyCurrency` (number) Collected amount in company currency Example: 1114.5 - `data.salesAccountCode` (string) Sales account code Example: 700 - `data.reference` (string) Reference number Example: "Q-2024-001" - `data.validityDate` (string) Validity date Example: "2024-12-31" - `data.invoices` (object) List of related invoices - `data.invoices.id` (integer) - `data.invoices.billingSeriesCode` (string) - `data.invoices.number` (integer) - `data.invoices.documentDate` (string) - `data.invoices.customerName` (string) - `data.invoices.total` (number) - `data.invoices.status` (string) - `data.tags` (array) Tags associated with the quote Example: ["urgent","priority"] - `data.proformaInvoice` (boolean) Proforma invoice - `page` (integer, required) Current page number (0-based) - `total` (integer, required) Total number of items across all pages Example: 150 - `pages` (integer, required) Last page number (0-based) Example: 14 - `size` (integer, required) Number of items per page Example: 10