# # TABLE STRUCTURE FOR: tec_categories # DROP TABLE IF EXISTS `tec_categories`; CREATE TABLE `tec_categories` ( `id` int(11) NOT NULL AUTO_INCREMENT, `code` varchar(20) NOT NULL, `name` varchar(55) NOT NULL, `image` varchar(100) DEFAULT 'no_image.png', PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=44 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_categories` (`id`, `code`, `name`, `image`) VALUES ('42', '1', 'Outros', 'no_image.png'); INSERT INTO `tec_categories` (`id`, `code`, `name`, `image`) VALUES ('43', '2', 'Diversos', 'no_image.png'); # # TABLE STRUCTURE FOR: tec_combo_items # DROP TABLE IF EXISTS `tec_combo_items`; CREATE TABLE `tec_combo_items` ( `id` int(11) NOT NULL AUTO_INCREMENT, `product_id` int(11) NOT NULL, `item_code` varchar(20) NOT NULL, `quantity` decimal(12,4) NOT NULL, `price` decimal(25,2) DEFAULT NULL, `cost` decimal(25,2) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; # # TABLE STRUCTURE FOR: tec_customers # DROP TABLE IF EXISTS `tec_customers`; CREATE TABLE `tec_customers` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(55) NOT NULL, `cf1` varchar(255) NOT NULL, `cf2` varchar(255) NOT NULL, `phone` varchar(20) NOT NULL, `email` varchar(100) NOT NULL, `endereco` varchar(555) NOT NULL, `numero` varchar(20) NOT NULL, `complemento` varchar(255) NOT NULL, `bairro` varchar(255) NOT NULL, `cep` varchar(100) NOT NULL, `cidade` varchar(100) NOT NULL, `estado` varchar(100) NOT NULL, `obs1` varchar(2222) NOT NULL, `data` date DEFAULT NULL, `Country` varchar(255) DEFAULT NULL, `AccountID` int(11) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=75 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_customers` (`id`, `name`, `cf1`, `cf2`, `phone`, `email`, `endereco`, `numero`, `complemento`, `bairro`, `cep`, `cidade`, `estado`, `obs1`, `data`, `Country`, `AccountID`) VALUES ('73', 'Cliente final', '999999999', '', '0', 'c', 'Benguela', '0', 'Benguela', 'Benguela', '2', 'Benguela', 'Benguela', '', '2021-12-01', 'Angola', '0'); INSERT INTO `tec_customers` (`id`, `name`, `cf1`, `cf2`, `phone`, `email`, `endereco`, `numero`, `complemento`, `bairro`, `cep`, `cidade`, `estado`, `obs1`, `data`, `Country`, `AccountID`) VALUES ('74', 'Mactos', '000000', '', '0', 'mactos.cohen@hotmail.com', 'Benguela', '0', 'Benguela', 'Benguela', '2', 'Benguela', 'Benguela', '', '2021-12-01', 'Angola', '0'); # # TABLE STRUCTURE FOR: tec_expenses # DROP TABLE IF EXISTS `tec_expenses`; CREATE TABLE `tec_expenses` ( `id` int(11) NOT NULL AUTO_INCREMENT, `date` timestamp NOT NULL DEFAULT current_timestamp(), `reference` varchar(50) NOT NULL, `amount` decimal(25,2) NOT NULL, `note` varchar(1000) DEFAULT NULL, `created_by` varchar(55) NOT NULL, `attachment` varchar(55) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_expenses` (`id`, `date`, `reference`, `amount`, `note`, `created_by`, `attachment`) VALUES ('1', '2021-06-06 20:38:00', 'qaw', '100000.00', '', '16', NULL); # # TABLE STRUCTURE FOR: tec_gift_cards # DROP TABLE IF EXISTS `tec_gift_cards`; CREATE TABLE `tec_gift_cards` ( `id` int(11) NOT NULL AUTO_INCREMENT, `date` timestamp NOT NULL DEFAULT current_timestamp(), `card_no` varchar(20) NOT NULL, `value` decimal(25,2) NOT NULL, `customer_id` int(11) DEFAULT NULL, `balance` decimal(25,2) NOT NULL, `expiry` date DEFAULT NULL, `created_by` int(11) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE, UNIQUE KEY `card_no` (`card_no`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_gift_cards` (`id`, `date`, `card_no`, `value`, `customer_id`, `balance`, `expiry`, `created_by`) VALUES ('5', '2018-03-21 04:00:22', '2489 7897 0990 8779', '250.40', NULL, '250.40', NULL, '5'); INSERT INTO `tec_gift_cards` (`id`, `date`, `card_no`, `value`, `customer_id`, `balance`, `expiry`, `created_by`) VALUES ('6', '2019-08-12 14:00:48', '1111 1111 1111 1111', '50000.00', '74', '49997.72', '0000-00-00', '16'); INSERT INTO `tec_gift_cards` (`id`, `date`, `card_no`, `value`, `customer_id`, `balance`, `expiry`, `created_by`) VALUES ('7', '2019-10-22 14:50:53', '4242 4242 4242 4242', '1000.00', NULL, '1000.00', NULL, '14'); # # TABLE STRUCTURE FOR: tec_groups # DROP TABLE IF EXISTS `tec_groups`; CREATE TABLE `tec_groups` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(20) NOT NULL, `description` varchar(100) NOT NULL, `role` varchar(8) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_groups` (`id`, `name`, `description`, `role`) VALUES ('1', 'admin', 'Administrator', '999'); INSERT INTO `tec_groups` (`id`, `name`, `description`, `role`) VALUES ('2', 'staff', 'Staff', '2'); INSERT INTO `tec_groups` (`id`, `name`, `description`, `role`) VALUES ('3', 'garson', 'Garson', '1'); INSERT INTO `tec_groups` (`id`, `name`, `description`, `role`) VALUES ('4', 'super_admin', 'Super Admin', '9999'); INSERT INTO `tec_groups` (`id`, `name`, `description`, `role`) VALUES ('5', 'comercial', 'Comercial', '100'); # # TABLE STRUCTURE FOR: tec_licences # DROP TABLE IF EXISTS `tec_licences`; CREATE TABLE `tec_licences` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `licence` varchar(250) NOT NULL, `expired_month` varchar(100) NOT NULL, `status` varchar(100) DEFAULT NULL, `insert_date` varchar(250) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; INSERT INTO `tec_licences` (`id`, `user_id`, `licence`, `expired_month`, `status`, `insert_date`) VALUES ('6', '7', '34b62b089b824d98abf8cb80d5582bb8edf2508d', 'MTI=', 'used', '2019-11-22'); INSERT INTO `tec_licences` (`id`, `user_id`, `licence`, `expired_month`, `status`, `insert_date`) VALUES ('7', '14', 'f87349f623bb99c8aca6ad3bb8042bd320731c86', 'MQ==', NULL, NULL); INSERT INTO `tec_licences` (`id`, `user_id`, `licence`, `expired_month`, `status`, `insert_date`) VALUES ('8', '19', 'fe26fc0f530c2a3c2c081385aa72c268180faf1e', 'MQ==', 'used', '2019-12-03'); INSERT INTO `tec_licences` (`id`, `user_id`, `licence`, `expired_month`, `status`, `insert_date`) VALUES ('9', '15', '9ca251ba5894c956cbc5740638d40ecf810fdc36', 'MTI=', NULL, NULL); INSERT INTO `tec_licences` (`id`, `user_id`, `licence`, `expired_month`, `status`, `insert_date`) VALUES ('10', '20', 'e6cb59ed603fb62f48f69be1febe105d15102e35', 'MTI=', 'used', '2019-12-05'); INSERT INTO `tec_licences` (`id`, `user_id`, `licence`, `expired_month`, `status`, `insert_date`) VALUES ('11', '21', '3ade9ac8f5222c2a3ecf668590725036d3f78649', 'MTI=', 'used', '2019-12-05'); INSERT INTO `tec_licences` (`id`, `user_id`, `licence`, `expired_month`, `status`, `insert_date`) VALUES ('12', '29', '0f6465f35d2dde35689663786d35b6afab8d2e74', 'MTE=', 'used', '2019-12-17'); INSERT INTO `tec_licences` (`id`, `user_id`, `licence`, `expired_month`, `status`, `insert_date`) VALUES ('13', '30', 'c3f27ea5c643a1f6ee5c7fd48a6dc89fa04cfa5f', 'MTE=', 'used', '2019-12-17'); INSERT INTO `tec_licences` (`id`, `user_id`, `licence`, `expired_month`, `status`, `insert_date`) VALUES ('14', '37', 'e4e49f67c4c9539155100730814804800373a27e', 'MTE=', 'used', '2019-12-17'); INSERT INTO `tec_licences` (`id`, `user_id`, `licence`, `expired_month`, `status`, `insert_date`) VALUES ('15', '38', '7c6ab6d418c7edf6c3c543a6b7cf219ff33f45a3', 'MTE=', 'used', '2019-12-17'); INSERT INTO `tec_licences` (`id`, `user_id`, `licence`, `expired_month`, `status`, `insert_date`) VALUES ('16', '17', '644d86894176b552ff9a6e0c775e2274847c9252', 'MTE=', 'used', '2019-12-17'); # # TABLE STRUCTURE FOR: tec_login_attempts # DROP TABLE IF EXISTS `tec_login_attempts`; CREATE TABLE `tec_login_attempts` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `ip_address` varbinary(16) NOT NULL, `login` varchar(100) NOT NULL, `time` int(11) unsigned DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; # # TABLE STRUCTURE FOR: tec_mesas # DROP TABLE IF EXISTS `tec_mesas`; CREATE TABLE `tec_mesas` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(200) NOT NULL, `places` int(5) NOT NULL, `status` tinyint(1) NOT NULL DEFAULT 0, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=71 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; INSERT INTO `tec_mesas` (`id`, `name`, `places`, `status`) VALUES ('56', 'mesa1', '2', '0'); INSERT INTO `tec_mesas` (`id`, `name`, `places`, `status`) VALUES ('58', 'mesa3', '4', '0'); INSERT INTO `tec_mesas` (`id`, `name`, `places`, `status`) VALUES ('64', 'mesa5', '0', '0'); INSERT INTO `tec_mesas` (`id`, `name`, `places`, `status`) VALUES ('65', 'mesa6', '0', '0'); INSERT INTO `tec_mesas` (`id`, `name`, `places`, `status`) VALUES ('67', 'mesa8', '0', '0'); INSERT INTO `tec_mesas` (`id`, `name`, `places`, `status`) VALUES ('68', 'mesa9', '0', '0'); INSERT INTO `tec_mesas` (`id`, `name`, `places`, `status`) VALUES ('69', 'mesa10', '0', '0'); INSERT INTO `tec_mesas` (`id`, `name`, `places`, `status`) VALUES ('70', 'mesa11', '0', '0'); # # TABLE STRUCTURE FOR: tec_numbering # DROP TABLE IF EXISTS `tec_numbering`; CREATE TABLE `tec_numbering` ( `id` int(11) NOT NULL AUTO_INCREMENT, `number` int(20) NOT NULL, `InvoiceType` varchar(4) NOT NULL, `InvoiceYear` year(4) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=575 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_numbering` (`id`, `number`, `InvoiceType`, `InvoiceYear`) VALUES ('564', '1', 'FT', '2022'); INSERT INTO `tec_numbering` (`id`, `number`, `InvoiceType`, `InvoiceYear`) VALUES ('565', '1', 'RC', '2022'); INSERT INTO `tec_numbering` (`id`, `number`, `InvoiceType`, `InvoiceYear`) VALUES ('566', '1', 'FR', '2022'); INSERT INTO `tec_numbering` (`id`, `number`, `InvoiceType`, `InvoiceYear`) VALUES ('567', '2', 'FT', '2022'); INSERT INTO `tec_numbering` (`id`, `number`, `InvoiceType`, `InvoiceYear`) VALUES ('568', '2', 'RC', '2022'); INSERT INTO `tec_numbering` (`id`, `number`, `InvoiceType`, `InvoiceYear`) VALUES ('569', '2', 'FR', '2022'); INSERT INTO `tec_numbering` (`id`, `number`, `InvoiceType`, `InvoiceYear`) VALUES ('570', '1', 'NC', '2022'); INSERT INTO `tec_numbering` (`id`, `number`, `InvoiceType`, `InvoiceYear`) VALUES ('571', '2', 'NC', '2022'); INSERT INTO `tec_numbering` (`id`, `number`, `InvoiceType`, `InvoiceYear`) VALUES ('572', '3', 'NC', '2022'); INSERT INTO `tec_numbering` (`id`, `number`, `InvoiceType`, `InvoiceYear`) VALUES ('573', '3', 'RC', '2022'); INSERT INTO `tec_numbering` (`id`, `number`, `InvoiceType`, `InvoiceYear`) VALUES ('574', '3', 'FR', '2022'); # # TABLE STRUCTURE FOR: tec_payments # DROP TABLE IF EXISTS `tec_payments`; CREATE TABLE `tec_payments` ( `id` int(11) NOT NULL AUTO_INCREMENT, `date` timestamp NULL DEFAULT current_timestamp(), `sale_id` int(11) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `transaction_id` varchar(50) DEFAULT NULL, `paid_by` varchar(20) NOT NULL, `cheque_no` varchar(20) DEFAULT NULL, `cc_no` varchar(20) DEFAULT NULL, `cc_holder` varchar(25) DEFAULT NULL, `cc_month` varchar(2) DEFAULT NULL, `cc_year` varchar(4) DEFAULT NULL, `cc_type` varchar(20) DEFAULT NULL, `amount` decimal(25,2) NOT NULL, `currency` varchar(3) DEFAULT NULL, `created_by` int(11) NOT NULL, `attachment` varchar(55) DEFAULT NULL, `note` varchar(1000) DEFAULT NULL, `pos_paid` decimal(25,2) DEFAULT 0.00, `pos_balance` decimal(25,2) DEFAULT 0.00, `gc_no` varchar(20) DEFAULT NULL, `reference` varchar(50) DEFAULT NULL, `updated_by` int(11) DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `PaymentStatus` varchar(4) DEFAULT NULL, `SourcePayment` varchar(255) DEFAULT NULL, `PaymentType` varchar(4) DEFAULT NULL, `OrderReferences` varchar(255) DEFAULT NULL, `InvoiceNo` varchar(100) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=143 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `PaymentStatus`, `SourcePayment`, `PaymentType`, `OrderReferences`, `InvoiceNo`) VALUES ('140', '2022-02-05 12:31:26', '322', '73', NULL, 'cash', 'admin', '', '', '', '', '', '171000.00', NULL, '16', NULL, '', '171000.00', '0.00', '', NULL, NULL, NULL, 'N', 'P', 'RC', 'FR SIF2022/1', 'RC SIF2022/1'); INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `PaymentStatus`, `SourcePayment`, `PaymentType`, `OrderReferences`, `InvoiceNo`) VALUES ('141', '2022-02-05 14:17:19', '324', '73', NULL, 'cash', '', '', '', '', '', '', '342000.00', NULL, '40', NULL, '', '342000.00', '0.00', '', NULL, NULL, NULL, 'N', 'P', 'RC', 'FR SIF2022/2', 'RC SIF2022/2'); INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `PaymentStatus`, `SourcePayment`, `PaymentType`, `OrderReferences`, `InvoiceNo`) VALUES ('142', '2022-02-07 10:56:14', '328', '73', NULL, 'cash', '', '', '', '', '', '', '171000.00', NULL, '40', NULL, '', '171000.00', '0.00', '', NULL, NULL, NULL, 'N', 'P', 'RC', 'FR SIF2022/3', 'RC SIF2022/3'); # # TABLE STRUCTURE FOR: tec_printers # DROP TABLE IF EXISTS `tec_printers`; CREATE TABLE `tec_printers` ( `printer_id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(255) NOT NULL, `type` varchar(255) NOT NULL, `profile` varchar(255) NOT NULL, `chars_per_line` int(11) NOT NULL, `ip_address` varchar(50) DEFAULT NULL, `port` int(10) DEFAULT NULL, `path` varchar(255) DEFAULT NULL, `date_created` datetime DEFAULT NULL, `date_modified` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), PRIMARY KEY (`printer_id`) ) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8; INSERT INTO `tec_printers` (`printer_id`, `title`, `type`, `profile`, `chars_per_line`, `ip_address`, `port`, `path`, `date_created`, `date_modified`) VALUES ('7', 'hp200', 'windows', 'simple', '80', '', '0', 'mactosbarros/hp', '2021-11-29 18:29:31', '2021-11-29 18:29:31'); INSERT INTO `tec_printers` (`printer_id`, `title`, `type`, `profile`, `chars_per_line`, `ip_address`, `port`, `path`, `date_created`, `date_modified`) VALUES ('8', 'epson', 'network', 'espon tep', '80', '192.168.100.5', '80', '', '2021-11-29 18:30:12', '2021-11-29 18:30:12'); # # TABLE STRUCTURE FOR: tec_producs_list # DROP TABLE IF EXISTS `tec_producs_list`; CREATE TABLE `tec_producs_list` ( `id` int(11) NOT NULL AUTO_INCREMENT, `product` int(11) NOT NULL, `name` char(255) NOT NULL, `price` decimal(25,2) NOT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; # # TABLE STRUCTURE FOR: tec_products # DROP TABLE IF EXISTS `tec_products`; CREATE TABLE `tec_products` ( `id` int(11) NOT NULL AUTO_INCREMENT, `code` varchar(50) DEFAULT NULL, `name` char(255) DEFAULT NULL, `category_id` int(11) NOT NULL DEFAULT 1, `price` decimal(25,2) NOT NULL, `image` varchar(255) DEFAULT 'no_image.png', `tax` varchar(20) DEFAULT NULL, `cost` decimal(25,2) DEFAULT NULL, `tax_method` tinyint(1) DEFAULT 1, `quantity` decimal(15,2) DEFAULT 0.00, `barcode_symbology` varchar(20) NOT NULL DEFAULT 'code39', `type` varchar(20) NOT NULL DEFAULT 'standard', `details` text DEFAULT NULL, `alert_quantity` decimal(10,2) DEFAULT 0.00, `price_2` decimal(25,2) DEFAULT NULL, `tax_id` int(12) DEFAULT NULL, `tax_type` varchar(4) DEFAULT NULL, `grand_total` decimal(25,2) DEFAULT NULL, `UnitOfMeasure` varchar(255) DEFAULT NULL, `validity_date` date NOT NULL, PRIMARY KEY (`id`) USING BTREE, UNIQUE KEY `code` (`code`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=960 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_products` (`id`, `code`, `name`, `category_id`, `price`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `price_2`, `tax_id`, `tax_type`, `grand_total`, `UnitOfMeasure`, `validity_date`) VALUES ('959', 'teset122', 'teste', '43', '150000.00', '82b18c76455c3c4f9112176d2312f4d7.png', '14', '500.00', '0', '8.00', 'code39', 'standard', '', '5.00', NULL, '1', 'IVA', NULL, 'Uni', '2022-04-22'); # # TABLE STRUCTURE FOR: tec_purchase_items # DROP TABLE IF EXISTS `tec_purchase_items`; CREATE TABLE `tec_purchase_items` ( `id` int(11) NOT NULL AUTO_INCREMENT, `purchase_id` int(11) NOT NULL, `product_id` int(11) NOT NULL, `quantity` decimal(15,2) NOT NULL, `cost` decimal(25,2) NOT NULL, `subtotal` decimal(25,2) NOT NULL, `discount` varchar(20) DEFAULT NULL, `item_discount` decimal(25,4) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax` int(11) DEFAULT NULL, `item_tax` decimal(25,4) DEFAULT NULL, `real_unit_price` decimal(25,4) DEFAULT NULL, `create_by` int(11) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_purchase_items` (`id`, `purchase_id`, `product_id`, `quantity`, `cost`, `subtotal`, `discount`, `item_discount`, `tax_id`, `tax`, `item_tax`, `real_unit_price`, `create_by`) VALUES ('1', '1', '959', '1.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `tec_purchase_items` (`id`, `purchase_id`, `product_id`, `quantity`, `cost`, `subtotal`, `discount`, `item_discount`, `tax_id`, `tax`, `item_tax`, `real_unit_price`, `create_by`) VALUES ('2', '1', '959', '1.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `tec_purchase_items` (`id`, `purchase_id`, `product_id`, `quantity`, `cost`, `subtotal`, `discount`, `item_discount`, `tax_id`, `tax`, `item_tax`, `real_unit_price`, `create_by`) VALUES ('3', '2', '959', '1.00', '500.00', '500.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `tec_purchase_items` (`id`, `purchase_id`, `product_id`, `quantity`, `cost`, `subtotal`, `discount`, `item_discount`, `tax_id`, `tax`, `item_tax`, `real_unit_price`, `create_by`) VALUES ('4', '3', '959', '1.00', '500.00', '500.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL); # # TABLE STRUCTURE FOR: tec_purchases # DROP TABLE IF EXISTS `tec_purchases`; CREATE TABLE `tec_purchases` ( `id` int(11) NOT NULL AUTO_INCREMENT, `reference` varchar(55) NOT NULL, `date` timestamp NOT NULL DEFAULT current_timestamp(), `note` varchar(1000) NOT NULL, `total` decimal(25,2) NOT NULL, `attachment` varchar(255) DEFAULT NULL, `supplier_id` int(11) DEFAULT NULL, `received` tinyint(1) DEFAULT NULL, `TotalDebit` decimal(25,0) DEFAULT NULL, `WorkStatusDate` varchar(100) DEFAULT NULL, `Reason` varchar(255) DEFAULT NULL, `SourceBilling` varchar(255) DEFAULT NULL, `Hash` varchar(2555) DEFAULT NULL, `HashControl` varchar(2555) DEFAULT NULL, `Pediod` varchar(255) DEFAULT NULL, `WorkDate` date DEFAULT NULL, `WorkType` varchar(255) DEFAULT NULL, `SourceID` int(11) DEFAULT NULL, `EACCode` varchar(255) DEFAULT NULL, `CustomerID` int(11) DEFAULT NULL, `LineNumber` int(11) DEFAULT NULL, `OriginatingON` varchar(255) DEFAULT NULL, `OrderDate` date DEFAULT NULL, `ProductCode` varchar(255) DEFAULT NULL, `ProductDescription` varchar(255) DEFAULT NULL, `Quantity` decimal(25,2) DEFAULT NULL, `UnitOfMeasure` varchar(255) DEFAULT NULL, `UnitPrice` decimal(10,2) DEFAULT NULL, `TaxPointDate` date DEFAULT NULL, `Description` varchar(255) DEFAULT NULL, `SerialNumber` int(11) DEFAULT NULL, `DebitAmount` decimal(10,2) DEFAULT NULL, `TaxType` varchar(4) DEFAULT NULL, `TaxCountryRegion` varchar(255) DEFAULT NULL, `TaxCode` varchar(255) DEFAULT NULL, `TaxPercentage` varchar(255) DEFAULT NULL, `SettlementAmount` varchar(255) DEFAULT NULL, `TaxPayable` decimal(10,2) DEFAULT NULL, `NetTotal` decimal(10,2) DEFAULT NULL, `GrossTotal` decimal(10,2) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_purchases` (`id`, `reference`, `date`, `note`, `total`, `attachment`, `supplier_id`, `received`, `TotalDebit`, `WorkStatusDate`, `Reason`, `SourceBilling`, `Hash`, `HashControl`, `Pediod`, `WorkDate`, `WorkType`, `SourceID`, `EACCode`, `CustomerID`, `LineNumber`, `OriginatingON`, `OrderDate`, `ProductCode`, `ProductDescription`, `Quantity`, `UnitOfMeasure`, `UnitPrice`, `TaxPointDate`, `Description`, `SerialNumber`, `DebitAmount`, `TaxType`, `TaxCountryRegion`, `TaxCode`, `TaxPercentage`, `SettlementAmount`, `TaxPayable`, `NetTotal`, `GrossTotal`) VALUES ('1', 'wewewe', '2022-02-07 11:21:00', '', '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `tec_purchases` (`id`, `reference`, `date`, `note`, `total`, `attachment`, `supplier_id`, `received`, `TotalDebit`, `WorkStatusDate`, `Reason`, `SourceBilling`, `Hash`, `HashControl`, `Pediod`, `WorkDate`, `WorkType`, `SourceID`, `EACCode`, `CustomerID`, `LineNumber`, `OriginatingON`, `OrderDate`, `ProductCode`, `ProductDescription`, `Quantity`, `UnitOfMeasure`, `UnitPrice`, `TaxPointDate`, `Description`, `SerialNumber`, `DebitAmount`, `TaxType`, `TaxCountryRegion`, `TaxCode`, `TaxPercentage`, `SettlementAmount`, `TaxPayable`, `NetTotal`, `GrossTotal`) VALUES ('2', '', '2022-02-07 11:24:00', '', '500.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `tec_purchases` (`id`, `reference`, `date`, `note`, `total`, `attachment`, `supplier_id`, `received`, `TotalDebit`, `WorkStatusDate`, `Reason`, `SourceBilling`, `Hash`, `HashControl`, `Pediod`, `WorkDate`, `WorkType`, `SourceID`, `EACCode`, `CustomerID`, `LineNumber`, `OriginatingON`, `OrderDate`, `ProductCode`, `ProductDescription`, `Quantity`, `UnitOfMeasure`, `UnitPrice`, `TaxPointDate`, `Description`, `SerialNumber`, `DebitAmount`, `TaxType`, `TaxCountryRegion`, `TaxCode`, `TaxPercentage`, `SettlementAmount`, `TaxPayable`, `NetTotal`, `GrossTotal`) VALUES ('3', '', '2022-02-10 11:35:00', '', '500.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); # # TABLE STRUCTURE FOR: tec_regime # DROP TABLE IF EXISTS `tec_regime`; CREATE TABLE `tec_regime` ( `id` int(11) NOT NULL AUTO_INCREMENT, `code` varchar(200) NOT NULL, `reason` varchar(250) NOT NULL, `tax` varchar(20) NOT NULL DEFAULT '0', `tax_type` varchar(4) DEFAULT NULL, `tax_code` varchar(4) DEFAULT NULL, `metodo` varchar(2) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; INSERT INTO `tec_regime` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`) VALUES ('1', 'M04', 'IVA – Regime de Exclusão', '0', 'NS', 'ISE', NULL); INSERT INTO `tec_regime` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`) VALUES ('3', 'M00', 'Regime Simplificado', '3', 'IVA', 'OUT', NULL); INSERT INTO `tec_regime` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`) VALUES ('4', 'M01', 'Regime Geral', '14', 'IVA', 'NOR', NULL); # # TABLE STRUCTURE FOR: tec_registers # DROP TABLE IF EXISTS `tec_registers`; CREATE TABLE `tec_registers` ( `id` int(11) NOT NULL AUTO_INCREMENT, `date` timestamp NOT NULL DEFAULT current_timestamp(), `user_id` int(11) NOT NULL, `cash_in_hand` decimal(25,2) NOT NULL, `status` varchar(10) NOT NULL, `total_cash` decimal(25,2) DEFAULT NULL, `total_cheques` int(11) DEFAULT NULL, `total_cc_slips` int(11) DEFAULT NULL, `total_cash_submitted` decimal(25,2) DEFAULT NULL, `total_cheques_submitted` int(11) DEFAULT NULL, `total_cc_slips_submitted` int(11) DEFAULT NULL, `note` text DEFAULT NULL, `closed_at` timestamp NULL DEFAULT NULL, `transfer_opened_bills` varchar(50) DEFAULT NULL, `closed_by` int(11) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_registers` (`id`, `date`, `user_id`, `cash_in_hand`, `status`, `total_cash`, `total_cheques`, `total_cc_slips`, `total_cash_submitted`, `total_cheques_submitted`, `total_cc_slips_submitted`, `note`, `closed_at`, `transfer_opened_bills`, `closed_by`) VALUES ('19', '2022-02-05 12:30:49', '16', '0.00', 'open', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `tec_registers` (`id`, `date`, `user_id`, `cash_in_hand`, `status`, `total_cash`, `total_cheques`, `total_cc_slips`, `total_cash_submitted`, `total_cheques_submitted`, `total_cc_slips_submitted`, `note`, `closed_at`, `transfer_opened_bills`, `closed_by`) VALUES ('20', '2022-02-05 14:16:57', '40', '0.00', 'open', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); # # TABLE STRUCTURE FOR: tec_saf_setting # DROP TABLE IF EXISTS `tec_saf_setting`; CREATE TABLE `tec_saf_setting` ( `id` int(11) NOT NULL AUTO_INCREMENT, `field` text NOT NULL, `value` longtext NOT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('1', 'xsd_content,xml_pattern,audit_pattern,header_pattern,account_pattern,customer_pattern,supplier_pattern,product_pattern,taxtable_pattern,generalledgerentries_pattern,saleinvoice_pattern,movementofgood_pattern,workingdocuments_pattern,payment_pattern,purchaseinvoice_pattern', ''); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('2', 'xsd_content', '\r\n\r\n\r\n \r\n \r\n Standard Audit File - Angola\r\n Standard Audit File - Angola\r\n Copyright OECD\r\n \r\n 1.01_01\r\n Developement\r\n https://github.com/assoft-portugal/SAF-T-AO/\r\n \r\n AGT - Administração Geral Tributária\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 2017-10-25\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Neste elemento registam-se os movimentos contabilísticos correspondentes ao periodo de exportação\r\n a que diz respeito o SAF-T (AO), não devendo os movimentos de abertura ser objeto de exportação,\r\n na medida em que estes são apenas refletidos ao nível do elemento GeneralLedgerAccounts.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Tem de ser tida em consideração a ordem dos elementos:\r\n * Primeiro os de DebitLine\r\n * Depois os de CreditLine\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Documentos comerciais de Fornecedores\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Preencher com o nº ONU para produtos perigosos \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Para os elementos presentes em:\r\n (1) /AuditFile/SourceDocuments/SalesInvoices/Invoice/Line/SettlementAmount\r\n (2) /AuditFile/SourceDocuments/MovementOfGoods/StockMovement/Line/SettlementAmount\r\n (3) /AuditFile/SourceDocuments/WorkingDocuments/WorkDocument/Line/SettlementAmount\r\n (4) /AuditFile/SourceDocuments/Payments/Payment/Line/SettlementAmount\r\n Deve refletir todos os descontos concedidos que afetem o total do documento - GrossTotal (descontos de linha e descontos glogais).\r\n\r\n Para os elementos presentes em:\r\n (5) /AuditFile/SourceDocuments/SalesInvoices/Invoice/DocumentTotals/Settlement/SettlementAmount\r\n (6) /AuditFile/SourceDocuments/Payments/Payment/DocumentTotals/Settlement/SettlementAmount\r\n Representa o valor acordado para desconto futuro, que afeta o total do documento - GrossTotal\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Registo comercial.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Deve ser indicado o tipo e a categoria da conta: \r\n “GR” – Conta de 1.º grau da contabilidade geral;\r\n “GA” – Conta agregadora ou integradora da contabilidade geral;\r\n “GM” – Conta de movimento da contabilidade geral;\r\n “AR” – Conta de 1.º grau da contabilidade analítica;\r\n “AA” – Conta agregadora ou integradora da contabilidade analítica; e\r\n “AM” – Conta de movimento da contabilidade analítica. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n Recomenda-se a utlização do seguinte formato:\r\n\r\n InvoiceType + ESPAÇO + / + Número Sequencial\r\n \r\n Exemplos: \r\n InvoiceType: FT\r\n InvoiceNo: FT S001/1\r\n\r\n InvoiceType: NC\r\n InvoiceNo: NC S001/1\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Deve ser preenchido com:\r\n “N” – Normal;\r\n “S” – Autofacturação;\r\n “A” – Documento anulado;\r\n “R” – Documento de resumo doutros documentos criados noutras aplicações e gerado nesta aplicação;\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Deve ser preenchido com: \r\n “FT” – Factura; \r\n “FR” – Factura/recibo; \r\n “VD” – Venda a dinheiro; \r\n “GF” – Factura genérica; \r\n “FG” -Factura global \r\n “AC” – Aviso de cobrança \r\n “AR” – Aviso de cobrança/recibo \r\n “RE” – Recibo \r\n “ND” – Nota de débito \r\n “NC” – Nota de crédito \r\n “GR” – Guia de remessa \r\n “AF” – Factura/recibo (autofacturação) \r\n “TV” – Talão de venda; (a) \r\n “TS” – Talão de serviços prestados; \r\n \r\n (a) “TD” – Talão de devolução; \r\n (a) “AA” – Alienação de activos; \r\n (a) “DA” – Devolução de activos. \r\n (a) Para o sector Segurador quando não deva constar da tabela 4.3. - \r\n Documentos de conferência de mercadorias ou de prestação de serviços (WorkingDocuments), \r\n pode ainda ser preenchido com: \r\n “RP” – Prémio ou recibo de prémio; \r\n “RE” – Estorno ou recibo de estorno; \r\n “CS” – Imputação a co-seguradoras; \r\n “LD” – Imputação a co-seguradora líder; \r\n “RA” – Resseguro aceite.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Deve ser preenchido com: “N” – Normal;\r\n “T” – Por conta de terceiros;\r\n “A” – Documento anulado;\r\n “F” – Documento facturado, ainda que parcialmente, quando\r\n para este documento também existe na tabela 4.1. – Documentos comerciais a clientes (SalesInvoices) o correspondente do tipo factura.\r\n “R” – Documento de resumo doutros documentos criados noutras aplicações e gerado nesta aplicação. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Deve ser preenchido com:\r\n “GR” – Guia de remessa;\r\n “GT” – Guia de transporte (incluir aqui as guias globais);\r\n “GA” – Guia de movimentação de activos fixos próprios; \r\n “GC” – Guia de consignação;\r\n “GD” – Guia ou nota de devolução. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Deve ser preenchido com:\r\n “CC” – Cartão crédito;\r\n “CD” – Cartão débito;\r\n “CH” – Cheque bancário;\r\n “CI” – Crédito documentário internacional;\r\n “CO” – Cheque ou cartão oferta;\r\n “CS” – Compensação de saldos em conta corrente;\r\n “DE” – Dinheiro electrónico, por exemplo residente em cartões de fidelidade ou de pontos;\r\n “MB” – Referências de pagamento para Multicaixa; \r\n “NU” – Numerário;\r\n\r\n\r\n “OU” – Outros meios aqui não assinalados;\r\n “PR” – Permuta de bens;\r\n “TB“ – Transferência bancária ou débito directo autorizado; etc. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n N para normal, A para Anulado \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Deve ser preenchido com:\r\n “P” – Produtos;\r\n “S” – Serviços;\r\n “O” – Outros (Ex: portes debitados, adiantamentos recebidos ou alienação de activos);\r\n “E” – Impostos Especiais de Consumo – (ex.:IEC);\r\n “I” – Impostos, taxas e encargos parafiscais – excepto IVA e IS que deverão ser reflectidos na tabela 2.5\r\n – Tabela de impostos (Tax Table) e Impostos Especiais de Consumo, que deverão ser preenchidos com o código “E”.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n PROPOSTA:\r\n Deve ser preenchido: \r\n com “1” se respeitar a autofacturação,\r\n Com “2” se é obrigado a cativar o IVA,\r\n Com ”3” se tiver IVA cativo e autofacturação,\r\n com “0” (zero) no caso de não cumprir com nenhuma condição .\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Deve ser preenchido com o tipo de programa fornecendo os dados aplicáveis\r\n (incluindo os documentos de conferência e os recibos emitidos, quando existam):\r\n \"A\" -Aquisição de bens e serviços;\r\n “I” -Contabilidade integrada com a facturação;\r\n “C” -Contabilidade;\r\n “F” -Facturação;\r\n “P” -Facturação parcial;\r\n \"Q -Aquisição de bens e serviços integrada com a facturação;\r\n “R” -Recibos;\r\n “S” -Autofacturação.\r\n (a) Deve ser indicado este tipo de programa se este emitir só este tipo de documento. \r\n Caso contrário, deverá ser utilizado o tipo “C”, “F” \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Código da taxa na tabela de impostos.\r\n No caso do campo 4.4.4.14.6.1. - Código do tipo de imposto (TaxType) = IVA, deve ser preenchido com:\r\n “NOR” – Taxa normal; \r\n “ISE” – Isenta;\r\n “OUT” – Outros, aplicável para os regimes especiais de IVA.\r\n No caso do campo 4.4.4.14.6.1.\r\n Código do tipo de imposto (TaxType) = IS, deve ser preenchido com:\r\n O código da verba respectiva; “ISE” – Isenta.\r\n No caso de não aplicabilidade de imposto deve ser preenchido com “NA”.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Deve ser preenchido com:\r\n “N” – Normal;\r\n “R” – Regularizações do período de tributação; \r\n “A” – Apuramento de resultados;\r\n “J” – Movimentos de ajustamento. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Neste campo deve ser indicado o tipo de imposto retido, preenchendo-o com:\r\n “IRT” – Imposto sobre o rendimento de trabalho; “II” – Imposto sobre o industrial; “IS” – Imposto do selo. \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Deve ser preenchido com:\r\n “N” – Normal;\r\n “A” – Documento anulado;\r\n “F” – Documento facturado, ainda que parcialmente, quando para este documento também existe na tabela\r\n 4.1. – Documentos Comerciais a clientes (SalesInvoices) o correspondente do tipo factura.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Deve ser preenchido com:\r\n “CM” – Consultas de mesa;\r\n “CC” – Credito de consignação;\r\n “GR” – Guia de remessa;\r\n “NR” – Nota de remessa;\r\n “FO” – Folhas de obra;\r\n “NE” – Nota de Encomenda;\r\n “OU” – Outros;\r\n “OR” – Orçamentos;\r\n “PF” – Pró-forma;\r\n “DC” – Documentos emitidos que sejam susceptíveis de apresentação ao cliente para conferência de mercadorias ou de prestação de serviços. Para o sector Segurador quando para os tipos de documentos a seguir identificados também deva existir na tabela 4.1 - Documentos comerciais a clientes (SalesInvoices) a correspondente factura ou documento rectificativo de factura, ainda pode ser preenchido com:\r\n “RP” – Prémio ou recibo de prémio;\r\n “RE” – Estorno ou recibo de estorno;\r\n “CS” – Imputação a co-seguradoras; “LD” – Imputação a co-seguradora líder; “RA” – Resseguro aceite.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Código da taxa na tabela de impostos.\r\n No caso do campo 4.4.4.14.6.1. - Código do tipo de imposto (TaxType) = IVA, deve ser preenchido com:\r\n\r\n “NOR” – Taxa normal; “ISE” – Isenta;\r\n “OUT” – Outros, aplicável para os regimes especiais de IVA.\r\n No caso do campo 4.4.4.14.6.1.\r\n Código do tipo de imposto (TaxType) = IS, deve ser preenchido com:\r\n O código da verba respectiva; “ISE” – Isenta.\r\n\r\n No caso de não aplicabilidade de imposto deve ser preenchido com “NA”.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Quando aplicável, obriga ao preenchimento de ambos os campos.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Deve ser preenchido com:\r\n “RC” – Recibo emitido\r\n “AR” – Aviso de cobrança/recibo \r\n “RG” – Outros recibos emitidos.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Preencher com o NIF Angolano sem espaços e sem qualquer prefixo do país.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n P para documento produzido na aplicacao, \r\n I para documento integrado e produzido noutra aplicacao, \r\n M para documento proveniente de recuperacao ou de emissao manual \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n P para documento produzido na aplicacao, I para documento integrado e produzido noutra aplicacao, M para documento proveniente de recuperacao ou de emissao manual \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Número da validação, atribuído à entidade produtora do software.\r\n Se não aplicável, deve ser preenchido com «0» (zero).\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n O preenchimento é obrigatório, no caso de se tratar de um sistema integrado de contabilidade e facturação, \r\n ainda que o tipo de ficheiro (TaxAccountingBasis) não deva conter as tabelas relativas à contabilidade.\r\n \r\n Deve ser indicada a chave única da tabela 3.\r\n Movimentos contabilísticos (GeneralLedgerEntries) da transacção onde foi lançado este documento, \r\n respeitando a regra aí definida para o campo 3.4.3.1 - Chave única do movimento contabilístico (TransactionID).\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n'); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('3', 'xml_pattern', '\r\n\r\n
\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value000\r\n A\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n \r\n 1234\r\n YYYY-MM-DD\r\n YYYY-MM-DD\r\n AOA\r\n YYYY-MM-DD\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n
\r\n \r\n \r\n \r\n XML Correct Value\r\n XML Correct Value\r\n 123.45\r\n 123.45\r\n 123.45\r\n 123.45\r\n GR\r\n XML Correct Value\r\n \r\n \r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n 1234\r\n \r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n st\r\n \r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n st\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n 1234\r\n \r\n \r\n P\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n str1\r\n \r\n \r\n \r\n \r\n IVA\r\n str12\r\n XML Correct Value\r\n XML Correct Value\r\n YYYY-MM-DD\r\n 123.45\r\n \r\n \r\n \r\n \r\n 33\r\n 123.45\r\n 123.45\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n 1234\r\n YYYY-MM-DD\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n N\r\n YYYY-MM-DD\r\n XML Correct Value\r\n \r\n \r\n \r\n \r\n \r\n \r\n 33\r\n 123.45\r\n 123.45\r\n \r\n XML Correct Value\r\n \r\n N\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n XML Correct Value\r\n P\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n 1234\r\n YYYY-MM-DD\r\n FT\r\n \r\n 1234\r\n 1234\r\n 1234\r\n \r\n XML Correct Value\r\n str12\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n
\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n
\r\n
\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n
\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n
\r\n
\r\n YYYY-MM-DDT12:12:12\r\n YYYY-MM-DDT12:12:12\r\n \r\n 33\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n 123.45\r\n XML Correct Value\r\n 123.45\r\n 123.45\r\n YYYY-MM-DD\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n \r\n XML Correct Value\r\n \r\n 123.45\r\n \r\n IVA\r\n str12\r\n XML Correct Value\r\n 123.45\r\n \r\n 123.45\r\n \r\n XML Correct Value\r\n 123.45\r\n \r\n \r\n \r\n 123.45\r\n 123.45\r\n 123.45\r\n \r\n str\r\n 123.45\r\n 123.45\r\n \r\n \r\n XML Correct Value\r\n 123.45\r\n YYYY-MM-DD\r\n XML Correct Value\r\n \r\n \r\n CC\r\n 123.45\r\n YYYY-MM-DD\r\n \r\n \r\n \r\n IRT\r\n XML Correct Value\r\n 123.45\r\n \r\n
\r\n
\r\n \r\n 33\r\n 123.45\r\n \r\n XML Correct Value\r\n \r\n N\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n XML Correct Value\r\n P\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n 1234\r\n YYYY-MM-DD\r\n GR\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n str12\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n
\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n
\r\n
\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n
\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n
\r\n
\r\n YYYY-MM-DDT12:12:12\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n \r\n 33\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n 123.45\r\n XML Correct Value\r\n 123.45\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n \r\n 123.45\r\n \r\n IVA\r\n str12\r\n str\r\n 123.45\r\n \r\n 123.45\r\n \r\n XML Correct Value\r\n 123.45\r\n \r\n \r\n \r\n 123.45\r\n 123.45\r\n 123.45\r\n \r\n str\r\n 123.45\r\n 123.45\r\n \r\n \r\n
\r\n
\r\n \r\n 33\r\n 123.45\r\n 123.45\r\n \r\n XML Correct Value\r\n \r\n N\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n XML Correct Value\r\n P\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n 1234\r\n YYYY-MM-DD\r\n CM\r\n XML Correct Value\r\n str12\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n \r\n 33\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n 123.45\r\n XML Correct Value\r\n 123.45\r\n YYYY-MM-DD\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n \r\n 123.45\r\n \r\n IVA\r\n str12\r\n XML Correct Value\r\n 123.45\r\n \r\n 123.45\r\n \r\n \r\n 123.45\r\n 123.45\r\n 123.45\r\n \r\n str\r\n 123.45\r\n 123.45\r\n \r\n \r\n \r\n \r\n \r\n 33\r\n 123.45\r\n 123.45\r\n \r\n XML Correct Value\r\n 1234\r\n XML Correct Value\r\n YYYY-MM-DD\r\n RC\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n N\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n XML Correct Value\r\n P\r\n \r\n \r\n CC\r\n 123.45\r\n YYYY-MM-DD\r\n \r\n XML Correct Value\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n \r\n 33\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n XML Correct Value\r\n \r\n 123.45\r\n 123.45\r\n \r\n IVA\r\n str12\r\n XML Correct Value\r\n 123.45\r\n \r\n \r\n \r\n 123.45\r\n 123.45\r\n 123.45\r\n \r\n 123.45\r\n \r\n \r\n str\r\n 123.45\r\n 123.45\r\n \r\n \r\n \r\n IRT\r\n XML Correct Value\r\n 123.45\r\n \r\n \r\n \r\n \r\n 33\r\n \r\n XML Correct Value\r\n 1234\r\n YYYY-MM-DD\r\n FT\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n 123.45\r\n 123.45\r\n 123.45\r\n 123.45\r\n \r\n str\r\n 123.45\r\n 123.45\r\n \r\n \r\n \r\n \r\n
\r\n
'); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('4', 'audit_pattern', '\r\n\r\n
Header_pattern
\r\n \r\n \r\n Account_pattern\r\n \r\n Customer_pattern\r\n Supplier_pattern\r\n Product_pattern\r\n TaxTable_pattern\r\n \r\n generalledgerentries_pattern\r\n \r\n \r\n 33\r\n 123.45\r\n 123.45\r\n SalesInvoices_pattern\r\n \r\n \r\n 33\r\n 123.45\r\n MovementOfGoods_pattern\r\n \r\n \r\n 33\r\n 123.45\r\n 123.45\r\n WorkingDocuments_pattern\r\n \r\n \r\n 33\r\n 123.45\r\n 123.45\r\n Payments_pattern\r\n \r\n PurchaseInvoices_pattern\r\n \r\n
'); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('5', 'header_pattern', '\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value000\r\n A\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n \r\n 1234\r\n YYYY-MM-DD\r\n YYYY-MM-DD\r\n AOA\r\n YYYY-MM-DD\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n '); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('6', 'account_pattern', '\r\n XML Correct Value\r\n XML Correct Value\r\n 123.45\r\n 123.45\r\n 123.45\r\n 123.45\r\n GR\r\n XML Correct Value\r\n '); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('7', 'customer_pattern', '\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n 1234\r\n '); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('8', 'supplier_pattern', '\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n st\r\n \r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n st\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n 1234\r\n '); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('9', 'product_pattern', '\r\n P\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n str1\r\n \r\n '); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('10', 'taxtable_pattern', '\r\n \r\n IVA\r\n str12\r\n XML Correct Value\r\n XML Correct Value\r\n YYYY-MM-DD\r\n 123.45\r\n \r\n '); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('11', 'generalledgerentries_pattern', '\r\n 33\r\n 123.45\r\n 123.45\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n 1234\r\n YYYY-MM-DD\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n N\r\n YYYY-MM-DD\r\n XML Correct Value\r\n \r\n \r\n \r\n '); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('12', 'saleinvoice_pattern', '\r\n XML Correct Value\r\n \r\n N\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n XML Correct Value\r\n P\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n 1234\r\n YYYY-MM-DD\r\n FT\r\n \r\n 1234\r\n 1234\r\n 1234\r\n \r\n XML Correct Value\r\n str12\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n
\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n
\r\n
\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n
\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n
\r\n
\r\n YYYY-MM-DDT12:12:12\r\n YYYY-MM-DDT12:12:12\r\n \r\n 33\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n 123.45\r\n XML Correct Value\r\n 123.45\r\n 123.45\r\n YYYY-MM-DD\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n \r\n XML Correct Value\r\n \r\n 123.45\r\n \r\n IVA\r\n str12\r\n XML Correct Value\r\n 123.45\r\n \r\n 123.45\r\n \r\n XML Correct Value\r\n 123.45\r\n \r\n \r\n \r\n 123.45\r\n 123.45\r\n 123.45\r\n \r\n str\r\n 123.45\r\n 123.45\r\n \r\n \r\n XML Correct Value\r\n 123.45\r\n YYYY-MM-DD\r\n XML Correct Value\r\n \r\n \r\n CC\r\n 123.45\r\n YYYY-MM-DD\r\n \r\n \r\n \r\n IRT\r\n XML Correct Value\r\n 123.45\r\n \r\n '); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('13', 'movementofgood_pattern', '\r\n XML Correct Value\r\n \r\n N\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n XML Correct Value\r\n P\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n 1234\r\n YYYY-MM-DD\r\n GR\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n str12\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n
\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n
\r\n
\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n
\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n XML Correct Value\r\n
\r\n
\r\n YYYY-MM-DDT12:12:12\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n \r\n 33\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n 123.45\r\n XML Correct Value\r\n 123.45\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n \r\n 123.45\r\n \r\n IVA\r\n str12\r\n str\r\n 123.45\r\n \r\n 123.45\r\n \r\n XML Correct Value\r\n 123.45\r\n \r\n \r\n \r\n 123.45\r\n 123.45\r\n 123.45\r\n \r\n str\r\n 123.45\r\n 123.45\r\n \r\n \r\n '); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('14', 'workingdocuments_pattern', '\r\n XML Correct Value\r\n \r\n N\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n XML Correct Value\r\n P\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n 1234\r\n YYYY-MM-DD\r\n CM\r\n XML Correct Value\r\n str12\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n \r\n 33\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n \r\n XML Correct Value\r\n XML Correct Value\r\n 123.45\r\n XML Correct Value\r\n 123.45\r\n YYYY-MM-DD\r\n XML Correct Value\r\n \r\n XML Correct Value\r\n \r\n 123.45\r\n \r\n IVA\r\n str12\r\n XML Correct Value\r\n 123.45\r\n \r\n 123.45\r\n \r\n \r\n 123.45\r\n 123.45\r\n 123.45\r\n \r\n str\r\n 123.45\r\n 123.45\r\n \r\n \r\n '); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('15', 'payment_pattern', '\r\n XML Correct Value\r\n 1234\r\n XML Correct Value\r\n YYYY-MM-DD\r\n RC\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n N\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n XML Correct Value\r\n P\r\n \r\n \r\n CC\r\n 123.45\r\n YYYY-MM-DD\r\n \r\n XML Correct Value\r\n YYYY-MM-DDT12:12:12\r\n XML Correct Value\r\n \r\n 33\r\n \r\n XML Correct Value\r\n YYYY-MM-DD\r\n XML Correct Value\r\n \r\n 123.45\r\n 123.45\r\n \r\n IVA\r\n str12\r\n XML Correct Value\r\n 123.45\r\n \r\n \r\n \r\n 123.45\r\n 123.45\r\n 123.45\r\n \r\n 123.45\r\n \r\n \r\n str\r\n 123.45\r\n 123.45\r\n \r\n \r\n \r\n IRT\r\n XML Correct Value\r\n 123.45\r\n \r\n '); INSERT INTO `tec_saf_setting` (`id`, `field`, `value`) VALUES ('16', 'purchaseinvoice_pattern', '\r\n 33\r\n \r\n XML Correct Value\r\n 1234\r\n YYYY-MM-DD\r\n FT\r\n XML Correct Value\r\n XML Correct Value\r\n \r\n 123.45\r\n 123.45\r\n 123.45\r\n 123.45\r\n \r\n str\r\n 123.45\r\n 123.45\r\n \r\n \r\n \r\n '); # # TABLE STRUCTURE FOR: tec_sale_items # DROP TABLE IF EXISTS `tec_sale_items`; CREATE TABLE `tec_sale_items` ( `id` int(11) NOT NULL AUTO_INCREMENT, `sale_id` int(11) NOT NULL, `product_id` int(11) NOT NULL, `quantity` decimal(15,2) NOT NULL, `unit_price` decimal(25,4) NOT NULL, `net_unit_price` decimal(25,4) NOT NULL, `discount` varchar(20) DEFAULT NULL, `item_discount` decimal(25,4) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax` int(20) DEFAULT NULL, `item_tax` decimal(25,4) DEFAULT NULL, `subtotal` decimal(25,4) NOT NULL, `real_unit_price` decimal(25,4) DEFAULT NULL, `cost` decimal(25,2) DEFAULT 0.00, `create_by` int(11) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=3100 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax_id`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `create_by`) VALUES ('3092', '321', '959', '1.00', '150000.0000', '150000.0000', '0', '0.0000', '1', '0', '21000.0000', '171000.0000', '150000.0000', '0.00', NULL); INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax_id`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `create_by`) VALUES ('3093', '322', '959', '1.00', '150000.0000', '150000.0000', '0', '0.0000', '1', '0', '21000.0000', '171000.0000', '150000.0000', '0.00', NULL); INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax_id`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `create_by`) VALUES ('3094', '323', '959', '4.00', '150000.0000', '150000.0000', '0', '0.0000', '1', '0', '84000.0000', '684000.0000', '150000.0000', '0.00', NULL); INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax_id`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `create_by`) VALUES ('3095', '324', '959', '2.00', '150000.0000', '150000.0000', '0', '0.0000', '1', '0', '42000.0000', '342000.0000', '150000.0000', '0.00', NULL); INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax_id`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `create_by`) VALUES ('3096', '325', '959', '4.00', '150000.0000', '150000.0000', '0', '0.0000', '1', '0', '84000.0000', '684000.0000', '150000.0000', '0.00', NULL); INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax_id`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `create_by`) VALUES ('3097', '326', '959', '1.00', '150000.0000', '150000.0000', '0', '0.0000', '1', '0', '21000.0000', '171000.0000', '150000.0000', '0.00', NULL); INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax_id`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `create_by`) VALUES ('3098', '327', '959', '2.00', '150000.0000', '150000.0000', '0', '0.0000', '1', '0', '42000.0000', '342000.0000', '150000.0000', '0.00', NULL); INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax_id`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `create_by`) VALUES ('3099', '328', '959', '1.00', '150000.0000', '150000.0000', '0', '0.0000', '1', '0', '21000.0000', '171000.0000', '150000.0000', '0.00', NULL); # # TABLE STRUCTURE FOR: tec_sale_sub_items # DROP TABLE IF EXISTS `tec_sale_sub_items`; CREATE TABLE `tec_sale_sub_items` ( `id` int(11) NOT NULL AUTO_INCREMENT, `sale_id` int(11) NOT NULL, `subitem_id` int(11) NOT NULL, `quantity` decimal(15,2) NOT NULL, `discount` varchar(20) DEFAULT NULL, `subtotal` decimal(25,2) NOT NULL, `real_unit_price` decimal(25,2) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; # # TABLE STRUCTURE FOR: tec_sales # DROP TABLE IF EXISTS `tec_sales`; CREATE TABLE `tec_sales` ( `id` int(11) NOT NULL AUTO_INCREMENT, `Hash` varchar(2555) DEFAULT NULL, `HashControl` varchar(2555) DEFAULT NULL, `date` datetime NOT NULL, `customer_id` int(11) NOT NULL, `customer_name` varchar(55) NOT NULL, `total` decimal(25,2) NOT NULL, `product_discount` decimal(25,2) DEFAULT NULL, `order_discount_id` varchar(20) DEFAULT NULL, `order_discount` decimal(25,2) DEFAULT NULL, `total_discount` decimal(25,2) DEFAULT NULL, `total_balance` double NOT NULL DEFAULT 0, `product_tax` decimal(25,2) DEFAULT NULL, `order_tax_id` varchar(20) DEFAULT NULL, `order_tax` decimal(25,4) DEFAULT NULL, `total_tax` decimal(25,4) DEFAULT NULL, `grand_total` decimal(25,4) NOT NULL, `total_items` int(11) DEFAULT NULL, `total_quantity` decimal(15,4) DEFAULT NULL, `paid` decimal(25,4) DEFAULT NULL, `created_by` int(11) DEFAULT NULL, `updated_by` int(11) DEFAULT NULL, `updated_at` datetime DEFAULT NULL, `note` varchar(1000) DEFAULT NULL, `status` varchar(20) NOT NULL, `rounding` decimal(8,2) DEFAULT NULL, `InvoiceType` varchar(255) NOT NULL, `InvoiceStatus` varchar(255) NOT NULL, `InvoiceNo` varchar(255) NOT NULL, `InvoiceYear` year(4) NOT NULL, `InvoiceStatusDate` varchar(255) NOT NULL, `SourceBilling` varchar(4) NOT NULL, `CashVATSchemeIndicator` varchar(255) NOT NULL, `SelfBillingIndicator` varchar(4) NOT NULL, `ThirdPartiesBillingIndicator` varchar(100) NOT NULL, `OriginatingON` varchar(5555) NOT NULL, `Reason` varchar(50) NOT NULL, `OrderReferences` varchar(255) DEFAULT NULL, `mesa` varchar(255) NOT NULL, `Hash_no` text NOT NULL, PRIMARY KEY (`id`,`status`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=329 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_sales` (`id`, `Hash`, `HashControl`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `total_balance`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `InvoiceType`, `InvoiceStatus`, `InvoiceNo`, `InvoiceYear`, `InvoiceStatusDate`, `SourceBilling`, `CashVATSchemeIndicator`, `SelfBillingIndicator`, `ThirdPartiesBillingIndicator`, `OriginatingON`, `Reason`, `OrderReferences`, `mesa`, `Hash_no`) VALUES ('321', 'MiudOotqGoEjNxmk4H4U7PAx2cJnzJGEOueNvSZsxyQVv1QbyQ1tWhPQsHQrk0/Tc4PunfGeGsb0etPnZ5MTByZWDI6SAWXL2EO5MnHB3Wlo0a5jn0JnUNDPWeyDonvaTU/p4QIUDdsEY8rw0IQVmb/eTZ++QPHlj4oxs5L83zQ=', '1', '2022-02-05 12:31:05', '73', 'Cliente final', '150000.00', '0.00', NULL, '0.00', '0.00', '0', '21000.00', NULL, '0.0000', '21000.0000', '171000.0000', '1', '1.0000', '0.0000', '16', NULL, NULL, '', 'no paid', '0.00', 'FT', 'N', 'FT SIF2022/1', '2022', '2022-02-05T12:31:05', 'P', '1', '0', '0', '', '', NULL, 'N', '2022-02-05;2022-02-05T12:31:05;FT SIF2022/1;171000.00;'); INSERT INTO `tec_sales` (`id`, `Hash`, `HashControl`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `total_balance`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `InvoiceType`, `InvoiceStatus`, `InvoiceNo`, `InvoiceYear`, `InvoiceStatusDate`, `SourceBilling`, `CashVATSchemeIndicator`, `SelfBillingIndicator`, `ThirdPartiesBillingIndicator`, `OriginatingON`, `Reason`, `OrderReferences`, `mesa`, `Hash_no`) VALUES ('322', 'MqyiQfunKIGw8wZ9c4g3N6q1vII/C3YXnxQ2l/SgvPl3JIk1n3CrpmA/EszOWwGjEXSqaZKfydQsYuecs+A2Bn5r/wjBjM/qs9bEgcThVk5Ufak3m7gSPaLuTwnWDrBEpwZ/OmM8t0mXUwu8ftBDfdyBpU/QwMUKS/PJPfruCW4=', '1', '2022-02-05 12:31:26', '73', 'Cliente final', '150000.00', '0.00', NULL, '0.00', '0.00', '0', '21000.00', NULL, '0.0000', '21000.0000', '171000.0000', '1', '1.0000', '171000.0000', '16', NULL, NULL, '', 'paid', '0.00', 'FR', 'N', 'FR SIF2022/1', '2022', '2022-02-05T12:31:26', 'P', '1', '0', '0', '', '', NULL, 'NC', '2022-02-05;2022-02-05T12:31:26;FR SIF2022/1;171000.00;'); INSERT INTO `tec_sales` (`id`, `Hash`, `HashControl`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `total_balance`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `InvoiceType`, `InvoiceStatus`, `InvoiceNo`, `InvoiceYear`, `InvoiceStatusDate`, `SourceBilling`, `CashVATSchemeIndicator`, `SelfBillingIndicator`, `ThirdPartiesBillingIndicator`, `OriginatingON`, `Reason`, `OrderReferences`, `mesa`, `Hash_no`) VALUES ('323', 'ohU8orNwMt6ikr2U7MEYHMig3274wrb0njVoK6s2C95SebvamC8UJ4CDB29ka06opQ8W7PtzK9DHaK9xJ/x4VJ4eGtm5JkwmzTPWWMyahec+7mfbuCzg9q1fEYasDUEfIoeWbuinnqLXZpFlXbup4X0agDO537lKCuMMICxqiYM=', '1', '2022-02-05 14:17:06', '73', 'Cliente final', '600000.00', '0.00', NULL, '0.00', '0.00', '0', '84000.00', NULL, '0.0000', '84000.0000', '684000.0000', '1', '4.0000', '0.0000', '40', NULL, NULL, '', 'no paid', '0.00', 'FT', 'N', 'FT SIF2022/2', '2022', '2022-02-05T14:17:06', 'P', '1', '0', '0', '', '', NULL, 'NC', '2022-02-05;2022-02-05T14:17:06;FT SIF2022/2;684000.00;MiudOotqGoEjNxmk4H4U7PAx2cJnzJGEOueNvSZsxyQVv1QbyQ1tWhPQsHQrk0/Tc4PunfGeGsb0etPnZ5MTByZWDI6SAWXL2EO5MnHB3Wlo0a5jn0JnUNDPWeyDonvaTU/p4QIUDdsEY8rw0IQVmb/eTZ++QPHlj4oxs5L83zQ='); INSERT INTO `tec_sales` (`id`, `Hash`, `HashControl`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `total_balance`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `InvoiceType`, `InvoiceStatus`, `InvoiceNo`, `InvoiceYear`, `InvoiceStatusDate`, `SourceBilling`, `CashVATSchemeIndicator`, `SelfBillingIndicator`, `ThirdPartiesBillingIndicator`, `OriginatingON`, `Reason`, `OrderReferences`, `mesa`, `Hash_no`) VALUES ('324', 'Jwcn80xxhjql/hbca7329ZQKwoP/UMeeSxUKptcLyoireulzJ4Rwfv0+2moRCR4jM4szpr1BInZQIwLg+ebv/2kiFdOMWCJnYrCz5fa+tq9oD+dyG0mPnYFGf32VvFILdQNM9vuDckvBGErW+NGUuMuKMKThgzhW2MUWuFGgcxg=', '1', '2022-02-05 14:17:19', '73', 'Cliente final', '300000.00', '0.00', NULL, '0.00', '0.00', '0', '42000.00', NULL, '0.0000', '42000.0000', '342000.0000', '1', '2.0000', '342000.0000', '40', NULL, NULL, '', 'paid', '0.00', 'FR', 'N', 'FR SIF2022/2', '2022', '2022-02-05T14:17:19', 'P', '1', '0', '0', '', '', NULL, 'NC', '2022-02-05;2022-02-05T14:17:19;FR SIF2022/2;342000.00;MqyiQfunKIGw8wZ9c4g3N6q1vII/C3YXnxQ2l/SgvPl3JIk1n3CrpmA/EszOWwGjEXSqaZKfydQsYuecs+A2Bn5r/wjBjM/qs9bEgcThVk5Ufak3m7gSPaLuTwnWDrBEpwZ/OmM8t0mXUwu8ftBDfdyBpU/QwMUKS/PJPfruCW4='); INSERT INTO `tec_sales` (`id`, `Hash`, `HashControl`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `total_balance`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `InvoiceType`, `InvoiceStatus`, `InvoiceNo`, `InvoiceYear`, `InvoiceStatusDate`, `SourceBilling`, `CashVATSchemeIndicator`, `SelfBillingIndicator`, `ThirdPartiesBillingIndicator`, `OriginatingON`, `Reason`, `OrderReferences`, `mesa`, `Hash_no`) VALUES ('325', 'Vd4UpYXexvGbEAuvhKoxjm1VF3kkd2wonTW8Vn4a7LjayqCIXSyeo3NoNFg3VJ7EiOHUlxlNHypKShNo9MvhWojXwghIeSRJXUA9kv3GgpIn3VUNI+4fKv5jhPi1jqRDxnM9Qr/Xsn/6mmWKDaPQKe4jvkImaWAfjpMzNt+8vEY=', '1', '2022-02-05 14:17:06', '73', 'Cliente final', '600000.00', '0.00', NULL, '0.00', '0.00', '0', '84000.00', NULL, '0.0000', '84000.0000', '684000.0000', '1', '4.0000', '0.0000', '40', NULL, NULL, NULL, 'no paid', '0.00', 'NC', 'N', 'NC SIF2022/1', '2022', '2022-02-05T14:17:06', 'P', '1', '0', '0', 'FT SIF2022/2', 'Devoluçao', NULL, 'N', '2022-02-05;2022-02-05T14:17:06;NC SIF2022/1;684000.00;'); INSERT INTO `tec_sales` (`id`, `Hash`, `HashControl`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `total_balance`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `InvoiceType`, `InvoiceStatus`, `InvoiceNo`, `InvoiceYear`, `InvoiceStatusDate`, `SourceBilling`, `CashVATSchemeIndicator`, `SelfBillingIndicator`, `ThirdPartiesBillingIndicator`, `OriginatingON`, `Reason`, `OrderReferences`, `mesa`, `Hash_no`) VALUES ('326', 'igYlhTSeuG84wFx8KPgxCeX75MBWgk7pN4LWgXDae38HG2bvm+Ca5zVeQHb8EJ/9J3rMH9pRwyAy7Dl+IxYdoj+GzMU7Px6JE+KnKJQ83vRDpoavt2F/kgmTk/XeP9MC26HgiMZUsJ5cIuxsprcwOjTJEU1thi2F2MbCmojucMc=', '1', '2022-02-05 12:31:26', '73', 'Cliente final', '150000.00', '0.00', NULL, '0.00', '0.00', '0', '21000.00', NULL, '0.0000', '21000.0000', '171000.0000', '1', '1.0000', '171000.0000', '16', NULL, NULL, NULL, 'paid', '0.00', 'NC', 'N', 'NC SIF2022/2', '2022', '2022-02-05T12:31:26', 'P', '1', '0', '0', 'FR SIF2022/1', 'devoluçao', NULL, 'N', '2022-02-05;2022-02-05T12:31:26;NC SIF2022/2;171000.00;Vd4UpYXexvGbEAuvhKoxjm1VF3kkd2wonTW8Vn4a7LjayqCIXSyeo3NoNFg3VJ7EiOHUlxlNHypKShNo9MvhWojXwghIeSRJXUA9kv3GgpIn3VUNI+4fKv5jhPi1jqRDxnM9Qr/Xsn/6mmWKDaPQKe4jvkImaWAfjpMzNt+8vEY='); INSERT INTO `tec_sales` (`id`, `Hash`, `HashControl`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `total_balance`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `InvoiceType`, `InvoiceStatus`, `InvoiceNo`, `InvoiceYear`, `InvoiceStatusDate`, `SourceBilling`, `CashVATSchemeIndicator`, `SelfBillingIndicator`, `ThirdPartiesBillingIndicator`, `OriginatingON`, `Reason`, `OrderReferences`, `mesa`, `Hash_no`) VALUES ('327', 'vIClgK4PSLrK4Ji3w7iwl741/LNLZdlOKCnckABRtjdJHsDjyegbgdFz/pDeXTHsR8L4rOiad6YZT26MoIvZNCHD3/+nyfw5fYzSCBItgzl+f4PBdN3WV2xkRLiEq4jwI/erbbjg8gMTmWRz2YkKZ6BiPUi0dosmrvYkS4Og+Uo=', '1', '2022-02-05 14:17:19', '73', 'Cliente final', '300000.00', '0.00', NULL, '0.00', '0.00', '0', '42000.00', NULL, '0.0000', '42000.0000', '342000.0000', '1', '2.0000', '342000.0000', '40', NULL, NULL, NULL, 'paid', '0.00', 'NC', 'N', 'NC SIF2022/3', '2022', '2022-02-05T14:17:19', 'P', '1', '0', '0', 'FR SIF2022/2', 'devolucao', NULL, 'N', '2022-02-05;2022-02-05T14:17:19;NC SIF2022/3;342000.00;igYlhTSeuG84wFx8KPgxCeX75MBWgk7pN4LWgXDae38HG2bvm+Ca5zVeQHb8EJ/9J3rMH9pRwyAy7Dl+IxYdoj+GzMU7Px6JE+KnKJQ83vRDpoavt2F/kgmTk/XeP9MC26HgiMZUsJ5cIuxsprcwOjTJEU1thi2F2MbCmojucMc='); INSERT INTO `tec_sales` (`id`, `Hash`, `HashControl`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `total_balance`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `InvoiceType`, `InvoiceStatus`, `InvoiceNo`, `InvoiceYear`, `InvoiceStatusDate`, `SourceBilling`, `CashVATSchemeIndicator`, `SelfBillingIndicator`, `ThirdPartiesBillingIndicator`, `OriginatingON`, `Reason`, `OrderReferences`, `mesa`, `Hash_no`) VALUES ('328', 'n1NNF4ZgT7OiuVaJp4a7fbMXNa2l4ePWWfMYfsaKYVZtpOYI0gRZ7Wwo8IyZIV23Ih3tBxaDJCJQ4X+8tgJDUyEUL7jHYAJFTOEAV++dhqjDXP8/fjXG8wousZUJSlw7/pcwin02aPTmhzjitjys+e8tRB5VgtL6d9+CZ4Cit/Y=', '1', '2022-02-07 10:56:14', '73', 'Cliente final', '150000.00', '0.00', NULL, '0.00', '0.00', '0', '21000.00', NULL, '0.0000', '21000.0000', '171000.0000', '1', '1.0000', '171000.0000', '40', NULL, NULL, '', 'paid', '0.00', 'FR', 'N', 'FR SIF2022/3', '2022', '2022-02-07T10:56:14', 'P', '1', '0', '0', '', '', NULL, 'N', '2022-02-07;2022-02-07T10:56:14;FR SIF2022/3;171000.00;Jwcn80xxhjql/hbca7329ZQKwoP/UMeeSxUKptcLyoireulzJ4Rwfv0+2moRCR4jM4szpr1BInZQIwLg+ebv/2kiFdOMWCJnYrCz5fa+tq9oD+dyG0mPnYFGf32VvFILdQNM9vuDckvBGErW+NGUuMuKMKThgzhW2MUWuFGgcxg='); # # TABLE STRUCTURE FOR: tec_sessions # DROP TABLE IF EXISTS `tec_sessions`; CREATE TABLE `tec_sessions` ( `id` varchar(40) NOT NULL, `ip_address` varchar(45) NOT NULL, `timestamp` int(10) unsigned NOT NULL DEFAULT 0, `data` blob NOT NULL, PRIMARY KEY (`id`) USING BTREE, KEY `ci_sessions_timestamp` (`timestamp`) USING BTREE ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('50364cfc073e9c624afffab0c1d47ab90cae77ee', '127.0.0.1', '1644251053', '__ci_last_regenerate|i:1644251049;identity|s:4:\"caly\";username|s:4:\"caly\";email|s:4:\"caly\";user_id|s:2:\"40\";first_name|s:4:\"Caly\";last_name|s:8:\"Januario\";created_on|s:20:\"21-08-2020 13:09:35 \";old_last_login|s:10:\"1644226065\";last_ip|s:9:\"127.0.0.1\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"MQ==\";message|s:22:\"

