API Documentation India

Master codes list for e-Way Bill and e-Invoice API workflows

A clean, readable hub for the code values commonly used during GST API integration in India. Jump into the dedicated e-Way Bill or e-Invoice pages when your team needs a tighter implementation reference, including the official e-Way Bill supply type and document type mapping.

Transaction and document codes used in NIC payloads
Official supply type and document type mapping for e-Way Bill payloads
Vehicle formats, unit codes, and cancellation reasons
Readable reference for ERP, product, finance, and dispatch teams
Official references

Master code references for e-Way Bill and e-Invoice workflows

This page brings together the master-code lists commonly needed during GST API integration, especially when your team is mapping request payloads, document types, transport modes, and validation rules inside product or ERP flows.

e-Way Bill mapping

Supply type and document type mapping for e-Way Bill workflows

This table is useful when your implementation team needs to validate which document type should be used for a transaction type and sub-type combination before generating or updating an e-Way Bill payload.

Official e-Way Bill sub docType mapping

Use this mapping when your team needs to confirm which document type fits a given transaction type and sub-type combination, along with the expected From GSTIN and To GSTIN pattern in the NIC flow.

28 mappings
Transaction Type Transaction Sub-Type Document Type From GSTIN (Supplier) To GSTIN (Buyer)
OutwardSupplyTax InvoiceSelfOther GSTIN / URP
OutwardSupplyBill of SupplySelfOther GSTIN / URP
OutwardExportTax InvoiceSelfOther GSTIN / URP
OutwardExportBill of SupplySelfOther GSTIN / URP
OutwardJob WorkDelivery ChallanSelfOther GSTIN / URP
OutwardSKD / CKD / LotsTax InvoiceSelfOther GSTIN / URP
OutwardSKD / CKD / LotsBill of SupplySelfOther GSTIN / URP
OutwardSKD / CKD / LotsDelivery ChallanSelfOther GSTIN / URP
OutwardRecipient Not KnownDelivery ChallanSelfSelf
OutwardRecipient Not KnownOthersSelfSelf
OutwardFor Own UseDelivery ChallanSelfSelf
OutwardExhibition or FairsDelivery ChallanSelfSelf
OutwardLine SalesDelivery ChallanSelfSelf
OutwardOthersDelivery ChallanSelfSelf / Other GSTIN / URP
OutwardOthersOthersSelfSelf / Other GSTIN / URP
InwardSupplyTax InvoiceOther GSTIN / URPSelf
InwardSupplyBill of SupplyOther GSTIN / URPSelf
InwardImportBill of EntryOther GSTIN / URPSelf
InwardSKD / CKD / LotsBill of EntryURPSelf
InwardSKD / CKD / LotsTax InvoiceOther GSTIN / URPSelf
InwardSKD / CKD / LotsBill of SupplyOther GSTIN / URPSelf
InwardSKD / CKD / LotsDelivery ChallanOther GSTIN / URPSelf
InwardJob Work ReturnsDelivery ChallanOther GSTIN / URPSelf
InwardSales ReturnDelivery ChallanOther GSTIN / URPSelf
InwardExhibition or FairsDelivery ChallanSelfSelf
InwardFor Own UseDelivery ChallanSelfSelf
InwardOthersDelivery ChallanSelf / Other GSTIN / URPSelf
InwardOthersOthersSelf / Other GSTIN / URPSelf
e-Way Bill reference

e-Way Bill API master codes

Use these tables when you need the accepted codes for supply types, document types, transportation modes, transaction types, status codes, and other values commonly used in e-Way Bill API payloads.

Supply Type

2 entries
CodeDescription
IInward
OOutward

Sub Supply Type

12 entries
CodeDescription
1Supply
2Import
3Export
4Job Work
5For Own Use
6Job Work Returns
7Sales Return
8Others
9SKD/CKD/Lots
10Line Sales
11Recipient Not Known
12Exhibition or Fairs

Document Type

5 entries
CodeDescription
INVTax Invoice
BILBill of Supply
BOEBill of Entry
CHLDelivery Challan
OTHOthers

Transportation Mode

5 entries
CodeDescription
1Road
2Rail
3Air
4Ship
5In Transit

Consignment Status

2 entries
CodeDescription
MIn Movement
TIn Transit

Vehicle Update and CEWB Regeneration Reasons

