invoice.yaml
:
$schema
is set to the GOBL Draft-0 invoice definition.supplier
identifies the issuer of the invoice, and the tax_id
specifically sets the origin country for this invoice.customer
includes the minimum amount of data possible for a customer.lines
defines a simple list of items, including the tax codes, in this case the category is “VAT” at the “standard” rate.gobl build
command:
sum
and total
, where the total is the sum with discounts applied.issue_date
have been added automatically.totals
property has been added to the invoice, and details all the taxes that were applied to the calculations made from the lines.invoice.json
file: