## 4.6 Food Services Working Group

The Food Services Working Group specifies, implements, and promotes a standard set of messages and automated communication mechanisms that allow computer applications for the food service sector of the education industry to effectively exchange information with all SIF applications.

### 4.6.1 FoodserviceItem

This object communicates information about food service items.

SIF_Events are reported for this object.

Figure 4.6.1-1: FoodserviceItem

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceItem |  |  |
@ | RefId | M | GUID that identifies this item | RefIdType
| LocalId | M | Item number as presented to user. | LocalId
| Description | O | Description of Item | xs:normalizedString
| ElectronicIdList | O | Electronic identifier(s) associated with this item. | ElectronicIdList
| ItemCategory | O | The category is derived from the Child Nutrition Database's food category codes/names (Source: Food Category Name File [CNDB]). Agents may use the actual codes or a district's local definition of the names associated with the codes. The Child Nutrition Database [CNDB] is updated on a yearly basis by the USDA. Examples Milk Meat Vegetables Other | xs:normalizedString
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.1-1: FoodserviceItem
<FoodserviceItem RefId="EF521958AB474559B2AE7BD82647C66B"> <LocalId>2391</LocalId> <Description>Green Burrito</Description> <ElectronicIdList> <ElectronicId Type="Barcode">123456</ElectronicId> </ElectronicIdList> <ItemCategory>Vegetables</ItemCategory> </FoodserviceItem>
Example 4.6.1-1: FoodserviceItem

### 4.6.2 FoodserviceItemPortion

This object describes a certain amount for a specific item unit.

Note that this version of the object does not contain any elements that define item pricing. This task is left for future development.

SIF_Events are reported for this object.

Figure 4.6.2-1: FoodserviceItemPortion

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceItemPortion |  | This object describes a certain amount for a specific item unit. Note that this version of the object does not contain any elements that define item pricing. This task is left for future development. |
@ | RefId | M | GUID that identifies this item's portion | RefIdType
| FoodserviceItemUnitRefId | M | GUID that identifies related item portion | IdRefType
| ItemPortionQuantity | M | Quantity of item portion (number of units) | xs:decimal
| ItemPortionType | M | Type of item unit | values: Component Entree AlaCarte Bonus Combo NonFood
| Description | O | Optional description of amount | xs:normalizedString
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.2-1: FoodserviceItemPortion
<FoodserviceItemPortion RefId="EF521958AB474559B2AE7BD82647C66B"> <FoodserviceItemUnitRefId>D9837A776DD626777872361DD118873C</FoodserviceItemUnitRefId> <ItemPortionQuantity>1</ItemPortionQuantity> <ItemPortionType>Entree</ItemPortionType> <Description>One Cup Serving of Mashed Potatoes</Description> </FoodserviceItemPortion>
Example 4.6.2-1: FoodserviceItemPortion

### 4.6.3 FoodserviceItemSales

This object gives the sales details for the items sold for a specified date.

SIF_Events are reported for this object.

Figure 4.6.3-1: FoodserviceItemSales

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceItemSales |  | This object gives the sales details for the items sold for a specified date. |
@ | RefId | M | GUID that identifies this object | RefIdType
| SchoolInfoRefId | M | GUID that identifies the school for this object | IdRefType
| Date | M | Date of sales | xs:date
| Program | M |  | Program
| ItemQuantities | M |  | List
| ItemQuantities/ItemQuantity | MR | Quantity of item amounts sold |
@ | FoodserviceItemPortionRefId | M | GUID of FoodserviceItemPortion object | IdRefType
| ItemQuantities/ItemQuantity/ Value | M | The value of item quantity | xs:decimal
| ItemQuantities/ItemQuantity/ MealType | M |  | MealType
| ItemQuantities/ItemQuantity/ GradeLevels | M |  | GradeLevels
| ItemQuantities/ItemQuantity/ Cost | O | The cost (monetary value) of the item sold. | MonetaryAmountType
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.3-1: FoodserviceItemSales
<FoodserviceItemSales RefId="F7E8FF23F3A1471BA9D0B0E22A0839C6"> <SchoolInfoRefId>B72A99FFC3624AD2ADD197CC5A4A2563</SchoolInfoRefId> <Date>2001-09-13</Date> <Program Type="Foodservice">NSLP</Program> <ItemQuantities> <ItemQuantity FoodserviceItemPortionRefId="D38E8D805B664B7CB389CFE2C11B145F"> <Value>35</Value> <MealType>FirstMeal</MealType> <GradeLevels> <GradeLevel> <Code>01</Code> </GradeLevel> <GradeLevel> <Code>02</Code> </GradeLevel> <GradeLevel> <Code>03</Code> </GradeLevel> <GradeLevel> <Code>04</Code> </GradeLevel> <GradeLevel> <Code>05</Code> </GradeLevel> </GradeLevels> </ItemQuantity> <ItemQuantity FoodserviceItemPortionRefId="A08CC23B059C400CAA9F9BBD3DFF94F1"> <Value>152</Value> <MealType>AlaCarte</MealType> <GradeLevels> <GradeLevel> <Code>01</Code> </GradeLevel> <GradeLevel> <Code>02</Code> </GradeLevel> <GradeLevel> <Code>03</Code> </GradeLevel> <GradeLevel> <Code>04</Code> </GradeLevel> <GradeLevel> <Code>05</Code> </GradeLevel> </GradeLevels> </ItemQuantity> </ItemQuantities> </FoodserviceItemSales>
Example 4.6.3-1: FoodserviceItemSales

