Documentation
¶
Index ¶
Constants ¶
View Source
const ( // 1099-MISC Copy B PdfMscCopyB = "1099msc_copy_b" // 1099-MISC Copy C PdfMscCopyC = "1099msc_copy_c" // 1099-MISC(NEC) Copy B PdfNecCopyB = "1099nec_copy_b" // 1099-MISC(NEC) Copy C PdfNecCopyC = "1099nec_copy_c" )
Variables ¶
This section is empty.
Functions ¶
func GeneratePdf ¶
func GeneratePdf(p *Pdf1099Misc) ([]byte, error)
Generate pdf file form Pdf1099Misc struct using pdftk
Types ¶
type Pdf1099Misc ¶
type Pdf1099Misc struct {
Type string
VoID bool
Corrected bool
Fatca bool
SecondTin bool
DirectSale bool
PayerInfo string
PayerTin string
RecipientTin string
RecipientName string
Street string
City string
AccountNumber string
Rents int
Royalties int
Other int
Federal int
Fishing int
Medical int
Substitute int
Crop int
Gross int
Section int
Excess int
Nonqualified int
Nonemployee int
StateTax1 int
StateTax2 int
StateIncome1 int
StateIncome2 int
StateNo1 string
StateNo2 string
// contains filtered or unexported fields
}
Pdf struct for 1099-MISC
Click to show internal directories.
Click to hide internal directories.