Seja Bem Vindo!

\";__ci_vars|a:1:{s:7:\"message\";s:3:\"old\";}'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('01bc77a2bf310ce1d2128d087db2409cff3c7625', '127.0.0.1', '1644334637', '__ci_last_regenerate|i:1644334627;identity|s:4:\"caly\";username|s:4:\"caly\";email|s:4:\"caly\";user_id|s:2:\"40\";first_name|s:4:\"Caly\";last_name|s:8:\"Januario\";created_on|s:20:\"21-08-2020 13:09:35 \";old_last_login|s:10:\"1644251052\";last_ip|s:9:\"127.0.0.1\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"MQ==\";'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('5ddf4aab449928a331a3e9cd43a10db1d95375e9', '127.0.0.1', '1644230249', '__ci_last_regenerate|i:1644228713;identity|s:9:\"superuser\";username|s:9:\"superuser\";email|s:9:\"superuser\";user_id|s:2:\"16\";first_name|s:11:\"Mactoscohen\";last_name|s:3:\"lda\";created_on|s:20:\"22-11-2019 14:47:11 \";old_last_login|s:10:\"1644176157\";last_ip|s:9:\"127.0.0.1\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"NA==\";redirect_page|s:0:\"\";register_id|s:2:\"19\";cash_in_hand|s:4:\"0.00\";register_open_time|s:19:\"2022-02-05 12:30:49\";'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('8080cb9baef7846bffe9fed7b8585bf8d9d52540', '127.0.0.1', '1644183357', '__ci_last_regenerate|i:1644180893;identity|s:9:\"superuser\";username|s:9:\"superuser\";email|s:9:\"superuser\";user_id|s:2:\"16\";first_name|s:11:\"Mactoscohen\";last_name|s:3:\"lda\";created_on|s:20:\"22-11-2019 14:47:11 \";old_last_login|s:10:\"1644138245\";last_ip|s:9:\"127.0.0.1\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"NA==\";redirect_page|s:9:\"cash_sale\";register_id|s:2:\"19\";cash_in_hand|s:4:\"0.00\";register_open_time|s:19:\"2022-02-05 12:30:49\";invoice_status|s:7:\"reprint\";'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('353ca65d96f12869bf0721815d0943b2dfe995ee', '127.0.0.1', '1644176235', '__ci_last_regenerate|i:1644176136;identity|s:9:\"superuser\";username|s:9:\"superuser\";email|s:9:\"superuser\";user_id|s:2:\"16\";first_name|s:11:\"Mactoscohen\";last_name|s:3:\"lda\";created_on|s:20:\"22-11-2019 14:47:11 \";old_last_login|s:10:\"1644138245\";last_ip|s:9:\"127.0.0.1\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"NA==\";'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('a884112f4a11dcf1012054afbbb66995cc31c2ad', '127.0.0.1', '1644104997', '__ci_last_regenerate|i:1644104997;'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('2f5b9c2d55a354778e69e9c6ed11bee6335084e3', '127.0.0.1', '1644140000', '__ci_last_regenerate|i:1644138217;identity|s:9:\"superuser\";username|s:9:\"superuser\";email|s:9:\"superuser\";user_id|s:2:\"16\";first_name|s:11:\"Mactoscohen\";last_name|s:3:\"lda\";created_on|s:20:\"22-11-2019 14:47:11 \";old_last_login|s:10:\"1644097161\";last_ip|s:9:\"127.0.0.1\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"NA==\";redirect_page|s:0:\"\";register_id|s:2:\"19\";cash_in_hand|s:4:\"0.00\";register_open_time|s:19:\"2022-02-05 12:30:49\";'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('f78502587425266117091f505110f4cc02e926f7', '127.0.0.1', '1644102694', '__ci_last_regenerate|i:1644102694;'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('64ef27672b940d29bc8bc22f5083186ee17526d3', '127.0.0.1', '1644102694', '__ci_last_regenerate|i:1644102694;'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('861e8ff192331dcdfde455cb06a6b0ae065a2619', '127.0.0.1', '1644105501', '__ci_last_regenerate|i:1644102953;identity|s:9:\"superuser\";username|s:9:\"superuser\";email|s:9:\"superuser\";user_id|s:2:\"16\";first_name|s:11:\"Mactoscohen\";last_name|s:3:\"lda\";created_on|s:20:\"22-11-2019 14:47:11 \";old_last_login|s:10:\"1644066964\";last_ip|s:9:\"127.0.0.1\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"NA==\";'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('c04ffc32fe07078bbcecd5ff2cf5cdd45f77bce5', '127.0.0.1', '1644102892', '__ci_last_regenerate|i:1644099910;identity|s:9:\"superuser\";username|s:9:\"superuser\";email|s:9:\"superuser\";user_id|s:2:\"16\";first_name|s:11:\"Mactoscohen\";last_name|s:3:\"lda\";created_on|s:20:\"22-11-2019 14:47:11 \";old_last_login|s:10:\"1644066964\";last_ip|s:9:\"127.0.0.1\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"NA==\";'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('54441d9561bfa3cce6776f96f74c7e85fc50d3bc', '127.0.0.1', '1644067317', '__ci_last_regenerate|i:1644067005;identity|s:4:\"caly\";username|s:4:\"caly\";email|s:4:\"caly\";user_id|s:2:\"40\";first_name|s:4:\"Caly\";last_name|s:8:\"Januario\";created_on|s:20:\"21-08-2020 13:09:35 \";old_last_login|s:10:\"1637540947\";last_ip|s:14:\"154.127.252.90\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"MQ==\";change_password_status|s:3:\"yes\";redirect_page|s:9:\"cash_sale\";register_id|s:2:\"20\";cash_in_hand|s:4:\"0.00\";register_open_time|s:19:\"2022-02-05 14:16:57\";invoice_type|s:2:\"FR\";invoice_status|s:0:\"\";'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('3e0ee69bb728050884b60fee16e7a118b1b9e019', '127.0.0.1', '1644099818', '__ci_last_regenerate|i:1644096846;identity|s:9:\"superuser\";username|s:9:\"superuser\";email|s:9:\"superuser\";user_id|s:2:\"16\";first_name|s:11:\"Mactoscohen\";last_name|s:3:\"lda\";created_on|s:20:\"22-11-2019 14:47:11 \";old_last_login|s:10:\"1644066964\";last_ip|s:9:\"127.0.0.1\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"NA==\";'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('3e7324bb7dfad063ce9c574a8ac687ea85be62a7', '127.0.0.1', '1644061275', '__ci_last_regenerate|i:1644059790;identity|s:9:\"superuser\";username|s:9:\"superuser\";email|s:9:\"superuser\";user_id|s:2:\"16\";first_name|s:11:\"Mactoscohen\";last_name|s:3:\"lda\";created_on|s:20:\"22-11-2019 14:47:11 \";old_last_login|s:10:\"1643194304\";last_ip|s:9:\"127.0.0.1\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"NA==\";redirect_page|s:9:\"cash_sale\";register_id|s:2:\"19\";cash_in_hand|s:4:\"0.00\";register_open_time|s:19:\"2022-02-05 12:30:49\";invoice_type|s:2:\"FR\";invoice_status|s:0:\"\";'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('f273bde6a9bcfc41fa786dc391985d3c5f13853a', '127.0.0.1', '1644062548', '__ci_last_regenerate|i:1644061403;identity|s:9:\"superuser\";username|s:9:\"superuser\";email|s:9:\"superuser\";user_id|s:2:\"16\";first_name|s:11:\"Mactoscohen\";last_name|s:3:\"lda\";created_on|s:20:\"22-11-2019 14:47:11 \";old_last_login|s:10:\"1644059814\";last_ip|s:9:\"127.0.0.1\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"NA==\";invoice_status|s:7:\"reprint\";'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('c89cbaa880539cc3c6fcaab5f77c51c0895d3ea6', '127.0.0.1', '1644419368', '__ci_last_regenerate|i:1644419197;identity|s:4:\"caly\";username|s:4:\"caly\";email|s:4:\"caly\";user_id|s:2:\"40\";first_name|s:4:\"Caly\";last_name|s:8:\"Januario\";created_on|s:20:\"21-08-2020 13:09:35 \";old_last_login|s:10:\"1644334632\";last_ip|s:9:\"127.0.0.1\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"MQ==\";error|N;'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('0979a5df40580995935fd178d7e2f25d549abccc', '127.0.0.1', '1644489405', '__ci_last_regenerate|i:1644489148;identity|s:4:\"caly\";username|s:4:\"caly\";email|s:4:\"caly\";user_id|s:2:\"40\";first_name|s:4:\"Caly\";last_name|s:8:\"Januario\";created_on|s:20:\"21-08-2020 13:09:35 \";old_last_login|s:10:\"1644419201\";last_ip|s:9:\"127.0.0.1\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"MQ==\";'); INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('ff74118c560b4cde3fc2752c71e3b440bbd1cf14', '127.0.0.1', '1645527820', '__ci_last_regenerate|i:1645526069;identity|s:9:\"superuser\";username|s:9:\"superuser\";email|s:9:\"superuser\";user_id|s:2:\"16\";first_name|s:11:\"Mactoscohen\";last_name|s:3:\"lda\";created_on|s:20:\"22-11-2019 14:47:11 \";old_last_login|s:10:\"1644228723\";last_ip|s:9:\"127.0.0.1\";avatar|N;gender|s:4:\"male\";group_id|s:4:\"NA==\";'); # # TABLE STRUCTURE FOR: tec_settings # DROP TABLE IF EXISTS `tec_settings`; CREATE TABLE `tec_settings` ( `setting_id` int(1) NOT NULL, `logo` varchar(255) NOT NULL, `site_name` varchar(55) NOT NULL, `Telephone` varchar(20) NOT NULL, `dateformat` varchar(20) DEFAULT NULL, `timeformat` varchar(20) DEFAULT NULL, `default_email` varchar(100) NOT NULL, `language` varchar(20) NOT NULL, `version` varchar(5) NOT NULL DEFAULT '1.0', `theme` varchar(20) NOT NULL, `timezone` varchar(255) NOT NULL DEFAULT '0', `protocol` varchar(20) NOT NULL DEFAULT 'mail', `smtp_host` varchar(255) DEFAULT NULL, `smtp_user` varchar(100) DEFAULT NULL, `smtp_pass` varchar(255) DEFAULT NULL, `smtp_port` varchar(10) DEFAULT '25', `smtp_crypto` varchar(5) DEFAULT NULL, `mmode` tinyint(1) NOT NULL, `captcha` tinyint(1) NOT NULL DEFAULT 1, `mailpath` varchar(55) DEFAULT NULL, `currency_prefix` varchar(3) NOT NULL, `default_customer` int(11) NOT NULL, `default_tax_rate` varchar(20) NOT NULL, `rows_per_page` int(2) NOT NULL, `total_rows` int(2) NOT NULL, `header` varchar(1000) NOT NULL, `footer` varchar(1000) NOT NULL, `bsty` tinyint(4) NOT NULL, `display_kb` tinyint(4) NOT NULL, `default_category` int(11) NOT NULL, `default_discount` varchar(20) NOT NULL, `item_addition` tinyint(1) NOT NULL, `barcode_symbology` varchar(55) NOT NULL, `pro_limit` tinyint(4) NOT NULL, `decimals` tinyint(1) NOT NULL DEFAULT 2, `thousands_sep` varchar(2) NOT NULL DEFAULT ',', `decimals_sep` varchar(2) NOT NULL DEFAULT '.', `focus_add_item` varchar(55) DEFAULT NULL, `add_customer` varchar(55) DEFAULT NULL, `toggle_category_slider` varchar(55) DEFAULT NULL, `cancel_sale` varchar(55) DEFAULT NULL, `suspend_sale` varchar(55) DEFAULT NULL, `print_order` varchar(55) DEFAULT NULL, `print_bill` varchar(55) DEFAULT NULL, `finalize_sale` varchar(55) DEFAULT NULL, `today_sale` varchar(55) DEFAULT NULL, `open_hold_bills` varchar(55) DEFAULT NULL, `close_register` varchar(55) DEFAULT NULL, `java_applet` tinyint(1) NOT NULL, `receipt_printer` varchar(55) DEFAULT NULL, `pos_printers` varchar(255) DEFAULT NULL, `cash_drawer_codes` varchar(55) DEFAULT NULL, `char_per_line` tinyint(4) DEFAULT 42, `rounding` tinyint(1) DEFAULT 0, `pin_code` varchar(20) DEFAULT NULL, `stripe` tinyint(1) DEFAULT NULL, `stripe_secret_key` varchar(100) DEFAULT NULL, `stripe_publishable_key` varchar(100) DEFAULT NULL, `purchase_code` varchar(100) DEFAULT NULL, `envato_username` varchar(50) DEFAULT NULL, `nif` varchar(255) DEFAULT NULL, `descricao` varchar(255) DEFAULT NULL, `rua` varchar(255) DEFAULT NULL, `CompanyID` varchar(100) DEFAULT NULL, `TaxRegistrationNumber` varchar(100) DEFAULT NULL, `TaxAccountingBasis` varchar(255) DEFAULT NULL, `CompanyName` varchar(200) DEFAULT NULL, `BusinessName` varchar(60) DEFAULT NULL, `BuildingNumber` varchar(15) DEFAULT NULL, `StreetName` varchar(200) DEFAULT NULL, `AddressDetail` varchar(255) DEFAULT NULL, `City` varchar(50) DEFAULT NULL, `PostalCode` varchar(20) DEFAULT NULL, `Province` varchar(50) DEFAULT NULL, `FiscalYear` year(4) DEFAULT NULL, `CurrencyCode` varchar(255) DEFAULT NULL, `TaxEntity` varchar(20) DEFAULT NULL, `ProductCompanyTaxID` varchar(20) DEFAULT NULL, `SoftwareValidationNumber` varchar(20) DEFAULT NULL, `ProductID` varchar(100) DEFAULT NULL, `ProductVersion` varchar(15) DEFAULT NULL, `HeaderComment` varchar(255) DEFAULT NULL, `Fax` varchar(255) DEFAULT NULL, `Email` varchar(255) DEFAULT NULL, `Website` varchar(255) DEFAULT NULL, `phone` varchar(20) NOT NULL, `licence` varchar(100) NOT NULL, `expired_month` varchar(200) NOT NULL, `regime` varchar(200) NOT NULL, PRIMARY KEY (`setting_id`) USING BTREE ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_settings` (`setting_id`, `logo`, `site_name`, `Telephone`, `dateformat`, `timeformat`, `default_email`, `language`, `version`, `theme`, `timezone`, `protocol`, `smtp_host`, `smtp_user`, `smtp_pass`, `smtp_port`, `smtp_crypto`, `mmode`, `captcha`, `mailpath`, `currency_prefix`, `default_customer`, `default_tax_rate`, `rows_per_page`, `total_rows`, `header`, `footer`, `bsty`, `display_kb`, `default_category`, `default_discount`, `item_addition`, `barcode_symbology`, `pro_limit`, `decimals`, `thousands_sep`, `decimals_sep`, `focus_add_item`, `add_customer`, `toggle_category_slider`, `cancel_sale`, `suspend_sale`, `print_order`, `print_bill`, `finalize_sale`, `today_sale`, `open_hold_bills`, `close_register`, `java_applet`, `receipt_printer`, `pos_printers`, `cash_drawer_codes`, `char_per_line`, `rounding`, `pin_code`, `stripe`, `stripe_secret_key`, `stripe_publishable_key`, `purchase_code`, `envato_username`, `nif`, `descricao`, `rua`, `CompanyID`, `TaxRegistrationNumber`, `TaxAccountingBasis`, `CompanyName`, `BusinessName`, `BuildingNumber`, `StreetName`, `AddressDetail`, `City`, `PostalCode`, `Province`, `FiscalYear`, `CurrencyCode`, `TaxEntity`, `ProductCompanyTaxID`, `SoftwareValidationNumber`, `ProductID`, `ProductVersion`, `HeaderComment`, `Fax`, `Email`, `Website`, `phone`, `licence`, `expired_month`, `regime`) VALUES ('1', 'principal2.png', 'SIF-POS', '', 'd-m-Y', 'H:i:s ', 'geral@mactsystem.info', 'portugues', '4', 'default', 'Local', 'mail', 'luanda.angoweb.biz', 'geral@mactsystem.info', '', '25', '', '0', '0', NULL, '', '73', '0%', '10', '30', '

