Skip to content

Cobrar juros após o vencimento. #22

Description

@tiagocaus

Estou com uma dúvida!

Como você faz o tratamento quando uma fatura venceu? Preciso cobrar juros e multa.

$dadosCobranca = [
        'customer'          => $cliente_id,
        'billingType'       => "BOLETO",
        'dueDate'           => "2022-01-11", //vencimento
        'value'             => "102", //valor
        'description'       => "Teste C123452",
        'externalReference' => "C123452",
        'fine'              => ['value' => "1"],
        'interest'          => ['value' => "2"],
        'postalService'     => "false"
    ];

    $cobranca = $asaas->Cobranca()->create($dadosCobranca);

VOCÊ PODERIA ENVIAR UM EXEMPLO SEU?

Obrigado.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions