Get all invoices corrections
Successfully returned list of invoices
Invalid request
Internal server error
curl -i -X GET \ 'https://api.stage.ananastest.com/order/api/v1/merchant-integration/invoice-corrections?dateFrom=string&dateTo=string&type=FISCAL' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
[- {
- "invoiceHeader": {
- "invoiceType": "FISCAL",
- "invoiceCorrectionReason": "Reklamacija",
- "merchantDetails": {
- "name": "Maki doo",
- "businessSpaceCode": "",
- "taxIdentificationNumber": "111606273",
- "identificationNumber": "20862467",
- "taxAdministrationId": "854/1.0",
- "cashier": "",
- "contactDetails": {
- "phone": "+381669879009",
- "email": "merchant@gmail.com"
}, - "address": {
- "street": "ZAOB.PUT ZVORNIK-LJUBOVIJA 23",
- "city": "LJUBOVIJA"
}
}, - "customerDetails": {
- "firstName": "Pera",
- "lastName": "Segedinac",
- "address": {
- "street": "PERE SEGEDINCA 55",
- "city": "BEOGRAD-NOVI BEOGRAD",
- "postcode": "11080"
}
}, - "fiscalDetails": {
- "invoiceCounter": "1757/3189ПП",
- "fiscalInvoiceDate": "2022-05-03T18:51:18Z",
- "referentDocumentNumber": "RERCZKM6-Dt1Ov1o0-3171"
}, - "orderDetails": {
- "invoiceNumber": "4599335419",
- "invoicedDate": "2022-05-03T00:00:00Z",
- "orderid": "69N73-9E0P9",
- "suborderId": "69N73-9E0P9-DS-1",
- "fba": "false,",
- "paymentMethods": [
- "PBC",
- "VOUCHER"
], - "warehouseAddress": {
- "warehouseId": 3,
- "street": "DRINSKA 23",
- "city": "LJUBOVIJA"
}, - "orderDate": "2022-05-03T00:00:00Z"
}
}, - "productSpecification": {
- "items": [
- {
- "productDetails": {
- "name": "TESLA Televizor 40T319SFS SMART",
- "apId": "VT8YI1VRS7",
- "sku": "AA-123456-AB",
- "ean": "8606018852161",
- "acode": "test123"
}, - "quantity": 1,
- "itemPrice": {
- "unitPrice": 27900,
- "unitPriceWithoutVat": 23250,
- "basePrice": 26900,
- "basePriceWithoutVat": 22416.67,
- "discountVat": 3.59,
- "discountAmount": 1000,
- "vat": 20,
- "vatAmount": 4483.33
}, - "grandTotalPrice": {
- "unitPrice": 27900,
- "unitPriceWithoutVat": 23250,
- "basePrice": 26900,
- "basePriceWithoutVat": 22416.67,
- "discountVat": 3.59,
- "discountAmount": 1000,
- "vat": 20,
- "vatAmount": 4650
}
}
], - "totalDetails": {
- "basePrice": 26900,
- "basePriceWithoutVat": 22416.67,
- "vatAmount": 4483.33,
- "chargedPrice": 26900
}
}, - "taxRateSpecification": {
- "taxRateSpecification": [
- {
- "label": "Ж",
- "name": "О-ПДВ",
- "basePriceWithoutVat": 22416.67,
- "vat": 20,
- "vatAmount": 4483.33
}
], - "grandTotal": 4483.33
}
}
]