While bulk uploading documents, you will see two options:


1. Bulk Upload

2. Bulk Upload (Custom Config.)



Here’s how to choose the right option for you:

  • Use Bulk Upload if your documents follow a standard format without custom formulas (e.g., Quantity × Rate = Total Amount).
  • Choose Bulk Upload (Custom Config.) if your documents have custom formulas (e.g., Quantity = Area × Breadth or Final Quantity = Articles × Words per Article).


Let's say you want to upload invoices containing custom formulas. Here's how you can do that:

Step 1: Create an invoice 


Before you download the CSV sample file of bulk upload, you will need to create an invoice with the exact same customized columns & formulas as the invoices you want to upload.

This helps the system understand the custom formula that has to be applied in your bulk upload.

Step 2: Go to the "Bulk upload invoice (custom config.)" option


Click on the dropdown menu beside the "Create New Invoice" button > Click on "Bulk Upload Invoices (custom Config.)".  

Step 3: Download sample file format


A pop-up will appear on the screen, and from there download the sample CSV. 


As you will see, the CSV will have all the custom columns that you added in your last invoice (from step 1). 


Step 4: Filing & uploading the CSV file


Please fill up this CSV with all the data you want to upload. you need to keep several things in mind to ensure that you don't face any errors. 


4.1) File format


Only CSV files are supported for bulk upload. 


4.2) Column names 


The sample CSV file that you downloaded will look like this:



You can add your data in this file only to avoid any errors. Also, do not make changes to the column names.


4.3) Mandatory columns


Some columns are mandatory to be filled. You can leave other columns empty if not needed, but you will need to have data in the below-given columns:


1. clientName - The name of your client.


2. invoiceNumber -  This is optional. If you keep this empty, the system will automatically assign invoice numbers based on your last invoice number in the system. 


3. invoiceDate - (must be in a format of dd-mm-yyyy, for example, 23-01-2022)


4. lineItem - The product or service you are selling.


5. amount - Price of the product or service.


6. currency - You will need to add the currency as a currency code. for example, INR, USD, EUR, GBP, etc. You can see the full list of currency codes below.


7. quantity fieldsIn a custom config file, you won’t see a dedicated quantity column. Instead, you’ll find columns related to the data used in your quantity formula. The system automatically calculates the quantity based on these values.

For example, if your formula is Quantity = Area × Breadth, you only need to fill in the item.Area and item.Breadth columns. The system will automatically handle the calculations for you.

 


8. country - You can add the country by adding country codes such as IN, US, AU, SA, and so on. If you add India, United States, Australia, etc., it will give you an error. So please add the country code only. The full list of country codes is given below.


9. gstState  - If you are an Indian GST-registered business, you will also see a column called "gstState". You have to add the GST State Code of your clients here. Adding this helps the system know if your invoice will show GST as IGST or CGST + SGST based on whether the transaction is interstate OR intrastate respectively.  (The list of GST State Codes is given at the end of the article for your reference.)



4.4) Sending emails to clients/vendors


In the CSV file, you will see two columns called "fromEmail" and "fromName" as shown below:


But firstly, ensure that you have connected your personal/work email with Refrens. (See how to do that>)


In the "fromEmail" column, add the email from which you want to send the documents to your clients/vendors. (As mentioned above, this email should be connected to Refrens)

In the "fromName" column, add your sender name.

If you have filled these two columns, your clients will automatically receive an email once the invoices are created in the system. 

Don't want to send the emails? just keep both columns empty OR delete them from the sheet.


4.5) Phone number format

Phone numbers are not mandatory to add, but if you are adding a phone number that contains a plus sign in the beginning, Add an apostrophe (’) at the start to avoid any errors. 


For example:



4.6) Uploading time

Once you are done adding all the data, you can upload that CSV file. If your upload is successful, you will the following message.



Do keep in mind that the invoices you uploaded will take several minutes to reflect in the system. So unless you receive an error message while uploading, do not re-upload the CSV file again. 

After a few minutes, you will be able to view the uploaded invoices in your invoice dashboard. You will also receive a confirmation email once this process is complete.


In case you want to add custom fields in the header/footer/additional charges sections of your invoices, or you want to add multiple line items while bulk uploading, please check out this help article: How to add custom fields and multiple line items using bulk upload? 


