Documentation ¶
Overview ¶
Package test provides common functions for testing.
Index ¶
Constants ¶
View Source
const NIF = "00000000A"
NIF - a test Spanish id
Variables ¶
This section is empty.
Functions ¶
func LoadEnvelope ¶
LoadEnvelope will load a test JSON document as a GOBL Envelope from the test folder
func LoadInvoice ¶
LoadInvoice grabs the gobl envelope and attempts to extract the invoice payload
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.