{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","required":["company","client","proforma"],"properties":{"company":{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"address":{"type":"string"},"phone":{"type":"string"},"email":{"type":"string"},"vat":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"logo_base64":{"type":"string"}}},"client":{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"address":{"type":"string"},"vat":{"type":"string"}}},"proforma":{"type":"object","required":["number","date","lines","total_excl_vat","total_vat","total_incl_vat"],"properties":{"number":{"type":"string"},"date":{"type":"string"},"valid_until":{"type":"string"},"reference":{"type":"string"},"lines":{"type":"array","items":{"type":"object","required":["description","quantity","unit_price","amount"],"properties":{"description":{"type":"string"},"quantity":{"type":"string"},"unit_price":{"type":"string"},"vat_rate":{"type":"string"},"amount":{"type":"string"}}}},"total_excl_vat":{"type":"string"},"total_vat":{"type":"string"},"total_incl_vat":{"type":"string"},"payment_terms":{"type":"string"},"notes":{"type":"string"}}}}}