Adding Payment Details


If you want to update payment details as well in bulk, you can do that by adding 4 more columns:


1. paymentDate: (must be in a format of dd-mm-yyyy, for example, 23-01-2022)

 

2. paymentAccount: Name of the payment account in which the payment was made/received. (Bank A/c., Cash A/c., Employee A/c., Debit/Credit Card A/c., etc.)

 

3. paymentMethod: Add the method via which the payment was made (Account Transfer, UPI, etc.)

 

4. paidAmount: Amout which you paid/received.

Important Note: If your document includes multiple line items, ensure that the total payment amount for the entire document is entered when adding payment details. Do not enter the payment amount for individual line items. For example:


The system will automatically update the status as Paid, Partially Paid, or Unpaid based on the total document amount and the total payment made/received.



Key Things To Take Care of

  1. Always use the sample CSV file format.
  2. Avoid altering column names.
  3. Ensure correct formats for dates, currencies, and country codes.
  4. Allow processing time for uploads to reflect in the system.
    • Avoid re-uploading unless you receive an error.
    • You’ll get a confirmation email once the upload is successful.



Read More: 

How to add forex conversion rates while bulk uploading documents? 

How to add custom fields and multiple line items using bulk upload?





List of Country Codes, Currency Codes, and GST State Codes


1) Country Codes


