Part of stoqlib.lib.sintegra View In Hierarchy
Method | __init__ | Undocumented |
Method | add | Adds a register to the file |
Method | add_header | Receive values to generate Sintegra Register type 10. |
Method | add_complement_header | Receive values to generate Sintegra Register type 11. |
Method | add_fiscal_coupon | Receive values for generate 60M Sintegra Register. |
Method | add_fiscal_tax | Receive values for generate 60A Sintegra Register. |
Method | add_products_summarized | Undocumented |
Method | add_receiving_order | Undocumented |
Method | add_receiving_order_item | Undocumented |
Method | add_inventory_item | Undocumented |
Method | add_product | Undocumented |
Method | close | Closes the file. |
Method | write | Writes out of the content of the file to a filename or fp |
Method | get_registers | Undocumented |
Parameters | register | a register
(type: SintegraRegister
) |
Parameters | cgc | the branch CNPJ number. |
estadual | the branch 'Inscrição estadual' number or ISENTO. | |
company | the company fancy name. | |
city | the branch city. | |
state | the branch city state. | |
fax | the branch fax number. | |
start | start's date period, generally, the 1th month day. (type: datetime.date ) | |
end | end's date periodo, generally, the last month day. (type: datetime.date ) |
Parameters | address | the branch address. |
number | the number of the branch address. | |
complement | the complement of the branch address. | |
district | district of the branch address. | |
postal | postal code number of the branch address. | |
name | the branch manager name. | |
phone | the branch phone number. |
Parameters | date | emission date of the fiscal coupon. (type: datetime.date ) |
printerserial | serial number of the fiscal printer. | |
printerid | the refered number (id) for the fiscal printer in a branch. | |
coupon_start | the number in which the coupon fiscal starts. | |
coupon_end | the number in which the fiscal coupon ends. | |
crz | counter the number of 'Zs reduction' made by fiscal printer. | |
cro | counter how many times the fiscal printer was restarted their operations. | |
period_total | value total in a fiscal day. | |
total | total acumulated in fiscal printer. |
Parameters | date | emission date of the fiscal coupon. (type: datetime.date ) |
printerserial | serial number of the fiscal printer. | |
code | the tax code. | |
value | the tax value. |