Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

Objects

  • ACHDetails

  • AcceptedPaymentMethods

  • Address

  • AfterpayDetails

  • ApplicationDetails

  • AppointmentSegment

  • Availability

  • BankAccount

  • BankAccountPaymentDetails

  • BatchRetrieveInventoryChangesSort

  • Booking

  • BookingCreatorDetails

  • Break

  • BreakType

  • BulkCreateCustomerData

  • BulkDeleteOrderCustomAttributesRequestDeleteCustomAttribute

  • BulkPublishScheduledShiftsData

  • BulkUpdateCustomerData

  • BulkUpsertOrderCustomAttributesRequestUpsertCustomAttribute

  • BusinessAppointmentSettings

  • BusinessBookingProfile

  • BusinessHours

  • BusinessHoursPeriod

  • BuyNowPayLaterDetails

  • Card

  • CardForgottenEventCard

  • CardPaymentDetails

  • CardPaymentTimeline

  • CardSurchargeDetails

  • CashAppDetails

  • CashDrawerDevice

  • CashDrawerShift

  • CashDrawerShiftEvent

  • CashDrawerShiftSummary

  • CashPaymentDetails

  • CatalogAvailabilityPeriod

  • CatalogCategory

  • CatalogCustomAttributeDefinition

  • CatalogCustomAttributeDefinitionNumberConfig

  • CatalogCustomAttributeDefinitionSelectionConfig

  • CatalogCustomAttributeDefinitionSelectionConfigCustomAttributeSelection

  • CatalogCustomAttributeDefinitionStringConfig

  • CatalogCustomAttributeValue

  • CatalogDiscount

  • CatalogEcomSeoData

  • CatalogIdMapping

  • CatalogImage

  • CatalogInfoResponseLimits

  • CatalogItem

  • CatalogItemFoodAndBeverageDetails

  • CatalogItemFoodAndBeverageDetailsDietaryPreference

  • CatalogItemFoodAndBeverageDetailsIngredient

  • CatalogItemModifierListInfo

  • CatalogItemOption

  • CatalogItemOptionForItem

  • CatalogItemOptionValue

  • CatalogItemOptionValueForItemVariation

  • CatalogItemVariation

  • CatalogItemVariationVendorInformation

  • CatalogMeasurementUnit

  • CatalogModifier

  • CatalogModifierList

  • CatalogModifierOverride

  • CatalogObject

  • CatalogObjectBatch

  • CatalogObjectCategory

  • CatalogObjectReference

  • CatalogPricingRule

  • CatalogProductSet

  • CatalogQuery

  • CatalogQueryExact

  • CatalogQueryItemVariationsForItemOptionValues

  • CatalogQueryItemsForItemOptions

  • CatalogQueryItemsForModifierList

  • CatalogQueryItemsForTax

  • CatalogQueryModifiersForChildList

  • CatalogQueryPrefix

  • CatalogQueryRange

  • CatalogQuerySet

  • CatalogQuerySortedAttribute

  • CatalogQueryText

  • CatalogQuickAmount

  • CatalogQuickAmountsSettings

  • CatalogStockConversion

  • CatalogSubscriptionPlan

  • CatalogSubscriptionPlanVariation

  • CatalogTax

  • CatalogTimePeriod

  • CatalogV1Id

  • CatalogVersionUpdatedEventCatalogVersion

  • CategoryPathToRootNode

  • Channel

  • Checkout

  • CheckoutLocationSettings

  • CheckoutLocationSettingsBranding

  • CheckoutLocationSettingsCoupons

  • CheckoutLocationSettingsPolicy

  • CheckoutLocationSettingsTipping

  • CheckoutMerchantSettings

  • CheckoutMerchantSettingsPaymentMethods

  • CheckoutMerchantSettingsPaymentMethodsAfterpayClearpay

  • CheckoutMerchantSettingsPaymentMethodsAfterpayClearpayEligibilityRange

  • CheckoutMerchantSettingsPaymentMethodsPaymentMethod

  • CheckoutOptions

  • ClearpayDetails

  • CollectedData

  • Component

  • ConfirmationDecision

  • ConfirmationOptions

  • Coordinates

  • CreateTransferOrderData

  • CreateTransferOrderLineData

  • CustomAttribute

  • CustomAttributeDefinition

  • CustomAttributeDefinitionEventDataObject

  • CustomAttributeEventDataObject

  • CustomAttributeFilter

  • CustomField

  • Customer

  • CustomerAddressFilter

  • CustomerCreatedEventEventContext

  • CustomerCreatedEventEventContextMerge

  • CustomerCreationSourceFilter

  • CustomerCustomAttributeFilter

  • CustomerCustomAttributeFilterValue

  • CustomerCustomAttributeFilters

  • CustomerDeletedEventEventContext

  • CustomerDeletedEventEventContextMerge

  • CustomerDetails

  • CustomerFilter

  • CustomerGroup

  • CustomerPreferences

  • CustomerQuery

  • CustomerSegment

  • CustomerSort

  • CustomerTaxIds

  • CustomerTextFilter

  • DataCollectionOptions

  • DateRange

  • Destination

  • DestinationDetails

  • DestinationDetailsCardRefundDetails

  • DestinationDetailsCashRefundDetails

  • DestinationDetailsExternalRefundDetails

  • Device

  • DeviceAttributes

  • DeviceCheckoutOptions

  • DeviceCode

  • DeviceComponentDetails

  • DeviceComponentDetailsApplicationDetails

  • DeviceComponentDetailsBatteryDetails

  • DeviceComponentDetailsCardReaderDetails

  • DeviceComponentDetailsEthernetDetails

  • DeviceComponentDetailsMeasurement

  • DeviceComponentDetailsNetworkInterfaceDetails

  • DeviceComponentDetailsWiFiDetails

  • DeviceDetails

  • DeviceMetadata

  • DeviceStatus

  • DigitalWalletDetails

  • Dispute

  • DisputeEvidence

  • DisputeEvidenceFile

  • DisputedPayment

  • ElectronicMoneyDetails

  • Error

  • Event

  • EventMetadata

  • EventTypeMetadata

  • ExternalPaymentDetails

  • FelicaDetails

  • FilterValue

  • FloatNumberRange

  • Fulfillment

  • FulfillmentDeliveryDetails

  • FulfillmentFulfillmentEntry

  • FulfillmentFulfillmentStateNotifications

  • FulfillmentInStoreDetails

  • FulfillmentPickupDetails

  • FulfillmentPickupDetailsCurbsidePickupDetails

  • FulfillmentRecipient

  • FulfillmentShipmentDetails

  • GiftCard

  • GiftCardActivity

  • GiftCardActivityActivate

  • GiftCardActivityAdjustDecrement

  • GiftCardActivityAdjustIncrement

  • GiftCardActivityBlock

  • GiftCardActivityClearBalance

  • GiftCardActivityDeactivate

  • GiftCardActivityImport

  • GiftCardActivityImportReversal

  • GiftCardActivityLoad

  • GiftCardActivityRedeem

  • GiftCardActivityRefund

  • GiftCardActivityTransferBalanceFrom

  • GiftCardActivityTransferBalanceTo

  • GiftCardActivityUnblock

  • GiftCardActivityUnlinkedActivityRefund

  • IncludeOptions

  • IncludedResources

  • InventoryAdjustment

  • InventoryAdjustmentGroup

  • InventoryAdjustmentReason

  • InventoryAdjustmentReasonId

  • InventoryChange

  • InventoryCount

  • InventoryPhysicalCount

  • Invoice

  • InvoiceAcceptedPaymentMethods

  • InvoiceAttachment

  • InvoiceCustomField

  • InvoiceFilter

  • InvoicePaymentReminder

  • InvoiceQuery

  • InvoiceRecipient

  • InvoiceRecipientTaxIds

  • InvoiceSort

  • ItemVariationLocationOverrides

  • Job

  • JobAssignment

  • LightningDetails

  • Location

  • LocationBookingProfile

  • LoyaltyAccount

  • LoyaltyAccountExpiringPointDeadline

  • LoyaltyAccountMapping

  • LoyaltyEvent

  • LoyaltyEventAccumulatePoints

  • LoyaltyEventAccumulatePromotionPoints

  • LoyaltyEventAdjustPoints

  • LoyaltyEventCreateReward

  • LoyaltyEventDateTimeFilter

  • LoyaltyEventDeleteReward

  • LoyaltyEventExpirePoints

  • LoyaltyEventFilter

  • LoyaltyEventLocationFilter

  • LoyaltyEventLoyaltyAccountFilter

  • LoyaltyEventOrderFilter

  • LoyaltyEventOther

  • LoyaltyEventQuery

  • LoyaltyEventRedeemReward

  • LoyaltyEventTypeFilter

  • LoyaltyProgram

  • LoyaltyProgramAccrualRule

  • LoyaltyProgramAccrualRuleCategoryData

  • LoyaltyProgramAccrualRuleItemVariationData

  • LoyaltyProgramAccrualRuleSpendData

  • LoyaltyProgramAccrualRuleVisitData

  • LoyaltyProgramExpirationPolicy

  • LoyaltyProgramRewardTier

  • LoyaltyProgramTerminology

  • LoyaltyPromotion

  • LoyaltyPromotionAvailableTimeData

  • LoyaltyPromotionIncentive

  • LoyaltyPromotionIncentivePointsAdditionData

  • LoyaltyPromotionIncentivePointsMultiplierData

  • LoyaltyPromotionTriggerLimit

  • LoyaltyReward

  • MeasurementUnit

  • MeasurementUnitCustom

  • Merchant

  • ModifierLocationOverrides

  • Money

  • OauthAuthorizationRevokedEventRevocationObject

  • Order

  • OrderCreated

  • OrderCreatedObject

  • OrderEntry

  • OrderFulfillment

  • OrderFulfillmentDeliveryDetails

  • OrderFulfillmentFulfillmentEntry

  • OrderFulfillmentPickupDetails

  • OrderFulfillmentPickupDetailsCurbsidePickupDetails

  • OrderFulfillmentRecipient

  • OrderFulfillmentShipmentDetails

  • OrderFulfillmentUpdated

  • OrderFulfillmentUpdatedObject

  • OrderFulfillmentUpdatedUpdate

  • OrderLineItem

  • OrderLineItemAppliedDiscount

  • OrderLineItemAppliedServiceCharge

  • OrderLineItemAppliedTax

  • OrderLineItemDiscount

  • OrderLineItemModifier

  • OrderLineItemPricingBlocklists

  • OrderLineItemPricingBlocklistsBlockedDiscount

  • OrderLineItemPricingBlocklistsBlockedServiceCharge

  • OrderLineItemPricingBlocklistsBlockedTax

  • OrderLineItemTax

  • OrderMoneyAmounts

  • OrderPricingOptions

  • OrderQuantityUnit

  • OrderReturn

  • OrderReturnDiscount

  • OrderReturnLineItem

  • OrderReturnLineItemModifier

  • OrderReturnServiceCharge

  • OrderReturnTax

  • OrderReturnTip

  • OrderReward

  • OrderRoundingAdjustment

  • OrderServiceCharge

  • OrderSource

  • OrderUpdated

  • OrderUpdatedObject

  • PaginationCursor

  • Payment

  • PaymentBalanceActivityAppFeeRefundDetail

  • PaymentBalanceActivityAppFeeRevenueDetail

  • PaymentBalanceActivityAutomaticSavingsDetail

  • PaymentBalanceActivityAutomaticSavingsReversedDetail

  • PaymentBalanceActivityChargeDetail

  • PaymentBalanceActivityDepositFeeDetail

  • PaymentBalanceActivityDepositFeeReversedDetail

  • PaymentBalanceActivityDisputeDetail

  • PaymentBalanceActivityFeeDetail

  • PaymentBalanceActivityFreeProcessingDetail

  • PaymentBalanceActivityHoldAdjustmentDetail

  • PaymentBalanceActivityOpenDisputeDetail

  • PaymentBalanceActivityOtherAdjustmentDetail

  • PaymentBalanceActivityOtherDetail

  • PaymentBalanceActivityRefundDetail

  • PaymentBalanceActivityReleaseAdjustmentDetail

  • PaymentBalanceActivityReserveHoldDetail

  • PaymentBalanceActivityReserveReleaseDetail

  • PaymentBalanceActivitySquareCapitalPaymentDetail

  • PaymentBalanceActivitySquareCapitalReversedPaymentDetail

  • PaymentBalanceActivitySquarePayrollTransferDetail

  • PaymentBalanceActivitySquarePayrollTransferReversedDetail

  • PaymentBalanceActivityTaxOnFeeDetail

  • PaymentBalanceActivityThirdPartyFeeDetail

  • PaymentBalanceActivityThirdPartyFeeRefundDetail

  • PaymentLink

  • PaymentLinkRelatedResources

  • PaymentOptions

  • PaymentRefund

  • Payout

  • PayoutEntry

  • PayoutFee

  • Phase

  • PhaseInput

  • PrePopulatedData

  • ProcessingFee

  • QrCodeOptions

  • QuantityRatio

  • QuickPay

  • Range

  • ReceiptOptions

  • Reference

  • Refund

  • RiskEvaluation

  • SaveCardOptions

  • ScheduledShift

  • ScheduledShiftDetails

  • ScheduledShiftFilter

  • ScheduledShiftQuery

  • ScheduledShiftSort

  • ScheduledShiftWorkday

  • SearchAvailabilityFilter

  • SearchAvailabilityQuery

  • SearchEventsFilter

  • SearchEventsQuery

  • SearchEventsSort

  • SearchLoyaltyAccountsRequestLoyaltyAccountQuery

  • SearchLoyaltyRewardsRequestLoyaltyRewardQuery

  • SearchOrdersCustomerFilter

  • SearchOrdersDateTimeFilter

  • SearchOrdersFilter

  • SearchOrdersFulfillmentFilter

  • SearchOrdersQuery

  • SearchOrdersSort

  • SearchOrdersSourceFilter

  • SearchOrdersStateFilter

  • SearchSubscriptionsFilter

  • SearchSubscriptionsQuery

  • SearchTeamMembersFilter

  • SearchTeamMembersQuery

  • SearchVendorsRequestFilter

  • SearchVendorsRequestSort

  • SegmentFilter

  • SelectOption

  • SelectOptions

  • ShippingFee

  • SignatureImage

  • SignatureOptions

  • Site

  • Snippet

  • SourceApplication

  • SquareAccountDetails

  • StandardUnitDescription

  • StandardUnitDescriptionGroup

  • Subscription

  • SubscriptionAction

  • SubscriptionEvent

  • SubscriptionEventInfo

  • SubscriptionPhase

  • SubscriptionPricing

  • SubscriptionSource

  • SubscriptionTestResult

  • TaxIds

  • TeamMember

  • TeamMemberAssignedLocations

  • TeamMemberBookingProfile

  • TeamMemberWage

  • Tender

  • TenderBankAccountDetails

  • TenderBuyNowPayLaterDetails

  • TenderCardDetails

  • TenderCashDetails

  • TenderSquareAccountDetails

  • TerminalAction

  • TerminalActionQuery

  • TerminalActionQueryFilter

  • TerminalActionQuerySort

  • TerminalCheckout

  • TerminalCheckoutQuery

  • TerminalCheckoutQueryFilter

  • TerminalCheckoutQuerySort

  • TerminalRefund

  • TerminalRefundQuery

  • TerminalRefundQueryFilter

  • TerminalRefundQuerySort

  • TimeRange

  • Timecard

  • TimecardFilter

  • TimecardQuery

  • TimecardSort

  • TimecardWage

  • TimecardWorkday

  • TipSettings

  • TransferOrder

  • TransferOrderFilter

  • TransferOrderGoodsReceipt

  • TransferOrderGoodsReceiptLineItem

  • TransferOrderLine

  • TransferOrderQuery

  • TransferOrderSort

  • UpdateTransferOrderData

  • UpdateTransferOrderLineData

  • Vendor

  • VendorContact

  • WageSetting

  • WebhookSubscription

  • WorkweekConfig

