<?php

return [
    /*
    |--------------------------------------------------------------------------
    | Xero API Configuration
    |--------------------------------------------------------------------------
    |
    | Configuration constants for Xero API integration
    |
    */

    'api' => [
        'base_url' => 'https://api.xero.com/api.xro/2.0/',
        'timeout' => 30,
    ],

    'invoice' => [
        'default_account_code' => '200',
        'default_tax_type' => 'OUTPUT2',
        'default_currency' => 'GBP',
        'default_type' => 'ACCREC',
        'due_date_days' => 30,
        'number_format' => 'INV-{id}', // Invoice number format
    ],

    'payment' => [
        'reference_prefix' => 'Payment for invoice ',
        'method_suffix' => ' - {method}', // Payment method suffix format
    ],

    'logging' => [
        'prefix' => '[XERO]',
    ],
]; 