API reference · Fiscal QR URL

Add fiscal qr image

POST/omni/add/fiscal-qr-url-image

Base URL: https://demo-api.incodesmile.com — Incode demo environment

Upload a fiscal qr image as base64 to session. The data available in the url embedded in the qr will be available via the Get fiscal qr url response endpoint. (México only)

Path & query parameters

Name In Type Required Description
api-version header string yes

Request body

Content-Type: application/json

Field Type Required Description
base64Image string Image in base64 format. One of base64Image or imageUrl is required
imageUrl string URL of the image. One of base64Image or imageUrl is required

Responses

200

OK

Response body (application/json):

Field Type Required Description
success boolean Flag indicating request passed successfully.
sessionStatus string Session status Enum: Alive, Closed, Deleted
rfc string
curp string
name string
firstLastName string
secondLastName string
birthdate string
denomination string
regime string
constitutionDate string
operationStartDate string
personStatus string
lastSituationChangeDate string
state string
delegation string
colony string
streetType string
streetName string
extNumber string
intNumber string
postalCode string
email string
al string
fiscalRegime string
fiscalStartDate string
error string
result string

400

Bad Request

Response body (application/json):

Field Type Required Description
timestamp integer (int64) UTC timestamp in milliseconds
status integer (int32) Custom error code or HTTP status code
error string HTTP status error
message string Custom error message
path string Endpoint path
details object Custom error details
Was this page helpful?