### 4.6.4 FoodserviceItemUnit

This object describes the unit for an item.

SIF_Events are reported for this object.

Figure 4.6.4-1: FoodserviceItemUnit

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceItemUnit |  | This object describes the unit for an item. |
@ | RefId | M | GUID that identifies this unit | RefIdType
| FoodserviceItemRefId | M | GUID that identifies related item | IdRefType
| Description | M | Description of unit ("cup", "teaspoon", etc.) | xs:string
| MeasureDescriptionCode | M | Child Nutrition Database [CNDB] standard code describing unit. The database is updated on a yearly basis by the USDA. | xs:normalizedString
| GramWeight | M | Gram weight of this item in terms of MeasureDescriptionCode | xs:decimal
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.4-1: FoodserviceItemUnit
<FoodserviceItemUnit RefId="D9837A776DD626777872361DD118873C"> <FoodserviceItemRefId>EF521958AB474559B2AE7BD82647C66B</FoodserviceItemRefId> <Description>cup</Description> <MeasureDescriptionCode>CUP01</MeasureDescriptionCode> <GramWeight>98</GramWeight> </FoodserviceItemUnit>
Example 4.6.4-1: FoodserviceItemUnit

### 4.6.5 FoodserviceMealPrices

This object is a site's meal prices for each grade program, meal status, meal type and grade level.

SIF_Events are reported for this object.

Figure 4.6.5-1: FoodserviceMealPrices

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceMealPrices |  | This object is a site's meal prices for each grade program, meal status, meal type and grade level. |
@ | RefId | M | GUID that identifies this meal price. | RefIdType
| SchoolInfoRefId | M | GUID that identifies the school this meal price belongs to | IdRefType
| Program | M |  | Program
| Prices | M |  | List
| Prices/Price | MR | Price of the meal |
| Prices/Price/Value | M | The price value | MonetaryAmountType
| Prices/Price/MealStatus | M |  | MealStatus
| Prices/Price/MealType | M |  | MealType
| Prices/Price/GradeLevels | M |  | GradeLevels
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.5-1: FoodserviceMealPrices
<FoodserviceMealPrices RefId="EF521958AB474559B2AE7BD82647C66B"> <SchoolInfoRefId>FF521958AB474559B2AE7BD82647C66B</SchoolInfoRefId> <Program Type="Foodservice">NSLP</Program> <Prices> <Price> <Value Currency="USD">999.99</Value> <MealStatus Type="Free" /> <MealType>FirstMeal</MealType> <GradeLevels> <GradeLevel> <Code>09</Code> </GradeLevel> <GradeLevel> <Code>10</Code> </GradeLevel> <GradeLevel> <Code>11</Code> </GradeLevel> <GradeLevel> <Code>12</Code> </GradeLevel> </GradeLevels> </Price> <Price> <Value>999.99</Value> <MealStatus Type="Free" /> <MealType>SecondMeal</MealType> <GradeLevels> <GradeLevel> <Code>09</Code> </GradeLevel> <GradeLevel> <Code>10</Code> </GradeLevel> <GradeLevel> <Code>11</Code> </GradeLevel> <GradeLevel> <Code>12</Code> </GradeLevel> </GradeLevels> </Price> <Price> <Value>999.99</Value> <MealStatus Type="Reduced" /> <MealType>FirstMeal</MealType> <GradeLevels> <GradeLevel> <Code>09</Code> </GradeLevel> <GradeLevel> <Code>10</Code> </GradeLevel> <GradeLevel> <Code>11</Code> </GradeLevel> <GradeLevel> <Code>12</Code> </GradeLevel> </GradeLevels> </Price> <Price> <Value>999.99</Value> <MealStatus Type="None" /> <MealType>FirstMeal</MealType> <GradeLevels> <GradeLevel> <Code>01</Code> </GradeLevel> <GradeLevel> <Code>02</Code> </GradeLevel> <GradeLevel> <Code>03</Code> </GradeLevel> <GradeLevel> <Code>04</Code> </GradeLevel> <GradeLevel> <Code>05</Code> </GradeLevel> </GradeLevels> </Price> </Prices> </FoodserviceMealPrices>
Example 4.6.5-1: FoodserviceMealPrices

