POST ZatcaErrorLog/InsertZatcaErrorLog

Request Information

URI Parameters

None.

Body Parameters

ZatcaErrorLog
NameDescriptionTypeAdditional information
Id

integer

None.

WarningMessages

string

None.

ErrorMessages

string

None.

SubmissionDate

date

None.

InvoiceId

integer

None.

CreatedDate

date

None.

CreatedBy

integer

None.

ReportedToZatca

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "WarningMessages": "sample string 2",
  "ErrorMessages": "sample string 3",
  "SubmissionDate": "2025-10-29T05:52:17.2248074+03:00",
  "InvoiceId": 5,
  "CreatedDate": "2025-10-29T05:52:17.2248074+03:00",
  "CreatedBy": 7,
  "ReportedToZatca": true
}

application/xml, text/xml

Sample:
<ZatcaErrorLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POCO">
  <CreatedBy>7</CreatedBy>
  <CreatedDate>2025-10-29T05:52:17.2248074+03:00</CreatedDate>
  <ErrorMessages>sample string 3</ErrorMessages>
  <Id>1</Id>
  <InvoiceId>5</InvoiceId>
  <ReportedToZatca>true</ReportedToZatca>
  <SubmissionDate>2025-10-29T05:52:17.2248074+03:00</SubmissionDate>
  <WarningMessages>sample string 2</WarningMessages>
</ZatcaErrorLog>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
ErrorCode

integer

None.

ErrorMessage

string

None.

IsScusses

boolean

None.

ResponseDetails

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "ErrorMessage": "sample string 2",
  "IsScusses": true,
  "ResponseDetails": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accounting.API.Models">
  <ErrorCode>1</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsScusses>true</IsScusses>
  <ResponseDetails />
</Response>