using CashLineERP.Contracts.Tax;

namespace CashLineERP.Application.Tax;

public interface IEtaAuthorityCallbackService
{
    EtaDocumentNotificationReceiptResponse ReceiveDocumentNotification(string? authorizationHeader, string payloadText);

    ProcessEtaDocumentNotificationBatchResultResponse ProcessPendingNotifications(ProcessEtaDocumentNotificationBatchRequest request);

    EtaNotificationProcessingReceiptResponse ProcessNotification(long inboxMessageId, string processorCode, int retryDelaySeconds = 300);
}