### 4.6.6 FoodserviceMenuPlan

This object communicates the foodservice menu plan for a school site for a given meal program, grade level range and date.

SIF_Events are reported for this object.

Figure 4.6.6-1: FoodserviceMenuPlan

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceMenuPlan |  | This object communicates the foodservice menu plan for a school site for a given meal program, grade level range and date. |
@ | RefId | M | GUID that identifies this menu plan | RefIdType
| SchoolInfoRefId | M | GUID that identifies the school for this menu plan | IdRefType
| GradeLevels | M |  | GradeLevels
| MenuPlanDate | M | Date of menu plan | xs:date
| Program | M |  | Program
| Description | O | Description of menu plan | xs:string
| ProjectedParticipation | M | Feeding figure projected | xs:string
| MenuPlanQuantities | M |  | List
| MenuPlanQuantities/MenuPlanQuantity | OR | Quantity of item in this menu plan | xs:decimal
@ | FoodserviceItemPortionRefId | M | Item portion amount | IdRefType
@ | MenuCategory | M |  | values: ActualMeal ProjectedMeal ActualAlaCarte ProjectedAlaCarte Produced LeftOver Wasted
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.6-1: FoodserviceMenuPlan
<FoodserviceMenuPlan RefId="EF521958AB474559B2AE7BD82647C66B"> <SchoolInfoRefId>FF521958AB474559B2AE7BD82647C66B</SchoolInfoRefId> <GradeLevels> <GradeLevel> <Code>01</Code> </GradeLevel> <GradeLevel> <Code>02</Code> </GradeLevel> <GradeLevel> <Code>03</Code> </GradeLevel> <GradeLevel> <Code>04</Code> </GradeLevel> <GradeLevel> <Code>05</Code> </GradeLevel> </GradeLevels> <MenuPlanDate>2001-10-31</MenuPlanDate> <Program Type="Foodservice">NSLP</Program> <Description>Halloween Menu</Description> <ProjectedParticipation>1000</ProjectedParticipation> <MenuPlanQuantities> <MenuPlanQuantity FoodserviceItemPortionRefId="D9837A776DD626777872361DD118873C" MenuCategory="ActualMeal">13</MenuPlanQuantity> <MenuPlanQuantity FoodserviceItemPortionRefId="A08CC23B059C400CAA9F9BBD3DFF94F1" MenuCategory="ActualAlaCarte">16</MenuPlanQuantity> </MenuPlanQuantities> </FoodserviceMenuPlan>
Example 4.6.6-1: FoodserviceMenuPlan

### 4.6.7 FoodserviceMilkSales

This object communicates the daily milk sales at a school.

SIF_Events are not reported for this object.

Figure 4.6.7-1: FoodserviceMilkSales

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceMilkSales |  | This object communicates the daily milk sales at a school. |
@ | RefId | M | GUID that identifies the daily milk sales object | RefIdType
| SchoolInfoRefId | M | School for which the sales object applies | IdRefType
| Date | M | Date on which the sales occurred. | xs:date
| Program | M |  | Program
| SaleQuantities | M |  | List
| SaleQuantities/SaleQuantity | OR | Quantity of sale |
| SaleQuantities/SaleQuantity/ Value | M | The quantity sold. | xs:decimal
| SaleQuantities/SaleQuantity/ MealStatus | M |  | MealStatus
| SaleQuantities/SaleQuantity/ SaleUnit | M | Unit of Sale | xs:normalizedString
| SaleQuantities/SaleQuantity/ ChargeToChild | M | Charge to child per unit | MonetaryAmountType
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.7-1: FoodserviceMilkSales
<FoodserviceMilkSales RefId="D21CF29B7FB44965A9CF950E1E60B21E"> <SchoolInfoRefId>AA66800BE0D84E80AA5838FA97EE3A3E</SchoolInfoRefId> <Date>2001-10-31</Date> <Program Type="Foodservice">NSLP</Program> <SaleQuantities> <SaleQuantity> <Value>99999</Value> <MealStatus Type="Free" /> <SaleUnit>6 oz</SaleUnit> <ChargeToChild Currency="USD">999.99</ChargeToChild> </SaleQuantity> <SaleQuantity> <Value>99999</Value> <MealStatus Type="Reduced" /> <SaleUnit>6 oz</SaleUnit> <ChargeToChild Currency="USD">999.99</ChargeToChild> </SaleQuantity> </SaleQuantities> </FoodserviceMilkSales>
Example 4.6.7-1: FoodserviceMilkSales

### 4.6.8 FoodservicePurchaseTransaction

If a food service transaction is of type `Purchase` then this object can give the details of the purchase. This object does not exist for other transaction types.

SIF_Events are reported for this object.