CountryCountry Code
AfghanistanAF
Aland IslandsAX
AlbaniaAL
AlgeriaDZ
American SamoaAS
AndorraAD
AngolaAO
AnguillaAI
AntarcticaAQ
Antigua and BarbudaAG
ArgentinaAR
ArmeniaAM
ArubaAW
AustraliaAU
AustriaAT
AzerbaijanAZ
BahamasBS
BahrainBH
BangladeshBD
BarbadosBB
BelarusBY
BelgiumBE
BelizeBZ
BeninBJ
BermudaBM
BhutanBT
BoliviaBO
Bosnia and HerzegovinaBA
BotswanaBW
Bouvet IslandBV
BrazilBR
British Virgin IslandsVG
British Indian Ocean TerritoryIO
Brunei DarussalamBN
BulgariaBG
Burkina FasoBF
BurundiBI
CambodiaKH
CameroonCM
CanadaCA
Cape VerdeCV
Cayman IslandsKY
Central African RepublicCF
ChadTD
ChileCL
ChinaCN
Hong Kong, SAR ChinaHK
Macao, SAR ChinaMO
Christmas IslandCX
Cocos (Keeling) IslandsCC
ColombiaCO
ComorosKM
Congo (Brazzaville)CG
Congo, (Kinshasa)CD
Cook IslandsCK
Costa RicaCR
Côte d'IvoireCI
CroatiaHR
CubaCU
CyprusCY
Czech RepublicCZ
DenmarkDK
DjiboutiDJ
DominicaDM
Dominican RepublicDO
EcuadorEC
EgyptEG
El SalvadorSV
Equatorial GuineaGQ
EritreaER
EstoniaEE
EthiopiaET
Falkland Islands (Malvinas)FK
Faroe IslandsFO
FijiFJ
FinlandFI
FranceFR
French GuianaGF
French PolynesiaPF
French Southern TerritoriesTF
GabonGA
GambiaGM
GeorgiaGE
GermanyDE
GhanaGH
GibraltarGI
GreeceGR
GreenlandGL
GrenadaGD
GuadeloupeGP
GuamGU
GuatemalaGT
GuernseyGG
GuineaGN
Guinea-BissauGW
GuyanaGY
HaitiHT
Heard and Mcdonald IslandsHM
Holy See (Vatican City State)VA
HondurasHN
HungaryHU
IcelandIS
IndiaIN
IndonesiaID
Iran, Islamic Republic ofIR
IraqIQ
IrelandIE
Isle of ManIM
IsraelIL
ItalyIT
JamaicaJM
JapanJP
JerseyJE
JordanJO
KazakhstanKZ
KenyaKE
KiribatiKI
Korea (North)KP
Korea (South)KR
KuwaitKW
KyrgyzstanKG
Lao PDRLA
LatviaLV
LebanonLB
LesothoLS
LiberiaLR
LibyaLY
LiechtensteinLI
LithuaniaLT
LuxembourgLU
Macedonia, Republic ofMK
MadagascarMG
MalawiMW
MalaysiaMY
MaldivesMV
MaliML
MaltaMT
Marshall IslandsMH
MartiniqueMQ
MauritaniaMR
MauritiusMU
MayotteYT
MexicoMX
Micronesia, Federated States ofFM
MoldovaMD
MonacoMC
MongoliaMN
MontenegroME
MontserratMS
MoroccoMA
MozambiqueMZ
MyanmarMM
NamibiaNA
NauruNR
NepalNP
NetherlandsNL
Netherlands AntillesAN
New CaledoniaNC
New ZealandNZ
NicaraguaNI
NigerNE
NigeriaNG
NiueNU
Norfolk IslandNF
Northern Mariana IslandsMP
NorwayNO
OmanOM
PakistanPK
PalauPW
Palestinian TerritoryPS
PanamaPA
Papua New GuineaPG
ParaguayPY
PeruPE
PhilippinesPH
PitcairnPN
PolandPL
PortugalPT
Puerto RicoPR
QatarQA
RéunionRE
RomaniaRO
Russian FederationRU
RwandaRW
Saint-BarthélemyBL
Saint HelenaSH
Saint Kitts and NevisKN
Saint LuciaLC
Saint-Martin (French part)MF
Saint Pierre and MiquelonPM
Saint Vincent and GrenadinesVC
SamoaWS
San MarinoSM
Sao Tome and PrincipeST
Saudi ArabiaSA
SenegalSN
SerbiaRS
SeychellesSC
Sierra LeoneSL
SingaporeSG
SlovakiaSK
SloveniaSI
Solomon IslandsSB
SomaliaSO
South AfricaZA
South Georgia and the South Sandwich IslandsGS
South SudanSS
SpainES
Sri LankaLK
SudanSD
SurinameSR
Svalbard and Jan Mayen IslandsSJ
SwazilandSZ
SwedenSE
SwitzerlandCH
Syrian Arab Republic (Syria)SY
Taiwan, Republic of ChinaTW
TajikistanTJ
Tanzania, United Republic ofTZ
ThailandTH
Timor-LesteTL
TogoTG
TokelauTK
TongaTO
Trinidad and TobagoTT
TunisiaTN
TurkeyTR
TurkmenistanTM
Turks and Caicos IslandsTC
TuvaluTV
UgandaUG
UkraineUA
United Arab EmiratesAE
United KingdomGB
United States of AmericaUS
US Minor Outlying IslandsUM
UruguayUY
UzbekistanUZ
VanuatuVU
Venezuela (Bolivarian Republic)VE
Viet NamVN
Virgin Islands, USVI
Wallis and Futuna IslandsWF
Western SaharaEH
YemenYE
ZambiaZM
ZimbabweZW




2) Currency Codes


 

