Medical Receipt (Receita Saúde validation)
Validate Receita Saúde receipts with precision: Integration with Receita Federal#
The API Connect – FlowCode VALIDATE_MEDICAL_RECEIPT simplifies and automates the validation of electronic healthcare service receipts (Receita Saúde Receipt).With just one request, the process executes three steps: extraction of receipt data, consultation of official Receita Federal information, and detailed comparison between the two sets of data.This integrated solution with Receita Saúde ensures tax compliance, reduces inconsistency risks, and contributes to fraud prevention.🔹 1. Receipt submission (file upload)#
The client can submit the healthcare receipt in digital format through:fileBase64 → file content in base64.
fileUrl → link to the hosted file.
Automated steps executed:#
1.
Data extraction via IDP
The document is processed by Intelligent Document Processing (IDP) technology, which recognizes and extracts relevant receipt fields (e.g., receipt number, value, supplier CPF, beneficiary CPF, etc.).
2.
Consultation to Receita Federal via RPA
With the extracted data, the API executes a robotic process automation (RPA) to consult the official Receita Federal database, returning:The official data of the found receipt.
Error messages in case of inconsistencies or non-existence of the receipt.
3.
Validation and comparison
The extracted data is compared with the official data, field by field, generating:Comparison score for each field (0 to 1, where 1 = identical).
Overall validation status (VALID, INVALID, CANCELLED, ERROR).
Additional description (statusDescription) explaining the result.
🔹 2. Submission of textual parameters (without file)#
Alternatively, the API allows making a request by directly providing the following textual parameters:Automated steps executed:#
1.
Consultation to Receita Federal via RPA
Based on the provided parameters, the process consults the official Receita Federal database.
2.
Collection of Official Data
The receipt data (when found) is returned in a structured response.
3.
Simplified Validation
In this mode, there is no field-by-field comparison, only the confirmation of the receipt's existence in the official source and its corresponding status.
Click here to access all the technical details of the sync route, including request and response examples, return contract, possible statuses, and messages.
🔹 Legal references and context of the Electronic Receipt (Receita Saúde)#
What is the Receita Saúde?#
The Electronic Healthcare Service Receipt (Receita Saúde) is a digital receipt regulated by Instrução Normativa RFB nº 2.240, from December 11, 2024, which allows healthcare professionals to issue official payment receipts for services provided, with direct storage in Receita Federal's database.
This receipt aims to:Capture reliable data for pre-filling the Income Tax Return (IRPF);
Strengthen tax control over healthcare professionals' income;
Reduce fraud and false receipts by requiring issuance only by professionals with an active registration in competent councils;
Increase transparency and security in medical expense verification.
Who is required to issue it?#
As of January 1, 2025, the following healthcare professionals who act as individuals are required to issue the Receita Saúde when providing services:
🔹 Who benefits from the automation of Receita Saúde validation?#
The automation of Receita Saúde validation serves different types of organizations that need to ensure reliability, tax compliance, and risk reduction:Health insurance companies
Check receipts submitted by beneficiaries before processing reimbursements, reducing fraud and information discrepancies.
Accountants and accounting firms
Facilitate checking of medical expenses declared in the Income Tax Return, increasing security in filing the returns.
Internal audits and compliance
Allow large-scale validation of healthcare receipts, ensuring transparency and traceability of data.
Companies offering health benefits
Confirm the authenticity of receipts presented by employees, ensuring that reimbursed amounts are legitimate.
🔹 Benefits of automated validation#
End-to-end automation: from receipt extraction to official comparison.
Input flexibility: accepts digital files or textual parameters.
Transparency and traceability: each field has a validation score.
Reliability: direct integration with Receita Federal via RPA.
Agility: reduces fraud risk and facilitates tax compliance.
Modified at 2025-10-28 12:46:30