Pular para o conteúdo principal

ReceivableHistoryChange

changeIdstringobrigatório
appliedAtstring<date-time>obrigatório
changes object[]obrigatório
  • Lista [
  • pathstringobrigatório
    valueTypestringobrigatório

    Valores possíveis: [DECIMAL, STRING, BOOLEAN, DATE, DATE_TIME, JSON]

    beforestringaceita valor nulo
    afterstringaceita valor nulo
  • ]
  • provenance objectobrigatório
    schemaVersionintegerobrigatório
    aggregateTypestringobrigatório

    Valores possíveis: [RECEIVABLE]

    aggregateIdstringobrigatório
    originTypestringobrigatório

    Valores possíveis: [REGISTRAR, CLIENT, BACKOFFICE, SYSTEM]

    originChannelstringobrigatório

    Valores possíveis: [TAG, NUCLEA, CONTROL_PANEL, BACKOFFICE_API, WORKER, MIGRATION]

    actorTypestringobrigatório

    Valores possíveis: [PROVIDER, USER, SERVICE]

    actorIdstring
    actorRolestring
    clientIdstring
    companyTaxIdstring
    registrarstring

    Valores possíveis: [TAG, NUCLEA]

    providerEventIdstring
    providerObjectIdstring
    providerVersionstring
    providerSequencestring
    orderBasisstring

    Valores possíveis: [PROVIDER_SEQUENCE, PROVIDER_VERSION, EFFECTIVE_AT, RECEIVED_AT]

    occurredAtstring<date-time>obrigatório
    effectiveAtstring<date-time>
    receivedAtstring<date-time>obrigatório
    correlationIdstringobrigatório
    causationIdstring
    commandIdstring
    operationIdstring
    reasonCodestring
    relatedObservationIdsstring[]

    Identificadores de observações imutáveis considerados em uma resolução de conflito do backoffice.

    Valores possíveis: <= 20

    stateHashBeforestring
    stateHashAfterstring
    versioninteger<int64>obrigatório
    historicalCompletenessHistoricalCompleteness (string)obrigatório

    Valores possíveis: [COMPLETE_FROM_CREATION, FROM_BASELINE]

    ReceivableHistoryChange
    {
    "changeId": "string",
    "appliedAt": "2024-07-29T15:51:28.071Z",
    "changes": [
    {
    "path": "string",
    "valueType": "DECIMAL",
    "before": "string",
    "after": "string"
    }
    ],
    "provenance": {
    "schemaVersion": 0,
    "aggregateType": "RECEIVABLE",
    "aggregateId": "string",
    "originType": "REGISTRAR",
    "originChannel": "TAG",
    "actorType": "PROVIDER",
    "actorId": "string",
    "actorRole": "string",
    "clientId": "string",
    "companyTaxId": "string",
    "registrar": "TAG",
    "providerEventId": "string",
    "providerObjectId": "string",
    "providerVersion": "string",
    "providerSequence": "string",
    "orderBasis": "PROVIDER_SEQUENCE",
    "occurredAt": "2024-07-29T15:51:28.071Z",
    "effectiveAt": "2024-07-29T15:51:28.071Z",
    "receivedAt": "2024-07-29T15:51:28.071Z",
    "correlationId": "string",
    "causationId": "string",
    "commandId": "string",
    "operationId": "string",
    "reasonCode": "string",
    "relatedObservationIds": [
    "string"
    ],
    "stateHashBefore": "string",
    "stateHashAfter": "string",
    "version": 0,
    "historicalCompleteness": "COMPLETE_FROM_CREATION"
    }
    }