# InvoiceVersion

## Retrieves the collection of InvoiceVersion resources.

> Retrieves the collection of InvoiceVersion resources.

```json
{"openapi":"3.0.0","info":{"title":"Converia API","version":"3.5.0"},"servers":[{"url":"/","description":""}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"InvoiceVersion.InvoiceVersionDTO.jsonld-invoice-version.read_address.read_translation":{"type":"object","description":"Version","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http://www.w3.org/ns/hydra/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"description":"The unique identifier for the invoice version","type":"integer"},"invoice":{"description":"The related Invoice entity","type":"string","format":"iri-reference"},"version":{"description":"The actual version number of the invoice version","type":"integer"},"referenceNumber":{"description":"The reference number of this version","type":"string"},"address":{"description":"The address used within the invoice version","$ref":"#/components/schemas/AddressDTO.jsonld-invoice-version.read_address.read_translation"},"reverseChargeState":{"$ref":"#/components/schemas/ReverseChargeState","type":"string"},"creationDate":{"description":"The creation date of the invoice version","type":"string","format":"date-time"},"paymentMethod":{"description":"The payment method","type":"string","format":"iri-reference","nullable":true},"isCancellation":{"description":"Whether or not the invoice version is a cancellation","type":"boolean"},"positions":{"description":"Positions connected to the invoice version","type":"array","items":{"$ref":"#/components/schemas/InvoicePositionDTO.jsonld-invoice-version.read_address.read_translation"}}}},"AddressDTO.jsonld-invoice-version.read_address.read_translation":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http://www.w3.org/ns/hydra/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"description":"The unique identifier for the address","type":"integer"},"street":{"description":"The street","type":"string"},"zip":{"description":"The zip code","type":"string"},"city":{"description":"The city","type":"string"},"phone":{"description":"The phone number","type":"string"},"mobilePhone":{"description":"The mobile phone number","type":"string"},"fax":{"description":"The fax number","type":"string"},"company":{"description":"The company","type":"string"},"department":{"description":"The department","type":"string"},"aux":{"description":"The aux","type":"string"},"state":{"description":"The state","type":"string"},"country":{"description":"The country","type":"string"},"email":{"description":"The mail address","type":"string"},"careOf":{"description":"The careOf addition","type":"string"},"url":{"description":"The url","type":"string"},"vatId":{"description":"The vat","type":"string"}}},"ReverseChargeState":{"type":"string","enum":["none","eu","foreign"]},"InvoicePositionDTO.jsonld-invoice-version.read_address.read_translation":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http://www.w3.org/ns/hydra/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"description":"The unique identifier for the invoice position","type":"integer"},"sum":{"description":"The sum, can be negative in case of cancellation","type":"number"},"taxRate":{"description":"The tax rate","type":"number"},"offerpackage":{"description":"The related offerpackage","type":"string","format":"iri-reference","nullable":true},"priceGroup":{"description":"The related pricegroup","type":"string","format":"iri-reference","nullable":true},"paymentMethod":{"description":"The payment method","type":"string","format":"iri-reference","nullable":true}}},"InvoiceVersion.InvoiceVersionDTO-invoice-version.read_address.read_translation":{"type":"object","description":"Version","properties":{"id":{"description":"The unique identifier for the invoice version","type":"integer"},"invoice":{"description":"The related Invoice entity","type":"string","format":"iri-reference"},"version":{"description":"The actual version number of the invoice version","type":"integer"},"referenceNumber":{"description":"The reference number of this version","type":"string"},"address":{"description":"The address used within the invoice version","$ref":"#/components/schemas/AddressDTO-invoice-version.read_address.read_translation"},"reverseChargeState":{"$ref":"#/components/schemas/ReverseChargeState","type":"string"},"creationDate":{"description":"The creation date of the invoice version","type":"string","format":"date-time"},"paymentMethod":{"description":"The payment method","type":"string","format":"iri-reference","nullable":true},"isCancellation":{"description":"Whether or not the invoice version is a cancellation","type":"boolean"},"positions":{"description":"Positions connected to the invoice version","type":"array","items":{"$ref":"#/components/schemas/InvoicePositionDTO-invoice-version.read_address.read_translation"}}}},"AddressDTO-invoice-version.read_address.read_translation":{"type":"object","description":"","properties":{"id":{"description":"The unique identifier for the address","type":"integer"},"street":{"description":"The street","type":"string"},"zip":{"description":"The zip code","type":"string"},"city":{"description":"The city","type":"string"},"phone":{"description":"The phone number","type":"string"},"mobilePhone":{"description":"The mobile phone number","type":"string"},"fax":{"description":"The fax number","type":"string"},"company":{"description":"The company","type":"string"},"department":{"description":"The department","type":"string"},"aux":{"description":"The aux","type":"string"},"state":{"description":"The state","type":"string"},"country":{"description":"The country","type":"string"},"email":{"description":"The mail address","type":"string"},"careOf":{"description":"The careOf addition","type":"string"},"url":{"description":"The url","type":"string"},"vatId":{"description":"The vat","type":"string"}}},"InvoicePositionDTO-invoice-version.read_address.read_translation":{"type":"object","description":"","properties":{"id":{"description":"The unique identifier for the invoice position","type":"integer"},"sum":{"description":"The sum, can be negative in case of cancellation","type":"number"},"taxRate":{"description":"The tax rate","type":"number"},"offerpackage":{"description":"The related offerpackage","type":"string","format":"iri-reference","nullable":true},"priceGroup":{"description":"The related pricegroup","type":"string","format":"iri-reference","nullable":true},"paymentMethod":{"description":"The payment method","type":"string","format":"iri-reference","nullable":true}}}}},"paths":{"/api/invoice_versions":{"get":{"operationId":"getInvoiceVersionCollection","tags":["InvoiceVersion"],"responses":{"200":{"description":"InvoiceVersion collection","content":{"application/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceVersion.InvoiceVersionDTO.jsonld-invoice-version.read_address.read_translation"}},"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:previous":{"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":"array","items":{"$ref":"#/components/schemas/InvoiceVersion.InvoiceVersionDTO-invoice-version.read_address.read_translation"}}}}}},"summary":"Retrieves the collection of InvoiceVersion resources.","description":"Retrieves the collection of InvoiceVersion resources.","parameters":[{"name":"id[between]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"id[gt]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"id[gte]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"id[lt]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"id[lte]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false}],"deprecated":false}}}}
```

