SDH Results
Once a request is sent to SDH, it will return an object containing the result of the operation.
This object will include the identifier of the container that executed the operation in the web service, the result needed to comply with the corresponding regulation(s), and, if any errors occurred, a list of those errors.
ContainerId: Identifier of the container.Results: A list containing one or more record(s) resulting from applying each regulation.ErrorMessages: List of possible error messages along with their corresponding ExceptionCodes.
For every operation performed, this same object is always returned, with the content of Results varying depending on the regulation handled.
If the error message list contains any entries, this means the operation was partially processed by SDH and may or may not have been sent to the administration(s).
You must review this list and act accordingly.
Response from Administration Services
When the operation triggers a request to an external administration service, the following fields will be added to each result with the response from that administration.
If the record has not yet been delivered to the service, not all fields will be filled in.
DeliverableContent: XML-formatted text containing the complete request that SDH sent to the administration service.AuthorityRawResponse: XML-formatted text containing the full response received from the administration service.AuthorityHeaderResponse: Header-level response data from the administration service.Status: Text describing the status of the entire request — typically indicates whether it was fully successful, failed, or partially successful.Description: Text containing the description.Date: Date of the request.VerificationCode: Text containing the verification code issued by the administration service.AuthorityIdentificationCode: Text containing the identification code issued by the administration service (only for TicketBAI).
AuthorityDetailResponses: Detail-level information from the administration service response.Status: Text describing the status of the record — indicates whether the individual item was processed successfully or not.ErrorCode: Text containing the error code, if any.Description: Text describing the error.IdentificationCode: Text containing the identifier of the record detail, such as the invoice Series + Number.LastDate: Date of the last modification of the record in the administration service. Depending on the case, it may or may not have a value.ExternalRef: In Veri*Factu, the invoice’s internal identifier in SDH.