<?php

namespace App\Modules\Xero\Services;

interface XeroServiceInterface
{
    /**
     * Send invoice to Xero
     */
    public function sendInvoiceToXero($invoice): array;

    /**
     * Send invoice to Xero by ID
     */
    public function sendInvoiceToXeroById($invoiceId, $type = null): array;

    /**
     * Sync payment to Xero
     */
    public function syncPayment($transaction): array;

    /**
     * Delete payment from Xero
     */
    public function deletePayment($xeroPaymentId): bool;

    /**
     * Get items from Xero
     */
    public function getItems(): array;

    /**
     * Get account types from Xero
     */
    public function getTypes(): array;
} 