## Retrieves a InvoiceVersion resource.

> Retrieves a InvoiceVersion resource.

```json
{"openapi":"3.0.0","info":{"title":"Converia API","version":"3.5.0"},"servers":[{"url":"/","description":""}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"InvoiceVersion.InvoiceVersionDTO.jsonld-invoice-version.read_address.read_translation":{"type":"object","description":"Version","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http://www.w3.org/ns/hydra/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"description":"The unique identifier for the invoice version","type":"integer"},"invoice":{"description":"The related Invoice entity","type":"string","format":"iri-reference"},"version":{"description":"The actual version number of the invoice version","type":"integer"},"referenceNumber":{"description":"The reference number of this version","type":"string"},"address":{"description":"The address used within the invoice version","$ref":"#/components/schemas/AddressDTO.jsonld-invoice-version.read_address.read_translation"},"reverseChargeState":{"$ref":"#/components/schemas/ReverseChargeState","type":"string"},"creationDate":{"description":"The creation date of the invoice version","type":"string","format":"date-time"},"paymentMethod":{"description":"The payment method","type":"string","format":"iri-reference","nullable":true},"isCancellation":{"description":"Whether or not the invoice version is a cancellation","type":"boolean"},"positions":{"description":"Positions connected to the invoice version","type":"array","items":{"$ref":"#/components/schemas/InvoicePositionDTO.jsonld-invoice-version.read_address.read_translation"}}}},"AddressDTO.jsonld-invoice-version.read_address.read_translation":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http://www.w3.org/ns/hydra/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"description":"The unique identifier for the address","type":"integer"},"street":{"description":"The street","type":"string"},"zip":{"description":"The zip code","type":"string"},"city":{"description":"The city","type":"string"},"phone":{"description":"The phone number","type":"string"},"mobilePhone":{"description":"The mobile phone number","type":"string"},"fax":{"description":"The fax number","type":"string"},"company":{"description":"The company","type":"string"},"department":{"description":"The department","type":"string"},"aux":{"description":"The aux","type":"string"},"state":{"description":"The state","type":"string"},"country":{"description":"The country","type":"string"},"email":{"description":"The mail address","type":"string"},"careOf":{"description":"The careOf addition","type":"string"},"url":{"description":"The url","type":"string"},"vatId":{"description":"The vat","type":"string"}}},"ReverseChargeState":{"type":"string","enum":["none","eu","foreign"]},"InvoicePositionDTO.jsonld-invoice-version.read_address.read_translation":{"type":"object","description":"","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http://www.w3.org/ns/hydra/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"description":"The unique identifier for the invoice position","type":"integer"},"sum":{"description":"The sum, can be negative in case of cancellation","type":"number"},"taxRate":{"description":"The tax rate","type":"number"},"offerpackage":{"description":"The related offerpackage","type":"string","format":"iri-reference","nullable":true},"priceGroup":{"description":"The related pricegroup","type":"string","format":"iri-reference","nullable":true},"paymentMethod":{"description":"The payment method","type":"string","format":"iri-reference","nullable":true}}},"InvoiceVersion.InvoiceVersionDTO-invoice-version.read_address.read_translation":{"type":"object","description":"Version","properties":{"id":{"description":"The unique identifier for the invoice version","type":"integer"},"invoice":{"description":"The related Invoice entity","type":"string","format":"iri-reference"},"version":{"description":"The actual version number of the invoice version","type":"integer"},"referenceNumber":{"description":"The reference number of this version","type":"string"},"address":{"description":"The address used within the invoice version","$ref":"#/components/schemas/AddressDTO-invoice-version.read_address.read_translation"},"reverseChargeState":{"$ref":"#/components/schemas/ReverseChargeState","type":"string"},"creationDate":{"description":"The creation date of the invoice version","type":"string","format":"date-time"},"paymentMethod":{"description":"The payment method","type":"string","format":"iri-reference","nullable":true},"isCancellation":{"description":"Whether or not the invoice version is a cancellation","type":"boolean"},"positions":{"description":"Positions connected to the invoice version","type":"array","items":{"$ref":"#/components/schemas/InvoicePositionDTO-invoice-version.read_address.read_translation"}}}},"AddressDTO-invoice-version.read_address.read_translation":{"type":"object","description":"","properties":{"id":{"description":"The unique identifier for the address","type":"integer"},"street":{"description":"The street","type":"string"},"zip":{"description":"The zip code","type":"string"},"city":{"description":"The city","type":"string"},"phone":{"description":"The phone number","type":"string"},"mobilePhone":{"description":"The mobile phone number","type":"string"},"fax":{"description":"The fax number","type":"string"},"company":{"description":"The company","type":"string"},"department":{"description":"The department","type":"string"},"aux":{"description":"The aux","type":"string"},"state":{"description":"The state","type":"string"},"country":{"description":"The country","type":"string"},"email":{"description":"The mail address","type":"string"},"careOf":{"description":"The careOf addition","type":"string"},"url":{"description":"The url","type":"string"},"vatId":{"description":"The vat","type":"string"}}},"InvoicePositionDTO-invoice-version.read_address.read_translation":{"type":"object","description":"","properties":{"id":{"description":"The unique identifier for the invoice position","type":"integer"},"sum":{"description":"The sum, can be negative in case of cancellation","type":"number"},"taxRate":{"description":"The tax rate","type":"number"},"offerpackage":{"description":"The related offerpackage","type":"string","format":"iri-reference","nullable":true},"priceGroup":{"description":"The related pricegroup","type":"string","format":"iri-reference","nullable":true},"paymentMethod":{"description":"The payment method","type":"string","format":"iri-reference","nullable":true}}}}},"paths":{"/api/invoice_versions/{id}":{"get":{"operationId":"getInvoiceVersionItem","tags":["InvoiceVersion"],"responses":{"200":{"description":"InvoiceVersion resource","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/InvoiceVersion.InvoiceVersionDTO.jsonld-invoice-version.read_address.read_translation"}},"text/html":{"schema":{"$ref":"#/components/schemas/InvoiceVersion.InvoiceVersionDTO-invoice-version.read_address.read_translation"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a InvoiceVersion resource.","description":"Retrieves a InvoiceVersion 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}}}}
```