Figure 4.6.8-1: FoodservicePurchaseTransaction

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodservicePurchaseTransaction |  | If a food service transaction is of type `Purchase` then this object can give the details of the purchase. This object does not exist for other transaction types. |
@ | RefId | M | GUID that identifies purchase transaction | RefIdType
| FoodserviceTransactionRefId | M | GUID that identifies food service transaction in which this purchase was made | IdRefType
| PurchaseQuantities | M |  | List
| PurchaseQuantities/PurchaseQuantity | MR | Quantity of the item being purchased |
@ | FoodserviceItemPortionRefId | M | Foodservice Item Portion | IdRefType
@ | Earned | M | Identifies whether the item being purchased is earned i.e., at no cost to the buyer. It is used when FoodserviceTransaction object's TransactionType element has the value "Purchase". | values: Yes No
| PurchaseQuantities/PurchaseQuantity/ MealType | M |  | MealType
| PurchaseQuantities/PurchaseQuantity/ Value | M | The value of quantity | xs:decimal
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.8-1: FoodservicePurchaseTransaction
<FoodservicePurchaseTransaction RefId="AC99DDF0ED0E426ABE18C9174EC469B7"> <FoodserviceTransactionRefId>EFA054E90CDE45C9BB8A87E9F8F9B238</FoodserviceTransactionRefId> <PurchaseQuantities> <PurchaseQuantity FoodserviceItemPortionRefId="A2366AFF739B4BC590DA53AD3CE2311A" Earned="Yes"> <MealType>FirstMeal</MealType> <Value>1</Value> </PurchaseQuantity> <PurchaseQuantity FoodserviceItemPortionRefId="E612E09D8B614BB4B9F892CFC3272063" Earned="No"> <MealType>AlaCarte</MealType> <Value>2</Value> </PurchaseQuantity> </PurchaseQuantities> </FoodservicePurchaseTransaction>
Example 4.6.8-1: FoodservicePurchaseTransaction

### 4.6.9 FoodserviceReimbursementRates

This object describes the federal, state, local and other reimbursement rates for a school.

SIF_Events are reported for this object.

Figure 4.6.9-1: FoodserviceReimbursementRates

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceReimbursementRates |  | This object describes the federal, state, local and other reimbursement rates for a school. |
@ | RefId | M | GUID that identifies this object. | RefIdType
| SchoolInfoRefId | M | GUID that identifies the school. | IdRefType
| StartDate | M | Effective start date for the reimbursement rates | xs:date
| EndDate | M | Effective end date for the reimbursement rates | xs:date
| Program | M |  | Program
| Agencies | M | List of reimbursing agencies. | List
| Agencies/Agency | MR | Reimbursing agency |
@ | Type | M | Type of the reimbursing agency. | values: Federal State Local Other
| Agencies/Agency/Name | C | The name of the reimbursing agency. This element is to be used when the Type is set as `Other`. | xs:normalizedString
| Agencies/Agency/Rates | M |  | List
| Agencies/Agency/Rates/Rate | MR | Reimbursement rate of the meal |
@ | SevereNeed | M | Severe need identifier for the rate. When SevereNeed is `Yes` then the rate shown is the combined rate. For certain programs the severe need identifier does not apply. In such cases the value `NA` should be used. | values: Yes No NA
| Agencies/Agency/Rates/Rate/ Value | M | The rate value | xs:decimal
| Agencies/Agency/Rates/Rate/ MealStatus | M |  | MealStatus
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.9-1: FoodserviceReimbursementRates
<FoodserviceReimbursementRates RefId="D9837A776DD626777872361DD118873C"> <SchoolInfoRefId>EF521958AB474559B2AE7BD82647C66B</SchoolInfoRefId> <StartDate>2004-01-01</StartDate> <EndDate>2004-12-31</EndDate> <Program Type="Foodservice">NSLP</Program> <Agencies> <Agency Type="Federal"> <Rates> <Rate SevereNeed="No"> <Value>1.00</Value> <MealStatus Type="Free" /> </Rate> <Rate SevereNeed="No"> <Value>2.00</Value> <MealStatus Type="Reduced" /> </Rate> <Rate SevereNeed="No"> <Value>3.00</Value> <MealStatus Type="None" /> </Rate> <Rate SevereNeed="Yes"> <Value>4.00</Value> <MealStatus Type="Free" /> </Rate> <Rate SevereNeed="Yes"> <Value>5.00</Value> <MealStatus Type="Reduced" /> </Rate> <Rate SevereNeed="Yes"> <Value>6.00</Value> <MealStatus Type="None" /> </Rate> </Rates> </Agency> <Agency Type="Other"> <Name>Some Reimbursing Agency</Name> <Rates> <Rate SevereNeed="No"> <Value>1.00</Value> <MealStatus Type="Free" /> </Rate> <Rate SevereNeed="No"> <Value>2.00</Value> <MealStatus Type="Reduced" /> </Rate> <Rate SevereNeed="No"> <Value>3.00</Value> <MealStatus Type="None" /> </Rate> <Rate SevereNeed="Yes"> <Value>4.00</Value> <MealStatus Type="Free" /> </Rate> <Rate SevereNeed="Yes"> <Value>5.00</Value> <MealStatus Type="Reduced" /> </Rate> <Rate SevereNeed="Yes"> <Value>6.00</Value> <MealStatus Type="None" /> </Rate> </Rates> </Agency> </Agencies> </FoodserviceReimbursementRates>
Example 4.6.9-1: FoodserviceReimbursementRates

