> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ServiceProviderSyncObligation

> The schema definition for the ServiceProviderSyncObligation resource.

## Primary key

[Navigate to header](#param-commercial-activity)

document\_id

uuid

default:"Random UUID"

public

required

Unique identifier of the service provider sync obligation.

## Specific attributes

[Navigate to header](#param-commercial-activity)

applied\_at

timestamp

public

Timestamp when the service provider sync obligation was applied.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

classification

varchar

public

required

The classification of the service provider sync obligation.

**Rules**: Possible values: already\_migrated, duplicate, exists\_in\_horizon, migrable, not\_migrable, possible\_duplicate. Max length: 30 characters

[Navigate to header](#param-commercial-activity)

decided\_at

timestamp

public

Timestamp when the service provider sync obligation was decided.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

decided\_by

uuid

public

The decided by of the service provider sync obligation.

[Navigate to header](#param-commercial-activity)

decision

varchar

public

The decision of the service provider sync obligation.

**Rules**: Possible values: confirm, create\_with\_document, link\_and\_create\_document, link\_existing, select\_source, skip, split. Max length: 30 characters

[Navigate to header](#param-commercial-activity)

decision\_note

text

public

The decision note of the service provider sync obligation.

[Navigate to header](#param-commercial-activity)

group\_key

varchar

public

required

The group key of the service provider sync obligation.

**Rules**: Max length: 250 characters

[Navigate to header](#param-commercial-activity)

group\_kind

varchar

public

required

The group kind of the service provider sync obligation.

**Rules**: Possible values: heuristic, reference, single. Max length: 20 characters

[Navigate to header](#param-commercial-activity)

members\_total

integer

public

required

The members total of the service provider sync obligation.

[Navigate to header](#param-commercial-activity)

mismatch\_field

varchar

public

The first field that differs from the Horizon tax document (`business_unit`, `total_amount`, `account`, `status`, `credit_note`) or debt (`account`, `amount`, `currency`, `status`, `collect`) when the reason is `document_mismatch` or `debt_mismatch`.

**Rules**: Max length: 30 characters

[Navigate to header](#param-commercial-activity)

party\_tax\_identifier

varchar

public

required

The party tax identifier of the service provider sync obligation.

**Rules**: Max length: 50 characters

[Navigate to header](#param-commercial-activity)

proposal\_code

varchar

public

The proposal code of the service provider sync obligation.

**Rules**: Max length: 50 characters

[Navigate to header](#param-commercial-activity)

proposal\_message

text

public

The proposal message of the service provider sync obligation.

[Navigate to header](#param-commercial-activity)

reason\_code

varchar

public

The reason code of the service provider sync obligation.

**Rules**: Max length: 100 characters

[Navigate to header](#param-commercial-activity)

reason\_message

text

public

The reason message of the service provider sync obligation.

[Navigate to header](#param-commercial-activity)

status

varchar

public

required

The status of the service provider sync obligation.

**Rules**: Possible values: applied, failed, investigating, pending\_review, ready, skipped. Max length: 20 characters

[Navigate to header](#param-commercial-activity)

tributary\_document\_outcome

varchar

public

Whether apply creates the tax document (`created`) or uses the one that already exists (`existing`): planned at match, actual after apply.

**Rules**: Possible values: created, existing. Max length: 20 characters

## Foreign keys

[Navigate to header](#param-commercial-activity)

debt

uuid

public

Optional reference to the Debt associated with the service provider sync obligation. [Ref: Debt Schema](https://docs.bbrands.io/schemas/payment/debt.md)

[Navigate to header](#param-commercial-activity)

service\_provider\_resource\_proposed

uuid

public

Optional reference to the Service Provider Resource associated with the service provider sync obligation. [Ref: Service Provider Resource Schema](https://docs.bbrands.io/schemas/integration/service-provider-resource.md)

[Navigate to header](#param-commercial-activity)

service\_provider\_resource\_selected

uuid

public

Optional reference to the Service Provider Resource associated with the service provider sync obligation. [Ref: Service Provider Resource Schema](https://docs.bbrands.io/schemas/integration/service-provider-resource.md)

[Navigate to header](#param-commercial-activity)

service\_provider\_sync\_batch

uuid

public

required

Reference to the Service Provider Sync Batch this service provider sync obligation belongs to. [Ref: Service Provider Sync Batch Schema](https://docs.bbrands.io/schemas/integration/service-provider-sync-batch.md)

[Navigate to header](#param-commercial-activity)

service\_provider\_sync\_run\_apply

uuid

public

Optional reference to the Service Provider Sync Run associated with the service provider sync obligation. [Ref: Service Provider Sync Run Schema](https://docs.bbrands.io/schemas/integration/service-provider-sync-run.md)

[Navigate to header](#param-commercial-activity)

service\_provider\_sync\_run\_match

uuid

public

required

Reference to the Service Provider Sync Run this service provider sync obligation belongs to. [Ref: Service Provider Sync Run Schema](https://docs.bbrands.io/schemas/integration/service-provider-sync-run.md)

[Navigate to header](#param-commercial-activity)

tributary\_document

uuid

public

Optional reference to the Tributary Document associated with the service provider sync obligation. [Ref: Tributary Document Schema](https://docs.bbrands.io/schemas/payment/tributary-document.md)

## Tracking attributes

[Navigate to header](#param-commercial-activity)

created\_at

timestamp

public

required

Timestamp when the record was created.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

deleted\_at

timestamp

public

Timestamp when the record was soft-deleted, when applicable.

**Rules**: Precision: 6, with timezone

[Navigate to header](#param-commercial-activity)

is\_actived

boolean

default:"true"

public

required

Indicates whether the record is currently active.

[Navigate to header](#param-commercial-activity)

is\_deleted

boolean

default:"false"

public

required

Indicates whether the record has been soft-deleted.

[Navigate to header](#param-commercial-activity)

updated\_at

timestamp

public

Timestamp when the record was last updated.

**Rules**: Precision: 6, with timezone


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.