IVA - Regime de Não Sujeição
ESCEDEMOS AS ESPECTATIVAS DOS NOSSOS CLIENTES!

SIF POS - 917254932

', 'Coordenadas Bancáreas
BFA: 119107648.30.001
AO06000600001910764830176
BAI: 28969212
AO06004000002896921210188
BESA: 0001478386841
BPC: 0455-K07605-011
AO06001004550200760501110
', '3', '0', '42', '0', '1', '', '100', '2', '.', ',', NULL, NULL, NULL, '200', '80', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'EPSON TM-T88V Receipt', '', '', '42', '0', '1234', NULL, NULL, NULL, 'ff2400d9-f3aa-4db5-9dc5-4eee236c6254', 'patriciomelo', 'NIF 9999999999', 'Empresa Modelo', 'RUA: Rotunda Cruz Vermelha ', '5111048197', '9999999999', 'F', 'DEMOSTRAÇÃO', 'DEMOSTRAÇÃO', '0', 'XAVIER BARRETO Nº 42\\44', 'XAVIER BARRETO Nº 42\\44', 'Benguela', '0', 'Benguela', '2021', 'AOA', 'Geral', '003136359BA034', '230/AGT/2019', 'SIF-POS', '1.0.4', NULL, '0', 'calyjanuario@hotmail.com', '.', '925781275 / 93568404', 'ee4418288e1138be4f6cd1ec532de8be', 'MjAyMy0wMS0yNg==', 'Regime Geral'); # # TABLE STRUCTURE FOR: tec_signkey # DROP TABLE IF EXISTS `tec_signkey`; CREATE TABLE `tec_signkey` ( `id` int(11) NOT NULL AUTO_INCREMENT, `private` varchar(5555) NOT NULL, `public` varchar(5555) NOT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; INSERT INTO `tec_signkey` (`id`, `private`, `public`) VALUES ('1', '-----BEGIN PRIVATE KEY-----\nMIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAMPkWGMVmnDXwi81\nMUeXjqCAMtxHlF2kqmXy7eaQ06w5hlTyyDI+KgiTxTR/YO+23ikuvutgH1pUev8U\nX6/dG/kJ93Y63ThUEpmAnCvbNOQ3p2PylSPd57Cw4rbDKxRb4tvNGbBscg1WALVG\nkkaP4WyjtXthkZWzev/fwVgcJ48hAgMBAAECgYEAgCkb/q96nIs8e2BEvn8UjENz\ngxS9p8p8xTh7lxZ3tjzoexlgCycKnxP2uJMB27N7g9wWgq4ftRyCX/J3a/qwOkay\naybdxmLLmz2bYAZNsvVdRIrmnrLU1vSbtz42C7Z1Dyv64zNfiPF61Rk7pi92J9cs\nRLjM7TV9uoNR9ltNLcUCQQD8ykPgN4R7Ax4U11x43h7hqff36lbwGa9CXxDd694x\nFJ0h8zRIR5JqP8WIjtSlLbHRPCVOu7MaqNaSBwVqr6PLAkEAxmEfpYfTBdV0NpXU\ndH9BdSeqAymO2zD1Ap9BvuJhtSIS4tr5XcuhPWugJfHSxtKpVqA3mXGrS4nN1Any\nzGLzQwJAU4E5VMriH4STHk1aBa9SQjdUa3fkyiGh7Gnc94If/tSRZ5KgVbQW4LQ6\nO3b7NalXkQeuR0jnzEmzv79EAc8NawJBALHbP+lDlhFD55ZMzJbJxOEJd6awKrEf\n+nqoV+SQyHMCIpabJjlOqLgNdx6t6YByPHo62L5Mp/voh84UQUe3a0sCQA0wE3jW\nRMpC3XdWOSUO69ooeTxsy7ouiaUJbbLvxsuLCtcLoRvHoiJ19rHk+Cc0cd60ivqf\nLFqg1E0zZBpOKMk=\n-----END PRIVATE KEY-----\n', '-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDD5FhjFZpw18IvNTFHl46ggDLc\nR5RdpKpl8u3mkNOsOYZU8sgyPioIk8U0f2Dvtt4pLr7rYB9aVHr/FF+v3Rv5Cfd2\nOt04VBKZgJwr2zTkN6dj8pUj3eewsOK2wysUW+LbzRmwbHINVgC1RpJGj+Fso7V7\nYZGVs3r/38FYHCePIQIDAQAB\n-----END PUBLIC KEY-----\n'); # # TABLE STRUCTURE FOR: tec_suppliers # DROP TABLE IF EXISTS `tec_suppliers`; CREATE TABLE `tec_suppliers` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(55) NOT NULL, `cf1` varchar(255) NOT NULL, `cf2` varchar(255) NOT NULL, `phone` varchar(20) NOT NULL, `email` varchar(100) NOT NULL, `date` datetime DEFAULT NULL, `created_by` int(11) DEFAULT NULL, `endereco` varchar(255) DEFAULT NULL, `complemento` varchar(255) DEFAULT NULL, `numero` varchar(20) NOT NULL, `bairro` varchar(255) NOT NULL, `cep` varchar(100) NOT NULL, `cidade` varchar(100) NOT NULL, `estado` varchar(100) NOT NULL, `Country` varchar(100) DEFAULT NULL, `AccountID` int(11) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_suppliers` (`id`, `name`, `cf1`, `cf2`, `phone`, `email`, `date`, `created_by`, `endereco`, `complemento`, `numero`, `bairro`, `cep`, `cidade`, `estado`, `Country`, `AccountID`) VALUES ('2', 'José Barros', '003136359BA034', '0', '917254932', 'mactos.cohen@hotmail.com', '2019-11-01 09:42:29', '8', 'Rua Aires de Almeida Santos', 'Rua Aires de Almeida Santos', '0', 'Rua Aires de Almeida Santos', '', 'Benguela', 'Benguela', 'Angola', '0'); INSERT INTO `tec_suppliers` (`id`, `name`, `cf1`, `cf2`, `phone`, `email`, `date`, `created_by`, `endereco`, `complemento`, `numero`, `bairro`, `cep`, `cidade`, `estado`, `Country`, `AccountID`) VALUES ('3', 'MIA FARMA COMERCIO GERAL LDA', '5000154962', ' ', '938355401', 'lobito@miafarma.net', NULL, NULL, 'RUA CIDADE DA GUARDA', ' ', '', 'BAIRRO CANATA', ' ', 'LOBITO', 'BENGUELA', NULL, '0'); INSERT INTO `tec_suppliers` (`id`, `name`, `cf1`, `cf2`, `phone`, `email`, `date`, `created_by`, `endereco`, `complemento`, `numero`, `bairro`, `cep`, `cidade`, `estado`, `Country`, `AccountID`) VALUES ('4', 'DEPOSITO DE MEDICAMENTOS PE QUIRINO HOUDJIK LDA', '5417322458', ' ', '912286576', 'geraldmpq@gmail.com', NULL, NULL, 'RUA DOS GAIATOS', ' ', 'S/N', 'CAVACO', ' ', 'BENGUELA', 'BENGUELA', NULL, '0'); INSERT INTO `tec_suppliers` (`id`, `name`, `cf1`, `cf2`, `phone`, `email`, `date`, `created_by`, `endereco`, `complemento`, `numero`, `bairro`, `cep`, `cidade`, `estado`, `Country`, `AccountID`) VALUES ('5', 'BALAXI HEALTHCARE SU LDA', '5417381225', ' ', '926562683', 'pharma.lubango@Balaxi.com', NULL, NULL, 'RUA 4 DE FEVEREIRO', ' ', 'S/N', 'BAIRRO COMANDANTE VALODIA', ' ', 'LUBANGO', 'HUILA', NULL, '0'); INSERT INTO `tec_suppliers` (`id`, `name`, `cf1`, `cf2`, `phone`, `email`, `date`, `created_by`, `endereco`, `complemento`, `numero`, `bairro`, `cep`, `cidade`, `estado`, `Country`, `AccountID`) VALUES ('6', 'AARNEXT FARMACIA (SU) LDA', '5417539660', ' ', '941176796', 'pharma.lobito@aarnext.com', NULL, NULL, 'RUA SALVADOR CORREIA ', ' ', 'S/N', 'CANATA', ' ', 'LOBITO', 'BENGUELA', NULL, '0'); INSERT INTO `tec_suppliers` (`id`, `name`, `cf1`, `cf2`, `phone`, `email`, `date`, `created_by`, `endereco`, `complemento`, `numero`, `bairro`, `cep`, `cidade`, `estado`, `Country`, `AccountID`) VALUES ('7', 'UNICA FARMA LDA', '5417401404', ' ', '929430278', '', NULL, NULL, 'RUA SALVADOR CORREIA ', ' ', 'S/N', 'CANATA', ' ', 'LOBITO', 'BENGUELA', NULL, '0'); INSERT INTO `tec_suppliers` (`id`, `name`, `cf1`, `cf2`, `phone`, `email`, `date`, `created_by`, `endereco`, `complemento`, `numero`, `bairro`, `cep`, `cidade`, `estado`, `Country`, `AccountID`) VALUES ('8', 'PRINCE FARMA LDA', '5417070858', ' ', '926301338', 'info@princefarma.com', NULL, NULL, '', ' ', '21', 'BAIRRO DA LUZ', ' ', 'LOBITO', 'BENGUELA', NULL, '0'); INSERT INTO `tec_suppliers` (`id`, `name`, `cf1`, `cf2`, `phone`, `email`, `date`, `created_by`, `endereco`, `complemento`, `numero`, `bairro`, `cep`, `cidade`, `estado`, `Country`, `AccountID`) VALUES ('9', 'PHARMA CENTER', '5112161833', ' ', '222728946', 'geral@pharmacenterangola.com', NULL, NULL, 'ESTRADA PRINCIPAL DA EX AÇUCAREIRA 1º DE MAIO', ' ', '', 'A.T.M. ( NAVE nº 8 e 9)', ' ', 'CATUMBELA', 'BENGUELA', NULL, '0'); INSERT INTO `tec_suppliers` (`id`, `name`, `cf1`, `cf2`, `phone`, `email`, `date`, `created_by`, `endereco`, `complemento`, `numero`, `bairro`, `cep`, `cidade`, `estado`, `Country`, `AccountID`) VALUES ('10', 'SAÚDE ÓPTIMA ,LDA', '5000056812', ' ', '924362884', 'geral@saudeoptima.com', NULL, NULL, 'AV. SALVADOR CORREIA', ' ', '14b', 'ZONA INDUSTRIAL DA CANATA', ' ', 'LOBITO', 'BENGUELA', NULL, '0'); INSERT INTO `tec_suppliers` (`id`, `name`, `cf1`, `cf2`, `phone`, `email`, `date`, `created_by`, `endereco`, `complemento`, `numero`, `bairro`, `cep`, `cidade`, `estado`, `Country`, `AccountID`) VALUES ('11', 'ANGO-PLÁSTICOS PROPRIEDADE ,S.A. ', '5171002894', ' ', '272236235', 'info@angoplastic.com', NULL, NULL, 'RUA COMANDANTE KASSANJE', ' ', 'S/N', '', ' ', 'BENGUELA', 'BENGUELA', NULL, '0'); # # TABLE STRUCTURE FOR: tec_suspended_items # DROP TABLE IF EXISTS `tec_suspended_items`; CREATE TABLE `tec_suspended_items` ( `id` int(11) NOT NULL AUTO_INCREMENT, `suspend_id` int(11) NOT NULL, `product_id` int(11) NOT NULL, `quantity` decimal(15,2) NOT NULL, `unit_price` decimal(25,2) NOT NULL, `net_unit_price` decimal(25,2) NOT NULL, `discount` varchar(20) DEFAULT NULL, `item_discount` decimal(25,2) DEFAULT NULL, `tax` int(20) DEFAULT NULL, `item_tax` decimal(25,2) DEFAULT NULL, `subtotal` decimal(25,2) NOT NULL, `real_unit_price` decimal(25,2) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; # # TABLE STRUCTURE FOR: tec_suspended_sales # DROP TABLE IF EXISTS `tec_suspended_sales`; CREATE TABLE `tec_suspended_sales` ( `id` int(11) NOT NULL AUTO_INCREMENT, `date` datetime NOT NULL, `customer_id` int(11) NOT NULL, `customer_name` varchar(55) NOT NULL, `total` decimal(25,2) NOT NULL, `product_discount` decimal(25,2) DEFAULT NULL, `order_discount_id` varchar(20) DEFAULT NULL, `order_discount` decimal(25,2) DEFAULT NULL, `total_discount` decimal(25,2) DEFAULT NULL, `product_tax` decimal(25,2) DEFAULT NULL, `order_tax_id` varchar(20) DEFAULT NULL, `order_tax` decimal(25,2) DEFAULT NULL, `total_tax` decimal(25,2) DEFAULT NULL, `grand_total` decimal(25,2) NOT NULL, `total_items` int(11) DEFAULT NULL, `total_quantity` decimal(15,2) DEFAULT NULL, `paid` decimal(25,2) DEFAULT NULL, `created_by` int(11) DEFAULT NULL, `updated_by` int(11) DEFAULT NULL, `updated_at` datetime DEFAULT NULL, `note` varchar(1000) DEFAULT NULL, `hold_ref` varchar(255) DEFAULT NULL, `mesa` int(11) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; # # TABLE STRUCTURE FOR: tec_suspended_subitems # DROP TABLE IF EXISTS `tec_suspended_subitems`; CREATE TABLE `tec_suspended_subitems` ( `id` int(11) NOT NULL AUTO_INCREMENT, `suspend_id` int(11) NOT NULL, `product` int(11) NOT NULL, `sub_product_id` int(11) NOT NULL, `quantity` decimal(15,2) NOT NULL, `unit_price` decimal(25,2) NOT NULL, `subtotal` decimal(25,2) NOT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; # # TABLE STRUCTURE FOR: tec_tax # DROP TABLE IF EXISTS `tec_tax`; CREATE TABLE `tec_tax` ( `id` int(11) NOT NULL AUTO_INCREMENT, `code` varchar(200) NOT NULL, `reason` varchar(250) NOT NULL, `tax` varchar(20) NOT NULL DEFAULT '0', `tax_type` varchar(4) DEFAULT NULL, `tax_code` varchar(4) DEFAULT NULL, `metodo` varchar(1) DEFAULT NULL, `tax_code_payment` varchar(4) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('1', 'M01', 'Regime Geral', '14', 'IVA', 'NOR', '0', 'NA'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('2', 'M00', 'Regime Simplificado', '5', 'IVA', 'OUT', '0', 'NA'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('3', 'M02', 'Transmissão de bens e serviço não sujeita', '0', 'IVA', 'ISE', '0', 'NA'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('4', 'M04', 'IVA – Regime de Exclusão', '0', 'NS', 'NS', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('5', 'M10', 'Isento nos termos da alínea a) do nº1 do artigo 12.º do CIVA', '0', 'IVA', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('7', 'M11', 'Isento nos termos da alínea b) do nº1 do artigo 12.º do CIVA', '0', 'IVA', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('8', 'M12', 'Isento nos termos da alínea c) do nº1 do artigo 12.º do CIVA', '0', 'IVA', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('9', 'M13', 'Isento nos termos da alínea d) do nº1 do artigo 12.º do CIVA', '0', 'IVA', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('10', 'M14', 'Isento nos termos da alínea e) do nº1 do artigo 12.º do CIVA', '0', 'IVA', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('11', 'M15', 'Isento nos termos da alínea f) do nº1 do artigo 12.º do CIVA', '0', 'IVA', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('12', 'M16', 'Isento nos termos da alínea g) do nº1 do artigo 12.º do CIVA', '0', 'IVA', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('13', 'M17', 'Isento nos termos da alínea h) do nº1 do artigo 12.º do CIVA', '0', 'IVA', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('14', 'M18', 'Isento nos termos da alínea i) do nº1 artigo 12.º do CIVA', '0', 'IVA', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('15', 'M19', 'Isento nos termos da alínea j) do nº1 do artigo 12.º do CIVA', '0', 'IVA', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('16', 'M21', 'Isento nos termos da alínea l) do nº1 do artigo 12.º do CIVA', '0', 'IVA', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('17', 'M22', 'Isento nos termos da alínea m) do artigo 12.º do CIVA', '0', 'IVA', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('18', 'M23', 'Isento nos termos da alínea n) do artigo 12.º do CIVA', '0', 'IVA', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('19', 'M24', 'Isento nos termos da alínea o) do artigo 12.º do CIVA', '0', 'IVA', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('20', 'M30', 'Isento nos termos da alínea a) do artigo 15.º do CIVA', '0', 'IVA ', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('21', 'M31', 'Isento nos termos da alínea b) do artigo 15.º do CIVA', '0', 'IVA ', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('22', 'M32', 'Isento nos termos da alínea c) do artigo 15.º do CIVA', '0', 'IVA ', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('23', 'M83', 'Isento nos termos da alinea d) do nº1 do artigo 14.º', '0', 'IVA ', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('24', 'M33', 'Isento nos termos da alínea d) do artigo 15.º do CIVA', '0', 'IVA ', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('25', 'M34', 'Isento nos termos da alínea e) do artigo 15.º do CIVA', '0', 'IVA ', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('26', 'M35', 'Isento nos termos da alínea f) do artigo 15.º do CIVA', '0', 'IVA ', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('27', 'M36', 'Isento nos termos da alínea g) do artigo 15.º do CIVA', '0', 'IVA ', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('28', 'M37', 'Isento nos termos da alínea h) do artigo 15.º do CIVA', '0', 'IVA ', 'ISE', '0', 'ISE'); INSERT INTO `tec_tax` (`id`, `code`, `reason`, `tax`, `tax_type`, `tax_code`, `metodo`, `tax_code_payment`) VALUES ('29', 'M38', 'Isento nos termos da alínea i) do artigo 15.º do CIVA', '0', 'IVA ', 'ISE', '0', 'ISE'); # # TABLE STRUCTURE FOR: tec_user_logins # DROP TABLE IF EXISTS `tec_user_logins`; CREATE TABLE `tec_user_logins` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `company_id` int(11) DEFAULT NULL, `ip_address` varbinary(16) NOT NULL, `login` varchar(100) NOT NULL, `time` timestamp NULL DEFAULT current_timestamp(), PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=633 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('608', '16', NULL, '127.0.0.1', 'superuser', '2021-12-01 09:07:55'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('609', '16', NULL, '127.0.0.1', 'superuser', '2021-12-01 12:25:16'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('610', '16', NULL, '127.0.0.1', 'superuser', '2021-12-01 14:19:20'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('611', '16', NULL, '127.0.0.1', 'superuser', '2021-12-01 17:43:31'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('612', '16', NULL, '127.0.0.1', 'superuser', '2021-12-02 10:12:13'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('613', '16', NULL, '127.0.0.1', 'superuser', '2021-12-07 08:52:44'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('614', '16', NULL, '127.0.0.1', 'superuser', '2021-12-08 09:21:44'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('615', '16', NULL, '127.0.0.1', 'superuser', '2022-01-04 10:12:50'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('616', '16', NULL, '127.0.0.1', 'superuser', '2022-01-11 20:41:55'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('617', '16', NULL, '127.0.0.1', 'superuser', '2022-01-24 10:46:39'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('618', '16', NULL, '127.0.0.1', 'superuser', '2022-01-26 11:51:44'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('619', '16', NULL, '127.0.0.1', 'superuser', '2022-02-05 12:16:54'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('620', '16', NULL, '127.0.0.1', 'superuser', '2022-02-05 12:43:35'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('621', '16', NULL, '127.0.0.1', 'superuser', '2022-02-05 14:16:04'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('622', '40', NULL, '127.0.0.1', 'caly', '2022-02-05 14:16:49'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('623', '16', NULL, '127.0.0.1', 'superuser', '2022-02-05 22:39:21'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('624', '16', NULL, '127.0.0.1', 'superuser', '2022-02-06 10:04:05'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('625', '16', NULL, '127.0.0.1', 'superuser', '2022-02-06 20:35:57'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('626', '40', NULL, '127.0.0.1', 'caly', '2022-02-07 10:27:45'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('627', '16', NULL, '127.0.0.1', 'superuser', '2022-02-07 11:12:03'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('628', '40', NULL, '127.0.0.1', 'caly', '2022-02-07 17:24:12'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('629', '40', NULL, '127.0.0.1', 'caly', '2022-02-08 16:37:12'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('630', '40', NULL, '127.0.0.1', 'caly', '2022-02-09 16:06:41'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('631', '40', NULL, '127.0.0.1', 'caly', '2022-02-10 11:32:32'); INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES ('632', '16', NULL, '127.0.0.1', 'superuser', '2022-02-22 11:34:58'); # # TABLE STRUCTURE FOR: tec_users # DROP TABLE IF EXISTS `tec_users`; CREATE TABLE `tec_users` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `last_ip_address` varbinary(45) DEFAULT NULL, `ip_address` varbinary(45) DEFAULT NULL, `username` varchar(100) NOT NULL, `password` varchar(40) NOT NULL, `salt` varchar(40) DEFAULT NULL, `email` varchar(100) NOT NULL, `activation_code` varchar(40) DEFAULT NULL, `forgotten_password_code` varchar(40) DEFAULT NULL, `forgotten_password_time` int(11) unsigned DEFAULT NULL, `remember_code` varchar(40) DEFAULT NULL, `created_on` int(11) unsigned NOT NULL, `last_login` int(11) unsigned DEFAULT NULL, `active` tinyint(1) unsigned DEFAULT NULL, `first_name` varchar(50) DEFAULT NULL, `last_name` varchar(50) DEFAULT NULL, `company` varchar(100) DEFAULT NULL, `phone` varchar(20) DEFAULT NULL, `avatar` varchar(55) DEFAULT NULL, `gender` varchar(20) DEFAULT NULL, `group_id` varchar(100) NOT NULL DEFAULT '2', `licence` varchar(250) DEFAULT NULL, `expired_date` varchar(100) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE, KEY `group_id` (`group_id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=41 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; INSERT INTO `tec_users` (`id`, `last_ip_address`, `ip_address`, `username`, `password`, `salt`, `email`, `activation_code`, `forgotten_password_code`, `forgotten_password_time`, `remember_code`, `created_on`, `last_login`, `active`, `first_name`, `last_name`, `company`, `phone`, `avatar`, `gender`, `group_id`, `licence`, `expired_date`) VALUES ('16', '127.0.0.1', '::1', 'superuser', 'd972ee2c4d4e58be37142eee98feba6f3bd377dc', NULL, 'superuser', NULL, NULL, NULL, NULL, '1574430431', '1645526098', '1', 'Mactoscohen', 'lda', NULL, '917254932', NULL, 'male', 'NA==', 'NA==', '1969-12-31'); INSERT INTO `tec_users` (`id`, `last_ip_address`, `ip_address`, `username`, `password`, `salt`, `email`, `activation_code`, `forgotten_password_code`, `forgotten_password_time`, `remember_code`, `created_on`, `last_login`, `active`, `first_name`, `last_name`, `company`, `phone`, `avatar`, `gender`, `group_id`, `licence`, `expired_date`) VALUES ('20', '105.168.167.202', '::1', 'mactsystem', '0a3ddef8b2906dd0a9352faefa38dcc483f14044', NULL, 'geral@mactsystem.info', NULL, NULL, NULL, NULL, '1575535878', '1614167760', '1', 'Mactsystem', 'lda', NULL, '0', NULL, 'male', 'MQ==', 'e6cb59ed603fb62f48f69be1febe105d15102e35', 'MjAyMC0xMi0wNQ=='); INSERT INTO `tec_users` (`id`, `last_ip_address`, `ip_address`, `username`, `password`, `salt`, `email`, `activation_code`, `forgotten_password_code`, `forgotten_password_time`, `remember_code`, `created_on`, `last_login`, `active`, `first_name`, `last_name`, `company`, `phone`, `avatar`, `gender`, `group_id`, `licence`, `expired_date`) VALUES ('39', '154.127.169.209', '::1', 'diandra', 'd2aae4b5d83f5c6eb7af11d2cc1a088a3089998b', NULL, 'diandra', NULL, NULL, NULL, NULL, '1590584743', '1636452774', '1', 'Diandra', 'Cabral', NULL, '0', NULL, 'female', 'MQ==', 'f4b587ca99927820694878f153f602eba7303ba1', 'MjAyMS0wNS0yNw=='); INSERT INTO `tec_users` (`id`, `last_ip_address`, `ip_address`, `username`, `password`, `salt`, `email`, `activation_code`, `forgotten_password_code`, `forgotten_password_time`, `remember_code`, `created_on`, `last_login`, `active`, `first_name`, `last_name`, `company`, `phone`, `avatar`, `gender`, `group_id`, `licence`, `expired_date`) VALUES ('40', '127.0.0.1', '::1', 'caly', 'd972ee2c4d4e58be37142eee98feba6f3bd377dc', NULL, 'caly', NULL, NULL, NULL, NULL, '1598011775', '1644489152', '1', 'Caly', 'Januario', NULL, '925781275 ', NULL, 'male', 'MQ==', '425e0b2c446d8d10190a6e5470208afb53f89897', 'MjAyMS0wNy0yNA==');