InvoiceReportingResponse class

Represents the response received after submitting an invoice for reporting.

Constructors

InvoiceReportingResponse.new({ValidationResults? validationResults, String? reportingStatus, String? clearanceStatus, String? qrSellertStatus, String? qrBuyertStatus, ServerErrorResponse? serverErrorResponse, UnauthorizedResponse? unauthorizedResponse, required ReportingResponseStatus status, required int statusCode})
Constructs an instance of InvoiceReportingResponse.
InvoiceReportingResponse.fromJson(Map<String, dynamic> json, int statusCode)
Creates an instance of InvoiceReportingResponse from JSON and status code.
factory

Properties

clearanceStatus String?
Status of clearance if clearance was part of the process.
final
hashCode int
The hash code for this object.
no setterinherited
qrBuyertStatus String?
Status of the QR code for the buyer.
final
qrSellertStatus String?
Status of the QR code for the seller.
final
reportingStatus String?
Status of invoice reporting (e.g., "REPORTED", "NOT_REPORTED").
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverErrorResponse ServerErrorResponse?
Server-side error response, if any occurred during processing.
final
status ReportingResponseStatus
Enum representation of the high-level reporting status.
final
statusCode int
HTTP status code returned by the server.
final
unauthorizedResponse UnauthorizedResponse?
Unauthorized response details, if the request was not authorized.
final
validationResults ValidationResults?
Results of validation checks returned by ZATCA.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the InvoiceReportingResponse object to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited