{"__v":5,"_id":"56a0f62ff9a6d20d00010afd","api":{"auth":"required","examples":{"codes":[{"name":"Curl","language":"shell","code":""},{"name":"C#","language":"csharp","code":""}]},"params":[{"_id":"575f3ebfc0bca70e00afbdeb","ref":"","required":false,"desc":"AffiliationKey(AK)","default":"cabab2f481f34f50920726f1aded858a","type":"string","name":"Authorization","in":"body"}],"results":{"codes":[{"name":"","code":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Conciliation>\n    <Header>\n        <GenerationDateTime>20160613231510</GenerationDateTime>\n        <StoneCode>111111111</StoneCode>\n        <LayoutVersion>2</LayoutVersion>\n        <FileId>0</FileId>\n        <ReferenceDate>20160512</ReferenceDate>\n    </Header>\n    <FinancialTransactions />\n    <FinancialEvents />\n    <FinancialTransactionsAccounts />\n    <FinancialEventAccounts />\n    <Payments />\n    <Trailer>\n        <CapturedTransactionsQuantity>0</CapturedTransactionsQuantity>\n        <CanceledTransactionsQuantity>0</CanceledTransactionsQuantity>\n        <PaidInstallmentsQuantity>0</PaidInstallmentsQuantity>\n        <ChargedCancellationsQuantity>0</ChargedCancellationsQuantity>\n        <ChargebacksQuantity>0</ChargebacksQuantity>\n        <ChargebacksRefundQuantity>0</ChargebacksRefundQuantity>\n        <ChargedChargebacksQuantity>0</ChargedChargebacksQuantity>\n        <PaidChargebacksRefundQuantity>0</PaidChargebacksRefundQuantity>\n        <PaidEventsQuantity>0</PaidEventsQuantity>\n        <ChargedEventsQuantity>0</ChargedEventsQuantity>\n    </Trailer>\n</Conciliation>","language":"xml","status":200},{"name":"","code":"<string xmlns=\"http://schemas.microsoft.com/2003/10/Serialization/\">Could not validate authorization key Cannot resolve the received security key 9c8d163eb8384815892f094cbe1cad65</string>","language":"json","status":400}]},"settings":"","url":""},"body":"A **Conciliação Stone** é uma ferramenta que disponibiliza diariamente aos estabelecimentos a demonstração das transações e eventos ocorridos no dia referenciado e suas respectivas informações financeiras. Esta ferramenta permite o acompanhamento desde a captura até o pagamento/desconto de cada uma das transações e lançamentos realizados.\n\nCom a **Conciliação Stone**, o lojista consegue visualizar de forma bastante clara, o valor líquido e bruto de cada parcela, o valor líquido e bruto de cancelamento parcial e total, quais parcelas da transação foram antecipadas e qual foi o custo da antecipação de cada parcela, chargebacks a serem descontados, etc.\n\nTudo isto em um mesmo lugar, sem a necessidade de tratar vários arquivos com layouts diferentes. Com a **Conciliação Stone**, o cliente obtém o arquivo de conciliação diretamente conosco, de maneira segura, através de um Webservice que retorna o arquivo de conciliação.","category":"569fe669c0864f170056517b","createdAt":"2016-01-21T15:15:59.615Z","editedParams":true,"editedParams2":true,"excerpt":"","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","order":0,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"o-que-é","sync_unique":"","title":"O que é?","type":"basic","updates":[],"user":"56a0d9d741766e0d00b28d02","version":"569fe668c0864f170056517a","childrenPages":[]}

O que é?


A **Conciliação Stone** é uma ferramenta que disponibiliza diariamente aos estabelecimentos a demonstração das transações e eventos ocorridos no dia referenciado e suas respectivas informações financeiras. Esta ferramenta permite o acompanhamento desde a captura até o pagamento/desconto de cada uma das transações e lançamentos realizados. Com a **Conciliação Stone**, o lojista consegue visualizar de forma bastante clara, o valor líquido e bruto de cada parcela, o valor líquido e bruto de cancelamento parcial e total, quais parcelas da transação foram antecipadas e qual foi o custo da antecipação de cada parcela, chargebacks a serem descontados, etc. Tudo isto em um mesmo lugar, sem a necessidade de tratar vários arquivos com layouts diferentes. Com a **Conciliação Stone**, o cliente obtém o arquivo de conciliação diretamente conosco, de maneira segura, através de um Webservice que retorna o arquivo de conciliação.
A **Conciliação Stone** é uma ferramenta que disponibiliza diariamente aos estabelecimentos a demonstração das transações e eventos ocorridos no dia referenciado e suas respectivas informações financeiras. Esta ferramenta permite o acompanhamento desde a captura até o pagamento/desconto de cada uma das transações e lançamentos realizados. Com a **Conciliação Stone**, o lojista consegue visualizar de forma bastante clara, o valor líquido e bruto de cada parcela, o valor líquido e bruto de cancelamento parcial e total, quais parcelas da transação foram antecipadas e qual foi o custo da antecipação de cada parcela, chargebacks a serem descontados, etc. Tudo isto em um mesmo lugar, sem a necessidade de tratar vários arquivos com layouts diferentes. Com a **Conciliação Stone**, o cliente obtém o arquivo de conciliação diretamente conosco, de maneira segura, através de um Webservice que retorna o arquivo de conciliação.
{"__v":33,"_id":"56a0f73be7056c170060b90d","api":{"auth":"required","examples":{"codes":[]},"params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"## O serviço de conciliação\n\nO webservice de conciliação consiste em uma requisição HTTP autenticada, utilizando uma camada segura - SSL/TLS, para a obtenção de um arquivo com todos os eventos ocorridos no dia requisitado.\n\nEsse arquivo contém todas as transações que foram capturadas no dia requisitado, ou seja, todas as transações capturadas no dia para o qual a conciliação está sendo gerada. **É importante ressaltar que o arquivo contém apenas as transações que foram capturadas e não as que somente foram autorizadas, uma vez que esse tipo de transação não gera movimento financeiro**.\n\nO arquivo adota o modelo Previsão-Liquidação, diferente do que é praticado no mercado. Isso quer dizer que no Arquivo de Conciliação da Stone, estão presentes informações sobre a previsão de pagamento das transações e dos ajustes (agenda); e informações sobre a liquidação das transações e dos ajustes (extrato). **É importante ressaltar que em prol da maior transparência, as transações canceladas não são tratadas como ajustes**.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl \\\\\\n-H \\\"Authorization: affiliation-key\\\" \\\\\\n-H \\\"Accept-Encoding: gzip\\\" \\\\\\n\\\"https://conciliation.stone.com.br/conciliation-file/v2/yyyyMMdd\\\"\",\n      \"language\": \"shell\",\n      \"name\": \"Curl\"\n    },\n    {\n      \"code\": \"WebRequest request = WebRequest.Create(url+version+dataArquivo.ToString(\\\"yyyyMMdd\\\"));\\n\\nrequest.Credentials = CredentialCache.DefaultCredentials;\\nrequest.Headers.Add(\\\"Authorization\\\", affiliationKey);\\n\\nWebResponse response = request.GetResponse();\\nStream dataStream = response.GetResponseStream();\",\n      \"language\": \"csharp\",\n      \"name\": \"C#\"\n    },\n    {\n      \"code\": \"\",\n      \"language\": \"php\",\n      \"name\": \"PHP\"\n    }\n  ]\n}\n[/block]\n## Obtendo o arquivo\n\nAs requisições devem ser enviadas para o serviço de conciliação utilizando o método **GET** para o endpoint `https://conciliation.stone.com.br/conciliation-file/v{numeroversao}/{dataReferencia}`, onde `{dataReferencia}` é a data da qual se deseja conciliar, no formato yyyyMMdd e `{numeroversao}` o número da versão do layout desejado. \n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"No momento temos as versões:\",\n  \"body\": \"+ `v1 {Descontinuada}`\\n+ `v2 {https://conciliation.stone.com.br/conciliation-file/v2/yyyyMMdd}`\"\n}\n[/block]\n\n\n\nPor se tratar de informações sigilosas para a empresa, tanto a requisição quanto a resposta trafegam em uma camada segura criptografada e as requisições precisam, necessariamente, estar autenticadas. Essa autenticação consiste no envio de um campo de cabeçalho HTTP `Authorization` contendo a chave de afiliação da loja `AffiliationKey`.\n\nÉ possível, ainda, que o volume de operações e eventos seja relativamente grande. Para agilizar a transferência do arquivo, é possível solicitá-lo de forma compactada. Caso seja necessário que o arquivo esteja compactado, o sistema conciliador deve incluir o campo de cabeçalho HTTP `Accept-Encoding: gzip` na requisição ao serviço.\n\n[**Veja aqui como obter o arquivo.**](doc:get)\n\n## Janelas de Liquidação\n\nAtualmente, por questões de segurança, a **Stone **não gera arquivos de conciliação durante as janelas de pagamento ao lojista. Durante esses períodos (descritos abaixo) o serviço de conciliação fica indisponível:\n\n02:00h ás 03:00h\n10:10h ás 10:40h\n14:40h ás 15:10h\n\nCaso uma requisição seja realizada durante esse período, a mensagem de retorno será:\n **“The service is updating data, please try again later.”**","category":"569fe669c0864f170056517b","createdAt":"2016-01-21T15:20:27.969Z","excerpt":"","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","next":{"description":"","pages":[]},"order":1,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"como-obter-o-arquivo","sync_unique":"","title":"Como obter o arquivo?","type":"basic","updates":[],"user":"56a0d9d741766e0d00b28d02","version":"569fe668c0864f170056517a","childrenPages":[]}

Como obter o arquivo?


## O serviço de conciliação O webservice de conciliação consiste em uma requisição HTTP autenticada, utilizando uma camada segura - SSL/TLS, para a obtenção de um arquivo com todos os eventos ocorridos no dia requisitado. Esse arquivo contém todas as transações que foram capturadas no dia requisitado, ou seja, todas as transações capturadas no dia para o qual a conciliação está sendo gerada. **É importante ressaltar que o arquivo contém apenas as transações que foram capturadas e não as que somente foram autorizadas, uma vez que esse tipo de transação não gera movimento financeiro**. O arquivo adota o modelo Previsão-Liquidação, diferente do que é praticado no mercado. Isso quer dizer que no Arquivo de Conciliação da Stone, estão presentes informações sobre a previsão de pagamento das transações e dos ajustes (agenda); e informações sobre a liquidação das transações e dos ajustes (extrato). **É importante ressaltar que em prol da maior transparência, as transações canceladas não são tratadas como ajustes**. [block:code] { "codes": [ { "code": "curl \\\n-H \"Authorization: affiliation-key\" \\\n-H \"Accept-Encoding: gzip\" \\\n\"https://conciliation.stone.com.br/conciliation-file/v2/yyyyMMdd\"", "language": "shell", "name": "Curl" }, { "code": "WebRequest request = WebRequest.Create(url+version+dataArquivo.ToString(\"yyyyMMdd\"));\n\nrequest.Credentials = CredentialCache.DefaultCredentials;\nrequest.Headers.Add(\"Authorization\", affiliationKey);\n\nWebResponse response = request.GetResponse();\nStream dataStream = response.GetResponseStream();", "language": "csharp", "name": "C#" }, { "code": "", "language": "php", "name": "PHP" } ] } [/block] ## Obtendo o arquivo As requisições devem ser enviadas para o serviço de conciliação utilizando o método **GET** para o endpoint `https://conciliation.stone.com.br/conciliation-file/v{numeroversao}/{dataReferencia}`, onde `{dataReferencia}` é a data da qual se deseja conciliar, no formato yyyyMMdd e `{numeroversao}` o número da versão do layout desejado. [block:callout] { "type": "warning", "title": "No momento temos as versões:", "body": "+ `v1 {Descontinuada}`\n+ `v2 {https://conciliation.stone.com.br/conciliation-file/v2/yyyyMMdd}`" } [/block] Por se tratar de informações sigilosas para a empresa, tanto a requisição quanto a resposta trafegam em uma camada segura criptografada e as requisições precisam, necessariamente, estar autenticadas. Essa autenticação consiste no envio de um campo de cabeçalho HTTP `Authorization` contendo a chave de afiliação da loja `AffiliationKey`. É possível, ainda, que o volume de operações e eventos seja relativamente grande. Para agilizar a transferência do arquivo, é possível solicitá-lo de forma compactada. Caso seja necessário que o arquivo esteja compactado, o sistema conciliador deve incluir o campo de cabeçalho HTTP `Accept-Encoding: gzip` na requisição ao serviço. [**Veja aqui como obter o arquivo.**](doc:get) ## Janelas de Liquidação Atualmente, por questões de segurança, a **Stone **não gera arquivos de conciliação durante as janelas de pagamento ao lojista. Durante esses períodos (descritos abaixo) o serviço de conciliação fica indisponível: 02:00h ás 03:00h 10:10h ás 10:40h 14:40h ás 15:10h Caso uma requisição seja realizada durante esse período, a mensagem de retorno será: **“The service is updating data, please try again later.”**
## O serviço de conciliação O webservice de conciliação consiste em uma requisição HTTP autenticada, utilizando uma camada segura - SSL/TLS, para a obtenção de um arquivo com todos os eventos ocorridos no dia requisitado. Esse arquivo contém todas as transações que foram capturadas no dia requisitado, ou seja, todas as transações capturadas no dia para o qual a conciliação está sendo gerada. **É importante ressaltar que o arquivo contém apenas as transações que foram capturadas e não as que somente foram autorizadas, uma vez que esse tipo de transação não gera movimento financeiro**. O arquivo adota o modelo Previsão-Liquidação, diferente do que é praticado no mercado. Isso quer dizer que no Arquivo de Conciliação da Stone, estão presentes informações sobre a previsão de pagamento das transações e dos ajustes (agenda); e informações sobre a liquidação das transações e dos ajustes (extrato). **É importante ressaltar que em prol da maior transparência, as transações canceladas não são tratadas como ajustes**. [block:code] { "codes": [ { "code": "curl \\\n-H \"Authorization: affiliation-key\" \\\n-H \"Accept-Encoding: gzip\" \\\n\"https://conciliation.stone.com.br/conciliation-file/v2/yyyyMMdd\"", "language": "shell", "name": "Curl" }, { "code": "WebRequest request = WebRequest.Create(url+version+dataArquivo.ToString(\"yyyyMMdd\"));\n\nrequest.Credentials = CredentialCache.DefaultCredentials;\nrequest.Headers.Add(\"Authorization\", affiliationKey);\n\nWebResponse response = request.GetResponse();\nStream dataStream = response.GetResponseStream();", "language": "csharp", "name": "C#" }, { "code": "", "language": "php", "name": "PHP" } ] } [/block] ## Obtendo o arquivo As requisições devem ser enviadas para o serviço de conciliação utilizando o método **GET** para o endpoint `https://conciliation.stone.com.br/conciliation-file/v{numeroversao}/{dataReferencia}`, onde `{dataReferencia}` é a data da qual se deseja conciliar, no formato yyyyMMdd e `{numeroversao}` o número da versão do layout desejado. [block:callout] { "type": "warning", "title": "No momento temos as versões:", "body": "+ `v1 {Descontinuada}`\n+ `v2 {https://conciliation.stone.com.br/conciliation-file/v2/yyyyMMdd}`" } [/block] Por se tratar de informações sigilosas para a empresa, tanto a requisição quanto a resposta trafegam em uma camada segura criptografada e as requisições precisam, necessariamente, estar autenticadas. Essa autenticação consiste no envio de um campo de cabeçalho HTTP `Authorization` contendo a chave de afiliação da loja `AffiliationKey`. É possível, ainda, que o volume de operações e eventos seja relativamente grande. Para agilizar a transferência do arquivo, é possível solicitá-lo de forma compactada. Caso seja necessário que o arquivo esteja compactado, o sistema conciliador deve incluir o campo de cabeçalho HTTP `Accept-Encoding: gzip` na requisição ao serviço. [**Veja aqui como obter o arquivo.**](doc:get) ## Janelas de Liquidação Atualmente, por questões de segurança, a **Stone **não gera arquivos de conciliação durante as janelas de pagamento ao lojista. Durante esses períodos (descritos abaixo) o serviço de conciliação fica indisponível: 02:00h ás 03:00h 10:10h ás 10:40h 14:40h ás 15:10h Caso uma requisição seja realizada durante esse período, a mensagem de retorno será: **“The service is updating data, please try again later.”**
{"__v":89,"_id":"56a7c667fc62900d00024c4d","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"**Header**\",\n    \"1-0\": \"**FinancialTransactions**\",\n    \"2-0\": \"**FinancialEvents**\",\n    \"3-0\": \"**FinancialTransactionsAccounts**\",\n    \"4-0\": \"**FinancialEventAccounts**\",\n    \"5-0\": \"**Payments**\",\n    \"0-2\": \"#\",\n    \"1-2\": \"#\",\n    \"2-2\": \"#\",\n    \"3-2\": \"#\",\n    \"4-2\": \"#\",\n    \"5-2\": \"#\",\n    \"6-2\": \"#\",\n    \"6-0\": \"**Trailer**\",\n    \"0-3\": \"Contém as informações do lojista e do arquivo\",\n    \"1-3\": \"Contém as transações e eventos de transações do dia requisitado\",\n    \"2-3\": \"Contém os eventos financeiros lançados para o lojista no dia\",\n    \"3-3\": \"Contém as transações que foram pagas/cobradas ao lojista no dia requisitado\",\n    \"4-3\": \"Contém os eventos que foram pagos/cobrados ao lojista no dia requisistado\",\n    \"5-3\": \"Contém informações dos pagamentos efetuados relativos as transações e eventos financeiros do arquivo.\",\n    \"6-3\": \"Contém os totalizadores e contadores do arquivo\",\n    \"0-1\": \"Container\",\n    \"1-1\": \"Container\",\n    \"2-1\": \"Container\",\n    \"3-1\": \"Container\",\n    \"4-1\": \"Container\",\n    \"5-1\": \"Container\",\n    \"6-1\": \"Container\"\n  },\n  \"cols\": 4,\n  \"rows\": 7\n}\n[/block]","category":"5769bd981f52a00e006a973b","createdAt":"2016-01-26T19:17:59.362Z","excerpt":"Nó principal do arquivo de conciliação","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","order":0,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"o-arquivo","sync_unique":"","title":"Conciliation","type":"basic","updates":[],"user":"56a0d9d741766e0d00b28d02","version":"569fe668c0864f170056517a","childrenPages":[]}

Conciliation

Nó principal do arquivo de conciliação

[block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "**Header**", "1-0": "**FinancialTransactions**", "2-0": "**FinancialEvents**", "3-0": "**FinancialTransactionsAccounts**", "4-0": "**FinancialEventAccounts**", "5-0": "**Payments**", "0-2": "#", "1-2": "#", "2-2": "#", "3-2": "#", "4-2": "#", "5-2": "#", "6-2": "#", "6-0": "**Trailer**", "0-3": "Contém as informações do lojista e do arquivo", "1-3": "Contém as transações e eventos de transações do dia requisitado", "2-3": "Contém os eventos financeiros lançados para o lojista no dia", "3-3": "Contém as transações que foram pagas/cobradas ao lojista no dia requisitado", "4-3": "Contém os eventos que foram pagos/cobrados ao lojista no dia requisistado", "5-3": "Contém informações dos pagamentos efetuados relativos as transações e eventos financeiros do arquivo.", "6-3": "Contém os totalizadores e contadores do arquivo", "0-1": "Container", "1-1": "Container", "2-1": "Container", "3-1": "Container", "4-1": "Container", "5-1": "Container", "6-1": "Container" }, "cols": 4, "rows": 7 } [/block]
[block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "**Header**", "1-0": "**FinancialTransactions**", "2-0": "**FinancialEvents**", "3-0": "**FinancialTransactionsAccounts**", "4-0": "**FinancialEventAccounts**", "5-0": "**Payments**", "0-2": "#", "1-2": "#", "2-2": "#", "3-2": "#", "4-2": "#", "5-2": "#", "6-2": "#", "6-0": "**Trailer**", "0-3": "Contém as informações do lojista e do arquivo", "1-3": "Contém as transações e eventos de transações do dia requisitado", "2-3": "Contém os eventos financeiros lançados para o lojista no dia", "3-3": "Contém as transações que foram pagas/cobradas ao lojista no dia requisitado", "4-3": "Contém os eventos que foram pagos/cobrados ao lojista no dia requisistado", "5-3": "Contém informações dos pagamentos efetuados relativos as transações e eventos financeiros do arquivo.", "6-3": "Contém os totalizadores e contadores do arquivo", "0-1": "Container", "1-1": "Container", "2-1": "Container", "3-1": "Container", "4-1": "Container", "5-1": "Container", "6-1": "Container" }, "cols": 4, "rows": 7 } [/block]
{"__v":1,"_id":"5769bd5aed18d22b00e641e0","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"GenerationDateTime\",\n    \"0-1\": \"Datetime\",\n    \"0-3\": \"Datetime de geração do arquivo (Formato: aaaammddHHmmss)\",\n    \"0-2\": \"14\",\n    \"1-0\": \"StoneCode\",\n    \"1-1\": \"Num\",\n    \"1-3\": \"Código identificador da loja\",\n    \"1-2\": \"9\",\n    \"2-0\": \"LayoutVersion\",\n    \"2-1\": \"Num\",\n    \"2-3\": \"Versão do Layout do arquivo\",\n    \"2-2\": \"3\",\n    \"3-0\": \"FileId\",\n    \"3-1\": \"Num\",\n    \"3-3\": \"Data a que se refere o arquivo\",\n    \"3-2\": \"26\",\n    \"4-0\": \"ReferenceDate\",\n    \"4-1\": \"Date\",\n    \"4-3\": \"Data a que se refere o arquivo\",\n    \"4-2\": \"8\"\n  },\n  \"cols\": 4,\n  \"rows\": 5\n}\n[/block]","category":"5769bd981f52a00e006a973b","createdAt":"2016-06-21T22:19:06.076Z","excerpt":"Descrição dos atributos dentro de **Header**","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","order":1,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"header","sync_unique":"","title":"Header","type":"basic","updates":[],"user":"5758517f3479732b00f44be0","version":"569fe668c0864f170056517a","childrenPages":[]}

Header

Descrição dos atributos dentro de **Header**

