<?php defined('BASEPATH') OR exit('No direct script access allowed');

/*
enum InvoiceStatus: string
{
	case Filed = 'filed';
    case Pending = 'pending';
    case Canceled = 'canceled';
}
*/

interface EinvoiceInterface
{
//	public function init($config = []);

	public function validate($data);

	public function post($data);

	public function cancel($invoiceId);

	public function get_status($invoiceId);

	public function get_details($invoiceId);

	public function format($data);
}

