{"openapi":"3.0.1","info":{"title":"E-Paroxos REST API","description":"This is E-Paroxos REST API.","termsOfService":"https://www.eparoxos.gr/terms","contact":{"name":"E-Paroxos Dev Team","url":"https://www.eparoxos.gr/contact","email":"devteam@eparoxos.gr"},"license":{"name":"Apache 2.0","url":"http://springdoc.org"},"version":"1.1.13"},"servers":[{"url":"https://api.eparoxos.gr"}],"paths":{"/api/v1/erp/submit-payment":{"post":{"tags":["ERP Payments"],"operationId":"submitPayment","parameters":[{"name":"X-EPAROXOS-API-KEY","in":"header","description":"The company api key.","required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitPaymentRequest"}}},"required":true},"responses":{"202":{"description":"Accepted","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SendInvoiceResponse"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SubmitPaymentResponse"}}}}}}},"/api/v1/erp/send-payment-methods":{"post":{"tags":["ERP Invoice"],"operationId":"sendPaymentMethods","parameters":[{"name":"X-EPAROXOS-API-KEY","in":"header","description":"The company api key.","required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendPaymentMethodsRequest"}}},"required":true},"responses":{"202":{"description":"Accepted","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SendInvoiceResponse"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SendPaymentMethodsResponse"}}}}}}},"/api/v1/erp/send-invoice":{"post":{"tags":["ERP Invoice"],"operationId":"sendInvoice","parameters":[{"name":"X-EPAROXOS-API-KEY","in":"header","description":"The company api key.","required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendInvoiceRequest"},"examples":{"Τιμολόγιο Πώλησης με Αυτοτιμολόγηση":{"value":"{\r\n  \"invoice\": {\r\n    \"counterpart\": {\r\n      \"vatNumber\": \"888888888\",\r\n      \"country\": \"GR\",\r\n      \"branch\": 0,\r\n      \"address\": {\r\n        \"postalCode\": \"22222\",\r\n        \"city\": \"IRAKLIO\"\r\n      }\r\n    },\r\n    \"invoiceHeader\": {\r\n      \"series\": \"A\",\r\n      \"aa\": \"101\",\r\n      \"issueDate\": \"2024-06-14\",\r\n      \"invoiceType\": \"1.1\",\r\n      \"currency\": \"EUR\",\r\n      \"selfPricing\": true\r\n    },\r\n    \"paymentMethods\": {\r\n      \"paymentMethodDetails\": [\r\n        {\r\n          \"type\": 3,\r\n          \"amount\": 6200.00,\r\n          \"paymentMethodInfo\": \"Payment Method Info...\"\r\n        }\r\n      ]\r\n    },\r\n    \"invoiceDetails\": [\r\n      {\r\n        \"lineNumber\": 1,\r\n        \"netValue\": 5000.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 1200.00,\r\n        \"expensesClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_102_001\",\r\n            \"classificationCategory\": \"category2_1\",\r\n            \"amount\": 5000.00\r\n          },\r\n          {\r\n            \"classificationType\": \"VAT_361\",\r\n            \"amount\": 5000.00\r\n          }\r\n        ]\r\n      }\r\n    ],\r\n    \"invoiceSummary\": {\r\n      \"totalNetValue\": 5000.00,\r\n      \"totalVatAmount\": 1200.00,\r\n      \"totalWithheldAmount\": 0.00,\r\n      \"totalFeesAmount\": 0.00,\r\n      \"totalStampDutyAmount\": 0.00,\r\n      \"totalOtherTaxesAmount\": 0.00,\r\n      \"totalDeductionsAmount\": 0.00,\r\n      \"totalGrossValue\": 6200.00,\r\n      \"expensesClassification\": [\r\n        {\r\n          \"classificationType\": \"E3_102_001\",\r\n          \"classificationCategory\": \"category2_1\",\r\n          \"amount\": 5000.00\r\n        },\r\n        {\r\n          \"classificationType\": \"VAT_361\",\r\n          \"amount\": 5000.00\r\n        }\r\n      ]\r\n    }\r\n  }\r\n}"},"Τιμολόγιο Πώλησης με φόρους δηλωμένους σε επίπεδο παραστατικού":{"value":"{\r\n  \"invoice\": {\r\n    \"counterpart\": {\r\n      \"vatNumber\": \"888888888\",\r\n      \"country\": \"GR\",\r\n      \"branch\": 0,\r\n      \"address\": {\r\n        \"postalCode\": \"22222\",\r\n        \"city\": \"IRAKLIO\"\r\n      }\r\n    },\r\n    \"invoiceHeader\": {\r\n      \"series\": \"A\",\r\n      \"aa\": \"101\",\r\n      \"issueDate\": \"2024-06-14\",\r\n      \"invoiceType\": \"1.1\",\r\n      \"currency\": \"EUR\"\r\n    },\r\n    \"paymentMethods\": {\r\n      \"paymentMethodDetails\": [\r\n        {\r\n          \"type\": 3,\r\n          \"amount\": 1760.00,\r\n          \"paymentMethodInfo\": \"Payment Method Info...\"\r\n        }\r\n      ]\r\n    },\r\n    \"invoiceDetails\": [\r\n      {\r\n        \"lineNumber\": 1,\r\n        \"netValue\": 1000.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 240.00,\r\n        \"discountOption\": true,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_561_001\",\r\n            \"classificationCategory\": \"category1_2\",\r\n            \"amount\": 1000.00\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        \"lineNumber\": 2,\r\n        \"netValue\": 500.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 120.00,\r\n        \"discountOption\": true,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_561_001\",\r\n            \"classificationCategory\": \"category1_3\",\r\n            \"amount\": 500.00\r\n          }\r\n        ]\r\n      }\r\n    ],\r\n    \"taxesTotals\": {\r\n      \"taxes\": {\r\n        \"taxType\": 1,\r\n        \"taxCategory\": 2,\r\n        \"underlyingValue\": 500.00,\r\n        \"taxAmount\": 100.00\r\n      }\r\n    },\r\n    \"invoiceSummary\": {\r\n      \"totalNetValue\": 1500.00,\r\n      \"totalVatAmount\": 360.00,\r\n      \"totalWithheldAmount\": 100.00,\r\n      \"totalFeesAmount\": 0.00,\r\n      \"totalStampDutyAmount\": 0.00,\r\n      \"totalOtherTaxesAmount\": 0.00,\r\n      \"totalDeductionsAmount\": 0.00,\r\n      \"totalGrossValue\": 1760.00,\r\n      \"incomeClassification\": [\r\n        {\r\n          \"classificationType\": \"E3_561_001\",\r\n          \"classificationCategory\": \"category1_2\",\r\n          \"amount\": 1000.00\r\n        },\r\n        {\r\n          \"classificationType\": \"E3_561_001\",\r\n          \"classificationCategory\": \"category1_3\",\r\n          \"amount\": 500.00\r\n        }\r\n      ]\r\n    }\r\n  }\r\n}"},"Τιμολόγιο Πώλησης με φόρους δηλωμένους σε επίπεδο γραμμής παραστατικού":{"value":"{\r\n  \"invoice\": {\r\n    \"counterpart\": {\r\n      \"vatNumber\": \"888888888\",\r\n      \"country\": \"GR\",\r\n      \"branch\": 0,\r\n      \"address\": {\r\n        \"postalCode\": \"22222\",\r\n        \"city\": \"IRAKLIO\"\r\n      }\r\n    },\r\n    \"invoiceHeader\": {\r\n      \"series\": \"A\",\r\n      \"aa\": \"101\",\r\n      \"issueDate\": \"2024-06-14\",\r\n      \"invoiceType\": \"1.1\",\r\n      \"currency\": \"EUR\",\r\n      \"dispatchDate\": \"2024-06-14\",\r\n      \"dispatchTime\": \"12:20:00\",\r\n      \"vehicleNumber\": \"ΕΚΑ 5485\",\r\n      \"movePurpose\": 1\r\n    },\r\n    \"paymentMethods\": {\r\n      \"paymentMethodDetails\": [\r\n        {\r\n          \"type\": 3,\r\n          \"amount\": 1760.00,\r\n          \"paymentMethodInfo\": \"Payment Method Info...\"\r\n        }\r\n      ]\r\n    },\r\n    \"invoiceDetails\": [\r\n      {\r\n        \"lineNumber\": 1,\r\n        \"netValue\": 1000.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 240.00,\r\n        \"discountOption\": true,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_561_001\",\r\n            \"classificationCategory\": \"category1_2\",\r\n            \"amount\": 1000.00\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        \"lineNumber\": 2,\r\n        \"netValue\": 500.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 120.00,\r\n        \"discountOption\": true,\r\n        \"withheldAmount\": 100.00,\r\n        \"withheldPercentCategory\": 2,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_561_001\",\r\n            \"classificationCategory\": \"category1_3\",\r\n            \"amount\": 500.00\r\n          }\r\n        ]\r\n      }\r\n    ],\r\n    \"invoiceSummary\": {\r\n      \"totalNetValue\": 1500.00,\r\n      \"totalVatAmount\": 360.00,\r\n      \"totalWithheldAmount\": 100.00,\r\n      \"totalFeesAmount\": 0.00,\r\n      \"totalStampDutyAmount\": 0.00,\r\n      \"totalOtherTaxesAmount\": 0.00,\r\n      \"totalDeductionsAmount\": 0.00,\r\n      \"totalGrossValue\": 1760.00,\r\n      \"incomeClassification\": [\r\n        {\r\n          \"classificationType\": \"E3_561_001\",\r\n          \"classificationCategory\": \"category1_2\",\r\n          \"amount\": 1000.00\r\n        },\r\n        {\r\n          \"classificationType\": \"E3_561_001\",\r\n          \"classificationCategory\": \"category1_3\",\r\n          \"amount\": 500.00\r\n        }\r\n      ]\r\n    }\r\n  }\r\n}"},"Τιμολόγιο Προϊόντων με φόρους δηλωμένους σε επίπεδο γραμμής παραστατικού":{"value":"{\r\n  \"invoice\": {\r\n    \"counterpart\": {\r\n      \"vatNumber\": \"888888888\",\r\n      \"country\": \"GR\",\r\n      \"branch\": 0,\r\n      \"address\": {\r\n        \"postalCode\": \"22222\",\r\n        \"city\": \"IRAKLIO\"\r\n      }\r\n    },\r\n    \"invoiceHeader\": {\r\n      \"series\": \"A\",\r\n      \"aa\": \"101\",\r\n      \"issueDate\": \"2020-04-08\",\r\n      \"invoiceType\": \"1.1\",\r\n      \"currency\": \"EUR\"\r\n    },\r\n    \"paymentMethods\": {\r\n      \"paymentMethodDetails\": [\r\n        {\r\n          \"type\": 3,\r\n          \"amount\": 1760.00,\r\n          \"paymentMethodInfo\": \"Payment Method Info...\"\r\n        }\r\n      ]\r\n    },\r\n    \"invoiceDetails\": [\r\n      {\r\n        \"lineNumber\": 1,\r\n        \"netValue\": 1000.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 240.00,\r\n        \"discountOption\": true,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_561_001\",\r\n            \"classificationCategory\": \"category1_2\",\r\n            \"amount\": 1000.00\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        \"lineNumber\": 2,\r\n        \"netValue\": 500.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 120.00,\r\n        \"discountOption\": true,\r\n        \"withheldAmount\": 100.00,\r\n        \"withheldPercentCategory\": 2,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_561_001\",\r\n            \"classificationCategory\": \"category1_3\",\r\n            \"amount\": 500.00\r\n          }\r\n        ]\r\n      }\r\n    ],\r\n    \"invoiceSummary\": {\r\n      \"totalNetValue\": 1500.00,\r\n      \"totalVatAmount\": 360.00,\r\n      \"totalWithheldAmount\": 100.00,\r\n      \"totalFeesAmount\": 0.00,\r\n      \"totalStampDutyAmount\": 0.00,\r\n      \"totalOtherTaxesAmount\": 0.00,\r\n      \"totalDeductionsAmount\": 0.00,\r\n      \"totalGrossValue\": 1760.00,\r\n      \"incomeClassification\": [\r\n        {\r\n          \"classificationType\": \"E3_561_001\",\r\n          \"classificationCategory\": \"category1_2\",\r\n          \"amount\": 1000.00\r\n        },\r\n        {\r\n          \"classificationType\": \"E3_561_001\",\r\n          \"classificationCategory\": \"category1_3\",\r\n          \"amount\": 500.00\r\n        }\r\n      ]\r\n    }\r\n  }\r\n}"},"Τιμολόγιο Πώλησης (Σύνθετο) με φόρους δηλωμένους σε επίπεδο γραμμής παραστατικού":{"value":"{\r\n  \"invoice\": {\r\n    \"counterpart\": {\r\n      \"vatNumber\": \"888888888\",\r\n      \"country\": \"GR\",\r\n      \"branch\": 0,\r\n      \"address\": {\r\n        \"postalCode\": \"22222\",\r\n        \"city\": \"IRAKLIO\"\r\n      }\r\n    },\r\n    \"invoiceHeader\": {\r\n      \"series\": \"A\",\r\n      \"aa\": \"101\",\r\n      \"issueDate\": \"2020-04-08\",\r\n      \"invoiceType\": \"1.1\",\r\n      \"currency\": \"EUR\",\r\n      \"dispatchDate\": \"2020-04-08\",\r\n      \"dispatchTime\": \"12:20:00\",\r\n      \"vehicleNumber\": \"ΕΚΑ 5485\",\r\n      \"movePurpose\": 1\r\n    },\r\n    \"paymentMethods\": {\r\n      \"paymentMethodDetails\": [\r\n        {\r\n          \"type\": 3,\r\n          \"amount\": 1760.00,\r\n          \"paymentMethodInfo\": \"Payment Method Info...\"\r\n        }\r\n      ]\r\n    },\r\n    \"invoiceDetails\": [\r\n      {\r\n        \"lineNumber\": 1,\r\n        \"netValue\": 1000.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 240.00,\r\n        \"discountOption\": true,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_561_001\",\r\n            \"classificationCategory\": \"category1_2\",\r\n            \"amount\": 1000.00\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        \"lineNumber\": 2,\r\n        \"netValue\": 500.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 120.00,\r\n        \"discountOption\": true,\r\n        \"withheldAmount\": 100.00,\r\n        \"withheldPercentCategory\": 2,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_561_001\",\r\n            \"classificationCategory\": \"category1_3\",\r\n            \"amount\": 500.00\r\n          }\r\n        ]\r\n      }\r\n    ],\r\n    \"invoiceSummary\": {\r\n      \"totalNetValue\": 1500.00,\r\n      \"totalVatAmount\": 360.00,\r\n      \"totalWithheldAmount\": 100.00,\r\n      \"totalFeesAmount\": 0.00,\r\n      \"totalStampDutyAmount\": 0.00,\r\n      \"totalOtherTaxesAmount\": 0.00,\r\n      \"totalDeductionsAmount\": 0.00,\r\n      \"totalGrossValue\": 1760.00,\r\n      \"incomeClassification\": [\r\n        {\r\n          \"classificationType\": \"E3_561_001\",\r\n          \"classificationCategory\": \"category1_2\",\r\n          \"amount\": 1000.00\r\n        },\r\n        {\r\n          \"classificationType\": \"E3_561_001\",\r\n          \"classificationCategory\": \"category1_3\",\r\n          \"amount\": 500.00\r\n        }\r\n      ]\r\n    }\r\n  }\r\n}"},"Τιμολόγιο Πώλησης / Πώληση για Λογαριασμό Τρίτων Τύπος παραστατικού":{"value":"{\r\n  \"invoice\": {\r\n    \"counterpart\": {\r\n      \"vatNumber\": \"888888888\",\r\n      \"country\": \"GR\",\r\n      \"branch\": 0,\r\n      \"address\": {\r\n        \"postalCode\": \"22222\",\r\n        \"city\": \"IRAKLIO\"\r\n      }\r\n    },\r\n    \"invoiceHeader\": {\r\n      \"series\": \"A\",\r\n      \"aa\": \"101\",\r\n      \"issueDate\": \"2020-04-08\",\r\n      \"invoiceType\": \"1.4\",\r\n      \"currency\": \"EUR\",\r\n      \"dispatchDate\": \"2020-04-08\",\r\n      \"dispatchTime\": \"12:20:00\",\r\n      \"vehicleNumber\": \"ΕΚΑ 5485\",\r\n      \"movePurpose\": 1\r\n    },\r\n    \"paymentMethods\": {\r\n      \"paymentMethodDetails\": [\r\n        {\r\n          \"type\": 3,\r\n          \"amount\": 1240000.00,\r\n          \"paymentMethodInfo\": \"Payment Method Info...\"\r\n        }\r\n      ]\r\n    },\r\n    \"invoiceDetails\": [\r\n      {\r\n        \"lineNumber\": 1,\r\n        \"netValue\": 1000000.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 240000.00,\r\n        \"discountOption\": true,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_881_001\",\r\n            \"classificationCategory\": \"category1_7\",\r\n            \"amount\": 1000000.00\r\n          }\r\n        ]\r\n      }\r\n    ],\r\n    \"invoiceSummary\": {\r\n      \"totalNetValue\": 1000000.00,\r\n      \"totalVatAmount\": 240000.00,\r\n      \"totalWithheldAmount\": 0.00,\r\n      \"totalFeesAmount\": 0.00,\r\n      \"totalStampDutyAmount\": 0.00,\r\n      \"totalOtherTaxesAmount\": 0.00,\r\n      \"totalDeductionsAmount\": 0.00,\r\n      \"totalGrossValue\": 1240000.00,\r\n      \"incomeClassification\": [\r\n        {\r\n          \"classificationType\": \"E3_881_001\",\r\n          \"classificationCategory\": \"category1_7\",\r\n          \"amount\": 1000000.00\r\n        }\r\n      ]\r\n    }\r\n  }\r\n}"},"Τιμολόγιο Πώλησης / Εκκαθάριση Πωλήσεων Τρίτων - Αμοιβή από Πωλήσεις Τρίτων με φόρους δηλωμένους σε επίπεδο γραμμής παραστατικού":{"value":"{\r\n  \"invoice\": {\r\n    \"counterpart\": {\r\n      \"vatNumber\": \"888888888\",\r\n      \"country\": \"GR\",\r\n      \"branch\": 0,\r\n      \"address\": {\r\n        \"postalCode\": \"22222\",\r\n        \"city\": \"IRAKLIO\"\r\n      }\r\n    },\r\n    \"invoiceHeader\": {\r\n      \"series\": \"A\",\r\n      \"aa\": \"101\",\r\n      \"issueDate\": \"2020-04-08\",\r\n      \"invoiceType\": \"1.5\",\r\n      \"currency\": \"EUR\"\r\n    },\r\n    \"paymentMethods\": {\r\n      \"paymentMethodDetails\": [\r\n        {\r\n          \"type\": 3,\r\n          \"amount\": 1281600.00,\r\n          \"paymentMethodInfo\": \"Payment Method Info...\"\r\n        }\r\n      ]\r\n    },\r\n    \"invoiceDetails\": [\r\n      {\r\n        \"lineNumber\": 1,\r\n        \"invoiceDetailType\": 1,\r\n        \"netValue\": 1000000.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 240000.00,\r\n        \"expensesClassification\": [\r\n          {\r\n            \"classificationCategory\": \"category2_9\",\r\n            \"amount\": 1000000.00\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        \"lineNumber\": 2,\r\n        \"invoiceDetailType\": 2,\r\n        \"netValue\": 40000.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 9600.00,\r\n        \"withheldAmount\": 8000.00,\r\n        \"withheldPercentCategory\": 2,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_561_001\",\r\n            \"classificationCategory\": \"category1_3\",\r\n            \"amount\": 40000.00\r\n          }\r\n        ]\r\n      }\r\n    ],\r\n    \"invoiceSummary\": {\r\n      \"totalNetValue\": 1040000.00,\r\n      \"totalVatAmount\": 249600.00,\r\n      \"totalWithheldAmount\": 8000.00,\r\n      \"totalFeesAmount\": 0.00,\r\n      \"totalStampDutyAmount\": 0.00,\r\n      \"totalOtherTaxesAmount\": 0.00,\r\n      \"totalDeductionsAmount\": 0.00,\r\n      \"totalGrossValue\": 1281600.00,\r\n      \"incomeClassification\": [\r\n        {\r\n          \"classificationType\": \"E3_561_001\",\r\n          \"classificationCategory\": \"category1_3\",\r\n          \"amount\": 40000.00\r\n        }\r\n      ],\r\n      \"expensesClassification\": [\r\n        {\r\n          \"classificationCategory\": \"category2_9\",\r\n          \"amount\": 1000000.00\r\n        }\r\n      ]\r\n    }\r\n  }\r\n}"},"Τιμολόγιο Πώλησης / Εκκαθάριση Πωλήσεων Τρίτων - Αμοιβή από Πωλήσεις Τρίτων με φόρους δηλωμένους σε επίπεδο παραστατικού":{"value":"{\r\n  \"invoice\": {\r\n    \"counterpart\": {\r\n      \"vatNumber\": \"888888888\",\r\n      \"country\": \"GR\",\r\n      \"branch\": 0,\r\n      \"address\": {\r\n        \"postalCode\": \"22222\",\r\n        \"city\": \"IRAKLIO\"\r\n      }\r\n    },\r\n    \"invoiceHeader\": {\r\n      \"series\": \"A\",\r\n      \"aa\": \"101\",\r\n      \"issueDate\": \"2020-04-08\",\r\n      \"invoiceType\": \"1.5\",\r\n      \"currency\": \"EUR\"\r\n    },\r\n    \"paymentMethods\": {\r\n      \"paymentMethodDetails\": [\r\n        {\r\n          \"type\": 3,\r\n          \"amount\": 1281600.00,\r\n          \"paymentMethodInfo\": \"Payment Method Info...\"\r\n        }\r\n      ]\r\n    },\r\n    \"invoiceDetails\": [\r\n      {\r\n        \"lineNumber\": 1,\r\n        \"invoiceDetailType\": 1,\r\n        \"netValue\": 1000000.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 240000.00,\r\n        \"expensesClassification\": [\r\n          {\r\n            \"classificationCategory\": \"category2_9\",\r\n            \"amount\": 1000000.00\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        \"lineNumber\": 2,\r\n        \"invoiceDetailType\": 2,\r\n        \"netValue\": 40000.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 9600.00,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_561_001\",\r\n            \"classificationCategory\": \"category1_3\",\r\n            \"amount\": 40000.00\r\n          }\r\n        ]\r\n      }\r\n    ],\r\n    \"taxesTotals\": {\r\n      \"taxes\": {\r\n        \"taxType\": 1,\r\n        \"taxCategory\": 2,\r\n        \"underlyingValue\": 40000.00,\r\n        \"taxAmount\": 8000.00\r\n      }\r\n    },\r\n    \"invoiceSummary\": {\r\n      \"totalNetValue\": 1040000.00,\r\n      \"totalVatAmount\": 249600.00,\r\n      \"totalWithheldAmount\": 8000.00,\r\n      \"totalFeesAmount\": 0.00,\r\n      \"totalStampDutyAmount\": 0.00,\r\n      \"totalOtherTaxesAmount\": 0.00,\r\n      \"totalDeductionsAmount\": 0.00,\r\n      \"totalGrossValue\": 1281600.00,\r\n      \"incomeClassification\": [\r\n        {\r\n          \"classificationType\": \"E3_561_001\",\r\n          \"classificationCategory\": \"category1_3\",\r\n          \"amount\": 40000.00\r\n        }\r\n      ],\r\n      \"expensesClassification\": [\r\n        {\r\n          \"classificationCategory\": \"category2_9\",\r\n          \"amount\": 1000000.00\r\n        }\r\n      ]\r\n    }\r\n  }\r\n}"},"Τιμολόγιο Παροχής Υπηρεσιών με φόρους δηλωμένους σε επίπεδο παραστατικού":{"value":"{\r\n  \"invoice\": {\r\n    \"counterpart\": {\r\n      \"vatNumber\": \"888888888\",\r\n      \"country\": \"GR\",\r\n      \"branch\": 0,\r\n      \"address\": {\r\n        \"postalCode\": \"22222\",\r\n        \"city\": \"IRAKLIO\"\r\n      }\r\n    },\r\n    \"invoiceHeader\": {\r\n      \"series\": \"A\",\r\n      \"aa\": \"101\",\r\n      \"issueDate\": \"2020-04-08\",\r\n      \"invoiceType\": \"2.1\",\r\n      \"currency\": \"EUR\"\r\n    },\r\n    \"paymentMethods\": {\r\n      \"paymentMethodDetails\": [\r\n        {\r\n          \"type\": 3,\r\n          \"amount\": 1040.00,\r\n          \"paymentMethodInfo\": \"Payment Method Info...\"\r\n        }\r\n      ]\r\n    },\r\n    \"invoiceDetails\": [\r\n      {\r\n        \"lineNumber\": 1,\r\n        \"netValue\": 1000.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 240.00,\r\n        \"discountOption\": true,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_561_001\",\r\n            \"classificationCategory\": \"category1_3\",\r\n            \"amount\": 1000.00\r\n          }\r\n        ]\r\n      }\r\n    ],\r\n    \"taxesTotals\": {\r\n      \"taxes\": {\r\n        \"taxType\": 1,\r\n        \"taxCategory\": 2,\r\n        \"underlyingValue\": 1000.00,\r\n        \"taxAmount\": 200.00\r\n      }\r\n    },\r\n    \"invoiceSummary\": {\r\n      \"totalNetValue\": 1000.00,\r\n      \"totalVatAmount\": 240.00,\r\n      \"totalWithheldAmount\": 200.00,\r\n      \"totalFeesAmount\": 0.00,\r\n      \"totalStampDutyAmount\": 0.00,\r\n      \"totalOtherTaxesAmount\": 0.00,\r\n      \"totalDeductionsAmount\": 0.00,\r\n      \"totalGrossValue\": 1040.00,\r\n      \"incomeClassification\": [\r\n        {\r\n          \"classificationType\": \"E3_561_001\",\r\n          \"classificationCategory\": \"category1_3\",\r\n          \"amount\": 1000.00\r\n        }\r\n      ]\r\n    }\r\n  }\r\n}"},"Τιμολόγιο Παροχής Υπηρεσιών με φόρους δηλωμένους σε επίπεδο γραμμής παραστατικού":{"value":"{\r\n  \"invoice\": {\r\n    \"counterpart\": {\r\n      \"vatNumber\": \"888888888\",\r\n      \"country\": \"GR\",\r\n      \"branch\": 0,\r\n      \"address\": {\r\n        \"postalCode\": \"22222\",\r\n        \"city\": \"IRAKLIO\"\r\n      }\r\n    },\r\n    \"invoiceHeader\": {\r\n      \"series\": \"A\",\r\n      \"aa\": \"101\",\r\n      \"issueDate\": \"2020-04-08\",\r\n      \"invoiceType\": \"2.1\",\r\n      \"currency\": \"EUR\"\r\n    },\r\n    \"paymentMethods\": {\r\n      \"paymentMethodDetails\": [\r\n        {\r\n          \"type\": 3,\r\n          \"amount\": 1040.00,\r\n          \"paymentMethodInfo\": \"Payment Method Info...\"\r\n        }\r\n      ]\r\n    },\r\n    \"invoiceDetails\": [\r\n      {\r\n        \"lineNumber\": 1,\r\n        \"netValue\": 1000.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 240.00,\r\n        \"discountOption\": true,\r\n        \"withheldAmount\": 200.00,\r\n        \"withheldPercentCategory\": 2,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_561_001\",\r\n            \"classificationCategory\": \"category1_3\",\r\n            \"amount\": 1000.00\r\n          }\r\n        ]\r\n      }\r\n    ],\r\n    \"invoiceSummary\": {\r\n      \"totalNetValue\": 1000.00,\r\n      \"totalVatAmount\": 240.00,\r\n      \"totalWithheldAmount\": 200.00,\r\n      \"totalFeesAmount\": 0.00,\r\n      \"totalStampDutyAmount\": 0.00,\r\n      \"totalOtherTaxesAmount\": 0.00,\r\n      \"totalDeductionsAmount\": 0.00,\r\n      \"totalGrossValue\": 1040.00,\r\n      \"incomeClassification\": [\r\n        {\r\n          \"classificationType\": \"E3_561_001\",\r\n          \"classificationCategory\": \"category1_3\",\r\n          \"amount\": 1000.00\r\n        }\r\n      ]\r\n    }\r\n  }\r\n}"},"Πιστωτικό συσχετιζόμενο":{"value":"{\r\n  \"invoice\": {\r\n    \"counterpart\": {\r\n      \"vatNumber\": \"888888888\",\r\n      \"country\": \"GR\",\r\n      \"branch\": 0,\r\n      \"address\": {\r\n        \"postalCode\": \"22222\",\r\n        \"city\": \"IRAKLIO\"\r\n      }\r\n    },\r\n    \"invoiceHeader\": {\r\n      \"series\": \"A\",\r\n      \"aa\": \"101\",\r\n      \"issueDate\": \"2020-04-08\",\r\n      \"invoiceType\": \"5.1\",\r\n      \"currency\": \"EUR\",\r\n      \"correlatedInvoices\": [\r\n        400000017716190\r\n      ]\r\n    },\r\n    \"paymentMethods\": {\r\n      \"paymentMethodDetails\": [\r\n        {\r\n          \"type\": 3,\r\n          \"amount\": 1760.00,\r\n          \"paymentMethodInfo\": \"Payment Method Info...\"\r\n        }\r\n      ]\r\n    },\r\n    \"invoiceDetails\": [\r\n      {\r\n        \"lineNumber\": 1,\r\n        \"netValue\": 1000.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 240.00,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_561_001\",\r\n            \"classificationCategory\": \"category1_2\",\r\n            \"amount\": 1000.00\r\n          }\r\n        ]\r\n      },\r\n      {\r\n        \"lineNumber\": 2,\r\n        \"netValue\": 500.00,\r\n        \"vatCategory\": 1,\r\n        \"vatAmount\": 120.00,\r\n        \"discountOption\": true,\r\n        \"incomeClassification\": [\r\n          {\r\n            \"classificationType\": \"E3_561_001\",\r\n            \"classificationCategory\": \"category1_3\",\r\n            \"amount\": 500.00\r\n          }\r\n        ]\r\n      }\r\n    ],\r\n    \"invoiceSummary\": {\r\n      \"totalNetValue\": 1500.00,\r\n      \"totalVatAmount\": 360.00,\r\n      \"totalWithheldAmount\": 0.00,\r\n      \"totalFeesAmount\": 0.00,\r\n      \"totalStampDutyAmount\": 0.00,\r\n      \"totalOtherTaxesAmount\": 0.00,\r\n      \"totalDeductionsAmount\": 0.00,\r\n      \"totalGrossValue\": 1860.00,\r\n      \"incomeClassification\": [\r\n        {\r\n          \"classificationType\": \"E3_561_001\",\r\n          \"classificationCategory\": \"category1_2\",\r\n          \"amount\": 1000.00\r\n        },\r\n        {\r\n          \"classificationType\": \"E3_561_001\",\r\n          \"classificationCategory\": \"category1_3\",\r\n          \"amount\": 500.00\r\n        }\r\n      ]\r\n    }\r\n  }\r\n}"}}}},"required":true},"responses":{"202":{"description":"Accepted","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SendInvoiceResponse"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SendInvoiceResponse"}}}}}}},"/api/v1/erp/request-payment":{"post":{"tags":["ERP Payments"],"operationId":"requestPayment","parameters":[{"name":"X-EPAROXOS-API-KEY","in":"header","description":"The company api key.","required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestPaymentRequest"}}},"required":true},"responses":{"202":{"description":"Accepted","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SendInvoiceResponse"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/RequestPaymentResponse"}}}}}}},"/api/v1/erp/cancel-payment":{"post":{"tags":["ERP Payments"],"operationId":"cancelPayment","parameters":[{"name":"X-EPAROXOS-API-KEY","in":"header","description":"The company api key.","required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelPaymentRequest"}}},"required":true},"responses":{"202":{"description":"Accepted","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SendInvoiceResponse"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}}}},"/api/v1/erp/view-invoice/{uid}":{"get":{"tags":["ERP Invoice"],"operationId":"getInvoicesByUidAndMark","parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Accepted","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SendInvoiceResponse"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GetInvoiceDetailedDto"}}}}}}},"/api/v1/erp/open-tables":{"get":{"tags":["ERP Utilities"],"operationId":"getOpenTables","parameters":[{"name":"branch","in":"query","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"X-EPAROXOS-API-KEY","in":"header","description":"The company api key.","required":true}],"responses":{"202":{"description":"Accepted","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SendInvoiceResponse"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DataResponseGetErpOpenTableDto"}}}}}}},"/api/v1/erp/get-invoice":{"get":{"tags":["ERP Invoice"],"operationId":"getInvoice","parameters":[{"name":"uid","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Accepted","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SendInvoiceResponse"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GetInvoiceDetailedDto"}}}}}}},"/api/v1/erp/available-credits":{"get":{"tags":["ERP Utilities"],"operationId":"getAvailableCredits","parameters":[{"name":"X-EPAROXOS-API-KEY","in":"header","description":"The company api key.","required":true}],"responses":{"202":{"description":"Accepted","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SendInvoiceResponse"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorMessageDto"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CompanyAvailableCreditsResponse"}}}}}}}},"components":{"schemas":{"ErrorType":{"required":["code","message"],"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"}}},"InvoiceResponse":{"type":"object","properties":{"invoiceUid":{"type":"string"},"invoiceMark":{"type":"integer","format":"int64"},"qrUrl":{"type":"string"},"myDataQrUrl":{"type":"string"},"classificationMark":{"type":"integer","format":"int64"},"cancellationMark":{"type":"integer","format":"int64"},"paymentMethodMark":{"type":"integer","format":"int64"},"authenticationCode":{"type":"string"},"receptionProviders":{"type":"array","items":{"$ref":"#/components/schemas/ProviderInfoType"}},"receptionEmails":{"type":"array","items":{"type":"string"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorType"}},"statusCode":{"type":"string"}}},"ProviderInfoType":{"type":"object","properties":{"vatnumber":{"type":"array","items":{"type":"string"}}}},"SendInvoiceResponse":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"invoice":{"$ref":"#/components/schemas/InvoiceResponse"}}},"ErrorMessageDto":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"status":{"type":"integer","format":"int32"},"error":{"type":"string"},"message":{"type":"string"},"path":{"type":"string"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorMessageErrorDto"}},"statusCode":{"type":"string"},"service":{"type":"string"}}},"ErrorMessageErrorDto":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"}}},"UserPutRequestDetailedDto":{"required":["disabled","email","emailVerified","phone","phoneVerified","roleId"],"type":"object","properties":{"email":{"type":"string"},"phone":{"type":"string"},"firstName":{"maxLength":255,"minLength":0,"type":"string"},"lastName":{"maxLength":255,"minLength":0,"type":"string"},"emailVerified":{"type":"boolean"},"phoneVerified":{"type":"boolean"},"disabled":{"type":"boolean"},"roleId":{"type":"integer","format":"int64"}}},"UserRegisterRoleDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"accessLevel":{"type":"integer","format":"int64"}}},"UserResponseDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"email":{"type":"string"},"phone":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"credits":{"type":"integer","format":"int32"},"emailVerified":{"type":"boolean"},"phoneVerified":{"type":"boolean"},"disabled":{"type":"boolean"},"role":{"$ref":"#/components/schemas/UserRegisterRoleDto"}}},"UserPutRequestDto":{"required":["email","phone"],"type":"object","properties":{"email":{"type":"string"},"phone":{"type":"string"},"firstName":{"maxLength":255,"minLength":0,"type":"string"},"lastName":{"maxLength":255,"minLength":0,"type":"string"}}},"UserPasswordPutRequestDto":{"required":["oldPassword","password"],"type":"object","properties":{"password":{"type":"string"},"oldPassword":{"type":"string"}}},"CompanyRequestDto":{"required":["business","city","country","friendlyName","gemi","name","postalCode","street","streetNumber","vatNumber"],"type":"object","properties":{"restApiKey":{"type":"string"},"vatNumber":{"type":"string"},"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OC","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"name":{"type":"string"},"friendlyName":{"type":"string"},"street":{"type":"string"},"streetNumber":{"type":"string"},"postalCode":{"type":"string"},"city":{"type":"string"},"documentIdNo":{"type":"string"},"supplyAccountNo":{"type":"string"},"countryDocumentId":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OC","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"gemi":{"type":"string"},"business":{"type":"string"},"email":{"type":"string"},"taxOffice":{"type":"string"},"internetProviderName":{"type":"string"},"internetProviderContractDate":{"type":"string","format":"date"},"internetProviderContractNumber":{"type":"string"},"contractExpirationDate":{"type":"string","format":"date"},"isB2BTransactions":{"type":"boolean"},"isB2CTransactions":{"type":"boolean"},"isB2GTransactions":{"type":"boolean"}}},"CompanyContractDto":{"type":"object","properties":{"contractStatus":{"type":"string","enum":["PENDING","SIGNED","REJECTED","EXPIRED"]},"contractNumber":{"type":"string"},"contractSignedDate":{"type":"string","format":"date-time"},"docusealSubmissionId":{"type":"integer","format":"int64"},"docusealSigningUrl":{"type":"string"},"validationExternalId":{"type":"string"},"mydataStatementId":{"type":"string"},"activationError":{"type":"string"},"docusealRequestedAt":{"type":"string","format":"date-time"},"mydataActivatedAt":{"type":"string","format":"date-time"}}},"CompanyResponseDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"apiKey":{"type":"string","format":"uuid"},"restApiKey":{"type":"string"},"credits":{"type":"integer","format":"int32"},"vatNumber":{"type":"string"},"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OC","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"name":{"type":"string"},"friendlyName":{"type":"string"},"street":{"type":"string"},"streetNumber":{"type":"string"},"postalCode":{"type":"string"},"city":{"type":"string"},"documentIdNo":{"type":"string"},"supplyAccountNo":{"type":"string"},"countryDocumentId":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OC","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"gemi":{"type":"string"},"business":{"type":"string"},"email":{"type":"string"},"taxOffice":{"type":"string"},"internetProviderName":{"type":"string"},"internetProviderContractDate":{"type":"string","format":"date"},"internetProviderContractNumber":{"type":"string"},"contractExpirationDate":{"type":"string","format":"date"},"isB2BTransactions":{"type":"boolean"},"isB2CTransactions":{"type":"boolean"},"isB2GTransactions":{"type":"boolean"},"activationStatus":{"type":"string","enum":["DRAFT","PENDING_SIGNATURE","SIGNED","ACTIVE","REJECTED","EXPIRED"]},"docusealSubmissionId":{"type":"integer","format":"int64"},"validationExternalId":{"type":"string"},"mydataStatementId":{"type":"string"},"activationError":{"type":"string"},"docusealRequestedAt":{"type":"string","format":"date-time"},"signedAt":{"type":"string","format":"date-time"},"mydataActivatedAt":{"type":"string","format":"date-time"},"contract":{"$ref":"#/components/schemas/CompanyContractDto"},"user":{"$ref":"#/components/schemas/UserResponseDto"},"deletedAt":{"type":"string","format":"date-time"}}},"AuthRequest":{"required":["email","password"],"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"}}},"AuthResponse":{"type":"object","properties":{"accessToken":{"type":"string"},"tokenType":{"type":"string"},"expiresIn":{"type":"integer","format":"int64"}}},"SendResetPasswordRequest":{"required":["email"],"type":"object","properties":{"email":{"type":"string"}}},"SuccessResponse":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"success":{"type":"boolean"}}},"ResetPasswordRequest":{"required":["password"],"type":"object","properties":{"password":{"type":"string"}}},"UserPostRequestDto":{"required":["email","password","phone","roleId"],"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"firstName":{"maxLength":255,"minLength":0,"type":"string"},"lastName":{"maxLength":255,"minLength":0,"type":"string"},"disabled":{"type":"boolean"},"emailVerified":{"type":"boolean"},"phoneVerified":{"type":"boolean"},"roleId":{"type":"integer","format":"int64"}}},"UserTopUpRequest":{"type":"object","properties":{"credits":{"type":"integer","format":"int32"},"note":{"maxLength":255,"minLength":0,"type":"string"}}},"UserTopUpResponse":{"type":"object","properties":{"credits":{"type":"integer","format":"int32"}}},"UserPostRegisterRequestDto":{"required":["email","password","phone"],"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"},"phone":{"type":"string"},"firstName":{"maxLength":255,"minLength":0,"type":"string"},"lastName":{"maxLength":255,"minLength":0,"type":"string"}}},"UserAssignCreditsRequest":{"type":"object","properties":{"credits":{"type":"integer","format":"int32"},"note":{"maxLength":255,"minLength":0,"type":"string"}}},"UserAssignCreditsResponse":{"type":"object","properties":{"userCredits":{"type":"integer","format":"int32"},"companyId":{"type":"integer","format":"int64"},"companyCredits":{"type":"integer","format":"int32"}}},"AddressType":{"required":["city","postalCode"],"type":"object","properties":{"street":{"type":"string"},"number":{"type":"string"},"postalCode":{"type":"string"},"city":{"type":"string"}}},"DeliveryEventType":{"required":["actorVat","eventTimestamp","eventType"],"type":"object","properties":{"eventType":{"type":"string"},"eventTimestamp":{"type":"string","format":"date-time"},"actorVat":{"type":"string"},"mark":{"type":"integer","format":"int64"},"transportDetails":{"$ref":"#/components/schemas/TransportDetailType"},"outcomeDetails":{"$ref":"#/components/schemas/OutcomeDetailsType"},"rejectionDetails":{"$ref":"#/components/schemas/RejectionDetailsType"}}},"DeliveryLifecycle":{"required":["deliveryEvents"],"type":"object","properties":{"deliveryEvents":{"type":"array","items":{"$ref":"#/components/schemas/DeliveryEventType"}}}},"ECRTokenType":{"required":["sessionNumber","signingAuthor"],"type":"object","properties":{"signingAuthor":{"type":"string","xml":{"name":"SigningAuthor"}},"sessionNumber":{"type":"string","xml":{"name":"SessionNumber"}}}},"EntityType":{"required":["entityData"],"type":"object","properties":{"type":{"type":"integer","format":"int32"},"entityData":{"$ref":"#/components/schemas/PartyType"}}},"ErpAddressType":{"type":"object","properties":{"street":{"type":"string"},"number":{"type":"string"},"postalCode":{"type":"string"},"city":{"type":"string"}}},"ErpPartyType":{"type":"object","properties":{"vatNumber":{"type":"string"},"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OC","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"branch":{"type":"integer","format":"int32"},"name":{"type":"string"},"address":{"$ref":"#/components/schemas/ErpAddressType"},"documentIdNo":{"type":"string"},"supplyAccountNo":{"type":"string"},"countryDocumentId":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OC","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}}},"ExpensesClassificationType":{"required":["amount"],"type":"object","properties":{"classificationType":{"type":"string","enum":["E_3_101","E_3_102_001","E_3_102_002","E_3_102_003","E_3_102_004","E_3_102_005","E_3_102_006","E_3_104","E_3_201","E_3_202_001","E_3_202_002","E_3_202_003","E_3_202_004","E_3_202_005","E_3_204","E_3_207","E_3_209","E_3_301","E_3_302_001","E_3_302_002","E_3_302_003","E_3_302_004","E_3_302_005","E_3_304","E_3_307","E_3_309","E_3_312","E_3_313_001","E_3_313_002","E_3_313_003","E_3_313_004","E_3_313_005","E_3_315","E_3_581_001","E_3_581_002","E_3_581_003","E_3_582","E_3_583","E_3_584","E_3_585_001","E_3_585_002","E_3_585_003","E_3_585_004","E_3_585_005","E_3_585_006","E_3_585_007","E_3_585_008","E_3_585_009","E_3_585_010","E_3_585_011","E_3_585_012","E_3_585_013","E_3_585_014","E_3_585_015","E_3_585_016","E_3_586","E_3_587","E_3_588","E_3_589","E_3_881_001","E_3_881_002","E_3_881_003","E_3_881_004","E_3_882_001","E_3_882_002","E_3_882_003","E_3_882_004","E_3_883_001","E_3_883_002","E_3_883_003","E_3_883_004","VAT_361","VAT_362","VAT_363","VAT_364","VAT_365","VAT_366","E_3_103","E_3_203","E_3_303","E_3_208","E_3_308","E_3_314","E_3_106","E_3_205","E_3_305","E_3_210","E_3_310","E_3_318","E_3_598_002","NOT_VAT_295"]},"classificationCategory":{"type":"string","enum":["CATEGORY_2_1","CATEGORY_2_2","CATEGORY_2_3","CATEGORY_2_4","CATEGORY_2_5","CATEGORY_2_6","CATEGORY_2_7","CATEGORY_2_8","CATEGORY_2_9","CATEGORY_2_10","CATEGORY_2_11","CATEGORY_2_12","CATEGORY_2_13","CATEGORY_2_14","CATEGORY_2_95"]},"amount":{"type":"number"},"vatAmount":{"type":"number"},"vatCategory":{"type":"integer","format":"int32"},"vatExemptionCategory":{"type":"integer","format":"int32"},"id":{"type":"string","format":"byte"}}},"IncomeClassificationType":{"required":["amount","classificationCategory"],"type":"object","properties":{"classificationType":{"type":"string","enum":["E_3_106","E_3_205","E_3_210","E_3_305","E_3_310","E_3_318","E_3_561_001","E_3_561_002","E_3_561_003","E_3_561_004","E_3_561_005","E_3_561_006","E_3_561_007","E_3_562","E_3_563","E_3_564","E_3_565","E_3_566","E_3_567","E_3_568","E_3_570","E_3_595","E_3_596","E_3_597","E_3_880_001","E_3_880_002","E_3_880_003","E_3_880_004","E_3_881_001","E_3_881_002","E_3_881_003","E_3_881_004","E_3_598_001","E_3_598_003"]},"classificationCategory":{"type":"string","enum":["CATEGORY_1_1","CATEGORY_1_2","CATEGORY_1_3","CATEGORY_1_4","CATEGORY_1_5","CATEGORY_1_6","CATEGORY_1_7","CATEGORY_1_8","CATEGORY_1_9","CATEGORY_1_10","CATEGORY_1_95","CATEGORY_3"]},"amount":{"type":"number"},"id":{"type":"string","format":"byte"}}},"InvoiceHeaderType":{"required":["aa","invoiceType","issueDate","series"],"type":"object","properties":{"series":{"type":"string"},"aa":{"type":"string"},"issueDate":{"type":"string","format":"date-time"},"invoiceType":{"type":"string"},"vatPaymentSuspension":{"type":"boolean"},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GWP","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TVD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPD","XPF","YER","ZAR","ZMK","ZWL"]},"exchangeRate":{"type":"number"},"correlatedInvoices":{"type":"array","items":{"type":"integer","format":"int64"}},"selfPricing":{"type":"boolean"},"dispatchDate":{"type":"string","format":"date-time"},"dispatchTime":{"type":"string","format":"date-time"},"vehicleNumber":{"type":"string"},"movePurpose":{"type":"integer","format":"int32"},"fuelInvoice":{"type":"boolean"},"specialInvoiceCategory":{"type":"integer","format":"int32"},"invoiceVariationType":{"type":"integer","format":"int32"},"otherCorrelatedEntities":{"type":"array","items":{"$ref":"#/components/schemas/EntityType"}},"otherDeliveryNoteHeader":{"$ref":"#/components/schemas/OtherDeliveryNoteHeaderType"},"isDeliveryNote":{"type":"boolean"},"otherMovePurposeTitle":{"type":"string"},"thirdPartyCollection":{"type":"boolean"},"multipleConnectedMarks":{"type":"array","items":{"type":"integer","format":"int64"}},"tableAA":{"type":"string"},"totalCancelDeliveryOrders":{"type":"boolean"},"reverseDeliveryNote":{"type":"boolean"},"reverseDeliveryNotePurpose":{"type":"integer","format":"int32"},"toWeigh":{"type":"boolean"}}},"InvoiceRequest":{"type":"object","properties":{"transmissionFailure":{"type":"string","format":"byte"},"issuer":{"$ref":"#/components/schemas/ErpPartyType"},"counterpart":{"$ref":"#/components/schemas/ErpPartyType"},"invoiceHeader":{"$ref":"#/components/schemas/InvoiceHeaderType"},"paymentMethods":{"$ref":"#/components/schemas/PaymentMethods"},"invoiceDetails":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceRowType"}},"taxesTotals":{"$ref":"#/components/schemas/TaxesTotals"},"invoiceSummary":{"$ref":"#/components/schemas/InvoiceSummaryType"},"deliveryLifecycle":{"$ref":"#/components/schemas/DeliveryLifecycle"}}},"InvoiceRowType":{"required":["netValue","vatAmount"],"type":"object","properties":{"lineNumber":{"type":"integer","format":"int32"},"recType":{"type":"integer","format":"int32"},"taricNo":{"type":"string","xml":{"name":"TaricNo"}},"itemCode":{"type":"string"},"itemDescr":{"type":"string"},"fuelCode":{"type":"string"},"quantity":{"type":"number"},"measurementUnit":{"type":"integer","format":"int32"},"invoiceDetailType":{"type":"integer","format":"int32"},"netValue":{"type":"number"},"vatCategory":{"type":"integer","format":"int32"},"vatAmount":{"type":"number"},"vatExemptionCategory":{"type":"integer","format":"int32"},"dienergia":{"$ref":"#/components/schemas/ShipType"},"discountOption":{"type":"boolean"},"withheldAmount":{"type":"number"},"withheldPercentCategory":{"type":"integer","format":"int32"},"stampDutyAmount":{"type":"number"},"stampDutyPercentCategory":{"type":"integer","format":"int32"},"feesAmount":{"type":"number"},"feesPercentCategory":{"type":"integer","format":"int32"},"otherTaxesPercentCategory":{"type":"integer","format":"int32"},"otherTaxesAmount":{"type":"number"},"deductionsAmount":{"type":"number"},"lineComments":{"type":"string"},"incomeClassification":{"type":"array","items":{"$ref":"#/components/schemas/IncomeClassificationType"}},"expensesClassification":{"type":"array","items":{"$ref":"#/components/schemas/ExpensesClassificationType"}},"quantity15":{"type":"number"},"otherMeasurementUnitQuantity":{"type":"integer","format":"int32"},"otherMeasurementUnitTitle":{"type":"string"},"notVAT195":{"type":"boolean"},"movePurposeLine":{"type":"integer","format":"int32"},"otherMovePurposeLineTitle":{"type":"string"}}},"InvoiceSummaryType":{"required":["totalDeductionsAmount","totalFeesAmount","totalGrossValue","totalNetValue","totalOtherTaxesAmount","totalStampDutyAmount","totalVatAmount","totalWithheldAmount"],"type":"object","properties":{"totalNetValue":{"type":"number"},"totalVatAmount":{"type":"number"},"totalWithheldAmount":{"type":"number"},"totalFeesAmount":{"type":"number"},"totalStampDutyAmount":{"type":"number"},"totalOtherTaxesAmount":{"type":"number"},"totalDeductionsAmount":{"type":"number"},"totalGrossValue":{"type":"number"},"incomeClassification":{"type":"array","items":{"$ref":"#/components/schemas/IncomeClassificationType"}},"expensesClassification":{"type":"array","items":{"$ref":"#/components/schemas/ExpensesClassificationType"}}}},"LocationType":{"required":["latitude","longitude"],"type":"object","properties":{"longitude":{"type":"number"},"latitude":{"type":"number"}}},"OtherDeliveryNoteHeaderType":{"required":["deliveryAddress","loadingAddress"],"type":"object","properties":{"loadingAddress":{"$ref":"#/components/schemas/AddressType"},"deliveryAddress":{"$ref":"#/components/schemas/AddressType"},"startShippingBranch":{"type":"integer","format":"int32"},"completeShippingBranch":{"type":"integer","format":"int32"}}},"OutcomeDetailsType":{"required":["outcome"],"type":"object","properties":{"outcome":{"type":"string","enum":["FULL","PARTIAL","NONE"]},"deliveredWithoutRecipient":{"type":"boolean"},"deliveredPackaging":{"type":"array","items":{"$ref":"#/components/schemas/PackagingDetailType"}}}},"PackagingDetailType":{"type":"object","properties":{"packagingType":{"type":"integer","format":"int32"},"quantity":{"type":"integer","format":"int32"},"otherPackagingTypeTitle":{"type":"string"}}},"PartyType":{"required":["country","vatNumber"],"type":"object","properties":{"vatNumber":{"type":"string"},"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OC","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"branch":{"type":"integer","format":"int32"},"name":{"type":"string"},"address":{"$ref":"#/components/schemas/AddressType"},"documentIdNo":{"type":"string"},"supplyAccountNo":{"type":"string"},"countryDocumentId":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OC","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]}}},"PaymentMethodDetail":{"type":"object","properties":{"paymentId":{"type":"string","format":"uuid"},"type":{"type":"integer","format":"int32"},"amount":{"type":"number"},"paymentMethodInfo":{"type":"string"},"tipAmount":{"type":"number"},"transactionId":{"type":"string"},"tid":{"type":"string"},"providersSignature":{"$ref":"#/components/schemas/ProviderSignatureType"},"ecrToken":{"$ref":"#/components/schemas/ECRTokenType"}}},"PaymentMethods":{"type":"object","properties":{"paymentMethodDetails":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMethodDetail"}}}},"ProviderSignatureType":{"required":["signature","signingAuthor"],"type":"object","properties":{"signingAuthor":{"type":"string","xml":{"name":"SigningAuthor"}},"signature":{"type":"string","xml":{"name":"Signature"}},"endToEndReferenceID":{"type":"string","xml":{"name":"EndToEndReferenceID"}}}},"RejectionDetailsType":{"type":"object","properties":{"reason":{"type":"string"}}},"SendInvoiceRequest":{"required":["invoice"],"type":"object","properties":{"invoice":{"$ref":"#/components/schemas/InvoiceRequest"},"recipients":{"type":"array","items":{"type":"string"}}}},"ShipType":{"required":["applicationDate","applicationId","shipId"],"type":"object","properties":{"applicationId":{"type":"string"},"applicationDate":{"type":"string","format":"date-time"},"doy":{"type":"string"},"shipId":{"type":"string"}}},"TaxTotalsType":{"required":["taxAmount"],"type":"object","properties":{"taxType":{"type":"string","format":"byte"},"taxCategory":{"type":"integer","format":"int32"},"underlyingValue":{"type":"number"},"taxAmount":{"type":"number"},"id":{"type":"string","format":"byte"}}},"TaxesTotals":{"required":["taxes"],"type":"object","properties":{"taxes":{"type":"array","items":{"$ref":"#/components/schemas/TaxTotalsType"}}}},"TransportDetailType":{"required":["carrierVatNumber","vehicleNumber"],"type":"object","properties":{"vehicleNumber":{"type":"string"},"transportType":{"type":"integer","format":"int32"},"timeStamp":{"type":"string","format":"date-time"},"carrierVatNumber":{"type":"string"},"location":{"$ref":"#/components/schemas/LocationType"},"pnumber":{"type":"string"}}},"SubmitPaymentInfo":{"required":["amount","signature","terminalId","tipAmount","transactionId"],"type":"object","properties":{"amount":{"type":"number"},"tipAmount":{"type":"number"},"transactionId":{"type":"string"},"signature":{"type":"string"},"terminalId":{"type":"string"}}},"SubmitPaymentRequest":{"required":["paymentId","paymentInfo"],"type":"object","properties":{"paymentId":{"type":"string"},"paymentInfo":{"$ref":"#/components/schemas/SubmitPaymentInfo"}}},"SubmitPaymentResponse":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"success":{"type":"boolean"},"paymentMethodMark":{"type":"integer","format":"int64"}}},"SendPaymentMethodsRequest":{"required":["invoiceMark","paymentMethodDetails"],"type":"object","properties":{"invoiceMark":{"type":"integer","format":"int64"},"paymentMethodDetails":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMethodDetail"}}}},"SendPaymentMethodsResponse":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"success":{"type":"boolean"},"invoiceMark":{"type":"integer","format":"int64"},"paymentMethodMark":{"type":"integer","format":"int64"}}},"RequestPaymentRequest":{"required":["grossAmount","invoiceAa","invoiceSeries","invoiceType","issueDateTime","netAmount","nspCode","taxAmount","terminalId","totalAmount"],"type":"object","properties":{"mark":{"type":"integer","format":"int64"},"issueDateTime":{"type":"string","format":"date-time"},"invoiceType":{"type":"string"},"invoiceSeries":{"type":"string"},"invoiceAa":{"type":"string"},"netAmount":{"type":"number"},"grossAmount":{"type":"number"},"taxAmount":{"type":"number"},"totalAmount":{"type":"number"},"terminalId":{"type":"string"},"nspCode":{"type":"string"}}},"RequestPaymentResponse":{"type":"object","properties":{"paymentId":{"type":"string","format":"uuid"},"uid":{"type":"string"},"paymentToken":{"$ref":"#/components/schemas/RequestPaymentToken"}}},"RequestPaymentToken":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"hexSignature":{"type":"string"},"base64Signature":{"type":"string"},"signatureClearText":{"type":"string"}}},"CancelPaymentRequest":{"required":["paymentId"],"type":"object","properties":{"paymentId":{"type":"string"}}},"CompanyTopUpRequest":{"type":"object","properties":{"credits":{"type":"integer","format":"int32"},"note":{"maxLength":255,"minLength":0,"type":"string"}}},"CompanyTopUpResponse":{"type":"object","properties":{"credits":{"type":"integer","format":"int32"}}},"CompanyActivationStartResponse":{"type":"object","properties":{"companyId":{"type":"integer","format":"int64"},"submissionId":{"type":"integer","format":"int64"},"signingUrl":{"type":"string"},"activationStatus":{"type":"string","enum":["DRAFT","PENDING_SIGNATURE","SIGNED","ACTIVE","REJECTED","EXPIRED"]}}},"GetGovDataForVatV2Response":{"type":"object","properties":{"basic":{"$ref":"#/components/schemas/GovDataForVatV2BasicResponse"},"epaggelmata":{"type":"array","items":{"$ref":"#/components/schemas/GovDataForVatV2ActivityResponse"}}}},"GovDataForVatV2ActivityResponse":{"type":"object","properties":{"firmActCode":{"type":"number"},"firmActDescr":{"type":"string"},"firmActKind":{"type":"string"},"firmActKindDescr":{"type":"string"}}},"GovDataForVatV2BasicResponse":{"type":"object","properties":{"afm":{"type":"string"},"stopDate":{"type":"string","format":"date-time"},"postalAddressNo":{"type":"string"},"doyDescr":{"type":"string"},"doy":{"type":"string"},"onomasia":{"type":"string"},"legalStatusDescr":{"type":"string"},"registDate":{"type":"string","format":"date-time"},"deactivationFlag":{"type":"string"},"deactivationFlagDescr":{"type":"string"},"postalAddress":{"type":"string"},"firmFlagDescr":{"type":"string"},"commerTitle":{"type":"string"},"postalAreaDescription":{"type":"string"},"iniFlagDescr":{"type":"string"},"postalZipCode":{"type":"string"}}},"DataResponseUserResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UserResponseDto"}},"totalElements":{"type":"integer","format":"int32"}}},"UserAvailableCreditsResponse":{"type":"object","properties":{"credits":{"type":"integer","format":"int32"}}},"DataResponseWithheldTaxCategory":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WithheldTaxCategory"}},"totalElements":{"type":"integer","format":"int32"}}},"WithheldTaxCategory":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"version":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"description":{"type":"string"},"tax":{"type":"string"}}},"DataResponseVatExceptionCategory":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/VatExceptionCategory"}},"totalElements":{"type":"integer","format":"int32"}}},"VatExceptionCategory":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"version":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"description":{"type":"string"}}},"DataResponseVatCategory":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/VatCategory"}},"totalElements":{"type":"integer","format":"int32"}}},"VatCategory":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"version":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"description":{"type":"string"},"vat":{"type":"string"}}},"DataResponseTaxType":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TaxType"}},"totalElements":{"type":"integer","format":"int32"}}},"TaxType":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"version":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"description":{"type":"string"}}},"DataResponseStampDutyCategory":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/StampDutyCategory"}},"totalElements":{"type":"integer","format":"int32"}}},"StampDutyCategory":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"version":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"description":{"type":"string"},"stamp":{"type":"string"}}},"DataResponseQuantityType":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/QuantityType"}},"totalElements":{"type":"integer","format":"int32"}}},"QuantityType":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"version":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"description":{"type":"string"}}},"DataResponsePaymentMethod":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMethod"}},"totalElements":{"type":"integer","format":"int32"}}},"PaymentMethod":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"version":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"description":{"type":"string"}}},"DataResponseOtherTaxCategory":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/OtherTaxCategory"}},"totalElements":{"type":"integer","format":"int32"}}},"OtherTaxCategory":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"version":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"description":{"type":"string"},"tax":{"type":"string"}}},"DataResponseMovePurpose":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MovePurpose"}},"totalElements":{"type":"integer","format":"int32"}}},"MovePurpose":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"version":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"description":{"type":"string"}}},"DataResponseInvoiceType":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceType"}},"totalElements":{"type":"integer","format":"int32"}}},"InvoiceType":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"version":{"type":"integer","format":"int32"},"code":{"type":"string"},"category":{"type":"string"},"description":{"type":"string"},"credits":{"type":"integer","format":"int32"},"depa":{"type":"boolean"},"requiresPartyDetails":{"type":"boolean"},"creditNote":{"type":"boolean"}}},"DataResponseIncomeClassificationType":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/IncomeClassificationType"}},"totalElements":{"type":"integer","format":"int32"}}},"DataResponseIncomeClassificationCategory":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/IncomeClassificationCategory"}},"totalElements":{"type":"integer","format":"int32"}}},"IncomeClassificationCategory":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"version":{"type":"integer","format":"int32"},"code":{"type":"string"},"description":{"type":"string"}}},"DataResponseFeeCategory":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/FeeCategory"}},"totalElements":{"type":"integer","format":"int32"}}},"FeeCategory":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"version":{"type":"integer","format":"int32"},"code":{"type":"integer","format":"int32"},"description":{"type":"string"},"fee":{"type":"string"}}},"GetGovDataForVatResponse":{"type":"object","properties":{"basic":{"$ref":"#/components/schemas/RgWsPublic2BasicRtType"},"epaggelmata":{"type":"array","items":{"$ref":"#/components/schemas/RgWsPublic2FirmActRtType"}}}},"JAXBElementBigDecimal":{"type":"object","properties":{"name":{"type":"object","properties":{"namespaceURI":{"type":"string"},"localPart":{"type":"string"},"prefix":{"type":"string"}}},"value":{"type":"number"},"nil":{"type":"boolean"},"globalScope":{"type":"boolean"},"typeSubstituted":{"type":"boolean"}}},"JAXBElementString":{"type":"object","properties":{"name":{"type":"object","properties":{"namespaceURI":{"type":"string"},"localPart":{"type":"string"},"prefix":{"type":"string"}}},"value":{"type":"string"},"nil":{"type":"boolean"},"globalScope":{"type":"boolean"},"typeSubstituted":{"type":"boolean"}}},"JAXBElementXMLGregorianCalendar":{"type":"object","properties":{"name":{"type":"object","properties":{"namespaceURI":{"type":"string"},"localPart":{"type":"string"},"prefix":{"type":"string"}}},"value":{"type":"string","format":"date-time"},"nil":{"type":"boolean"},"globalScope":{"type":"boolean"},"typeSubstituted":{"type":"boolean"}}},"RgWsPublic2BasicRtType":{"type":"object","properties":{"afm":{"$ref":"#/components/schemas/JAXBElementString"},"doy":{"$ref":"#/components/schemas/JAXBElementString"},"doyDescr":{"$ref":"#/components/schemas/JAXBElementString"},"deactivationFlag":{"$ref":"#/components/schemas/JAXBElementString"},"deactivationFlagDescr":{"$ref":"#/components/schemas/JAXBElementString"},"firmFlagDescr":{"$ref":"#/components/schemas/JAXBElementString"},"onomasia":{"$ref":"#/components/schemas/JAXBElementString"},"commerTitle":{"$ref":"#/components/schemas/JAXBElementString"},"legalStatusDescr":{"$ref":"#/components/schemas/JAXBElementString"},"postalAddress":{"$ref":"#/components/schemas/JAXBElementString"},"postalAddressNo":{"$ref":"#/components/schemas/JAXBElementString"},"postalZipCode":{"$ref":"#/components/schemas/JAXBElementString"},"postalAreaDescription":{"$ref":"#/components/schemas/JAXBElementString"},"registDate":{"$ref":"#/components/schemas/JAXBElementXMLGregorianCalendar"},"stopDate":{"$ref":"#/components/schemas/JAXBElementXMLGregorianCalendar"},"normalVatSystemFlag":{"$ref":"#/components/schemas/JAXBElementString"},"iniFlagDescr":{"$ref":"#/components/schemas/JAXBElementString"}}},"RgWsPublic2FirmActRtType":{"type":"object","properties":{"firmActCode":{"$ref":"#/components/schemas/JAXBElementBigDecimal"},"firmActDescr":{"$ref":"#/components/schemas/JAXBElementString"},"firmActKind":{"$ref":"#/components/schemas/JAXBElementString"},"firmActKindDescr":{"$ref":"#/components/schemas/JAXBElementString"}}},"DataResponseRoleResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/RoleResponseDto"}},"totalElements":{"type":"integer","format":"int32"}}},"RoleResponseDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"accessLevel":{"type":"integer","format":"int32"}}},"DataResponseGetOpenTableDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GetOpenTableDto"}},"totalElements":{"type":"integer","format":"int32"}}},"GetOpenTableDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"branch":{"type":"integer","format":"int32"},"name":{"type":"string"},"amountOrdered":{"type":"number"},"amountToPay":{"type":"number"},"closedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"}}},"DataResponseGetInvoiceDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GetInvoiceDto"}},"totalElements":{"type":"integer","format":"int32"}}},"GetInvoiceDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"vatNumber":{"type":"string"},"series":{"type":"string"},"aa":{"type":"string"},"branch":{"type":"integer","format":"int32"},"type":{"type":"string"},"typeDescription":{"type":"string"},"requestDate":{"type":"string","format":"date-time"},"issueDate":{"type":"string","format":"date"},"totalGrossAmount":{"type":"number"},"totalVatAmount":{"type":"number"},"totalNetAmount":{"type":"number"},"counterpartName":{"type":"string"},"counterpartVatNumber":{"type":"string"},"uid":{"type":"string"},"mark":{"type":"integer","format":"int64"},"classificationMark":{"type":"integer","format":"int64"},"cancellationMark":{"type":"integer","format":"int64"},"paymentMethodMark":{"type":"integer","format":"int64"},"qrUrl":{"type":"string"},"authenticationCode":{"type":"string"},"transmissionFailure":{"type":"string","format":"byte"}}},"GetInvoiceDetailedDto":{"type":"object","properties":{"request":{"$ref":"#/components/schemas/GetInvoiceDetailedRequestDto"},"response":{"$ref":"#/components/schemas/GetInvoiceResponse"},"counterpartName":{"type":"string"},"counterpartVatNumber":{"type":"string"},"rawXml":{"type":"string"},"payment":{"$ref":"#/components/schemas/PaymentDto"}}},"GetInvoiceDetailedRequestDto":{"type":"object","properties":{"uid":{"type":"string"},"mark":{"type":"integer","format":"int64"},"cancelledByMark":{"type":"integer","format":"int64"},"authenticationCode":{"type":"string"},"transmissionFailure":{"type":"string","format":"byte"},"requestDate":{"type":"string","format":"date-time"},"issuer":{"$ref":"#/components/schemas/PartyType"},"counterpart":{"$ref":"#/components/schemas/PartyType"},"invoiceHeader":{"$ref":"#/components/schemas/InvoiceHeaderDto"},"paymentMethods":{"$ref":"#/components/schemas/PaymentMethodsDto"},"invoiceDetails":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceRowDto"}},"taxesTotals":{"$ref":"#/components/schemas/TaxesTotals"},"invoiceSummary":{"$ref":"#/components/schemas/InvoiceSummaryType"},"qrCodeUrl":{"type":"string"},"deliveryLifecycle":{"$ref":"#/components/schemas/DeliveryLifecycle"}}},"GetInvoiceResponse":{"type":"object","properties":{"invoiceUid":{"type":"string"},"invoiceMark":{"type":"integer","format":"int64"},"qrUrl":{"type":"string"},"invoiceUrl":{"type":"string"},"myDataQrUrl":{"type":"string"},"cancellationMark":{"type":"integer","format":"int64"},"authenticationCode":{"type":"string"}}},"InvoiceHeaderDto":{"type":"object","properties":{"series":{"type":"string"},"aa":{"type":"string"},"issueDate":{"type":"string","format":"date-time"},"invoiceType":{"type":"string"},"invoiceTypeDescription":{"type":"string"},"vatPaymentSuspension":{"type":"boolean"},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHF","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EEK","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GWP","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TVD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPD","XPF","YER","ZAR","ZMK","ZWL"]},"exchangeRate":{"type":"number"},"correlatedInvoices":{"type":"array","items":{"type":"integer","format":"int64"}},"selfPricing":{"type":"boolean"},"dispatchDate":{"type":"string","format":"date-time"},"dispatchTime":{"type":"string","format":"date-time"},"vehicleNumber":{"type":"string"},"movePurpose":{"type":"integer","format":"int32"},"movePurposeDescription":{"type":"string"},"fuelInvoice":{"type":"boolean"},"specialInvoiceCategory":{"type":"integer","format":"int32"},"invoiceVariationType":{"type":"integer","format":"int32"},"otherCorrelatedEntities":{"type":"array","items":{"$ref":"#/components/schemas/EntityType"}},"otherDeliveryNoteHeader":{"$ref":"#/components/schemas/OtherDeliveryNoteHeaderType"},"isDeliveryNote":{"type":"boolean"},"otherMovePurposeTitle":{"type":"string"},"thirdPartyCollection":{"type":"boolean"}}},"InvoiceRowDto":{"type":"object","properties":{"lineNumber":{"type":"integer","format":"int32"},"recType":{"type":"integer","format":"int32"},"taricNo":{"type":"string"},"itemCode":{"type":"string"},"itemDescr":{"type":"string"},"fuelCode":{"type":"string"},"quantity":{"type":"number"},"measurementUnit":{"type":"integer","format":"int32"},"invoiceDetailType":{"type":"integer","format":"int32"},"netValue":{"type":"number"},"vatCategory":{"type":"integer","format":"int32"},"vatCategoryDescription":{"type":"string"},"vatAmount":{"type":"number"},"vatExemptionCategory":{"type":"integer","format":"int32"},"dienergia":{"$ref":"#/components/schemas/ShipType"},"discountOption":{"type":"boolean"},"withheldAmount":{"type":"number"},"withheldPercentCategory":{"type":"integer","format":"int32"},"stampDutyAmount":{"type":"number"},"stampDutyPercentCategory":{"type":"integer","format":"int32"},"feesAmount":{"type":"number"},"feesPercentCategory":{"type":"integer","format":"int32"},"otherTaxesPercentCategory":{"type":"integer","format":"int32"},"otherTaxesAmount":{"type":"number"},"deductionsAmount":{"type":"number"},"lineComments":{"type":"string"},"incomeClassification":{"type":"array","items":{"$ref":"#/components/schemas/IncomeClassificationType"}},"expensesClassification":{"type":"array","items":{"$ref":"#/components/schemas/ExpensesClassificationType"}},"quantity15":{"type":"number"},"otherMeasurementUnitQuantity":{"type":"integer","format":"int32"},"otherMeasurementUnitTitle":{"type":"string"}}},"PaymentDto":{"type":"object","properties":{"paymentId":{"type":"string","format":"uuid"},"companyId":{"type":"integer","format":"int64"},"hexSignature":{"type":"string"},"base64Signature":{"type":"string"},"uid":{"type":"string"},"mark":{"type":"integer","format":"int64"},"vatNumber":{"type":"string"},"invoiceType":{"type":"string"},"invoiceSeries":{"type":"string"},"invoiceAa":{"type":"string"},"issueDateTime":{"type":"string","format":"date-time"},"status":{"type":"string","enum":["OPEN","COMPLETED","CANCELLED"]},"netAmount":{"type":"number"},"taxAmount":{"type":"number"},"grossAmount":{"type":"number"},"totalAmount":{"type":"number"},"amount":{"type":"number"},"tipAmount":{"type":"number"},"terminalId":{"type":"string"},"nspCode":{"type":"string"},"transactionId":{"type":"string"}}},"PaymentMethodsDetailsDto":{"type":"object","properties":{"type":{"type":"integer","format":"int32"},"typeDescription":{"type":"string"},"amount":{"type":"number"},"paymentMethodInfo":{"type":"string"},"tipAmount":{"type":"number"},"transactionId":{"type":"string"},"tid":{"type":"string"},"providersSignature":{"$ref":"#/components/schemas/ProviderSignatureType"},"ecrToken":{"$ref":"#/components/schemas/ECRTokenType"}}},"PaymentMethodsDto":{"type":"object","properties":{"paymentMethodDetails":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMethodsDetailsDto"}}}},"InvoiceCountResponseDto":{"type":"object","properties":{"invoiceCount":{"type":"integer","format":"int64"},"invoiceSum":{"type":"number"}}},"InvoiceCountFailuresResponseDto":{"type":"object","properties":{"invoices":{"type":"integer","format":"int64"}}},"DataResponseGetErpOpenTableDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GetErpOpenTableDto"}},"totalElements":{"type":"integer","format":"int32"}}},"GetErpOpenTableDto":{"type":"object","properties":{"amount":{"type":"number"},"name":{"type":"string"},"openedAt":{"type":"string","format":"date-time"}}},"CompanyAvailableCreditsResponse":{"type":"object","properties":{"credits":{"type":"integer","format":"int32"}}},"Pageable":{"type":"object","properties":{"page":{"minimum":0,"type":"integer","format":"int32"},"size":{"minimum":1,"type":"integer","format":"int32"},"sort":{"type":"array","items":{"type":"string"}}}},"CreditTransactionResponseDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"type":{"type":"string","enum":["INITIAL_GRANT","ADMIN_TO_USER","USER_TO_COMPANY","REVERSAL"]},"status":{"type":"string","enum":["COMPLETED","REVERTED"]},"credits":{"type":"integer","format":"int32"},"actorUserId":{"type":"integer","format":"int64"},"sourceUserId":{"type":"integer","format":"int64"},"targetUserId":{"type":"integer","format":"int64"},"targetCompanyId":{"type":"integer","format":"int64"},"sourceBalanceAfter":{"type":"integer","format":"int32"},"targetBalanceAfter":{"type":"integer","format":"int32"},"reversalOfId":{"type":"integer","format":"int64"},"note":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"actorUserName":{"type":"string"},"sourceUserName":{"type":"string"},"targetUserName":{"type":"string"},"targetCompanyName":{"type":"string"}}},"DataResponseCreditTransactionResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CreditTransactionResponseDto"}},"totalElements":{"type":"integer","format":"int32"}}},"DataResponseCompanyResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CompanyResponseDto"}},"totalElements":{"type":"integer","format":"int32"}}}}}}