4 entries
CodeDescription
1Due to Break Down
2Due to Transshipment
3Others (Please Specify)
4First Time

Mode of Generation

5 entries
CodeDescription
APIApplication Programming Interface
ExcBulk Upload
SMSSMS Facility
APPMobile App
WEBWeb Based System

e-Way Bill Status

3 entries
CodeDescription
ACTActive
CNLCancelled
DISDiscarded

Cancellation Reason Codes

4 entries
CodeDescription
1Duplicate
2Order Cancelled
3Data Entry Mistake
4Others

Vehicle Type

2 entries
CodeDescription
RRegular
OODC (Over Dimensional Cargo)

Reasons for Extension of Validity

5 entries
CodeDescription
1Natural Calamity
2Law and Order Situation
4Transshipment
5Accident
99Others

Transaction Types

4 entries
CodeDescription
1Regular
2Bill To - Ship To
3Bill From - Dispatch From
4Combination of 2 and 3

Unit Codes

Reference unit codes used across item and quantity payloads.

45 entries
CodeDescription
BAGBags
BALBale
BDLBundles
BKLBuckles
BOUBillion of Units
BOXBox
BTLBottles
BUNBunches
CANCans
CBMCubic Meters
CCMCubic Centimeters
CMSCenti Meters
CTNCartons
DOZDozens
DRMDrums
GGKGreat Gross
GMSGrammes
GRSGross
GYDGross Yards
KGSKilograms
KLRKilolitre
KMEKilometre
LTRLitres
MTRMeters
MLTMililitre
MTSMetric Ton
NOSNumbers
OTHOthers
PACPacks
PCSPieces
PRSPairs
QTLQuintal
ROLRolls
SETSets
SQFSquare Feet
SQMSquare Meters
SQYSquare Yards
TBSTablets
TGMTen Gross
THDThousands
TONTonnes
TUBTubes
UGSUS Gallons
UNTUnits
YDSYards

Valid Vehicle Number Formats

10 entries
CodeDescription
AB121234First 2 characters are state code
AB12A1234First 2 characters are state code
AB12AB1234First 2 characters are state code
ABC1234Standard registration pattern
AB123A1234First 2 characters are state code
AB12ABC1234First 2 characters are state code
DFXXXXXXDefence vehicle
TMXXXXXXXXXXXXXTemporary RC, at least 7 characters
BPXXXXXXXXXXXXXBhutan vehicle, at least 7 characters
NPXXXXXXXXXXXXXNepal vehicle, at least 7 characters
e-Invoice reference

e-Invoice API master codes

These are the common master-code values used for e-Invoice API transaction types, document types, cancellation reasons, transport modes, vehicle types, and valid vehicle-number formats.

Type of Transaction

6 entries
CodeDescription
B2BBusiness to Business
SEZWPSEZ with Payment
SEZWOPSEZ without Payment
EXPWPExport with Payment
EXPWOPExport without Payment
DEXPDeemed Export

Document Type

3 entries
CodeDescription
INVInvoice
CRNCredit Note
DBNDebit Note

e-Way Bill Transport Mode Details

4 entries
CodeDescription
1Road
2Rail
3Air
4Ship

e-Way Bill Vehicle Type Details

2 entries
CodeDescription
OODC
RRegular

Cancellation Reason

2 entries
CodeDescription
1Duplicate
2Data Entry Mistake

Valid Vehicle Number Formats

10 entries
CodeDescription
AB121234First 2 characters are state code
AB12A1234First 2 characters are state code
AB12AB1234First 2 characters are state code
ABC1234Standard registration pattern
AB123A1234First 2 characters are state code
AB12ABC1234First 2 characters are state code
DFXXXXXXDefence vehicle
TMXXXXXXXXXXXXXTemporary RC, at least 7 characters
BPXXXXXXXXXXXXXBhutan vehicle, at least 7 characters
NPXXXXXXXXXXXXXNepal vehicle, at least 7 characters

How teams usually use this page

Payload mapping

Match dropdown values or internal enums to the accepted code values before your workflow moves to production.

Validation rules

Use the vehicle-number patterns and document-type references to reduce avoidable request failures.

Operator support

Keep a readable reference for finance, dispatch, or support teams who need to understand the code behind a field.

Always validate production-critical code usage against the latest official NIC reference if the upstream documentation changes.