← API Documentation


Every error element that concerns an entity consists of a message describing the error and an error code.

Field Type Required Description
message xs: string Yes Error message
code xs: string Yes Error code

 

# HTTP Response Status Code Code Description
1 HTTP 200 OK XMLSyntaxError 101 XML Syntax Validation Error (SBZ). Example messages:

  • XML Syntax Validation Error. InvoicesDoc missing (or another required element name that is missing)
  • XML Syntax Validation Error. One of <itemCode> or <lineCode> must exist
  • XML Syntax Validation Error. One of <itemDescr> or <lineDescription> must exist
  • XML Syntax Validation Error. N1 missing
2 HTTP 200 OK ValidationError 102 Vat number {vatNumber} does not belong to active corporation
3 HTTP 200 OK ValidationError 103 Please pass mark in the request parameters
4 HTTP 200 OK ValidationError 104 Requested Invoice was not found
5 HTTP 200 OK ValidationError 105 User VAT number {vatNumber} is not authorized to execute this method for VAT number {vatNumber}
6 HTTP 200 OK ValidationError 201 Author VAT number is not the same with User VAT number
7 HTTP 200 OK ValidationError 202 Invalid Receiver VAT number
8 HTTP 200 OK ValidationError 203 Gross Value doesn’t match with sum of net value plus taxes
9 HTTP 200 OK ValidationError 204 {Field} is mandatory for this invoice type
10 HTTP 200 OK ValidationError 205 {Field} is forbidden for this invoice type
11 HTTP 200 OK TechnicalError 206 Unexpected technical error for invoice line
12 HTTP 200 OK ValidationError 207 The sum of net values of the invoice lines doesn’t match with total net value of the invoice
13 HTTP 200 OK ValidationError 208 The sum of gross values of the invoice lines doesn’t match with total gross value of the invoice
14 HTTP 200 OK ValidationError 209 The sum of vat amount of the invoice lines doesn’t match with total vat amount of the invoice
15 HTTP 200 OK ValidationError 210 The sum of withheld amount of the invoice lines doesn’t match with total withheld amount of the invoice
16 HTTP 200 OK ValidationError 211 Exchange Rate must be greater than 0 when the currency is not Euro
17 HTTP 200 OK ValidationError 212 AA element must be number (positive) for issuer from Greece
18 HTTP 200 OK ValidationError 213 {Field} must have value 0 for this invoice type
19 HTTP 200 OK ValidationError 214 Element {Element} must be sent only if it is true
20 HTTP 200 OK ValidationError 215 Vat category must have value {value} for this invoice type [Possible {value} values: {7, 8}]
21 HTTP 200 OK ValidationError 216 Vat category must have value other than 8 for this invoice type
22 HTTP 200 OK ValidationError 217 When vatCategory has value 7, element vatExemptionCategory is mandatory
23 HTTP 200 OK ValidationError 218 Vat Amount must have value 0 for this invoice type
24 HTTP 200 OK ValidationError 219 Issuer Name is forbidden for Issuer from Greece
25 HTTP 200 OK ValidationError 220 Counterpart Name is forbidden for Counterpart from Greece
26 HTTP 200 OK ValidationError 221 {Field} is forbidden for the lines that have invoiceDetailType = 2 for this invoice type
27 HTTP 200 OK ValidationError 222 {Field} must have value greater than 0 for this invoice
28 HTTP 200 OK ValidationError 223 Unsupported invoice type
29 HTTP 200 OK ValidationError 224 Taxes are allowed either per invoice line or per invoice (not in both)
30 HTTP 200 OK ValidationError 225 {Field} must exist (cannot be null) since the {Field} is not null (invoice line {lineNumber})
31 HTTP 200 OK ValidationError 226 The sum of {field} amount of the invoice {section} doesn’t match with total {field} amount of the invoice
32 HTTP 200 OK ValidationError 227 {Field1} cannot exist (must be null) since the {Field1} is null (invoice line : {lineNumber}) [ Possible {Field1, Field2} values: {‘feesAmount’, feesPercentCategory’}, {‘stampDutyAmount, ‘stampDutyPercentCategory’}, {‘withheldAmount’, ‘withheldPercentCategory’}]
33 HTTP 200 OK ValidationError 228 {Field} is invalid [Possible {Field} values: {UID, InvoiceType}
34 HTTP 200 OK ValidationError 229 {Field1} is not correct according to the given: {Field2} (invoice line: {lineNumber}) [ Possible {Field1, Field2} values: {‘feesAmount’, feesPercentCategory’}, {‘stampDutyAmount, ‘stampDutyPercentCategory’}, {‘withheldAmount’, ‘withheldPercentCategory’}]
35 HTTP 200 OK ValidationError 230 {Field} is mandatory for invoice detail (number} [Possible {Field} values: {E3 classifications, VAT classifications}
36 HTTP 200 OK ValidationError 231 {Field} is forbidden for invoice detail (number} [Possible {Field} values: {E3 classifications, VAT classifications}
37 HTTP 200 OK ValidationError 233 Wait before resubmitting (SBZ / sendinvoice). Message: Wait 30 seconds before resending the document with UID: … (the document UID). Note: if the UID already exists with a MARK, SBZ returns Success with the existing data (not 233).
38 HTTP 200 OK ValidationError 234 The values 7 or 8 are not allowed for Vat Category for this invoice type
39 HTTP 200 OK ValidationError 235 Issuer must be different from counterpart
40 HTTP 200 OK ValidationError 236 The Sender (vatnumber): ” + {afm} + ” must be different from the issuer (vatnumber)
41 HTTP 200 OK ValidationError 237 Underlying Value(s) of taxes cannot be greater than the total net value of invoice
42 HTTP 200 OK ValidationError 238 IssueDate is invalid, it must be equal with current date [Providers only]
43 HTTP 200 OK ValidationError 239 Taxamount(s) of taxes cannot be greater than the total net value of invoice
44 HTTP 200 OK ValidationError 240 240/ValidationError -Taxamount {Taxamount } of taxline: {A/A} cannot be greater than the corresponding underlying value
45 HTTP 200 OK ValidationError 241 241/ValidationError -{Field1} cannot be greater than the corresponding invoiceline net value (invoice line: + {linenumber} ) [ Possible {Field1} values: {‘feesAmount’, ‘otherTaxesPercentAmount’, ‘stampDutyAmount, ‘withheldAmount’}]
46 HTTP 200 OK ValidationError 242 242/ValidationError – {Field} ‘s country for this invoice type must be Greece [Possible {Field} values: {Issuer, Counterpart}
47 HTTP 200 OK ValidationError 243 243/ValidationError – {Field} ‘s country for this invoice type must be in Europe but not Greece [Possible {Field} values: {Issuer, Counterpart}
48 HTTP 200 OK ValidationError 244 244/ValidationError – {Field} ‘s country for this invoice type must not be in EU [Possible {Field} values: {Issuer, Counterpart}
49 HTTP 200 OK ValidationError 245 Provider is not authorised to issue Invoices for: {vatNumber}
50 HTTP 200 OK ValidationError 246 Invoice of type 1.5 must have at least one line with detailtype = 1 and one with detail type=2
51 HTTP 200 OK ValidationError 247 Invoice line: {lineNumber}. {Field} is forbidden. [Possible {Field} values: {recType=1, recType=4, recType=5}
52 HTTP 200 OK ValidationError 248 Invoice with MARK {mark} cannot be cancelled because was not posted by VAT number {vat}
53 HTTP 200 OK ValidationError 249 Invoice with MARK {mark} cannot be cancelled because of being posted by provider
54 HTTP 200 OK ValidationError 250 Invoice with MARK {mark} cannot be cancelled because of being posted by myDATA Invoicing
55 HTTP 200 OK ValidationError 251 Invoice with MARK {mark} cannot be cancelled because of being already cancelled
56 HTTP 200 OK ValidationError 252 Record with MARK {mark} is not a valid Invoice
57 HTTP 200 OK ValidationError 254 TaxLine (TaxTotals) : + {taxlinenumber} . {field + fieldData} is forbidden
58 HTTP 200 OK ValidationError 255 Invoice with MARK {mark} cannot be cancelled because it is connected with active invoice with MARK {mark1}
59 HTTP 200 OK ValidationError 256 Invoice with MARK {mark} cannot be classified because of being already cancelled
60 HTTP 200 OK ValidationError 257 Invoice with MARK {mark} cannot be cancelled because of being posted by TaxRegister
61 HTTP 200 OK ValidationError 258 All invoice rows should have {Field} [Possible {Field} values: {recType=3}
62 HTTP 200 OK ValidationError 259 Invoice cannot be posted because it replaces invoice with MARK {mark} having same UID and is still connected with active invoices
63 HTTP 200 OK ValidationError 260 IssueDate is invalid, it must be less or equal than current date
64 HTTP 200 OK ValidationError 261 Each Invoice row must have unique line number
65 HTTP 200 OK ValidationError 262 {field} length must be less or equal than
66 HTTP 200 OK ValidationError 263 Invoice with invoiceVariationType {field} and IssueDate {issueDate} cannot be sent earlier than { date} [Possible {field} values: {invoiceVariationType=1,2,3,4}
67 HTTP 200 OK ValidationError 264 Invoice with invoiceVariationType {field} cannot be sent for issueDate’s year earlier than 2021 [Possible {field} values: {invoiceVariationType=1,2,3, 4}
68 HTTP 200 OK ValidationError 265 The maximum allowed number of invoices contained in one message is 5000
69 HTTP 200 OK ValidationError 266 {msg11} is forbidden {msg2} [Possible {msg1} values: {‘Invoice with SpecialInvoiceCategoryType field with value 4 (taxfree invoice)’} [Possible {msg2} values: {‘for invoices sent by provider channel’}
70 HTTP 200 OK ValidationError 267 {msg11} is allowed {msg2} [Possible {msg1} values: {‘Invoice with SpecialInvoiceCategoryType field with value 4 (taxfree invoice)’} [Possible {msg2} values: {‘only for invoices sent by erp or timologio channel’}
71 HTTP 200 OK ValidationError 268 In case of fuelInvoice, at least one line must have fuelCode different from 999
72 HTTP 200 OK ValidationError 269 In case of fuelInvoice, the net value of the invoice line with fuelCode 999 must be less or equal than sum of net values of the other invoice lines
73 HTTP 200 OK ValidationError 270 In case of fuelInvoice, only one line can have fuelCode equal with 999
74 HTTP 200 OK ValidationError 271 Invoice Line Number: {linenumber}. VatExemptionCategory field is used only in case of vatCategory = 7
75 HTTP 200 OK ValidationError 272 {field} is mandatory + {moreInfo} [{moreInfo} μπορεί να είναι null]
76 HTTP 200 OK ValidationError 273 {field} is not allowed + {moreInfo} [{moreInfo} μπορεί να είναι null]
77 HTTP 200 OK ValidationError 274 {field} are mandatory for this invoicetype + {moreInfo} [{moreInfo} μπορεί να είναι null]
78 HTTP 200 OK ValidationError 275 The message cannot contain invoices and invoices/consignment notes with the same uid
79 HTTP 200 OK ValidationError 276 {field} length must be equal with
80 HTTP 200 OK ValidationError 277 The message cannot contain invoices of type: {invoiceType} with the same uid
81 HTTP 200 OK ValidationError 278 IssueDate is invalid, it must be greater or equal with current date
82 HTTP 200 OK ValidationError 279 Invoice with MARK {mark} cannot be cancelled + {moreInfo} [{moreInfo} μπορεί να είναι null]
83 HTTP 200 OK ValidationError 280 DispatchDate is invalid, it must be greater or equal with current date
84 HTTP 200 OK ValidationError 281 Invoice of type 8.6 with totalCancelDeliveryOrders = true, must have only one row. The net value and vat amount of this row must be equal with 0 and its vat category must have value 8
85 HTTP 200 OK ValidationError 282 {msg1} must have value greater or equal than 0 for this invoice type [Possible {msg1} values: {‘NetValue per line, which have recType = 6,’}
86 HTTP 200 OK ValidationError 283 Invoice with MARK {mark} is {invoiceType Value} invoice type. With CancelDeliveryNote method only 9.3 invoice type can be cancelled.
87 HTTP 200 OK ValidationError 284 Please pass entityVatNumber in the request parameters
88 HTTP 200 OK ValidationError 285 Provider with VAT number {vatNumber} is not authorised to execute this method for: {entityVatNumber}
89 HTTP 200 OK ValidationError 286 Issuer must be same with counterpart
90 HTTP 200 OK ValidationError 287 {Field} ‘s country for this invoice type must not be Greece [Possible {Field} values: {Issuer, Counterpart}
91 HTTP 200 OK ValidationError 288 Invoice submission is allowed within two days from the issue date when TransmissionFailure/TransmissionFlag = 4 [Providers only]
92 HTTP 200 OK ValidationError 289 {Field} VAT number must be 000000000 [Possible {Field} values: {Issuer’s, Counterpart’s}
93 HTTP 200 OK ValidationError 290 Both nonObligatedRecipient=true and withoutDigitalTransportTrac king=true are not allowed
94 HTTP 200 OK ValidationError 301 Invoices with mark requested not found
95 HTTP 200 OK ValidationError 302 Duplicate classification line number {lineNumber}
96 HTTP 200 OK ValidationError 303 Line number {lineNumber} not found in invoice with MARK {mark}
97 HTTP 200 OK ValidationError 304 All invoice rows or none should have classifications included
98 HTTP 200 OK ValidationError 305 Invoice line: {lineNumber}. Duplicate classification type {classificationType} and category{classificationCategory}
99 HTTP 200 OK ValidationError 306 Invoice line: {lineNumber}. Sum of classifications are not equal to line’s net value
100 HTTP 200 OK ValidationError 307 Classification type {classificationType} is forbidden for Classification category {classificationCategory}
101 HTTP 200 OK ValidationError 308 Classification category {classificationCategory} is forbidden for Invoice type {classificationType}
102 HTTP 200 OK ValidationError 309 Classifications are forbidden for Invoice type {invoiceType}
103 HTTP 200 OK TechnicalError 310 All classifications of invoice or none should have category value category2_4
104 HTTP 200 OK ValidationError 311 Classification with type {classificationType} and category ” {classificationCategory} not found in invoice summary
105 HTTP 200 OK ValidationError 312 Sum of classifications with type {classificationType} and category {classificationCategory} not matching with related total in invoice summary
106 HTTP 200 OK ValidationError 313 Classification type {classificationType} is forbidden for Classification category {classificationCategory} combined with invoice type {invoiceType}
107 HTTP 200 OK ValidationError 314 All invoices should contain either income or expenses classifications section, not both or none
108 HTTP 200 OK ValidationError 315 VAT classifications have no category
109 HTTP 200 OK ValidationError 316 VAT classifications are not allowed in case of VAT exemption
110 HTTP 200 OK ValidationError 317 Invoice detail { lineNumber } : VAT classification must be of type 366 in case vatExemptionCategory = 16
111 HTTP 200 OK ValidationError 318 Element {Field} must have same value with correlated’s one
112 HTTP 200 OK ValidationError 319 Net value of correlated invoice already exceeded by sum of net values of invoices correlated to it
113 HTTP 200 OK ValidationError 320 Invalid correlated invoice type
114 HTTP 200 OK ValidationError 321 Classifications are not allowed only in the invoice summary
115 HTTP 200 OK ValidationError 322 Unsupported correlated invoice type
116 HTTP 200 OK ValidationError 323 User cannot use directly this service due to annual gross income limits
117 HTTP 200 OK ValidationError 324 Classification rejection or deviation is not allowed to be sent with this method
118 HTTP 200 OK ValidationError 325 Initial invoice’s combination of vatCategory {vatCategory} and vatExemptionCategory {vatExemptionCategory} not found in ExpensesClassificationDoc
119 HTTP 200 OK ValidationError 326 Initial invoice’s combination of vatCategory {vatCategory}, vatExemptionCategory {vatExemptionCategory}, amount {amount} and VAT amount {vatAmount} not matching classification’s
120 HTTP 200 OK ValidationError 327 Combination vatCategory {vatCategory}, vatExemptionCategory {vatExemptionCategory}: Amount must have same analogy with VAT amount
121 HTTP 200 OK ValidationError 328 Combination vatCategory {vatCategory}, vatExemptionCategory {vatExemptionCategory}: VAT amount exceedes the one of initial’s invoice for same combination
122 HTTP 200 OK ValidationError 329 Combination vatCategory {vatCategory}, vatExemptionCategory {vatExemptionCategory}: Combination not found in initial invoice
123 HTTP 200 OK TechnicalError 330 Unexpected technical error for classification line
124 HTTP 200 OK ValidationError 331 Could not load/found valid validation doc for classification with category {classification_category} and type {classification_type}
125 HTTP 200 OK ValidationError 332 In case of VAT exemption sum of E3 classifications’ amounts and sum of VAT classifications’ vat amounts must be equal to invoice total net value plus taxes to be classified plus excluded vat amount
126 HTTP 200 OK ValidationError 333 Sum of E3 classifications’ amounts must be equal to invoice total net value plus taxes to be classified
127 HTTP 200 OK ValidationError 334 Combination vatCategory {field1} , vatExemptionCategory {field2} : In case of without VAT obligation, a classification with similar VAT exemption category, VAT category of 24% or 17% and classification type 366 is required [Possible {field1} values: {‘null’, [1-8]}] [Possible {field2} values: {‘null’, [εύρος τιμών των αιτιών εξαίρεσης από το σχετικό παράρτημα]}]
128 HTTP 200 OK TechnicalError 335 SendExpensesClassificationP erInvoice method is not supported for fuel invoices or invoices of type 1.5
129 HTTP 200 OK ValidationError 336 In case of VAT exemption a percentage of vat amount must be referred in E3 classification with category 2.5
130 HTTP 200 OK ValidationError 337 Combination vatCategory {field1}, vatExemptionCategory {field2}: Fields vatAmount, vatCategory and vatExemptionCategory must be null when classifications are posted per line [Possible {field1} values: {‘null’, [1-8]}] [Possible {field2} values: {‘null’, [εύρος τιμών των αιτιών εξαίρεσης ΦΠΑ από το σχετικό πίνακα του παραρτήματος]}]
131 HTTP 200 OK ValidationError 338 Classification is forbidden for invoice row {linenumber} because of its recType or its detailType Value
132 HTTP 200 OK ValidationError 339 {msg} classification is forbidden for invoice row {linenumber} because of its detailType value [Possible {msg} values: {‘incomeClassification’, ‘expensesClassification’}]
133 HTTP 200 OK ValidationError 340 ClassificationPostMode field must not be contained in xml
134 HTTP 200 OK ValidationError 341 Expenses VAT classification code NOT_VAT_295 is not allowed to be posted for invoices of type 14.1 and 14.3
135 HTTP 200 OK ValidationError 401 Resending payments methods is not allowed for initial’s invoice type
136 HTTP 200 OK ValidationError 402 At least one payment method detail must be of POS type
137 HTTP 200 OK ValidationError 403 Invoice with MARK {mark} was sent by provider. Payment Methods must contain provider signature
138 HTTP 200 OK ValidationError 404 Invoice with MARK {mark} was sent by ERP. Payment Methods must not contain provider signature”
139 HTTP 200 OK ValidationError 405 Invoice with MARK {mark} was sent by provider. Payment Methods must not contain ECR token”
140 HTTP 200 OK ValidationError 406 Invoice with MARK {mark} was sent by ERP. Payment Methods must contain ECR token
141 HTTP 200 OK ValidationError 407 Payment Methods total amount must be equal to or less than initial invoice’s total value
142 HTTP 200 OK ValidationError 408 Invoice with ΜΑΡΚ {invoice_mark}: Payment Methods cannot be resent for invoices created by timologio application
143 HTTP 200 OK ValidationError 409 EndToΕndReferenceID field is forbidden for paymentMethodDetails of type equal to POS
type
145 HTTP 401 AuthError 5001 API_KEY header is missing
146 HTTP 401 AuthError 5002 The issuer VatNumber is not associated with your Subscription
147 HTTP 404 XMLSyntaxError 5004 Invalid. Resource not found
148 HTTP 401 AuthError 5005 API_KEY header is missing
149 HTTP 401 AuthError 5006 Access / request error (SBZ). Possible messages:

  • Access denied due to missing or invalid API key. Make sure to include a valid key when making requests to an API (sendinvoice, paymentsignature, sendpayments)
  • Access denied due to missing settings file (paymentsignature — missing terminal settings file)
  • invoiceMark missing (sendpayments)
  • Too Many Requests (sendpayments — insert/conflict failure)
150 HTTP 400 XMLException 5008 No response (SBZ / paymentsignature — no response from the POS terminal)
151 HTTP 401 XMLSyntaxError 6001 correlatedInvoicesLabel is mandatory
152 HTTP 401 XMLSyntaxError 6002 movePurposeLabel is mandatory
153 HTTP 401 XMLSyntaxError 6003 Field quantity cannot be less than 1
154 HTTP 401 XMLSyntaxError 6004 MeasurementUnitLabel is mandatory
155 HTTP 401 XMLSyntaxError 6005 Check XML syntax! Required fields
156 HTTP 401 XMLSyntaxError 6006 vatExemptionCategory is mandatory
157 HTTP 401 XMLSyntaxError 6007 vatExemptionCategory must be not set
158 HTTP 401 XMLSyntaxError 6008 Access denied due to missing or invalid terminalid (SBZ / paymentsignature)
159 HTTP 401 XMLSyntaxError 6009 Check XML syntax! Required fields
160 HTTP 401 XMLSyntaxError 6010 Fields DocumentLabel, paymentMethodΙnvoiceLabel are mandatory
161 HTTP 405 ValidationError 6030 NextPageKey not valid
162 HTTP 405 ValidationError 6031 issuerVat field is required!
163 HTTP 405 ValidationError 6032 InvoiceMark is not a valid Int64 value
164 HTTP 405 ValidationError 6033 issuedDate is not a valid Date (yyyy-mm-dd)
165 HTTP 405 ValidationError 6034 issuedDate is not a valid Date
166 HTTP 405 ValidationError 6035 issuedFrom is not a valid Date (yyyy-mm-dd)
167 HTTP 405 ValidationError 6036 issuedFrom is not a valid Date
168 HTTP 405 ValidationError 6037 issuedTo is not a valid Date (yyyy-mm-dd)
169 HTTP 405 ValidationError 6038 issuedTo is not a valid Date (yyyy-mm-dd)
170 HTTP 405 ValidationError 6039 100% discount on the item is not allowed
171 HTTP 405 ValidationError 6040 Combinations of date parameters are not valid.

  • In case of using issuedDate then issuedFrom and issuedTo must be blank.
  • In case of using issuedFrom or issuedTo then issuedDate must be blank.
172 HTTP 200 OK BalanceError 7001 Insufficient units balance (SBZ / sendinvoice):

  • Your available balance is not enough to send this document
  • Your available B2G balance is not enough to send this document (B2G documents)
173 HTTP 200 OK TechnicalError 7002 No response from IAPR (SBZ statusCode 7002; not a client-sent transmissionFailure field)
174 HTTP 200 OK TechnicalError 7003 Unexpected condition error – HTTP error