← Financial ServicesTax compliance

AI CFDI validation: from SAT download to cancellation with the supplier

For companies with several legal entities: every received invoice is downloaded from the SAT and checked against rules and, if something fails, the cancellation with the supplier is tracked through to its acknowledgment receipt.

What was solved

From manual operation to a system that runs it

Before

Checking by hand the invoices that several legal entities received was slow and errors slipped through. XML files were downloaded with a separate program, cancellations were requested from the supplier by email without follow-up, and SAT requests could expire without anyone responding.

After

Every received invoice is reviewed the same day, with what failed explained rule by rule, and every cancellation is on a dashboard with its deadline, its owner and its acknowledgment receipt.

What the operation gains

  • Every invoice reviewed

    Everything the legal entities receive goes through the same rules the same day.

  • Errors explained

    Each finding says which rule failed, what was expected and what the invoice contained.

  • No SAT deadline missed

    Requests arrive with their countdown and the decision is executed on its own in the portal.

  • Rules without programming

    A new rule is written in natural language and tested before it is activated.

How we solved it

The processes we tackled

Knowing every morning whether the invoices arrived and were reviewed

The chain of download, review, notices and SAT electronic signature monitors itself and points out where it fails

Knowing every morning whether the invoices arrived and were reviewedSteps the system runs in order and the decision that remains with the person.The systemdoes itA persondecides01If anything between theSAT and the review stopsworking02An expired SAT electronicsignature stops its legalentity's download03What awaits a decision isseparated from what hasalready met…What gets attended tofirst and who renews aSAT electronic signature…Knowing every morning whether the invoices arrived and were reviewedSteps the system runs in order and the decision that remains with the person.The system does itA person decides01If anythingbetween the SATand the reviewstops workingWhat getsattended to firstand who renews aSAT electronicsignature…02An expired SATelectronicsignature stopsits legalentity's download03What awaits adecision isseparated fromwhat has alreadymet…

Received invoices arrive on their own from the SAT and go through the rules

Invoices are downloaded from the SAT with each legal entity's SAT electronic signature and validated as soon as they arrive

Received invoices arrive on their own from the SAT and go through the rulesSteps the system runs in order and the decision that remains with the person.The systemdoes itA persondecides01No received invoicedepends on someoneremembering to downloadit…02A period the download didnot cover is recovered byasking the SAT…03An invoice with errorsalready has an owner anda duplicate is not…Which range is requestedagain when a downloadfailsReceived invoices arrive on their own from the SAT and go through the rulesSteps the system runs in order and the decision that remains with the person.The system does itA person decides01No receivedinvoice dependson someoneremembering todownload it…02A period thedownload did notcover isrecovered byasking the SAT…Which range isrequested againwhen a downloadfails03An invoice witherrors alreadyhas an owner anda duplicate isnot…

An invoice with errors, explained rule by rule

Each error is explained against the rule that detected it, before the invoice is registered

An invoice with errors, explained rule by ruleSteps the system runs in order and the decision that remains with the person.The systemdoes itA persondecides01You can tellwhich invoicebreaks which ruleand whether that…02The AI judgeswhether what wasinvoiced matchesthe supplier'skey…03Before requestinganything, youknow whether thecancellationwill…04Each invoice isviewed in printedform from thestamped XMLWhether thefinding warrantsrequesting acancellationAn invoice with errors, explained rule by ruleSteps the system runs in order and the decision that remains with the person.The system does itA person decides01You can tellwhich invoicebreaks which ruleand whether that…02The AI judgeswhether what wasinvoiced matchesthe supplier'skey…03Before requestinganything, youknow whether thecancellationwill…Whether thefinding warrantsrequesting acancellation04Each invoice isviewed in printedform from thestamped XML

Requesting the cancellation from the supplier, with the email already drafted

The request goes out with reason, attachments and a reference number, and the invoice is left waiting for the supplier with its follow-up

Requesting the cancellation from the supplier, with the email already draftedSteps the system runs in order and the decision that remains with the person.The systemdoes itA persondecides01Requesting thecancellationalready sets upwhat will come…02The supplierreceives exactlywhat to correct03Each request goesout in the sameformat04From the momentit is sent, therequest has anownerThe final reasonand the decisionto sendRequesting the cancellation from the supplier, with the email already draftedSteps the system runs in order and the decision that remains with the person.The system does itA person decides01Requesting thecancellationalready sets upwhat will come…02The supplierreceives exactlywhat to correctThe final reasonand the decisionto send03Each request goesout in the sameformat04From the momentit is sent, therequest has anowner

Responding to the SAT within the deadline, without entering the portal

Each SAT request is detected with its deadline, a person decides and the platform executes it in the portal with an acknowledgment receipt

Responding to the SAT within the deadline, without entering the portalSteps the system runs in order and the decision that remains with the person.The systemdoes itA persondecides01SAT cancellationrequests aredetected andlinked to theirinvoice02If nobodydecides, theinvoice protectsitself before thedeadline…03The decision isrecorded in aperson's name andthe platformtakes it…04Each response tothe SAT is provenwith itsacknowledgmentreceipt…Accepting orrejecting eachSAT requestResponding to the SAT within the deadline, without entering the portalSteps the system runs in order and the decision that remains with the person.The system does itA person decides01SAT cancellationrequests aredetected andlinked to theirinvoiceAccepting orrejecting eachSAT request02If nobodydecides, theinvoice protectsitself before thedeadline…03The decision isrecorded in aperson's name andthe platformtakes it…04Each response tothe SAT is provenwith itsacknowledgmentreceipt…

A new rule, proposed by the AI and confirmed by a person

Accounting writes the rule in their own words, the AI translates it and a person sets its consequence and tests it

A new rule, proposed by the AI and confirmed by a personSteps the system runs in order and the decision that remains with the person.The systemdoes itA persondecides01Accountingdecides what ischecked on eachinvoice02A sentence inSpanish becomes arule03Before a realinvoice arrives04The AI judgeswhether each lineitem matches itskey and regimeWhich rules comein, whether theyreject or justwarnA new rule, proposed by the AI and confirmed by a personSteps the system runs in order and the decision that remains with the person.The system does itA person decides01Accountingdecides what ischecked on eachinvoice02A sentence inSpanish becomes aruleWhich rules comein, whether theyreject or justwarn03Before a realinvoice arrives04The AI judgeswhether each lineitem matches itskey and regime

Making sure nothing goes unattended, even when nobody is watching

Failures arrive as alerts with priority, and pending items with no action follow up and escalate on their own

Making sure nothing goes unattended, even when nobody is watchingSteps the system runs in order and the decision that remains with the person.The systemdoes itA persondecides01A failure that leavesinvoices unreviewedbecomes a pending item…02A flagged invoice can'tsit still: if nobody acts03A failure is consideredhandled only when someoneanswers for itWhat is done with eachalert and when anescalated case ishandled…Making sure nothing goes unattended, even when nobody is watchingSteps the system runs in order and the decision that remains with the person.The system does itA person decides01A failure thatleaves invoicesunreviewedbecomes a pendingitem…02A flagged invoicecan't sit still:if nobody acts03A failure isconsideredhandled only whensomeone answersfor itWhat is done witheach alert andwhen an escalatedcase is handled…
Why it exists

This project started with a company with several legal entities that reviewed its received invoices one by one and chased cancellations by email.

XML files were downloaded with a separate program, the review depended on whoever had time, and the SAT cancellation requests arrived with a deadline that nobody saw running.

Want to see it with your operation?

We walk you through the full system and review with you whether it applies to your process.