{"openapi":"3.0.3","info":{"title":"Trovi","description":"Trovi API description","contact":{"name":"Trovi.sk","url":"https:\/\/www.trovi.sk","email":"contact@trovi.sk"},"version":"1.0.0"},"servers":[{"url":"\/","description":""}],"paths":{"\/accounting_items":{"post":{"operationId":"postAccountingItemCollection","tags":["AccountingItem"],"responses":{"201":{"description":"AccountingItem resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}}},"links":{"GetAccountingItemItem":{"operationId":"getAccountingItemItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/accounting_items\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a AccountingItem resource.","description":"Creates a AccountingItem resource.","parameters":[],"requestBody":{"description":"The new AccountingItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}}},"required":true},"deprecated":false},"parameters":[]},"\/accounting_items\/{id}":{"get":{"operationId":"getAccountingItemItem","tags":["AccountingItem"],"responses":{"200":{"description":"AccountingItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/AccountingItem"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a AccountingItem resource.","description":"Retrieves a AccountingItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication_token":{"post":{"operationId":"postCredentialsItem","tags":["Token"],"responses":{"200":{"description":"Get JWT token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Token"}}}}},"summary":"Get JWT token to login.","description":"","parameters":[],"requestBody":{"description":"Generate new JWT Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Credentials"}}},"required":false},"deprecated":false},"parameters":[]},"\/banks\/{id}":{"get":{"operationId":"getBankItem","tags":["Bank"],"responses":{"200":{"description":"Bank resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Bank"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Bank"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Bank"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Bank"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Bank"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Bank"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Bank resource.","description":"Retrieves a Bank resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/contact_bank_accounts":{"post":{"operationId":"postContactBankAccountCollection","tags":["ContactBankAccount"],"responses":{"201":{"description":"ContactBankAccount resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}}},"links":{"GetContactBankAccountItem":{"operationId":"getContactBankAccountItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/contact_bank_accounts\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ContactBankAccount resource.","description":"Creates a ContactBankAccount resource.","parameters":[],"requestBody":{"description":"The new ContactBankAccount resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}}},"required":true},"deprecated":false},"parameters":[]},"\/contact_bank_accounts\/{id}":{"get":{"operationId":"getContactBankAccountItem","tags":["ContactBankAccount"],"responses":{"200":{"description":"ContactBankAccount resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ContactBankAccount"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ContactBankAccount resource.","description":"Retrieves a ContactBankAccount resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/contacts":{"get":{"operationId":"getContactCollection","tags":["Contact"],"responses":{"200":{"description":"Contact collection","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Contact"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Contact"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Contact"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Contact"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Contact"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Contact"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves the collection of Contact resources.","description":"Retrieves the collection of Contact resources.","parameters":[{"name":"firm_id","in":"query","description":"The id value returned in the response of GET \/firms","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer"},"style":"form","explode":false,"allowReserved":false,"example":1}],"deprecated":false},"post":{"operationId":"postContactCollection","tags":["Contact"],"responses":{"201":{"description":"Contact resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Contact"}}},"links":{"GetContactItem":{"operationId":"getContactItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/contacts\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Contact resource.","description":"Creates a Contact resource.","parameters":[],"requestBody":{"description":"The new Contact resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Contact"}}},"required":true},"deprecated":false},"parameters":[]},"\/contacts\/{id}":{"get":{"operationId":"getContactItem","tags":["Contact"],"responses":{"200":{"description":"Contact resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Contact"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Contact resource.","description":"Retrieves a Contact resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteContactItem","tags":["Contact"],"responses":{"204":{"description":"Contact resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Contact resource.","description":"Removes the Contact resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchContactItem","tags":["Contact"],"responses":{"200":{"description":"Contact resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Contact"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Contact"}}},"links":{"GetContactItem":{"operationId":"getContactItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/contacts\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Contact resource.","description":"Updates the Contact resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Contact resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Contact"}}},"required":true},"deprecated":false},"parameters":[]},"\/contacts\/{id}\/bank_accounts":{"get":{"operationId":"api_contacts_bank_accounts_get_subresourceContactSubresource","tags":["ContactBankAccount","Contact"],"responses":{"200":{"description":"Contact resource","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContactBankAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves a Contact resource.","description":"Retrieves a Contact resource.","parameters":[{"name":"id","in":"path","description":"Contact identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/countries":{"get":{"operationId":"getCountryCollection","tags":["Country"],"responses":{"200":{"description":"Country collection","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Country"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Country"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Country"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Country"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Country"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Country"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves the collection of Country resources.","description":"Retrieves the collection of Country resources.","parameters":[],"deprecated":false},"parameters":[]},"\/countries\/{id}":{"get":{"operationId":"getCountryItem","tags":["Country"],"responses":{"200":{"description":"Country resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Country"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Country"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Country"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Country"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Country"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Country"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Country resource.","description":"Retrieves a Country resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/currencies":{"get":{"operationId":"getCurrencyCollection","tags":["Currency"],"responses":{"200":{"description":"Currency collection","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Currency"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Currency"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Currency"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Currency"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Currency"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Currency"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves the collection of Currency resources.","description":"Retrieves the collection of Currency resources.","parameters":[],"deprecated":false},"parameters":[]},"\/currencies\/{currency}":{"get":{"operationId":"getCurrencyItem","tags":["Currency"],"responses":{"200":{"description":"Currency resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Currency"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Currency"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Currency"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Currency"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Currency"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Currency"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Currency resource.","description":"Retrieves a Currency resource.","parameters":[{"name":"currency","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/document_storage_items":{"get":{"operationId":"getDocumentStorageItemCollection","tags":["DocumentStorageItem"],"responses":{"200":{"description":"DocumentStorageItem collection","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves the collection of DocumentStorageItem resources.","description":"Retrieves the collection of DocumentStorageItem resources.","parameters":[{"name":"firm_id","in":"query","description":"The id value returned in the response of GET \/firms","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer"},"style":"form","explode":false,"allowReserved":false,"example":1}],"deprecated":false},"post":{"operationId":"postDocumentStorageItemCollection","tags":["DocumentStorageItem"],"responses":{"201":{"description":"DocumentStorageItem resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}}},"links":{"GetDocumentStorageItemItem":{"operationId":"getDocumentStorageItemItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/document_storage_items\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a DocumentStorageItem resource.","description":"Creates a DocumentStorageItem resource.","parameters":[],"requestBody":{"description":"The new DocumentStorageItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}}},"required":true},"deprecated":false},"parameters":[]},"\/document_storage_items\/{id}":{"get":{"operationId":"getDocumentStorageItemItem","tags":["DocumentStorageItem"],"responses":{"200":{"description":"DocumentStorageItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/DocumentStorageItem"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a DocumentStorageItem resource.","description":"Retrieves a DocumentStorageItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/expense_items":{"post":{"operationId":"postExpenseItemCollection","tags":["ExpenseItem"],"responses":{"201":{"description":"ExpenseItem resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}}},"links":{"GetExpenseItemItem":{"operationId":"getExpenseItemItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/expense_items\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ExpenseItem resource.","description":"Creates a ExpenseItem resource.","parameters":[],"requestBody":{"description":"The new ExpenseItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}}},"required":true},"deprecated":false},"parameters":[]},"\/expense_items\/{id}":{"get":{"operationId":"getExpenseItemItem","tags":["ExpenseItem"],"responses":{"200":{"description":"ExpenseItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExpenseItem resource.","description":"Retrieves a ExpenseItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteExpenseItemItem","tags":["ExpenseItem"],"responses":{"204":{"description":"ExpenseItem resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the ExpenseItem resource.","description":"Removes the ExpenseItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchExpenseItemItem","tags":["ExpenseItem"],"responses":{"200":{"description":"ExpenseItem resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}}},"links":{"GetExpenseItemItem":{"operationId":"getExpenseItemItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/expense_items\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the ExpenseItem resource.","description":"Updates the ExpenseItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated ExpenseItem resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/ExpenseItem"}}},"required":true},"deprecated":false},"parameters":[]},"\/expenses":{"get":{"operationId":"getExpenseCollection","tags":["Expense"],"responses":{"200":{"description":"Expense collection","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Expense"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Expense"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Expense"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Expense"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Expense"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Expense"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves the collection of Expense resources.","description":"Retrieves the collection of Expense resources.","parameters":[{"name":"firm_id","in":"query","description":"The id value returned in the response of GET \/firms","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer"},"style":"form","explode":false,"allowReserved":false,"example":1}],"deprecated":false},"post":{"operationId":"postExpenseCollection","tags":["Expense"],"responses":{"201":{"description":"Expense resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Expense"}}},"links":{"GetExpenseItem":{"operationId":"getExpenseItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/expenses\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Expense resource.","description":"Creates a Expense resource.","parameters":[],"requestBody":{"description":"The new Expense resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Expense"}}},"required":true},"deprecated":false},"parameters":[]},"\/expenses\/{id}":{"get":{"operationId":"getExpenseItem","tags":["Expense"],"responses":{"200":{"description":"Expense resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Expense"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Expense resource.","description":"Retrieves a Expense resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteExpenseItem","tags":["Expense"],"responses":{"204":{"description":"Expense resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Expense resource.","description":"Removes the Expense resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchExpenseItem","tags":["Expense"],"responses":{"200":{"description":"Expense resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Expense"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Expense"}}},"links":{"GetExpenseItem":{"operationId":"getExpenseItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/expenses\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Expense resource.","description":"Updates the Expense resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Expense resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Expense"}}},"required":true},"deprecated":false},"parameters":[]},"\/expenses\/{id}\/items":{"get":{"operationId":"api_expenses_items_get_subresourceExpenseSubresource","tags":["ExpenseItem","Expense"],"responses":{"200":{"description":"Expense resource","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExpenseItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves a Expense resource.","description":"Retrieves a Expense resource.","parameters":[{"name":"id","in":"path","description":"Expense identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/firm_accounts":{"get":{"operationId":"getFirmAccountCollection","tags":["FirmAccount"],"responses":{"200":{"description":"FirmAccount collection","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/FirmAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/FirmAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/FirmAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/FirmAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/FirmAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/FirmAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves the collection of FirmAccount resources.","description":"Retrieves the collection of FirmAccount resources.","parameters":[{"name":"firm_id","in":"query","description":"The id value returned in the response of GET \/firms","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer"},"style":"form","explode":false,"allowReserved":false,"example":1}],"deprecated":false},"post":{"operationId":"postFirmAccountCollection","tags":["FirmAccount"],"responses":{"201":{"description":"FirmAccount resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}}},"links":{"GetFirmAccountItem":{"operationId":"getFirmAccountItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/firm_accounts\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a FirmAccount resource.","description":"Creates a FirmAccount resource.","parameters":[],"requestBody":{"description":"The new FirmAccount resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}}},"required":true},"deprecated":false},"parameters":[]},"\/firm_accounts\/{id}":{"get":{"operationId":"getFirmAccountItem","tags":["FirmAccount"],"responses":{"200":{"description":"FirmAccount resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a FirmAccount resource.","description":"Retrieves a FirmAccount resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchFirmAccountItem","tags":["FirmAccount"],"responses":{"200":{"description":"FirmAccount resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}}},"links":{"GetFirmAccountItem":{"operationId":"getFirmAccountItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/firm_accounts\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the FirmAccount resource.","description":"Updates the FirmAccount resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated FirmAccount resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/FirmAccount"}}},"required":true},"deprecated":false},"parameters":[]},"\/firms":{"get":{"operationId":"getFirmCollection","tags":["Firm"],"responses":{"200":{"description":"Firm collection","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Firm"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Firm"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Firm"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Firm"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Firm"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Firm"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves the collection of Firm resources.","description":"Retrieves the collection of Firm resources.","parameters":[],"deprecated":false},"post":{"operationId":"postFirmCollection","tags":["Firm"],"responses":{"201":{"description":"Firm resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Firm"}}},"links":{"GetFirmItem":{"operationId":"getFirmItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/firms\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Firm resource.","description":"Creates a Firm resource.","parameters":[],"requestBody":{"description":"The new Firm resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Firm"}}},"required":true},"deprecated":false},"parameters":[]},"\/firms\/{id}":{"get":{"operationId":"getFirmItem","tags":["Firm"],"responses":{"200":{"description":"Firm resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Firm"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Firm resource.","description":"Retrieves a Firm resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchFirmItem","tags":["Firm"],"responses":{"200":{"description":"Firm resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Firm"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Firm"}}},"links":{"GetFirmItem":{"operationId":"getFirmItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/firms\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Firm resource.","description":"Updates the Firm resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Firm resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Firm"}}},"required":true},"deprecated":false},"parameters":[]},"\/invoice_items":{"post":{"operationId":"postInvoiceItemCollection","tags":["InvoiceItem"],"responses":{"201":{"description":"InvoiceItem resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}}},"links":{"GetInvoiceItemItem":{"operationId":"getInvoiceItemItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/invoice_items\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a InvoiceItem resource.","description":"Creates a InvoiceItem resource.","parameters":[],"requestBody":{"description":"The new InvoiceItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}}},"required":true},"deprecated":false},"parameters":[]},"\/invoice_items\/{id}":{"get":{"operationId":"getInvoiceItemItem","tags":["InvoiceItem"],"responses":{"200":{"description":"InvoiceItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a InvoiceItem resource.","description":"Retrieves a InvoiceItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteInvoiceItemItem","tags":["InvoiceItem"],"responses":{"204":{"description":"InvoiceItem resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the InvoiceItem resource.","description":"Removes the InvoiceItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchInvoiceItemItem","tags":["InvoiceItem"],"responses":{"200":{"description":"InvoiceItem resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}}},"links":{"GetInvoiceItemItem":{"operationId":"getInvoiceItemItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/invoice_items\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the InvoiceItem resource.","description":"Updates the InvoiceItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated InvoiceItem resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/InvoiceItem"}}},"required":true},"deprecated":false},"parameters":[]},"\/invoices":{"get":{"operationId":"getInvoiceCollection","tags":["Invoice"],"responses":{"200":{"description":"Invoice collection","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Invoice"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Invoice"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Invoice"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Invoice"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Invoice"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Invoice"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves the collection of Invoice resources.","description":"Retrieves the collection of Invoice resources.","parameters":[{"name":"firm_id","in":"query","description":"The id value returned in the response of GET \/firms","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer"},"style":"form","explode":false,"allowReserved":false,"example":1}],"deprecated":false},"post":{"operationId":"postInvoiceCollection","tags":["Invoice"],"responses":{"201":{"description":"Invoice resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}}},"links":{"GetInvoiceItem":{"operationId":"getInvoiceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/invoices\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Invoice resource.","description":"Creates a Invoice resource.","parameters":[],"requestBody":{"description":"The new Invoice resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}}},"required":true},"deprecated":false},"parameters":[]},"\/invoices\/{id}":{"get":{"operationId":"getInvoiceItem","tags":["Invoice"],"responses":{"200":{"description":"Invoice resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Invoice resource.","description":"Retrieves a Invoice resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteInvoiceItem","tags":["Invoice"],"responses":{"204":{"description":"Invoice resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Invoice resource.","description":"Removes the Invoice resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchInvoiceItem","tags":["Invoice"],"responses":{"200":{"description":"Invoice resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}}},"links":{"GetInvoiceItem":{"operationId":"getInvoiceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/invoices\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Invoice resource.","description":"Updates the Invoice resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Invoice resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Invoice"}}},"required":true},"deprecated":false},"parameters":[]},"\/invoices\/{id}\/items":{"get":{"operationId":"api_invoices_items_get_subresourceInvoiceSubresource","tags":["InvoiceItem","Invoice"],"responses":{"200":{"description":"Invoice resource","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/InvoiceItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves a Invoice resource.","description":"Retrieves a Invoice resource.","parameters":[{"name":"id","in":"path","description":"Invoice identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/number_series":{"get":{"operationId":"getNumberSeriesCollection","tags":["NumberSeries"],"responses":{"200":{"description":"NumberSeries collection","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/NumberSeries"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/NumberSeries"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/NumberSeries"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/NumberSeries"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/NumberSeries"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/NumberSeries"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves the collection of NumberSeries resources.","description":"Retrieves the collection of NumberSeries resources.","parameters":[{"name":"firm_id","in":"query","description":"The id value returned in the response of GET \/firms","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer"},"style":"form","explode":false,"allowReserved":false,"example":1}],"deprecated":false},"post":{"operationId":"postNumberSeriesCollection","tags":["NumberSeries"],"responses":{"201":{"description":"NumberSeries resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}}},"links":{"GetNumberSeriesItem":{"operationId":"getNumberSeriesItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/number_series\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a NumberSeries resource.","description":"Creates a NumberSeries resource.","parameters":[],"requestBody":{"description":"The new NumberSeries resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}}},"required":true},"deprecated":false},"parameters":[]},"\/number_series\/{id}":{"get":{"operationId":"getNumberSeriesItem","tags":["NumberSeries"],"responses":{"200":{"description":"NumberSeries resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a NumberSeries resource.","description":"Retrieves a NumberSeries resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteNumberSeriesItem","tags":["NumberSeries"],"responses":{"204":{"description":"NumberSeries resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the NumberSeries resource.","description":"Removes the NumberSeries resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchNumberSeriesItem","tags":["NumberSeries"],"responses":{"200":{"description":"NumberSeries resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}}},"links":{"GetNumberSeriesItem":{"operationId":"getNumberSeriesItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/number_series\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the NumberSeries resource.","description":"Updates the NumberSeries resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated NumberSeries resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/NumberSeries"}}},"required":true},"deprecated":false},"parameters":[]},"\/open_banking_account_transactions\/{id}":{"get":{"operationId":"getOpenBankingAccountTransactionItem","tags":["OpenBankingAccountTransaction"],"responses":{"200":{"description":"OpenBankingAccountTransaction resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OpenBankingAccountTransaction"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OpenBankingAccountTransaction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OpenBankingAccountTransaction"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/OpenBankingAccountTransaction"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/OpenBankingAccountTransaction"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/OpenBankingAccountTransaction"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a OpenBankingAccountTransaction resource.","description":"Retrieves a OpenBankingAccountTransaction resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/open_banking_accounts":{"get":{"operationId":"getOpenBankingAccountCollection","tags":["OpenBankingAccount"],"responses":{"200":{"description":"OpenBankingAccount collection","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OpenBankingAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OpenBankingAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OpenBankingAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OpenBankingAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OpenBankingAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OpenBankingAccount"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves the collection of OpenBankingAccount resources.","description":"Retrieves the collection of OpenBankingAccount resources.","parameters":[{"name":"firm_id","in":"query","description":"The id value returned in the response of GET \/firms","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer"},"style":"form","explode":false,"allowReserved":false,"example":1}],"deprecated":false},"parameters":[]},"\/open_banking_accounts\/{id}":{"get":{"operationId":"getOpenBankingAccountItem","tags":["OpenBankingAccount"],"responses":{"200":{"description":"OpenBankingAccount resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OpenBankingAccount"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OpenBankingAccount"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OpenBankingAccount"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/OpenBankingAccount"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/OpenBankingAccount"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/OpenBankingAccount"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a OpenBankingAccount resource.","description":"Retrieves a OpenBankingAccount resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/open_banking_accounts\/{id}\/transactions":{"get":{"operationId":"api_open_banking_accounts_transactions_get_subresourceOpenBankingAccountSubresource","tags":["OpenBankingAccountTransaction","OpenBankingAccount"],"responses":{"200":{"description":"OpenBankingAccount resource","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OpenBankingAccountTransaction"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OpenBankingAccountTransaction"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OpenBankingAccountTransaction"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OpenBankingAccountTransaction"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OpenBankingAccountTransaction"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OpenBankingAccountTransaction"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves a OpenBankingAccount resource.","description":"Retrieves a OpenBankingAccount resource.","parameters":[{"name":"id","in":"path","description":"OpenBankingAccount identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/order_items":{"post":{"operationId":"postOrderItemCollection","tags":["OrderItem"],"responses":{"201":{"description":"OrderItem resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}}},"links":{"GetOrderItemItem":{"operationId":"getOrderItemItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/order_items\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a OrderItem resource.","description":"Creates a OrderItem resource.","parameters":[],"requestBody":{"description":"The new OrderItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}}},"required":true},"deprecated":false},"parameters":[]},"\/order_items\/{id}":{"get":{"operationId":"getOrderItemItem","tags":["OrderItem"],"responses":{"200":{"description":"OrderItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a OrderItem resource.","description":"Retrieves a OrderItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteOrderItemItem","tags":["OrderItem"],"responses":{"204":{"description":"OrderItem resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the OrderItem resource.","description":"Removes the OrderItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchOrderItemItem","tags":["OrderItem"],"responses":{"200":{"description":"OrderItem resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}}},"links":{"GetOrderItemItem":{"operationId":"getOrderItemItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/order_items\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the OrderItem resource.","description":"Updates the OrderItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated OrderItem resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem"}}},"required":true},"deprecated":false},"parameters":[]},"\/orders":{"get":{"operationId":"getOrderCollection","tags":["Order"],"responses":{"200":{"description":"Order collection","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Order"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Order"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Order"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Order"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Order"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Order"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves the collection of Order resources.","description":"Retrieves the collection of Order resources.","parameters":[{"name":"firm_id","in":"query","description":"The id value returned in the response of GET \/firms","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer"},"style":"form","explode":false,"allowReserved":false,"example":1}],"deprecated":false},"post":{"operationId":"postOrderCollection","tags":["Order"],"responses":{"201":{"description":"Order resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Order"}}},"links":{"GetOrderItem":{"operationId":"getOrderItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/orders\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Order resource.","description":"Creates a Order resource.","parameters":[],"requestBody":{"description":"The new Order resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Order"}}},"required":true},"deprecated":false},"parameters":[]},"\/orders\/{id}":{"get":{"operationId":"getOrderItem","tags":["Order"],"responses":{"200":{"description":"Order resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Order"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Order resource.","description":"Retrieves a Order resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteOrderItem","tags":["Order"],"responses":{"204":{"description":"Order resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Order resource.","description":"Removes the Order resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchOrderItem","tags":["Order"],"responses":{"200":{"description":"Order resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Order"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Order"}}},"links":{"GetOrderItem":{"operationId":"getOrderItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/orders\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Order resource.","description":"Updates the Order resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Order resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Order"}}},"required":true},"deprecated":false},"parameters":[]},"\/orders\/{id}\/items":{"get":{"operationId":"api_orders_items_get_subresourceOrderSubresource","tags":["OrderItem","Order"],"responses":{"200":{"description":"Order resource","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrderItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrderItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrderItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrderItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrderItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrderItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves a Order resource.","description":"Retrieves a Order resource.","parameters":[{"name":"id","in":"path","description":"Order identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/priceoffer_items":{"post":{"operationId":"postPriceofferItemCollection","tags":["PriceofferItem"],"responses":{"201":{"description":"PriceofferItem resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}}},"links":{"GetPriceofferItemItem":{"operationId":"getPriceofferItemItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/priceoffer_items\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a PriceofferItem resource.","description":"Creates a PriceofferItem resource.","parameters":[],"requestBody":{"description":"The new PriceofferItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}}},"required":true},"deprecated":false},"parameters":[]},"\/priceoffer_items\/{id}":{"get":{"operationId":"getPriceofferItemItem","tags":["PriceofferItem"],"responses":{"200":{"description":"PriceofferItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PriceofferItem resource.","description":"Retrieves a PriceofferItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deletePriceofferItemItem","tags":["PriceofferItem"],"responses":{"204":{"description":"PriceofferItem resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the PriceofferItem resource.","description":"Removes the PriceofferItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchPriceofferItemItem","tags":["PriceofferItem"],"responses":{"200":{"description":"PriceofferItem resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}}},"links":{"GetPriceofferItemItem":{"operationId":"getPriceofferItemItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/priceoffer_items\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the PriceofferItem resource.","description":"Updates the PriceofferItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated PriceofferItem resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/PriceofferItem"}}},"required":true},"deprecated":false},"parameters":[]},"\/priceoffers":{"get":{"operationId":"getPriceofferCollection","tags":["Priceoffer"],"responses":{"200":{"description":"Priceoffer collection","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Priceoffer"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Priceoffer"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Priceoffer"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Priceoffer"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Priceoffer"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Priceoffer"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves the collection of Priceoffer resources.","description":"Retrieves the collection of Priceoffer resources.","parameters":[{"name":"firm_id","in":"query","description":"The id value returned in the response of GET \/firms","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer"},"style":"form","explode":false,"allowReserved":false,"example":1}],"deprecated":false},"post":{"operationId":"postPriceofferCollection","tags":["Priceoffer"],"responses":{"201":{"description":"Priceoffer resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}}},"links":{"GetPriceofferItem":{"operationId":"getPriceofferItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/priceoffers\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Priceoffer resource.","description":"Creates a Priceoffer resource.","parameters":[],"requestBody":{"description":"The new Priceoffer resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}}},"required":true},"deprecated":false},"parameters":[]},"\/priceoffers\/{id}":{"get":{"operationId":"getPriceofferItem","tags":["Priceoffer"],"responses":{"200":{"description":"Priceoffer resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Priceoffer resource.","description":"Retrieves a Priceoffer resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deletePriceofferItem","tags":["Priceoffer"],"responses":{"204":{"description":"Priceoffer resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Priceoffer resource.","description":"Removes the Priceoffer resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchPriceofferItem","tags":["Priceoffer"],"responses":{"200":{"description":"Priceoffer resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}}},"links":{"GetPriceofferItem":{"operationId":"getPriceofferItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/priceoffers\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Priceoffer resource.","description":"Updates the Priceoffer resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Priceoffer resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Priceoffer"}}},"required":true},"deprecated":false},"parameters":[]},"\/priceoffers\/{id}\/items":{"get":{"operationId":"api_priceoffers_items_get_subresourcePriceofferSubresource","tags":["PriceofferItem","Priceoffer"],"responses":{"200":{"description":"Priceoffer resource","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PriceofferItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves a Priceoffer resource.","description":"Retrieves a Priceoffer resource.","parameters":[{"name":"id","in":"path","description":"Priceoffer identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/proforma_items":{"post":{"operationId":"postProformaItemCollection","tags":["ProformaItem"],"responses":{"201":{"description":"ProformaItem resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}}},"links":{"GetProformaItemItem":{"operationId":"getProformaItemItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/proforma_items\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ProformaItem resource.","description":"Creates a ProformaItem resource.","parameters":[],"requestBody":{"description":"The new ProformaItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}}},"required":true},"deprecated":false},"parameters":[]},"\/proforma_items\/{id}":{"get":{"operationId":"getProformaItemItem","tags":["ProformaItem"],"responses":{"200":{"description":"ProformaItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ProformaItem resource.","description":"Retrieves a ProformaItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteProformaItemItem","tags":["ProformaItem"],"responses":{"204":{"description":"ProformaItem resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the ProformaItem resource.","description":"Removes the ProformaItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchProformaItemItem","tags":["ProformaItem"],"responses":{"200":{"description":"ProformaItem resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}}},"links":{"GetProformaItemItem":{"operationId":"getProformaItemItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/proforma_items\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the ProformaItem resource.","description":"Updates the ProformaItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated ProformaItem resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/ProformaItem"}}},"required":true},"deprecated":false},"parameters":[]},"\/proformas":{"get":{"operationId":"getProformaCollection","tags":["Proforma"],"responses":{"200":{"description":"Proforma collection","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Proforma"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Proforma"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Proforma"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Proforma"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Proforma"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Proforma"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves the collection of Proforma resources.","description":"Retrieves the collection of Proforma resources.","parameters":[{"name":"firm_id","in":"query","description":"The id value returned in the response of GET \/firms","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer"},"style":"form","explode":false,"allowReserved":false,"example":1}],"deprecated":false},"post":{"operationId":"postProformaCollection","tags":["Proforma"],"responses":{"201":{"description":"Proforma resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}}},"links":{"GetProformaItem":{"operationId":"getProformaItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/proformas\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Proforma resource.","description":"Creates a Proforma resource.","parameters":[],"requestBody":{"description":"The new Proforma resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}}},"required":true},"deprecated":false},"parameters":[]},"\/proformas\/{id}":{"get":{"operationId":"getProformaItem","tags":["Proforma"],"responses":{"200":{"description":"Proforma resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Proforma resource.","description":"Retrieves a Proforma resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteProformaItem","tags":["Proforma"],"responses":{"204":{"description":"Proforma resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Proforma resource.","description":"Removes the Proforma resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchProformaItem","tags":["Proforma"],"responses":{"200":{"description":"Proforma resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}}},"links":{"GetProformaItem":{"operationId":"getProformaItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/proformas\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Proforma resource.","description":"Updates the Proforma resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Proforma resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Proforma"}}},"required":true},"deprecated":false},"parameters":[]},"\/proformas\/{id}\/items":{"get":{"operationId":"api_proformas_items_get_subresourceProformaSubresource","tags":["ProformaItem","Proforma"],"responses":{"200":{"description":"Proforma resource","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProformaItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProformaItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProformaItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProformaItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProformaItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ProformaItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves a Proforma resource.","description":"Retrieves a Proforma resource.","parameters":[{"name":"id","in":"path","description":"Proforma identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/receipt_items":{"post":{"operationId":"postReceiptItemCollection","tags":["ReceiptItem"],"responses":{"201":{"description":"ReceiptItem resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}}},"links":{"GetReceiptItemItem":{"operationId":"getReceiptItemItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/receipt_items\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ReceiptItem resource.","description":"Creates a ReceiptItem resource.","parameters":[],"requestBody":{"description":"The new ReceiptItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}}},"required":true},"deprecated":false},"parameters":[]},"\/receipt_items\/{id}":{"get":{"operationId":"getReceiptItemItem","tags":["ReceiptItem"],"responses":{"200":{"description":"ReceiptItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ReceiptItem resource.","description":"Retrieves a ReceiptItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteReceiptItemItem","tags":["ReceiptItem"],"responses":{"204":{"description":"ReceiptItem resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the ReceiptItem resource.","description":"Removes the ReceiptItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchReceiptItemItem","tags":["ReceiptItem"],"responses":{"200":{"description":"ReceiptItem resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}}},"links":{"GetReceiptItemItem":{"operationId":"getReceiptItemItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/receipt_items\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the ReceiptItem resource.","description":"Updates the ReceiptItem resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated ReceiptItem resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/ReceiptItem"}}},"required":true},"deprecated":false},"parameters":[]},"\/receipts":{"get":{"operationId":"getReceiptCollection","tags":["Receipt"],"responses":{"200":{"description":"Receipt collection","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Receipt"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Receipt"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Receipt"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Receipt"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Receipt"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Receipt"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves the collection of Receipt resources.","description":"Retrieves the collection of Receipt resources.","parameters":[{"name":"firm_id","in":"query","description":"The id value returned in the response of GET \/firms","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer"},"style":"form","explode":false,"allowReserved":false,"example":1}],"deprecated":false},"post":{"operationId":"postReceiptCollection","tags":["Receipt"],"responses":{"201":{"description":"Receipt resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}}},"links":{"GetReceiptItem":{"operationId":"getReceiptItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/receipts\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Receipt resource.","description":"Creates a Receipt resource.","parameters":[],"requestBody":{"description":"The new Receipt resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}}},"required":true},"deprecated":false},"parameters":[]},"\/receipts\/{id}":{"get":{"operationId":"getReceiptItem","tags":["Receipt"],"responses":{"200":{"description":"Receipt resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Receipt resource.","description":"Retrieves a Receipt resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteReceiptItem","tags":["Receipt"],"responses":{"204":{"description":"Receipt resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Receipt resource.","description":"Removes the Receipt resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchReceiptItem","tags":["Receipt"],"responses":{"200":{"description":"Receipt resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"application\/xml":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"text\/xml":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}},"application\/x-yaml":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}}},"links":{"GetReceiptItem":{"operationId":"getReceiptItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/receipts\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Receipt resource.","description":"Updates the Receipt resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Receipt resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Receipt"}}},"required":true},"deprecated":false},"parameters":[]},"\/receipts\/{id}\/items":{"get":{"operationId":"api_receipts_items_get_subresourceReceiptSubresource","tags":["ReceiptItem","Receipt"],"responses":{"200":{"description":"Receipt resource","content":{"application\/json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/html":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text\/xml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/x-yaml":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReceiptItem"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}}}}},"summary":"Retrieves a Receipt resource.","description":"Retrieves a Receipt resource.","parameters":[{"name":"id","in":"path","description":"Receipt identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/token\/refresh":{"post":{"operationId":"postRefreshToken","tags":["Token"],"responses":{"200":{"description":"Get a new JWT token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Token"}}}}},"summary":"Get JWT token to login.","description":"","parameters":[],"requestBody":{"description":"Generate new JWT Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RefreshToken"}}},"required":false},"deprecated":false},"parameters":[]}},"components":{"schemas":{"AccountingItem":{"type":"object","description":"AccountingItem.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Item ID.","type":"integer"},"number":{"minLength":0,"maxLength":255,"type":"string","example":"FA2024001443","description":"Number."},"variable_symbol":{"minLength":0,"maxLength":255,"type":"string","example":"2024001443","description":"Variable symbol."},"name":{"minLength":0,"maxLength":255,"type":"string","example":"Invoice 2024001443","description":"Item Name."},"amount":{"type":"string","example":910.2,"description":"Amount."},"debit_account":{"minLength":0,"maxLength":6,"type":"string","example":"311000","description":"Debit Accounting Account.","nullable":true},"credit_account":{"minLength":0,"maxLength":6,"type":"string","example":"311000","description":"Credit Accounting Account.","nullable":true},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference","nullable":true},"date":{"description":"Date.","type":"string","format":"date-time"},"date_tax":{"description":"Date TAX.","type":"string","format":"date-time"},"currency":{"type":"string","example":"EUR","description":"Expense currency.","format":"iri-reference"},"currency_rate":{"type":"string","example":1,"description":"Currency rate.","default":"1"}},"required":["number","variable_symbol","name","amount","firm","date","date_tax","currency"]},"AccountingItem.jsonld":{"type":"object","description":"AccountingItem.","properties":{"id":{"readOnly":true,"description":"Item ID.","type":"integer"},"number":{"minLength":0,"maxLength":255,"type":"string","example":"FA2024001443","description":"Number."},"variable_symbol":{"minLength":0,"maxLength":255,"type":"string","example":"2024001443","description":"Variable symbol."},"name":{"minLength":0,"maxLength":255,"type":"string","example":"Invoice 2024001443","description":"Item Name."},"amount":{"type":"string","example":910.2,"description":"Amount."},"debit_account":{"minLength":0,"maxLength":6,"type":"string","example":"311000","description":"Debit Accounting Account.","nullable":true},"credit_account":{"minLength":0,"maxLength":6,"type":"string","example":"311000","description":"Credit Accounting Account.","nullable":true},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference","nullable":true},"date":{"description":"Date.","type":"string","format":"date-time"},"date_tax":{"description":"Date TAX.","type":"string","format":"date-time"},"currency":{"type":"string","example":"EUR","description":"Expense currency.","format":"iri-reference"},"currency_rate":{"type":"string","example":1,"description":"Currency rate.","default":"1"}},"required":["number","variable_symbol","name","amount","firm","date","date_tax","currency"]},"Bank":{"type":"object","description":"Bank.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"The entity ID.","type":"integer"},"name":{"description":"Bank name.","type":"string"},"swift":{"description":"Bank SWIFT code.","type":"string"},"country":{"description":"Bank home country.","type":"string","format":"iri-reference","nullable":true}}},"Bank.jsonld":{"type":"object","description":"Bank.","properties":{"id":{"readOnly":true,"description":"The entity ID.","type":"integer"},"name":{"description":"Bank name.","type":"string"},"swift":{"description":"Bank SWIFT code.","type":"string"},"country":{"description":"Bank home country.","type":"string","format":"iri-reference","nullable":true}}},"Contact":{"type":"object","description":"Contact.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"The entity ID.","type":"integer"},"name":{"minLength":1,"maxLength":255,"type":"string","example":"Amazon Services","description":"Contact name."},"street":{"minLength":0,"maxLength":255,"type":"string","example":"5th Avenue, 133\/12b","description":"Street."},"city":{"minLength":0,"maxLength":255,"type":"string","example":"New York, NY","description":"City."},"zip":{"minLength":0,"maxLength":255,"type":"string","example":"44229","description":"ZIP."},"ico":{"minLength":0,"maxLength":255,"pattern":"^([0-9 ]+)$","type":"string","example":"44445555","description":"Reg. ID."},"dic":{"minLength":0,"maxLength":255,"type":"string","example":"4444555125","description":"VAT ID."},"icdph":{"minLength":0,"maxLength":255,"type":"string","example":"CY5544445555","description":"TAX ID."},"phone":{"minLength":0,"maxLength":255,"type":"string","example":"+421919000111","description":"Phone."},"email":{"minLength":0,"maxLength":255,"type":"string","example":"dev@trovi.sk","description":"E-mail."},"bank_iban":{"minLength":0,"maxLength":255,"type":"string","example":"SK8311000000004066449922","description":"IBAN."},"bank_swift":{"minLength":0,"maxLength":255,"type":"string","example":"TATRSKBX","description":"SWIFT."},"internal_note":{"minLength":0,"maxLength":255,"type":"string","example":"Very good partner, A++","description":"Internal note."},"default_billing":{"description":"Default billing in days for invoce and proforma.","default":14,"example":14,"type":"integer"},"default_vs":{"minLength":0,"maxLength":10,"type":"string","example":"219901","description":"Default VS on documents.","nullable":true},"default_ss":{"minLength":0,"maxLength":10,"type":"string","example":"2299","description":"Default SS on documents."},"default_ks":{"minLength":0,"maxLength":4,"type":"string","example":"0308","description":"Default KS on documents."},"ext_id":{"description":"External ID from remote system.","type":"string"},"default_currency":{"type":"string","example":"EUR","description":"Default currency for docs.","format":"iri-reference"},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"country":{"type":"string","example":"154","description":"Country ID.","format":"iri-reference"},"bankAccount":{"readOnly":true,"description":"Array of invoice items.","type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","default_billing","default_ss","default_ks","firm"]},"Contact.jsonld":{"type":"object","description":"Contact.","properties":{"id":{"readOnly":true,"description":"The entity ID.","type":"integer"},"name":{"minLength":1,"maxLength":255,"type":"string","example":"Amazon Services","description":"Contact name."},"street":{"minLength":0,"maxLength":255,"type":"string","example":"5th Avenue, 133\/12b","description":"Street."},"city":{"minLength":0,"maxLength":255,"type":"string","example":"New York, NY","description":"City."},"zip":{"minLength":0,"maxLength":255,"type":"string","example":"44229","description":"ZIP."},"ico":{"minLength":0,"maxLength":255,"pattern":"^([0-9 ]+)$","type":"string","example":"44445555","description":"Reg. ID."},"dic":{"minLength":0,"maxLength":255,"type":"string","example":"4444555125","description":"VAT ID."},"icdph":{"minLength":0,"maxLength":255,"type":"string","example":"CY5544445555","description":"TAX ID."},"phone":{"minLength":0,"maxLength":255,"type":"string","example":"+421919000111","description":"Phone."},"email":{"minLength":0,"maxLength":255,"type":"string","example":"dev@trovi.sk","description":"E-mail."},"bank_iban":{"minLength":0,"maxLength":255,"type":"string","example":"SK8311000000004066449922","description":"IBAN."},"bank_swift":{"minLength":0,"maxLength":255,"type":"string","example":"TATRSKBX","description":"SWIFT."},"internal_note":{"minLength":0,"maxLength":255,"type":"string","example":"Very good partner, A++","description":"Internal note."},"default_billing":{"description":"Default billing in days for invoce and proforma.","default":14,"example":14,"type":"integer"},"default_vs":{"minLength":0,"maxLength":10,"type":"string","example":"219901","description":"Default VS on documents.","nullable":true},"default_ss":{"minLength":0,"maxLength":10,"type":"string","example":"2299","description":"Default SS on documents."},"default_ks":{"minLength":0,"maxLength":4,"type":"string","example":"0308","description":"Default KS on documents."},"ext_id":{"description":"External ID from remote system.","type":"string"},"default_currency":{"type":"string","example":"EUR","description":"Default currency for docs.","format":"iri-reference"},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"country":{"type":"string","example":"154","description":"Country ID.","format":"iri-reference"},"bankAccount":{"readOnly":true,"description":"Array of invoice items.","type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","default_billing","default_ss","default_ks","firm"]},"ContactBankAccount":{"type":"object","description":"Contact Bank Account.","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"The entity ID.","type":"integer"},"name":{"minLength":1,"maxLength":255,"type":"string","example":"Amazon Services","description":"Contact name."},"iban":{"minLength":0,"maxLength":255,"type":"string","example":"SK3211000000002918148456","description":"IBAN."},"swift":{"minLength":0,"maxLength":255,"type":"string","example":"TATRSKBX","description":"SWIFT."},"is_default":{"type":"integer","example":"1","description":"Is Default."},"is_deleted":{"pattern":"^([0-9 ]+)$","type":"integer","example":"0","description":"Is Deleted."},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference"}},"required":["name","contact"]},"ContactBankAccount.jsonld":{"type":"object","description":"Contact Bank Account.","properties":{"id":{"readOnly":true,"description":"The entity ID.","type":"integer"},"name":{"minLength":1,"maxLength":255,"type":"string","example":"Amazon Services","description":"Contact name."},"iban":{"minLength":0,"maxLength":255,"type":"string","example":"SK3211000000002918148456","description":"IBAN."},"swift":{"minLength":0,"maxLength":255,"type":"string","example":"TATRSKBX","description":"SWIFT."},"is_default":{"type":"integer","example":"1","description":"Is Default."},"is_deleted":{"pattern":"^([0-9 ]+)$","type":"integer","example":"0","description":"Is Deleted."},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference"}},"required":["name","contact"]},"Country":{"type":"object","description":"Country.","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"The entity ID.","type":"integer"},"code2":{"type":"string","example":"SK","description":"ISO 3166-1 alpha-2 \u2013 two-letter country codes.","nullable":true},"code3":{"type":"string","example":"SVK","description":"ISO 3166-1 alpha-3 \u2013 three-letter country codes.","nullable":true},"name":{"readOnly":true,"description":"Localized country name.","type":"array","items":{"type":"string"}}}},"Country.jsonld":{"type":"object","description":"Country.","properties":{"id":{"readOnly":true,"description":"The entity ID.","type":"integer"},"code2":{"type":"string","example":"SK","description":"ISO 3166-1 alpha-2 \u2013 two-letter country codes.","nullable":true},"code3":{"type":"string","example":"SVK","description":"ISO 3166-1 alpha-3 \u2013 three-letter country codes.","nullable":true},"name":{"readOnly":true,"description":"Localized country name.","type":"array","items":{"type":"string"}}}},"Credentials":{"type":"object","properties":{"email":{"type":"string","example":"contact@trovi.sk"},"password":{"type":"string","example":"user-api-key"}}},"Currency":{"type":"object","description":"Currency.","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"type":"string"},"currency":{"type":"string","example":"CZK","readOnly":true,"description":"Currency ISO code."},"uservalue":{"type":"string","example":"K\u010d","description":"User local name."},"rate":{"type":"string","example":"24.4415","description":"Current exchange rate with EUR by ECB."}}},"Currency.jsonld":{"type":"object","description":"Currency.","properties":{"currency":{"type":"string","example":"CZK","readOnly":true,"description":"Currency ISO code."},"uservalue":{"type":"string","example":"K\u010d","description":"User local name."},"rate":{"type":"string","example":"24.4415","description":"Current exchange rate with EUR by ECB."}}},"DocumentStorageItem":{"type":"object","description":"Document storage item.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Document ID.","type":"integer"},"name":{"type":"string","example":"This document name","description":"Document name."},"datetime_created":{"type":"string","format":"date-time","example":"2021-06-30 14:30:45","description":"Date of creation."},"datetime_processed":{"example":"2021-06-30","format":"date","description":"Processed date.","type":"string"},"datetime_deadline":{"example":"2021-06-30","format":"date","description":"Deadline date.","type":"string","nullable":true},"communication_type":{"type":"number","example":1,"enum":[1,2],"options":"1 => Received, => 2 = Sent","description":"Communication type.","default":1},"category":{"type":"number","example":1,"enum":[1,2,3,4,5,6,7],"options":"1 - Finance, 2 - Accounting, 3 => People and employees, 4 => Contracts and legal documents, 5 => Taxes and regulations, 6 => Operational investments, 7 => Assets","description":"Category.","default":1},"deadline_action":{"type":"number","example":1,"enum":[1,2,3],"options":"1 - Email notification, 2 - SMS notification, 3 => Notification in the notification center","description":"Deadline action.","nullable":true},"deadline_days":{"type":"number","example":1,"description":"Deadline days.","nullable":true},"note":{"type":"string","example":"This is my note for this document","description":"Note."},"total_price_without_vat":{"type":"string","example":"100.00","description":"Total price without VAT."},"vat":{"type":"string","example":"23.00","description":"VAT rate."},"total_price_with_vat":{"type":"string","example":"123.00","description":"Total price with VAT."},"path":{"type":"string","example":"\/path\/to\/uploaded_document.pdf","nullable":true},"filename":{"type":"string","example":"document.pdf"},"ext_id":{"description":"External ID from remote system.","type":"string"},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference","nullable":true},"currency":{"type":"string","example":"EUR","description":"Document currency.","format":"iri-reference"},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"}},"required":["name","datetime_processed","communication_type","category","note","firm"]},"DocumentStorageItem.jsonld":{"type":"object","description":"Document storage item.","properties":{"id":{"readOnly":true,"description":"Document ID.","type":"integer"},"name":{"type":"string","example":"This document name","description":"Document name."},"datetime_created":{"type":"string","format":"date-time","example":"2021-06-30 14:30:45","description":"Date of creation."},"datetime_processed":{"example":"2021-06-30","format":"date","description":"Processed date.","type":"string"},"datetime_deadline":{"example":"2021-06-30","format":"date","description":"Deadline date.","type":"string","nullable":true},"communication_type":{"type":"number","example":1,"enum":[1,2],"options":"1 => Received, => 2 = Sent","description":"Communication type.","default":1},"category":{"type":"number","example":1,"enum":[1,2,3,4,5,6,7],"options":"1 - Finance, 2 - Accounting, 3 => People and employees, 4 => Contracts and legal documents, 5 => Taxes and regulations, 6 => Operational investments, 7 => Assets","description":"Category.","default":1},"deadline_action":{"type":"number","example":1,"enum":[1,2,3],"options":"1 - Email notification, 2 - SMS notification, 3 => Notification in the notification center","description":"Deadline action.","nullable":true},"deadline_days":{"type":"number","example":1,"description":"Deadline days.","nullable":true},"note":{"type":"string","example":"This is my note for this document","description":"Note."},"total_price_without_vat":{"type":"string","example":"100.00","description":"Total price without VAT."},"vat":{"type":"string","example":"23.00","description":"VAT rate."},"total_price_with_vat":{"type":"string","example":"123.00","description":"Total price with VAT."},"path":{"type":"string","example":"\/path\/to\/uploaded_document.pdf","nullable":true},"filename":{"type":"string","example":"document.pdf"},"ext_id":{"description":"External ID from remote system.","type":"string"},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference","nullable":true},"currency":{"type":"string","example":"EUR","description":"Document currency.","format":"iri-reference"},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"}},"required":["name","datetime_processed","communication_type","category","note","firm"]},"Expense":{"type":"object","description":"Expense.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Expense ID.","type":"integer"},"datetime_created":{"example":"2025-06-30","format":"date","description":"Created date.","type":"string"},"datetime_delivered":{"example":"2025-06-30","format":"date","description":"Delivery date.","type":"string"},"datetime_billed":{"example":"2023-06-30","format":"date","description":"Due by.","type":"string"},"datetime_paid":{"description":"Payment date.","type":"string","format":"date-time","nullable":true},"variable_symbol":{"minLength":0,"maxLength":250,"type":"string","example":"1199003","description":"Variable symbol."},"constant_symbol":{"minLength":0,"maxLength":4,"type":"string","example":"0308","description":"Constant symbol.","default":"0308"},"specific_symbol":{"minLength":0,"maxLength":10,"type":"string","example":"20209901","description":"Specific symbol."},"total_price_without_vat":{"type":"number","example":"799.11","description":"Amount without VAT."},"total_price_with_vat":{"type":"number","example":"999.13","description":"Amount with VAT."},"name":{"minLength":1,"maxLength":255,"type":"string","example":"iPhone 13","description":"Expense name."},"invoice_number":{"minLength":1,"maxLength":255,"type":"string","example":"INV20250001","description":"Invoice number."},"order_number":{"minLength":0,"maxLength":255,"type":"string","example":"ORD12-33","description":"Order number."},"internal_note":{"type":"string"},"ext_id":{"description":"External ID from remote system.","type":"string"},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference"},"currency":{"type":"string","example":"EUR","description":"Expense currency.","format":"iri-reference"},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"item":{"readOnly":true,"description":"Array of expense items.","type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["datetime_created","datetime_delivered","datetime_billed","total_price_without_vat","total_price_with_vat","name","invoice_number","contact","currency","firm"]},"Expense.jsonld":{"type":"object","description":"Expense.","properties":{"id":{"readOnly":true,"description":"Expense ID.","type":"integer"},"datetime_created":{"example":"2025-06-30","format":"date","description":"Created date.","type":"string"},"datetime_delivered":{"example":"2025-06-30","format":"date","description":"Delivery date.","type":"string"},"datetime_billed":{"example":"2023-06-30","format":"date","description":"Due by.","type":"string"},"datetime_paid":{"description":"Payment date.","type":"string","format":"date-time","nullable":true},"variable_symbol":{"minLength":0,"maxLength":250,"type":"string","example":"1199003","description":"Variable symbol."},"constant_symbol":{"minLength":0,"maxLength":4,"type":"string","example":"0308","description":"Constant symbol.","default":"0308"},"specific_symbol":{"minLength":0,"maxLength":10,"type":"string","example":"20209901","description":"Specific symbol."},"total_price_without_vat":{"type":"number","example":"799.11","description":"Amount without VAT."},"total_price_with_vat":{"type":"number","example":"999.13","description":"Amount with VAT."},"name":{"minLength":1,"maxLength":255,"type":"string","example":"iPhone 13","description":"Expense name."},"invoice_number":{"minLength":1,"maxLength":255,"type":"string","example":"INV20250001","description":"Invoice number."},"order_number":{"minLength":0,"maxLength":255,"type":"string","example":"ORD12-33","description":"Order number."},"internal_note":{"type":"string"},"ext_id":{"description":"External ID from remote system.","type":"string"},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference"},"currency":{"type":"string","example":"EUR","description":"Expense currency.","format":"iri-reference"},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"item":{"readOnly":true,"description":"Array of expense items.","type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["datetime_created","datetime_delivered","datetime_billed","total_price_without_vat","total_price_with_vat","name","invoice_number","contact","currency","firm"]},"ExpenseItem":{"type":"object","description":"ExpenseItem.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Item ID.","type":"integer"},"title":{"minLength":1,"maxLength":255,"type":"string","example":"Apple iPhone 13","description":"Item title.","nullable":true},"price_per_unit":{"type":"string","example":910.2,"description":"Price per unit."},"quantity":{"type":"number","example":2,"description":"Item quantity.","default":1},"vat_rate":{"type":"number","example":20,"description":"% of VAT."},"unit":{"minLength":0,"maxLength":255,"type":"string","example":"kg","description":"Unit of measure.","nullable":true},"expense":{"description":"Expense ID.","type":"string","format":"iri-reference","nullable":true}},"required":["price_per_unit","quantity","vat_rate","unit","expense"]},"ExpenseItem.jsonld":{"type":"object","description":"ExpenseItem.","properties":{"id":{"readOnly":true,"description":"Item ID.","type":"integer"},"title":{"minLength":1,"maxLength":255,"type":"string","example":"Apple iPhone 13","description":"Item title.","nullable":true},"price_per_unit":{"type":"string","example":910.2,"description":"Price per unit."},"quantity":{"type":"number","example":2,"description":"Item quantity.","default":1},"vat_rate":{"type":"number","example":20,"description":"% of VAT."},"unit":{"minLength":0,"maxLength":255,"type":"string","example":"kg","description":"Unit of measure.","nullable":true},"expense":{"description":"Expense ID.","type":"string","format":"iri-reference","nullable":true}},"required":["price_per_unit","quantity","vat_rate","unit","expense"]},"Firm":{"type":"object","description":"Firm entity.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Entity ID.","type":"integer"},"name":{"minLength":1,"maxLength":255,"type":"string","example":"Amazon Services","description":"Company name."},"street":{"minLength":1,"maxLength":255,"type":"string","example":"Lexington 112\/1b","description":"Address street."},"city":{"minLength":1,"maxLength":255,"type":"string","example":"London","description":"Address City."},"zip":{"minLength":1,"maxLength":255,"type":"string","example":"12CY3","description":"Address ZIP."},"ico":{"minLength":0,"maxLength":255,"type":"string","example":"44445555","description":"Reg. ID."},"dic":{"minLength":0,"maxLength":255,"type":"string","example":"44445555","description":"VAT ID."},"icdph":{"minLength":0,"maxLength":255,"type":"string","example":"44445555","description":"TAX ID."},"vat_payer":{"type":"number","example":0,"enum":[0,1,2],"options":"0 - Not VAT payer, 1 - VAT payer, 2 - Partial VAT paye","description":"VAT payer type."},"email":{"minLength":0,"maxLength":255,"type":"string","example":"dev@trovi.sk","description":"Email address."},"phone":{"minLength":0,"maxLength":255,"type":"string","example":"+421919000111","description":"Phone."},"web":{"minLength":0,"maxLength":255,"type":"string","example":"https:\/\/www.trovi.sk\/","description":"Web site - full url."},"accounting_type":{"type":"number","example":2,"enum":[1,2],"options":"1 - Simplified, 2 - Double-entry","default":1},"default_payment_due":{"type":"number","example":14,"description":"Default payment due.","default":14},"default_doc_theme":{"type":"number","example":2,"enum":[1,2],"options":"1 - Oslo Gray, 2 - Classic","description":"Default document theme.","default":2},"default_doc_price_offer_valid_days":{"type":"number","example":14,"description":"Default price offer validity in days.","default":14},"country":{"type":"string","example":"154","description":"Country ID.","format":"iri-reference"},"default_currency":{"type":"string","example":"EUR","description":"Default currency.","format":"iri-reference"}},"required":["name","street","city","zip"]},"Firm.jsonld":{"type":"object","description":"Firm entity.","properties":{"id":{"readOnly":true,"description":"Entity ID.","type":"integer"},"name":{"minLength":1,"maxLength":255,"type":"string","example":"Amazon Services","description":"Company name."},"street":{"minLength":1,"maxLength":255,"type":"string","example":"Lexington 112\/1b","description":"Address street."},"city":{"minLength":1,"maxLength":255,"type":"string","example":"London","description":"Address City."},"zip":{"minLength":1,"maxLength":255,"type":"string","example":"12CY3","description":"Address ZIP."},"ico":{"minLength":0,"maxLength":255,"type":"string","example":"44445555","description":"Reg. ID."},"dic":{"minLength":0,"maxLength":255,"type":"string","example":"44445555","description":"VAT ID."},"icdph":{"minLength":0,"maxLength":255,"type":"string","example":"44445555","description":"TAX ID."},"vat_payer":{"type":"number","example":0,"enum":[0,1,2],"options":"0 - Not VAT payer, 1 - VAT payer, 2 - Partial VAT paye","description":"VAT payer type."},"email":{"minLength":0,"maxLength":255,"type":"string","example":"dev@trovi.sk","description":"Email address."},"phone":{"minLength":0,"maxLength":255,"type":"string","example":"+421919000111","description":"Phone."},"web":{"minLength":0,"maxLength":255,"type":"string","example":"https:\/\/www.trovi.sk\/","description":"Web site - full url."},"accounting_type":{"type":"number","example":2,"enum":[1,2],"options":"1 - Simplified, 2 - Double-entry","default":1},"default_payment_due":{"type":"number","example":14,"description":"Default payment due.","default":14},"default_doc_theme":{"type":"number","example":2,"enum":[1,2],"options":"1 - Oslo Gray, 2 - Classic","description":"Default document theme.","default":2},"default_doc_price_offer_valid_days":{"type":"number","example":14,"description":"Default price offer validity in days.","default":14},"country":{"type":"string","example":"154","description":"Country ID.","format":"iri-reference"},"default_currency":{"type":"string","example":"EUR","description":"Default currency.","format":"iri-reference"}},"required":["name","street","city","zip"]},"FirmAccount":{"type":"object","description":"FirmAccount.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Account ID.","type":"integer"},"iban":{"minLength":1,"maxLength":255,"type":"string","example":"SK0811000000012954071983","description":"Account IBAN."},"swift":{"minLength":1,"maxLength":255,"type":"string","example":"TATRSKBX","description":"Account SWIFT code.","nullable":true},"inactive":{"description":"Inactive status.","type":"integer"},"name":{"minLength":1,"maxLength":255,"type":"string","example":"Default company account","nullable":true},"currency":{"type":"string","example":"EUR","format":"iri-reference","nullable":true},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"}},"required":["iban","inactive","name","firm"]},"FirmAccount.jsonld":{"type":"object","description":"FirmAccount.","properties":{"id":{"readOnly":true,"description":"Account ID.","type":"integer"},"iban":{"minLength":1,"maxLength":255,"type":"string","example":"SK0811000000012954071983","description":"Account IBAN."},"swift":{"minLength":1,"maxLength":255,"type":"string","example":"TATRSKBX","description":"Account SWIFT code.","nullable":true},"inactive":{"description":"Inactive status.","type":"integer"},"name":{"minLength":1,"maxLength":255,"type":"string","example":"Default company account","nullable":true},"currency":{"type":"string","example":"EUR","format":"iri-reference","nullable":true},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"}},"required":["iban","inactive","name","firm"]},"Invoice":{"type":"object","description":"Invoice.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Invoice ID.","type":"integer"},"number":{"minLength":0,"maxLength":10,"type":"number","example":"21990001","note":"For blank value, number will be generated based on `number_serie` reference","description":"Invoice number."},"order_number":{"type":"string","example":"ORDER 21-13","description":"Order number."},"datetime_created":{"example":"2023-06-30","format":"date","description":"Date of issue.","type":"string"},"datetime_delivered":{"example":"2023-06-30","format":"date","description":"Delivery date.","type":"string"},"datetime_billed":{"example":"2023-06-30","format":"date","description":"Due by.","type":"string"},"datetime_paid":{"example":"2023-06-30","format":"date","description":"Payment date.","type":"string","nullable":true},"payment_type":{"type":"number","example":1,"enum":[1,2,3,4,5],"options":"1 => Bank transfer, => 2 = Cash on delivery, 3 => Cash, 4 => Paypal, 5 => Other","description":"Payment type.","default":1},"delivery_method":{"type":"number","example":6,"enum":[1,2,3,4,5,6],"options":"1 - By mail, 2 - Electronically, 3 => By courier, 4 => Personal pickup, 5 => Freight transport, 6 => Other","description":"Delivery method.","default":6},"deposit":{"type":"number","example":"230.15","description":"Deposit deduction."},"begin_text":{"type":"string","example":"We invoice:","description":"Note above items."},"end_text":{"type":"string","example":"Thanks for cooperation","description":"Note."},"internal_note":{"type":"string","example":"This is my internal note for this invoice","description":"Internal note."},"variable_symbol":{"type":"string","example":"1199003","note":"For blank value, variable_symbol will be same `number` parameter","description":"Variable symbol."},"constant_symbol":{"type":"string","example":"0308","description":"Constant symbol.","default":"0308"},"specific_symbol":{"type":"string","example":"20209901","description":"Specific symbol."},"total_price_without_vat":{"type":"number","readOnly":true,"example":"999.13","description":"Total price without VAT - value is calculated based on document items."},"total_price_with_vat":{"type":"number","readOnly":true,"example":"999.15","description":"Total price with VAT - value is calculated based on document items."},"theme":{"type":"number","example":1,"enum":[1,2],"options":"1 => Oslo Gray, => 2 = Classic","description":"Document theme.","default":1},"language":{"minLength":2,"maxLength":2,"type":"string","example":"sk","enum":["cs","de","en","sk"],"description":"Document language code - ISO 639-1 code from enum.","default":"sk"},"ext_id":{"description":"External ID from remote system.","type":"string"},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference"},"currency":{"type":"string","example":"EUR","description":"Document currency.","format":"iri-reference"},"bank_account":{"note":"Required if `paymennt_type` is 1","description":"Firm account ID.","type":"string","format":"iri-reference","nullable":true},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"number_serie":{"description":"Document number serie ID for Invoices.","type":"string","format":"iri-reference","nullable":true},"item":{"readOnly":true,"description":"Array of invoice items.","type":"array","items":{"type":"string","format":"iri-reference"}},"urls":{"readOnly":true,"description":"Array of urls with to PDF document, format: https:\/\/www.trovi.sk\/pdf\/{$HASH}_{$LANG}.pdf\nAllowed langs: cs, de, en, sk.","type":"array","items":{"type":"string"}}},"required":["number","datetime_created","datetime_delivered","datetime_billed","payment_type","delivery_method","deposit","begin_text","end_text","internal_note","variable_symbol","language","contact","firm"]},"Invoice.jsonld":{"type":"object","description":"Invoice.","properties":{"id":{"readOnly":true,"description":"Invoice ID.","type":"integer"},"number":{"minLength":0,"maxLength":10,"type":"number","example":"21990001","note":"For blank value, number will be generated based on `number_serie` reference","description":"Invoice number."},"order_number":{"type":"string","example":"ORDER 21-13","description":"Order number."},"datetime_created":{"example":"2023-06-30","format":"date","description":"Date of issue.","type":"string"},"datetime_delivered":{"example":"2023-06-30","format":"date","description":"Delivery date.","type":"string"},"datetime_billed":{"example":"2023-06-30","format":"date","description":"Due by.","type":"string"},"datetime_paid":{"example":"2023-06-30","format":"date","description":"Payment date.","type":"string","nullable":true},"payment_type":{"type":"number","example":1,"enum":[1,2,3,4,5],"options":"1 => Bank transfer, => 2 = Cash on delivery, 3 => Cash, 4 => Paypal, 5 => Other","description":"Payment type.","default":1},"delivery_method":{"type":"number","example":6,"enum":[1,2,3,4,5,6],"options":"1 - By mail, 2 - Electronically, 3 => By courier, 4 => Personal pickup, 5 => Freight transport, 6 => Other","description":"Delivery method.","default":6},"deposit":{"type":"number","example":"230.15","description":"Deposit deduction."},"begin_text":{"type":"string","example":"We invoice:","description":"Note above items."},"end_text":{"type":"string","example":"Thanks for cooperation","description":"Note."},"internal_note":{"type":"string","example":"This is my internal note for this invoice","description":"Internal note."},"variable_symbol":{"type":"string","example":"1199003","note":"For blank value, variable_symbol will be same `number` parameter","description":"Variable symbol."},"constant_symbol":{"type":"string","example":"0308","description":"Constant symbol.","default":"0308"},"specific_symbol":{"type":"string","example":"20209901","description":"Specific symbol."},"total_price_without_vat":{"type":"number","readOnly":true,"example":"999.13","description":"Total price without VAT - value is calculated based on document items."},"total_price_with_vat":{"type":"number","readOnly":true,"example":"999.15","description":"Total price with VAT - value is calculated based on document items."},"theme":{"type":"number","example":1,"enum":[1,2],"options":"1 => Oslo Gray, => 2 = Classic","description":"Document theme.","default":1},"language":{"minLength":2,"maxLength":2,"type":"string","example":"sk","enum":["cs","de","en","sk"],"description":"Document language code - ISO 639-1 code from enum.","default":"sk"},"ext_id":{"description":"External ID from remote system.","type":"string"},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference"},"currency":{"type":"string","example":"EUR","description":"Document currency.","format":"iri-reference"},"bank_account":{"note":"Required if `paymennt_type` is 1","description":"Firm account ID.","type":"string","format":"iri-reference","nullable":true},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"number_serie":{"description":"Document number serie ID for Invoices.","type":"string","format":"iri-reference","nullable":true},"item":{"readOnly":true,"description":"Array of invoice items.","type":"array","items":{"type":"string","format":"iri-reference"}},"urls":{"readOnly":true,"description":"Array of urls with to PDF document, format: https:\/\/www.trovi.sk\/pdf\/{$HASH}_{$LANG}.pdf\nAllowed langs: cs, de, en, sk.","type":"array","items":{"type":"string"}}},"required":["number","datetime_created","datetime_delivered","datetime_billed","payment_type","delivery_method","deposit","begin_text","end_text","internal_note","variable_symbol","language","contact","firm"]},"InvoiceItem":{"type":"object","description":"InvoiceItem.","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Item ID.","type":"integer"},"title":{"minLength":1,"maxLength":255,"type":"string","example":"Apple iPhone 13","description":"Item title."},"description":{"type":"string","example":"Mobile phone, SN: NG1223499520FF2K5","description":"Item description."},"unit":{"minLength":0,"maxLength":255,"type":"string","example":"pcs.","description":"Unit."},"price_per_unit":{"type":"string","example":910.2,"description":"Price per unit."},"quantity":{"type":"number","example":2,"description":"Item quantity.","default":1},"vat_rate":{"type":"number","example":20,"description":"% of VAT."},"discount_value":{"type":"number","example":7.5,"description":"Percentagle discount."},"discount_title":{"minLength":0,"maxLength":255,"type":"string","example":"Discount coupon FB","description":"Description of the discount."},"invoice":{"description":"Invoice ID.","type":"string","format":"iri-reference","nullable":true}},"required":["title","price_per_unit","quantity","vat_rate","discount_value","invoice"]},"InvoiceItem.jsonld":{"type":"object","description":"InvoiceItem.","properties":{"id":{"readOnly":true,"description":"Item ID.","type":"integer"},"title":{"minLength":1,"maxLength":255,"type":"string","example":"Apple iPhone 13","description":"Item title."},"description":{"type":"string","example":"Mobile phone, SN: NG1223499520FF2K5","description":"Item description."},"unit":{"minLength":0,"maxLength":255,"type":"string","example":"pcs.","description":"Unit."},"price_per_unit":{"type":"string","example":910.2,"description":"Price per unit."},"quantity":{"type":"number","example":2,"description":"Item quantity.","default":1},"vat_rate":{"type":"number","example":20,"description":"% of VAT."},"discount_value":{"type":"number","example":7.5,"description":"Percentagle discount."},"discount_title":{"minLength":0,"maxLength":255,"type":"string","example":"Discount coupon FB","description":"Description of the discount."},"invoice":{"description":"Invoice ID.","type":"string","format":"iri-reference","nullable":true}},"required":["title","price_per_unit","quantity","vat_rate","discount_value","invoice"]},"NumberSeries":{"type":"object","description":"NumberSeries.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"integer"},"name":{"minLength":1,"maxLength":255,"type":"string","example":"Invoices from external eshop","description":"Name."},"doc_type":{"enum":["1","2","3","4"],"description":"Document type for serie.","type":"integer"},"period":{"enum":["1","12","360"],"description":"Reset period.","type":"integer"},"format":{"description":"Document number format.","type":"string"},"default":{"enum":["0","1"],"default":1,"example":1,"type":"integer"},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"}},"required":["name","doc_type","period","format","default","firm"]},"NumberSeries.jsonld":{"type":"object","description":"NumberSeries.","properties":{"id":{"readOnly":true,"type":"integer"},"name":{"minLength":1,"maxLength":255,"type":"string","example":"Invoices from external eshop","description":"Name."},"doc_type":{"enum":["1","2","3","4"],"description":"Document type for serie.","type":"integer"},"period":{"enum":["1","12","360"],"description":"Reset period.","type":"integer"},"format":{"description":"Document number format.","type":"string"},"default":{"enum":["0","1"],"default":1,"example":1,"type":"integer"},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"}},"required":["name","doc_type","period","format","default","firm"]},"OpenBankingAccount":{"type":"object","description":"OpenBankingAccount.","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Entity ID.","type":"integer"},"transactions_last_update":{"type":"string","example":"2021-06-30T20:02:02+00:00","description":"Transactions last update.","format":"date-time","nullable":true},"consent_expiration_date":{"type":"string","example":"2021-06-30T20:02:02+00:00","description":"Authorization expiration date.","format":"date-time"},"bank_name":{"type":"string","example":"Tatra Banka","description":"Bank name."},"iban":{"type":"string","example":"SK4811000000002628865316","description":"International Bank Account Number."},"name":{"type":"string","example":"My company account","description":"Acccount name."},"balance_amount":{"type":"number","example":"125.12","description":"Account balance amount.","default":"0.00"},"balance_date":{"type":"string","example":"2021-06-30T20:02:02+00:00","description":"Account balance date.","format":"date-time"},"currency":{"type":"string","example":"EUR","description":"Account currency.","format":"iri-reference","nullable":true},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference","nullable":true}}},"OpenBankingAccount.jsonld":{"type":"object","description":"OpenBankingAccount.","properties":{"id":{"readOnly":true,"description":"Entity ID.","type":"integer"},"transactions_last_update":{"type":"string","example":"2021-06-30T20:02:02+00:00","description":"Transactions last update.","format":"date-time","nullable":true},"consent_expiration_date":{"type":"string","example":"2021-06-30T20:02:02+00:00","description":"Authorization expiration date.","format":"date-time"},"bank_name":{"type":"string","example":"Tatra Banka","description":"Bank name."},"iban":{"type":"string","example":"SK4811000000002628865316","description":"International Bank Account Number."},"name":{"type":"string","example":"My company account","description":"Acccount name."},"balance_amount":{"type":"number","example":"125.12","description":"Account balance amount.","default":"0.00"},"balance_date":{"type":"string","example":"2021-06-30T20:02:02+00:00","description":"Account balance date.","format":"date-time"},"currency":{"type":"string","example":"EUR","description":"Account currency.","format":"iri-reference","nullable":true},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference","nullable":true}}},"OpenBankingAccountTransaction":{"type":"object","description":"TbPremiumTransaction.","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Entity ID.","type":"integer"},"end_to_end":{"type":"string","example":"\/VS210100074\/SS\/KS308","description":"Transaction end to end reference."},"card_number":{"type":"string","example":"4255****49458452","description":"Card number."},"creditor_account_iban":{"type":"string","example":"SK8611000000042948835128","description":"Creditor account IBAN."},"debtor_account_iban":{"type":"string","example":"SK8611000000042948835150","description":"Debtor account IBAN."},"booking_date":{"type":"string","example":"2021-06-30T20:02:02+00:00","description":"Booking date.","format":"date-time"},"value_date":{"type":"string","example":"2021-06-30T20:02:02+00:00","description":"Value data.","format":"date-time"},"transaction_amount":{"type":"number","example":"125.44","description":"Transaction amount.","default":"0.00"},"transaction_currency":{"type":"string","example":"EUR","description":"Transaction currency.","format":"iri-reference","nullable":true},"creditor_name":{"type":"string","example":"Google Ireland Limited","description":"Creditor name."},"debtor_name":{"type":"string","example":"Trovi","description":"Debtor name."},"additional_information":{"type":"string","example":"PLATBA VA21062850934","description":"Additional information."}}},"OpenBankingAccountTransaction.jsonld":{"type":"object","description":"TbPremiumTransaction.","properties":{"id":{"readOnly":true,"description":"Entity ID.","type":"integer"},"end_to_end":{"type":"string","example":"\/VS210100074\/SS\/KS308","description":"Transaction end to end reference."},"card_number":{"type":"string","example":"4255****49458452","description":"Card number."},"creditor_account_iban":{"type":"string","example":"SK8611000000042948835128","description":"Creditor account IBAN."},"debtor_account_iban":{"type":"string","example":"SK8611000000042948835150","description":"Debtor account IBAN."},"booking_date":{"type":"string","example":"2021-06-30T20:02:02+00:00","description":"Booking date.","format":"date-time"},"value_date":{"type":"string","example":"2021-06-30T20:02:02+00:00","description":"Value data.","format":"date-time"},"transaction_amount":{"type":"number","example":"125.44","description":"Transaction amount.","default":"0.00"},"transaction_currency":{"type":"string","example":"EUR","description":"Transaction currency.","format":"iri-reference","nullable":true},"creditor_name":{"type":"string","example":"Google Ireland Limited","description":"Creditor name."},"debtor_name":{"type":"string","example":"Trovi","description":"Debtor name."},"additional_information":{"type":"string","example":"PLATBA VA21062850934","description":"Additional information."}}},"Order":{"type":"object","description":"Order.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Order ID.","type":"integer"},"number":{"minLength":0,"maxLength":10,"type":"number","example":"21990001","note":"For blank value, number will be generated based on `number_serie` reference","description":"Order number."},"datetime_created":{"example":"2021-06-30","format":"date","description":"Date of issue.","type":"string"},"datetime_delivered":{"example":"2021-06-30","format":"date","description":"Delivery date.","type":"string"},"payment_type":{"type":"number","example":1,"enum":[1,2,3,4,5],"options":"1 => Bank transfer, => 2 = Cash on delivery, 3 => Cash, 4 => Paypal, 5 => Other","description":"Payment type.","default":1},"delivery_method":{"type":"number","example":6,"enum":[1,2,3,4,5,6],"options":"1 - By mail, 2 - Electronically, 3 => By courier, 4 => Personal pickup, 5 => Freight transport, 6 => Other","description":"Delivery method.","default":6},"begin_text":{"type":"string","example":"We order:","description":"Note above items."},"end_text":{"type":"string","example":"Thanks for cooperation","description":"Note."},"internal_note":{"type":"string","example":"This is my internal note for this order","description":"Internal note."},"total_price_without_vat":{"type":"number","readOnly":true,"example":"999.13","description":"Total price without VAT - value is calculated based on document items."},"total_price_with_vat":{"type":"number","readOnly":true,"example":"999.15","description":"Total price with VAT - value is calculated based on document items."},"theme":{"type":"number","example":1,"enum":[1,2],"options":"1 => Oslo Gray, => 2 = Classic","description":"Document theme.","default":1},"language":{"minLength":2,"maxLength":2,"type":"string","example":"sk","enum":["cs","de","en","sk"],"description":"Document language code - ISO 639-1 code from enum.","default":"sk"},"ext_id":{"description":"External ID from remote system.","type":"string"},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference"},"currency":{"type":"string","example":"EUR","description":"Document currency.","format":"iri-reference"},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"number_serie":{"description":"Document number serie ID for Orders.","type":"string","format":"iri-reference","nullable":true},"item":{"readOnly":true,"description":"Array of order items.","type":"array","items":{"type":"string","format":"iri-reference"}},"urls":{"readOnly":true,"description":"Array of urls with to PDF document, format: https:\/\/www.trovi.sk\/pdf\/{$HASH}_{$LANG}.pdf\nAllowed langs: cs, de, en, sk.","type":"array","items":{"type":"string"}}},"required":["number","datetime_created","datetime_delivered","payment_type","delivery_method","begin_text","end_text","internal_note","language","contact","firm"]},"Order.jsonld":{"type":"object","description":"Order.","properties":{"id":{"readOnly":true,"description":"Order ID.","type":"integer"},"number":{"minLength":0,"maxLength":10,"type":"number","example":"21990001","note":"For blank value, number will be generated based on `number_serie` reference","description":"Order number."},"datetime_created":{"example":"2021-06-30","format":"date","description":"Date of issue.","type":"string"},"datetime_delivered":{"example":"2021-06-30","format":"date","description":"Delivery date.","type":"string"},"payment_type":{"type":"number","example":1,"enum":[1,2,3,4,5],"options":"1 => Bank transfer, => 2 = Cash on delivery, 3 => Cash, 4 => Paypal, 5 => Other","description":"Payment type.","default":1},"delivery_method":{"type":"number","example":6,"enum":[1,2,3,4,5,6],"options":"1 - By mail, 2 - Electronically, 3 => By courier, 4 => Personal pickup, 5 => Freight transport, 6 => Other","description":"Delivery method.","default":6},"begin_text":{"type":"string","example":"We order:","description":"Note above items."},"end_text":{"type":"string","example":"Thanks for cooperation","description":"Note."},"internal_note":{"type":"string","example":"This is my internal note for this order","description":"Internal note."},"total_price_without_vat":{"type":"number","readOnly":true,"example":"999.13","description":"Total price without VAT - value is calculated based on document items."},"total_price_with_vat":{"type":"number","readOnly":true,"example":"999.15","description":"Total price with VAT - value is calculated based on document items."},"theme":{"type":"number","example":1,"enum":[1,2],"options":"1 => Oslo Gray, => 2 = Classic","description":"Document theme.","default":1},"language":{"minLength":2,"maxLength":2,"type":"string","example":"sk","enum":["cs","de","en","sk"],"description":"Document language code - ISO 639-1 code from enum.","default":"sk"},"ext_id":{"description":"External ID from remote system.","type":"string"},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference"},"currency":{"type":"string","example":"EUR","description":"Document currency.","format":"iri-reference"},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"number_serie":{"description":"Document number serie ID for Orders.","type":"string","format":"iri-reference","nullable":true},"item":{"readOnly":true,"description":"Array of order items.","type":"array","items":{"type":"string","format":"iri-reference"}},"urls":{"readOnly":true,"description":"Array of urls with to PDF document, format: https:\/\/www.trovi.sk\/pdf\/{$HASH}_{$LANG}.pdf\nAllowed langs: cs, de, en, sk.","type":"array","items":{"type":"string"}}},"required":["number","datetime_created","datetime_delivered","payment_type","delivery_method","begin_text","end_text","internal_note","language","contact","firm"]},"OrderItem":{"type":"object","description":"OrderItem.","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Item ID.","type":"integer"},"title":{"minLength":1,"maxLength":255,"type":"string","example":"Apple iPhone 13","description":"Item title."},"description":{"type":"string","example":"Mobile phone, SN: NG1223499520FF2K5","description":"Item description."},"unit":{"minLength":0,"maxLength":255,"type":"string","example":"pcs.","description":"Unit."},"price_per_unit":{"type":"string","example":910.2,"description":"Price per unit."},"quantity":{"type":"number","example":2,"description":"Item quantity.","default":1},"vat_rate":{"type":"number","example":20,"description":"% of VAT."},"discount_value":{"type":"number","example":7.5,"description":"Percentagle discount."},"discount_title":{"minLength":0,"maxLength":255,"type":"string","example":"Discount coupon FB","description":"Description of the discount."},"order":{"description":"Order ID.","type":"string","format":"iri-reference","nullable":true}},"required":["title","price_per_unit","quantity","vat_rate","discount_value","order"]},"OrderItem.jsonld":{"type":"object","description":"OrderItem.","properties":{"id":{"readOnly":true,"description":"Item ID.","type":"integer"},"title":{"minLength":1,"maxLength":255,"type":"string","example":"Apple iPhone 13","description":"Item title."},"description":{"type":"string","example":"Mobile phone, SN: NG1223499520FF2K5","description":"Item description."},"unit":{"minLength":0,"maxLength":255,"type":"string","example":"pcs.","description":"Unit."},"price_per_unit":{"type":"string","example":910.2,"description":"Price per unit."},"quantity":{"type":"number","example":2,"description":"Item quantity.","default":1},"vat_rate":{"type":"number","example":20,"description":"% of VAT."},"discount_value":{"type":"number","example":7.5,"description":"Percentagle discount."},"discount_title":{"minLength":0,"maxLength":255,"type":"string","example":"Discount coupon FB","description":"Description of the discount."},"order":{"description":"Order ID.","type":"string","format":"iri-reference","nullable":true}},"required":["title","price_per_unit","quantity","vat_rate","discount_value","order"]},"Priceoffer":{"type":"object","description":"Priceoffer.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Price offer ID.","type":"integer"},"datetime_created":{"example":"2021-06-30","format":"date","description":"Date of issue.","type":"string"},"datetime_valid":{"example":"2021-06-30","format":"date","description":"Date of valid.","type":"string"},"begin_text":{"type":"string","example":"My super text abote items:","description":"Note above items."},"end_text":{"type":"string","example":"Thanks for cooperation","description":"Note."},"internal_note":{"type":"string","example":"This is my internal note for this price offer","description":"Internal note."},"total_price_without_vat":{"type":"number","readOnly":true,"example":"999.13","description":"Total price without VAT - value is calculated based on document items."},"total_price_with_vat":{"type":"number","readOnly":true,"example":"999.15","description":"Total price with VAT - value is calculated based on document items."},"theme":{"type":"number","example":1,"enum":[1,2],"options":"1 => Oslo Gray, => 2 = Classic","description":"Document theme.","default":1},"language":{"minLength":2,"maxLength":2,"type":"string","example":"sk","enum":["cs","de","en","sk"],"description":"Document language code - ISO 639-1 code from enum.","default":"sk"},"ext_id":{"description":"External ID from remote system.","type":"string"},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference"},"currency":{"type":"string","example":"EUR","description":"Document currency.","format":"iri-reference"},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"number_serie":{"description":"Document number serie ID for Price offers.","type":"string","format":"iri-reference","nullable":true},"item":{"readOnly":true,"description":"Array of price offer items.","type":"array","items":{"type":"string","format":"iri-reference"}},"urls":{"readOnly":true,"description":"Array of urls with to PDF document, format: https:\/\/www.trovi.sk\/pdf\/{$HASH}_{$LANG}.pdf\nAllowed langs: cs, de, en, sk.","type":"array","items":{"type":"string"}}},"required":["datetime_created","datetime_valid","begin_text","end_text","internal_note","language","contact","firm"]},"Priceoffer.jsonld":{"type":"object","description":"Priceoffer.","properties":{"id":{"readOnly":true,"description":"Price offer ID.","type":"integer"},"datetime_created":{"example":"2021-06-30","format":"date","description":"Date of issue.","type":"string"},"datetime_valid":{"example":"2021-06-30","format":"date","description":"Date of valid.","type":"string"},"begin_text":{"type":"string","example":"My super text abote items:","description":"Note above items."},"end_text":{"type":"string","example":"Thanks for cooperation","description":"Note."},"internal_note":{"type":"string","example":"This is my internal note for this price offer","description":"Internal note."},"total_price_without_vat":{"type":"number","readOnly":true,"example":"999.13","description":"Total price without VAT - value is calculated based on document items."},"total_price_with_vat":{"type":"number","readOnly":true,"example":"999.15","description":"Total price with VAT - value is calculated based on document items."},"theme":{"type":"number","example":1,"enum":[1,2],"options":"1 => Oslo Gray, => 2 = Classic","description":"Document theme.","default":1},"language":{"minLength":2,"maxLength":2,"type":"string","example":"sk","enum":["cs","de","en","sk"],"description":"Document language code - ISO 639-1 code from enum.","default":"sk"},"ext_id":{"description":"External ID from remote system.","type":"string"},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference"},"currency":{"type":"string","example":"EUR","description":"Document currency.","format":"iri-reference"},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"number_serie":{"description":"Document number serie ID for Price offers.","type":"string","format":"iri-reference","nullable":true},"item":{"readOnly":true,"description":"Array of price offer items.","type":"array","items":{"type":"string","format":"iri-reference"}},"urls":{"readOnly":true,"description":"Array of urls with to PDF document, format: https:\/\/www.trovi.sk\/pdf\/{$HASH}_{$LANG}.pdf\nAllowed langs: cs, de, en, sk.","type":"array","items":{"type":"string"}}},"required":["datetime_created","datetime_valid","begin_text","end_text","internal_note","language","contact","firm"]},"PriceofferItem":{"type":"object","description":"PriceofferItem.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Item ID.","type":"integer"},"title":{"minLength":1,"maxLength":255,"type":"string","example":"Apple iPhone 13","description":"Item title."},"description":{"type":"string","example":"Mobile phone, SN: NG1223499520FF2K5","description":"Item description."},"unit":{"minLength":0,"maxLength":255,"type":"string","example":"pcs.","description":"Unit."},"price_per_unit":{"type":"string","example":910.2,"description":"Price per unit."},"quantity":{"type":"number","example":2,"description":"Item quantity.","default":1},"vat_rate":{"type":"number","example":20,"description":"% of VAT."},"discount_value":{"type":"number","example":7.5,"description":"Percentagle discount."},"discount_title":{"minLength":0,"maxLength":255,"type":"string","example":"Discount coupon FB","description":"Description of the discount."}},"required":["title","price_per_unit","quantity","vat_rate","discount_value"]},"PriceofferItem.jsonld":{"type":"object","description":"PriceofferItem.","properties":{"id":{"readOnly":true,"description":"Item ID.","type":"integer"},"title":{"minLength":1,"maxLength":255,"type":"string","example":"Apple iPhone 13","description":"Item title."},"description":{"type":"string","example":"Mobile phone, SN: NG1223499520FF2K5","description":"Item description."},"unit":{"minLength":0,"maxLength":255,"type":"string","example":"pcs.","description":"Unit."},"price_per_unit":{"type":"string","example":910.2,"description":"Price per unit."},"quantity":{"type":"number","example":2,"description":"Item quantity.","default":1},"vat_rate":{"type":"number","example":20,"description":"% of VAT."},"discount_value":{"type":"number","example":7.5,"description":"Percentagle discount."},"discount_title":{"minLength":0,"maxLength":255,"type":"string","example":"Discount coupon FB","description":"Description of the discount."}},"required":["title","price_per_unit","quantity","vat_rate","discount_value"]},"Proforma":{"type":"object","description":"Proforma.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Proforma ID.","type":"integer"},"number":{"minLength":0,"maxLength":10,"type":"number","example":"21990001","note":"For blank value, number will be generated based on `number_serie` reference","description":"Proforma number."},"order_number":{"minLength":0,"maxLength":255,"type":"string","example":"ORDER 21-13","description":"Order number."},"datetime_created":{"example":"2021-06-30","format":"date","description":"Date of issue.","type":"string"},"datetime_billed":{"example":"2021-06-30","format":"date","description":"Due by.","type":"string"},"datetime_paid":{"example":"2021-06-30","format":"date","description":"Payment date.","type":"string","nullable":true},"payment_type":{"type":"number","example":1,"enum":[1,2,3,4,5],"options":"1 => Bank transfer, => 2 = Cash on delivery, 3 => Cash, 4 => Paypal, 5 => Other","description":"Payment type.","default":1},"delivery_method":{"type":"number","example":6,"enum":[1,2,3,4,5,6],"options":"1 - By mail, 2 - Electronically, 3 => By courier, 4 => Personal pickup, 5 => Freight transport, 6 => Other","description":"Delivery method.","default":6},"deposit":{"type":"number","example":"230.15","description":"Deposit deduction."},"begin_text":{"type":"string","example":"We invoice:","description":"Note above items."},"end_text":{"type":"string","example":"Thanks for cooperation","description":"Note."},"internal_note":{"type":"string","example":"This is my internal note for this invoice","description":"Internal note."},"variable_symbol":{"type":"string","example":"1199003","note":"For blank value, variable_symbol will be same `number` parameter","description":"Variable symbol."},"constant_symbol":{"type":"string","example":"0308","description":"Constant symbol.","default":"0308"},"specific_symbol":{"type":"string","example":"20209901","description":"Specific symbol."},"total_price_without_vat":{"type":"number","readOnly":true,"example":"999.13","description":"Total price without VAT - value is calculated based on document items."},"total_price_with_vat":{"type":"number","readOnly":true,"example":"999.15","description":"Total price with VAT - value is calculated based on document items."},"theme":{"type":"number","example":1,"enum":[1,2],"options":"1 => Oslo Gray, => 2 = Classic","description":"Document theme.","default":1},"language":{"minLength":2,"maxLength":2,"type":"string","example":"sk","enum":["cs","de","en","sk"],"description":"Document language code - ISO 639-1 code from enum.","default":"sk"},"ext_id":{"description":"External ID from remote system.","type":"string"},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference"},"currency":{"type":"string","example":"EUR","description":"Document currency.","format":"iri-reference"},"bank_account":{"note":"Required if `paymennt_type` is 1","description":"Firm account ID.","type":"string","format":"iri-reference","nullable":true},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"number_serie":{"description":"Document number serie ID for Invoices.","type":"string","format":"iri-reference","nullable":true},"item":{"readOnly":true,"description":"Array of proforma items.","type":"array","items":{"type":"string","format":"iri-reference"}},"urls":{"readOnly":true,"description":"Array of urls with to PDF document, format: https:\/\/www.trovi.sk\/pdf\/{$HASH}_{$LANG}.pdf\nAllowed langs: cs, de, en, sk.","type":"array","items":{"type":"string"}}},"required":["number","datetime_created","datetime_billed","payment_type","delivery_method","deposit","begin_text","end_text","internal_note","variable_symbol","language","contact","firm"]},"Proforma.jsonld":{"type":"object","description":"Proforma.","properties":{"id":{"readOnly":true,"description":"Proforma ID.","type":"integer"},"number":{"minLength":0,"maxLength":10,"type":"number","example":"21990001","note":"For blank value, number will be generated based on `number_serie` reference","description":"Proforma number."},"order_number":{"minLength":0,"maxLength":255,"type":"string","example":"ORDER 21-13","description":"Order number."},"datetime_created":{"example":"2021-06-30","format":"date","description":"Date of issue.","type":"string"},"datetime_billed":{"example":"2021-06-30","format":"date","description":"Due by.","type":"string"},"datetime_paid":{"example":"2021-06-30","format":"date","description":"Payment date.","type":"string","nullable":true},"payment_type":{"type":"number","example":1,"enum":[1,2,3,4,5],"options":"1 => Bank transfer, => 2 = Cash on delivery, 3 => Cash, 4 => Paypal, 5 => Other","description":"Payment type.","default":1},"delivery_method":{"type":"number","example":6,"enum":[1,2,3,4,5,6],"options":"1 - By mail, 2 - Electronically, 3 => By courier, 4 => Personal pickup, 5 => Freight transport, 6 => Other","description":"Delivery method.","default":6},"deposit":{"type":"number","example":"230.15","description":"Deposit deduction."},"begin_text":{"type":"string","example":"We invoice:","description":"Note above items."},"end_text":{"type":"string","example":"Thanks for cooperation","description":"Note."},"internal_note":{"type":"string","example":"This is my internal note for this invoice","description":"Internal note."},"variable_symbol":{"type":"string","example":"1199003","note":"For blank value, variable_symbol will be same `number` parameter","description":"Variable symbol."},"constant_symbol":{"type":"string","example":"0308","description":"Constant symbol.","default":"0308"},"specific_symbol":{"type":"string","example":"20209901","description":"Specific symbol."},"total_price_without_vat":{"type":"number","readOnly":true,"example":"999.13","description":"Total price without VAT - value is calculated based on document items."},"total_price_with_vat":{"type":"number","readOnly":true,"example":"999.15","description":"Total price with VAT - value is calculated based on document items."},"theme":{"type":"number","example":1,"enum":[1,2],"options":"1 => Oslo Gray, => 2 = Classic","description":"Document theme.","default":1},"language":{"minLength":2,"maxLength":2,"type":"string","example":"sk","enum":["cs","de","en","sk"],"description":"Document language code - ISO 639-1 code from enum.","default":"sk"},"ext_id":{"description":"External ID from remote system.","type":"string"},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference"},"currency":{"type":"string","example":"EUR","description":"Document currency.","format":"iri-reference"},"bank_account":{"note":"Required if `paymennt_type` is 1","description":"Firm account ID.","type":"string","format":"iri-reference","nullable":true},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"number_serie":{"description":"Document number serie ID for Invoices.","type":"string","format":"iri-reference","nullable":true},"item":{"readOnly":true,"description":"Array of proforma items.","type":"array","items":{"type":"string","format":"iri-reference"}},"urls":{"readOnly":true,"description":"Array of urls with to PDF document, format: https:\/\/www.trovi.sk\/pdf\/{$HASH}_{$LANG}.pdf\nAllowed langs: cs, de, en, sk.","type":"array","items":{"type":"string"}}},"required":["number","datetime_created","datetime_billed","payment_type","delivery_method","deposit","begin_text","end_text","internal_note","variable_symbol","language","contact","firm"]},"ProformaItem":{"type":"object","description":"ProformaItem.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Item ID.","type":"integer"},"title":{"minLength":1,"maxLength":255,"type":"string","example":"Apple iPhone 13","description":"Item title."},"description":{"type":"string","example":"Mobile phone, SN: NG1223499520FF2K5","description":"Item description."},"unit":{"minLength":0,"maxLength":255,"type":"string","example":"pcs.","description":"Unit."},"price_per_unit":{"type":"string","example":910.2,"description":"Price per unit."},"quantity":{"type":"number","example":2,"description":"Item quantity.","default":1},"vat_rate":{"type":"number","example":20,"description":"% of VAT."},"discount_value":{"type":"number","example":7.5,"description":"Percentagle discount."},"discount_title":{"minLength":0,"maxLength":255,"type":"string","example":"Discount coupon FB","description":"Description of the discount."},"proforma":{"description":"Proforma ID.","type":"string","format":"iri-reference","nullable":true}},"required":["title","price_per_unit","quantity","vat_rate","discount_value","proforma"]},"ProformaItem.jsonld":{"type":"object","description":"ProformaItem.","properties":{"id":{"readOnly":true,"description":"Item ID.","type":"integer"},"title":{"minLength":1,"maxLength":255,"type":"string","example":"Apple iPhone 13","description":"Item title."},"description":{"type":"string","example":"Mobile phone, SN: NG1223499520FF2K5","description":"Item description."},"unit":{"minLength":0,"maxLength":255,"type":"string","example":"pcs.","description":"Unit."},"price_per_unit":{"type":"string","example":910.2,"description":"Price per unit."},"quantity":{"type":"number","example":2,"description":"Item quantity.","default":1},"vat_rate":{"type":"number","example":20,"description":"% of VAT."},"discount_value":{"type":"number","example":7.5,"description":"Percentagle discount."},"discount_title":{"minLength":0,"maxLength":255,"type":"string","example":"Discount coupon FB","description":"Description of the discount."},"proforma":{"description":"Proforma ID.","type":"string","format":"iri-reference","nullable":true}},"required":["title","price_per_unit","quantity","vat_rate","discount_value","proforma"]},"Receipt":{"type":"object","description":"Receipt.","properties":{"@context":{"readOnly":true,"type":"string"},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Receipt ID.","type":"integer"},"datetime_created":{"example":"2025-06-30 14:55:42","format":"datetime","description":"Created date.","type":"string"},"datetime_issued":{"example":"2025-06-30","format":"date","description":"Issued date.","type":"string"},"datetime_processed":{"example":"2023-06-30","format":"date","description":"Processed date.","type":"string"},"total_price_without_vat":{"type":"number","example":"799.11","description":"Amount without VAT."},"total_price_with_vat":{"type":"number","example":"999.13","description":"Amount with VAT."},"name":{"minLength":1,"maxLength":255,"type":"string","example":"iPhone 13","description":"Expense name."},"category":{"default":1,"example":1,"type":"integer"},"receipt_number":{"minLength":0,"maxLength":255,"type":"string","example":"ORD12-33","description":"Receipt number."},"vat_summary":{"type":"array","items":{"type":"string"}},"internal_note":{"type":"string"},"path":{"type":"string","nullable":true},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference"},"ext_id":{"description":"External ID from remote system.","type":"string"},"currency":{"type":"string","example":"EUR","description":"Expense currency.","format":"iri-reference"},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"item":{"readOnly":true,"description":"Array of receipt items.","type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["datetime_created","datetime_issued","datetime_processed","total_price_without_vat","total_price_with_vat","name","contact","currency","firm"]},"Receipt.jsonld":{"type":"object","description":"Receipt.","properties":{"id":{"readOnly":true,"description":"Receipt ID.","type":"integer"},"datetime_created":{"example":"2025-06-30 14:55:42","format":"datetime","description":"Created date.","type":"string"},"datetime_issued":{"example":"2025-06-30","format":"date","description":"Issued date.","type":"string"},"datetime_processed":{"example":"2023-06-30","format":"date","description":"Processed date.","type":"string"},"total_price_without_vat":{"type":"number","example":"799.11","description":"Amount without VAT."},"total_price_with_vat":{"type":"number","example":"999.13","description":"Amount with VAT."},"name":{"minLength":1,"maxLength":255,"type":"string","example":"iPhone 13","description":"Expense name."},"category":{"default":1,"example":1,"type":"integer"},"receipt_number":{"minLength":0,"maxLength":255,"type":"string","example":"ORD12-33","description":"Receipt number."},"vat_summary":{"type":"array","items":{"type":"string"}},"internal_note":{"type":"string"},"path":{"type":"string","nullable":true},"contact":{"description":"Contact ID.","type":"string","format":"iri-reference"},"ext_id":{"description":"External ID from remote system.","type":"string"},"currency":{"type":"string","example":"EUR","description":"Expense currency.","format":"iri-reference"},"firm":{"description":"Firm ID.","type":"string","format":"iri-reference"},"item":{"readOnly":true,"description":"Array of receipt items.","type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["datetime_created","datetime_issued","datetime_processed","total_price_without_vat","total_price_with_vat","name","contact","currency","firm"]},"ReceiptItem":{"type":"object","description":"ReceiptItem.","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"description":"Item ID.","type":"integer"},"title":{"minLength":1,"maxLength":255,"type":"string","example":"Apple iPhone 13","description":"Item title.","nullable":true},"price_per_unit":{"type":"string","example":910.2,"description":"Price per unit."},"total_price":{"type":"string","example":910.2,"description":"Total price."},"quantity":{"type":"number","example":2,"description":"Item quantity.","default":1},"vat_rate":{"type":"number","example":20,"description":"% of VAT."},"unit":{"minLength":0,"maxLength":255,"type":"string","example":"kg","description":"Unit of measure.","nullable":true},"receipt":{"description":"Receipt ID.","type":"string","format":"iri-reference","nullable":true}},"required":["price_per_unit","total_price","quantity","vat_rate","unit","receipt"]},"ReceiptItem.jsonld":{"type":"object","description":"ReceiptItem.","properties":{"id":{"readOnly":true,"description":"Item ID.","type":"integer"},"title":{"minLength":1,"maxLength":255,"type":"string","example":"Apple iPhone 13","description":"Item title.","nullable":true},"price_per_unit":{"type":"string","example":910.2,"description":"Price per unit."},"total_price":{"type":"string","example":910.2,"description":"Total price."},"quantity":{"type":"number","example":2,"description":"Item quantity.","default":1},"vat_rate":{"type":"number","example":20,"description":"% of VAT."},"unit":{"minLength":0,"maxLength":255,"type":"string","example":"kg","description":"Unit of measure.","nullable":true},"receipt":{"description":"Receipt ID.","type":"string","format":"iri-reference","nullable":true}},"required":["price_per_unit","total_price","quantity","vat_rate","unit","receipt"]},"RefreshToken":{"type":"object","properties":{"refresh_token":{"type":"string","example":"xxxx4b54b0076d2fcc5a51a6e60c0fb83b0bc90b47e2c886accb70850795fb311973c9d101fa0111f12eec739db063ec09d7dd79331e3148f5fc6e9cb362xxxx"}}},"Token":{"type":"object","properties":{"token":{"type":"string","readOnly":true}}}},"responses":{},"parameters":{},"examples":{},"requestBodies":{},"headers":{},"securitySchemes":{"apiKey":{"type":"apiKey","description":"Value for the Authorization header parameter.","name":"Authorization","in":"header"}}},"security":[{"apiKey":[]}],"tags":[]}