### 4.6.10 FoodserviceSales

This object communicates the daily sales information.

SIF_Events are reported for this object.

Figure 4.6.10-1: FoodserviceSales

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceSales |  | This object communicates the daily sales information. |
@ | RefId | M | GUID that identifies the daily meal sales object | RefIdType
| SchoolInfoRefId | M | School for which the sales object applies | IdRefType
| Date | M | Date on which the sales occurred. | xs:date
| Program | M |  | Program
| SalesAmounts | M |  | List
| SalesAmounts/SalesAmount | MR | Monetary value (count * cost per unit) done for all grade levels | MonetaryAmountType
@ | Type | M | Type of SalesAmount. This denotes the form of incoming funds for the sales done. | values: Cash Account Charged Earned
@ | AccountType | M | Type of account to which sales amounts apply. This is set to `NA` when `Type` is set as `Earned`. | values: PrepaidCash BreakfastCredit LunchCredit NA
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.10-1: FoodserviceSales
<FoodserviceSales RefId="E57A732918E1473F80C2CFA7774DAA6A"> <SchoolInfoRefId>D21CF29B7FB44965A9CF950E1E60B21E</SchoolInfoRefId> <Date>2001-10-31</Date> <Program Type="Foodservice">NSLP</Program> <SalesAmounts> <SalesAmount Type="Cash" AccountType="NA" Currency="USD">9999.99</SalesAmount> <SalesAmount Type="Account" AccountType="PrepaidCash">9999.99</SalesAmount> <SalesAmount Type="Charged" AccountType="PrepaidCash">9999.99</SalesAmount> <SalesAmount Type="Charged" AccountType="BreakfastCredit">9999.99</SalesAmount> <SalesAmount Type="Charged" AccountType="LunchCredit">9999.99</SalesAmount> <SalesAmount Type="Earned" AccountType="NA">9999.99</SalesAmount> </SalesAmounts> </FoodserviceSales>
Example 4.6.10-1: FoodserviceSales

### 4.6.11 FoodserviceStaffEnrollmentCount

This object communicates the staff enrollment for a specified date.

SIF_Events are not reported for this object.

Figure 4.6.11-1: FoodserviceStaffEnrollmentCount

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceStaffEnrollmentCount |  | This object communicates the staff enrollment for a specified date. |
@ | SchoolInfoRefId | M | Reference to SchoolInfo | IdRefType
@ | Date | M | Date the count is taken. | xs:date
| Program | M |  | Program
| Counts | M |  | List
| Counts/Count | MR |  | FSCountType
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.11-1: FoodserviceStaffEnrollmentCount
<FoodserviceStaffEnrollmentCount SchoolInfoRefId="E822BCDC9E7A40F787ED8183D3B485B5" Date="2001-10-31"> <Program Type="Foodservice">NSLP</Program> <Counts> <Count> <EarnedStatus Type="Yes" /> <Value>99999</Value> </Count> <Count> <EarnedStatus Type="No" /> <Value>99999</Value> </Count> </Counts> </FoodserviceStaffEnrollmentCount>
Example 4.6.11-1: FoodserviceStaffEnrollmentCount

### 4.6.12 FoodserviceStaffMealCounts

This object communicates the daily staff sales.

SIF_Events are not reported for this object.

Figure 4.6.12-1: FoodserviceStaffMealCounts

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceStaffMealCounts |  | This object communicates the daily staff sales. |
@ | RefId | M | GUID that identifies the daily meal sales object | RefIdType
| SchoolInfoRefId | M | School for which the sales object applies | IdRefType
| Date | M | Date on which the sales occurred. | xs:date
| Program | M |  | Program
| Counts | M |  | List
| Counts/Count | MR |  | FSCountType
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.12-1: FoodserviceStaffMealCounts
<FoodserviceStaffMealCounts RefId="E822BCDC9E7A40F787ED8183D3B485B5"> <SchoolInfoRefId>F2F9D9B212B94489BC3F9FD6AB75F54A</SchoolInfoRefId> <Date>2003-08-25</Date> <Program Type="Foodservice">NSLP</Program> <Counts> <Count> <EarnedStatus Type="Yes" /> <MealType>FirstMeal</MealType> <Amount Type="Value" Credits="0">99999.99</Amount> <Tax>9999.99</Tax> <Value>99999</Value> </Count> <Count> <EarnedStatus Type="No" /> <MealType>FirstMeal</MealType> <Amount Type="Value" Credits="0">99999.99</Amount> <Tax>9999.99</Tax> <Value>99999</Value> </Count> <Count> <EarnedStatus Type="Yes" /> <MealType>SecondMeal</MealType> <Amount Type="Value" Credits="0">99999.99</Amount> <Tax>9999.99</Tax> <Value>99999</Value> </Count> <Count> <EarnedStatus Type="No" /> <MealType>SecondMeal</MealType> <Amount Type="Value" Credits="0">99999.99</Amount> <Tax>9999.99</Tax> <Value>99999</Value> </Count> </Counts> </FoodserviceStaffMealCounts>
Example 4.6.12-1: FoodserviceStaffMealCounts

