Avalara E-Invoicing and Live Reporting
SubscriptionCommon
Description of the subscription
The URL of the webhook endpoint to which event messages will be delivered
Optional. Scopes event delivery to the listed companyIds on the tenant (bounded to 100 per subscription). Each companyId must be valid and belong to the tenant making the request; an unrecognized or not-owned companyId is rejected with a 400. The reserved sentinel ["all"] (as the sole array element) explicitly matches every company on the tenant, including companies added after the subscription is created — this is a live match, not a snapshot. Omitting this field on create defaults to ["all"]. If the field is present, it must be either exactly ["all"] or a non-empty list of real companyIds — "all" must never appear alongside a real value in the same array (e.g. ["all", "companyId1"] is invalid); an explicit null or [] is also rejected. All three cases return a 400. GET always returns the resolved value explicitly (["all"] or the real list) and never omits this field, regardless of when the subscription was created.
Optional. Scopes event delivery to inbound (in) and/or outbound (out) documents. Accepted values are in, out, and the reserved sentinel all; any other value is rejected with a 400. The reserved sentinel ["all"] (as the sole array element) explicitly matches both flows; ["in", "out"] is accepted on write as an equivalent alias. Omitting this field on create defaults to ["all"]. If the field is present, it must be either exactly ["all"] or a non-empty list drawn from in/out — "all" must never appear alongside in or out in the same array (e.g. ["all", "in"] is invalid); an explicit null or [] is also rejected. All three cases return a 400. GET always normalizes and returns the canonical ["all"] for an unscoped subscription and never omits this field, regardless of when the subscription was created.