ENTITYCurrencyAlphabetic Code
AFGHANISTANAfghaniAFN
ÅLAND ISLANDSEuroEUR
ALBANIALekALL
ALGERIAAlgerian DinarDZD
AMERICAN SAMOAUS DollarUSD
ANDORRAEuroEUR
ANGOLAKwanzaAOA
ANGUILLAEast Caribbean DollarXCD
ANTARCTICANo universal currency
ANTIGUA AND BARBUDAEast Caribbean DollarXCD
ARGENTINAArgentine PesoARS
ARMENIAArmenian DramAMD
ARUBAAruban FlorinAWG
AUSTRALIAAustralian DollarAUD
AUSTRIAEuroEUR
AZERBAIJANAzerbaijan ManatAZN
BAHAMAS (THE)Bahamian DollarBSD
BAHRAINBahraini DinarBHD
BANGLADESHTakaBDT
BARBADOSBarbados DollarBBD
BELARUSBelarusian RubleBYN
BELGIUMEuroEUR
BELIZEBelize DollarBZD
BENINCFA Franc BCEAOXOF
BERMUDABermudian DollarBMD
BHUTANNgultrumBTN
BOLIVIA (PLURINATIONAL STATE OF)BolivianoBOB
BOLIVIA (PLURINATIONAL STATE OF)MvdolBOV
BONAIRE, SINT EUSTATIUS AND SABAUS DollarUSD
BOSNIA AND HERZEGOVINAConvertible MarkBAM
BOTSWANAPulaBWP
BOUVET ISLANDNorwegian KroneNOK
BRAZILBrazilian RealBRL
BRITISH INDIAN OCEAN TERRITORY (THE)US DollarUSD
BRUNEI DARUSSALAMBrunei DollarBND
BULGARIABulgarian LevBGN
BURKINA FASOCFA Franc BCEAOXOF
BURUNDIBurundi FrancBIF
CABO VERDECabo Verde EscudoCVE
CAMBODIARielKHR
CAMEROONCFA Franc BEACXAF
CANADACanadian DollarCAD
CAYMAN ISLANDS (THE)Cayman Islands DollarKYD
CENTRAL AFRICAN REPUBLIC (THE)CFA Franc BEACXAF
CHADCFA Franc BEACXAF
CHILEChilean PesoCLP
CHINAYuan RenminbiCNY
CHRISTMAS ISLANDAustralian DollarAUD
COCOS (KEELING) ISLANDS (THE)Australian DollarAUD
COLOMBIAColombian PesoCOP
COMOROS (THE)Comorian Franc KMF
CONGO (THE DEMOCRATIC REPUBLIC OF THE)Congolese FrancCDF
CONGO (THE)CFA Franc BEACXAF
COOK ISLANDS (THE)New Zealand DollarNZD
COSTA RICACosta Rican ColonCRC
CÔTE D'IVOIRECFA Franc BCEAOXOF
CROATIAKunaHRK
CUBACuban PesoCUP
CURAÇAONetherlands Antillean GuilderANG
CYPRUSEuroEUR
CZECHIACzech KorunaCZK
DENMARKDanish KroneDKK
DJIBOUTIDjibouti FrancDJF
DOMINICAEast Caribbean DollarXCD
DOMINICAN REPUBLIC (THE)Dominican PesoDOP
ECUADORUS DollarUSD
EGYPTEgyptian PoundEGP
EL SALVADOREl Salvador ColonSVC
EL SALVADORUS DollarUSD
EQUATORIAL GUINEACFA Franc BEACXAF
ERITREANakfaERN
ESTONIAEuroEUR
ESWATINILilangeniSZL
ETHIOPIAEthiopian BirrETB
EUROPEAN UNIONEuroEUR
FALKLAND ISLANDS (THE) [MALVINAS]Falkland Islands PoundFKP
FAROE ISLANDS (THE)Danish KroneDKK
FIJIFiji DollarFJD
FINLANDEuroEUR
FRANCEEuroEUR
FRENCH GUIANAEuroEUR
FRENCH POLYNESIACFP FrancXPF
FRENCH SOUTHERN TERRITORIES (THE)EuroEUR
GABONCFA Franc BEACXAF
GAMBIA (THE)DalasiGMD
GEORGIALariGEL
GERMANYEuroEUR
GHANAGhana CediGHS
GIBRALTARGibraltar PoundGIP
GREECEEuroEUR
GREENLANDDanish KroneDKK
GRENADAEast Caribbean DollarXCD
GUADELOUPEEuroEUR
GUAMUS DollarUSD
GUATEMALAQuetzalGTQ
GUERNSEYPound SterlingGBP
GUINEAGuinean FrancGNF
GUINEA-BISSAUCFA Franc BCEAOXOF
GUYANAGuyana DollarGYD
HAITIGourdeHTG
HAITIUS DollarUSD
HEARD ISLAND AND McDONALD ISLANDSAustralian DollarAUD
HOLY SEE (THE)EuroEUR
HONDURASLempiraHNL
HONG KONGHong Kong DollarHKD
HUNGARYForintHUF
ICELANDIceland KronaISK
INDIAIndian RupeeINR
INDONESIARupiahIDR
INTERNATIONAL MONETARY FUND (IMF) SDR (Special Drawing Right)XDR
IRAN (ISLAMIC REPUBLIC OF)Iranian RialIRR
IRAQIraqi DinarIQD
IRELANDEuroEUR
ISLE OF MANPound SterlingGBP
ISRAELNew Israeli SheqelILS
ITALYEuroEUR
JAMAICAJamaican DollarJMD
JAPANYenJPY
JERSEYPound SterlingGBP
JORDANJordanian DinarJOD
KAZAKHSTANTengeKZT
KENYAKenyan ShillingKES
KIRIBATIAustralian DollarAUD
KOREA (THE DEMOCRATIC PEOPLE’S REPUBLIC OF)North Korean WonKPW
KOREA (THE REPUBLIC OF)WonKRW
KUWAITKuwaiti DinarKWD
KYRGYZSTANSomKGS
LAO PEOPLE’S DEMOCRATIC REPUBLIC (THE)Lao KipLAK
LATVIAEuroEUR
LEBANONLebanese PoundLBP
LESOTHOLotiLSL
LIBERIALiberian DollarLRD
LIBYALibyan DinarLYD
LIECHTENSTEINSwiss FrancCHF
LITHUANIAEuroEUR
LUXEMBOURGEuroEUR
MACAOPatacaMOP
NORTH MACEDONIADenarMKD
MADAGASCARMalagasy AriaryMGA
MALAWIMalawi KwachaMWK
MALAYSIAMalaysian RinggitMYR
MALDIVESRufiyaaMVR
MALICFA Franc BCEAOXOF
MALTAEuroEUR
MARSHALL ISLANDS (THE)US DollarUSD
MARTINIQUEEuroEUR
MAURITANIAOuguiyaMRU
MAURITIUSMauritius RupeeMUR
MAYOTTEEuroEUR
MEMBER COUNTRIES OF THE AFRICAN DEVELOPMENT BANK GROUPADB Unit of AccountXUA
MEXICOMexican PesoMXN
MICRONESIA (FEDERATED STATES OF)US DollarUSD
MOLDOVA (THE REPUBLIC OF)Moldovan LeuMDL
MONACOEuroEUR
MONGOLIATugrikMNT
MONTENEGROEuroEUR
MONTSERRATEast Caribbean DollarXCD
MOROCCOMoroccan DirhamMAD
MOZAMBIQUEMozambique MeticalMZN
MYANMARKyatMMK
NAMIBIANamibia DollarNAD
NAMIBIARandZAR
NAURUAustralian DollarAUD
NEPALNepalese RupeeNPR
NETHERLANDS (THE)EuroEUR
NEW CALEDONIACFP FrancXPF
NEW ZEALANDNew Zealand DollarNZD
NICARAGUACordoba OroNIO
NIGER (THE)CFA Franc BCEAOXOF
NIGERIANairaNGN
NIUENew Zealand DollarNZD
NORFOLK ISLANDAustralian DollarAUD
NORTHERN MARIANA ISLANDS (THE)US DollarUSD
NORWAYNorwegian KroneNOK
OMANRial OmaniOMR
PAKISTANPakistan RupeePKR
PALAUUS DollarUSD
PALESTINE, STATE OFNo universal currency
PANAMABalboaPAB
PANAMAUS DollarUSD
PAPUA NEW GUINEAKinaPGK
PARAGUAYGuaraniPYG
PERUSolPEN
PHILIPPINES (THE)Philippine PesoPHP
PITCAIRNNew Zealand DollarNZD
POLANDZlotyPLN
PORTUGALEuroEUR
PUERTO RICOUS DollarUSD
QATARQatari RialQAR
RÉUNIONEuroEUR
ROMANIARomanian LeuRON
RUSSIAN FEDERATION (THE)Russian RubleRUB
RWANDARwanda FrancRWF
SAINT BARTHÉLEMYEuroEUR
SAINT HELENA, ASCENSION AND TRISTAN DA CUNHASaint Helena PoundSHP
SAINT KITTS AND NEVISEast Caribbean DollarXCD
SAINT LUCIAEast Caribbean DollarXCD
SAINT MARTIN (FRENCH PART)EuroEUR
SAINT PIERRE AND MIQUELONEuroEUR
SAINT VINCENT AND THE GRENADINESEast Caribbean DollarXCD
SAMOATalaWST
SAN MARINOEuroEUR
SAO TOME AND PRINCIPEDobraSTN
SAUDI ARABIASaudi RiyalSAR
SENEGALCFA Franc BCEAOXOF
SERBIASerbian DinarRSD
SEYCHELLESSeychelles RupeeSCR
SIERRA LEONELeoneSLL
SINGAPORESingapore DollarSGD
SINT MAARTEN (DUTCH PART)Netherlands Antillean GuilderANG
SISTEMA UNITARIO DE COMPENSACION REGIONAL DE PAGOS "SUCRE"SucreXSU
SLOVAKIAEuroEUR
SOLOMON ISLANDSSolomon Islands DollarSBD
SOMALIASomali ShillingSOS
SOUTH AFRICARandZAR
SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDSNo universal currency
SOUTH SUDANSouth Sudanese PoundSSP
SPAINEuroEUR
SRI LANKASri Lanka RupeeLKR
SUDAN (THE)Sudanese PoundSDG
SURINAMESurinam DollarSRD
SVALBARD AND JAN MAYENNorwegian KroneNOK
SWEDENSwedish KronaSEK
SWITZERLANDSwiss FrancCHF
SYRIAN ARAB REPUBLICSyrian PoundSYP
TAIWAN (PROVINCE OF CHINA)New Taiwan DollarTWD
TAJIKISTANSomoniTJS
TANZANIA, UNITED REPUBLIC OFTanzanian ShillingTZS
THAILANDBahtTHB
TIMOR-LESTEUS DollarUSD
TOGOCFA Franc BCEAOXOF
TOKELAUNew Zealand DollarNZD
TONGAPa’angaTOP
TRINIDAD AND TOBAGOTrinidad and Tobago DollarTTD
TUNISIATunisian DinarTND
TURKEYTurkish LiraTRY
TURKMENISTANTurkmenistan New ManatTMT
TURKS AND CAICOS ISLANDS (THE)US DollarUSD
TUVALUAustralian DollarAUD
UGANDAUganda ShillingUGX
UKRAINEHryvniaUAH
UNITED ARAB EMIRATES (THE)UAE DirhamAED
UNITED KINGDOM OF GREAT BRITAIN AND NORTHERN IRELAND (THE)Pound SterlingGBP
UNITED STATES OF AMERICA (THE)US DollarUSD
URUGUAYPeso UruguayoUYU
UZBEKISTANUzbekistan SumUZS
VANUATUVatuVUV
VENEZUELA (BOLIVARIAN REPUBLIC OF)Bolívar SoberanoVEF
VIET NAMDongVND
VIRGIN ISLANDS (BRITISH)US DollarUSD
VIRGIN ISLANDS (U.S.)US DollarUSD
WALLIS AND FUTUNACFP FrancXPF
WESTERN SAHARAMoroccan DirhamMAD
YEMENYemeni RialYER
ZAMBIAZambian KwachaZMW
ZIMBABWEZimbabwe DollarZWL