### 4.6.13 FoodserviceStudentEnrollmentCount

This object communicates the student enrollment for a specified date.

SIF_Events are not reported for this object.

Figure 4.6.13-1: FoodserviceStudentEnrollmentCount

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceStudentEnrollmentCount |  | This object communicates the student enrollment for a specified date. |
@ | SchoolInfoRefId | M | Reference to SchoolInfo | IdRefType
@ | Date | M | Date the count is taken. | xs:date
| Program | M |  | Program
| Counts | M |  | List
| Counts/Count | MR |  | FSCountType
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.13-1: FoodserviceStudentEnrollmentCount
<FoodserviceStudentEnrollmentCount SchoolInfoRefId="E822BCDC9E7A40F787ED8183D3B485B5" Date="2003-08-25"> <Program Type="Foodservice">NSLP</Program> <Counts> <Count> <MealStatus Type="Free" /> <Value>99999</Value> </Count> <Count> <MealStatus Type="Reduced" /> <Value>99999</Value> </Count> <Count> <MealStatus Type="None" /> <Value>99999</Value> </Count> </Counts> </FoodserviceStudentEnrollmentCount>
Example 4.6.13-1: FoodserviceStudentEnrollmentCount

### 4.6.14 FoodserviceStudentMealCounts

This object communicates the daily student sales.

SIF_Events are not reported for this object.

Figure 4.6.14-1: FoodserviceStudentMealCounts

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceStudentMealCounts |  | This object communicates the daily student sales. |
@ | RefId | M | GUID that identifies the daily meal sales object | RefIdType
| SchoolInfoRefId | M | School for which the sales object applies | IdRefType
| Date | M | Date on which the sales occurred. | xs:date
| Program | M |  | Program
| Counts | M |  | List
| Counts/Count | MR |  | FSCountType
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.14-1: FoodserviceStudentMealCounts
<FoodserviceStudentMealCounts RefId="E822BCDC9E7A40F787ED8183D3B485B5"> <SchoolInfoRefId>F2F9D9B212B94489BC3F9FD6AB75F54A</SchoolInfoRefId> <Date>2003-08-25</Date> <Program Type="Foodservice">NSLP</Program> <Counts> <Count> <MealStatus Type="Free" /> <MealType>FirstMeal</MealType> <Amount Type="Value" Credits="0">99999.99</Amount> <Tax>9999.99</Tax> <Value>99999</Value> </Count> <Count> <MealStatus Type="Reduced" /> <MealType>FirstMeal</MealType> <Amount Type="Value" Credits="0">99999.99</Amount> <Tax>9999.99</Tax> <Value>99999</Value> </Count> <Count> <MealStatus Type="Free" /> <MealType>SecondMeal</MealType> <Amount Type="Value" Credits="0">99999.99</Amount> <Tax>9999.99</Tax> <Value>99999</Value> </Count> <Count> <MealStatus Type="None" /> <MealType>SecondMeal</MealType> <Amount Type="Value" Credits="0">99999.99</Amount> <Tax>9999.99</Tax> <Value>99999</Value> </Count> </Counts> </FoodserviceStudentMealCounts>
Example 4.6.14-1: FoodserviceStudentMealCounts

### 4.6.15 FoodserviceTransaction

This object communicates food service transaction information. This is the key object that will be present for every food service transaction.

Note: With SIF Implementation Specification version 2.4 the choice element depicted in the diagram below has changed. In the XSD files, the choice element used to be rendered as a sequence of optional elements. Now, in the XSD files, the choice element is rendered as an xs:choice. This may cause problems with agents that treat the choice element as two optional elements rather than a choice of one and only one of the choices.

SIF_Events are reported for this object.

