Skip to content

Commit dd8b1d9

Browse files
authored
Update swsapien.py (#51)
1 parent f8773b7 commit dd8b1d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

satcfdi/pacs/swsapien.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def recover(self, document_id: str, accept: Accept = Accept.XML) -> Document:
144144
)
145145

146146
def cancel(self, cfdi: CFDI, reason: CancelReason, substitution_id: str = None, signer: Signer = None) -> CancelationAcknowledgment:
147-
document_id = cfdi["Complemento"]["TimbreFiscalDigital"]["UUID"]
147+
document_id = cfdi["Complemento"]["TimbreFiscalDigital"]["UUID"].upper()
148148
rfc = cfdi["Emisor"]["Rfc"]
149149
path = f"cfdi33/cancel/{rfc}/{document_id}/{reason.value}"
150150
if substitution_id:

0 commit comments

Comments
 (0)