3) GST State Codes


STATE NAME

GST CODE

JAMMU AND KASHMIR

01

HIMACHAL PRADESH

02

PUNJAB

03

CHANDIGARH

04

UTTARAKHAND

05

HARYANA

06

DELHI

07

RAJASTHAN

08

UTTAR PRADESH

09

BIHAR

10

SIKKIM

11

ARUNACHAL PRADESH

12

NAGALAND

13

MANIPUR

14

MIZORAM

15

TRIPURA

16

MEGHALAYA

17

ASSAM

18

WEST BENGAL

19

JHARKHAND

20

ODISHA

21

CHATTISGARH

22

MADHYA PRADESH

23

GUJARAT

24

DADRA AND NAGAR HAVELI AND DAMAN AND DIU (NEWLY MERGED UT) *The GST state code for UT of Daman and Diu was 25, before 26th January 2020.

26

MAHARASHTRA

27

ANDHRA PRADESH(BEFORE DIVISION)

28

KARNATAKA

29

GOA

30

LAKSHADWEEP

31

KERALA

32

TAMIL NADU

33

PUDUCHERRY

34

ANDAMAN AND NICOBAR ISLANDS

35

TELANGANA

36

ANDHRA PRADESH (NEWLY ADDED)

37

LADAKH (NEWLY ADDED)

38

OTHER TERRITORY

97

CENTRE JURISDICTION

99