Figure 4.6.15-1: FoodserviceTransaction

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceTransaction |  | This object communicates food service transaction information. This is the key object that will be present for every food service transaction. Note: With SIF Implementation Specification version 2.4 the choice element depicted in the diagram below has changed. In the XSD files, the choice element used to be rendered as a sequence of optional elements. Now, in the XSD files, the choice element is rendered as an xs:choice. This may cause problems with agents that treat the choice element as two optional elements rather than a choice of one and only one of the choices. |
@ | RefId | M | GUID that identifies food service transaction | RefIdType
| SchoolInfoRefId | M | GUID that identifies the school/site of account transaction | IdRefType
| Program | M |  | Program
| TransactionDate | M | Date of transaction | xs:date
| TransactionTime | M | Time of transaction. | xs:time
| TransactionTypes | M |  | List
| TransactionTypes/TransactionType | MR | Type of transaction | values: Purchase Prepayment Refund Repayment Adjustment
| Customer | M | The customer can be a student or staff. |
@ | SIF_RefId | M | The GUID of the customer doing the transaction. | IdRefType
@ | SIF_RefObject | M | SIF customer type. If `StaffPersonal`, then `EarnedStatus` is included. If `StudentPersonal`, then `MealStatus` is included. | values: StudentPersonal StaffPersonal
| Customer/MealStatus | C |  | MealStatus
| Customer/EarnedStatus | C |  | EarnedStatus
| Amount | M |  | FSAmountType
| Tax | O | Amount of tax. Note: Final amount is Amount/Value + Tax | MonetaryAmountType
| Description | O | Description of the Transaction | xs:string
| Voided | M | This flag tells us if the transaction is voided. | values: Yes No
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.15-1: FoodserviceTransaction
<FoodserviceTransaction RefId="A9E34B359F44D51A8C3D00AA001A1652"> <SchoolInfoRefId>EFA054E90CDE45C9BB8A87E9F8F9B238</SchoolInfoRefId> <Program Type="Foodservice">NSLP</Program> <TransactionDate>2003-08-25</TransactionDate> <TransactionTime>04:32:23-08:00</TransactionTime> <TransactionTypes> <TransactionType>Purchase</TransactionType> </TransactionTypes> <Customer SIF_RefObject="StudentPersonal" SIF_RefId="751177C738B047CD831375FA1CF50CBB"> <MealStatus Type="Reduced" /> </Customer> <Amount Type="Value" Credits="0" Currency="USD">12.00</Amount> <Description>Purchase of food items by a student</Description> <Voided>No</Voided> </FoodserviceTransaction>
Example 4.6.15-1: FoodserviceTransaction

### 4.6.16 FoodserviceTransactionDetails

This object gives the transaction distribution for food service transactions of type other than `Purchase`. So, this object can be requested for transactions of type `Prepayment`, `Repayment`, `Refund`, `Adjustment`.

SIF_Events are reported for this object.

Figure 4.6.16-1: FoodserviceTransactionDetails

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceTransactionDetails |  | This object gives the transaction distribution for food service transactions of type other than `Purchase`. So, this object can be requested for transactions of type `Prepayment`, `Repayment`, `Refund`, `Adjustment`. |
@ | RefId | M | GUID that identifies transaction details | RefIdType
| FoodserviceTransactionRefId | M | GUID that identifies food service transaction | IdRefType
| Amounts | M |  | List
| Amounts/Amount | MR | This amount refers to the funds being directed inwards to/outwards from the customer's account. That is: these amounts reflect the changes to the account balances. | FSAmountType
| Description | O | Description | xs:string
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.16-1: FoodserviceTransactionDetails
<FoodserviceTransactionDetails RefId="E50EE86118004F238D21B86E70B5B4AA"> <FoodserviceTransactionRefId>D489306D404E4DB28E0B0DA8B4C24908</FoodserviceTransactionRefId> <Amounts> <Amount Type="Cash" Credits="0" Currency="USD">2.00</Amount> <Amount Type="BreakfastCredit" Credits="3">4.50</Amount> </Amounts> <Description>Refund for 2 dollars cash and 3 breakfast credits.</Description> </FoodserviceTransactionDetails>
Example 4.6.16-1: FoodserviceTransactionDetails

### 4.6.17 FoodserviceTransactionPayMethod

This object communicates the funding for a given transaction. By the term funding we refer to the form of payment that is made for the transaction.

SIF_Events are reported for this object.

Figure 4.6.17-1: FoodserviceTransactionPayMethod

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| FoodserviceTransactionPayMethod |  | This object communicates the funding for a given transaction. By the term funding we refer to the form of payment that is made for the transaction. |
@ | RefId | M | GUID that identifies the payment | RefIdType
| FoodserviceTransactionRefId | M | GUID that identifies food service transaction | IdRefType
| TransactionPayMethods | M |  | List
| TransactionPayMethods/TransactionPayMethod | MR | Transaction method. |
@ | Type | M | This refers to the way the payment was made. | values: Payment Refund Charge Usage
| TransactionPayMethods/TransactionPayMethod/ Amounts | M |  | List
| TransactionPayMethods/TransactionPayMethod/ Amounts/Amount | MR | This amount is the form of the incoming funds for this transaction. For example; the payment can be made by a credit card. | FSAmountType
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.17-1: FoodserviceTransactionPayMethod
<FoodserviceTransactionPayMethod RefId="FF8340A51D844EBDB156DE662BF373CE"> <FoodserviceTransactionRefId>A1D2C4527A484DB08DAD6C382F8F082F</FoodserviceTransactionRefId> <TransactionPayMethods> <TransactionPayMethod Type="Payment"> <Amounts> <Amount Type="Cash" Credits="0">2.50</Amount> <Amount Type="BreakfastCredit" Credits="1">1.50</Amount> </Amounts> </TransactionPayMethod> </TransactionPayMethods> </FoodserviceTransactionPayMethod>
Example 4.6.17-1: FoodserviceTransactionPayMethod

