<?php
declare(strict_types=1);

namespace App\Core\Contracts;

interface JournalServiceInterface
{
    public function createEntry(array $header, array $lines, bool $autoPost = false): array;

    public function postEntry(int $entryId): array;

    public function reverseEntry(int $entryId, string $reason, ?string $reversalDate = null): array;
}
