> For the complete documentation index, see [llms.txt](https://docs.cleartax.in/cleartax-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cleartax.in/cleartax-docs/e-invoicing-api/e-invoicing-api-reference/new-validations-rcm-self-invoices.md).

# New validations RCM Self-invoices

|                                                   Scenario                                                   |                                                     Applies to                                                     |
| :----------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------: |
|                 invoiceType does not match the document (e.g. SALES sent for a purchase IRN)                 | Cancel IRN, Get E-Invoice by IRN, Get Invoice Details, Get E-Invoice PDF, Generate E-Waybill by IRN (both schemas) |
|              gstin header does not match the buyer / e-commerce GSTIN of a purchase self-invoice             |                                             Generate IRN (both schemas)                                            |
|                                  Email requested for a purchase self-invoice                                 |                                              Send E-Invoice via Email                                              |
|                    E-way bill requested for an RCMIMP or services-only RCMDOM self-invoice                   |                                      Generate E-Waybill by IRN (both schemas)                                      |
| GSTN RCM self-invoice validations (supplier must be URP, RegRev = Y, tax / state / SAC rules in Section 1.3) |                          Generate IRN (both schemas) — returned with error\_source: "GOVT"                         |