### 4.6.18 StaffMeal

This object communicates the current meal status and account status of a given staff member. This object indicates whether the staff member is entitled to earn meals.

SIF_Events, typically Change events, can be reported.

Figure 4.6.18-1: StaffMeal

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| StaffMeal |  | This object communicates the current meal status and account status of a given staff member. This object indicates whether the staff member is entitled to earn meals. |
@ | StaffPersonalRefId | M | The GUID of the staff to whom this object is linked. | IdRefType
| EarnedStatus | M |  | EarnedStatus
| LastBreakfastDate | M | Last breakfast served date | xs:date
| LastLunchDate | M | Last lunch served date | xs:date
| Amounts | M |  | List
| Amounts/Amount | MR |  | FSAmountType
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.18-1: StaffMeal
<StaffMeal StaffPersonalRefId="A9E34B359F44D51A8C3D00AA001A1652"> <EarnedStatus Type="Yes"> <StartDate>2003-08-25</StartDate> <EndDate>2003-08-25</EndDate> </EarnedStatus> <LastBreakfastDate>2003-08-25</LastBreakfastDate> <LastLunchDate>2003-08-25</LastLunchDate> <Amounts> <Amount Type="Cash" Credits="0">3.50</Amount> <Amount Type="BreakfastCredit" Credits="3">3.00</Amount> <Amount Type="LunchCredit" Credits="5">7.50</Amount> </Amounts> </StaffMeal>
Example 4.6.18-1: StaffMeal

### 4.6.19 StudentMeal

This object communicates the current meal/account status of a given student.

This object will return information such as the amount of remaining breakfast/lunch credits, cash balance, meal status (free/reduced), etc. Systems may optionally support the historical reporting of a student's meal status (free/reduced).

SIF_Events, typically Change events, can be reported.

Figure 4.6.19-1: StudentMeal

| Element/@Attribute | Char | Description | Type
--- | --- | --- | --- | ---
| StudentMeal |  | This object communicates the current meal/account status of a given student. This object will return information such as the amount of remaining breakfast/lunch credits, cash balance, meal status (free/reduced), etc. Systems may optionally support the historical reporting of a student's meal status (free/reduced). |
@ | StudentPersonalRefId | M | The GUID of the student to whom this object is linked. | IdRefType
| MealStatus | O | The student's current meal status. | MealStatus
| HistoricalMealStatus | O | Optionally provides the meal status of the student historically. | List
| HistoricalMealStatus/MealStatus | MR | The student's meal status. Note that as this status is historical, `StartDate` and `EndDate` together, and/or `SchoolYear` MUST be included. If `SchoolYear` is included, `StartDate` and `EndDate` should not cross school year boundaries, i.e. in addition to multiple statuses being a possibility in a given school year, the same status may be repeated so `StartDate` and `EndDate` don't disagree with `SchoolYear`, if included. | MealStatus
| LastBreakfastDate | O | Date of the last reimbursable breakfast served. | xs:date
| LastLunchDate | O | Date of the last reimbursable lunch served. | xs:date
| Amounts | O |  | List
| Amounts/Amount | MR |  | FSAmountType
| SIF_Metadata | O |  | SIF_Metadata
| SIF_ExtendedElements | O |  | SIF_ExtendedElements

Table 4.6.19-1: StudentMeal
<StudentMeal StudentPersonalRefId="D3E34B359D75101A8C3D00AA001A1652"> <MealStatus Type="Free" /> <HistoricalMealStatus> <MealStatus Type="Reduced"> <StartDate>2003-09-01</StartDate> <EndDate>2004-06-01</EndDate> <SchoolYear>2004</SchoolYear> </MealStatus> <MealStatus Type="None"> <SchoolYear>2003</SchoolYear> </MealStatus> </HistoricalMealStatus> <LastBreakfastDate>2005-09-25</LastBreakfastDate> <LastLunchDate>2005-09-25</LastLunchDate> <Amounts> <Amount Type="Cash" Credits="0">3.50</Amount> <Amount Type="BreakfastCredit" Credits="3">3.00</Amount> <Amount Type="LunchCredit" Credits="5">7.50</Amount> </Amounts> </StudentMeal>
Example 4.6.19-1: StudentMeal