Patch Document Draft Endpoint
documents
Patch Document Draft Endpoint
Replace lines/taxes and recalculate totals on a DRAFT document.
PATCH
Patch Document Draft Endpoint
Path Parameters
Cookies
Body
application/json
Response
Successful Response
Schema for Document response — current state and authorization info.
Types of fiscal documents supported by the SRI.
Available options:
01, 04, 05, 06, 07 Status values for document lifecycle.
Available options:
DRAFT, VALIDATED, NUMBER_RESERVED, XML_GENERATED, SIGNED, RECEPTION_PENDING, SUBMITTED_TO_SRI, RECEIVED_BY_SRI, AUTHORIZATION_PENDING, AUTHORIZED, REJECTED, RECEPTION_RETRY_SCHEDULED, AUTHORIZATION_RETRY_SCHEDULED, RECEPTION_UNKNOWN, AUTHORIZATION_UNKNOWN, MANUAL_REVIEW_REQUIRED, FAILED_PERMANENT, CANCELLATION_REQUESTED, CANCELLED, VOIDED_BY_NC Pattern:
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Pattern:
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Pattern:
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Pattern:
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$SRI environment types.
Available options:
TEST, PRODUCTION