The lijia 里甲 "village organization", also called liyi 里役 "village labour service", jiayi 甲役, zhengbian 正辦 or zhengyi 正役, was an organization of local defence as part of the system of labour corvée (yaoyi 徭役) and taxation during the Ming period 明 (1368-1644).
It was introduced in 1370, at first in some parts of southeast China. According to the rule, 110 households constituted one "village" (li 里). From the adult males (chengding 成丁) of the ten largest and richest households a village head (lizhang 里長) was selected, while from the others, each ten households had to provide one "headman" (jiashou 甲首, also translated as "tax captain") in turn. This team was exchanged annually (dangnian 當年 "running year"), yet the order of service was fixed for one decade and then reorganized (painian 排年 "arrangement year"), with a new schedule taking into consideration any changes in the size and wealth of the households of the village. If a village head was impoverished, another one was to be elected, and if any "man-in-weapons" had left the village, a substitute had to be provided. It was allowed that neigbouring villages exchanged personnel in case of need. In 1380 the number of households per "village" was reduced to 100, and a year later, the system was extended to the whole country.
All households were registered in "yellow registers" (huangce 黃冊), according to which corvée was requested according to the criteria ding 丁 and mu 畝 "[number of] male persons and field [size]", resulting in three different classes (san deng 三等). Widows, widowers, couples without children, orphans and persons living alone, or such without landed property, were exempted from service, yet they were still registered as so-called "impair and leftovers" (jiling 畸零). One copy of the registers was sent to the Ministry of Revenue (hubu 戶部), and three others remained in the district, the prefecture, and the provincial administration commission (buzhengsi 布政司).
From the beginning, the lijia service was a local substitute for public duties (gou she gong shi 勾攝公事), and in the course of time, more and more administrative responsibilities fell into the hands of the village heads, like the collection of taxes (cuizheng qianliang 催征錢糧) or fees for offerings, banquets, construction work, the supply for local troops and such marching through, grain for local schools, the transport of tributary grain, or the farewell ceremony for candidates for the state examinations.
The system thus did not only help to increase the tax revenue throughout the country, but it was also an important tool to control the population more tightly. At the same time, it unburdened the local government because the members of the lijia team were - in addition to the tasks mentioned above - responsible for varies duties in the district administration, like serving as "yamen runners" (chaiyi 差役), or managing the courier stations, catching criminals, or publishing proclamations.