Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

RCM Self-Invoicing (Purchase Documents)- Clear schema

Summary: GSTN is bringing recipient-generated RCM self-invoices (Section 31(3)(f) of the CGST Act) under e-invoicing through two new supply types — RCMDOM (purchases from unregistered domestic suppliers under Section 9(4)) and RCMIMP (import of services from foreign suppliers under Section 5(3)/5(4) of the IGST Act). For these documents, you, the buyer, generate the IRN, and the supplier's GSTIN is the literal value of the URP

Effective (NIC go-live): as notified by GSTN. ClearTax will share sandbox and production availability dates separately.

Who must act: any integration that will generate or manage RCM self-invoices (RCMDOM / RCMIMP). Existing sales integrations need no change — when invoiceType is not sent, it defaults to SALES.

1. Getting started

1.1 Request headers:

Header
Value

gstin

The GSTIN you are transacting for. For purchase self-invoices, this is your own (buyer) GSTIN.

x-cleartax-auth-token

Your ClearTax authentication token.

Content-Type

application/json

invoiceType (New)

Optional. SALES or PURCHASE. Default: SALES. Send PURCHASE on every call listed in Section 2 when the document is an RCMDOM / RCMIMP self-invoice.

1.2 How a purchase self-invoice differs from a sales invoice

  • Supply type (TranDtls.SupTyp): RCMDOM or RCMIMP.

  • Reverse charge (TranDtls.RegRev): must be Y.

  • Supplier GSTIN (SellerDtls.Gstin): the literal URP (Unregistered Person). Supplier legal name, address, location, state code, and PIN remain mandatory.

  • Buyer GSTIN (BuyerDtls.Gstin): your GSTIN. It must be active, enabled for e-invoicing, and a Regular or Casual taxpayer. Send the same GSTIN in the gstin header.

  • Document types: INV, CRN or DBN

  • Document Uniqueness: document number has to be unique per FY per doc type.

1.3 Rules by supply type

Rule
RCMDOM
RCMIMP

Supplier

Unregistered domestic supplier. Origin country(ItemList[].OrgCntry) must be IN.

Foreign supplier: Supplier State Code must be 96 (Other Country) as for imports/foreign suppliers. Foreign supplier PIN should be passed as 999999

Goods / services

Both allowed (IsServc = Y or N).

Services only (IsServc = Y). A valid SAC is mandatory.

Tax

Same state as place of supply: CGST + SGST (IGST must be 0). Otherwise: IGST only.

IGST only, and IGST must be reported. Place of supply must be your (recipient) state.

E-commerce GSTIN

Allowed.

-

E-way bill

Allowed for goods.

Not applicable.

1.4 Response & error handling

  • Response formats are unchanged: Success: "Y" means the request was accepted; for Success: "N", check ErrorDetails.

  • If invoiceType does not match the document (for example, SALES sent for a purchase IRN), the request is rejected with a ClearTax error (error_source: "CLEARTAX").

  • GSTN validation errors for RCM self-invoices are returned as-is, with error_source: "GOVT"

2. Affected APIs

ClearTax schema :

API
Endpoint
What changes

Generate IRN

PUT /einv/v2/eInvoice/generate

New supply Type Values in Request body

Cancel IRN

PUT

/einv/v2/eInvoice/cancel

Add invoiceType header

Get E-Invoice PDF

GET

/einv/v2/eInvoice/download

Add invoiceType header

Get E-Invoice by IRN

GET

/einv/v2/eInvoice/get

Add invoiceType header

Get Invoice Details

GET

/einv/v1/einvoices/detail

Add invoiceType header; new buyerGstin query param for purchase lookups by document details

Send E-Invoice via Email

POST /einv/v0/communication/send

Add invoiceType header; not supported for purchase documents

Generate E-Waybill by IRN

POST /einv/v2/eInvoice/ewaybill

Add invoiceType header

Government Schema:

API
Endpoint
What changes

Generate IRN

POST /einv/v1/govt/api/Invoice

Add invoiceType header

Cancel IRN

POST /einv/v1/govt/api/Cancel

Add invoiceType header

Get Invoice by IRN

GET /einv/v1/govt/api/Invoice/irn/{irn}

Add invoiceType header

Generate E-Waybill by IRN

POST

/einv/v1/govt/api/einvewb/ewaybill

Add invoiceType header

Last updated