<- Object

Object

All versions ->

OrderLineItemTax

Represents a tax that applies to one or more line item in the order.

Fixed-amount, order-scoped taxes are distributed across all non-zero line item totals. The amount distributed to each line item is relative to the amount the item contributes to the order subtotal.

Link to section

Properties

Link to section

uid

string

Beta

A unique ID that identifies the tax only within this order.

Max Length
60
Link to section

catalog_object_id

string

The catalog object ID referencing CatalogTax.

Max Length
192
Link to section

catalog_version

integer(64-bit)

The version of the catalog object that this tax references.

Link to section

name

string

The tax's name.

Max Length
255
Link to section

type

string

Indicates the calculation method used to apply the tax.

Link to section

percentage

string

The percentage of the tax, as a string representation of a decimal number. For example, a value of "7.25" corresponds to a percentage of 7.25%.

Max Length
10
Link to section

metadata

Map<string, string>

Beta

Application-defined data attached to this tax. Metadata fields are intended to store descriptive references or associations with an entity in another system or store brief information about the object. Square does not process this field; it only stores and returns it in relevant API calls. Do not use metadata to store any sensitive information (such as personally identifiable information or card details).

Keys written by applications must be 60 characters or less and must be in the character set [a-zA-Z0-9_-]. Entries can also include metadata generated by Square. These keys are prefixed with a namespace, separated from the key with a ':' character.

Values have a maximum length of 255 characters.

An application can have up to 10 entries per metadata field.

Entries written by applications are private and can only be read or modified by the same application.

For more information, see Metadata.

Link to section

applied_money

The amount of money applied to the order by the tax.

  • For percentage-based taxes, applied_money is the money calculated using the percentage.
Link to section

scope

string

Indicates the level at which the tax applies. For ORDER scoped taxes, Square generates references in applied_taxes on all order line items that do not have them. For LINE_ITEM scoped taxes, the tax only applies to line items with references in their applied_taxes field.

This field is immutable. To change the scope, you must delete the tax and re-add it as a new tax.

Link to section

auto_applied

boolean

Beta

Read only Determines whether the tax was automatically applied to the order based on the catalog configuration. For an example, see Automatically Apply Taxes to an Order.