Check the cancellation requests you have pending to accept or reject as the receiver, using only your RFC.
View SDKs🚨 Important: this service only returns requests pending acceptance / rejection for CFDI 4.0.
URLs
Select your active environment. The copy buttons and the code examples below are built with the base URL you choose here.
🛠️ Sandbox:
https://services.test.sw.com.mx
🚀 Production:
https://services.sw.com.mx
🔗 Endpoint
A single operation: endpoint, headers, parameters, example, and response.
Returns the UUIDs of the cancellation requests pending acceptance / rejection for the receiver RFC.
GET/pendings/{rfc}
Property
Type
Usage
Description
rfc
string
REQUIRED
Receiver RFC.
Request Example
💡 Note: These examples are based on the SW SDKs, but you can call the REST API directly from any language you prefer.
Response
Property
Type
Description
codStatus
string
Overall result code. Indicates whether requests were found (1100) or not (1101).
message
string
Descriptive message of the result.
data
object | null
Contains the array of UUIDs of the requests found and the detailed status code.
data.uuid
array | null
UUIDs of the pending requests. null if there are none.
data.codEstatus
string
Detailed status code (1100 / 1101).
status
string
Overall status of the operation.
Property
Type
Description
codStatus
string
Overall result code. Indicates whether requests were found (1100) or not (1101).
message
string
Descriptive message of the result.
data
object | null
Contains the array of UUIDs of the requests found and the detailed status code.
data.uuid
array | null
UUIDs of the pending requests. null if there are none.
data.codEstatus
string
Detailed status code (1100 / 1101).
status
string
Overall status of the operation.
Response codes
Code
Message
Description
1100
The request response was received successfully
Returns the requests for the receiver RFC.
1101
The request response was received successfully
There are no requests for the receiver RFC.