tendril.sourcing.customs module

This file is part of tendril See the COPYING, README, and INSTALL files for more information

class tendril.sourcing.customs.CustomsSection(code, hsdict)[source]

Bases: object

_load_duties(dutiesdict)[source]
code
name
desc
idents
folders
effective_rate
class tendril.sourcing.customs.CustomsClassifier[source]

Bases: object

_load_sections()[source]
hs_from_ident(ident)[source]
class tendril.sourcing.customs.CustomsInvoice(vendor, inv_yaml, working_folder=None)[source]

Bases: tendril.sourcing.vendors.VendorInvoice

given_data
_process_other_costs()[source]
insurance
includes_freight
landing
cif
added_insurance
added_handling
source_folder
working_folder
source_files
idxs
_acquire_lines()[source]
hssections
getsection_lines(hssection)[source]
getsection_idxs(hssection)[source]
getsection_qty(hssection)[source]
getsection_assessabletotal(hssection)[source]
unclassified
assessabletotal
bcd
cvd
cec
cshec
cvdec
cvdshec
acvd
dutypayable
effectiverate_cif
effectiverate_fob
class tendril.sourcing.customs.DutyComponent(title, rate, notification, value)[source]

Bases: object

class tendril.sourcing.customs.CustomsInvoiceLine(invoice, ident, vpno, unitp, qty, idx=None, desc=None)[source]

Bases: tendril.sourcing.vendors.VendorInvoiceLine

dutypayable
idx
hs_section
bcd
cvd
cec
cshec
cvdec
cvdshec
acvd
invoice_fraction
freight
insurance
cifprice
handling
assessableprice
print_duties()[source]