# Example: Basic invoice
use PhpFacturae\Invoice;use PhpFacturae\Party;
$invoice = Invoice::create('FAC-001') ->series('A') ->date('2024-01-15') ->seller( Party::company('A00000000', 'Test Company S.L.') ->address('C/ Test, 1', '28001', 'Madrid', 'Madrid') ->email('admin@company.es') ) ->buyer( Party::person('00000000A', 'Juan', 'García', 'López') ->address('C/ Buyer, 5', '08001', 'Barcelona', 'Barcelona') ) ->line('Consulting service', price: 1000.00, vat: 21) ->transferPayment( iban: 'ES91 2100 0418 4502 0005 1332', dueDate: '2024-02-15' ) ->export('invoice-001.xsig');