[block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "GenerationDateTime", "0-1": "Datetime", "0-3": "Datetime de geração do arquivo (Formato: aaaammddHHmmss)", "0-2": "14", "1-0": "StoneCode", "1-1": "Num", "1-3": "Código identificador da loja", "1-2": "9", "2-0": "LayoutVersion", "2-1": "Num", "2-3": "Versão do Layout do arquivo", "2-2": "3", "3-0": "FileId", "3-1": "Num", "3-3": "Data a que se refere o arquivo", "3-2": "26", "4-0": "ReferenceDate", "4-1": "Date", "4-3": "Data a que se refere o arquivo", "4-2": "8" }, "cols": 4, "rows": 5 } [/block]
[block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "GenerationDateTime", "0-1": "Datetime", "0-3": "Datetime de geração do arquivo (Formato: aaaammddHHmmss)", "0-2": "14", "1-0": "StoneCode", "1-1": "Num", "1-3": "Código identificador da loja", "1-2": "9", "2-0": "LayoutVersion", "2-1": "Num", "2-3": "Versão do Layout do arquivo", "2-2": "3", "3-0": "FileId", "3-1": "Num", "3-3": "Data a que se refere o arquivo", "3-2": "26", "4-0": "ReferenceDate", "4-1": "Date", "4-3": "Data a que se refere o arquivo", "4-2": "8" }, "cols": 4, "rows": 5 } [/block]
{"__v":9,"_id":"5769be0d2e985322008327a2","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"###**Transaction**\nNó filho de **FinancialTransactions **que contém as informações referentes à transação, como valor total, número de parcelas e etc.\n[block:parameters]\n{\n  \"data\": {\n    \"h-1\": \"Tipo\",\n    \"h-0\": \"Campo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"**Events**\",\n    \"0-1\": \"Container\",\n    \"0-2\": \"#\",\n    \"0-3\": \"Contém contadores dos eventos da transação no dia de referência do arquivo.\",\n    \"1-0\": \"AcquirerTransactionKey\",\n    \"1-1\": \"Num\",\n    \"1-2\": \"14\",\n    \"1-3\": \"Identificador único da transação (NSU) gerado pela adquirente\",\n    \"2-0\": \"InitiatorTransactionKey\",\n    \"2-1\": \"Alfa\",\n    \"2-2\": \"128\",\n    \"2-3\": \"Código recebido pelo sistema cliente\",\n    \"3-0\": \"AuthorizationDateTime\",\n    \"3-1\": \"Datetime\",\n    \"3-2\": \"14\",\n    \"3-3\": \"Datetime da autorização (Formato: aaaammddHHmmss)\",\n    \"4-0\": \"CaptureLocalDateTime\",\n    \"4-1\": \"Datetime\",\n    \"4-2\": \"14\",\n    \"4-3\": \"Datetime da captura (Formato: aaaammddHHmmss) no horario local da adquirente\",\n    \"6-0\": \"[AccountType*](doc:accounttype)\",\n    \"6-1\": \"Alfa\",\n    \"6-2\": \"4\",\n    \"6-3\": \"Tipo de conta utilizada na transação crédito, débito, etc…\",\n    \"7-0\": \"[InstallmentType*](doc:installmenttype)\",\n    \"7-1\": \"Alfa\",\n    \"7-2\": \"60\",\n    \"7-3\": \"Tipo de parcelamento utilizado na transação lojista/emissor\",\n    \"8-0\": \"NumberOfInstallments*\",\n    \"8-1\": \"Num\",\n    \"8-2\": \"4\",\n    \"8-3\": \"Número de parcelas\",\n    \"9-0\": \"AuthorizedAmount*\",\n    \"9-1\": \"Float\",\n    \"9-2\": \"20\",\n    \"9-3\": \"Valor autorizado\",\n    \"10-0\": \"CapturedAmount*\",\n    \"10-1\": \"Float\",\n    \"10-2\": \"20\",\n    \"10-3\": \"Valor capturado\",\n    \"11-0\": \"CanceledAmount*\",\n    \"11-1\": \"Float\",\n    \"11-2\": \"20\",\n    \"11-3\": \"Total cancelado\",\n    \"12-0\": \"AuthorizationCurrencyCode*\",\n    \"12-1\": \"Num\",\n    \"12-2\": \"4\",\n    \"12-3\": \"Código da moeda de acordo com a ISO 4217\",\n    \"13-0\": \"IssuerAuthorizationCode*\",\n    \"13-1\": \"Alfa\",\n    \"13-2\": \"6\",\n    \"13-3\": \"Código da autorização fornecido pelo emissor.\",\n    \"14-0\": \"[BrandId*](doc:brandid)\",\n    \"14-1\": \"Num\",\n    \"14-2\": \"2\",\n    \"14-3\": \"Identificador da bandeira do cartão\",\n    \"15-0\": \"CardNumber*\",\n    \"15-1\": \"Alfa\",\n    \"15-2\": \"19\",\n    \"15-3\": \"Número do cartão (truncado)\",\n    \"16-0\": \"**Poi**\",\n    \"16-1\": \"Container\",\n    \"16-2\": \"#\",\n    \"16-3\": \"Contém dados do Ponto de Interação (terminal) que realizou a transação\",\n    \"18-0\": \"**Cancellations** **\",\n    \"18-1\": \"Container\",\n    \"18-2\": \"#\",\n    \"18-3\": \"Contém informações referentes aos cancelamentos, como data de desconto do cancelamento e valor total do cancelamento.\",\n    \"19-0\": \"**Installments**\",\n    \"19-1\": \"Container\",\n    \"19-2\": \"#\",\n    \"19-3\": \"Contém as parcelas da transação\",\n    \"5-0\": \"International*\",\n    \"5-1\": \"Bool\",\n    \"5-2\": \"#\",\n    \"5-3\": \"Indica se é um cartão internacional (True/False)\",\n    \"17-0\": \"[EntryMode](doc:entrymode)\",\n    \"17-1\": \"Num\",\n    \"17-2\": \"2\",\n    \"17-3\": \"Código que identifica o modo de captura da transação\"\n  },\n  \"cols\": 4,\n  \"rows\": 20\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Informativo (Transaction)\",\n  \"body\": \"*** Elementos que aparecem apenas quando há um evento de captura (<Captures>1</Captures>)**\\n **** Elemento que aparece apenas quando há um evento de de cancelamento (<Cancellations>1</Cancellations>)**\"\n}\n[/block]\n###**Events**\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"CancellationCharges\",\n    \"0-1\": \"Num\",\n    \"0-2\": \"9\",\n    \"0-3\": \"Número de descontos de cancelamento\",\n    \"1-0\": \"Cancellations\",\n    \"1-1\": \"Num\",\n    \"1-2\": \"9\",\n    \"1-3\": \"Número de cancelamentos\",\n    \"2-0\": \"Captures\",\n    \"3-0\": \"ChargebackRefunds\",\n    \"4-0\": \"Chargebacks\",\n    \"5-0\": \"Payments\",\n    \"2-1\": \"Num\",\n    \"3-1\": \"Num\",\n    \"4-1\": \"Num\",\n    \"5-1\": \"Num\",\n    \"2-2\": \"9\",\n    \"3-2\": \"9\",\n    \"4-2\": \"9\",\n    \"5-2\": \"9\",\n    \"2-3\": \"Número de capturas\",\n    \"3-3\": \"Número de estornos de chargeback\",\n    \"4-3\": \"Número de chargebacks\",\n    \"5-3\": \"Número de pagamentos\"\n  },\n  \"cols\": 4,\n  \"rows\": 6\n}\n[/block]\n###**Poi**\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"[PoiType](doc:poitype)\",\n    \"0-1\": \"Num\",\n    \"0-2\": \"4\",\n    \"0-3\": \"Tipo do ponto de interação (e-commerce, pos, mobile, etc).\",\n    \"1-0\": \"SerialNumber\",\n    \"1-1\": \"Num\",\n    \"1-2\": \"32\",\n    \"1-3\": \"Número de série do terminal, se existir\"\n  },\n  \"cols\": 4,\n  \"rows\": 2\n}\n[/block]\n###**Cancellations**\nContém uma lista de **Cancellation**\n\n###**Cancellation**\nNó filho de **Cancellations **que contém as informações sobre o cancelamento de uma transação\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-2\": \"Tamanho\",\n    \"h-1\": \"Tipo\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"OperationKey\",\n    \"0-1\": \"Alfa\",\n    \"0-2\": \"32\",\n    \"0-3\": \"identificador único da operação de cancelamento\",\n    \"2-0\": \"CancellationDateTime\",\n    \"2-1\": \"Datetime\",\n    \"2-2\": \"14\",\n    \"2-3\": \"Data hora do cancelamento (Formato: aaaammddHHmmss)\",\n    \"3-0\": \"ReturnedAmount\",\n    \"3-1\": \"Float\",\n    \"3-2\": \"20\",\n    \"3-3\": \"Valor revertido e devolvido ao portador do cartão\",\n    \"4-0\": \"**Billing ***\",\n    \"4-1\": \"Container\",\n    \"4-2\": \"#\",\n    \"4-3\": \"Lista de cobranças relativa ao cancelamento\",\n    \"1-0\": \"InstallmentNumber\",\n    \"1-1\": \"Num\",\n    \"1-2\": \"2\",\n    \"1-3\": \"Parcela a ser descontada\"\n  },\n  \"cols\": 4,\n  \"rows\": 5\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Informativo (Cancellation)\",\n  \"body\": \"*** Container aparece apenas se a transação não tiver sido cancelada no mesmo dia da captura**\"\n}\n[/block]\n###**Billing**\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-2\": \"Tamanho\",\n    \"h-1\": \"Tipo\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"ChargedAmount\",\n    \"0-1\": \"Float\",\n    \"0-2\": \"20\",\n    \"0-3\": \"Valor de desconto do cancelamento (descontado do lojista)\",\n    \"1-0\": \"PrevisionChargeDate\",\n    \"1-1\": \"Datetime\",\n    \"1-2\": \"8\",\n    \"1-3\": \"Data prevista para cobrança (Formato: aaaammdd)\"\n  },\n  \"cols\": 4,\n  \"rows\": 2\n}\n[/block]\n###**Installments**\nContém uma lista de **Installment** (parcelas)\n\n###**Installment**\nNó filho de **Installments **que contém as informações sobre as parcelas de uma transação\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-2\": \"Tamanho\",\n    \"h-1\": \"Tipo\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"InstallmentNumber\",\n    \"1-0\": \"GrossAmount\",\n    \"2-0\": \"NetAmount\",\n    \"3-0\": \"PrevisionPaymentDate *\",\n    \"5-0\": \"**Chargeback ^**\",\n    \"6-0\": \"**ChargebackRefund ^^**\",\n    \"0-1\": \"Num\",\n    \"1-1\": \"Float\",\n    \"2-1\": \"Float\",\n    \"3-1\": \"Datetime\",\n    \"5-1\": \"Container\",\n    \"6-1\": \"Container\",\n    \"0-2\": \"2\",\n    \"1-2\": \"20\",\n    \"2-2\": \"20\",\n    \"3-2\": \"8\",\n    \"5-2\": \"#\",\n    \"6-2\": \"#\",\n    \"0-3\": \"Número da parcela\",\n    \"1-3\": \"Valor bruto da parcela\",\n    \"2-3\": \"Valor líquido da parcela\",\n    \"3-3\": \"Previsão da data de pagamento (Formato: aaaammdd)\",\n    \"5-3\": \"Contém chargebacks relativos a parcela\",\n    \"6-3\": \"Contém estornos de chargeback relativos a parcela\",\n    \"4-0\": \"SuspendedByChargeback **\",\n    \"4-1\": \"Bool\",\n    \"4-2\": \"#\",\n    \"4-3\": \"Este elemento aparecerá nas parcelas ainda não liquidadas quando uma transação sofrer Chargeback (Nunca aparecerá junto com PrevisionPaymentDate)\"\n  },\n  \"cols\": 4,\n  \"rows\": 7\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Informativo (Installment)\",\n  \"body\": \"*** Elemento que aparecerá apenas quando a parcela não estiver suspensa por Chargeback**\\n**** Elemento que aparecerá apenas nas parcelas posteriores à parcela que sofreu Chargeback**\\n<b>^ Elemento só aparece quando houver `Chargeback`</b>\\n<b>^^ Elemento só aparece quando houver `Chargeback` > `Liquidação do Chargeback` > `Reapresentação de Chargeback`</b>\"\n}\n[/block]\n###**Chargeback**\nNó filho de **Installment** que contém informações sobre o chargeback, como data de desconto, Id do chargeback, data em que ocorreu e etc.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"Id\",\n    \"1-0\": \"Amount\",\n    \"2-0\": \"Date\",\n    \"3-0\": \"ChargeDate\",\n    \"4-0\": \"ReasonCode\",\n    \"0-1\": \"Num\",\n    \"0-2\": \"10\",\n    \"0-3\": \"Identificador do chargeback\",\n    \"1-1\": \"Float\",\n    \"1-2\": \"20\",\n    \"1-3\": \"Valor do chargeback\",\n    \"2-1\": \"Datetime\",\n    \"2-2\": \"8\",\n    \"2-3\": \"Data em que ocorreu o chargeback. (Formato: aaaammdd)\",\n    \"3-1\": \"Datetime\",\n    \"3-2\": \"8\",\n    \"3-3\": \"Data em que o chargeback será descontado. (Formato: aaaammdd)\",\n    \"4-1\": \"Num\",\n    \"4-2\": \"8\",\n    \"4-3\": \"Código de motivo do chargeback informado pelo banco emissor\"\n  },\n  \"cols\": 4,\n  \"rows\": 5\n}\n[/block]\n###**ChargebackRefund**\nNó filho de **Installment **que contém informações sobre a reapresentação do chargeback, como a data em que ocorreu a reapresentação, data de pagamento, etc.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"Id\",\n    \"0-1\": \"Num\",\n    \"0-2\": \"10\",\n    \"0-3\": \"Identificador da reapresentação do chargeback\",\n    \"1-0\": \"Amount\",\n    \"1-1\": \"Float\",\n    \"1-2\": \"20\",\n    \"1-3\": \"Valor da reapresentação do chargeback\",\n    \"2-0\": \"Date\",\n    \"2-1\": \"Datetime\",\n    \"3-1\": \"Datetime\",\n    \"2-2\": \"8\",\n    \"3-2\": \"8\",\n    \"3-0\": \"PaymentDate\",\n    \"2-3\": \"Data em que ocorreu a reapresentação do chargeback. (Formato: aaaammdd)\",\n    \"3-3\": \"Data em que a reapresentação o chargeback será creditada. (Formato: aaaammdd)\",\n    \"4-0\": \"ReasonCode\",\n    \"4-1\": \"Num\",\n    \"4-2\": \"8\",\n    \"4-3\": \"Código de motivo do chargeback informado pelo banco emissor\"\n  },\n  \"cols\": 4,\n  \"rows\": 5\n}\n[/block]","category":"5769bd981f52a00e006a973b","createdAt":"2016-06-21T22:22:05.375Z","excerpt":"Descrição dos Containers e atributos dentro de **FinancialTransactions**. \n+ Contém uma lista de **Transaction**","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","next":{"description":"","pages":[]},"order":2,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"financialtransactions","sync_unique":"","title":"FinancialTransactions","type":"basic","updates":[],"user":"5758517f3479732b00f44be0","version":"569fe668c0864f170056517a","childrenPages":[]}

FinancialTransactions

Descrição dos Containers e atributos dentro de **FinancialTransactions**. + Contém uma lista de **Transaction**

###**Transaction** Nó filho de **FinancialTransactions **que contém as informações referentes à transação, como valor total, número de parcelas e etc. [block:parameters] { "data": { "h-1": "Tipo", "h-0": "Campo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "**Events**", "0-1": "Container", "0-2": "#", "0-3": "Contém contadores dos eventos da transação no dia de referência do arquivo.", "1-0": "AcquirerTransactionKey", "1-1": "Num", "1-2": "14", "1-3": "Identificador único da transação (NSU) gerado pela adquirente", "2-0": "InitiatorTransactionKey", "2-1": "Alfa", "2-2": "128", "2-3": "Código recebido pelo sistema cliente", "3-0": "AuthorizationDateTime", "3-1": "Datetime", "3-2": "14", "3-3": "Datetime da autorização (Formato: aaaammddHHmmss)", "4-0": "CaptureLocalDateTime", "4-1": "Datetime", "4-2": "14", "4-3": "Datetime da captura (Formato: aaaammddHHmmss) no horario local da adquirente", "6-0": "[AccountType*](doc:accounttype)", "6-1": "Alfa", "6-2": "4", "6-3": "Tipo de conta utilizada na transação crédito, débito, etc…", "7-0": "[InstallmentType*](doc:installmenttype)", "7-1": "Alfa", "7-2": "60", "7-3": "Tipo de parcelamento utilizado na transação lojista/emissor", "8-0": "NumberOfInstallments*", "8-1": "Num", "8-2": "4", "8-3": "Número de parcelas", "9-0": "AuthorizedAmount*", "9-1": "Float", "9-2": "20", "9-3": "Valor autorizado", "10-0": "CapturedAmount*", "10-1": "Float", "10-2": "20", "10-3": "Valor capturado", "11-0": "CanceledAmount*", "11-1": "Float", "11-2": "20", "11-3": "Total cancelado", "12-0": "AuthorizationCurrencyCode*", "12-1": "Num", "12-2": "4", "12-3": "Código da moeda de acordo com a ISO 4217", "13-0": "IssuerAuthorizationCode*", "13-1": "Alfa", "13-2": "6", "13-3": "Código da autorização fornecido pelo emissor.", "14-0": "[BrandId*](doc:brandid)", "14-1": "Num", "14-2": "2", "14-3": "Identificador da bandeira do cartão", "15-0": "CardNumber*", "15-1": "Alfa", "15-2": "19", "15-3": "Número do cartão (truncado)", "16-0": "**Poi**", "16-1": "Container", "16-2": "#", "16-3": "Contém dados do Ponto de Interação (terminal) que realizou a transação", "18-0": "**Cancellations** **", "18-1": "Container", "18-2": "#", "18-3": "Contém informações referentes aos cancelamentos, como data de desconto do cancelamento e valor total do cancelamento.", "19-0": "**Installments**", "19-1": "Container", "19-2": "#", "19-3": "Contém as parcelas da transação", "5-0": "International*", "5-1": "Bool", "5-2": "#", "5-3": "Indica se é um cartão internacional (True/False)", "17-0": "[EntryMode](doc:entrymode)", "17-1": "Num", "17-2": "2", "17-3": "Código que identifica o modo de captura da transação" }, "cols": 4, "rows": 20 } [/block] [block:callout] { "type": "warning", "title": "Informativo (Transaction)", "body": "*** Elementos que aparecem apenas quando há um evento de captura (<Captures>1</Captures>)**\n **** Elemento que aparece apenas quando há um evento de de cancelamento (<Cancellations>1</Cancellations>)**" } [/block] ###**Events** [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "CancellationCharges", "0-1": "Num", "0-2": "9", "0-3": "Número de descontos de cancelamento", "1-0": "Cancellations", "1-1": "Num", "1-2": "9", "1-3": "Número de cancelamentos", "2-0": "Captures", "3-0": "ChargebackRefunds", "4-0": "Chargebacks", "5-0": "Payments", "2-1": "Num", "3-1": "Num", "4-1": "Num", "5-1": "Num", "2-2": "9", "3-2": "9", "4-2": "9", "5-2": "9", "2-3": "Número de capturas", "3-3": "Número de estornos de chargeback", "4-3": "Número de chargebacks", "5-3": "Número de pagamentos" }, "cols": 4, "rows": 6 } [/block] ###**Poi** [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "[PoiType](doc:poitype)", "0-1": "Num", "0-2": "4", "0-3": "Tipo do ponto de interação (e-commerce, pos, mobile, etc).", "1-0": "SerialNumber", "1-1": "Num", "1-2": "32", "1-3": "Número de série do terminal, se existir" }, "cols": 4, "rows": 2 } [/block] ###**Cancellations** Contém uma lista de **Cancellation** ###**Cancellation** Nó filho de **Cancellations **que contém as informações sobre o cancelamento de uma transação [block:parameters] { "data": { "h-0": "Campo", "h-2": "Tamanho", "h-1": "Tipo", "h-3": "Descrição", "0-0": "OperationKey", "0-1": "Alfa", "0-2": "32", "0-3": "identificador único da operação de cancelamento", "2-0": "CancellationDateTime", "2-1": "Datetime", "2-2": "14", "2-3": "Data hora do cancelamento (Formato: aaaammddHHmmss)", "3-0": "ReturnedAmount", "3-1": "Float", "3-2": "20", "3-3": "Valor revertido e devolvido ao portador do cartão", "4-0": "**Billing ***", "4-1": "Container", "4-2": "#", "4-3": "Lista de cobranças relativa ao cancelamento", "1-0": "InstallmentNumber", "1-1": "Num", "1-2": "2", "1-3": "Parcela a ser descontada" }, "cols": 4, "rows": 5 } [/block] [block:callout] { "type": "warning", "title": "Informativo (Cancellation)", "body": "*** Container aparece apenas se a transação não tiver sido cancelada no mesmo dia da captura**" } [/block] ###**Billing** [block:parameters] { "data": { "h-0": "Campo", "h-2": "Tamanho", "h-1": "Tipo", "h-3": "Descrição", "0-0": "ChargedAmount", "0-1": "Float", "0-2": "20", "0-3": "Valor de desconto do cancelamento (descontado do lojista)", "1-0": "PrevisionChargeDate", "1-1": "Datetime", "1-2": "8", "1-3": "Data prevista para cobrança (Formato: aaaammdd)" }, "cols": 4, "rows": 2 } [/block] ###**Installments** Contém uma lista de **Installment** (parcelas) ###**Installment** Nó filho de **Installments **que contém as informações sobre as parcelas de uma transação [block:parameters] { "data": { "h-0": "Campo", "h-2": "Tamanho", "h-1": "Tipo", "h-3": "Descrição", "0-0": "InstallmentNumber", "1-0": "GrossAmount", "2-0": "NetAmount", "3-0": "PrevisionPaymentDate *", "5-0": "**Chargeback ^**", "6-0": "**ChargebackRefund ^^**", "0-1": "Num", "1-1": "Float", "2-1": "Float", "3-1": "Datetime", "5-1": "Container", "6-1": "Container", "0-2": "2", "1-2": "20", "2-2": "20", "3-2": "8", "5-2": "#", "6-2": "#", "0-3": "Número da parcela", "1-3": "Valor bruto da parcela", "2-3": "Valor líquido da parcela", "3-3": "Previsão da data de pagamento (Formato: aaaammdd)", "5-3": "Contém chargebacks relativos a parcela", "6-3": "Contém estornos de chargeback relativos a parcela", "4-0": "SuspendedByChargeback **", "4-1": "Bool", "4-2": "#", "4-3": "Este elemento aparecerá nas parcelas ainda não liquidadas quando uma transação sofrer Chargeback (Nunca aparecerá junto com PrevisionPaymentDate)" }, "cols": 4, "rows": 7 } [/block] [block:callout] { "type": "warning", "title": "Informativo (Installment)", "body": "*** Elemento que aparecerá apenas quando a parcela não estiver suspensa por Chargeback**\n**** Elemento que aparecerá apenas nas parcelas posteriores à parcela que sofreu Chargeback**\n<b>^ Elemento só aparece quando houver `Chargeback`</b>\n<b>^^ Elemento só aparece quando houver `Chargeback` > `Liquidação do Chargeback` > `Reapresentação de Chargeback`</b>" } [/block] ###**Chargeback** Nó filho de **Installment** que contém informações sobre o chargeback, como data de desconto, Id do chargeback, data em que ocorreu e etc. [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "Id", "1-0": "Amount", "2-0": "Date", "3-0": "ChargeDate", "4-0": "ReasonCode", "0-1": "Num", "0-2": "10", "0-3": "Identificador do chargeback", "1-1": "Float", "1-2": "20", "1-3": "Valor do chargeback", "2-1": "Datetime", "2-2": "8", "2-3": "Data em que ocorreu o chargeback. (Formato: aaaammdd)", "3-1": "Datetime", "3-2": "8", "3-3": "Data em que o chargeback será descontado. (Formato: aaaammdd)", "4-1": "Num", "4-2": "8", "4-3": "Código de motivo do chargeback informado pelo banco emissor" }, "cols": 4, "rows": 5 } [/block] ###**ChargebackRefund** Nó filho de **Installment **que contém informações sobre a reapresentação do chargeback, como a data em que ocorreu a reapresentação, data de pagamento, etc. [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "Id", "0-1": "Num", "0-2": "10", "0-3": "Identificador da reapresentação do chargeback", "1-0": "Amount", "1-1": "Float", "1-2": "20", "1-3": "Valor da reapresentação do chargeback", "2-0": "Date", "2-1": "Datetime", "3-1": "Datetime", "2-2": "8", "3-2": "8", "3-0": "PaymentDate", "2-3": "Data em que ocorreu a reapresentação do chargeback. (Formato: aaaammdd)", "3-3": "Data em que a reapresentação o chargeback será creditada. (Formato: aaaammdd)", "4-0": "ReasonCode", "4-1": "Num", "4-2": "8", "4-3": "Código de motivo do chargeback informado pelo banco emissor" }, "cols": 4, "rows": 5 } [/block]
###**Transaction** Nó filho de **FinancialTransactions **que contém as informações referentes à transação, como valor total, número de parcelas e etc. [block:parameters] { "data": { "h-1": "Tipo", "h-0": "Campo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "**Events**", "0-1": "Container", "0-2": "#", "0-3": "Contém contadores dos eventos da transação no dia de referência do arquivo.", "1-0": "AcquirerTransactionKey", "1-1": "Num", "1-2": "14", "1-3": "Identificador único da transação (NSU) gerado pela adquirente", "2-0": "InitiatorTransactionKey", "2-1": "Alfa", "2-2": "128", "2-3": "Código recebido pelo sistema cliente", "3-0": "AuthorizationDateTime", "3-1": "Datetime", "3-2": "14", "3-3": "Datetime da autorização (Formato: aaaammddHHmmss)", "4-0": "CaptureLocalDateTime", "4-1": "Datetime", "4-2": "14", "4-3": "Datetime da captura (Formato: aaaammddHHmmss) no horario local da adquirente", "6-0": "[AccountType*](doc:accounttype)", "6-1": "Alfa", "6-2": "4", "6-3": "Tipo de conta utilizada na transação crédito, débito, etc…", "7-0": "[InstallmentType*](doc:installmenttype)", "7-1": "Alfa", "7-2": "60", "7-3": "Tipo de parcelamento utilizado na transação lojista/emissor", "8-0": "NumberOfInstallments*", "8-1": "Num", "8-2": "4", "8-3": "Número de parcelas", "9-0": "AuthorizedAmount*", "9-1": "Float", "9-2": "20", "9-3": "Valor autorizado", "10-0": "CapturedAmount*", "10-1": "Float", "10-2": "20", "10-3": "Valor capturado", "11-0": "CanceledAmount*", "11-1": "Float", "11-2": "20", "11-3": "Total cancelado", "12-0": "AuthorizationCurrencyCode*", "12-1": "Num", "12-2": "4", "12-3": "Código da moeda de acordo com a ISO 4217", "13-0": "IssuerAuthorizationCode*", "13-1": "Alfa", "13-2": "6", "13-3": "Código da autorização fornecido pelo emissor.", "14-0": "[BrandId*](doc:brandid)", "14-1": "Num", "14-2": "2", "14-3": "Identificador da bandeira do cartão", "15-0": "CardNumber*", "15-1": "Alfa", "15-2": "19", "15-3": "Número do cartão (truncado)", "16-0": "**Poi**", "16-1": "Container", "16-2": "#", "16-3": "Contém dados do Ponto de Interação (terminal) que realizou a transação", "18-0": "**Cancellations** **", "18-1": "Container", "18-2": "#", "18-3": "Contém informações referentes aos cancelamentos, como data de desconto do cancelamento e valor total do cancelamento.", "19-0": "**Installments**", "19-1": "Container", "19-2": "#", "19-3": "Contém as parcelas da transação", "5-0": "International*", "5-1": "Bool", "5-2": "#", "5-3": "Indica se é um cartão internacional (True/False)", "17-0": "[EntryMode](doc:entrymode)", "17-1": "Num", "17-2": "2", "17-3": "Código que identifica o modo de captura da transação" }, "cols": 4, "rows": 20 } [/block] [block:callout] { "type": "warning", "title": "Informativo (Transaction)", "body": "*** Elementos que aparecem apenas quando há um evento de captura (<Captures>1</Captures>)**\n **** Elemento que aparece apenas quando há um evento de de cancelamento (<Cancellations>1</Cancellations>)**" } [/block] ###**Events** [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "CancellationCharges", "0-1": "Num", "0-2": "9", "0-3": "Número de descontos de cancelamento", "1-0": "Cancellations", "1-1": "Num", "1-2": "9", "1-3": "Número de cancelamentos", "2-0": "Captures", "3-0": "ChargebackRefunds", "4-0": "Chargebacks", "5-0": "Payments", "2-1": "Num", "3-1": "Num", "4-1": "Num", "5-1": "Num", "2-2": "9", "3-2": "9", "4-2": "9", "5-2": "9", "2-3": "Número de capturas", "3-3": "Número de estornos de chargeback", "4-3": "Número de chargebacks", "5-3": "Número de pagamentos" }, "cols": 4, "rows": 6 } [/block] ###**Poi** [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "[PoiType](doc:poitype)", "0-1": "Num", "0-2": "4", "0-3": "Tipo do ponto de interação (e-commerce, pos, mobile, etc).", "1-0": "SerialNumber", "1-1": "Num", "1-2": "32", "1-3": "Número de série do terminal, se existir" }, "cols": 4, "rows": 2 } [/block] ###**Cancellations** Contém uma lista de **Cancellation** ###**Cancellation** Nó filho de **Cancellations **que contém as informações sobre o cancelamento de uma transação [block:parameters] { "data": { "h-0": "Campo", "h-2": "Tamanho", "h-1": "Tipo", "h-3": "Descrição", "0-0": "OperationKey", "0-1": "Alfa", "0-2": "32", "0-3": "identificador único da operação de cancelamento", "2-0": "CancellationDateTime", "2-1": "Datetime", "2-2": "14", "2-3": "Data hora do cancelamento (Formato: aaaammddHHmmss)", "3-0": "ReturnedAmount", "3-1": "Float", "3-2": "20", "3-3": "Valor revertido e devolvido ao portador do cartão", "4-0": "**Billing ***", "4-1": "Container", "4-2": "#", "4-3": "Lista de cobranças relativa ao cancelamento", "1-0": "InstallmentNumber", "1-1": "Num", "1-2": "2", "1-3": "Parcela a ser descontada" }, "cols": 4, "rows": 5 } [/block] [block:callout] { "type": "warning", "title": "Informativo (Cancellation)", "body": "*** Container aparece apenas se a transação não tiver sido cancelada no mesmo dia da captura**" } [/block] ###**Billing** [block:parameters] { "data": { "h-0": "Campo", "h-2": "Tamanho", "h-1": "Tipo", "h-3": "Descrição", "0-0": "ChargedAmount", "0-1": "Float", "0-2": "20", "0-3": "Valor de desconto do cancelamento (descontado do lojista)", "1-0": "PrevisionChargeDate", "1-1": "Datetime", "1-2": "8", "1-3": "Data prevista para cobrança (Formato: aaaammdd)" }, "cols": 4, "rows": 2 } [/block] ###**Installments** Contém uma lista de **Installment** (parcelas) ###**Installment** Nó filho de **Installments **que contém as informações sobre as parcelas de uma transação [block:parameters] { "data": { "h-0": "Campo", "h-2": "Tamanho", "h-1": "Tipo", "h-3": "Descrição", "0-0": "InstallmentNumber", "1-0": "GrossAmount", "2-0": "NetAmount", "3-0": "PrevisionPaymentDate *", "5-0": "**Chargeback ^**", "6-0": "**ChargebackRefund ^^**", "0-1": "Num", "1-1": "Float", "2-1": "Float", "3-1": "Datetime", "5-1": "Container", "6-1": "Container", "0-2": "2", "1-2": "20", "2-2": "20", "3-2": "8", "5-2": "#", "6-2": "#", "0-3": "Número da parcela", "1-3": "Valor bruto da parcela", "2-3": "Valor líquido da parcela", "3-3": "Previsão da data de pagamento (Formato: aaaammdd)", "5-3": "Contém chargebacks relativos a parcela", "6-3": "Contém estornos de chargeback relativos a parcela", "4-0": "SuspendedByChargeback **", "4-1": "Bool", "4-2": "#", "4-3": "Este elemento aparecerá nas parcelas ainda não liquidadas quando uma transação sofrer Chargeback (Nunca aparecerá junto com PrevisionPaymentDate)" }, "cols": 4, "rows": 7 } [/block] [block:callout] { "type": "warning", "title": "Informativo (Installment)", "body": "*** Elemento que aparecerá apenas quando a parcela não estiver suspensa por Chargeback**\n**** Elemento que aparecerá apenas nas parcelas posteriores à parcela que sofreu Chargeback**\n<b>^ Elemento só aparece quando houver `Chargeback`</b>\n<b>^^ Elemento só aparece quando houver `Chargeback` > `Liquidação do Chargeback` > `Reapresentação de Chargeback`</b>" } [/block] ###**Chargeback** Nó filho de **Installment** que contém informações sobre o chargeback, como data de desconto, Id do chargeback, data em que ocorreu e etc. [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "Id", "1-0": "Amount", "2-0": "Date", "3-0": "ChargeDate", "4-0": "ReasonCode", "0-1": "Num", "0-2": "10", "0-3": "Identificador do chargeback", "1-1": "Float", "1-2": "20", "1-3": "Valor do chargeback", "2-1": "Datetime", "2-2": "8", "2-3": "Data em que ocorreu o chargeback. (Formato: aaaammdd)", "3-1": "Datetime", "3-2": "8", "3-3": "Data em que o chargeback será descontado. (Formato: aaaammdd)", "4-1": "Num", "4-2": "8", "4-3": "Código de motivo do chargeback informado pelo banco emissor" }, "cols": 4, "rows": 5 } [/block] ###**ChargebackRefund** Nó filho de **Installment **que contém informações sobre a reapresentação do chargeback, como a data em que ocorreu a reapresentação, data de pagamento, etc. [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "Id", "0-1": "Num", "0-2": "10", "0-3": "Identificador da reapresentação do chargeback", "1-0": "Amount", "1-1": "Float", "1-2": "20", "1-3": "Valor da reapresentação do chargeback", "2-0": "Date", "2-1": "Datetime", "3-1": "Datetime", "2-2": "8", "3-2": "8", "3-0": "PaymentDate", "2-3": "Data em que ocorreu a reapresentação do chargeback. (Formato: aaaammdd)", "3-3": "Data em que a reapresentação o chargeback será creditada. (Formato: aaaammdd)", "4-0": "ReasonCode", "4-1": "Num", "4-2": "8", "4-3": "Código de motivo do chargeback informado pelo banco emissor" }, "cols": 4, "rows": 5 } [/block]
{"__v":2,"_id":"576aa9f57de8223400762d2f","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"###**Event**\nNó filho de **FinancialEvents **, descreve os detalhes do evento ocorrido.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"EventId\",\n    \"1-0\": \"Description\",\n    \"2-0\": \"[Type](doc:type)\",\n    \"3-0\": \"PrevisionPaymentDate\",\n    \"4-0\": \"Amount\",\n    \"0-1\": \"Num\",\n    \"1-1\": \"Alfa\",\n    \"2-1\": \"Num\",\n    \"3-1\": \"Date\",\n    \"4-1\": \"Float\",\n    \"0-2\": \"10\",\n    \"1-2\": \"60\",\n    \"2-2\": \"2\",\n    \"3-2\": \"8\",\n    \"4-2\": \"20\",\n    \"0-3\": \"Código identificador do evento\",\n    \"1-3\": \"Descrição do evento\",\n    \"2-3\": \"Tipo do evento\",\n    \"3-3\": \"Previsão da data de cobrança\",\n    \"4-3\": \"Valor do evento\"\n  },\n  \"cols\": 4,\n  \"rows\": 5\n}\n[/block]","category":"5769bd981f52a00e006a973b","createdAt":"2016-06-22T15:08:37.178Z","excerpt":"Descrição dos Containers e atributos dentro de **FinancialEvents**.\n+ Contém uma lista de **Event**","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","order":3,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"financialevents","sync_unique":"","title":"FinancialEvents","type":"basic","updates":[],"user":"5758517f3479732b00f44be0","version":"569fe668c0864f170056517a","childrenPages":[]}

FinancialEvents

Descrição dos Containers e atributos dentro de **FinancialEvents**. + Contém uma lista de **Event**

###**Event** Nó filho de **FinancialEvents **, descreve os detalhes do evento ocorrido. [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "EventId", "1-0": "Description", "2-0": "[Type](doc:type)", "3-0": "PrevisionPaymentDate", "4-0": "Amount", "0-1": "Num", "1-1": "Alfa", "2-1": "Num", "3-1": "Date", "4-1": "Float", "0-2": "10", "1-2": "60", "2-2": "2", "3-2": "8", "4-2": "20", "0-3": "Código identificador do evento", "1-3": "Descrição do evento", "2-3": "Tipo do evento", "3-3": "Previsão da data de cobrança", "4-3": "Valor do evento" }, "cols": 4, "rows": 5 } [/block]
###**Event** Nó filho de **FinancialEvents **, descreve os detalhes do evento ocorrido. [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "EventId", "1-0": "Description", "2-0": "[Type](doc:type)", "3-0": "PrevisionPaymentDate", "4-0": "Amount", "0-1": "Num", "1-1": "Alfa", "2-1": "Num", "3-1": "Date", "4-1": "Float", "0-2": "10", "1-2": "60", "2-2": "2", "3-2": "8", "4-2": "20", "0-3": "Código identificador do evento", "1-3": "Descrição do evento", "2-3": "Tipo do evento", "3-3": "Previsão da data de cobrança", "4-3": "Valor do evento" }, "cols": 4, "rows": 5 } [/block]
{"__v":1,"_id":"576aaa4542bf703200c595e9","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"Segue exatamente a mesma estrutura do nó **FinancialTransactions** descrito acima, com apenas algumas peculiariedades que serão demonstradas abaixo:\n\n###**Transaction**\nNó filho de **FinancialTransactionsAccounts** que contém as informações referentes à transação, como valor total, número de parcelas e etc.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"Events\",\n    \"0-1\": \"Container\",\n    \"0-2\": \"#\",\n    \"0-3\": \"Igual ao descrito em FinancialTransactions\",\n    \"1-0\": \"AcquirerTransactionKey\",\n    \"2-0\": \"InitiatorTransactionKey\",\n    \"3-0\": \"AuthorizationDateTime\",\n    \"4-0\": \"CaptureLocalDateTime\",\n    \"5-0\": \"**Poi**\",\n    \"5-1\": \"Container\",\n    \"5-2\": \"#\",\n    \"5-3\": \"Igual ao descrito em FinancialTransactions\",\n    \"7-0\": \"**Installments**\",\n    \"6-0\": \"**Cancellations***\",\n    \"6-1\": \"Container\",\n    \"6-2\": \"#\",\n    \"6-3\": \"Igual ao descrito em FinancialTransactions, com algumas mudanças\",\n    \"7-1\": \"Container\",\n    \"7-2\": \"#\",\n    \"7-3\": \"Igual ao descrito em FinancialTransactions, com algumas mudanças\",\n    \"1-3\": \"Identificador único da transação (NSU) gerado pela adquirente\",\n    \"1-1\": \"Num\",\n    \"1-2\": \"14\",\n    \"2-1\": \"Alfa\",\n    \"2-2\": \"128\",\n    \"2-3\": \"Código recebido pelo sistema cliente\",\n    \"3-1\": \"Datetime\",\n    \"3-2\": \"14\",\n    \"3-3\": \"Datetime da autorização (Formato: aaaammddHHmmss)\",\n    \"4-1\": \"Datetime\",\n    \"4-2\": \"14\",\n    \"4-3\": \"Datetime da captura (Formato: aaaammddHHmmss) no horario local da adquirente\"\n  },\n  \"cols\": 4,\n  \"rows\": 8\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Informativo (Transaction)\",\n  \"body\": \"*** Elemento que aparecerá quando houver o desconto de um cancelamento (<CancellationCharges>1</CancellationCharges>)**\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"danger\",\n  \"title\": \"Alerta\",\n  \"body\": \"É importante armazenar as informações como IssuerAuthorizationCode, CardNumber, BrandId e etc, durante o evento de captura. Pois quando a transação aparecer em FinancialTransactionsAccounts (liquidação), virá apenas com os NSU para que possa identificar qual transação está sendo paga/descontada.\"\n}\n[/block]\n###**Cancellations**\nContém uma lista de **Cancellation**\n\n###**Cancellation**\nNó filho de **Cancellations **que contém as informações sobre o desconto de um cancelamento\n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"InstallmentNumber\",\n    \"1-0\": \"OperationKey\",\n    \"2-0\": \"CancellationDateTime\",\n    \"3-0\": \"ReturnedAmount\",\n    \"4-0\": \"**Billing**\",\n    \"1-1\": \"Alfa\",\n    \"1-2\": \"32\",\n    \"1-3\": \"Identificador da parcela que foi descontada\",\n    \"0-3\": \"identificador único da operação de cancelamento\",\n    \"2-3\": \"Data hora do cancelamento (Formato: aaaammddHHmmss)\",\n    \"3-3\": \"Valor revertido e devolvido ao portador do cartão\",\n    \"4-3\": \"Lista de cobranças relativa ao cancelamento\",\n    \"0-1\": \"Num\",\n    \"0-2\": \"2\",\n    \"2-1\": \"Datetime\",\n    \"2-2\": \"14\",\n    \"3-1\": \"Float\",\n    \"3-2\": \"20\",\n    \"4-1\": \"Container\",\n    \"4-2\": \"#\",\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\"\n  },\n  \"cols\": 4,\n  \"rows\": 5\n}\n[/block]\n###**Billing**\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"ChargedAmount\",\n    \"1-0\": \"ChargeDate\",\n    \"1-1\": \"Datetime\",\n    \"0-1\": \"Float\",\n    \"0-2\": \"20\",\n    \"1-2\": \"8\",\n    \"0-3\": \"Valor de desconto do cancelamento (descontado do lojista)\",\n    \"1-3\": \"Data da cobrança (Formato: aaaammdd)\"\n  },\n  \"cols\": 4,\n  \"rows\": 2\n}\n[/block]\n###**Installments**\nContém uma lista de **Installment** (parcelas)\n\n###**Installment**\nNó filho de **Installments **que contém as informações sobre as parcelas de uma transação\n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"InstallmentNumber\",\n    \"1-0\": \"GrossAmount\",\n    \"2-0\": \"NetAmount\",\n    \"3-0\": \"PaymentDate\",\n    \"8-0\": \"**Chargeback^**\",\n    \"9-0\": \"**ChargebackRefund^^**\",\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"8-3\": \"Igual ao descrito em FinancialTransactions\",\n    \"9-3\": \"Igual ao descrito em FinancialTransactions\",\n    \"8-1\": \"Container\",\n    \"8-2\": \"#\",\n    \"9-1\": \"Container\",\n    \"9-2\": \"#\",\n    \"7-0\": \"PaymentId\",\n    \"0-1\": \"Num\",\n    \"0-2\": \"2\",\n    \"0-3\": \"Número da parcela\",\n    \"4-0\": \"AdvanceRateAmount*\",\n    \"5-0\": \"AdvancedReceivableOriginalPaymentDate*\",\n    \"6-0\": \"SuspendedByChargeback**\",\n    \"1-1\": \"Float\",\n    \"2-1\": \"Float\",\n    \"3-1\": \"Datetime\",\n    \"4-1\": \"Float\",\n    \"5-1\": \"Datetime\",\n    \"6-1\": \"Bool\",\n    \"7-1\": \"Num\",\n    \"6-2\": \"#\",\n    \"1-2\": \"20\",\n    \"2-2\": \"20\",\n    \"3-2\": \"8\",\n    \"4-2\": \"20\",\n    \"5-2\": \"8\",\n    \"7-2\": \"9\",\n    \"1-3\": \"Valor bruto da parcela\",\n    \"2-3\": \"Valor liquido da parcela\",\n    \"3-3\": \"Data de pagamento da parcela. (Formato: aaaammdd)\",\n    \"4-3\": \"Valor cobrado pela antecipação de recebível\",\n    \"5-3\": \"Data original de pagamento do recebível adiantado\",\n    \"6-3\": \"Marcador se o pagamento da parcela está suspensa por Chargeback\",\n    \"7-3\": \"Referência do elemento de pagamento (Payments) no qual a liquidação dessa parcela foi incluída\"\n  },\n  \"cols\": 4,\n  \"rows\": 10\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Informativo (Installment | FinancialTransactionsAccounts)\",\n  \"body\": \"*** Elementos que só aparecem quando houver Antecipação**\\n**** Elemento que aparecerá apenas nas parcelas posteriores à parcela que sofreu Chargeback**\\n<b>^ Elemento só aparece quando houver `Chargeback` > `Liquidação do Chargeback`</b>\\n<b>^^ Elemento só aparece quando houver `Chargeback` > `Liquidação do Chargeback` > `Reapresentação de Chargeback` > `Liquidação da Reapresentação do Chargeback`</b>\"\n}\n[/block]","category":"5769bd981f52a00e006a973b","createdAt":"2016-06-22T15:09:57.396Z","excerpt":"Descrição dos Containers e atributos dentro de **FinancialTransactionsAccounts**. \n+ Contém uma lista de **Transaction**","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","order":4,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"financialtransactionsaccounts","sync_unique":"","title":"FinancialTransactionsAccounts","type":"basic","updates":[],"user":"5758517f3479732b00f44be0","version":"569fe668c0864f170056517a","childrenPages":[]}

FinancialTransactionsAccounts

Descrição dos Containers e atributos dentro de **FinancialTransactionsAccounts**. + Contém uma lista de **Transaction**

Segue exatamente a mesma estrutura do nó **FinancialTransactions** descrito acima, com apenas algumas peculiariedades que serão demonstradas abaixo: ###**Transaction** Nó filho de **FinancialTransactionsAccounts** que contém as informações referentes à transação, como valor total, número de parcelas e etc. [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "Events", "0-1": "Container", "0-2": "#", "0-3": "Igual ao descrito em FinancialTransactions", "1-0": "AcquirerTransactionKey", "2-0": "InitiatorTransactionKey", "3-0": "AuthorizationDateTime", "4-0": "CaptureLocalDateTime", "5-0": "**Poi**", "5-1": "Container", "5-2": "#", "5-3": "Igual ao descrito em FinancialTransactions", "7-0": "**Installments**", "6-0": "**Cancellations***", "6-1": "Container", "6-2": "#", "6-3": "Igual ao descrito em FinancialTransactions, com algumas mudanças", "7-1": "Container", "7-2": "#", "7-3": "Igual ao descrito em FinancialTransactions, com algumas mudanças", "1-3": "Identificador único da transação (NSU) gerado pela adquirente", "1-1": "Num", "1-2": "14", "2-1": "Alfa", "2-2": "128", "2-3": "Código recebido pelo sistema cliente", "3-1": "Datetime", "3-2": "14", "3-3": "Datetime da autorização (Formato: aaaammddHHmmss)", "4-1": "Datetime", "4-2": "14", "4-3": "Datetime da captura (Formato: aaaammddHHmmss) no horario local da adquirente" }, "cols": 4, "rows": 8 } [/block] [block:callout] { "type": "warning", "title": "Informativo (Transaction)", "body": "*** Elemento que aparecerá quando houver o desconto de um cancelamento (<CancellationCharges>1</CancellationCharges>)**" } [/block] [block:callout] { "type": "danger", "title": "Alerta", "body": "É importante armazenar as informações como IssuerAuthorizationCode, CardNumber, BrandId e etc, durante o evento de captura. Pois quando a transação aparecer em FinancialTransactionsAccounts (liquidação), virá apenas com os NSU para que possa identificar qual transação está sendo paga/descontada." } [/block] ###**Cancellations** Contém uma lista de **Cancellation** ###**Cancellation** Nó filho de **Cancellations **que contém as informações sobre o desconto de um cancelamento [block:parameters] { "data": { "0-0": "InstallmentNumber", "1-0": "OperationKey", "2-0": "CancellationDateTime", "3-0": "ReturnedAmount", "4-0": "**Billing**", "1-1": "Alfa", "1-2": "32", "1-3": "Identificador da parcela que foi descontada", "0-3": "identificador único da operação de cancelamento", "2-3": "Data hora do cancelamento (Formato: aaaammddHHmmss)", "3-3": "Valor revertido e devolvido ao portador do cartão", "4-3": "Lista de cobranças relativa ao cancelamento", "0-1": "Num", "0-2": "2", "2-1": "Datetime", "2-2": "14", "3-1": "Float", "3-2": "20", "4-1": "Container", "4-2": "#", "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição" }, "cols": 4, "rows": 5 } [/block] ###**Billing** [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "ChargedAmount", "1-0": "ChargeDate", "1-1": "Datetime", "0-1": "Float", "0-2": "20", "1-2": "8", "0-3": "Valor de desconto do cancelamento (descontado do lojista)", "1-3": "Data da cobrança (Formato: aaaammdd)" }, "cols": 4, "rows": 2 } [/block] ###**Installments** Contém uma lista de **Installment** (parcelas) ###**Installment** Nó filho de **Installments **que contém as informações sobre as parcelas de uma transação [block:parameters] { "data": { "0-0": "InstallmentNumber", "1-0": "GrossAmount", "2-0": "NetAmount", "3-0": "PaymentDate", "8-0": "**Chargeback^**", "9-0": "**ChargebackRefund^^**", "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "8-3": "Igual ao descrito em FinancialTransactions", "9-3": "Igual ao descrito em FinancialTransactions", "8-1": "Container", "8-2": "#", "9-1": "Container", "9-2": "#", "7-0": "PaymentId", "0-1": "Num", "0-2": "2", "0-3": "Número da parcela", "4-0": "AdvanceRateAmount*", "5-0": "AdvancedReceivableOriginalPaymentDate*", "6-0": "SuspendedByChargeback**", "1-1": "Float", "2-1": "Float", "3-1": "Datetime", "4-1": "Float", "5-1": "Datetime", "6-1": "Bool", "7-1": "Num", "6-2": "#", "1-2": "20", "2-2": "20", "3-2": "8", "4-2": "20", "5-2": "8", "7-2": "9", "1-3": "Valor bruto da parcela", "2-3": "Valor liquido da parcela", "3-3": "Data de pagamento da parcela. (Formato: aaaammdd)", "4-3": "Valor cobrado pela antecipação de recebível", "5-3": "Data original de pagamento do recebível adiantado", "6-3": "Marcador se o pagamento da parcela está suspensa por Chargeback", "7-3": "Referência do elemento de pagamento (Payments) no qual a liquidação dessa parcela foi incluída" }, "cols": 4, "rows": 10 } [/block] [block:callout] { "type": "warning", "title": "Informativo (Installment | FinancialTransactionsAccounts)", "body": "*** Elementos que só aparecem quando houver Antecipação**\n**** Elemento que aparecerá apenas nas parcelas posteriores à parcela que sofreu Chargeback**\n<b>^ Elemento só aparece quando houver `Chargeback` > `Liquidação do Chargeback`</b>\n<b>^^ Elemento só aparece quando houver `Chargeback` > `Liquidação do Chargeback` > `Reapresentação de Chargeback` > `Liquidação da Reapresentação do Chargeback`</b>" } [/block]
Segue exatamente a mesma estrutura do nó **FinancialTransactions** descrito acima, com apenas algumas peculiariedades que serão demonstradas abaixo: ###**Transaction** Nó filho de **FinancialTransactionsAccounts** que contém as informações referentes à transação, como valor total, número de parcelas e etc. [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "Events", "0-1": "Container", "0-2": "#", "0-3": "Igual ao descrito em FinancialTransactions", "1-0": "AcquirerTransactionKey", "2-0": "InitiatorTransactionKey", "3-0": "AuthorizationDateTime", "4-0": "CaptureLocalDateTime", "5-0": "**Poi**", "5-1": "Container", "5-2": "#", "5-3": "Igual ao descrito em FinancialTransactions", "7-0": "**Installments**", "6-0": "**Cancellations***", "6-1": "Container", "6-2": "#", "6-3": "Igual ao descrito em FinancialTransactions, com algumas mudanças", "7-1": "Container", "7-2": "#", "7-3": "Igual ao descrito em FinancialTransactions, com algumas mudanças", "1-3": "Identificador único da transação (NSU) gerado pela adquirente", "1-1": "Num", "1-2": "14", "2-1": "Alfa", "2-2": "128", "2-3": "Código recebido pelo sistema cliente", "3-1": "Datetime", "3-2": "14", "3-3": "Datetime da autorização (Formato: aaaammddHHmmss)", "4-1": "Datetime", "4-2": "14", "4-3": "Datetime da captura (Formato: aaaammddHHmmss) no horario local da adquirente" }, "cols": 4, "rows": 8 } [/block] [block:callout] { "type": "warning", "title": "Informativo (Transaction)", "body": "*** Elemento que aparecerá quando houver o desconto de um cancelamento (<CancellationCharges>1</CancellationCharges>)**" } [/block] [block:callout] { "type": "danger", "title": "Alerta", "body": "É importante armazenar as informações como IssuerAuthorizationCode, CardNumber, BrandId e etc, durante o evento de captura. Pois quando a transação aparecer em FinancialTransactionsAccounts (liquidação), virá apenas com os NSU para que possa identificar qual transação está sendo paga/descontada." } [/block] ###**Cancellations** Contém uma lista de **Cancellation** ###**Cancellation** Nó filho de **Cancellations **que contém as informações sobre o desconto de um cancelamento [block:parameters] { "data": { "0-0": "InstallmentNumber", "1-0": "OperationKey", "2-0": "CancellationDateTime", "3-0": "ReturnedAmount", "4-0": "**Billing**", "1-1": "Alfa", "1-2": "32", "1-3": "Identificador da parcela que foi descontada", "0-3": "identificador único da operação de cancelamento", "2-3": "Data hora do cancelamento (Formato: aaaammddHHmmss)", "3-3": "Valor revertido e devolvido ao portador do cartão", "4-3": "Lista de cobranças relativa ao cancelamento", "0-1": "Num", "0-2": "2", "2-1": "Datetime", "2-2": "14", "3-1": "Float", "3-2": "20", "4-1": "Container", "4-2": "#", "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição" }, "cols": 4, "rows": 5 } [/block] ###**Billing** [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "ChargedAmount", "1-0": "ChargeDate", "1-1": "Datetime", "0-1": "Float", "0-2": "20", "1-2": "8", "0-3": "Valor de desconto do cancelamento (descontado do lojista)", "1-3": "Data da cobrança (Formato: aaaammdd)" }, "cols": 4, "rows": 2 } [/block] ###**Installments** Contém uma lista de **Installment** (parcelas) ###**Installment** Nó filho de **Installments **que contém as informações sobre as parcelas de uma transação [block:parameters] { "data": { "0-0": "InstallmentNumber", "1-0": "GrossAmount", "2-0": "NetAmount", "3-0": "PaymentDate", "8-0": "**Chargeback^**", "9-0": "**ChargebackRefund^^**", "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "8-3": "Igual ao descrito em FinancialTransactions", "9-3": "Igual ao descrito em FinancialTransactions", "8-1": "Container", "8-2": "#", "9-1": "Container", "9-2": "#", "7-0": "PaymentId", "0-1": "Num", "0-2": "2", "0-3": "Número da parcela", "4-0": "AdvanceRateAmount*", "5-0": "AdvancedReceivableOriginalPaymentDate*", "6-0": "SuspendedByChargeback**", "1-1": "Float", "2-1": "Float", "3-1": "Datetime", "4-1": "Float", "5-1": "Datetime", "6-1": "Bool", "7-1": "Num", "6-2": "#", "1-2": "20", "2-2": "20", "3-2": "8", "4-2": "20", "5-2": "8", "7-2": "9", "1-3": "Valor bruto da parcela", "2-3": "Valor liquido da parcela", "3-3": "Data de pagamento da parcela. (Formato: aaaammdd)", "4-3": "Valor cobrado pela antecipação de recebível", "5-3": "Data original de pagamento do recebível adiantado", "6-3": "Marcador se o pagamento da parcela está suspensa por Chargeback", "7-3": "Referência do elemento de pagamento (Payments) no qual a liquidação dessa parcela foi incluída" }, "cols": 4, "rows": 10 } [/block] [block:callout] { "type": "warning", "title": "Informativo (Installment | FinancialTransactionsAccounts)", "body": "*** Elementos que só aparecem quando houver Antecipação**\n**** Elemento que aparecerá apenas nas parcelas posteriores à parcela que sofreu Chargeback**\n<b>^ Elemento só aparece quando houver `Chargeback` > `Liquidação do Chargeback`</b>\n<b>^^ Elemento só aparece quando houver `Chargeback` > `Liquidação do Chargeback` > `Reapresentação de Chargeback` > `Liquidação da Reapresentação do Chargeback`</b>" } [/block]
{"__v":1,"_id":"576aaa89481fa82b00c06df0","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"###**Event**\nNó filho de FinancialEventsAccounts, contém as informações dos eventos financeiros pagos ou descontados no dia de referência do arquivo (ajustes financeiros, aluguel de pos, etc…)\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"EventId\",\n    \"1-0\": \"Description\",\n    \"2-0\": \"Type\",\n    \"3-0\": \"PaymentDate\",\n    \"4-0\": \"Amount\",\n    \"0-1\": \"Num\",\n    \"0-2\": \"10\",\n    \"0-3\": \"Código identificador do evento\",\n    \"1-1\": \"Alfa\",\n    \"1-2\": \"60\",\n    \"1-3\": \"Descrição do evento\",\n    \"2-1\": \"Num\",\n    \"2-2\": \"2\",\n    \"2-3\": \"Tipo do evento (Poderá identificar se é uum crédito ou um débito através do sinal. Ex: -22 (Debito), 5 (Credito)\",\n    \"3-1\": \"Datetime\",\n    \"3-2\": \"8\",\n    \"3-3\": \"Data em que o evento foi pago. (Formato: aaaammdd)\",\n    \"4-1\": \"Float\",\n    \"4-2\": \"20\",\n    \"4-3\": \"Valor do evento\"\n  },\n  \"cols\": 4,\n  \"rows\": 5\n}\n[/block]","category":"5769bd981f52a00e006a973b","createdAt":"2016-06-22T15:11:05.570Z","excerpt":"Descrição dos Containers e atributos dentro de **FinancialEventsAccounts**. \n+ Contém uma lista de **Event**","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","order":5,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"financialeventsaccounts","sync_unique":"","title":"FinancialEventsAccounts","type":"basic","updates":[],"user":"5758517f3479732b00f44be0","version":"569fe668c0864f170056517a","childrenPages":[]}

FinancialEventsAccounts

Descrição dos Containers e atributos dentro de **FinancialEventsAccounts**. + Contém uma lista de **Event**

###**Event** Nó filho de FinancialEventsAccounts, contém as informações dos eventos financeiros pagos ou descontados no dia de referência do arquivo (ajustes financeiros, aluguel de pos, etc…) [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "EventId", "1-0": "Description", "2-0": "Type", "3-0": "PaymentDate", "4-0": "Amount", "0-1": "Num", "0-2": "10", "0-3": "Código identificador do evento", "1-1": "Alfa", "1-2": "60", "1-3": "Descrição do evento", "2-1": "Num", "2-2": "2", "2-3": "Tipo do evento (Poderá identificar se é uum crédito ou um débito através do sinal. Ex: -22 (Debito), 5 (Credito)", "3-1": "Datetime", "3-2": "8", "3-3": "Data em que o evento foi pago. (Formato: aaaammdd)", "4-1": "Float", "4-2": "20", "4-3": "Valor do evento" }, "cols": 4, "rows": 5 } [/block]
###**Event** Nó filho de FinancialEventsAccounts, contém as informações dos eventos financeiros pagos ou descontados no dia de referência do arquivo (ajustes financeiros, aluguel de pos, etc…) [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "EventId", "1-0": "Description", "2-0": "Type", "3-0": "PaymentDate", "4-0": "Amount", "0-1": "Num", "0-2": "10", "0-3": "Código identificador do evento", "1-1": "Alfa", "1-2": "60", "1-3": "Descrição do evento", "2-1": "Num", "2-2": "2", "2-3": "Tipo do evento (Poderá identificar se é uum crédito ou um débito através do sinal. Ex: -22 (Debito), 5 (Credito)", "3-1": "Datetime", "3-2": "8", "3-3": "Data em que o evento foi pago. (Formato: aaaammdd)", "4-1": "Float", "4-2": "20", "4-3": "Valor do evento" }, "cols": 4, "rows": 5 } [/block]
{"__v":2,"_id":"576aaabe42bf703200c595f5","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"###**Payment**\nNó filho de Payments, representa um pagamento efetuado para o lojista\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"Id\",\n    \"1-0\": \"TotalAmount\",\n    \"4-0\": \"FavoredBankAccount\",\n    \"0-1\": \"Num\",\n    \"1-1\": \"Float\",\n    \"4-1\": \"Container\",\n    \"0-2\": \"9\",\n    \"1-2\": \"20\",\n    \"4-2\": \"#\",\n    \"0-3\": \"Identificador do pagamento (PaymentId)\",\n    \"1-3\": \"Valor total depositado na conta do lojista\",\n    \"4-3\": \"Informações bancárias da conta favorecida pelo pagamento\",\n    \"2-0\": \"TotalFinancialAccountsAmount*\",\n    \"2-1\": \"Float\",\n    \"2-2\": \"24\",\n    \"3-0\": \"LastNegativeAmount**\",\n    \"3-1\": \"Float\",\n    \"3-2\": \"24\",\n    \"3-3\": \"Valor negativo que o cliente tem pendente com a Stone\",\n    \"2-3\": \"Valor total que o lojista tem disponível para receber no dia\"\n  },\n  \"cols\": 4,\n  \"rows\": 5\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Informativo (Payments)\",\n  \"body\": \"\\\\* Quando o valor desse elemento for negativo, o valor total pago no dia ao lojista **TotalAmount** será zero.\\n\\n\\\\*\\\\* O valor negativo pendente será descontado do valor total que o lojista tem para receber, caso esse total seja positivo **TotalFinancialAccountsAmount**.\"\n}\n[/block]\n###**FavoredBankAccount**\nNó filho de Payment. Contém as informações bancárias da conta em que foi feito o depósito.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"0-0\": \"BankCode\",\n    \"1-0\": \"BankBranch\",\n    \"2-0\": \"BankAccountNumber\",\n    \"0-1\": \"Num\",\n    \"1-1\": \"Alfa\",\n    \"2-1\": \"Num\",\n    \"0-2\": \"4\",\n    \"1-2\": \"10\",\n    \"2-2\": \"12\",\n    \"0-3\": \"Código do banco favorecido de acordo com o [Banco Central](http://www.bcb.gov.br/pom/spb/estatistica/port/ASTR003.pdf)\",\n    \"1-3\": \"Código da agência do banco de acordo com o [Banco Central](http://www.bcb.gov.br/?RELAGPAB)\",\n    \"2-3\": \"Número da conta favorecida\"\n  },\n  \"cols\": 4,\n  \"rows\": 3\n}\n[/block]","category":"5769bd981f52a00e006a973b","createdAt":"2016-06-22T15:11:58.193Z","excerpt":"Descrição dos Containers e atributos dentro de **Payments**. \n+ Contém uma lista de **Payment**","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","next":{"description":"","pages":[]},"order":6,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"payments","sync_unique":"","title":"Payments","type":"basic","updates":[],"user":"5758517f3479732b00f44be0","version":"569fe668c0864f170056517a","childrenPages":[]}

Payments

Descrição dos Containers e atributos dentro de **Payments**. + Contém uma lista de **Payment**

###**Payment** Nó filho de Payments, representa um pagamento efetuado para o lojista [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "Id", "1-0": "TotalAmount", "4-0": "FavoredBankAccount", "0-1": "Num", "1-1": "Float", "4-1": "Container", "0-2": "9", "1-2": "20", "4-2": "#", "0-3": "Identificador do pagamento (PaymentId)", "1-3": "Valor total depositado na conta do lojista", "4-3": "Informações bancárias da conta favorecida pelo pagamento", "2-0": "TotalFinancialAccountsAmount*", "2-1": "Float", "2-2": "24", "3-0": "LastNegativeAmount**", "3-1": "Float", "3-2": "24", "3-3": "Valor negativo que o cliente tem pendente com a Stone", "2-3": "Valor total que o lojista tem disponível para receber no dia" }, "cols": 4, "rows": 5 } [/block] [block:callout] { "type": "warning", "title": "Informativo (Payments)", "body": "\\* Quando o valor desse elemento for negativo, o valor total pago no dia ao lojista **TotalAmount** será zero.\n\n\\*\\* O valor negativo pendente será descontado do valor total que o lojista tem para receber, caso esse total seja positivo **TotalFinancialAccountsAmount**." } [/block] ###**FavoredBankAccount** Nó filho de Payment. Contém as informações bancárias da conta em que foi feito o depósito. [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "BankCode", "1-0": "BankBranch", "2-0": "BankAccountNumber", "0-1": "Num", "1-1": "Alfa", "2-1": "Num", "0-2": "4", "1-2": "10", "2-2": "12", "0-3": "Código do banco favorecido de acordo com o [Banco Central](http://www.bcb.gov.br/pom/spb/estatistica/port/ASTR003.pdf)", "1-3": "Código da agência do banco de acordo com o [Banco Central](http://www.bcb.gov.br/?RELAGPAB)", "2-3": "Número da conta favorecida" }, "cols": 4, "rows": 3 } [/block]
###**Payment** Nó filho de Payments, representa um pagamento efetuado para o lojista [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "Id", "1-0": "TotalAmount", "4-0": "FavoredBankAccount", "0-1": "Num", "1-1": "Float", "4-1": "Container", "0-2": "9", "1-2": "20", "4-2": "#", "0-3": "Identificador do pagamento (PaymentId)", "1-3": "Valor total depositado na conta do lojista", "4-3": "Informações bancárias da conta favorecida pelo pagamento", "2-0": "TotalFinancialAccountsAmount*", "2-1": "Float", "2-2": "24", "3-0": "LastNegativeAmount**", "3-1": "Float", "3-2": "24", "3-3": "Valor negativo que o cliente tem pendente com a Stone", "2-3": "Valor total que o lojista tem disponível para receber no dia" }, "cols": 4, "rows": 5 } [/block] [block:callout] { "type": "warning", "title": "Informativo (Payments)", "body": "\\* Quando o valor desse elemento for negativo, o valor total pago no dia ao lojista **TotalAmount** será zero.\n\n\\*\\* O valor negativo pendente será descontado do valor total que o lojista tem para receber, caso esse total seja positivo **TotalFinancialAccountsAmount**." } [/block] ###**FavoredBankAccount** Nó filho de Payment. Contém as informações bancárias da conta em que foi feito o depósito. [block:parameters] { "data": { "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-0": "BankCode", "1-0": "BankBranch", "2-0": "BankAccountNumber", "0-1": "Num", "1-1": "Alfa", "2-1": "Num", "0-2": "4", "1-2": "10", "2-2": "12", "0-3": "Código do banco favorecido de acordo com o [Banco Central](http://www.bcb.gov.br/pom/spb/estatistica/port/ASTR003.pdf)", "1-3": "Código da agência do banco de acordo com o [Banco Central](http://www.bcb.gov.br/?RELAGPAB)", "2-3": "Número da conta favorecida" }, "cols": 4, "rows": 3 } [/block]
{"__v":1,"_id":"576aaaf4fb4ccb2b005f2550","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"CapturedTransactionsQuantity\",\n    \"1-0\": \"CanceledTransactionsQuantity\",\n    \"2-0\": \"PaidInstallmentsQuantity\",\n    \"3-0\": \"ChargedCancellationsQuantity\",\n    \"4-0\": \"ChargebacksQuantity\",\n    \"5-0\": \"ChargebacksRefundQuantity\",\n    \"6-0\": \"ChargedChargebacksQuantity\",\n    \"7-0\": \"PaidChargebacksRefundQuantity\",\n    \"8-0\": \"PaidEventsQuantity\",\n    \"9-0\": \"ChargedEventsQuantity\",\n    \"h-0\": \"Campo\",\n    \"h-1\": \"Tipo\",\n    \"h-2\": \"Tamanho\",\n    \"h-3\": \"Descrição\",\n    \"0-1\": \"Num\",\n    \"1-1\": \"Num\",\n    \"2-1\": \"Num\",\n    \"3-1\": \"Num\",\n    \"4-1\": \"Num\",\n    \"5-1\": \"Num\",\n    \"6-1\": \"Num\",\n    \"7-1\": \"Num\",\n    \"8-1\": \"Num\",\n    \"9-1\": \"Num\",\n    \"0-2\": \"9\",\n    \"1-2\": \"9\",\n    \"2-2\": \"9\",\n    \"3-2\": \"9\",\n    \"4-2\": \"9\",\n    \"5-2\": \"9\",\n    \"6-2\": \"9\",\n    \"7-2\": \"9\",\n    \"8-2\": \"9\",\n    \"9-2\": \"9\",\n    \"0-3\": \"Número de transações capturada\",\n    \"1-3\": \"Número de transações canceladas\",\n    \"2-3\": \"Número de transações pagas\",\n    \"3-3\": \"Número de cancelamentos descontados\",\n    \"4-3\": \"Número de chargebacks\",\n    \"5-3\": \"Número de estornos de chargeback\",\n    \"6-3\": \"Número de chargebacks descontados\",\n    \"7-3\": \"Número de estornos de chargebacks pagos\",\n    \"8-3\": \"Número de eventos financeiros pagos\",\n    \"9-3\": \"Número de eventos financeiros descontados\"\n  },\n  \"cols\": 4,\n  \"rows\": 10\n}\n[/block]","category":"5769bd981f52a00e006a973b","createdAt":"2016-06-22T15:12:52.102Z","excerpt":"Descrição dos atributos dentro de **Trailer**","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","order":7,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"trailer","sync_unique":"","title":"Trailer","type":"basic","updates":[],"user":"5758517f3479732b00f44be0","version":"569fe668c0864f170056517a","childrenPages":[]}

Trailer

Descrição dos atributos dentro de **Trailer**

[block:parameters] { "data": { "0-0": "CapturedTransactionsQuantity", "1-0": "CanceledTransactionsQuantity", "2-0": "PaidInstallmentsQuantity", "3-0": "ChargedCancellationsQuantity", "4-0": "ChargebacksQuantity", "5-0": "ChargebacksRefundQuantity", "6-0": "ChargedChargebacksQuantity", "7-0": "PaidChargebacksRefundQuantity", "8-0": "PaidEventsQuantity", "9-0": "ChargedEventsQuantity", "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-1": "Num", "1-1": "Num", "2-1": "Num", "3-1": "Num", "4-1": "Num", "5-1": "Num", "6-1": "Num", "7-1": "Num", "8-1": "Num", "9-1": "Num", "0-2": "9", "1-2": "9", "2-2": "9", "3-2": "9", "4-2": "9", "5-2": "9", "6-2": "9", "7-2": "9", "8-2": "9", "9-2": "9", "0-3": "Número de transações capturada", "1-3": "Número de transações canceladas", "2-3": "Número de transações pagas", "3-3": "Número de cancelamentos descontados", "4-3": "Número de chargebacks", "5-3": "Número de estornos de chargeback", "6-3": "Número de chargebacks descontados", "7-3": "Número de estornos de chargebacks pagos", "8-3": "Número de eventos financeiros pagos", "9-3": "Número de eventos financeiros descontados" }, "cols": 4, "rows": 10 } [/block]
[block:parameters] { "data": { "0-0": "CapturedTransactionsQuantity", "1-0": "CanceledTransactionsQuantity", "2-0": "PaidInstallmentsQuantity", "3-0": "ChargedCancellationsQuantity", "4-0": "ChargebacksQuantity", "5-0": "ChargebacksRefundQuantity", "6-0": "ChargedChargebacksQuantity", "7-0": "PaidChargebacksRefundQuantity", "8-0": "PaidEventsQuantity", "9-0": "ChargedEventsQuantity", "h-0": "Campo", "h-1": "Tipo", "h-2": "Tamanho", "h-3": "Descrição", "0-1": "Num", "1-1": "Num", "2-1": "Num", "3-1": "Num", "4-1": "Num", "5-1": "Num", "6-1": "Num", "7-1": "Num", "8-1": "Num", "9-1": "Num", "0-2": "9", "1-2": "9", "2-2": "9", "3-2": "9", "4-2": "9", "5-2": "9", "6-2": "9", "7-2": "9", "8-2": "9", "9-2": "9", "0-3": "Número de transações capturada", "1-3": "Número de transações canceladas", "2-3": "Número de transações pagas", "3-3": "Número de cancelamentos descontados", "4-3": "Número de chargebacks", "5-3": "Número de estornos de chargeback", "6-3": "Número de chargebacks descontados", "7-3": "Número de estornos de chargebacks pagos", "8-3": "Número de eventos financeiros pagos", "9-3": "Número de eventos financeiros descontados" }, "cols": 4, "rows": 10 } [/block]
{"__v":73,"_id":"56a2375f2029df19002b5889","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"Toda transação nova ou acontecimento de uma transação já existente será demonstrada no arquivo de diferentes maneiras. Abaixo demonstrarei os principais fluxos:\n[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"CAPTURA\",\n  \"body\": \"Quando uma transação é realizada, um nó `Transaction` referente à ela aparecerá sob `FinancialTransactions` no arquivo de conciliação desse dia com o evento `Captures` com o valor 1 em `Event`, dentro do nó transaction se encontrará todas as parcelas dessa transação representadas pelos nós `Installment`.\"\n}\n[/block]\n###Exemplos de ciclos de vida da captura:\n\n###`Captura (10/05) > Liquidação da Parcela (09/06)`\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<FinancialTransactions>\\n  ...\\n\\t <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>1</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <International>True</International>\\n            <AccountType>2</AccountType>\\n            <InstallmentType>1</InstallmentType>\\n            <NumberOfInstallments>1</NumberOfInstallments>\\n            <AuthorizedAmount>694.000000</AuthorizedAmount>\\n            <CapturedAmount>694.000000</CapturedAmount>\\n            <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\\n            <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\\n            <BrandId>1</BrandId>\\n            <CardNumber>411111******1111</CardNumber>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode)\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n  ...\\n</FinancialTransactions>\\n\\n\",\n      \"language\": \"xml\",\n      \"name\": \"Captura\"\n    },\n    {\n      \"code\": \"<FinancialTransactionsAccounts>\\n\\t...\\n\\t\\t<Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>1</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PaymentDate>20160609</PaymentDate>\\n                    <PaymentId>1234567</PaymentId>\\n                </Installment>\\n            </Installments>\\n       </Transaction>\\n\\t\\t...\\n<FinancialTransactionsAccounts>\\n ...\\n<Payments>\\n        <Payment>\\n            <Id>1234567</Id>\\n            <TotalAmount>14185.81</TotalAmount>\\n          \\t<TotalFinancialAccountsAmount>14185.81</TotalFinancialAccountsAmount>\\n            <LastNegativeAmount>0.00</LastNegativeAmount>\\n            <FavoredBankAccount>\\n                <BankCode>XX</BankCode>\\n                <BankBranch>XXXX</BankBranch>\\n                <BankAccountNumber>XXXXXXXXX</BankAccountNumber>\\n            </FavoredBankAccount>\\n        </Payment>\\n</Payments>\",\n      \"language\": \"xml\",\n      \"name\": \"Liquidação Parcela 1\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"CANCELAMENTO\",\n  \"body\": \"Quando uma transação é cancelada no dia de referência, um nó `Transaction` referente a ela aparecerá sob `FinancialTransactions` no arquivo de conciliação desse dia com o evento `Cancellations` com o valor 1 em `Event`, dentro do nó `Transaction` aparecerá um nó chamado `Cancellations` que descreve cada cancelamento (vários se houver cancelamentos parciais, ou apenas um se for cancelamento total)\"\n}\n[/block]\n###Exemplos de ciclos de vida da cancelamento:\n\n###`Captura (10/05) > Liquidação da Parcela (09/06) > Cancelamento (10/06) > Desconto do Cancelamento (12/06)`\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<FinancialTransactions>\\n  ...\\n\\t <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>1</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <International>True</International>\\n            <AccountType>2</AccountType>\\n            <InstallmentType>1</InstallmentType>\\n            <NumberOfInstallments>1</NumberOfInstallments>\\n            <AuthorizedAmount>694.000000</AuthorizedAmount>\\n            <CapturedAmount>694.000000</CapturedAmount>\\n            <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\\n            <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\\n            <BrandId>1</BrandId>\\n            <CardNumber>411111******1111</CardNumber>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n  ...\\n</FinancialTransactions>\\n\\n\",\n      \"language\": \"xml\",\n      \"name\": \"Captura\"\n    },\n    {\n      \"code\": \"<FinancialTransactionsAccounts>\\n\\t...\\n\\t\\t<Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>1</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PaymentDate>20160609</PaymentDate>\\n                    <PaymentId>1234567</PaymentId>\\n                </Installment>\\n            </Installments>\\n       </Transaction>\\n\\t\\t...\\n<FinancialTransactionsAccounts>\\n ...\\n<Payments>\\n        <Payment>\\n            <Id>1234567</Id>\\n            <TotalAmount>14185.81</TotalAmount>\\n          \\t<TotalFinancialAccountsAmount>14185.81</TotalFinancialAccountsAmount>\\n            <LastNegativeAmount>0.00</LastNegativeAmount>\\n            <FavoredBankAccount>\\n                <BankCode>XX</BankCode>\\n                <BankBranch>XXXX</BankBranch>\\n                <BankAccountNumber>XXXXXXXXX</BankAccountNumber>\\n            </FavoredBankAccount>\\n        </Payment>\\n</Payments>\",\n      \"language\": \"xml\",\n      \"name\": \"Liquidação Parcela 1\"\n    },\n    {\n      \"code\": \"<FinancialTransactions>\\n\\t...\\n\\t\\t<Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>1</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Cancellations>\\n                <Cancellation>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <OperationKey>2276000071307928</OperationKey>\\n                    <CancellationDateTime>20160610040236</CancellationDateTime>\\n                    <ReturnedAmount>694.000000</ReturnedAmount>\\n                    <Billing>\\n                        <ChargedAmount>678.454400</ChargedAmount>\\n                        <PrevisionChargeDate>20160612</PrevisionChargeDate>\\n                    </Billing>\\n                </Cancellation>\\n           </Cancellations>\\n       </Transaction>\\n\\t\\t...\\n<FinancialTransactions>\",\n      \"language\": \"xml\",\n      \"name\": \"Cancelamento\"\n    },\n    {\n      \"code\": \"<FinancialTransactionsAccounts>\\n\\t...\\n\\t\\t<Transaction>\\n            <Events>\\n                <CancellationCharges>1</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Cancellations>\\n                <Cancellation>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <OperationKey>2276000071307928</OperationKey>\\n                    <CancellationDateTime>20160610040236</CancellationDateTime>\\n                    <ReturnedAmount>694.000000</ReturnedAmount>\\n                    <Billing>\\n                        <ChargedAmount>678.454400</ChargedAmount>\\n                        <ChargeDate>20160612</ChargeDate>\\n                    </Billing>\\n                </Cancellation>\\n            </Cancellations>\\n       </Transaction>\\n\\t\\t...\\n<FinancialTransactionsAccounts>\",\n      \"language\": \"xml\",\n      \"name\": \"Liquidação Cancelamento\"\n    }\n  ]\n}\n[/block]\n###`Captura (10/05) > Liquidação da Parcela (09/06) > Cancelamento (10/06) > Desconto do Cancelamento (12/06)`\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<FinancialTransactions>\\n  ...\\n\\t <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>1</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <International>True</International>\\n            <AccountType>2</AccountType>\\n            <InstallmentType>1</InstallmentType>\\n            <NumberOfInstallments>3</NumberOfInstallments>\\n            <AuthorizedAmount>1099.000000</AuthorizedAmount>\\n            <CapturedAmount>694.000000</CapturedAmount>\\n            <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\\n            <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\\n            <BrandId>1</BrandId>\\n            <CardNumber>411111******1111</CardNumber>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>366.340000</GrossAmount>\\n                    <NetAmount>357.657742</NetAmount>\\n                    <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\\n                </Installment>\\n              \\t<Installment>\\n                    <InstallmentNumber>2</InstallmentNumber>\\n                    <GrossAmount>366.330000</GrossAmount>\\n                    <NetAmount>357.647979</NetAmount>\\n                    <PrevisionPaymentDate>20160709</PrevisionPaymentDate>\\n                </Installment>\\n              \\t<Installment>\\n                    <InstallmentNumber>3</InstallmentNumber>\\n                    <GrossAmount>366.330000</GrossAmount>\\n                    <NetAmount>357.647979</NetAmount>\\n                    <PrevisionPaymentDate>20160809</PrevisionPaymentDate>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n  ...\\n</FinancialTransactions>\",\n      \"language\": \"xml\",\n      \"name\": \"Captura\"\n    },\n    {\n      \"code\": \"<FinancialTransactionsAccounts>\\n\\t...\\n\\t\\t<Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>1</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>366.340000</GrossAmount>\\n                    <NetAmount>357.657742</NetAmount>\\n                    <PaymentDate>20160609</PaymentDate>\\n                    <PaymentId>1234567</PaymentId>\\n                </Installment>\\n            </Installments>\\n       </Transaction>\\n\\t\\t...\\n<FinancialTransactionsAccounts>\\n ...\\n<Payments>\\n        <Payment>\\n            <Id>1234567</Id>\\n            <TotalAmount>14185.81</TotalAmount>\\n          \\t<TotalFinancialAccountsAmount>14185.81</TotalFinancialAccountsAmount>\\n            <LastNegativeAmount>0.00</LastNegativeAmount>\\n            <FavoredBankAccount>\\n                <BankCode>XX</BankCode>\\n                <BankBranch>XXXX</BankBranch>\\n                <BankAccountNumber>XXXXXXXXX</BankAccountNumber>\\n            </FavoredBankAccount>\\n        </Payment>\\n</Payments>\",\n      \"language\": \"xml\",\n      \"name\": \"Liquidação Parcela 1\"\n    },\n    {\n      \"code\": \"<FinancialTransactions>\\n\\t...\\n\\t\\t<Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>1</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Cancellations>\\n                <Cancellation>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <OperationKey>2276000071307928</OperationKey>\\n                    <CancellationDateTime>20160610040236</CancellationDateTime>\\n                    <ReturnedAmount>366.340000</ReturnedAmount>\\n                    <Billing>\\n                        <ChargedAmount>357.657742</ChargedAmount>\\n                        <PrevisionChargeDate>20160612</PrevisionChargeDate>\\n                    </Billing>\\n                </Cancellation>\\n                <Cancellation>\\n                    <InstallmentNumber>2</InstallmentNumber>\\n                    <OperationKey>2276000071307928</OperationKey>\\n                    <CancellationDateTime>20160610040236</CancellationDateTime>\\n                    <ReturnedAmount>366.330000</ReturnedAmount>\\n                    <Billing>\\n                        <ChargedAmount>357.647979</ChargedAmount>\\n                        <PrevisionChargeDate>20160612</PrevisionChargeDate>\\n                    </Billing>\\n                </Cancellation>\\n                <Cancellation>\\n                    <InstallmentNumber>3</InstallmentNumber>\\n                    <OperationKey>2276000071307928</OperationKey>\\n                    <CancellationDateTime>20160610040236</CancellationDateTime>\\n                    <ReturnedAmount>366.330000</ReturnedAmount>\\n                    <Billing>\\n                        <ChargedAmount>357.647979</ChargedAmount>\\n                        <PrevisionChargeDate>20160612</PrevisionChargeDate>\\n                    </Billing>\\n                </Cancellation>\\n           </Cancellations>\\n       </Transaction>\\n\\t\\t...\\n<FinancialTransactions>\",\n      \"language\": \"xml\",\n      \"name\": \"Cancelamento\"\n    },\n    {\n      \"code\": \"<FinancialTransactionsAccounts>\\n\\t...\\n\\t\\t<Transaction>\\n            <Events>\\n                <CancellationCharges>3</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>2</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n      \\t\\t\\t<Installments>\\n              \\t<!--Aceleração das parcelas-->\\n                <Installment>\\n                    <InstallmentNumber>2</InstallmentNumber>\\n                    <GrossAmount>366.330000</GrossAmount>\\n                    <NetAmount>357.647979</NetAmount>\\n                    <PaymentDate>20160612</PaymentDate>\\n                    <PaymentId>1234567</PaymentId>\\n                </Installment>\\n              \\t<Installment>\\n                    <InstallmentNumber>3</InstallmentNumber>\\n                    <GrossAmount>366.330000</GrossAmount>\\n                    <NetAmount>357.647979</NetAmount>\\n                    <PaymentDate>20160612</PaymentDate>\\n                    <PaymentId>1234567</PaymentId>\\n                </Installment>\\n            </Installments>\\n            <Cancellations>\\n              \\t<!--Cancelamento das parcelas aceleradas-->\\n                <Cancellation>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <OperationKey>2276000071307928</OperationKey>\\n                    <CancellationDateTime>20160610040236</CancellationDateTime>\\n                    <ReturnedAmount>366.340000</ReturnedAmount>\\n                    <Billing>\\n                        <ChargedAmount>357.657742</ChargedAmount>\\n                        <ChargeDate>20160612</ChargeDate>\\n                    </Billing>\\n                </Cancellation>\\n                <Cancellation>\\n                    <InstallmentNumber>2</InstallmentNumber>\\n                    <OperationKey>2276000071307928</OperationKey>\\n                    <CancellationDateTime>20160610040236</CancellationDateTime>\\n                    <ReturnedAmount>366.330000</ReturnedAmount>\\n                    <Billing>\\n                        <ChargedAmount>357.647979</ChargedAmount>\\n                        <ChargeDate>20160612</ChargeDate>\\n                    </Billing>\\n                </Cancellation>\\n                <Cancellation>\\n                    <InstallmentNumber>3</InstallmentNumber>\\n                    <OperationKey>2276000071307928</OperationKey>\\n                    <CancellationDateTime>20160610040236</CancellationDateTime>\\n                    <ReturnedAmount>366.330000</ReturnedAmount>\\n                    <Billing>\\n                        <ChargedAmount>357.647979</ChargedAmount>\\n                        <ChargeDate>20160612</ChargeDate>\\n                    </Billing>\\n                </Cancellation>\\n            </Cancellations>\\n       </Transaction>\\n\\t\\t...\\n<FinancialTransactionsAccounts>\",\n      \"language\": \"xml\",\n      \"name\": \"Desconto do Cancelamento\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Aceleração de parcelas\",\n  \"body\": \"Acima podemos ver o exemplo de um fluxo de **Aceleração de parcelas**. Ou seja, se eu tenho uma transação de 2 parcelas, e após a liquidação da primeira parcela é enviado um cancelamento, no dia do desconto do cancelamento, é feita a aceleração da liquidação das parcelas restantes para liberar o saldo do cliente. Perceba que a PaymentDate no dia 12/06 foi antecipada.\"\n}\n[/block]\n###`Captura (10/05) > Cancelamento (10/05)`\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<FinancialTransactions>\\n  ...\\n\\t <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>1</Cancellations>\\n                <Captures>1</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <International>True</International>\\n            <AccountType>2</AccountType>\\n            <InstallmentType>1</InstallmentType>\\n            <NumberOfInstallments>3</NumberOfInstallments>\\n            <AuthorizedAmount>1099.000000</AuthorizedAmount>\\n            <CapturedAmount>694.000000</CapturedAmount>\\n            <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\\n            <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\\n            <BrandId>1</BrandId>\\n            <CardNumber>411111******1111</CardNumber>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Cancellations>\\n                <Cancellation>\\n                    <OperationKey>2316000073093085</OperationKey>\\n                    <CancellationDateTime>20160510104014</CancellationDateTime>\\n                    <ReturnedAmount>694.000000</ReturnedAmount>\\n                </Cancellation>\\n            </Cancellations>\\n        </Transaction>\\n  ...\\n</FinancialTransactions>\",\n      \"language\": \"xml\",\n      \"name\": \"Captura + Cancelamento\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Captura + cancelamento\",\n  \"body\": \"Repare que quando o cancelamento é feito no mesmo dia da captura, o nó `Billing` não aparece, ou seja, não é agendado uma data de desconto do cancelamento.\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"Chargeback\",\n  \"body\": \"Quando uma transação sofre chargeback ela aparece tanto em `FinancialTransactions` no dia em que sofreu o chargeback, e em `FinancialTransactionAccounts` no dia em que foi descontada\"\n}\n[/block]\n###Exemplos de ciclos de vida do Chargeback:\n\n###`Captura (10/05) > Liquidação da Parcela (09/06) > Chargeback + Desconto do Chargeback (10/06)`\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<FinancialTransactions>\\n  ...\\n\\t <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>1</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <International>True</International>\\n            <AccountType>2</AccountType>\\n            <InstallmentType>1</InstallmentType>\\n            <NumberOfInstallments>1</NumberOfInstallments>\\n            <AuthorizedAmount>694.000000</AuthorizedAmount>\\n            <CapturedAmount>694.000000</CapturedAmount>\\n            <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\\n            <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\\n            <BrandId>1</BrandId>\\n            <CardNumber>411111******1111</CardNumber>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n  ...\\n</FinancialTransactions>\",\n      \"language\": \"xml\",\n      \"name\": \"Captura\"\n    },\n    {\n      \"code\": \"<FinancialTransactionsAccounts>\\n\\t...\\n\\t\\t<Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>1</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PaymentDate>20160609</PaymentDate>\\n                    <PaymentId>1234567</PaymentId>\\n                </Installment>\\n            </Installments>\\n       </Transaction>\\n\\t\\t...\\n<FinancialTransactionsAccounts>\\n ...\\n<Payments>\\n        <Payment>\\n            <Id>1234567</Id>\\n            <TotalAmount>14185.81</TotalAmount>\\n            <TotalFinancialAccountsAmount>14185.81</TotalFinancialAccountsAmount>\\n            <LastNegativeAmount>0.00</LastNegativeAmount>\\n            <FavoredBankAccount>\\n                <BankCode>XX</BankCode>\\n                <BankBranch>XXXX</BankBranch>\\n                <BankAccountNumber>XXXXXXXXX</BankAccountNumber>\\n            </FavoredBankAccount>\\n        </Payment>\\n</Payments>\",\n      \"language\": \"xml\",\n      \"name\": \"Liquidação Parcela 1\"\n    },\n    {\n      \"code\": \"<FinancialTransactions>\\n\\t...\\n\\t\\t<Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>1</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\\n                    <Chargeback>\\n                        <Id>187384389</Id>\\n                        <Amount>678.454400</Amount>\\n                        <Date>20160610</Date>\\n                        <ChargeDate>20160610</ChargeDate>\\n                        <ReasonCode>83</ReasonCode>\\n                    </Chargeback>\\n                </Installment>\\n            </Installments>\\n       </Transaction>\\n\\t\\t...\\n<FinancialTransactions>\",\n      \"language\": \"xml\",\n      \"name\": \"Chargeback + Desconto do Chargeback\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Chargeback após liquidação da parcela\",\n  \"body\": \"Caso o chargeback ocorra após a liquidação da parcela, ele reaparecerá dentro de `Installment` e sua liquidação será imediata, sem a necessidade de aparecer novamente dentro de `FinancialTransactionsAccounts`\"\n}\n[/block]\n###`Captura (10/05) > Chargeback (20/05) >  Liquidação Parcela + Desconto do Chargeback (09/06)`\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<FinancialTransactions>\\n  ...\\n\\t <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>1</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <International>True</International>\\n            <AccountType>2</AccountType>\\n            <InstallmentType>1</InstallmentType>\\n            <NumberOfInstallments>1</NumberOfInstallments>\\n            <AuthorizedAmount>694.000000</AuthorizedAmount>\\n            <CapturedAmount>694.000000</CapturedAmount>\\n            <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\\n            <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\\n            <BrandId>1</BrandId>\\n            <CardNumber>411111******1111</CardNumber>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n  ...\\n</FinancialTransactions>\",\n      \"language\": \"xml\",\n      \"name\": \"Captura\"\n    },\n    {\n      \"code\": \"<FinancialTransactions>\\n  ...\\n\\t <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>1</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\\n                  \\t<Chargeback>\\n                        <Id>149222320</Id>\\n                        <Amount>678.454400</Amount>\\n                        <Date>20160520</Date>\\n                        <ChargeDate>20160609</ChargeDate>\\n                        <ReasonCode>83</ReasonCode>\\n                    </Chargeback>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n  ...\\n</FinancialTransactions>\",\n      \"language\": \"xml\",\n      \"name\": \"Chargeback\"\n    },\n    {\n      \"code\": \"<FinancialTransactionsAccounts>\\n\\t...\\n\\t\\t<Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>1</Chargebacks>\\n                <Payments>1</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PaymentDate>20160609</PaymentDate>\\n                  \\t<Chargeback>\\n                        <Id>149222320</Id>\\n                        <Amount>678.454400</Amount>\\n                        <Date>20160520</Date>\\n                        <ChargeDate>20160609</ChargeDate>\\n                        <ReasonCode>83</ReasonCode>\\n                    </Chargeback>\\n                    <PaymentId>1234567</PaymentId>\\n                </Installment>\\n            </Installments>\\n       </Transaction>\\n\\t\\t...\\n<FinancialTransactionsAccounts>\",\n      \"language\": \"xml\",\n      \"name\": \"Liquidação Parcela + Desconto Chargeback\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Chargeback antes da liquidação da parcela\",\n  \"body\": \"Caso o Chargeback ocorra antes da liquidação da parcela, o desconto virá no dia do pagamento da parcela, como no exemplo acima. Como o pagamento é igual ao desconto, os dois se anulam.\"\n}\n[/block]\n###`Captura (10/05) > Chargeback (20/05) >  Liquidação Parcela + Desconto do Chargeback (09/06)`\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<FinancialTransactions>\\n  ...\\n\\t <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>1</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <International>True</International>\\n            <AccountType>2</AccountType>\\n            <InstallmentType>1</InstallmentType>\\n            <NumberOfInstallments>3</NumberOfInstallments>\\n            <AuthorizedAmount>1099.000000</AuthorizedAmount>\\n            <CapturedAmount>694.000000</CapturedAmount>\\n            <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\\n            <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\\n            <BrandId>1</BrandId>\\n            <CardNumber>411111******1111</CardNumber>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>366.340000</GrossAmount>\\n                    <NetAmount>357.657742</NetAmount>\\n                    <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\\n                </Installment>\\n              \\t<Installment>\\n                    <InstallmentNumber>2</InstallmentNumber>\\n                    <GrossAmount>366.330000</GrossAmount>\\n                    <NetAmount>357.647979</NetAmount>\\n                    <PrevisionPaymentDate>20160709</PrevisionPaymentDate>\\n                </Installment>\\n              \\t<Installment>\\n                    <InstallmentNumber>3</InstallmentNumber>\\n                    <GrossAmount>366.330000</GrossAmount>\\n                    <NetAmount>357.647979</NetAmount>\\n                    <PrevisionPaymentDate>20160809</PrevisionPaymentDate>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n  ...\\n</FinancialTransactions>\",\n      \"language\": \"xml\",\n      \"name\": \"Captura\"\n    },\n    {\n      \"code\": \"<FinancialTransactions>\\n  ...\\n\\t <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>1</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>366.340000</GrossAmount>\\n                    <NetAmount>357.657742</NetAmount>\\n                    <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\\n                  \\t<Chargeback>\\n                        <Id>149222320</Id>\\n                        <Amount>357.657742</Amount>\\n                        <Date>20160520</Date>\\n                        <ChargeDate>20160609</ChargeDate>\\n                        <ReasonCode>83</ReasonCode>\\n                    </Chargeback>\\n                </Installment>\\n              \\t<Installment>\\n                    <InstallmentNumber>2</InstallmentNumber>\\n                    <GrossAmount>366.330000</GrossAmount>\\n                    <NetAmount>357.647979</NetAmount>\\n                    <SuspendedByChargeback>True</SuspendedByChargeback>\\n                </Installment>\\n              \\t<Installment>\\n                    <InstallmentNumber>3</InstallmentNumber>\\n                    <GrossAmount>366.330000</GrossAmount>\\n                    <NetAmount>357.647979</NetAmount>\\n                    <SuspendedByChargeback>True</SuspendedByChargeback>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n  ...\\n</FinancialTransactions>\",\n      \"language\": \"xml\",\n      \"name\": \"Chargeback\"\n    },\n    {\n      \"code\": \"<FinancialTransactionsAccounts>\\n\\t...\\n\\t\\t<Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>1</Chargebacks>\\n                <Payments>1</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>366.340000</GrossAmount>\\n                    <NetAmount>357.657742</NetAmount>\\n                    <PaymentDate>20160609</PaymentDate>\\n                  \\t<Chargeback>\\n                        <Id>149222320</Id>\\n                        <Amount>357.657742</Amount>\\n                        <Date>20160520</Date>\\n                        <ChargeDate>20160609</ChargeDate>\\n                        <ReasonCode>83</ReasonCode>\\n                    </Chargeback>\\n                </Installment>\\n            </Installments>\\n       </Transaction>\\n\\t\\t...\\n<FinancialTransactionsAccounts>\",\n      \"language\": \"xml\",\n      \"name\": \"Liquidação Parcela + Desconto do Chargeback\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Parcelas suspensas por Chargeback\",\n  \"body\": \"Em transações parceladas, caso o chargeback ocorra após o pagamento ou confirmação de uma parcela, as demais serão suspensas e em caso de reapresentação, reagendadas.\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"ChargebackRefund\",\n  \"body\": \"Se uma parcela é reapresentada após chargeback ela aparecerá em `FinancialTransaction` no dia em que foi realizado a reapresentação e em `FinancialTransactionsAccounts` no dia que for pago ao lojista a reapresentação.\"\n}\n[/block]\n###Exemplos de ciclos de vida do ChargebackRefund:\n\n###`Captura (10/05) > Chargeback (20/05) >  Liquidação Parcela + Desconto do Chargeback (09/06) > ChargebackRefund (10/06) > Liquidação ChargebackRefund (11/06)`\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<FinancialTransactions>\\n  ...\\n\\t <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>1</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <International>True</International>\\n            <AccountType>2</AccountType>\\n            <InstallmentType>1</InstallmentType>\\n            <NumberOfInstallments>1</NumberOfInstallments>\\n            <AuthorizedAmount>694.000000</AuthorizedAmount>\\n            <CapturedAmount>694.000000</CapturedAmount>\\n            <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\\n            <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\\n            <BrandId>1</BrandId>\\n            <CardNumber>411111******1111</CardNumber>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n  ...\\n</FinancialTransactions>\",\n      \"language\": \"xml\",\n      \"name\": \"Captura\"\n    },\n    {\n      \"code\": \"<FinancialTransactions>\\n  ...\\n\\t <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>1</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\\n                  \\t<Chargeback>\\n                        <Id>149222320</Id>\\n                        <Amount>678.454400</Amount>\\n                        <Date>20160520</Date>\\n                        <ChargeDate>20160609</ChargeDate>\\n                        <ReasonCode>83</ReasonCode>\\n                    </Chargeback>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n  ...\\n</FinancialTransactions>\",\n      \"language\": \"xml\",\n      \"name\": \"Chargeback\"\n    },\n    {\n      \"code\": \"<FinancialTransactionsAccounts>\\n\\t...\\n\\t\\t<Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>1</Chargebacks>\\n                <Payments>1</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PaymentDate>20160609</PaymentDate>\\n                  \\t<Chargeback>\\n                        <Id>149222320</Id>\\n                        <Amount>678.454400</Amount>\\n                        <Date>20160520</Date>\\n                        <ChargeDate>20160609</ChargeDate>\\n                        <ReasonCode>83</ReasonCode>\\n                    </Chargeback>\\n                    <PaymentId>1234567</PaymentId>\\n                </Installment>\\n            </Installments>\\n       </Transaction>\\n\\t\\t...\\n<FinancialTransactionsAccounts>\",\n      \"language\": \"xml\",\n      \"name\": \"Liquidação Parcela + Desconto do Chargeback\"\n    },\n    {\n      \"code\": \"<FinancialTransactions>\\n  ...\\n\\t <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>1</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\\n                  \\t<ChargebackRefund>\\n                        <Id>149222320</Id>\\n                        <Amount>678.454400</Amount>\\n                        <Date>20160610</Date>\\n                        <PaymentDate>20160611</PaymentDate>\\n                        <ReasonCode>83</ReasonCode>\\n                    </ChargebackRefund>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n  ...\\n</FinancialTransactions>\",\n      \"language\": \"xml\",\n      \"name\": \"ChargebackRefund\"\n    },\n    {\n      \"code\": \"<FinancialTransactionsAccounts>\\n  ...\\n\\t <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>1</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>694.000000</GrossAmount>\\n                    <NetAmount>678.454400</NetAmount>\\n                    <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\\n                  \\t<ChargebackRefund>\\n                        <Id>149222320</Id>\\n                        <Amount>678.454400</Amount>\\n                        <Date>20160610</Date>\\n                        <PaymentDate>20160611</PaymentDate>\\n                        <ReasonCode>83</ReasonCode>\\n                    </ChargebackRefund>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n  ...\\n</FinancialTransactionsAccounts>\",\n      \"language\": \"xml\",\n      \"name\": \"Liquidação ChargebackRefund\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Atenção\",\n  \"body\": \"Se com uma mesma transação ocorrer mais de um evento no mesmo dia, apenas um nó `Transaction` é criado para essa transação e as diversas modificações estarão descritas no nó `Events` (Ex: Uma transação capturada e cancelada no mesmo dia aparecerá com os nós `Captures` e `Cancellations` com o valor diferente de zero)\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"Event\",\n  \"body\": \"Além das transações do cliente a conciliação contempla eventos financeiros, como aluguéis de POS, ajustes financeiros e transferência interna\"\n}\n[/block]\nQuando ocorre um lançamento de um evento financeiro para o cliente um nó `event` é criado em `FinancialEvents`, no dia em que esse evento for pago o mesmo nó  aparecerá sob `FinancialEventsAccounts`\n\n###Exemplos de ciclos de vida do ChargebackRefund:\n\n###`Evento (10/05) > Liquidação Evento (20/05)`\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<FinancialEvents>\\n  ...\\n  <Event>\\n        <EventId>53162534</EventId>\\n        <Description>PosRent</Description>\\n        <Type>22</Type>\\n        <PrevisionPaymentDate>20150511</PrevisionPaymentDate>\\n        <Amount>-99.000000</Amount>\\n  </Event>\\n  ...\\n</FinancialEvents>\\n\",\n      \"language\": \"xml\",\n      \"name\": \"Evento\"\n    },\n    {\n      \"code\": \"<FinancialEventsAccounts>\\n  ...\\n  <Event>\\n        <EventId>53162534</EventId>\\n        <Description>PosRent</Description>\\n        <Type>22</Type>\\n        <PaymentDate>20150511</PaymentDate>\\n        <Amount>-99.000000</Amount>\\n  </Event>\\n  ...\\n</FinancialEventsAccounts>\",\n      \"language\": \"xml\",\n      \"name\": \"Liquidação Evento\"\n    }\n  ]\n}\n[/block]","category":"56a0fd2be7056c170060b91e","createdAt":"2016-01-22T14:06:23.911Z","excerpt":"","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","next":{"description":"","pages":[]},"order":0,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"o-fluxo","sync_unique":"","title":"O Fluxo","type":"basic","updates":[],"user":"569e7f0b0306a10d00ce9b17","version":"569fe668c0864f170056517a","childrenPages":[]}

O Fluxo


Toda transação nova ou acontecimento de uma transação já existente será demonstrada no arquivo de diferentes maneiras. Abaixo demonstrarei os principais fluxos: [block:callout] { "type": "success", "title": "CAPTURA", "body": "Quando uma transação é realizada, um nó `Transaction` referente à ela aparecerá sob `FinancialTransactions` no arquivo de conciliação desse dia com o evento `Captures` com o valor 1 em `Event`, dentro do nó transaction se encontrará todas as parcelas dessa transação representadas pelos nós `Installment`." } [/block] ###Exemplos de ciclos de vida da captura: ###`Captura (10/05) > Liquidação da Parcela (09/06)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>1</NumberOfInstallments>\n <AuthorizedAmount>694.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode)\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>\n\n", "language": "xml", "name": "Captura" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PaymentDate>20160609</PaymentDate>\n <PaymentId>1234567</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>\n ...\n<Payments>\n <Payment>\n <Id>1234567</Id>\n <TotalAmount>14185.81</TotalAmount>\n \t<TotalFinancialAccountsAmount>14185.81</TotalFinancialAccountsAmount>\n <LastNegativeAmount>0.00</LastNegativeAmount>\n <FavoredBankAccount>\n <BankCode>XX</BankCode>\n <BankBranch>XXXX</BankBranch>\n <BankAccountNumber>XXXXXXXXX</BankAccountNumber>\n </FavoredBankAccount>\n </Payment>\n</Payments>", "language": "xml", "name": "Liquidação Parcela 1" } ] } [/block] [block:callout] { "type": "success", "title": "CANCELAMENTO", "body": "Quando uma transação é cancelada no dia de referência, um nó `Transaction` referente a ela aparecerá sob `FinancialTransactions` no arquivo de conciliação desse dia com o evento `Cancellations` com o valor 1 em `Event`, dentro do nó `Transaction` aparecerá um nó chamado `Cancellations` que descreve cada cancelamento (vários se houver cancelamentos parciais, ou apenas um se for cancelamento total)" } [/block] ###Exemplos de ciclos de vida da cancelamento: ###`Captura (10/05) > Liquidação da Parcela (09/06) > Cancelamento (10/06) > Desconto do Cancelamento (12/06)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>1</NumberOfInstallments>\n <AuthorizedAmount>694.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>\n\n", "language": "xml", "name": "Captura" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PaymentDate>20160609</PaymentDate>\n <PaymentId>1234567</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>\n ...\n<Payments>\n <Payment>\n <Id>1234567</Id>\n <TotalAmount>14185.81</TotalAmount>\n \t<TotalFinancialAccountsAmount>14185.81</TotalFinancialAccountsAmount>\n <LastNegativeAmount>0.00</LastNegativeAmount>\n <FavoredBankAccount>\n <BankCode>XX</BankCode>\n <BankBranch>XXXX</BankBranch>\n <BankAccountNumber>XXXXXXXXX</BankAccountNumber>\n </FavoredBankAccount>\n </Payment>\n</Payments>", "language": "xml", "name": "Liquidação Parcela 1" }, { "code": "<FinancialTransactions>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>1</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Cancellations>\n <Cancellation>\n <InstallmentNumber>1</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>694.000000</ReturnedAmount>\n <Billing>\n <ChargedAmount>678.454400</ChargedAmount>\n <PrevisionChargeDate>20160612</PrevisionChargeDate>\n </Billing>\n </Cancellation>\n </Cancellations>\n </Transaction>\n\t\t...\n<FinancialTransactions>", "language": "xml", "name": "Cancelamento" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>1</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Cancellations>\n <Cancellation>\n <InstallmentNumber>1</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>694.000000</ReturnedAmount>\n <Billing>\n <ChargedAmount>678.454400</ChargedAmount>\n <ChargeDate>20160612</ChargeDate>\n </Billing>\n </Cancellation>\n </Cancellations>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>", "language": "xml", "name": "Liquidação Cancelamento" } ] } [/block] ###`Captura (10/05) > Liquidação da Parcela (09/06) > Cancelamento (10/06) > Desconto do Cancelamento (12/06)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>3</NumberOfInstallments>\n <AuthorizedAmount>1099.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>366.340000</GrossAmount>\n <NetAmount>357.657742</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n </Installment>\n \t<Installment>\n <InstallmentNumber>2</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <PrevisionPaymentDate>20160709</PrevisionPaymentDate>\n </Installment>\n \t<Installment>\n <InstallmentNumber>3</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <PrevisionPaymentDate>20160809</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Captura" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>366.340000</GrossAmount>\n <NetAmount>357.657742</NetAmount>\n <PaymentDate>20160609</PaymentDate>\n <PaymentId>1234567</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>\n ...\n<Payments>\n <Payment>\n <Id>1234567</Id>\n <TotalAmount>14185.81</TotalAmount>\n \t<TotalFinancialAccountsAmount>14185.81</TotalFinancialAccountsAmount>\n <LastNegativeAmount>0.00</LastNegativeAmount>\n <FavoredBankAccount>\n <BankCode>XX</BankCode>\n <BankBranch>XXXX</BankBranch>\n <BankAccountNumber>XXXXXXXXX</BankAccountNumber>\n </FavoredBankAccount>\n </Payment>\n</Payments>", "language": "xml", "name": "Liquidação Parcela 1" }, { "code": "<FinancialTransactions>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>1</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Cancellations>\n <Cancellation>\n <InstallmentNumber>1</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>366.340000</ReturnedAmount>\n <Billing>\n <ChargedAmount>357.657742</ChargedAmount>\n <PrevisionChargeDate>20160612</PrevisionChargeDate>\n </Billing>\n </Cancellation>\n <Cancellation>\n <InstallmentNumber>2</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>366.330000</ReturnedAmount>\n <Billing>\n <ChargedAmount>357.647979</ChargedAmount>\n <PrevisionChargeDate>20160612</PrevisionChargeDate>\n </Billing>\n </Cancellation>\n <Cancellation>\n <InstallmentNumber>3</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>366.330000</ReturnedAmount>\n <Billing>\n <ChargedAmount>357.647979</ChargedAmount>\n <PrevisionChargeDate>20160612</PrevisionChargeDate>\n </Billing>\n </Cancellation>\n </Cancellations>\n </Transaction>\n\t\t...\n<FinancialTransactions>", "language": "xml", "name": "Cancelamento" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>3</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>2</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n \t\t\t<Installments>\n \t<!--Aceleração das parcelas-->\n <Installment>\n <InstallmentNumber>2</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <PaymentDate>20160612</PaymentDate>\n <PaymentId>1234567</PaymentId>\n </Installment>\n \t<Installment>\n <InstallmentNumber>3</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <PaymentDate>20160612</PaymentDate>\n <PaymentId>1234567</PaymentId>\n </Installment>\n </Installments>\n <Cancellations>\n \t<!--Cancelamento das parcelas aceleradas-->\n <Cancellation>\n <InstallmentNumber>1</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>366.340000</ReturnedAmount>\n <Billing>\n <ChargedAmount>357.657742</ChargedAmount>\n <ChargeDate>20160612</ChargeDate>\n </Billing>\n </Cancellation>\n <Cancellation>\n <InstallmentNumber>2</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>366.330000</ReturnedAmount>\n <Billing>\n <ChargedAmount>357.647979</ChargedAmount>\n <ChargeDate>20160612</ChargeDate>\n </Billing>\n </Cancellation>\n <Cancellation>\n <InstallmentNumber>3</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>366.330000</ReturnedAmount>\n <Billing>\n <ChargedAmount>357.647979</ChargedAmount>\n <ChargeDate>20160612</ChargeDate>\n </Billing>\n </Cancellation>\n </Cancellations>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>", "language": "xml", "name": "Desconto do Cancelamento" } ] } [/block] [block:callout] { "type": "info", "title": "Aceleração de parcelas", "body": "Acima podemos ver o exemplo de um fluxo de **Aceleração de parcelas**. Ou seja, se eu tenho uma transação de 2 parcelas, e após a liquidação da primeira parcela é enviado um cancelamento, no dia do desconto do cancelamento, é feita a aceleração da liquidação das parcelas restantes para liberar o saldo do cliente. Perceba que a PaymentDate no dia 12/06 foi antecipada." } [/block] ###`Captura (10/05) > Cancelamento (10/05)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>1</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>3</NumberOfInstallments>\n <AuthorizedAmount>1099.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Cancellations>\n <Cancellation>\n <OperationKey>2316000073093085</OperationKey>\n <CancellationDateTime>20160510104014</CancellationDateTime>\n <ReturnedAmount>694.000000</ReturnedAmount>\n </Cancellation>\n </Cancellations>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Captura + Cancelamento" } ] } [/block] [block:callout] { "type": "info", "title": "Captura + cancelamento", "body": "Repare que quando o cancelamento é feito no mesmo dia da captura, o nó `Billing` não aparece, ou seja, não é agendado uma data de desconto do cancelamento." } [/block] [block:callout] { "type": "success", "title": "Chargeback", "body": "Quando uma transação sofre chargeback ela aparece tanto em `FinancialTransactions` no dia em que sofreu o chargeback, e em `FinancialTransactionAccounts` no dia em que foi descontada" } [/block] ###Exemplos de ciclos de vida do Chargeback: ###`Captura (10/05) > Liquidação da Parcela (09/06) > Chargeback + Desconto do Chargeback (10/06)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>1</NumberOfInstallments>\n <AuthorizedAmount>694.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Captura" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PaymentDate>20160609</PaymentDate>\n <PaymentId>1234567</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>\n ...\n<Payments>\n <Payment>\n <Id>1234567</Id>\n <TotalAmount>14185.81</TotalAmount>\n <TotalFinancialAccountsAmount>14185.81</TotalFinancialAccountsAmount>\n <LastNegativeAmount>0.00</LastNegativeAmount>\n <FavoredBankAccount>\n <BankCode>XX</BankCode>\n <BankBranch>XXXX</BankBranch>\n <BankAccountNumber>XXXXXXXXX</BankAccountNumber>\n </FavoredBankAccount>\n </Payment>\n</Payments>", "language": "xml", "name": "Liquidação Parcela 1" }, { "code": "<FinancialTransactions>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>1</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n <Chargeback>\n <Id>187384389</Id>\n <Amount>678.454400</Amount>\n <Date>20160610</Date>\n <ChargeDate>20160610</ChargeDate>\n <ReasonCode>83</ReasonCode>\n </Chargeback>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactions>", "language": "xml", "name": "Chargeback + Desconto do Chargeback" } ] } [/block] [block:callout] { "type": "info", "title": "Chargeback após liquidação da parcela", "body": "Caso o chargeback ocorra após a liquidação da parcela, ele reaparecerá dentro de `Installment` e sua liquidação será imediata, sem a necessidade de aparecer novamente dentro de `FinancialTransactionsAccounts`" } [/block] ###`Captura (10/05) > Chargeback (20/05) > Liquidação Parcela + Desconto do Chargeback (09/06)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>1</NumberOfInstallments>\n <AuthorizedAmount>694.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Captura" }, { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>1</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n \t<Chargeback>\n <Id>149222320</Id>\n <Amount>678.454400</Amount>\n <Date>20160520</Date>\n <ChargeDate>20160609</ChargeDate>\n <ReasonCode>83</ReasonCode>\n </Chargeback>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Chargeback" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>1</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PaymentDate>20160609</PaymentDate>\n \t<Chargeback>\n <Id>149222320</Id>\n <Amount>678.454400</Amount>\n <Date>20160520</Date>\n <ChargeDate>20160609</ChargeDate>\n <ReasonCode>83</ReasonCode>\n </Chargeback>\n <PaymentId>1234567</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>", "language": "xml", "name": "Liquidação Parcela + Desconto Chargeback" } ] } [/block] [block:callout] { "type": "info", "title": "Chargeback antes da liquidação da parcela", "body": "Caso o Chargeback ocorra antes da liquidação da parcela, o desconto virá no dia do pagamento da parcela, como no exemplo acima. Como o pagamento é igual ao desconto, os dois se anulam." } [/block] ###`Captura (10/05) > Chargeback (20/05) > Liquidação Parcela + Desconto do Chargeback (09/06)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>3</NumberOfInstallments>\n <AuthorizedAmount>1099.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>366.340000</GrossAmount>\n <NetAmount>357.657742</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n </Installment>\n \t<Installment>\n <InstallmentNumber>2</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <PrevisionPaymentDate>20160709</PrevisionPaymentDate>\n </Installment>\n \t<Installment>\n <InstallmentNumber>3</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <PrevisionPaymentDate>20160809</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Captura" }, { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>1</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>366.340000</GrossAmount>\n <NetAmount>357.657742</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n \t<Chargeback>\n <Id>149222320</Id>\n <Amount>357.657742</Amount>\n <Date>20160520</Date>\n <ChargeDate>20160609</ChargeDate>\n <ReasonCode>83</ReasonCode>\n </Chargeback>\n </Installment>\n \t<Installment>\n <InstallmentNumber>2</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <SuspendedByChargeback>True</SuspendedByChargeback>\n </Installment>\n \t<Installment>\n <InstallmentNumber>3</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <SuspendedByChargeback>True</SuspendedByChargeback>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Chargeback" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>1</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>366.340000</GrossAmount>\n <NetAmount>357.657742</NetAmount>\n <PaymentDate>20160609</PaymentDate>\n \t<Chargeback>\n <Id>149222320</Id>\n <Amount>357.657742</Amount>\n <Date>20160520</Date>\n <ChargeDate>20160609</ChargeDate>\n <ReasonCode>83</ReasonCode>\n </Chargeback>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>", "language": "xml", "name": "Liquidação Parcela + Desconto do Chargeback" } ] } [/block] [block:callout] { "type": "info", "title": "Parcelas suspensas por Chargeback", "body": "Em transações parceladas, caso o chargeback ocorra após o pagamento ou confirmação de uma parcela, as demais serão suspensas e em caso de reapresentação, reagendadas." } [/block] [block:callout] { "type": "success", "title": "ChargebackRefund", "body": "Se uma parcela é reapresentada após chargeback ela aparecerá em `FinancialTransaction` no dia em que foi realizado a reapresentação e em `FinancialTransactionsAccounts` no dia que for pago ao lojista a reapresentação." } [/block] ###Exemplos de ciclos de vida do ChargebackRefund: ###`Captura (10/05) > Chargeback (20/05) > Liquidação Parcela + Desconto do Chargeback (09/06) > ChargebackRefund (10/06) > Liquidação ChargebackRefund (11/06)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>1</NumberOfInstallments>\n <AuthorizedAmount>694.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Captura" }, { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>1</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n \t<Chargeback>\n <Id>149222320</Id>\n <Amount>678.454400</Amount>\n <Date>20160520</Date>\n <ChargeDate>20160609</ChargeDate>\n <ReasonCode>83</ReasonCode>\n </Chargeback>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Chargeback" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>1</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PaymentDate>20160609</PaymentDate>\n \t<Chargeback>\n <Id>149222320</Id>\n <Amount>678.454400</Amount>\n <Date>20160520</Date>\n <ChargeDate>20160609</ChargeDate>\n <ReasonCode>83</ReasonCode>\n </Chargeback>\n <PaymentId>1234567</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>", "language": "xml", "name": "Liquidação Parcela + Desconto do Chargeback" }, { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>1</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n \t<ChargebackRefund>\n <Id>149222320</Id>\n <Amount>678.454400</Amount>\n <Date>20160610</Date>\n <PaymentDate>20160611</PaymentDate>\n <ReasonCode>83</ReasonCode>\n </ChargebackRefund>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "ChargebackRefund" }, { "code": "<FinancialTransactionsAccounts>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>1</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n \t<ChargebackRefund>\n <Id>149222320</Id>\n <Amount>678.454400</Amount>\n <Date>20160610</Date>\n <PaymentDate>20160611</PaymentDate>\n <ReasonCode>83</ReasonCode>\n </ChargebackRefund>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactionsAccounts>", "language": "xml", "name": "Liquidação ChargebackRefund" } ] } [/block] [block:callout] { "type": "info", "title": "Atenção", "body": "Se com uma mesma transação ocorrer mais de um evento no mesmo dia, apenas um nó `Transaction` é criado para essa transação e as diversas modificações estarão descritas no nó `Events` (Ex: Uma transação capturada e cancelada no mesmo dia aparecerá com os nós `Captures` e `Cancellations` com o valor diferente de zero)" } [/block] [block:callout] { "type": "success", "title": "Event", "body": "Além das transações do cliente a conciliação contempla eventos financeiros, como aluguéis de POS, ajustes financeiros e transferência interna" } [/block] Quando ocorre um lançamento de um evento financeiro para o cliente um nó `event` é criado em `FinancialEvents`, no dia em que esse evento for pago o mesmo nó aparecerá sob `FinancialEventsAccounts` ###Exemplos de ciclos de vida do ChargebackRefund: ###`Evento (10/05) > Liquidação Evento (20/05)` [block:code] { "codes": [ { "code": "<FinancialEvents>\n ...\n <Event>\n <EventId>53162534</EventId>\n <Description>PosRent</Description>\n <Type>22</Type>\n <PrevisionPaymentDate>20150511</PrevisionPaymentDate>\n <Amount>-99.000000</Amount>\n </Event>\n ...\n</FinancialEvents>\n", "language": "xml", "name": "Evento" }, { "code": "<FinancialEventsAccounts>\n ...\n <Event>\n <EventId>53162534</EventId>\n <Description>PosRent</Description>\n <Type>22</Type>\n <PaymentDate>20150511</PaymentDate>\n <Amount>-99.000000</Amount>\n </Event>\n ...\n</FinancialEventsAccounts>", "language": "xml", "name": "Liquidação Evento" } ] } [/block]
Toda transação nova ou acontecimento de uma transação já existente será demonstrada no arquivo de diferentes maneiras. Abaixo demonstrarei os principais fluxos: [block:callout] { "type": "success", "title": "CAPTURA", "body": "Quando uma transação é realizada, um nó `Transaction` referente à ela aparecerá sob `FinancialTransactions` no arquivo de conciliação desse dia com o evento `Captures` com o valor 1 em `Event`, dentro do nó transaction se encontrará todas as parcelas dessa transação representadas pelos nós `Installment`." } [/block] ###Exemplos de ciclos de vida da captura: ###`Captura (10/05) > Liquidação da Parcela (09/06)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>1</NumberOfInstallments>\n <AuthorizedAmount>694.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode)\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>\n\n", "language": "xml", "name": "Captura" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PaymentDate>20160609</PaymentDate>\n <PaymentId>1234567</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>\n ...\n<Payments>\n <Payment>\n <Id>1234567</Id>\n <TotalAmount>14185.81</TotalAmount>\n \t<TotalFinancialAccountsAmount>14185.81</TotalFinancialAccountsAmount>\n <LastNegativeAmount>0.00</LastNegativeAmount>\n <FavoredBankAccount>\n <BankCode>XX</BankCode>\n <BankBranch>XXXX</BankBranch>\n <BankAccountNumber>XXXXXXXXX</BankAccountNumber>\n </FavoredBankAccount>\n </Payment>\n</Payments>", "language": "xml", "name": "Liquidação Parcela 1" } ] } [/block] [block:callout] { "type": "success", "title": "CANCELAMENTO", "body": "Quando uma transação é cancelada no dia de referência, um nó `Transaction` referente a ela aparecerá sob `FinancialTransactions` no arquivo de conciliação desse dia com o evento `Cancellations` com o valor 1 em `Event`, dentro do nó `Transaction` aparecerá um nó chamado `Cancellations` que descreve cada cancelamento (vários se houver cancelamentos parciais, ou apenas um se for cancelamento total)" } [/block] ###Exemplos de ciclos de vida da cancelamento: ###`Captura (10/05) > Liquidação da Parcela (09/06) > Cancelamento (10/06) > Desconto do Cancelamento (12/06)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>1</NumberOfInstallments>\n <AuthorizedAmount>694.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>\n\n", "language": "xml", "name": "Captura" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PaymentDate>20160609</PaymentDate>\n <PaymentId>1234567</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>\n ...\n<Payments>\n <Payment>\n <Id>1234567</Id>\n <TotalAmount>14185.81</TotalAmount>\n \t<TotalFinancialAccountsAmount>14185.81</TotalFinancialAccountsAmount>\n <LastNegativeAmount>0.00</LastNegativeAmount>\n <FavoredBankAccount>\n <BankCode>XX</BankCode>\n <BankBranch>XXXX</BankBranch>\n <BankAccountNumber>XXXXXXXXX</BankAccountNumber>\n </FavoredBankAccount>\n </Payment>\n</Payments>", "language": "xml", "name": "Liquidação Parcela 1" }, { "code": "<FinancialTransactions>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>1</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Cancellations>\n <Cancellation>\n <InstallmentNumber>1</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>694.000000</ReturnedAmount>\n <Billing>\n <ChargedAmount>678.454400</ChargedAmount>\n <PrevisionChargeDate>20160612</PrevisionChargeDate>\n </Billing>\n </Cancellation>\n </Cancellations>\n </Transaction>\n\t\t...\n<FinancialTransactions>", "language": "xml", "name": "Cancelamento" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>1</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Cancellations>\n <Cancellation>\n <InstallmentNumber>1</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>694.000000</ReturnedAmount>\n <Billing>\n <ChargedAmount>678.454400</ChargedAmount>\n <ChargeDate>20160612</ChargeDate>\n </Billing>\n </Cancellation>\n </Cancellations>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>", "language": "xml", "name": "Liquidação Cancelamento" } ] } [/block] ###`Captura (10/05) > Liquidação da Parcela (09/06) > Cancelamento (10/06) > Desconto do Cancelamento (12/06)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>3</NumberOfInstallments>\n <AuthorizedAmount>1099.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>366.340000</GrossAmount>\n <NetAmount>357.657742</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n </Installment>\n \t<Installment>\n <InstallmentNumber>2</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <PrevisionPaymentDate>20160709</PrevisionPaymentDate>\n </Installment>\n \t<Installment>\n <InstallmentNumber>3</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <PrevisionPaymentDate>20160809</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Captura" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>366.340000</GrossAmount>\n <NetAmount>357.657742</NetAmount>\n <PaymentDate>20160609</PaymentDate>\n <PaymentId>1234567</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>\n ...\n<Payments>\n <Payment>\n <Id>1234567</Id>\n <TotalAmount>14185.81</TotalAmount>\n \t<TotalFinancialAccountsAmount>14185.81</TotalFinancialAccountsAmount>\n <LastNegativeAmount>0.00</LastNegativeAmount>\n <FavoredBankAccount>\n <BankCode>XX</BankCode>\n <BankBranch>XXXX</BankBranch>\n <BankAccountNumber>XXXXXXXXX</BankAccountNumber>\n </FavoredBankAccount>\n </Payment>\n</Payments>", "language": "xml", "name": "Liquidação Parcela 1" }, { "code": "<FinancialTransactions>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>1</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Cancellations>\n <Cancellation>\n <InstallmentNumber>1</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>366.340000</ReturnedAmount>\n <Billing>\n <ChargedAmount>357.657742</ChargedAmount>\n <PrevisionChargeDate>20160612</PrevisionChargeDate>\n </Billing>\n </Cancellation>\n <Cancellation>\n <InstallmentNumber>2</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>366.330000</ReturnedAmount>\n <Billing>\n <ChargedAmount>357.647979</ChargedAmount>\n <PrevisionChargeDate>20160612</PrevisionChargeDate>\n </Billing>\n </Cancellation>\n <Cancellation>\n <InstallmentNumber>3</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>366.330000</ReturnedAmount>\n <Billing>\n <ChargedAmount>357.647979</ChargedAmount>\n <PrevisionChargeDate>20160612</PrevisionChargeDate>\n </Billing>\n </Cancellation>\n </Cancellations>\n </Transaction>\n\t\t...\n<FinancialTransactions>", "language": "xml", "name": "Cancelamento" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>3</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>2</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n \t\t\t<Installments>\n \t<!--Aceleração das parcelas-->\n <Installment>\n <InstallmentNumber>2</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <PaymentDate>20160612</PaymentDate>\n <PaymentId>1234567</PaymentId>\n </Installment>\n \t<Installment>\n <InstallmentNumber>3</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <PaymentDate>20160612</PaymentDate>\n <PaymentId>1234567</PaymentId>\n </Installment>\n </Installments>\n <Cancellations>\n \t<!--Cancelamento das parcelas aceleradas-->\n <Cancellation>\n <InstallmentNumber>1</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>366.340000</ReturnedAmount>\n <Billing>\n <ChargedAmount>357.657742</ChargedAmount>\n <ChargeDate>20160612</ChargeDate>\n </Billing>\n </Cancellation>\n <Cancellation>\n <InstallmentNumber>2</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>366.330000</ReturnedAmount>\n <Billing>\n <ChargedAmount>357.647979</ChargedAmount>\n <ChargeDate>20160612</ChargeDate>\n </Billing>\n </Cancellation>\n <Cancellation>\n <InstallmentNumber>3</InstallmentNumber>\n <OperationKey>2276000071307928</OperationKey>\n <CancellationDateTime>20160610040236</CancellationDateTime>\n <ReturnedAmount>366.330000</ReturnedAmount>\n <Billing>\n <ChargedAmount>357.647979</ChargedAmount>\n <ChargeDate>20160612</ChargeDate>\n </Billing>\n </Cancellation>\n </Cancellations>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>", "language": "xml", "name": "Desconto do Cancelamento" } ] } [/block] [block:callout] { "type": "info", "title": "Aceleração de parcelas", "body": "Acima podemos ver o exemplo de um fluxo de **Aceleração de parcelas**. Ou seja, se eu tenho uma transação de 2 parcelas, e após a liquidação da primeira parcela é enviado um cancelamento, no dia do desconto do cancelamento, é feita a aceleração da liquidação das parcelas restantes para liberar o saldo do cliente. Perceba que a PaymentDate no dia 12/06 foi antecipada." } [/block] ###`Captura (10/05) > Cancelamento (10/05)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>1</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>3</NumberOfInstallments>\n <AuthorizedAmount>1099.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Cancellations>\n <Cancellation>\n <OperationKey>2316000073093085</OperationKey>\n <CancellationDateTime>20160510104014</CancellationDateTime>\n <ReturnedAmount>694.000000</ReturnedAmount>\n </Cancellation>\n </Cancellations>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Captura + Cancelamento" } ] } [/block] [block:callout] { "type": "info", "title": "Captura + cancelamento", "body": "Repare que quando o cancelamento é feito no mesmo dia da captura, o nó `Billing` não aparece, ou seja, não é agendado uma data de desconto do cancelamento." } [/block] [block:callout] { "type": "success", "title": "Chargeback", "body": "Quando uma transação sofre chargeback ela aparece tanto em `FinancialTransactions` no dia em que sofreu o chargeback, e em `FinancialTransactionAccounts` no dia em que foi descontada" } [/block] ###Exemplos de ciclos de vida do Chargeback: ###`Captura (10/05) > Liquidação da Parcela (09/06) > Chargeback + Desconto do Chargeback (10/06)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>1</NumberOfInstallments>\n <AuthorizedAmount>694.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Captura" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PaymentDate>20160609</PaymentDate>\n <PaymentId>1234567</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>\n ...\n<Payments>\n <Payment>\n <Id>1234567</Id>\n <TotalAmount>14185.81</TotalAmount>\n <TotalFinancialAccountsAmount>14185.81</TotalFinancialAccountsAmount>\n <LastNegativeAmount>0.00</LastNegativeAmount>\n <FavoredBankAccount>\n <BankCode>XX</BankCode>\n <BankBranch>XXXX</BankBranch>\n <BankAccountNumber>XXXXXXXXX</BankAccountNumber>\n </FavoredBankAccount>\n </Payment>\n</Payments>", "language": "xml", "name": "Liquidação Parcela 1" }, { "code": "<FinancialTransactions>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>1</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n <Chargeback>\n <Id>187384389</Id>\n <Amount>678.454400</Amount>\n <Date>20160610</Date>\n <ChargeDate>20160610</ChargeDate>\n <ReasonCode>83</ReasonCode>\n </Chargeback>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactions>", "language": "xml", "name": "Chargeback + Desconto do Chargeback" } ] } [/block] [block:callout] { "type": "info", "title": "Chargeback após liquidação da parcela", "body": "Caso o chargeback ocorra após a liquidação da parcela, ele reaparecerá dentro de `Installment` e sua liquidação será imediata, sem a necessidade de aparecer novamente dentro de `FinancialTransactionsAccounts`" } [/block] ###`Captura (10/05) > Chargeback (20/05) > Liquidação Parcela + Desconto do Chargeback (09/06)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>1</NumberOfInstallments>\n <AuthorizedAmount>694.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Captura" }, { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>1</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n \t<Chargeback>\n <Id>149222320</Id>\n <Amount>678.454400</Amount>\n <Date>20160520</Date>\n <ChargeDate>20160609</ChargeDate>\n <ReasonCode>83</ReasonCode>\n </Chargeback>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Chargeback" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>1</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PaymentDate>20160609</PaymentDate>\n \t<Chargeback>\n <Id>149222320</Id>\n <Amount>678.454400</Amount>\n <Date>20160520</Date>\n <ChargeDate>20160609</ChargeDate>\n <ReasonCode>83</ReasonCode>\n </Chargeback>\n <PaymentId>1234567</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>", "language": "xml", "name": "Liquidação Parcela + Desconto Chargeback" } ] } [/block] [block:callout] { "type": "info", "title": "Chargeback antes da liquidação da parcela", "body": "Caso o Chargeback ocorra antes da liquidação da parcela, o desconto virá no dia do pagamento da parcela, como no exemplo acima. Como o pagamento é igual ao desconto, os dois se anulam." } [/block] ###`Captura (10/05) > Chargeback (20/05) > Liquidação Parcela + Desconto do Chargeback (09/06)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>3</NumberOfInstallments>\n <AuthorizedAmount>1099.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>366.340000</GrossAmount>\n <NetAmount>357.657742</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n </Installment>\n \t<Installment>\n <InstallmentNumber>2</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <PrevisionPaymentDate>20160709</PrevisionPaymentDate>\n </Installment>\n \t<Installment>\n <InstallmentNumber>3</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <PrevisionPaymentDate>20160809</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Captura" }, { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>1</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>366.340000</GrossAmount>\n <NetAmount>357.657742</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n \t<Chargeback>\n <Id>149222320</Id>\n <Amount>357.657742</Amount>\n <Date>20160520</Date>\n <ChargeDate>20160609</ChargeDate>\n <ReasonCode>83</ReasonCode>\n </Chargeback>\n </Installment>\n \t<Installment>\n <InstallmentNumber>2</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <SuspendedByChargeback>True</SuspendedByChargeback>\n </Installment>\n \t<Installment>\n <InstallmentNumber>3</InstallmentNumber>\n <GrossAmount>366.330000</GrossAmount>\n <NetAmount>357.647979</NetAmount>\n <SuspendedByChargeback>True</SuspendedByChargeback>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Chargeback" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>1</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>366.340000</GrossAmount>\n <NetAmount>357.657742</NetAmount>\n <PaymentDate>20160609</PaymentDate>\n \t<Chargeback>\n <Id>149222320</Id>\n <Amount>357.657742</Amount>\n <Date>20160520</Date>\n <ChargeDate>20160609</ChargeDate>\n <ReasonCode>83</ReasonCode>\n </Chargeback>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>", "language": "xml", "name": "Liquidação Parcela + Desconto do Chargeback" } ] } [/block] [block:callout] { "type": "info", "title": "Parcelas suspensas por Chargeback", "body": "Em transações parceladas, caso o chargeback ocorra após o pagamento ou confirmação de uma parcela, as demais serão suspensas e em caso de reapresentação, reagendadas." } [/block] [block:callout] { "type": "success", "title": "ChargebackRefund", "body": "Se uma parcela é reapresentada após chargeback ela aparecerá em `FinancialTransaction` no dia em que foi realizado a reapresentação e em `FinancialTransactionsAccounts` no dia que for pago ao lojista a reapresentação." } [/block] ###Exemplos de ciclos de vida do ChargebackRefund: ###`Captura (10/05) > Chargeback (20/05) > Liquidação Parcela + Desconto do Chargeback (09/06) > ChargebackRefund (10/06) > Liquidação ChargebackRefund (11/06)` [block:code] { "codes": [ { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <International>True</International>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>1</NumberOfInstallments>\n <AuthorizedAmount>694.000000</AuthorizedAmount>\n <CapturedAmount>694.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>054973</IssuerAuthorizationCode>\n <BrandId>1</BrandId>\n <CardNumber>411111******1111</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Captura" }, { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>1</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n \t<Chargeback>\n <Id>149222320</Id>\n <Amount>678.454400</Amount>\n <Date>20160520</Date>\n <ChargeDate>20160609</ChargeDate>\n <ReasonCode>83</ReasonCode>\n </Chargeback>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "Chargeback" }, { "code": "<FinancialTransactionsAccounts>\n\t...\n\t\t<Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>1</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PaymentDate>20160609</PaymentDate>\n \t<Chargeback>\n <Id>149222320</Id>\n <Amount>678.454400</Amount>\n <Date>20160520</Date>\n <ChargeDate>20160609</ChargeDate>\n <ReasonCode>83</ReasonCode>\n </Chargeback>\n <PaymentId>1234567</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n\t\t...\n<FinancialTransactionsAccounts>", "language": "xml", "name": "Liquidação Parcela + Desconto do Chargeback" }, { "code": "<FinancialTransactions>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>1</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n \t<ChargebackRefund>\n <Id>149222320</Id>\n <Amount>678.454400</Amount>\n <Date>20160610</Date>\n <PaymentDate>20160611</PaymentDate>\n <ReasonCode>83</ReasonCode>\n </ChargebackRefund>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactions>", "language": "xml", "name": "ChargebackRefund" }, { "code": "<FinancialTransactionsAccounts>\n ...\n\t <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>1</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>99960072739732</AcquirerTransactionKey>\n <InitiatorTransactionKey>123456789</InitiatorTransactionKey>\n <AuthorizationDateTime>20160509154748</AuthorizationDateTime>\n <CaptureLocalDateTime>20160510082639</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>694.000000</GrossAmount>\n <NetAmount>678.454400</NetAmount>\n <PrevisionPaymentDate>20160609</PrevisionPaymentDate>\n \t<ChargebackRefund>\n <Id>149222320</Id>\n <Amount>678.454400</Amount>\n <Date>20160610</Date>\n <PaymentDate>20160611</PaymentDate>\n <ReasonCode>83</ReasonCode>\n </ChargebackRefund>\n </Installment>\n </Installments>\n </Transaction>\n ...\n</FinancialTransactionsAccounts>", "language": "xml", "name": "Liquidação ChargebackRefund" } ] } [/block] [block:callout] { "type": "info", "title": "Atenção", "body": "Se com uma mesma transação ocorrer mais de um evento no mesmo dia, apenas um nó `Transaction` é criado para essa transação e as diversas modificações estarão descritas no nó `Events` (Ex: Uma transação capturada e cancelada no mesmo dia aparecerá com os nós `Captures` e `Cancellations` com o valor diferente de zero)" } [/block] [block:callout] { "type": "success", "title": "Event", "body": "Além das transações do cliente a conciliação contempla eventos financeiros, como aluguéis de POS, ajustes financeiros e transferência interna" } [/block] Quando ocorre um lançamento de um evento financeiro para o cliente um nó `event` é criado em `FinancialEvents`, no dia em que esse evento for pago o mesmo nó aparecerá sob `FinancialEventsAccounts` ###Exemplos de ciclos de vida do ChargebackRefund: ###`Evento (10/05) > Liquidação Evento (20/05)` [block:code] { "codes": [ { "code": "<FinancialEvents>\n ...\n <Event>\n <EventId>53162534</EventId>\n <Description>PosRent</Description>\n <Type>22</Type>\n <PrevisionPaymentDate>20150511</PrevisionPaymentDate>\n <Amount>-99.000000</Amount>\n </Event>\n ...\n</FinancialEvents>\n", "language": "xml", "name": "Evento" }, { "code": "<FinancialEventsAccounts>\n ...\n <Event>\n <EventId>53162534</EventId>\n <Description>PosRent</Description>\n <Type>22</Type>\n <PaymentDate>20150511</PaymentDate>\n <Amount>-99.000000</Amount>\n </Event>\n ...\n</FinancialEventsAccounts>", "language": "xml", "name": "Liquidação Evento" } ] } [/block]
{"__v":6,"_id":"56a685a4f857190d00c912a3","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<Conciliation>\\n    <Header>\\n        <GenerationDateTime>20151013145131</GenerationDateTime>\\n        <StoneCode>123456789</StoneCode>\\n        <LayoutVersion>2</LayoutVersion>\\n        <FileId>020202</FileId>\\n        <ReferenceDate>20150920</ReferenceDate>\\n    </Header>\\n    <FinancialTransactions>\\n        <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>1</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>12345678912356</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>1117737</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20150818155931</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20150818125935</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Cancellations>\\n                <Cancellation>\\n                    <OperationKey>3635000017434024</OperationKey>\\n                    <CancellationDateTime>20150920034340</CancellationDateTime>\\n                    <ReturnedAmount>20.000000</ReturnedAmount>\\n                    <Billing>\\n                        <ChargedAmount>19.602000</ChargedAmount>\\n                        <PrevisionChargeDate>20150921</PrevisionChargeDate>\\n                    </Billing>\\n                </Cancellation>\\n            </Cancellations>\\n        </Transaction>\\n        <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>1</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>12345678912345</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>1331632</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20150920030009</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20150920000010</CaptureLocalDateTime>\\n            <AccountType>2</AccountType>\\n            <InstallmentType>1</InstallmentType>\\n            <NumberOfInstallments>1</NumberOfInstallments>\\n            <AuthorizedAmount>50.000000</AuthorizedAmount>\\n            <CapturedAmount>50.000000</CapturedAmount>\\n            <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\\n            <IssuerAuthorizationCode>094736</IssuerAuthorizationCode>\\n            <International>True</International>\\n            <BrandId>2</BrandId>\\n            <CardNumber>132456******1122</CardNumber>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>50.000000</GrossAmount>\\n                    <NetAmount>49.005000</NetAmount>\\n                    <PrevisionPaymentDate>20151020</PrevisionPaymentDate>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n        <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>1</Cancellations>\\n                <Captures>1</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>0</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>36350017433715</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>1331697</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20150920033610</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20150920003610</CaptureLocalDateTime>\\n            <AccountType>2</AccountType>\\n            <InstallmentType>1</InstallmentType>\\n            <NumberOfInstallments>1</NumberOfInstallments>\\n            <AuthorizedAmount>125.790000</AuthorizedAmount>\\n            <CapturedAmount>125.790000</CapturedAmount>\\n            <CanceledAmount>125.790000</CanceledAmount>\\n            <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\\n            <IssuerAuthorizationCode>661137</IssuerAuthorizationCode>\\n          \\t<International>True</International>\\n            <BrandId>1</BrandId>\\n            <CardNumber>123456******1122</CardNumber>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Cancellations>\\n                <Cancellation>\\n                    <CancellationDateTime>20150920000000</CancellationDateTime>\\n                    <ReturnedAmount>125.790000</ReturnedAmount>\\n                </Cancellation>\\n            </Cancellations>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>125.790000</GrossAmount>\\n                    <NetAmount />\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n    </FinancialTransactions>\\n    <FinancialEvents>\\n        <Event>\\n            <EventId>29869413</EventId>\\n            <Description>PosRent</Description>\\n            <Type>-22</Type>\\n            <PrevisionPaymentDate>20150923</PrevisionPaymentDate>\\n            <Amount>-590.000000</Amount>\\n        </Event>\\n    </FinancialEvents>\\n    <FinancialTransactionsAccounts>\\n        <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>1</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>31550012403598</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>ad50f27deee549b2</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20150803210946</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20150803182445</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>123.440000</GrossAmount>\\n                    <NetAmount>120.354375</NetAmount>\\n                    <PaymentDate>20150920</PaymentDate>\\n                    <PaymentId>109963</PaymentId>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n        <Transaction>\\n            <Events>\\n                <CancellationCharges>0</CancellationCharges>\\n                <Cancellations>0</Cancellations>\\n                <Captures>0</Captures>\\n                <ChargebackRefunds>0</ChargebackRefunds>\\n                <Chargebacks>0</Chargebacks>\\n                <Payments>1</Payments>\\n            </Events>\\n            <AcquirerTransactionKey>31550012405762</AcquirerTransactionKey>\\n            <InitiatorTransactionKey>f172e42e9aa7446e</InitiatorTransactionKey>\\n            <AuthorizationDateTime>20150803212449</AuthorizationDateTime>\\n            <CaptureLocalDateTime>20150803183941</CaptureLocalDateTime>\\n            <Poi>\\n                <PoiType>4</PoiType>\\n            </Poi>\\n            <EntryMode>1</EntryMode>\\n            <Installments>\\n                <Installment>\\n                    <InstallmentNumber>1</InstallmentNumber>\\n                    <GrossAmount>468.400000</GrossAmount>\\n                    <NetAmount>457.533120</NetAmount>\\n                    <PaymentDate>20150920</PaymentDate>\\n                    <PaymentId>109963</PaymentId>\\n                </Installment>\\n            </Installments>\\n        </Transaction>\\n    </FinancialTransactionsAccounts>\\n    <FinancialEventAccounts>\\n        <Event>\\n            <EventId>38883564</EventId>\\n            <PaymentId>109963</PaymentId>\\n            <Description>FinancialAdjustment</Description>\\n            <Type>5</Type>\\n            <PaymentDate>20150920</PaymentDate>\\n            <Amount>900.890000</Amount>\\n        </Event>\\n    </FinancialEventAccounts>\\n    <Payments>\\n        <Payment>\\n            <Id>109963</Id>\\n            <TotalAmount>1478.77</TotalAmount>\\n          \\t<TotalFinancialAccountsAmount>1478.77</TotalFinancialAccountsAmount>\\n            <LastNegativeAmount>0.00</LastNegativeAmount>\\n\\t          <FavoredBankAccount>\\n                <BankCode>1</BankCode>\\n                <BankBranch>24111</BankBranch>\\n                <BankAccountNumber>0123456</BankAccountNumber>\\n            </FavoredBankAccount>\\n        </Payment>\\n    </Payments>\\n    <Trailer>\\n        <CapturedTransactionsQuantity>2</CapturedTransactionsQuantity>\\n        <CanceledTransactionsQuantity>3</CanceledTransactionsQuantity>\\n        <PaidInstallmentsQuantity>2</PaidInstallmentsQuantity>\\n        <ChargedCancellationsQuantity>0</ChargedCancellationsQuantity>\\n        <ChargebacksQuantity>0</ChargebacksQuantity>\\n        <ChargebacksRefundQuantity>0</ChargebacksRefundQuantity>\\n        <ChargedChargebacksQuantity>0</ChargedChargebacksQuantity>\\n        <PaidChargebacksRefundQuantity>0</PaidChargebacksRefundQuantity>\\n        <PaidEventsQuantity>1</PaidEventsQuantity>\\n        <ChargedEventsQuantity>0</ChargedEventsQuantity>\\n    </Trailer>\\n</Conciliation>\",\n      \"language\": \"xml\"\n    }\n  ]\n}\n[/block]","category":"56a0fd2be7056c170060b91e","createdAt":"2016-01-25T20:29:24.083Z","excerpt":"","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","next":{"description":"","pages":[]},"order":3,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"exemplo-de-arquivo-layout-2","sync_unique":"","title":"Exemplo de arquivo completo","type":"basic","updates":[],"user":"56a0d9d741766e0d00b28d02","version":"569fe668c0864f170056517a","childrenPages":[]}

Exemplo de arquivo completo


[block:code] { "codes": [ { "code": "<Conciliation>\n <Header>\n <GenerationDateTime>20151013145131</GenerationDateTime>\n <StoneCode>123456789</StoneCode>\n <LayoutVersion>2</LayoutVersion>\n <FileId>020202</FileId>\n <ReferenceDate>20150920</ReferenceDate>\n </Header>\n <FinancialTransactions>\n <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>1</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>12345678912356</AcquirerTransactionKey>\n <InitiatorTransactionKey>1117737</InitiatorTransactionKey>\n <AuthorizationDateTime>20150818155931</AuthorizationDateTime>\n <CaptureLocalDateTime>20150818125935</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Cancellations>\n <Cancellation>\n <OperationKey>3635000017434024</OperationKey>\n <CancellationDateTime>20150920034340</CancellationDateTime>\n <ReturnedAmount>20.000000</ReturnedAmount>\n <Billing>\n <ChargedAmount>19.602000</ChargedAmount>\n <PrevisionChargeDate>20150921</PrevisionChargeDate>\n </Billing>\n </Cancellation>\n </Cancellations>\n </Transaction>\n <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>12345678912345</AcquirerTransactionKey>\n <InitiatorTransactionKey>1331632</InitiatorTransactionKey>\n <AuthorizationDateTime>20150920030009</AuthorizationDateTime>\n <CaptureLocalDateTime>20150920000010</CaptureLocalDateTime>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>1</NumberOfInstallments>\n <AuthorizedAmount>50.000000</AuthorizedAmount>\n <CapturedAmount>50.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>094736</IssuerAuthorizationCode>\n <International>True</International>\n <BrandId>2</BrandId>\n <CardNumber>132456******1122</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>50.000000</GrossAmount>\n <NetAmount>49.005000</NetAmount>\n <PrevisionPaymentDate>20151020</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>1</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>36350017433715</AcquirerTransactionKey>\n <InitiatorTransactionKey>1331697</InitiatorTransactionKey>\n <AuthorizationDateTime>20150920033610</AuthorizationDateTime>\n <CaptureLocalDateTime>20150920003610</CaptureLocalDateTime>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>1</NumberOfInstallments>\n <AuthorizedAmount>125.790000</AuthorizedAmount>\n <CapturedAmount>125.790000</CapturedAmount>\n <CanceledAmount>125.790000</CanceledAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>661137</IssuerAuthorizationCode>\n \t<International>True</International>\n <BrandId>1</BrandId>\n <CardNumber>123456******1122</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Cancellations>\n <Cancellation>\n <CancellationDateTime>20150920000000</CancellationDateTime>\n <ReturnedAmount>125.790000</ReturnedAmount>\n </Cancellation>\n </Cancellations>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>125.790000</GrossAmount>\n <NetAmount />\n </Installment>\n </Installments>\n </Transaction>\n </FinancialTransactions>\n <FinancialEvents>\n <Event>\n <EventId>29869413</EventId>\n <Description>PosRent</Description>\n <Type>-22</Type>\n <PrevisionPaymentDate>20150923</PrevisionPaymentDate>\n <Amount>-590.000000</Amount>\n </Event>\n </FinancialEvents>\n <FinancialTransactionsAccounts>\n <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>31550012403598</AcquirerTransactionKey>\n <InitiatorTransactionKey>ad50f27deee549b2</InitiatorTransactionKey>\n <AuthorizationDateTime>20150803210946</AuthorizationDateTime>\n <CaptureLocalDateTime>20150803182445</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>123.440000</GrossAmount>\n <NetAmount>120.354375</NetAmount>\n <PaymentDate>20150920</PaymentDate>\n <PaymentId>109963</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>31550012405762</AcquirerTransactionKey>\n <InitiatorTransactionKey>f172e42e9aa7446e</InitiatorTransactionKey>\n <AuthorizationDateTime>20150803212449</AuthorizationDateTime>\n <CaptureLocalDateTime>20150803183941</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>468.400000</GrossAmount>\n <NetAmount>457.533120</NetAmount>\n <PaymentDate>20150920</PaymentDate>\n <PaymentId>109963</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n </FinancialTransactionsAccounts>\n <FinancialEventAccounts>\n <Event>\n <EventId>38883564</EventId>\n <PaymentId>109963</PaymentId>\n <Description>FinancialAdjustment</Description>\n <Type>5</Type>\n <PaymentDate>20150920</PaymentDate>\n <Amount>900.890000</Amount>\n </Event>\n </FinancialEventAccounts>\n <Payments>\n <Payment>\n <Id>109963</Id>\n <TotalAmount>1478.77</TotalAmount>\n \t<TotalFinancialAccountsAmount>1478.77</TotalFinancialAccountsAmount>\n <LastNegativeAmount>0.00</LastNegativeAmount>\n\t <FavoredBankAccount>\n <BankCode>1</BankCode>\n <BankBranch>24111</BankBranch>\n <BankAccountNumber>0123456</BankAccountNumber>\n </FavoredBankAccount>\n </Payment>\n </Payments>\n <Trailer>\n <CapturedTransactionsQuantity>2</CapturedTransactionsQuantity>\n <CanceledTransactionsQuantity>3</CanceledTransactionsQuantity>\n <PaidInstallmentsQuantity>2</PaidInstallmentsQuantity>\n <ChargedCancellationsQuantity>0</ChargedCancellationsQuantity>\n <ChargebacksQuantity>0</ChargebacksQuantity>\n <ChargebacksRefundQuantity>0</ChargebacksRefundQuantity>\n <ChargedChargebacksQuantity>0</ChargedChargebacksQuantity>\n <PaidChargebacksRefundQuantity>0</PaidChargebacksRefundQuantity>\n <PaidEventsQuantity>1</PaidEventsQuantity>\n <ChargedEventsQuantity>0</ChargedEventsQuantity>\n </Trailer>\n</Conciliation>", "language": "xml" } ] } [/block]
[block:code] { "codes": [ { "code": "<Conciliation>\n <Header>\n <GenerationDateTime>20151013145131</GenerationDateTime>\n <StoneCode>123456789</StoneCode>\n <LayoutVersion>2</LayoutVersion>\n <FileId>020202</FileId>\n <ReferenceDate>20150920</ReferenceDate>\n </Header>\n <FinancialTransactions>\n <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>1</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>12345678912356</AcquirerTransactionKey>\n <InitiatorTransactionKey>1117737</InitiatorTransactionKey>\n <AuthorizationDateTime>20150818155931</AuthorizationDateTime>\n <CaptureLocalDateTime>20150818125935</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Cancellations>\n <Cancellation>\n <OperationKey>3635000017434024</OperationKey>\n <CancellationDateTime>20150920034340</CancellationDateTime>\n <ReturnedAmount>20.000000</ReturnedAmount>\n <Billing>\n <ChargedAmount>19.602000</ChargedAmount>\n <PrevisionChargeDate>20150921</PrevisionChargeDate>\n </Billing>\n </Cancellation>\n </Cancellations>\n </Transaction>\n <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>12345678912345</AcquirerTransactionKey>\n <InitiatorTransactionKey>1331632</InitiatorTransactionKey>\n <AuthorizationDateTime>20150920030009</AuthorizationDateTime>\n <CaptureLocalDateTime>20150920000010</CaptureLocalDateTime>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>1</NumberOfInstallments>\n <AuthorizedAmount>50.000000</AuthorizedAmount>\n <CapturedAmount>50.000000</CapturedAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>094736</IssuerAuthorizationCode>\n <International>True</International>\n <BrandId>2</BrandId>\n <CardNumber>132456******1122</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>50.000000</GrossAmount>\n <NetAmount>49.005000</NetAmount>\n <PrevisionPaymentDate>20151020</PrevisionPaymentDate>\n </Installment>\n </Installments>\n </Transaction>\n <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>1</Cancellations>\n <Captures>1</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>0</Payments>\n </Events>\n <AcquirerTransactionKey>36350017433715</AcquirerTransactionKey>\n <InitiatorTransactionKey>1331697</InitiatorTransactionKey>\n <AuthorizationDateTime>20150920033610</AuthorizationDateTime>\n <CaptureLocalDateTime>20150920003610</CaptureLocalDateTime>\n <AccountType>2</AccountType>\n <InstallmentType>1</InstallmentType>\n <NumberOfInstallments>1</NumberOfInstallments>\n <AuthorizedAmount>125.790000</AuthorizedAmount>\n <CapturedAmount>125.790000</CapturedAmount>\n <CanceledAmount>125.790000</CanceledAmount>\n <AuthorizationCurrencyCode>986</AuthorizationCurrencyCode>\n <IssuerAuthorizationCode>661137</IssuerAuthorizationCode>\n \t<International>True</International>\n <BrandId>1</BrandId>\n <CardNumber>123456******1122</CardNumber>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Cancellations>\n <Cancellation>\n <CancellationDateTime>20150920000000</CancellationDateTime>\n <ReturnedAmount>125.790000</ReturnedAmount>\n </Cancellation>\n </Cancellations>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>125.790000</GrossAmount>\n <NetAmount />\n </Installment>\n </Installments>\n </Transaction>\n </FinancialTransactions>\n <FinancialEvents>\n <Event>\n <EventId>29869413</EventId>\n <Description>PosRent</Description>\n <Type>-22</Type>\n <PrevisionPaymentDate>20150923</PrevisionPaymentDate>\n <Amount>-590.000000</Amount>\n </Event>\n </FinancialEvents>\n <FinancialTransactionsAccounts>\n <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>31550012403598</AcquirerTransactionKey>\n <InitiatorTransactionKey>ad50f27deee549b2</InitiatorTransactionKey>\n <AuthorizationDateTime>20150803210946</AuthorizationDateTime>\n <CaptureLocalDateTime>20150803182445</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>123.440000</GrossAmount>\n <NetAmount>120.354375</NetAmount>\n <PaymentDate>20150920</PaymentDate>\n <PaymentId>109963</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n <Transaction>\n <Events>\n <CancellationCharges>0</CancellationCharges>\n <Cancellations>0</Cancellations>\n <Captures>0</Captures>\n <ChargebackRefunds>0</ChargebackRefunds>\n <Chargebacks>0</Chargebacks>\n <Payments>1</Payments>\n </Events>\n <AcquirerTransactionKey>31550012405762</AcquirerTransactionKey>\n <InitiatorTransactionKey>f172e42e9aa7446e</InitiatorTransactionKey>\n <AuthorizationDateTime>20150803212449</AuthorizationDateTime>\n <CaptureLocalDateTime>20150803183941</CaptureLocalDateTime>\n <Poi>\n <PoiType>4</PoiType>\n </Poi>\n <EntryMode>1</EntryMode>\n <Installments>\n <Installment>\n <InstallmentNumber>1</InstallmentNumber>\n <GrossAmount>468.400000</GrossAmount>\n <NetAmount>457.533120</NetAmount>\n <PaymentDate>20150920</PaymentDate>\n <PaymentId>109963</PaymentId>\n </Installment>\n </Installments>\n </Transaction>\n </FinancialTransactionsAccounts>\n <FinancialEventAccounts>\n <Event>\n <EventId>38883564</EventId>\n <PaymentId>109963</PaymentId>\n <Description>FinancialAdjustment</Description>\n <Type>5</Type>\n <PaymentDate>20150920</PaymentDate>\n <Amount>900.890000</Amount>\n </Event>\n </FinancialEventAccounts>\n <Payments>\n <Payment>\n <Id>109963</Id>\n <TotalAmount>1478.77</TotalAmount>\n \t<TotalFinancialAccountsAmount>1478.77</TotalFinancialAccountsAmount>\n <LastNegativeAmount>0.00</LastNegativeAmount>\n\t <FavoredBankAccount>\n <BankCode>1</BankCode>\n <BankBranch>24111</BankBranch>\n <BankAccountNumber>0123456</BankAccountNumber>\n </FavoredBankAccount>\n </Payment>\n </Payments>\n <Trailer>\n <CapturedTransactionsQuantity>2</CapturedTransactionsQuantity>\n <CanceledTransactionsQuantity>3</CanceledTransactionsQuantity>\n <PaidInstallmentsQuantity>2</PaidInstallmentsQuantity>\n <ChargedCancellationsQuantity>0</ChargedCancellationsQuantity>\n <ChargebacksQuantity>0</ChargebacksQuantity>\n <ChargebacksRefundQuantity>0</ChargebacksRefundQuantity>\n <ChargedChargebacksQuantity>0</ChargedChargebacksQuantity>\n <PaidChargebacksRefundQuantity>0</PaidChargebacksRefundQuantity>\n <PaidEventsQuantity>1</PaidEventsQuantity>\n <ChargedEventsQuantity>0</ChargedEventsQuantity>\n </Trailer>\n</Conciliation>", "language": "xml" } ] } [/block]
{"__v":4,"_id":"5769bc361f52a00e006a972e","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"Retornar à [FinancialTransactions](doc:financialtransactions)\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Valor\",\n    \"h-1\": \"Descrição\",\n    \"0-0\": \"1\",\n    \"1-0\": \"2\",\n    \"0-1\": \"Debit (Débito)\",\n    \"1-1\": \"Credit (Crédito)\"\n  },\n  \"cols\": 2,\n  \"rows\": 2\n}\n[/block]","category":"57644cab0742400e00c046a3","createdAt":"2016-06-21T22:14:14.173Z","excerpt":"","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","order":0,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"accounttype","sync_unique":"","title":"AccountType","type":"basic","updates":[],"user":"5758517f3479732b00f44be0","version":"569fe668c0864f170056517a","childrenPages":[]}

AccountType


Retornar à [FinancialTransactions](doc:financialtransactions) [block:parameters] { "data": { "h-0": "Valor", "h-1": "Descrição", "0-0": "1", "1-0": "2", "0-1": "Debit (Débito)", "1-1": "Credit (Crédito)" }, "cols": 2, "rows": 2 } [/block]
Retornar à [FinancialTransactions](doc:financialtransactions) [block:parameters] { "data": { "h-0": "Valor", "h-1": "Descrição", "0-0": "1", "1-0": "2", "0-1": "Debit (Débito)", "1-1": "Credit (Crédito)" }, "cols": 2, "rows": 2 } [/block]
{"__v":2,"_id":"5769bc40e54de70e0085b40a","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"Retornar à [FinancialTransactions](doc:financialtransactions) \n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Valor\",\n    \"h-1\": \"Descrição\",\n    \"0-0\": \"1\",\n    \"1-0\": \"2\",\n    \"2-0\": \"3\",\n    \"0-1\": \"À vista lojista\",\n    \"1-1\": \"Parcelado lojista\",\n    \"2-1\": \"Parcelado emissor\"\n  },\n  \"cols\": 2,\n  \"rows\": 3\n}\n[/block]","category":"57644cab0742400e00c046a3","createdAt":"2016-06-21T22:14:24.385Z","excerpt":"","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","order":1,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"installmenttype","sync_unique":"","title":"InstallmentType","type":"basic","updates":[],"user":"5758517f3479732b00f44be0","version":"569fe668c0864f170056517a","childrenPages":[]}

InstallmentType


Retornar à [FinancialTransactions](doc:financialtransactions) [block:parameters] { "data": { "h-0": "Valor", "h-1": "Descrição", "0-0": "1", "1-0": "2", "2-0": "3", "0-1": "À vista lojista", "1-1": "Parcelado lojista", "2-1": "Parcelado emissor" }, "cols": 2, "rows": 3 } [/block]
Retornar à [FinancialTransactions](doc:financialtransactions) [block:parameters] { "data": { "h-0": "Valor", "h-1": "Descrição", "0-0": "1", "1-0": "2", "2-0": "3", "0-1": "À vista lojista", "1-1": "Parcelado lojista", "2-1": "Parcelado emissor" }, "cols": 2, "rows": 3 } [/block]
{"__v":2,"_id":"5769bc4be54de70e0085b40c","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"Retornar à [FinancialTransactions](doc:financialtransactions) \n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Valor\",\n    \"h-1\": \"Descrição\",\n    \"0-0\": \"1\",\n    \"1-0\": \"2\",\n    \"0-1\": \"Visa\",\n    \"1-1\": \"MasterCard\"\n  },\n  \"cols\": 2,\n  \"rows\": 2\n}\n[/block]","category":"57644cab0742400e00c046a3","createdAt":"2016-06-21T22:14:35.062Z","excerpt":"","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","order":2,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"brandid","sync_unique":"","title":"BrandId","type":"basic","updates":[],"user":"5758517f3479732b00f44be0","version":"569fe668c0864f170056517a","childrenPages":[]}

BrandId


Retornar à [FinancialTransactions](doc:financialtransactions) [block:parameters] { "data": { "h-0": "Valor", "h-1": "Descrição", "0-0": "1", "1-0": "2", "0-1": "Visa", "1-1": "MasterCard" }, "cols": 2, "rows": 2 } [/block]
Retornar à [FinancialTransactions](doc:financialtransactions) [block:parameters] { "data": { "h-0": "Valor", "h-1": "Descrição", "0-0": "1", "1-0": "2", "0-1": "Visa", "1-1": "MasterCard" }, "cols": 2, "rows": 2 } [/block]
{"__v":2,"_id":"5769bc531f52a00e006a9730","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"Retornar à [FinancialTransactions](doc:financialtransactions) \n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Valor\",\n    \"h-1\": \"Descrição\",\n    \"0-0\": \"1\",\n    \"1-0\": \"2\",\n    \"2-0\": \"3\",\n    \"3-0\": \"4\",\n    \"0-1\": \"POS\",\n    \"1-1\": \"MICRO POS\",\n    \"2-1\": \"TEF\",\n    \"3-1\": \"ECOMMERCE\"\n  },\n  \"cols\": 2,\n  \"rows\": 4\n}\n[/block]","category":"57644cab0742400e00c046a3","createdAt":"2016-06-21T22:14:43.183Z","excerpt":"","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","order":3,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"poitype","sync_unique":"","title":"PoiType","type":"basic","updates":[],"user":"5758517f3479732b00f44be0","version":"569fe668c0864f170056517a","childrenPages":[]}

PoiType


Retornar à [FinancialTransactions](doc:financialtransactions) [block:parameters] { "data": { "h-0": "Valor", "h-1": "Descrição", "0-0": "1", "1-0": "2", "2-0": "3", "3-0": "4", "0-1": "POS", "1-1": "MICRO POS", "2-1": "TEF", "3-1": "ECOMMERCE" }, "cols": 2, "rows": 4 } [/block]
Retornar à [FinancialTransactions](doc:financialtransactions) [block:parameters] { "data": { "h-0": "Valor", "h-1": "Descrição", "0-0": "1", "1-0": "2", "2-0": "3", "3-0": "4", "0-1": "POS", "1-1": "MICRO POS", "2-1": "TEF", "3-1": "ECOMMERCE" }, "cols": 2, "rows": 4 } [/block]
{"__v":3,"_id":"5769bc68ed18d22b00e641da","api":{"auth":"required","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","url":""},"body":"Retornar à [FinancialEvents](doc:financialevents)\n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"2\",\n    \"h-0\": \"Valor\",\n    \"0-1\": \"InternalTransfer (Transferência Interna)\",\n    \"1-0\": \"5\",\n    \"1-1\": \"FinancialAdjustment (Ajuste financeiro)\",\n    \"2-0\": \"22\",\n    \"2-1\": \"PosRent (Aluguel de POS)\",\n    \"h-1\": \"Descrição\"\n  },\n  \"cols\": 2,\n  \"rows\": 3\n}\n[/block]","category":"57644cab0742400e00c046a3","createdAt":"2016-06-21T22:15:04.480Z","excerpt":"","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","order":4,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"type","sync_unique":"","title":"Type","type":"basic","updates":[],"user":"5758517f3479732b00f44be0","version":"569fe668c0864f170056517a","childrenPages":[]}

Type


Retornar à [FinancialEvents](doc:financialevents) [block:parameters] { "data": { "0-0": "2", "h-0": "Valor", "0-1": "InternalTransfer (Transferência Interna)", "1-0": "5", "1-1": "FinancialAdjustment (Ajuste financeiro)", "2-0": "22", "2-1": "PosRent (Aluguel de POS)", "h-1": "Descrição" }, "cols": 2, "rows": 3 } [/block]
Retornar à [FinancialEvents](doc:financialevents) [block:parameters] { "data": { "0-0": "2", "h-0": "Valor", "0-1": "InternalTransfer (Transferência Interna)", "1-0": "5", "1-1": "FinancialAdjustment (Ajuste financeiro)", "2-0": "22", "2-1": "PosRent (Aluguel de POS)", "h-1": "Descrição" }, "cols": 2, "rows": 3 } [/block]
{"__v":0,"_id":"58dababa37efe70f005a2a86","api":{"settings":"","results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"auth":"required","params":[],"url":""},"body":"Retornar à [EntryMode](doc:entrymode) \n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Valor\",\n    \"h-1\": \"Descrição\",\n    \"0-0\": \"1\",\n    \"1-0\": \"2\",\n    \"2-0\": \"3\",\n    \"3-0\": \"4\",\n    \"0-1\": \"Chip & Pin\",\n    \"1-1\": \"Magnetic Stripe Reader\",\n    \"2-1\": \"Bar Code\",\n    \"3-1\": \"Optical Character Recognition (OCR)\",\n    \"4-0\": \"5\",\n    \"4-1\": \"Integrated Circuit Card 1\",\n    \"5-0\": \"7\",\n    \"5-1\": \"Proximity Payment Using ICC Data\",\n    \"6-0\": \"80\",\n    \"6-1\": \"ICC Fallback To Magnetic Stripe\",\n    \"7-0\": \"81\",\n    \"7-1\": \"Electronic Commerce\",\n    \"8-0\": \"90\",\n    \"8-1\": \"Complete contents of magnetic stripe, track 2 have been read and checked\",\n    \"9-0\": \"91\",\n    \"9-1\": \"Proximity payment using magnetic stripe data\"\n  },\n  \"cols\": 2,\n  \"rows\": 10\n}\n[/block]","category":"57644cab0742400e00c046a3","createdAt":"2017-03-28T19:34:18.555Z","excerpt":"","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","next":{"pages":[],"description":""},"order":999,"project":"569fe667c0864f1700565177","slug":"entrymode","sync_unique":"","title":"EntryMode","type":"basic","updates":[],"user":"5835d997ca60af0f00ee1606","version":"569fe668c0864f170056517a","childrenPages":[]}

EntryMode


Retornar à [EntryMode](doc:entrymode) [block:parameters] { "data": { "h-0": "Valor", "h-1": "Descrição", "0-0": "1", "1-0": "2", "2-0": "3", "3-0": "4", "0-1": "Chip & Pin", "1-1": "Magnetic Stripe Reader", "2-1": "Bar Code", "3-1": "Optical Character Recognition (OCR)", "4-0": "5", "4-1": "Integrated Circuit Card 1", "5-0": "7", "5-1": "Proximity Payment Using ICC Data", "6-0": "80", "6-1": "ICC Fallback To Magnetic Stripe", "7-0": "81", "7-1": "Electronic Commerce", "8-0": "90", "8-1": "Complete contents of magnetic stripe, track 2 have been read and checked", "9-0": "91", "9-1": "Proximity payment using magnetic stripe data" }, "cols": 2, "rows": 10 } [/block]
Retornar à [EntryMode](doc:entrymode) [block:parameters] { "data": { "h-0": "Valor", "h-1": "Descrição", "0-0": "1", "1-0": "2", "2-0": "3", "3-0": "4", "0-1": "Chip & Pin", "1-1": "Magnetic Stripe Reader", "2-1": "Bar Code", "3-1": "Optical Character Recognition (OCR)", "4-0": "5", "4-1": "Integrated Circuit Card 1", "5-0": "7", "5-1": "Proximity Payment Using ICC Data", "6-0": "80", "6-1": "ICC Fallback To Magnetic Stripe", "7-0": "81", "7-1": "Electronic Commerce", "8-0": "90", "8-1": "Complete contents of magnetic stripe, track 2 have been read and checked", "9-0": "91", "9-1": "Proximity payment using magnetic stripe data" }, "cols": 2, "rows": 10 } [/block]
{"__v":3,"_id":"575f45892a034b19001d8c17","api":{"auth":"required","examples":{"codes":[]},"method":"get","params":[{"_id":"575f45ff2a034b19001d8c1b","default":"v2","desc":"Versão do arquivo (Ex: v2)","name":"Version","ref":"","required":true,"type":"string","in":"path"},{"_id":"575f45ff2a034b19001d8c1a","default":"20160510","desc":"No formato: yyyyMMdd","name":"Date","ref":"","required":true,"type":"datetime","in":"path"}],"results":{"codes":[{"status":200,"language":"xml","code":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Conciliation>\n    <Header>\n        <GenerationDateTime>20160613231510</GenerationDateTime>\n        <StoneCode>185346049</StoneCode>\n        <LayoutVersion>2</LayoutVersion>\n        <FileId>0</FileId>\n        <ReferenceDate>20160512</ReferenceDate>\n    </Header>\n    <FinancialTransactions />\n    <FinancialEvents />\n    <FinancialTransactionsAccounts />\n    <FinancialEventAccounts />\n    <Payments />\n    <Trailer>\n        <CapturedTransactionsQuantity>0</CapturedTransactionsQuantity>\n        <CanceledTransactionsQuantity>0</CanceledTransactionsQuantity>\n        <PaidInstallmentsQuantity>0</PaidInstallmentsQuantity>\n        <ChargedCancellationsQuantity>0</ChargedCancellationsQuantity>\n        <ChargebacksQuantity>0</ChargebacksQuantity>\n        <ChargebacksRefundQuantity>0</ChargebacksRefundQuantity>\n        <ChargedChargebacksQuantity>0</ChargedChargebacksQuantity>\n        <PaidChargebacksRefundQuantity>0</PaidChargebacksRefundQuantity>\n        <PaidEventsQuantity>0</PaidEventsQuantity>\n        <ChargedEventsQuantity>0</ChargedEventsQuantity>\n    </Trailer>\n</Conciliation>","name":""},{"status":203,"language":"xml","code":"<string xmlns=\"http://schemas.microsoft.com/2003/10/Serialization/\">Could not validate authorization key Cannot resolve the received security key abc123def456abc123def456abc</string>","name":""}]},"settings":"","url":"/:Version/:Date"},"body":"[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Pré-requisitos:\",\n  \"body\": \"+ Conexão com a internet\\n+ Protocolo de comunicação TLS 1.2\\n+ AffiliationKey (AK)\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl \\\\\\n-H \\\"Authorization: affiliation-key\\\" \\\\\\n-H \\\"Accept-Encoding: gzip\\\" \\\\\\n\\\"https://conciliation.stone.com.br/conciliation-file/v2/20160510\\\"\",\n      \"language\": \"shell\",\n      \"name\": \"Curl\"\n    },\n    {\n      \"code\": \"WebRequest request = WebRequest.Create(url+version+dataArquivo.ToString(\\\"yyyyMMdd\\\"));\\n\\nrequest.Credentials = CredentialCache.DefaultCredentials;\\nrequest.Headers.Add(\\\"Authorization\\\", affiliationKey);\\n\\nWebResponse response = request.GetResponse();\\nStream dataStream = response.GetResponseStream();\",\n      \"language\": \"csharp\",\n      \"name\": \"C#\"\n    }\n  ]\n}\n[/block]\n**Teste sua AffiliationKey no API Explorer.**\n\nInsira a mesma clicando na chave abaixo (caso não tenha, poderá utilizar nossa chave de testes `cabab2f481f34f50920726f1aded858a`):","category":"575f4541bf589a0e0090ed65","createdAt":"2016-06-13T23:45:13.848Z","editedParams":true,"editedParams2":true,"excerpt":"Um simples GET para obter seu arquivo","githubsync":"","hidden":false,"isReference":true,"link_external":false,"link_url":"","order":0,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"get","sync_unique":"","title":"https://conciliation.stone.com.br/conciliation-file/{version}/{date}","type":"get","updates":[],"user":"5758517f3479732b00f44be0","version":"569fe668c0864f170056517a","childrenPages":[]}

gethttps://conciliation.stone.com.br/conciliation-file/{version}/{date}

Um simples GET para obter seu arquivo

Path Params

Version:
required
stringv2
Versão do arquivo (Ex: v2)
Date:
required
datetime20160510
No formato: yyyyMMdd
[block:callout] { "type": "warning", "title": "Pré-requisitos:", "body": "+ Conexão com a internet\n+ Protocolo de comunicação TLS 1.2\n+ AffiliationKey (AK)" } [/block] [block:code] { "codes": [ { "code": "curl \\\n-H \"Authorization: affiliation-key\" \\\n-H \"Accept-Encoding: gzip\" \\\n\"https://conciliation.stone.com.br/conciliation-file/v2/20160510\"", "language": "shell", "name": "Curl" }, { "code": "WebRequest request = WebRequest.Create(url+version+dataArquivo.ToString(\"yyyyMMdd\"));\n\nrequest.Credentials = CredentialCache.DefaultCredentials;\nrequest.Headers.Add(\"Authorization\", affiliationKey);\n\nWebResponse response = request.GetResponse();\nStream dataStream = response.GetResponseStream();", "language": "csharp", "name": "C#" } ] } [/block] **Teste sua AffiliationKey no API Explorer.** Insira a mesma clicando na chave abaixo (caso não tenha, poderá utilizar nossa chave de testes `cabab2f481f34f50920726f1aded858a`):

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}

Definition

{{ api_url }}{{ page_api_url }}

Result Format



[block:callout] { "type": "warning", "title": "Pré-requisitos:", "body": "+ Conexão com a internet\n+ Protocolo de comunicação TLS 1.2\n+ AffiliationKey (AK)" } [/block] [block:code] { "codes": [ { "code": "curl \\\n-H \"Authorization: affiliation-key\" \\\n-H \"Accept-Encoding: gzip\" \\\n\"https://conciliation.stone.com.br/conciliation-file/v2/20160510\"", "language": "shell", "name": "Curl" }, { "code": "WebRequest request = WebRequest.Create(url+version+dataArquivo.ToString(\"yyyyMMdd\"));\n\nrequest.Credentials = CredentialCache.DefaultCredentials;\nrequest.Headers.Add(\"Authorization\", affiliationKey);\n\nWebResponse response = request.GetResponse();\nStream dataStream = response.GetResponseStream();", "language": "csharp", "name": "C#" } ] } [/block] **Teste sua AffiliationKey no API Explorer.** Insira a mesma clicando na chave abaixo (caso não tenha, poderá utilizar nossa chave de testes `cabab2f481f34f50920726f1aded858a`):
{"__v":1,"_id":"5771611227a5c20e00030d50","api":{"results":{"codes":[{"status":200,"language":"json","code":"{}","name":""},{"status":400,"language":"json","code":"{}","name":""}]},"settings":"","auth":"required","params":[],"url":""},"body":"Em caso de dúvidas, encaminhe um e-mail para: [integracoes@stone.com.br](mailto:integracoes@stone.com.br)!","category":"57715f952d37b20e00c8453e","createdAt":"2016-06-27T17:23:30.368Z","excerpt":"","githubsync":"","hidden":false,"isReference":false,"link_external":false,"link_url":"","next":{"description":"","pages":[]},"order":0,"parentDoc":null,"project":"569fe667c0864f1700565177","slug":"dúvidas","sync_unique":"","title":"Dúvidas?","type":"basic","updates":[],"user":"5758517f3479732b00f44be0","version":"569fe668c0864f170056517a","childrenPages":[]}

Dúvidas?


Em caso de dúvidas, encaminhe um e-mail para: [integracoes@stone.com.br](mailto:integracoes@stone.com.br)!
Em caso de dúvidas, encaminhe um e-mail para: [integracoes@stone.com.br](mailto:integracoes@stone.com.br)!