# List DeliveryNotes Get all your deliveryNotes. Endpoint: POST /api/v1/deliveryNote/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.billingSeries` (string, required) Billing series code Example: "A" - `data.number` (integer, required) Delivery note number Example: 1001 - `data.documentDate` (string, required) Document date Example: "2024-08-07" - `data.valueDate` (string) Value date Example: "2024-08-08" - `data.customerCode` (string, required) Customer code Example: "CUST001" - `data.customerName` (string) Customer name Example: "ABC Company S.A." - `data.customerEmail` (string) Customer email address Example: "contact@abccompany.com" - `data.customerAddressCode` (string, required) Customer address code Example: "ADDR001" - `data.customerAddressName` (string) Customer address name Example: "Main Office" - `data.address` (string) Street address Example: 123 - `data.city` (string) City Example: "Madrid" - `data.country` (string) Country Example: "Spain" - `data.state` (string) State or province Example: "Madrid" - `data.quantityTotal` (number) Total quantity of items Example: 25.5 - `data.grossAmountTotal` (number) Total gross amount Example: 1000 - `data.discountsAmountTotal` (number) Total discount amount Example: 100 - `data.netAmountTotal` (number) Total net amount Example: 900 - `data.taxesAmountTotal` (number) Total tax amount Example: 189 - `data.disbursementAmountTotal` (number) Total disbursement amount Example: 25.5 - `data.total` (number) Total delivery note amount Example: 1114.5 - `data.agency` (string) Shipping agency Example: "Express Logistics" - `data.shippingTerm` (string) Shipping terms Example: "FOB destination" - `data.representative1Name` (string) Primary representative name Example: "John Smith" - `data.orders` (string) Related order numbers Example: "ORD-2024-001, ORD-2024-002" - `data.paymentMethodCode` (string) Payment method code Example: "BANK_TRANSFER" - `data.paymentMethodDescription` (string) Payment method description Example: "Bank Transfer" - `data.currencyCode` (string, required) Currency code Example: "EUR" - `data.currencyNomenclature` (string) Currency nomenclature Example: "Euro" - `data.change` (number, required) Exchange rate Example: 1 - `data.customerVatTypeDescription` (string) Customer VAT type description Example: "General VAT" - `data.warehouseDescription` (string, required) Warehouse description Example: "Main Warehouse" - `data.grossWeight` (number) Total gross weight Example: 125.5 - `data.netWeight` (number) Total net weight Example: 120 - `data.volume` (number) Total volume Example: 2.35 - `data.lineIds` (array) List of line identifiers Example: [1,2,3] - `data.invoices` (string) Related invoice numbers Example: "INV-2024-001, INV-2024-002" - `data.orderNumbers` (string) Related order numbers Example: "ORD-2024-001, ORD-2024-002" - `data.tags` (array) Tags associated with the delivery note Example: ["urgent","fragile"] - `data.invoiced` (boolean) Indicates if the delivery note has been invoiced - `data.collectedAmount` (number) Amount collected Example: 500 - `data.collectedAmountCompanyCurrency` (number) Amount collected in company currency Example: 500 - `data.valued` (boolean) Indicates if the delivery note is valued Example: true - `data.reference` (string) Reference number Example: "DN-2024-001" - `data.salesAccountCode` (string) Sales account code Example: 7000001 - `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