Meals tax is for food and drink orders in the United States. One calculation returns the sales tax on each line and any local meals taxes (restaurant, meals and prepared food taxes) that apply to it, as separate amounts.You tell Numeral three things:
- What the food is. Create a meals product for each item on a menu, with a few plain facts about it.
- Who the merchant is. Save a merchant profile and choose whether that merchant collects meals tax.
- How the order is handed over. Send a meals calculation with the fulfillment method and the address.
2026-11-01 or later. Send X-API-Version on every request.Where meals tax fits
Endpoints
Create a meals productPOST/tax/meals/productsUpdate a meals productPOST/tax/meals/products/:idRetrieve a meals productGET/tax/meals/products/:idDelete a meals productDELETE/tax/meals/products/:idSave a merchant profilePOST/tax/meals/merchant_profileRetrieve a merchant profileGET/tax/meals/merchant_profileDelete a merchant profileDELETE/tax/meals/merchant_profileCreate a meals calculationPOST/tax/meals/calculationsCreate a meals transactionPOST/tax/meals/transactionsCollecting meals tax
Each merchant chooses whether Numeral calculates meals tax for it. The choice iscollect_meals_tax on the merchant profile.Turning it off never turns off sales tax.It is set per merchant and, if you want, per location. A profile belongs to a merchant, or to your own account when you send no
merchant_id. Add reference_location_id to keep a separate profile, with its own collect_meals_tax, for one of the merchant’s locations.How a calculation picks the profile. It uses the first one that exists:- The merchant’s profile for the order’s
reference_location_id. - The merchant’s default profile (saved with no
reference_location_id). - Your account’s default profile (saved with no
merchant_id). - Numeral’s default profile, which does not collect meals tax. The response then carries a
MERCHANT_PROFILE_DEFAULTEDadvisory.
collect_meals_tax.Things to know- On an update, leaving
collect_meals_taxout keeps the stored value. It is never reset by omission. - A
profilesent inline on a calculation (fulfillment.location.profile) can’t turn collection on or off. Only a saved profile can. - Deleting a profile sends calculations to the next profile in the list above.
- Test and live profiles are separate. Set
collect_meals_taxin each mode. - You can also change it by hand on the Merchants section of the dashboard.
Turn on collection for a merchant
Turn it off for one location
Meals tax in the dashboard
Everything you set up through the API can also be set up by hand. Once your account is in the beta, the Numeral developer dashboard shows a Meals tax tab with two sections.Meals transactions appear on the Transactions tab with the rest of your transactions. Open one to see its sales tax and meals tax separately.The dashboard and the API work on the same data, so a product or profile saved in one shows up in the other. Use the test and live toggle to choose which mode you are editing.
Dashboard and API
The Meals product object
A meals product is one food or drink item, described by itsfood facts. You state the facts; Numeral never fills them in for you. A meals product has no product_category.Attributes
Your ID for the product. Unique across your whole product catalog in the same mode (test or live): no other product, of any merchant or any type, can use it.
The food facts. Every fact is returned; one you haven’t stated is
null. See Food facts.The Meals product object
Food facts
Thefood block describes the item. Five facts are always required. A request that leaves one out returns FOOD_FACTS_REQUIRED, naming every missing fact.Required facts
true if the merchant combined two or more ingredients: built a sandwich, tossed a salad, mixed a drink.Required for some items
Required when
bakery_item is true. WHOLE (a whole cake, pie or loaf) or SINGLE_PORTION (a slice, or one individual pastry, muffin or cookie).Send it for a drink. Required when
merchant_furnished_cup is true.Required for a drink.
true if it is poured or filled into a cup or glass the merchant provides, rather than a sealed bottle or can.Optional facts
State the ones you know. Leave a fact out, or sendnull, when you don’t.SINGLE_SERVING (meant for one person) or MULTI_SERVING (meant to share: a tray, a quart, a dozen, family size).true if forks, spoons, straws or napkins are given with this item. Leave it out to follow the merchant profile’s utensil_practice.A hot pizza
A fountain soda
A cookie
Create a meals product
Creates a meals product.Parameters
Your ID for the product, up to 255 characters. Must not be in use by any other product in your catalog.
The food facts.
The merchant the product belongs to: the merchant’s
id or your reference_merchant_id. Leave it out for your account’s own product.Don’t send
product_category. A meals product doesn’t take one.Returns
A Meals product object. Returns409 DUPLICATE_PRODUCT when the reference_product_id is already in use.POST /tax/meals/products
Update a meals product
Updates a meals product. Sendreference_product_name, food, or both.The food you send is merged onto the stored facts: a fact you leave out keeps its stored value. Send null to clear an optional fact. The merged facts must still include every required fact.Parameters
The food facts to change.
Returns
The updated Meals product object.POST /tax/meals/products/:reference_product_id
GET /tax/meals/products/:reference_product_id
Delete a meals product
Deletes a meals product. Itsreference_product_id can then be used again.Parameters
Returns
The product’sid, object, reference_product_id, merchant_id and testmode, with deleted_at in Unix seconds.DELETE /tax/meals/products/:reference_product_id
Response
The Merchant profile object
A merchant profile holds a merchant’scollect_meals_tax choice and a few facts about how the merchant operates. See Collecting meals tax for which profile a calculation uses.Attributes
The facts you saved. See Profile facts.
What the merchant sells:
sells_heated_food, pours_drinks, serves_ready_to_eat_portions, sells_tcs_food and bakery_only, each a boolean. Values you stated in profile.menu are returned as stated. The rest are worked out from the merchant’s meals products.STATED when the profile states a menu, DERIVED when the whole menu comes from the merchant’s meals products.Profile facts
Every fact is optional. State the ones you know.HOME (the merchant’s own home kitchen), PERMITTED_COMMERCIAL (a commercial kitchen the merchant runs under a permit), COMMISSARY (a shared kitchen the merchant rents time in) or MOBILE_UNIT (a kitchen in a truck, trailer or cart).NONE, COTTAGE_REGISTRATION (registered to sell food made at home under cottage food law) or RETAIL_FOOD_PERMIT (holds a retail food or food service permit).NONE (customers can’t eat at the merchant’s location), OWN_SEATING (the merchant has its own tables, chairs or counter) or HOST_OR_SHARED_SEATING (seating someone else provides, such as a food hall or market).NONE, ON_PREMISES (licensed to serve alcohol to drink at the location) or OFF_PREMISES (licensed to sell sealed alcohol to take away).NONE (doesn’t give out utensils), AVAILABLE (utensils are there for customers to take) or HANDED_OVER (utensils are handed over with the order).What the merchant sells, when you’d rather state it than have it worked out from the merchant’s meals products. Any of
sells_heated_food, pours_drinks, serves_ready_to_eat_portions, sells_tcs_food, bakery_only, each a boolean.Shares of the merchant’s sales, each a number from
0 to 1: prepared_food_share, bakery_share, grocery_share, individual_serving_share.The Merchant profile object
Save a merchant profile
Creates the profile, or updates it when one already exists for the samemerchant_id and reference_location_id.- Leave
collect_meals_taxout to keep the stored value. On a new profile it starts asfalse. - Leave
profileout to keep the stored facts. Aprofileyou send replaces the stored one whole, so send every fact you want to keep.
Parameters
Your ID for one of the merchant’s locations, up to 255 characters. Leave it out for the default profile. Send the same value as
fulfillment.location.reference_location_id on a calculation to use this profile.Whether to calculate meals tax for this merchant or location. See Collecting meals tax.
The profile facts.
Returns
The Merchant profile object. Returns404 MERCHANT_NOT_FOUND when merchant_id doesn’t match one of your merchants in the same mode.POST /tax/meals/merchant_profile
Retrieve a merchant profile
Returns the profile saved for exactly thismerchant_id and reference_location_id. It does not fall back to another profile the way a calculation does.Parameters
Returns
The Merchant profile object, or404 MERCHANT_PROFILE_NOT_FOUND when none is saved.GET /tax/meals/merchant_profile
Delete a merchant profile
Deletes the profile saved for exactly thismerchant_id and reference_location_id. Calculations then use the next profile that applies.Deleting a merchant deletes all of its profiles.Parameters
Returns
The profile’sobject, merchant_id, reference_location_id and testmode, with deleted: true and deleted_at in Unix seconds.DELETE /tax/meals/merchant_profile
Response
Create a meals calculation
Calculates the sales tax and meals tax on a food order. Addresses must be in the United States and the currency must beUSD.The response is a calculation with meals fields added. A line’s tax_amount is its sales_tax_amount plus its meals_tax_amount.Parameters
How and where the order is handed over.
The merchant’s location for this order.
address: where the food is prepared and handed over. Required unless you send amerchantthat has adefault_address.reference_location_id: your ID for the location. Selects the merchant profile saved for it.profile: profile facts for this order only. They are applied over the saved profile, fact by fact. They can’t changecollect_meals_tax.
Required for
DELIVERY and SHIPMENT, refused otherwise.provider(required):MERCHANTwhen the merchant delivers,THIRD_PARTYwhen someone else does.provider_name: the delivery company’s name.
HOME_PICKUP, STOREFRONT, FARMERS_MARKET, ROADSIDE_STAND, EVENT_BOOTH, CATERING or ONLINE. Defaults to HOME_PICKUP for TAKE_OUT, STOREFRONT for DINE_IN, and ONLINE for DELIVERY and SHIPMENT.What to do when meals tax can’t be fully calculated for the order.
advise: return the calculation, with advisories where one applies.strict: refuse the order with422 MEALS_TAX_COVERAGE_GAP.
1 to 1,000 lines. See Line items.
The merchant making the sale, as on a platform calculation:
merchant_id (required), type, tax_ids, address. When you send merchant, also send roles.Your roles in the sale:
marketplace_provider, merchant_of_record, payment_processor. Required with merchant.The fees you charge the merchant, as on a platform calculation. Needs
merchant. The response returns them in fees, apart from the order’s totals.Line items
Each line is one of three kinds:Food facts for this line. On a meals product’s line they are applied over the product’s facts. Not accepted together with
product_category.A product category, for a line that isn’t food.
Returns
A calculation with these fields added.product_tax_code is not returned on meals line items.One row per tax. Meals tax rows have
tax_type: "MEALS"; the others are the line’s sales tax. Each row has the same fields as on a calculation. note is always an empty string on meals calculations.On a delivery fee line only.
result is TAXABLE, EXEMPT, FOLLOWS_FOOD or NOT_EVALUATED. taxable_share is the share of the fee that was taxed, from 0 to 1, or null when not evaluated.The fulfillment you sent, with
sales_channel filled in. location.jurisdictions lists the jurisdictions the merchant’s location is in. destination.jurisdictions lists the same for the delivery address, and destination is null when the order isn’t delivered.Things to know about the result. Empty when there are none. See Advisories.
POST /tax/meals/calculations
Response
A delivery order
Advisories
An advisory tells you something about a result that you may want to act on. Each has acode, a jurisdiction (or null), a message, and sometimes line_ids: the positions of the lines it is about in your request’s line_items, counting from 0, as strings.With
fulfillment.coverage: "strict", an order that would return any advisory above except MERCHANT_PROFILE_DEFAULTED is refused with 422 MEALS_TAX_COVERAGE_GAP instead.Meals tax coverage grows during the beta. Ask your Numeral representative which jurisdictions are covered for your merchants.
An advisory
Refused under strict coverage
Create a meals transaction
Records a sale from a meals calculation. It works for every meals calculation, with or without amerchant.Parameters
The
id returned by Create a meals calculation.The
fees.platform_calculation_id from the calculation. Send it to record your fees with the order.Returns
A transaction withcalculation_type, total_sales_tax_amount, total_meals_tax_amount, and sales_tax_amount and meals_tax_amount on each line.After the sale
A meals transaction works with the ordinary transaction endpoints. Their responses carry the same meals fields.On a partial refund, send one
tax_amount_refunded for the line, as usual. Numeral splits it between sales tax and meals tax in proportion to the original line.POST /tax/meals/transactions
Response
A partial refund
Refund response
Not in the beta