{"openapi":"3.0.0","servers":[{"url":"https://api.storecove.com/api/v2"}],"info":{"contact":{"email":"apisupport@storecove.nl"},"description":"Storecove API","title":"Storecove API","version":"2.0.1","x-apisguru-categories":["financial"],"x-logo":{"backgroundColor":"#FFFFFF","url":"https://www.storecove.com/assets/v2/logo-b0d52166b7aedce1c08416e14480dcefd5db3f8a68704a6b802c37b189dd8894.png"},"x-origin":[{"format":"openapi","url":"https://www.storecove.com/api/v2/openapi.json","version":"3.0"}],"x-providerName":"storecove.com"},"security":[{"Bearer":[]}],"tags":[{"name":"InvoiceSubmissions"},{"name":"DocumentSubmissions"},{"name":"LegalEntities"},{"name":"PeppolIdentifiers"},{"name":"Administrations"},{"name":"ReceivedDocuments"},{"name":"AdditionalTaxIdentifiers"},{"name":"PurchaseInvoices"},{"name":"WebhookInstances"},{"name":"Discovery"}],"paths":{"/discovery/exists":{"post":{"description":"Discover if a network participant exists.","operationId":"discovery_exists","requestBody":{"$ref":"#/components/requestBodies/DiscoverableParticipant"},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoveredParticipant"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"422":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ErrorModel"},"type":"array"}}},"description":"Unprocessable Entity"}},"summary":"Discover Network Participant Existence","tags":["Discovery"]}},"/discovery/identifiers":{"get":{"description":"Discover the identifiers used in each country, for routing, for legal identification as well as for tax identification purposes. We are currently testing this endpoint with selected Customers. If you would like to participate, please contact us.","operationId":"discovery_identifiers","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountrySpecifications"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Discover Country Identifiers ** EXPERIMENTAL","tags":["Discovery"]}},"/discovery/receives":{"post":{"description":"Discover a network participant and capabilities.","operationId":"discovery_receives","requestBody":{"$ref":"#/components/requestBodies/DiscoverableParticipant"},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoveredParticipant"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"422":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ErrorModel"},"type":"array"}}},"description":"Unprocessable Entity"}},"summary":"Disover Network Participant","tags":["Discovery"]}},"/document_submissions":{"post":{"description":"Submit a document for delivery. This endpoint will replaces the /invoice_submissions endpoint which will soon be deprecated.","operationId":"create_document_submission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSubmission"}}},"description":"Document to submit","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSubmissionResult"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"422":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ErrorModel"},"type":"array"}}},"description":"Unprocessable Entity"}},"summary":"Submit a new document.","tags":["DocumentSubmissions"]}},"/document_submissions/{guid}/evidence/{evidence_type}":{"get":{"description":"Get evidence for a DocumentSubmission by GUID with corresponding status","operationId":"show_document_submission_evidence","parameters":[{"description":"DocumentSubmission GUID","in":"path","name":"guid","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Type of evidence requested","in":"path","name":"evidence_type","required":true,"schema":{"default":"sending","enum":["sending","clearing"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSubmissionEvidence"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Get DocumentSubmission Evidence","tags":["DocumentSubmissions"]}},"/invoice_submissions":{"post":{"description":"DEPRECATED. Use the new /document_submissions endpoint. Submit an invoice for delivery.","operationId":"create_invoice_submission","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceSubmission"}}},"description":"Invoice to submit","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceSubmissionResult"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"422":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ErrorModel"},"type":"array"}}},"description":"Unprocessable Entity"}},"summary":"Submit a new invoice","tags":["InvoiceSubmissions"]}},"/invoice_submissions/preflight":{"post":{"description":"Deprecated. Use the new /discovery endpoint. Check whether Storecove can deliver an invoice for a list of ids.","operationId":"preflight_invoice_recipient","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceRecipientPreflight"}}},"description":"The invoice recipient to preflight","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreflightInvoiceRecipientResult"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"422":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ErrorModel"},"type":"array"}}},"description":"Unprocessable Entity"}},"summary":"DEPRECATED. Preflight an invoice recipient","tags":["InvoiceSubmissions"]}},"/invoice_submissions/{guid}/evidence":{"get":{"description":"Deprecated. Use the new /document_submissions/{guid}/evidence endpoint. Get evidence for an InvoiceSubmission by GUID with corresponding status","operationId":"show_invoice_submission_evidence","parameters":[{"description":"InvoiceSubmission GUID","in":"path","name":"guid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceSubmissionEvidence"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"DEPRECATED. Get InvoiceSubmission Evidence","tags":["InvoiceSubmissions"]}},"/legal_entities":{"post":{"description":"Create a new LegalEntity.","operationId":"create_legal_entity","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityCreate"}}},"description":"LegalEntity to create","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntity"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"422":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ErrorModel"},"type":"array"}}},"description":"Unprocessable Entity"}},"summary":"Create a new LegalEntity","tags":["LegalEntities"]}},"/legal_entities/{id}":{"delete":{"description":"Delete a specific LegalEntity.","operationId":"delete_legal_entity","parameters":[{"description":"legal_entity id","in":"path","name":"id","required":true,"schema":{"format":"int64","type":"integer"}}],"responses":{"204":{"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Delete LegalEntity","tags":["LegalEntities"]},"get":{"description":"Get a specific LegalEntity.","operationId":"get_legal_entity","parameters":[{"description":"legal_entity id","in":"path","name":"id","required":true,"schema":{"format":"int64","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntity"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Get LegalEntity","tags":["LegalEntities"]},"patch":{"description":"Update a specific LegalEntity.","operationId":"update_legal_entity","parameters":[{"description":"legal_entity id","in":"path","name":"id","required":true,"schema":{"format":"int64","type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityUpdate"}}},"description":"LegalEntity updates","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntity"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ErrorModel"},"type":"array"}}},"description":"Unprocessable Entity"}},"summary":"Update LegalEntity","tags":["LegalEntities"]}},"/legal_entities/{legal_entity_id}/additional_tax_identifiers":{"post":{"description":"Create a new AdditionalTaxIdentifier. An AdditionalTaxIdentifier is a seconday tax identifier that is used inside the EU when sending invoices to consumers. In that case, the VAT of the receiving country is used and if the sender has a local VAT identifier, that is used to identifiy the sender, instead of the sender's origin country VAT number. To use these identifiers, use the invoice.consumerTaxMode = true property.","operationId":"create_additional_tax_identifier","parameters":[{"description":"The id of the LegalEntity for which to create the AdditionalTaxIdentifier","in":"path","name":"legal_entity_id","required":true,"schema":{"format":"int64","type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdditionalTaxIdentifierCreate"}}},"description":"AdditionalTaxIdentifier to create","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdditionalTaxIdentifier"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ErrorModel"},"type":"array"}}},"description":"Unprocessable Entity"}},"summary":"Create a new AdditionalTaxIdentifier","tags":["AdditionalTaxIdentifiers"]}},"/legal_entities/{legal_entity_id}/additional_tax_identifiers/{id}":{"delete":{"description":"Delete an AdditionalTaxIdentifier","operationId":"delete_additional_tax_identifier","parameters":[{"description":"The id of the LegalEntity the AdditionalTaxIdentifier belongs to","in":"path","name":"legal_entity_id","required":true,"schema":{"format":"int64","type":"integer"}},{"description":"The id of the AdditionalTaxIdentifier","in":"path","name":"id","required":true,"schema":{"format":"int64","type":"integer"}}],"responses":{"204":{"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Delete AdditionalTaxIdentifier","tags":["AdditionalTaxIdentifiers"]},"get":{"description":"Get an AdditionalTaxIdentifier","operationId":"get_additional_tax_identifier","parameters":[{"description":"The id of the LegalEntity the AdditionalTaxIdentifier belongs to","in":"path","name":"legal_entity_id","required":true,"schema":{"format":"int64","type":"integer"}},{"description":"The id of the AdditionalTaxIdentifier","in":"path","name":"id","required":true,"schema":{"format":"int64","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdditionalTaxIdentifier"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Get AdditionalTaxIdentifier","tags":["AdditionalTaxIdentifiers"]},"patch":{"description":"Update an AdditionalTaxIdentifier","operationId":"update_additional_tax_identifier","parameters":[{"description":"The id of the LegalEntity the AdditionalTaxIdentifier belongs to","in":"path","name":"legal_entity_id","required":true,"schema":{"format":"int64","type":"integer"}},{"description":"The id of the AdditionalTaxIdentifier to be updated","in":"path","name":"id","required":true,"schema":{"format":"int64","type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdditionalTaxIdentifierUpdate"}}},"description":"AdditionalTaxIdentifier to update","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdditionalTaxIdentifier"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Update AdditionalTaxIdentifier","tags":["AdditionalTaxIdentifiers"]}},"/legal_entities/{legal_entity_id}/administrations":{"post":{"description":"Deprecated. Create a new Administration. An Administration is an email destination for purchase invoices.","operationId":"create_administration","parameters":[{"description":"The id of the LegalEntity for which to create the Administration","in":"path","name":"legal_entity_id","required":true,"schema":{"format":"int64","type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdministrationCreate"}}},"description":"Administration to create","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Administration"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ErrorModel"},"type":"array"}}},"description":"Unprocessable Entity"}},"summary":"Create a new Administration","tags":["Administrations"]}},"/legal_entities/{legal_entity_id}/administrations/{id}":{"delete":{"description":"Deprecated. Delete an Administration","operationId":"delete_administration","parameters":[{"description":"The id of the LegalEntity the Administration belongs to","in":"path","name":"legal_entity_id","required":true,"schema":{"format":"int64","type":"integer"}},{"description":"The id of the Administration","in":"path","name":"id","required":true,"schema":{"format":"int64","type":"integer"}}],"responses":{"204":{"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Delete Administration","tags":["Administrations"]},"get":{"description":"Deprecated. Get an Administration","operationId":"get_administration","parameters":[{"description":"The id of the LegalEntity the Administration belongs to","in":"path","name":"legal_entity_id","required":true,"schema":{"format":"int64","type":"integer"}},{"description":"The id of the Administration","in":"path","name":"id","required":true,"schema":{"format":"int64","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Administration"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Get Administration","tags":["Administrations"]},"patch":{"description":"Deprecated. Update an Administration","operationId":"update_administration","parameters":[{"description":"The id of the LegalEntity the Administration belongs to","in":"path","name":"legal_entity_id","required":true,"schema":{"format":"int64","type":"integer"}},{"description":"The id of the Administration to be updated","in":"path","name":"id","required":true,"schema":{"format":"int64","type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdministrationUpdate"}}},"description":"Administration to update","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Administration"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Update Administration","tags":["Administrations"]}},"/legal_entities/{legal_entity_id}/peppol_identifiers":{"post":{"description":"Create a brand new new PeppolIdentifier. For <<_sg_singapore>>, special rules apply.","operationId":"create_peppol_identifier","parameters":[{"description":"The id of the LegalEntity for which to create the PeppolIdentifier","in":"path","name":"legal_entity_id","required":true,"schema":{"format":"int64","type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeppolIdentifierCreate"}}},"description":"PeppolIdentifier to create","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeppolIdentifier"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ErrorModel"},"type":"array"}}},"description":"Unprocessable Entity"}},"summary":"Create a new PeppolIdentifier","tags":["PeppolIdentifiers"]}},"/legal_entities/{legal_entity_id}/peppol_identifiers/{superscheme}/{scheme}/{identifier}":{"delete":{"description":"Delete a PeppolIdentifier.","operationId":"delete_peppol_identifier","parameters":[{"description":"The id of the LegalEntity this PeppolIdentifier belongs to","in":"path","name":"legal_entity_id","required":true,"schema":{"format":"int64","type":"integer"}},{"description":"The superscheme of the identifier. Should always be \"iso6523-actorid-upis\".","in":"path","name":"superscheme","required":true,"schema":{"type":"string"}},{"description":"PEPPOL identifier scheme id, e.g. \"DE:VAT\". For a full list see <<_receiver_identifiers_list>>.","in":"path","name":"scheme","required":true,"schema":{"type":"string"}},{"description":"PEPPOL identifier","in":"path","name":"identifier","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Delete PeppolIdentifier","tags":["PeppolIdentifiers"]}},"/legal_entities/{legal_entity_id}/received_documents":{"post":{"description":"Receive a new Document.","operationId":"receive_document","parameters":[{"description":"The id of the LegalEntity for which the document was received.","in":"path","name":"legal_entity_id","required":true,"schema":{"format":"int64","type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceivedDocumentCreate"}}},"description":"Received document to process.","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceivedDocument"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ErrorModel"},"type":"array"}}},"description":"Unprocessable Entity"}},"summary":"Receive a new Document","tags":["ReceivedDocuments"]}},"/purchase_invoices/{guid}":{"get":{"description":"Get a specific PurchaseInvoice, in JSON format.","operationId":"get_invoice_json","parameters":[{"description":"The guid of the purchase invoice, from the webhook.","in":"path","name":"guid","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The PaymentMeans version. The default (and deprecated) version 1.0 will give BankPaymentMean, DirectDebitPaymentMean, CardPaymentMean, NppPaymentMean, SeBankGiroPaymentMean, SePlusGiroPaymentMean, SgCardPaymentMean, SgGiroPaymentMean, SgPaynowPaymentMean.\n\nVersion 2.0 deprecates BankPaymentMean (now CreditTransferPaymentMean), CardPaymentMean (now CreditCardPaymentMean), NppPaymentMean (now AunzNppPayidPaymentMean), SeBankGiroPaymentMean (now SeBankgiroPaymentMean  -- note the lower 'g' in 'bankgiro'). It also adds OnlinePaymentServicePaymentMean, StandingAgreementPaymentMean, AunzNppPaytoPaymentMean, AunzBpayPaymentMean, AunzPostbillpayPaymentMean, AunzUriPaymentMean.","in":"query","name":"pmv","required":false,"schema":{"default":"1.0","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseInvoice"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Get Purchase invoice data as JSON","tags":["PurchaseInvoices"]}},"/purchase_invoices/{guid}/{packaging}":{"get":{"description":"Get a specific PurchaseInvoice.","operationId":"get_invoice_ubl","parameters":[{"description":"purchase invoice guid","in":"path","name":"guid","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"How to package the purchase invoice.","in":"path","name":"packaging","required":true,"schema":{"default":"json","enum":["json","ubl","original"],"type":"string"}},{"description":"The PaymentMeans version. The default (and deprecated) version 1.0 will give BankPaymentMean, DirectDebitPaymentMean, CardPaymentMean, NppPaymentMean, SeBankGiroPaymentMean, SePlusGiroPaymentMean, SgCardPaymentMean, SgGiroPaymentMean, SgPaynowPaymentMean.\n\nVersion 2.0 deprecates BankPaymentMean (now CreditTransferPaymentMean), CardPaymentMean (now CreditCardPaymentMean), NppPaymentMean (now AunzNppPayidPaymentMean), SeBankGiroPaymentMean (now SeBankgiroPaymentMean  -- note the lower 'g' in 'bankgiro'). It also adds OnlinePaymentServicePaymentMean, StandingAgreementPaymentMean, AunzNppPaytoPaymentMean, AunzBpayPaymentMean, AunzPostbillpayPaymentMean, AunzUriPaymentMean.","in":"query","name":"pmv","required":false,"schema":{"default":"1.0","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseInvoiceUbl"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Get Purchase invoice data in a selectable format","tags":["PurchaseInvoices"]}},"/purchase_invoices/{guid}/{packaging}/{package_version}":{"get":{"description":"Get a specific PurchaseInvoice in UBL format","operationId":"get_invoice_ubl_versioned","parameters":[{"description":"purchase invoice guid","in":"path","name":"guid","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"How to package the purchase invoice.","in":"path","name":"packaging","required":true,"schema":{"default":"ubl","enum":["ubl"],"type":"string"}},{"description":"The version of the package.","in":"path","name":"package_version","required":true,"schema":{"default":"si11","enum":["si11","si12","si20","aunz","sg","jp","en16931","original"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseInvoiceUbl"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Get Purchase invoice data as JSON with a Base64-encoded UBL string in the specified version","tags":["PurchaseInvoices"]}},"/received_documents/{guid}/{format}":{"get":{"description":"EXPERIMENTAL: use only for orders. Get a new ReceivedDocument.","operationId":"get_received_document","parameters":[{"description":"The guid of the document that was received. This is the \"document_guid\" property of the \"received_document\" webhook.","in":"path","name":"guid","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The syntax in which to receive the received document.","in":"query","name":"syntax","required":true,"schema":{"default":"json","enum":["json","original"],"type":"string"}},{"description":"Automatically added","in":"path","name":"format","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceivedDocument"}}},"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"Get a new ReceivedDocument","tags":["ReceivedDocuments"]}},"/webhook_instances/":{"get":{"description":"GET a WebhookInstance from the queue. After processing it successfully, DELETE it and GET the next one. When a 204 is received, the queue is empty and the polling process can sleep for a while.","operationId":"get_webhook_instances","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookInstance"}}},"description":"Success"},"204":{"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"GET a WebhookInstance","tags":["WebhookInstances"]}},"/webhook_instances/{guid}":{"delete":{"description":"DELETE a specific WebhookInstance","operationId":"delete_webhook_instance","parameters":[{"description":"WebhookInstance guid","in":"path","name":"guid","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Success"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"summary":"DELETE a WebhookInstance","tags":["WebhookInstances"]}}},"components":{"requestBodies":{"DiscoverableParticipant":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoverableParticipant"}}},"description":"The participant to check","required":true}},"schemas":{"AccountingCustomerParty":{"description":"The customer receiving the document.","properties":{"party":{"$ref":"#/components/schemas/Party"},"publicIdentifiers":{"description":"A list of legal and tax identifiers for this customer.","items":{"$ref":"#/components/schemas/PublicIdentifier"},"title":"Public identifiers","type":"array"}},"required":["party"],"title":"Customer","type":"object"},"AccountingSupplierParty":{"description":"The party sending the invoice. Most data for the AccountingSupplierParty is taken from the Storecove database, where your sender identity resides and has been validated. However, we provide a limited number of fields here that you can specify on an invoice-by-invoice basis.","properties":{"party":{"$ref":"#/components/schemas/SenderParty"}},"title":"Supplier","type":"object"},"AdditionalItemProperty":{"description":"An additional property for the item","properties":{"name":{"description":"The name of the property.","minLength":1,"title":"Name","type":"string"},"value":{"description":"The value of the property.","title":"Value","type":"string"}},"required":["name","value"],"title":"Additional Item Property","type":"object"},"AdditionalTaxIdentifier":{"properties":{"country":{"description":"The ISO3166 country code to use this identifier for in case of consumerTaxMode.","maxLength":2,"minLength":2,"title":"Country","type":"string"},"county":{"description":"The county/state inside the country code to use this identifier for in case of consumerTaxMode.","maxLength":2,"minLength":2,"title":"County","type":"string"},"id":{"description":"The Storecove assigned id for the AdditionalTaxIdentifier.","format":"int64","title":"Id","type":"integer"},"identifier":{"description":"The identifier.","title":"Identifier","type":"string"},"scheme":{"description":"The scheme of the identifier.","maxLength":64,"minLength":2,"title":"Type","type":"string"},"superscheme":{"description":"The superscheme of the identifier.","maxLength":64,"minLength":2,"title":"Type","type":"string"}}},"AdditionalTaxIdentifierCreate":{"properties":{"country":{"description":"The ISO3166 country code to use this identifier for in case of consumerTaxMode.","maxLength":2,"minLength":2,"title":"Country","type":"string"},"county":{"description":"The county/state inside the country code to use this identifier for in case of consumerTaxMode. Leave empty to create an additional tax identifier for the entire country. For India, use the two last characters of ISO 3166-2:IN (https://en.wikipedia.org/wiki/States_and_union_territories_of_India).","maxLength":2,"minLength":2,"title":"County","type":"string"},"identifier":{"description":"The identifier.","title":"Identifier","type":"string"},"scheme":{"description":"The scheme of the identifier.","maxLength":64,"minLength":2,"title":"Type","type":"string"},"superscheme":{"description":"The superscheme of the identifier. Should always be \"iso6523-actorid-upis\".","maxLength":64,"minLength":2,"title":"Type","type":"string"},"third_party_password":{"description":"The password to use to authenticate to a system through which to send the document, or to obtain tax authority approval to send it. This field is currently relevant only for India and mandatory when creating an IN tax identifier.","maxLength":64,"minLength":2,"title":"Password","type":"string"},"third_party_username":{"description":"The username to use to authenticate to a system through which to send the document, or to obtain tax authority approval to send it. This field is currently relevant only for India and mandatory when creating an IN tax identifier.","maxLength":64,"minLength":2,"title":"Username","type":"string"}},"required":["country","identifier","scheme","superscheme"]},"AdditionalTaxIdentifierUpdate":{"properties":{"identifier":{"description":"The identifier.","title":"Identifier","type":"string"},"third_party_password":{"description":"The password to use to authenticate to a system through which to send the document, or to obtain tax authority approval to send it. This field is currently relevant only for India and mandatory when creating an IN tax identifier.","maxLength":64,"minLength":2,"title":"Password","type":"string"},"third_party_username":{"description":"The username to use to authenticate to a system through which to send the document, or to obtain tax authority approval to send it. This field is currently relevant only for India and mandatory when creating an IN tax identifier.","maxLength":64,"minLength":2,"title":"Username","type":"string"}},"required":["identifier"]},"Address":{"description":"The address","properties":{"city":{"description":"The name of the city. Mandatory in most countries.","minLength":2,"title":"City","type":"string"},"country":{"$ref":"#/components/schemas/Country"},"county":{"description":"An optional county name.","title":"County","type":"string"},"street1":{"description":"The street name and number. Mandatory in most countries.","minLength":2,"title":"Street 1","type":"string"},"street2":{"description":"The second street field. Use this if you used the first field for the building name.","title":"Street 2","type":"string"},"zip":{"description":"The zipcode/postalzone. Mandatory unless the country does not have zip codes.","minLength":2,"title":"Zipcode","type":"string"}},"required":["country"],"title":"Address","type":"object"},"Administration":{"properties":{"email":{"description":"The email address to send the received document to","maxLength":128,"minLength":5,"title":"Email","type":"string"},"id":{"description":"The Storecove assigned id for the Administration.","format":"int64","title":"Id","type":"integer"},"legal_entity_id":{"description":"The LegalEntity the Administration belongs to.","format":"int64","title":"Legal etity","type":"integer"},"package_version":{"description":"The version of the package.","enum":["peppol_bis_v3","aunz","sg"],"title":"Package version","type":"string"},"packaging":{"description":"How to package the purchase invoice.","enum":["ubl"],"title":"Packaging","type":"string"},"sender_email_identity_id":{"description":"The id of the SenderEmailIdentity. If not provided, the Storecove default sender will be used","format":"int64","title":"Sender email identity","type":"integer"}}},"AdministrationCreate":{"properties":{"email":{"description":"The email address to send the received document to","maxLength":128,"minLength":5,"title":"Email","type":"string"},"legal_entity_id":{"description":"The LegalEntity the Administration belongs to.","format":"int64","title":"Legal etity","type":"integer"},"package_version":{"default":"peppol_bis_v3","description":"The version of the package.","enum":["peppol_bis_v3","aunz","sg"],"title":"Package version","type":"string"},"packaging":{"default":"ubl","description":"How to package the purchase invoice.","enum":["ubl"],"title":"Packaging","type":"string"},"sender_email_identity_id":{"description":"The id of the SenderEmailIdentity. If not provided, the Storecove default sender will be used","format":"int64","title":"Sender email identity","type":"integer"}}},"AdministrationUpdate":{"properties":{"email":{"description":"The email address to send the received document to","maxLength":128,"minLength":5,"title":"Email","type":"string"},"package_version":{"description":"The version of the package.","enum":["peppol_bis_v3","aunz","sg"],"title":"Package version","type":"string"},"packaging":{"description":"How to package the purchase invoice.","enum":["ubl"],"title":"Packaging","type":"string"},"sender_email_identity_id":{"description":"The id of the SenderEmailIdentity. If not provided, the Storecove default sender will be used","format":"int64","title":"Sender email identity","type":"integer"}}},"AllowanceCharge":{"properties":{"amountExcludingTax":{"description":"The amount for the allowance or charge, excluding tax.","title":"Amount Excluding Tax","type":"number"},"amountExcludingVat":{"description":"DEPRECATED. Use amountExcludingTax. The amount for the allowance or charge, excluding VAT.","title":"Amount","type":"number"},"amountIncludingTax":{"description":"The amount for the allowance or charge, including tax.","title":"Amount Including Tax","type":"number"},"baseAmountExcludingTax":{"description":"The base amount for the allowance or charge, excluding tax.","title":"Base Amount Excluding Tax","type":"number"},"baseAmountIncludingTax":{"description":"The base amount for the allowance or charge, including tax.","title":"Base Amount Including Tax","type":"number"},"reason":{"default":"Agreed settlement","description":"The reason for the allowance or charge, free text","title":"Reason","type":"string"},"reasonCode":{"description":"Do not use. Contact Storecove first if you want to use this field.","title":"Reason Code","type":"string"},"tax":{"$ref":"#/components/schemas/Tax"},"taxesDutiesFees":{"description":"An array of taxes, duties and fees for this invoice line. At this moment, multiple Tax items is allowed only for IN (India) and US (USA) taxes. All other countries can only have a single Tax item in this array.","items":{"$ref":"#/components/schemas/Tax"},"minItems":0,"title":"Taxes, Duties and Fees","type":"array"}},"title":"Allowance or Charge","type":"object"},"Attachment":{"description":"A document attachment to the invoice.","properties":{"description":{"description":"A description for the file attachment.","maxLength":1024,"title":"Description","type":"string"},"document":{"description":"The base64 encoded version of the document attachment.","minLength":5,"title":"Document Attachment","type":"string"},"documentId":{"description":"An id for the file attachment.","maxLength":64,"title":"Document Id","type":"string"},"filename":{"description":"The name of the file attachment.","pattern":"^[a-zA-Z0-9]([a-zA-Z0-9._-]*[a-zA-Z0-9])?\\.[a-zA-Z0-9_-]+$","title":"Filename","type":"string"},"mimeType":{"description":"The document attachment mime type. Currently only application/pdf is allowed.","enum":["application/pdf"],"title":"Mime Type","type":"string"},"primaryImage":{"default":false,"description":"Whether or not this document is a visual representation of the invoice data. Note that although this property is not yet deprecated, using value 'true' is discouraged, since the invoice data itself is leading, not the image, and including an image may lead to confusion. Peppol no longer allows including primary images.","title":"Primary Image","type":"boolean"}},"required":["document","mimeType"],"title":"Invoice Attachment","type":"object"},"Contact":{"description":"Contact details for the invoice","properties":{"email":{"format":"email","title":"Email address","type":"string"},"firstName":{"title":"First name","type":"string"},"id":{"description":"Only supported for AccountingCustomerParty.","maxLength":20,"title":"Id","type":"string"},"lastName":{"title":"Last name","type":"string"},"phone":{"maxLength":24,"title":"Phone number","type":"string"}},"title":"Contact","type":"object"},"CorpPass":{"properties":{"client_redirect_fail_url":{"description":"The URL the CorpPass system will redirect to in case of a failure to perform identity verfication.","maxLength":255,"minLength":11,"title":"Client Redirect Success URL","type":"string"},"client_redirect_success_url":{"description":"The URL the CorpPass system will redirect to in case of successful identity verfication.","maxLength":255,"minLength":11,"title":"Client Redirect Success URL","type":"string"},"corppass_url":{"description":"The CorpPass redirect URL.","maxLength":255,"minLength":11,"title":"CorpPass redirect URL","type":"string"},"enabled":{"default":false,"description":"Whether or not the CorpPass flow is enabled.","title":"CorpPass","type":"boolean"},"flow_type":{"description":"The CorpPass flow type.","enum":["corppass_flow_redirect","corppass_flow_email"],"title":"Flow Type","type":"string"},"signer_email":{"description":"The email of the person who is going to perform the CorpPass process.","maxLength":128,"minLength":2,"title":"Signer Email","type":"string"},"signer_name":{"description":"The name of the person who is going to perform the CorpPass process.","maxLength":64,"minLength":2,"title":"Signer Name","type":"string"},"simulate_corppass":{"default":false,"description":"Whether or not CorpPass is being simulated.","title":"Simulate CorpPass","type":"boolean"},"status":{"description":"The status of the CorpPass process.","enum":["corppass_no_status,","corppass_initiated,","corppass_cancelled,","corppass_failed,","corppass_succeeded"],"title":"CorpPass Status","type":"string"}}},"CorpPassCreate":{"properties":{"client_redirect_fail_url":{"description":"The URL the CorpPass system will redirect to in case of a failure to perform identity verfication. Mandatory for flow_type=\"corppass_flow_redirect\"","maxLength":255,"minLength":11,"title":"Client Redirect Success URL","type":"string"},"client_redirect_success_url":{"description":"The URL the CorpPass system will redirect to in case of successful identity verfication. Mandatory for flow_type=\"corppass_flow_redirect\"","maxLength":255,"minLength":11,"title":"Client Redirect Success URL","type":"string"},"enabled":{"default":true,"description":"DEPRECATED. Whether or not to enable the CorpPass flow. Must be true if provided.","title":"CorpPass","type":"boolean"},"flow_type":{"description":"The CorpPass flow type.","enum":["corppass_flow_redirect","corppass_flow_email"],"title":"Flow Type","type":"string"},"signer_email":{"description":"The email of the person who is going to perform the CorpPass process. Mandatory for flow_type=\"corppass_flow_email\"","maxLength":128,"minLength":2,"title":"Signer Email","type":"string"},"signer_name":{"description":"The name of the person who is going to perform the CorpPass process. Mandatory for flow_type=\"corppass_flow_email\"","maxLength":64,"minLength":2,"title":"Signer Name","type":"string"},"simulate_corppass":{"default":false,"description":"Whether or not to simulate CorpPass. Instead of redirecting to a CorpPass URL, you will receive a redirect to a Storecove URL which will show a page with two buttons: success and fail. This makes development without having test CorpPass credentials possible. Note this only works in sandbox, not in the production environment.","title":"Simulate CorpPass","type":"boolean"}},"required":["flow_type"]},"Country":{"description":"An ISO 3166-1 alpha-2 country code.","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XI","YE","YT","ZA","ZM","ZW"],"title":"Country","type":"string"},"CountrySpecification":{"properties":{"country":{"$ref":"#/components/schemas/Country"},"receiver":{"description":"The receiver of the document.","properties":{"business":{"description":"The business receiver of the document.","properties":{"legal":{"$ref":"#/components/schemas/CountrySpecificationIdentifier"},"routing":{"$ref":"#/components/schemas/CountrySpecificationIdentifier"},"tax":{"$ref":"#/components/schemas/CountrySpecificationIdentifier"}},"title":"Business Receiver"},"consumer":{"description":"The consumer receiver of the document.","properties":{"legal":{"$ref":"#/components/schemas/CountrySpecificationIdentifier"},"routing":{"$ref":"#/components/schemas/CountrySpecificationIdentifier"},"tax":{"$ref":"#/components/schemas/CountrySpecificationIdentifier"}},"title":"Consumer Receiver"},"government":{"description":"The government receiver of the document.","properties":{"legal":{"$ref":"#/components/schemas/CountrySpecificationIdentifier"},"routing":{"$ref":"#/components/schemas/CountrySpecificationIdentifier"},"tax":{"$ref":"#/components/schemas/CountrySpecificationIdentifier"}},"title":"Government Receiver"}},"title":"Receiver"},"region":{"description":"The region this country belongs to. Within this region exchanging invoices is well defined. Between regions some care needs to be taken and Storecove may help in automatically converting some items. Contact us for details of inter-regional document exchange.","enum":["eu_eea","sg","aunz","in","world"],"title":"Region","type":"string"},"sender":{"description":"The sender of the document.","properties":{"legal":{"$ref":"#/components/schemas/CountrySpecificationIdentifier"},"tax":{"$ref":"#/components/schemas/CountrySpecificationIdentifier"}},"title":"Sender"}}},"CountrySpecificationIdentifier":{"properties":{"centalized_identifier_test":{"description":"The centralized identifier to use for routing in test cases, if the \"centralized\" proprerty is true. May not always be available depending on the country and network.","title":"Centralized Identifier Test","type":"string"},"centralized":{"description":"Whether or not the identifier represents a centralized routing identifier. This is used in SG, AT and FR where all government invoices are routed to a central accesspoint with a single identifier. This field can only be present for routing identifiers.","title":"Centralized","type":"boolean"},"centralized_identifier":{"description":"The centralized identifier to use for routing, if the \"centralized\" proprerty is true.","title":"Centralized Identifier","type":"string"},"description":{"description":"Identifier description.","title":"Description","type":"string"},"scheme":{"description":"The scheme of the identifier","title":"Scheme","type":"string"},"scheme_numercial":{"description":"The numerical version of the scheme of the identifier","title":"Scheme Numerical","type":"string"},"scheme_type":{"description":"The scheme type of the identifier. Currently always \"iso6523-actorid-upis\"","enum":["iso6523-actorid-upis"],"title":"Scheme Type","type":"string"}}},"CountrySpecifications":{"properties":{"countries":{"items":{"$ref":"#/components/schemas/CountrySpecification"},"type":"array"}}},"CurrencyCode":{"description":"The ISO 4217 currency code.","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BYR","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLE","SLL","SOS","SRD","SSP","STD","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UZS","VEF","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XFU","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW"],"title":"Currency","type":"string"},"Delivery":{"properties":{"actualDate":{"description":"The actual date of the delivery. Used only for Invoice","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","title":"Actual Date","type":"string"},"deliveryLocation":{"properties":{"address":{"$ref":"#/components/schemas/Address"},"id":{"description":"The location identifier.","minLength":2,"title":"Identifier","type":"string"},"locationName":{"description":"The name of the delivery location. Only used for DocumentOrder.","maxLength":128,"title":"Location Name","type":"string"},"schemeAgencyId":{"description":"DEPRECATED. The schemeAgencyId of the location identifier (e.g. 'ZZZ')","title":"Identifier Scheme Agency ID","type":"string"},"schemeId":{"description":"The schemeId of the location identifier (e.g. 'EAN')","title":"Identifier Scheme ID","type":"string"}},"type":"object"},"deliveryParty":{"$ref":"#/components/schemas/DeliveryParty"},"deliveryPartyName":{"description":"Use deliveryParty. The name of the party that took delivery. Used only for Invoice","title":"Delivery Party Name","type":"string"},"quantity":{"default":1,"description":"The quantity of the delivery. Used only for Invoice","title":"Quantity","type":"number"},"requestedDeliveryPeriod":{"description":"The requested delivery period. Used only for DocumentOrder.","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2} - [0-9]{4}-[0-9]{2}-[0-9]{2}$","title":"Requested Delivery Period","type":"string"},"shippingMarks":{"description":"A text that the buyer requests to be printed on the packing labels. Used only for DocumentOrder.","maxLength":128,"title":"Shipping Marks","type":"string"}},"type":"object"},"DeliveryParty":{"description":"The party receiving the shipment.","properties":{"party":{"$ref":"#/components/schemas/Party"}},"required":["party"],"title":"Delivery Party","type":"object"},"DeliveryTerms":{"properties":{"deliveryLocationId":{"description":"The location to which the delivery terms refer.","maxLength":128,"title":"Delivery Location Id","type":"string"},"incoterms":{"description":"The incoterms:\n++++\n<ul>    <li>        <strong>EXW – Ex Works</strong><br/>        The seller must give the buyer access to goods at an agreed location. From that moment, the buyer bears almost all costs and risks during the entire shipping process.<br/>    </li>    <li>        <strong>FCA – Free Carrier</strong><br/>        The seller must make the goods available at his own risk and expense at his own premises or at an agreed place. In both cases, the seller is responsible for the clearance of the goods for export. It can be agreed that the buyer must instruct the carrier to transfer a “Bill of Lading (BL)” with a note on board to the seller.    </li>    <li>        <strong>CPT – Carriage Paid To</strong><br/>        The seller has the same responsibilities as with FCA, but in this case also pays the delivery costs.    </li>    <li>        <strong>CIP – Carriage Insurance Paid To</strong><br/>        The same seller responsibilities as with CPT, only in this case the seller is obliged to pay the insurance with a high coverage ratio. Parties can agree separately to apply limited coverage.    </li>    <li>        <strong>DAP – Delivered At Place</strong><br/>        The seller bears the costs and risks during the transport of the goods to an agreed address. As soon as the goods have arrived at this address and are ready for unloading, the risk passes to the buyer.    </li>    <li>        <strong>DPU – Delivered at Place Unloaded</strong><br/>        The seller is responsible for the costs and risks of delivering goods to an agreed destination where goods can be unloaded for further transport. The selling party arranges customs and unloads the goods at the agreed place. The buyer arranges the customs clearance and any associated rights.    </li>    <li>        <strong>DDP – Delivered Duty Paid</strong><br/>        The seller bears the costs and risks of transport, carries out the export and import responsibilities and pays any import duties. As soon as the goods have arrived at the address and are ready for unloading, the risk passes to the buyer.    </li>    <li>        <strong>FAS – Free Alongside Ship</strong><br/>        The seller bears all costs and risks until the goods are delivered next to the ship. From that point, the risk is for the buyer and he also arranges the export clearance and import clearance.    </li>    <li>        <strong>FOB – Free On Board</strong><br/>        The seller bears all costs and risks until the goods are on board the ship and also arranges the export clearance. As soon as the goods have been delivered to the ship, the buyer bears all responsibilities.    </li>    <li>        <strong>CFR – Cost And Freight</strong><br/>        The same applies to the seller and buyer as with FOB, but in this case, the seller must also pay for the transport of the goods to the port.    </li>    <li>        <strong>CIF – Cost, Insurance, and Freight</strong><br/>        The seller has the same obligations as with CFR but also pays the (minimum) insurance costs. The buyer must pay for more comprehensive insurance.    </li></ul>\n++++","enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"],"title":"Incoterms","type":"string"},"specialTerms":{"description":"A description of special conditions relating to the delivery terms.","maxLength":512,"title":"Special Terms","type":"string"}},"type":"object"},"DiscoverableParticipant":{"description":"A participant to be discovered.","properties":{"documentTypes":{"description":"An array of document types to discover. The default is '[\"invoice\", \"creditnote\"]'. This is ignored when only checking existence.","items":{"enum":["invoice","creditnote","invoice_response","order","ordering","order_response"],"type":"string"},"title":"DocumentTypes","type":"array"},"identifier":{"description":"The actual identifier.","minLength":1,"title":"Identifier","type":"string"},"metaScheme":{"default":"iso6523-actorid-upis","description":"The meta scheme of the identifier. For Peppol this is always 'iso6523-actorid-upis'.","minLength":3,"title":"Meta Scheme","type":"string"},"network":{"default":"peppol","description":"The network to check. Currently only 'peppol' is supported.","minLength":3,"title":"Network","type":"string"},"scheme":{"description":"The scheme of the identifier. See <<_receiver_identifiers_list>> for a list.","minLength":3,"title":"Scheme","type":"string"}},"required":["scheme","identifier"],"title":"Discoverable Participant","type":"object"},"DiscoveredParticipant":{"description":"A public identifier for this customer.","properties":{"code":{"description":"The response code.","enum":["OK","NOK"],"title":"Code","type":"string"},"email":{"description":"Whether or not an 'OK' response means the document will be sent via Peppol, but delivered by email. This happens in the Belgian Hermes system where all identifiers have been registered, but if the receiver hasn't registered with a service provider, the Hermes system will send a PDF created from the electronic invoice and email that. The electronic document will itself not be emailed. Also see https://einvoice.belgium.be/en/article/send-structured-invoices-all-your-customers-hermes[Hermes^].","title":"Email","type":"boolean"}},"title":"Discovered Participant","type":"object"},"DocumentInvoiceResponse":{"description":"The invoice response to send or received.","properties":{"clarifications":{"description":"A list of clarifications why a received invoice was rejected (RE) or under query (UQ) and what action to take.","items":{"$ref":"#/components/schemas/InvoiceResponseClarification"},"minItems":0,"title":"Clarifications","type":"array"},"effectiveDate":{"description":"The date when the status became effective. Format: yyyy-mm-dd.","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","title":"Effective Date","type":"string"},"note":{"description":"A note to add to the invoice reponse","title":"Note","type":"string"},"responseCode":{"description":"The response code. For details see https://docs.peppol.eu/poacc/upgrade-3/codelist/UNCL4343-T111/","enum":["AB","IP","UQ","CA","RE","AP","PD"],"title":"Response Code","type":"string"}},"required":["receivedInvoiceGuid","responseCode"],"title":"Document Invoice Response","type":"object"},"DocumentOrder":{"description":"The order to send.","properties":{"accountingCost":{"description":"The buyer's accounting cost centre for this document.","minLength":1,"title":"Accounting Cost","type":"string"},"allowanceCharges":{"description":"An array of allowance charges.","items":{"$ref":"#/components/schemas/AllowanceCharge"},"minItems":0,"title":"Allowance Charges","type":"array"},"amountIncludingTax":{"description":"Total amount including Tax.","title":"Amount including Tax","type":"number"},"attachments":{"description":"An array of attachments. You may provide up to 10 attchments, but the total size must not exceed 10MB after Base64 encoding.","items":{"$ref":"#/components/schemas/Attachment"},"maxItems":10,"title":"Attachments","type":"array"},"delivery":{"$ref":"#/components/schemas/Delivery"},"deliveryTerms":{"$ref":"#/components/schemas/DeliveryTerms"},"documentCurrencyCode":{"$ref":"#/components/schemas/CurrencyCode"},"documentNumber":{"description":"The number you assigned to the document.","minLength":1,"title":"Document number","type":"string"},"issueDate":{"description":"Format: yyyy-mm-dd.","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","title":"Document issue date","type":"string"},"issueTime":{"description":"Format: hh:mm:ss±zzzz ","pattern":"^[0-9]{2}:[0-9]{2}:[0-9]{2}$","title":"Document issue time","type":"string"},"note":{"description":"A note to add to the document","maxLength":255,"title":"Note","type":"string"},"orderLines":{"description":"An array of order lines.","items":{"$ref":"#/components/schemas/OrderLine"},"minItems":1,"title":"Order lines","type":"array"},"orderType":{"default":"regular","description":"The type of this order.","enum":["regular","consignment"],"title":"Order Type","type":"string"},"paymentTerms":{"$ref":"#/components/schemas/PaymentTerms"},"references":{"description":"An array of references to other documents. Note that many syntaxes do not support multiple references of the same type in which case they will be concatenated with ','. Also, not all syntaxes and doucments support all documentTypes.","items":{"$ref":"#/components/schemas/Reference"},"minItems":0,"title":"References","type":"array"},"sellerSupplierParty":{"$ref":"#/components/schemas/SellerSupplierParty"},"taxSystem":{"default":"tax_line_percentages","description":"The tax system used for the invoice. The system 'tax_line_percentages' is the only one currently supported.","enum":["tax_line_percentages"],"title":"Tax System","type":"string"},"timeZone":{"description":"Format: ±zzzz, where ±zzzz is the difference from UTC, e.g. +0100 or -0900 etc. The timezone will also apply to the document issue date if this field is provided.","pattern":"^[+-]\\d{4}$","title":"Document issue date","type":"string"},"validityPeriod":{"description":"The period (or specific date) to which the invoice applies. Format: yyyy-mm-dd - yyyy-mm-dd.","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2} - [0-9]{4}-[0-9]{2}-[0-9]{2}$","title":"Validity period","type":"string"}},"required":["documentNumber","issueDate","sellerSupplierParty","orderLines","amountIncludingTax"],"title":"Order","type":"object"},"DocumentSubmission":{"description":"The document you want Storecove to send, with some meta-data.","properties":{"attachments":{"description":"DEPRECATED. Use the attachments array inside the 'document' property. An array of attachments. You may provide up to 10 attchments, but the total size must not exceed 10MB after Base64 encoding.","items":{"$ref":"#/components/schemas/Attachment"},"maxItems":10,"title":"Attachments","type":"array"},"createPrimaryImage":{"description":"DEPRECATED. In the future we will no longer support creating PDF invoices. Whether or not to create a primary image (PDF) if one is not provided. For customers who started from April 1st 2023, the default is false. For customers who started before that, the default is true.","title":"Create Primary Image","type":"boolean"},"document":{"$ref":"#/components/schemas/SendableDocument"},"idempotencyGuid":{"description":"A guid that you generated for this DocumentSubmission to achieve idempotency. If you submit multiple documents with the same idempotencyGuid, only the first one will be processed and any subsequent ones will trigger an HTTP 422 Unprocessable Entity response.","maxLength":36,"minLength":36,"title":"Idempotency GUID","type":"string"},"legalEntityId":{"description":"The id of the LegalEntity this document should be sent on behalf of. Either legalEntityId or receiveGuid is mandatory.","title":"LegalEntity Id","type":"integer"},"receiveGuid":{"description":"The GUID that was in the received_document webhook. Either legalEntityId or receiveGuid is mandatory. This field is used for sending response documents, such as InvoiceReponse and OrderResponse.","title":"Receive GUID","type":"string"},"routing":{"$ref":"#/components/schemas/Routing"}},"title":"Document submission","type":"object"},"DocumentSubmissionEvidence":{"properties":{"documents":{"description":"An array of documents that were sent. For OpenPeppol, this is always a single document (it may contain a PDF inside). For Email, the number of documents depends on the number of attachments, which in turn depends on the country of the receiver. For email, the raw email in RFC822 format is also included.","items":{"$ref":"#/components/schemas/DocumentSubmissionEvidenceDocument"},"title":"Documents","type":"array"},"evidence":{"$ref":"#/components/schemas/DocumentSubmissionEvidenceEvidence"},"network":{"description":"The exchange network that was used to send the document","enum":["as2","email","peppol","sdi"],"title":"Network","type":"string"},"receiver":{"description":"The legal identifier of the receiver, or the tax identifier if there is no legal identifier.","title":"Receiver","type":"string"},"sender":{"description":"The legal identifier of the sender, or the tax identifier if there is no legal identifier.","title":"Sender","type":"string"}}},"DocumentSubmissionEvidenceDocument":{"properties":{"document":{"description":"The URL where the document can be retrieved.","title":"Dcoument","type":"string"},"expires_at":{"description":"The datetime the URL expires. Format: 'YYYY-MM-DD HH:mm:ss.'","title":"Expires At","type":"string"},"mime_type":{"description":"The mime type of the document.","enum":["message/rfc822","application/xml","application/json","application/pdf"],"title":"Mime type","type":"string"}}},"DocumentSubmissionEvidenceEvidence":{"properties":{"message_id":{"description":"The unique message id used in the OpenPeppol SBDH.","title":"Message ID","type":"string"},"receiving_accesspoint":{"description":"An identification of the OpenPeppol accesspoint that the invoice was sent to.","title":"Receiving Accesspoint","type":"string"},"remote_mta_ip":{"description":"The IP address of the sending SMTP server.","title":"Remote MTA IP","type":"string"},"reporting_mta":{"description":"An identification for the sending SMTP.","title":"Reporting MTA","type":"string"},"smtp_response":{"description":"The response of the receiving SMTP server.","title":"SMTP Response","type":"string"},"timestamp":{"description":"The timestamp of the delivery to the receiving SMTP server.","title":"Timestamp","type":"string"},"transmission_id":{"description":"The unique id for this OpenPeppol transmission.","title":"Transmission ID","type":"string"},"xml":{"description":"The XML evidence for the transmission. This is the XML returned by the receiving OpenPeppol accesspoint.","title":"XML","type":"string"}}},"DocumentSubmissionResult":{"description":"The result of a document submission","properties":{"guid":{"description":"A (V4) GUID for the document submission","title":"GUID","type":"string"}},"title":"Document submission result","type":"object"},"EIdentifiers":{"description":"A list of electronic routing identifiers. These are the identifiers used on the Peppol network or for other destinations.","items":{"$ref":"#/components/schemas/RoutingIdentifier"},"title":"Electronic identifiers","type":"array"},"ErrorModel":{"properties":{"details":{"type":"string"},"source":{"type":"string"}}},"Invoice":{"description":"The invoice to send. Provide either invoice, or invoiceData, but not both.","properties":{"accountingCost":{"description":"The buyer's accounting cost centre for this invoice, expressed as text.","minLength":1,"title":"Accounting Cost","type":"string"},"accountingCurrencyTaxAmount":{"description":"The total amount of tax in the accounting currency. If included, must be non-zero.","title":"Accounting Currency Tax Amount","type":"number"},"accountingCurrencyTaxAmountCurrency":{"$ref":"#/components/schemas/CurrencyCode"},"accountingCustomerParty":{"$ref":"#/components/schemas/AccountingCustomerParty"},"accountingSupplierParty":{"$ref":"#/components/schemas/AccountingSupplierParty"},"allowanceCharges":{"description":"An array of allowance charges.","items":{"$ref":"#/components/schemas/AllowanceCharge"},"minItems":0,"title":"Allowance Charges","type":"array"},"amountIncludingVat":{"description":"amountIncludingVat is important because of rounding differences. In many invoices, the sum of the line item amounts excluding VAT and the VAT amounts is not equal to first summing the line items without VAT, and then applying VAT. The difference is automatically calculated and included in the electronic invoice, so the receiving accounting package can process the electronic invoice without problems.","title":"Amount including VAT","type":"number"},"attachments":{"description":"An array of attachments. You may provide up to 10 attchments, but the total size must not exceed 10MB after Base64 encoding.","items":{"$ref":"#/components/schemas/Attachment"},"maxItems":10,"title":"Attachments","type":"array"},"billingReference":{"description":"DEPRECATED. Use a reference object with a documentType 'billing'. A reference to a commercial invoice or corrective invoice of which the current invoice is a correction. This field is mandatory when sending invoiceType 384.","title":"Billing reference","type":"string"},"buyerReference":{"description":"DEPRECATED. Use a reference object with a documentType 'buyer_reference'. A reference provided by the buyer used for internal routing of the document.","title":"Buyer reference","type":"string"},"consumerTaxMode":{"default":false,"description":"Whether or not to process the invoice in consumer tax mode. In this mode, the VAT identifier of the sender will not be the default VAT identifier, but the one that matches with the country of the receiving consumer, if that additional VAT identifier for that country is available. These additional VAT identifiers need to be added to the sending LegalEntity by Storecove, so if you need to send invoices in this mode, please contact us.","title":"Consumer Tax Mode","type":"boolean"},"contractDocumentReference":{"description":"DEPRECATED. Use a reference object with a documentType 'contract'. A reference to a contract or framework agreement that this invoice relates to.","title":"Contract document reference","type":"string"},"delivery":{"$ref":"#/components/schemas/Delivery"},"documentCurrencyCode":{"$ref":"#/components/schemas/CurrencyCode"},"dueDate":{"description":"Format: yyyy-mm-dd.","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","title":"Due date","type":"string"},"invoiceLines":{"description":"An array of invoice lines.","items":{"$ref":"#/components/schemas/InvoiceLine"},"minItems":1,"title":"Invoice lines","type":"array"},"invoiceNumber":{"description":"The invoice number you assigned to the invoice. The invoiceNumber should be unique for the legalEntityId and year of the issueDate. This means invoice numbers can be reused in different years, as is customary in some countries.","minLength":1,"title":"Invoice number","type":"string"},"invoicePeriod":{"description":"The period (or specific date) to which the invoice applies. Format: yyyy-mm-dd - yyyy-mm-dd.","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2} - [0-9]{4}-[0-9]{2}-[0-9]{2}$","title":"Invoice period","type":"string"},"invoiceType":{"default":"380","description":"DEPRECATED. Do not use. This field is available for legacy reasons only. If you want to send a regular invoice (aka UBL type '380'), make sure you have a positive invoice amount. For a credit note (aka UBL type '381'), simply provide a negative invoice amount. If you, in addition to a negative invoice amount, also specify a billingReferences, your invoice will become a corrective invoice (aka UBL type '384'). If your invoice is not sent in the UBL syntax, Storecove will provide the appropriate type for the syntax the invoice is sent in.","enum":["380","381","384"],"title":"Type of invoice","type":"string"},"issueDate":{"description":"Format: yyyy-mm-dd.","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","title":"Invoice issue date","type":"string"},"issueReasons":{"description":"An array reasons for issuing the invoice.","items":{"type":"string"},"title":"Issue Reasons","type":"array"},"note":{"description":"A note to add to the invoice","title":"Note","type":"string"},"orderReference":{"description":"DEPRECATED. Use a reference object with a documentType 'purchase_order'. A reference to an order for this invoice, assigned by the buyer. Note that this often is a key field, since many receivers of invoices will use this field to automatically match the invoice to an order they placed. Many receivers refuse invoices that cannot be automatically matched, in particular government agencies. So it is highly recommended to fill this field whenever possible.","title":"Order reference","type":"string"},"paymentMeansArray":{"description":"An array of payment means (ways to pay the invoice).","items":{"$ref":"#/components/schemas/PaymentMeans"},"title":"Payment Means Array","type":"array"},"paymentMeansBic":{"description":"DEPRECATED. Use paymentMeansArray. The BIC (Swift) of the bank where the amount payable should be transferred to","pattern":"^[A-Z]{6}[2-9A-Z][0-9A-NP-Z]([A-Z0-9]{3}|X{3})?$","title":"BIC","type":"string"},"paymentMeansCode":{"description":"DEPRECATED. Use paymentMeansArray. How the invoice has been / will be paid. Use only online_payment_service (payment will be made or has been made by an online payment service), bank_card (e.g. debit card, credit card), direct_debit (the amount has been / will be taken out of the client's bank account), standing_agreement (an unspecified payment means known to both buyer and seller) or credit_transfer (the buyer will do / has done a bank transfer). The numeric codes are for legacy purposes, they should not be used.","enum":["online_payment_service","bank_card","direct_debit","standing_agreement","credit_transfer","se_bankgiro","se_plusgiro","aunz_npp","","1","30","31","42","48","49","57","58"],"title":"Payment Means Code","type":"string"},"paymentMeansIban":{"description":"DEPRECATED. Use paymentMeansArray. The IBAN the amount payable should be transferred to","title":"IBAN","type":"string"},"paymentMeansPaymentId":{"description":"DEPRECATED. Use the paymentId in the individual PaymentMeans object. The payment id that you will use to match the payment against the invoice.","title":"Payment Id","type":"string"},"paymentTerms":{"$ref":"#/components/schemas/PaymentTerms"},"preferredInvoiceType":{"default":"prefer_autodetect","description":"In auto mode, the choice between invoice or creditnote is made by Storecove based on what is appropriate for the receiver and the receiver country, in combination with the invoice amount sign. If you wish to state a preference, use this field. It is not guaranteed that the preference will be used, since it depends also on the receiver's document capabilities.","enum":["prefer_autodetect","prefer_invoice","prefer_creditnote"],"title":"Invoice Type","type":"string"},"prepaidAmount":{"description":"The amount already paid.","title":"Prepaid Amount","type":"number"},"priceMode":{"default":"price_mode_net","description":"The price mode. This is used to determine whether the prices are net or gross. Price Mode 'price_mode_gross' can only be used for \"x2y\": \"b2c\", sender countries ES, IT and PT, \"clearWithoutSending\": true and \"taxSystem\": \"tax_line_percentages\"","enum":["price_mode_net","price_mode_gross"],"title":"Price Mode","type":"string"},"projectReference":{"description":"DEPRECATED. Information about the project this invoice relates to.","title":"Project Reference","type":"string"},"references":{"description":"An array of references to other documents. Note that many syntaxes do not support multiple references of the same type in which case they will be concatenated with ','. Also, not all syntaxes support all documentTypes.","items":{"$ref":"#/components/schemas/Reference"},"minItems":0,"title":"References","type":"array"},"salesOrderId":{"description":"DEPRECATED. Use a reference object with a documentType 'sales_order'. A reference to an order for this invoice, assigned by the seller.","title":"Sales Order Id","type":"string"},"selfBillingMode":{"default":false,"description":"In self billing mode, the AccountingCustomerParty and the AccountingSupplierParty are be switched. Such an invoice can only be sent via email. Also, your account will need to allow the use of this mode, so before trying to use this please first contact Storecove.","title":"Self Billing Mode","type":"boolean"},"taxExemptReason":{"description":"DEPRECATED. Use Tax/category and specify this per invoice line. If you do specify this field, it will be applied to all invoice lines and it is an error to specify a Tax/category at the invoice line level. This field holds the reason no tax is present in the invoice. Note that this is an invoice level field and you cannot specify it per invoice line. This field is mandatory unless tax is present in the invoice.","enum":["export","reverse_charge","zero_rated","exempt","outside_scope","intra_community"],"type":"string"},"taxPointDate":{"description":"The tax date is the date on which the supply of goods or of services was made or completed or the date on which the payment on account was made insofar as that date can be determined and differs from the date of the issue of the invoice. EU 2006-112 Article 226 Point 7. Note: For the Dutch TAX authorities the tac date should be the same as the issue date.","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","title":"Tax date","type":"string"},"taxSubtotals":{"description":"An array of tax subtotals. This element is mandatory for taxSystem 'tax_line_percentages'.","items":{"$ref":"#/components/schemas/TaxSubtotal"},"minItems":0,"title":"Tax Subtotals","type":"array"},"taxSystem":{"default":"tax_line_amounts","description":"The tax system used for the invoice. The system 'tax_line_percentages' is preferred, but for historic purposes 'tax_line_amounts' is supported and the default. Since not all invoice formats that we are required to send support 'tax_line_amounts' we will need to convert the invoice to the 'tax_line_percentags' system if we are forced to send the invoice in that tax system. Note that an invoice must always contain tax information, even if that is 0% or an item or sender is exempt or tax is completely outside scope. In that case, use the correct tax categories (see <<_openapi_tax>>)","enum":["tax_line_amounts","tax_line_percentages"],"title":"Tax System","type":"string"},"taxesDutiesFees":{"description":"An array of taxes, duties and fees for this invoice. At this moment, the only invoice level tax allowed is the Italian '€2 bollo virtuale'","items":{"$ref":"#/components/schemas/Tax"},"maxItems":1,"minItems":0,"title":"Taxes, Duties and Fees","type":"array"},"transactionType":{"description":"The type of transaction. Currently used only for India.","enum":["b2b","sezwp","sezwop","expwp","expwop","dexp"],"title":"Transaction Type","type":"string"},"ublExtensions":{"description":"An array of ubl extensions.","items":{"type":"string"},"title":"UBL Extensions","type":"array"},"vatReverseCharge":{"default":false,"description":"DEPRECATED. Use taxExemptReason.","type":"boolean"},"x2y":{"default":"b2b","description":"The type of entities the document is sent from/to: b2b (business-to-business), b2g (business-to-government) or b2c (business-to-consumer). This field does not have a default, but it in mose cases it will be treated as b2b. Only when you explicitly specify b2g or b2c OR when it is clear from the context will a different value be used. For instance, when we see the document is being routed to DE:LWID or NL:OINO number, this tells us it is b2g. But in many cases we are unable to determine this and so it is best to always specify this field. Note that b2b_sez is for use inside India only.","enum":["b2b","b2g","b2c","b2b_sez"],"title":"x2y","type":"string"}},"required":["invoiceNumber","issueDate","accountingCustomerParty","invoiceLines","amountIncludingVat"],"title":"Invoice","type":"object"},"InvoiceData":{"description":"The invoice to send, in base64 encoded format. Provide either invoice, or invoiceData, but not both.","properties":{"conversionStrategy":{"description":"How to interpret the document.","enum":["ubl","cii","idoc"],"title":"Conversion Strategy","type":"string"},"document":{"description":"The base64 encoded version of the document.","minLength":5,"title":"Document","type":"string"}},"title":"Invoice Data","type":"object"},"InvoiceLine":{"properties":{"accountingCost":{"description":"The buyer's accounting cost centre for this invoice line, expressed as text.","minLength":1,"title":"Accounting Cost","type":"string"},"additionalItemProperties":{"description":"An array of additional item properties.","items":{"$ref":"#/components/schemas/AdditionalItemProperty"},"minItems":0,"title":"Additional Item Properties","type":"array"},"allowanceCharge":{"description":"The discount or surcharge on this item. Should be negative for discounts","title":"allowanceCharge","type":"number"},"allowanceCharges":{"description":"An array of allowance charges. NOTE: this is currently supported only when sending from/to Italy.","items":{"$ref":"#/components/schemas/LineAllowanceCharge"},"minItems":0,"title":"Allowance Charges","type":"array"},"amountExcludingTax":{"description":"The amount excluding tax. EXPERIMENTAL. Use amountExcludingVat.","nullable":true,"title":"amountExcludingTax","type":"number"},"amountExcludingVat":{"description":"The amount excluding VAT. Should equal quantity x itemPrice + allowanceCharge.","nullable":true,"title":"amountExcludingVat","type":"number"},"amountIncludingTax":{"description":"The amount including tax. Can only be used for \"priceMode\": \"price_mode_gross\". Use either this property or amountExcludingTax (amountExcludingVat).","nullable":true,"title":"amountIncludingTax","type":"number"},"buyersItemIdentification":{"description":"DEPRECATED. Use the references array with 'line_buyers_item_identification' documentType. The ID the buyer assigned to this item.","minLength":1,"title":"Buyers Item Identification","type":"string"},"description":{"description":"The description for this invoice line.","minLength":1,"title":"Description","type":"string"},"invoicePeriod":{"description":"The period (or specific date) to which the invoice line applies. Format: yyyy-mm-dd - yyyy-mm-dd.","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2} - [0-9]{4}-[0-9]{2}-[0-9]{2}$","title":"Invoice period","type":"string"},"itemPrice":{"default":1,"description":"The price per item (may be fractional)","title":"Item price","type":"number"},"lineId":{"description":"The id for this invoice line.","minLength":1,"title":"Invoice Line ID","type":"string"},"name":{"description":"A short name for this invoice line. If not provided, it will be taken from description and description will be set to an emtpy string.","minLength":1,"title":"Name","type":"string"},"note":{"description":"A note to add to the document line","title":"Note","type":"string"},"orderLineReferenceLineId":{"description":"A reference to the LineID of the order. The order itself is specified as the orderReference at the invoice level. It is not possible to specify an orderReference at the invoice line level. An invoice MUST at this time be for a single order only.","minLength":1,"title":"orderLineReferenceLineId","type":"string"},"quantity":{"default":1,"description":"The number of items (may be fractional).","title":"Quantity","type":"number"},"quantityUnitCode":{"default":"C62","description":"The unit of measure that applies to the invoiced quantity. Codes for unit of packaging from UNECE Recommendation No. 21 can be used in accordance with the descriptions in the \"Intro\" section of UN/ECE Recommendation 20, Revision 11 (2015): The 2 character alphanumeric code values in UNECE Recommendation 21 shall be used. To avoid duplication with existing code values in UNECE Recommendation No. 20, each code value from UNECE Recommendation 21 shall be prefixed with an “X”, resulting in a 3 alphanumeric code when used as a unit of measure. Note that the following additionally allowed codes are deprecated and will be converted to C62: 04, 05, 08, 16, 17, 18, 19, 26, 29, 30, 31, 32, 36, 43, 44, 45, 46, 47, 48, 53, 54, 62, 63, 64, 66, 69, 71, 72, 73, 76, 78, 84, 90, 92, 93, 94, 95, 96, 97, 98, 1A, 1B, 1C, 1D, 1E, 1F, 1G, 1H, 1J, 1K, 1L, 1M, 1X, 2V, 2W, 3E, 3G, 3H, 3I, 4A, 4B, 4E, 5C, 5F, 5G, 5H, 5I, 5K, 5P, 5Q, A1, A25, A50, A51, A52, A57, A58, A60, A61, A62, A63, A64, A65, A66, A67, A77, A78, A79, A80, A81, A82, A83, AJ, AM, AP, AR, ARE, ATT, AV, AW, B0, B2, B36, B37, B38, B39, B40, B5, B51, B6, B65, B9, BD, BE, BG, BH, BJ, BK, BL, BO, BR, BT, BW, BX, BZ, C1, C2, C4, C5, C6, C77, C98, CA, CH, CJ, CK, CL, CO, CQ, CR, CS, CT, CU, CV, CY, CZ, D14, D28, D35, D37, D38, D39, D40, D64, D66, D67, D7, D70, D71, D72, D75, D76, D79, D8, D9, D90, D92, D96, D97, D98, D99, DC, DE, DI, DQ, DR, DRM, DS, DU, DX, DY, E2, E3, E5, EC, EP, EV, F1, F9, FB, FD, FE, FG, FM, G7, GC, GD, GH, GK, GN, GRT, GT, GW, GY, GZ, H1, H2, HAR, HD, HE, HF, HI, HJ, HK, HL, HN, HO, HP, HS, HT, HY, IC, IF, II, IL, IM, IP, IT, JB, JG, JO, JR, K5, KD, KF, KG, KS, KTM, LC, LE, LI, LJ, LX, M0, MA, MF, MK, MQ, MT, MV, N2, NB, NBB, NC, ND, NE, NG, NH, NI, NJ, NN, NPL, NPR, NQ, NR, NRL, NTT, NV, NY, OP, OZ, P0, P3, P4, P6, P7, P8, P9, PA, PB, PE, PF, PG, PK, PL, PM, PN, PT, PU, PV, PW, PY, PZ, QD, QH, QK, QT, R4, RA, RD, RG, RK, RL, RN, RO, RS, RU, S5, S6, S7, S8, SA, SD, SE, SHT, SK, SL, SN, SO, SP, SS, SST, ST, SV, T1, T4, T5, T6, T7, T8, TA, TC, TD, TE, TF, TJ, TK, TL, TN, TQ, TR, TS, TSD, TSH, TT, TU, TV, TW, TY, UA, UD, UE, UF, UH, UM, VI, VQ, VS, W4, WH, WI, WR, WW, YL, YT, Z1, Z2, Z3, Z4, Z5, Z6, Z8","enum":["10","11","13","14","15","20","21","22","23","24","25","27","28","33","34","35","37","38","40","41","56","57","58","59","60","61","74","77","80","81","85","87","89","91","1I","2A","2B","2C","2G","2H","2I","2J","2K","2L","2M","2N","2P","2Q","2R","2U","2X","2Y","2Z","3B","3C","4C","4G","4H","4K","4L","4M","4N","4O","4P","4Q","4R","4T","4U","4W","4X","5A","5B","5E","5J","A10","A11","A12","A13","A14","A15","A16","A17","A18","A19","A2","A20","A21","A22","A23","A24","A26","A27","A28","A29","A3","A30","A31","A32","A33","A34","A35","A36","A37","A38","A39","A4","A40","A41","A42","A43","A44","A45","A47","A48","A49","A5","A53","A54","A55","A56","A59","A6","A68","A69","A7","A70","A71","A73","A74","A75","A76","A8","A84","A85","A86","A87","A88","A89","A9","A90","A91","A93","A94","A95","A96","A97","A98","A99","AA","AB","ACR","ACT","AD","AE","AH","AI","AK","AL","AMH","AMP","ANN","APZ","AQ","AS","ASM","ASU","ATM","AWG","AY","AZ","B1","B10","B11","B12","B13","B14","B15","B16","B17","B18","B19","B20","B21","B22","B23","B24","B25","B26","B27","B28","B29","B3","B30","B31","B32","B33","B34","B35","B4","B41","B42","B43","B44","B45","B46","B47","B48","B49","B50","B52","B53","B54","B55","B56","B57","B58","B59","B60","B61","B62","B63","B64","B66","B67","B68","B69","B7","B70","B71","B72","B73","B74","B75","B76","B77","B78","B79","B8","B80","B81","B82","B83","B84","B85","B86","B87","B88","B89","B90","B91","B92","B93","B94","B95","B96","B97","B98","B99","BAR","BB","BFT","BHP","BIL","BLD","BLL","BP","BPM","BQL","BTU","BUA","BUI","C0","C10","C11","C12","C13","C14","C15","C16","C17","C18","C19","C20","C21","C22","C23","C24","C25","C26","C27","C28","C29","C3","C30","C31","C32","C33","C34","C35","C36","C37","C38","C39","C40","C41","C42","C43","C44","C45","C46","C47","C48","C49","C50","C51","C52","C53","C54","C55","C56","C57","C58","C59","C60","C61","C62","C63","C64","C65","C66","C67","C68","C69","C7","C70","C71","C72","C73","C74","C75","C76","C78","C79","C8","C80","C81","C82","C83","C84","C85","C86","C87","C88","C89","C9","C90","C91","C92","C93","C94","C95","C96","C97","C99","CCT","CDL","CEL","CEN","CG","CGM","CKG","CLF","CLT","CMK","CMQ","CMT","CNP","CNT","COU","CTG","CTM","CTN","CUR","CWA","CWI","D03","D04","D1","D10","D11","D12","D13","D15","D16","D17","D18","D19","D2","D20","D21","D22","D23","D24","D25","D26","D27","D29","D30","D31","D32","D33","D34","D36","D41","D42","D43","D44","D45","D46","D47","D48","D49","D5","D50","D51","D52","D53","D54","D55","D56","D57","D58","D59","D6","D60","D61","D62","D63","D65","D68","D69","D73","D74","D77","D78","D80","D81","D82","D83","D85","D86","D87","D88","D89","D91","D93","D94","D95","DAA","DAD","DAY","DB","DD","DEC","DG","DJ","DLT","DMA","DMK","DMO","DMQ","DMT","DN","DPC","DPR","DPT","DRA","DRI","DRL","DT","DTN","DWT","DZN","DZP","E01","E07","E08","E09","E10","E12","E14","E15","E16","E17","E18","E19","E20","E21","E22","E23","E25","E27","E28","E30","E31","E32","E33","E34","E35","E36","E37","E38","E39","E4","E40","E41","E42","E43","E44","E45","E46","E47","E48","E49","E50","E51","E52","E53","E54","E55","E56","E57","E58","E59","E60","E61","E62","E63","E64","E65","E66","E67","E68","E69","E70","E71","E72","E73","E74","E75","E76","E77","E78","E79","E80","E81","E82","E83","E84","E85","E86","E87","E88","E89","E90","E91","E92","E93","E94","E95","E96","E97","E98","E99","EA","EB","EQ","F01","F02","F03","F04","F05","F06","F07","F08","F10","F11","F12","F13","F14","F15","F16","F17","F18","F19","F20","F21","F22","F23","F24","F25","F26","F27","F28","F29","F30","F31","F32","F33","F34","F35","F36","F37","F38","F39","F40","F41","F42","F43","F44","F45","F46","F47","F48","F49","F50","F51","F52","F53","F54","F55","F56","F57","F58","F59","F60","F61","F62","F63","F64","F65","F66","F67","F68","F69","F70","F71","F72","F73","F74","F75","F76","F77","F78","F79","F80","F81","F82","F83","F84","F85","F86","F87","F88","F89","F90","F91","F92","F93","F94","F95","F96","F97","F98","F99","FAH","FAR","FBM","FC","FF","FH","FIT","FL","FOT","FP","FR","FS","FTK","FTQ","G01","G04","G05","G06","G08","G09","G10","G11","G12","G13","G14","G15","G16","G17","G18","G19","G2","G20","G21","G23","G24","G25","G26","G27","G28","G29","G3","G30","G31","G32","G33","G34","G35","G36","G37","G38","G39","G40","G41","G42","G43","G44","G45","G46","G47","G48","G49","G50","G51","G52","G53","G54","G55","G56","G57","G58","G59","G60","G61","G62","G63","G64","G65","G66","G67","G68","G69","G70","G71","G72","G73","G74","G75","G76","G77","G78","G79","G80","G81","G82","G83","G84","G85","G86","G87","G88","G89","G90","G91","G92","G93","G94","G95","G96","G97","G98","G99","GB","GBQ","GDW","GE","GF","GFI","GGR","GIA","GIC","GII","GIP","GJ","GL","GLD","GLI","GLL","GM","GO","GP","GQ","GRM","GRN","GRO","GV","GWH","H03","H04","H05","H06","H07","H08","H09","H10","H11","H12","H13","H14","H15","H16","H18","H19","H20","H21","H22","H23","H24","H25","H26","H27","H28","H29","H30","H31","H32","H33","H34","H35","H36","H37","H38","H39","H40","H41","H42","H43","H44","H45","H46","H47","H48","H49","H50","H51","H52","H53","H54","H55","H56","H57","H58","H59","H60","H61","H62","H63","H64","H65","H66","H67","H68","H69","H70","H71","H72","H73","H74","H75","H76","H77","H79","H80","H81","H82","H83","H84","H85","H87","H88","H89","H90","H91","H92","H93","H94","H95","H96","H98","H99","HA","HBA","HBX","HC","HDW","HEA","HGM","HH","HIU","HKM","HLT","HM","HMQ","HMT","HPA","HTZ","HUR","IA","IE","INH","INK","INQ","ISD","IU","IV","J10","J12","J13","J14","J15","J16","J17","J18","J19","J2","J20","J21","J22","J23","J24","J25","J26","J27","J28","J29","J30","J31","J32","J33","J34","J35","J36","J38","J39","J40","J41","J42","J43","J44","J45","J46","J47","J48","J49","J50","J51","J52","J53","J54","J55","J56","J57","J58","J59","J60","J61","J62","J63","J64","J65","J66","J67","J68","J69","J70","J71","J72","J73","J74","J75","J76","J78","J79","J81","J82","J83","J84","J85","J87","J90","J91","J92","J93","J95","J96","J97","J98","J99","JE","JK","JM","JNT","JOU","JPS","JWL","K1","K10","K11","K12","K13","K14","K15","K16","K17","K18","K19","K2","K20","K21","K22","K23","K26","K27","K28","K3","K30","K31","K32","K33","K34","K35","K36","K37","K38","K39","K40","K41","K42","K43","K45","K46","K47","K48","K49","K50","K51","K52","K53","K54","K55","K58","K59","K6","K60","K61","K62","K63","K64","K65","K66","K67","K68","K69","K70","K71","K73","K74","K75","K76","K77","K78","K79","K80","K81","K82","K83","K84","K85","K86","K87","K88","K89","K90","K91","K92","K93","K94","K95","K96","K97","K98","K99","KA","KAT","KB","KBA","KCC","KDW","KEL","KGM","KGS","KHY","KHZ","KI","KIC","KIP","KJ","KJO","KL","KLK","KLX","KMA","KMH","KMK","KMQ","KMT","KNI","KNM","KNS","KNT","KO","KPA","KPH","KPO","KPP","KR","KSD","KSH","KT","KTN","KUR","KVA","KVR","KVT","KW","KWH","KWO","KWT","KX","L10","L11","L12","L13","L14","L15","L16","L17","L18","L19","L2","L20","L21","L23","L24","L25","L26","L27","L28","L29","L30","L31","L32","L33","L34","L35","L36","L37","L38","L39","L40","L41","L42","L43","L44","L45","L46","L47","L48","L49","L50","L51","L52","L53","L54","L55","L56","L57","L58","L59","L60","L63","L64","L65","L66","L67","L68","L69","L70","L71","L72","L73","L74","L75","L76","L77","L78","L79","L80","L81","L82","L83","L84","L85","L86","L87","L88","L89","L90","L91","L92","L93","L94","L95","L96","L98","L99","LA","LAC","LBR","LBT","LD","LEF","LF","LH","LK","LM","LN","LO","LP","LPA","LR","LS","LTN","LTR","LUB","LUM","LUX","LY","M1","M10","M11","M12","M13","M14","M15","M16","M17","M18","M19","M20","M21","M22","M23","M24","M25","M26","M27","M29","M30","M31","M32","M33","M34","M35","M36","M37","M38","M39","M4","M40","M41","M42","M43","M44","M45","M46","M47","M48","M49","M5","M50","M51","M52","M53","M55","M56","M57","M58","M59","M60","M61","M62","M63","M64","M65","M66","M67","M68","M69","M7","M70","M71","M72","M73","M74","M75","M76","M77","M78","M79","M80","M81","M82","M83","M84","M85","M86","M87","M88","M89","M9","M90","M91","M92","M93","M94","M95","M96","M97","M98","M99","MAH","MAL","MAM","MAR","MAW","MBE","MBF","MBR","MC","MCU","MD","MGM","MHZ","MIK","MIL","MIN","MIO","MIU","MLD","MLT","MMK","MMQ","MMT","MND","MON","MPA","MQH","MQS","MSK","MTK","MTQ","MTR","MTS","MVA","MWH","N1","N10","N11","N12","N13","N14","N15","N16","N17","N18","N19","N20","N21","N22","N23","N24","N25","N26","N27","N28","N29","N3","N30","N31","N32","N33","N34","N35","N36","N37","N38","N39","N40","N41","N42","N43","N44","N45","N46","N47","N48","N49","N50","N51","N52","N53","N54","N55","N56","N57","N58","N59","N60","N61","N62","N63","N64","N65","N66","N67","N68","N69","N70","N71","N72","N73","N74","N75","N76","N77","N78","N79","N80","N81","N82","N83","N84","N85","N86","N87","N88","N89","N90","N91","N92","N93","N94","N95","N96","N97","N98","N99","NA","NAR","NCL","NEW","NF","NIL","NIU","NL","NM3","NMI","NMP","NPT","NT","NU","NX","OA","ODE","OHM","ON","ONZ","OPM","OT","OZA","OZI","P1","P10","P11","P12","P13","P14","P15","P16","P17","P18","P19","P2","P20","P21","P22","P23","P24","P25","P26","P27","P28","P29","P30","P31","P32","P33","P34","P35","P36","P37","P38","P39","P40","P41","P42","P43","P44","P45","P46","P47","P48","P49","P5","P50","P51","P52","P53","P54","P55","P56","P57","P58","P59","P60","P61","P62","P63","P64","P65","P66","P67","P68","P69","P70","P71","P72","P73","P74","P75","P76","P77","P78","P79","P80","P81","P82","P83","P84","P85","P86","P87","P88","P89","P90","P91","P92","P93","P94","P95","P96","P97","P98","P99","PAL","PD","PFL","PGL","PI","PLA","PO","PQ","PR","PS","PTD","PTI","PTL","PTN","Q10","Q11","Q12","Q13","Q14","Q15","Q16","Q17","Q18","Q19","Q20","Q21","Q22","Q23","Q24","Q25","Q26","Q27","Q28","Q29","Q30","Q31","Q32","Q33","Q34","Q35","Q36","Q37","Q38","Q39","Q40","Q3","QA","QAN","QB","QR","QTD","QTI","QTL","QTR","R1","R9","RH","RM","ROM","RP","RPM","RPS","RT","S3","S4","SAN","SCO","SCR","SEC","SET","SG","SIE","SM3","SMI","SQ","SQR","SR","STC","STI","STK","STL","STN","STW","SW","SX","SYR","T0","T3","TAH","TAN","TI","TIC","TIP","TKM","TMS","TNE","TP","TPI","TPR","TQD","TRL","TST","TTS","U1","U2","UB","UC","VA","VLT","VP","W2","WA","WB","WCD","WE","WEB","WEE","WG","WHR","WM","WSD","WTT","X1","YDK","YDQ","YRD","Z11","ZP","ZZ","X1A","X1B","X1D","X1F","X1G","X1W","X2C","X3A","X3H","X43","X44","X4A","X4B","X4C","X4D","X4F","X4G","X4H","X5H","X5L","X5M","X6H","X6P","X7A","X7B","X8A","X8B","X8C","XAA","XAB","XAC","XAD","XAE","XAF","XAG","XAH","XAI","XAJ","XAL","XAM","XAP","XAT","XAV","XB4","XBA","XBB","XBC","XBD","XBE","XBF","XBG","XBH","XBI","XBJ","XBK","XBL","XBM","XBN","XBO","XBP","XBQ","XBR","XBS","XBT","XBU","XBV","XBW","XBX","XBY","XBZ","XCA","XCB","XCC","XCD","XCE","XCF","XCG","XCH","XCI","XCJ","XCK","XCL","XCM","XCN","XCO","XCP","XCQ","XCR","XCS","XCT","XCU","XCV","XCW","XCX","XCY","XCZ","XDA","XDB","XDC","XDG","XDH","XDI","XDJ","XDK","XDL","XDM","XDN","XDP","XDR","XDS","XDT","XDU","XDV","XDW","XDX","XDY","XEC","XED","XEE","XEF","XEG","XEH","XEI","XEN","XFB","XFC","XFD","XFE","XFI","XFL","XFO","XFP","XFR","XFT","XFW","XFX","XGB","XGI","XGL","XGR","XGU","XGY","XGZ","XHA","XHB","XHC","XHG","XHN","XHR","XIA","XIB","XIC","XID","XIE","XIF","XIG","XIH","XIK","XIL","XIN","XIZ","XJB","XJC","XJG","XJR","XJT","XJY","XKG","XKI","XLE","XLG","XLT","XLU","XLV","XLZ","XMA","XMB","XMC","XME","XMR","XMS","XMT","XMW","XMX","XNA","XNE","XNF","XNG","XNS","XNT","XNU","XNV","XOA","XOB","XOC","XOD","XOE","XOF","XOK","XOT","XOU","XP2","XPA","XPB","XPC","XPD","XPE","XPF","XPG","XPH","XPI","XPJ","XPK","XPL","XPN","XPO","XPP","XPR","XPT","XPU","XPV","XPX","XPY","XPZ","XQA","XQB","XQC","XQD","XQF","XQG","XQH","XQJ","XQK","XQL","XQM","XQN","XQP","XQQ","XQR","XQS","XRD","XRG","XRJ","XRK","XRL","XRO","XRT","XRZ","XSA","XSB","XSC","XSD","XSE","XSH","XSI","XSK","XSL","XSM","XSO","XSP","XSS","XST","XSU","XSV","XSW","XSY","XSZ","XT1","XTB","XTC","XTD","XTE","XTG","XTI","XTK","XTL","XTN","XTO","XTR","XTS","XTT","XTU","XTV","XTW","XTY","XTZ","XUC","XUN","XVA","XVG","XVI","XVK","XVL","XVO","XVP","XVQ","XVN","XVR","XVS","XVY","XWA","XWB","XWC","XWD","XWF","XWG","XWH","XWJ","XWK","XWL","XWM","XWN","XWP","XWQ","XWR","XWS","XWT","XWU","XWV","XWW","XWX","XWY","XWZ","XXA","XXB","XXC","XXD","XXF","XXG","XXH","XXJ","XXK","XYA","XYB","XYC","XYD","XYF","XYG","XYH","XYJ","XYK","XYL","XYM","XYN","XYP","XYQ","XYR","XYS","XYT","XYV","XYW","XYX","XYY","XYZ","XZA","XZB","XZC","XZD","XZF","XZG","XZH","XZJ","XZK","XZL","XZM","XZN","XZP","XZQ","XZR","XZS","XZT","XZU","XZV","XZW","XZX","XZY","XZZ","04","05","08","16","17","18","19","26","29","30","31","32","36","43","44","45","46","47","48","53","54","62","63","64","66","69","71","72","73","76","78","84","90","92","93","94","95","96","97","98","1A","1B","1C","1D","1E","1F","1G","1H","1J","1K","1L","1M","1X","2V","2W","3E","3G","3H","3I","4A","4B","4E","5C","5F","5G","5H","5I","5K","5P","5Q","A1","A25","A50","A51","A52","A57","A58","A60","A61","A62","A63","A64","A65","A66","A67","A77","A78","A79","A80","A81","A82","A83","AJ","AM","AP","AR","ARE","ATT","AV","AW","B0","B2","B36","B37","B38","B39","B40","B5","B51","B6","B65","B9","BD","BE","BG","BH","BJ","BK","BL","BO","BR","BT","BW","BX","BZ","C1","C2","C4","C5","C6","C77","C98","CA","CH","CJ","CK","CL","CO","CQ","CR","CS","CT","CU","CV","CY","CZ","D14","D28","D35","D37","D38","D39","D40","D64","D66","D67","D7","D70","D71","D72","D75","D76","D79","D8","D9","D90","D92","D96","D97","D98","D99","DC","DE","DI","DQ","DR","DRM","DS","DU","DX","DY","E2","E3","E5","EC","EP","EV","F1","F9","FB","FD","FE","FG","FM","G7","GC","GD","GH","GK","GN","GRT","GT","GW","GY","GZ","H1","H2","HAR","HD","HE","HF","HI","HJ","HK","HL","HN","HO","HP","HS","HT","HY","IC","IF","II","IL","IM","IP","IT","JB","JG","JO","JR","K5","KD","KF","KG","KS","KTM","LC","LE","LI","LJ","LX","M0","MA","MF","MK","MQ","MT","MV","N2","NB","NBB","NC","ND","NE","NG","NH","NI","NJ","NN","NPL","NPR","NQ","NR","NRL","NTT","NV","NY","OP","OZ","P0","P3","P4","P6","P7","P8","P9","PA","PB","PE","PF","PG","PK","PL","PM","PN","PT","PU","PV","PW","PY","PZ","QD","QH","QK","QT","R4","RA","RD","RG","RK","RL","RN","RO","RS","RU","S5","S6","S7","S8","SA","SD","SE","SHT","SK","SL","SN","SO","SP","SS","SST","ST","SV","T1","T4","T5","T6","T7","T8","TA","TC","TD","TE","TF","TJ","TK","TL","TN","TQ","TR","TS","TSD","TSH","TT","TU","TV","TW","TY","UA","UD","UE","UF","UH","UM","VI","VQ","VS","W4","WH","WI","WR","WW","YL","YT","Z1","Z2","Z3","Z4","Z5","Z6","Z8"],"title":"Quantity Unit Code","type":"string"},"references":{"description":"An array of references to other documents or codes. Note that many syntaxes do not support multiple references of the same type in which case they will be concatenated with ','. Also, not all syntaxes support all documentTypes.","items":{"$ref":"#/components/schemas/Reference"},"minItems":0,"title":"References","type":"array"},"sellersItemIdentification":{"description":"DEPRECATED. Use the references array with 'line_sellers_item_identification' documentType. The ID the seller assigned to this item.","minLength":1,"title":"Sellers Item Identification","type":"string"},"standardItemIdentification":{"description":"Standardized ID for the item.","minLength":1,"title":"Standard Item Identification","type":"string"},"standardItemIdentificationSchemeAgencyId":{"default":"9","description":"DEPRECATED. Use the references array with 'line_standard_item_identification' documentType. The scheme agency for the standardized ID for the item.","minLength":1,"title":"Standard Item Identification Scheme Agency","type":"string"},"standardItemIdentificationSchemeId":{"default":"GTIN","description":"DEPRECATED. Use the references array with 'line_standard_item_identification' documentType. The scheme for the standardized ID for the item.","minLength":1,"title":"Standard Item Identification Scheme","type":"string"},"tax":{"$ref":"#/components/schemas/Tax"},"taxesDutiesFees":{"description":"An array of taxes, duties and fees for this invoice line. Multiple taxesDutiesFees items is allowed only for IN (India) and US (USA) taxes. All other countries can only have a single Tax item in this array.","items":{"$ref":"#/components/schemas/Tax"},"minItems":0,"title":"Taxes, Duties and Fees","type":"array"}},"title":"Invoice line","type":"object"},"InvoiceRecipient":{"description":"The different ways to send the invoice to the recipient. The publicIdentifiers are used to send via the Peppol network, if the recipient is not registered on the Peppol network, the invoice will be sent to the email addresses in the emails property. This property is only mandatory when sending the invoice data using the <<_openapi_invoice>> property, not when sending using the <<_openapi_invoicedata>> property, in which case this information will be extracted from the <<_openapi_invoicedata>> object. If you do specify an <<_openapi_invoicerecipient>> object and an <<_openapi_invoicedata>> object, the data from the two will be merged.","properties":{"emails":{"description":"The email addresses the invoice should be sent to if none of the other identifiers can be used","items":{"description":"The email address the invoice should be sent to","format":"email","title":"Email","type":"string"},"title":"Fallback email","type":"array"},"publicIdentifiers":{"$ref":"#/components/schemas/PublicIdentifiers"}},"title":"Recipient ids","type":"object"},"InvoiceRecipientPreflight":{"description":"Identifies the invoice recipient to preflight","properties":{"publicIdentifiers":{"$ref":"#/components/schemas/PublicIdentifiers"}},"title":"Invoice recipient preflight","type":"object"},"InvoiceResponseClarification":{"description":"A clarification for why a received invoice was rejected (RE) or under query (UQ) and what action to take.","properties":{"clarification":{"description":"A textual description of the clarification","title":"Clarification","type":"string"},"clarificationCode":{"description":"The code for the clarification. For details see https://docs.peppol.eu/poacc/upgrade-3/codelist/OPStatusReason/ and https://docs.peppol.eu/poacc/upgrade-3/codelist/OPStatusAction/","enum":["NON","REF","LEG","REC","QUA","DEL","PRI","QTY","ITM","PAY","UNR","FIN","PPD","OTH","NOA","PIN","NIN","CNF","CNP","CNA"],"title":"Clarification Code","type":"string"},"clarificationCodeType":{"description":"The type of the clarification.","enum":["OPStatusReason","OPStatusAction"],"title":"Clarification Code Type","type":"string"},"conditions":{"description":"A list of conditions that triggered the error. This is only included for receiving in webhooks. You cannot currently send these conditions.","items":{"$ref":"#/components/schemas/InvoiceResponseCondition"},"minItems":0,"title":"Conditions","type":"array"}},"title":"Invoice Response Clarification","type":"object"},"InvoiceResponseCondition":{"description":"Specifies an error in the received invoice.","properties":{"fieldCode":{"description":"The code of the field with the error. Find the element here: https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/ and then get the field's Business term.","title":"Field Code","type":"string"},"fieldValue":{"description":"The (error) value of the field.","title":"Field value","type":"string"}},"required":["fieldCode","fieldValue"],"title":"Invoice Response Condition","type":"object"},"InvoiceSubmission":{"description":"DEPRECATED. The invoice you want Storecove to process, with some meta-data.","properties":{"attachments":{"description":"An array of attachments. You may provide up to 10 attchments, but the total size must not exceed 10MB after Base64 encoding.","items":{"$ref":"#/components/schemas/Attachment"},"maxItems":10,"title":"Attachments","type":"array"},"createPrimaryImage":{"description":"DEPRECATED. In the future we will no longer support creating PDF invoices. Whether or not to create a primary image (PDF) if one is not provided. For customers who started from December 1st 2022, the default is false. For customers who started before that, the default is true.","title":"Create Primary Image","type":"boolean"},"document":{"description":"DEPRECATED. Use attachments.","title":"Document","type":"string"},"documentUrl":{"description":"DEPRECATED. Use attachments.","format":"uri","title":"Document Url","type":"string"},"idempotencyGuid":{"description":"A guid that you generated for this InvoiceSubmission to achieve idempotency. If you submit multiple documents with the same idempotencyGuid, only the first one will be processed.","maxLength":36,"minLength":36,"title":"Idempotency GUID","type":"string"},"invoice":{"$ref":"#/components/schemas/Invoice"},"invoiceData":{"$ref":"#/components/schemas/InvoiceData"},"invoiceRecipient":{"$ref":"#/components/schemas/InvoiceRecipient"},"legalEntityId":{"description":"The id of the LegalEntity this invoice should be sent for.","title":"The LegalEntity id","type":"integer"},"legalSupplierId":{"description":"DEPRECATED. Use legalEntityId","title":"The legal supplier id","type":"integer"},"mode":{"description":"DEPRECATED.","enum":["direct"],"title":"Mode","type":"string"},"routing":{"$ref":"#/components/schemas/Routing"},"supplierId":{"description":"DEPRECATED.","title":"Supplier id","type":"integer"}},"title":"Invoice submission","type":"object"},"InvoiceSubmissionActionEvidence":{"properties":{"receiver_response":{"description":"The response the receiver sent.","title":"Receiver Response","type":"string"},"transmission_datetime":{"description":"The DateTime of the transmission, as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z.","title":"Transmission DateTime","type":"string"},"transmission_result":{"description":"The result of this transmission.","enum":["unknown","accepted","rejected","send_error","internal_error"],"title":"Transmission Result","type":"string"},"transmission_type":{"description":"How the document was transmitted.","enum":["email","edi","as2","peppol","sandbox"],"title":"Transmission Type","type":"string"},"transmitted_document":{"description":"The document that was transmitted.","title":"Transmitted Document","type":"string"}}},"InvoiceSubmissionEvidence":{"properties":{"actions":{"description":"An array of actions taken to deliver the document.","items":{"$ref":"#/components/schemas/InvoiceSubmissionActionEvidence"},"title":"Actions","type":"array"},"guid":{"description":"The guid for the InvoiceSubmission.","title":"GUID","type":"string"},"status":{"description":"The overall status for this InvoiceSubmission.","title":"Status","type":"string"}}},"InvoiceSubmissionResult":{"description":"The result of an invoice submission","properties":{"guid":{"description":"A (V4) GUID for the invoice submission","title":"GUID","type":"string"}},"title":"Invoice submission result","type":"object"},"LegalEntity":{"allOf":[{"$ref":"#/components/schemas/LegalEntityUpdate"},{"properties":{"peppol_identifiers":{"items":{"$ref":"#/components/schemas/PeppolIdentifier"},"type":"array"}}},{"properties":{"additional_tax_identifiers":{"items":{"$ref":"#/components/schemas/AdditionalTaxIdentifier"},"type":"array"}}},{"properties":{"api_keys":{"items":{"type":"string"},"type":"array"}}}]},"LegalEntityCreate":{"properties":{"advertisements":{"default":["invoice"],"description":"A list of document types to advertise. Use if this LegalEntity needs the ability to receive more than only invoice documents.","items":{"description":"A document type to advertise.","enum":["invoice","invoice_response","order","ordering","order_response"],"title":"Document type","type":"string"},"title":"Advertisements","type":"array"},"city":{"description":"The city.","maxLength":64,"minLength":2,"title":"City","type":"string"},"country":{"$ref":"#/components/schemas/Country"},"county":{"description":"County, if applicable","maxLength":64,"title":"County","type":"string"},"line1":{"description":"The first address line.","maxLength":192,"minLength":2,"title":"Address line 1","type":"string"},"line2":{"description":"The second address line, if applicable","maxLength":192,"title":"Address line 2","type":"string"},"party_name":{"description":"The name of the company.","maxLength":64,"minLength":2,"title":"Company name","type":"string"},"public":{"default":true,"description":"Whether or not this LegalEntity is public. Public means it will be entered into the PEPPOL directory at https://directory.peppol.eu/","title":"Public","type":"boolean"},"rea":{"$ref":"#/components/schemas/Rea"},"tenant_id":{"description":"The id of the tenant, to be used in case of single-tenant solutions that share webhook URLs. This property will included in webhook events.","maxLength":64,"title":"Tenant Id","type":"string"},"third_party_password":{"description":"The password to use to authenticate to a system through which to send the document, or to obtain tax authority approval to send it. This field is currently relevant only for India and mandatory when creating an IN LegalEntity.","maxLength":64,"minLength":2,"title":"Password","type":"string"},"third_party_username":{"description":"The username to use to authenticate to a system through which to send the document, or to obtain tax authority approval to send it. This field is currently relevant only for India and mandatory when creating an IN LegalEntity.","maxLength":64,"minLength":2,"title":"Username","type":"string"},"zip":{"description":"The zipcode.","maxLength":32,"minLength":2,"title":"Zipcode","type":"string"}},"required":["party_name","line1","city","zip","country"]},"LegalEntityUpdate":{"properties":{"advertisements":{"default":["invoice"],"description":"A list of document types to advertise. Use if this LegalEntity needs the ability to receive more than only invoice documents.","items":{"description":"A document type to advertise.","enum":["invoice","invoice_response","order","ordering","order_response"],"title":"Document type","type":"string"},"title":"Advertisements","type":"array"},"city":{"description":"The city.","maxLength":64,"minLength":2,"title":"City","type":"string"},"country":{"$ref":"#/components/schemas/Country"},"county":{"description":"County, if applicable","maxLength":64,"title":"County","type":"string"},"id":{"description":"The Storecove assigned id for the LegalEntity.","format":"int64","title":"Id","type":"integer"},"line1":{"description":"The first address line.","maxLength":192,"minLength":2,"title":"Address line 1","type":"string"},"line2":{"description":"The second address line, if applicable","maxLength":192,"title":"Address line 2","type":"string"},"party_name":{"description":"The name of the company.","maxLength":64,"minLength":2,"title":"Company name","type":"string"},"public":{"default":true,"description":"Whether or not this LegalEntity is public. Public means it will be listed in the PEPPOL directory at https://directory.peppol.eu/ which is normally what you want. If you have a good reason to not want the LegalEntity listed, provide false. This property is ignored when for country SG, where it is always true.","title":"Public","type":"boolean"},"rea":{"$ref":"#/components/schemas/Rea"},"smart_inbox":{"description":"DEPRECATED. Use the <<_openapi_receiveddocuments_resource>> endpoint. The email address of the Smart Inbox for this LegalEntity.","title":"Smart Inbox Email Address","type":"string"},"tenant_id":{"description":"The id of the tenant, to be used in case of multi-tenant solutions. This property will included in webhook events.","maxLength":64,"title":"Tenant Id","type":"string"},"third_party_password":{"description":"The password to use to authenticate to a system through which to send the document, or to obtain tax authority approval to send it. This field is currently relevant only for India and mandatory when creating an IN LegalEntity.","maxLength":64,"minLength":2,"title":"Password","type":"string"},"third_party_username":{"description":"The username to use to authenticate to a system through which to send the document, or to obtain tax authority approval to send it. This field is currently relevant only for India and mandatory when creating an IN LegalEntity.","maxLength":64,"minLength":2,"title":"Username","type":"string"},"zip":{"description":"The zipcode.","maxLength":32,"minLength":2,"title":"Zipcode","type":"string"}}},"LineAllowanceCharge":{"properties":{"amountExcludingTax":{"description":"The amount for the allowance or charge, excluding tax.","title":"Amount Excluding Tax","type":"number"},"baseAmountExcludingTax":{"description":"The base amount for the allowance or charge, excluding tax.","title":"Base Amount Excluding Tax","type":"number"},"reason":{"description":"The reason for the allowance or charge, free text","title":"Reason","type":"string"},"reasonCode":{"description":"Do not use. Contact Storecove first if you want to use this field.","title":"Reason Code","type":"string"}},"required":["amountExcludingTax"],"title":"Allowance or Charge","type":"object"},"LineDelivery":{"properties":{"deliveryLocation":{"properties":{"id":{"description":"The location identifier.","minLength":2,"title":"Identifier","type":"string"},"schemeId":{"description":"The schemeId of the location identifier (e.g. '0088')","title":"Identifier Scheme ID","type":"string"}},"type":"object"}},"type":"object"},"OrderLine":{"properties":{"accountingCost":{"description":"The buyer's accounting cost centre for this line.","minLength":1,"title":"Accounting Cost","type":"string"},"additionalItemProperties":{"description":"An array of additional item properties.","items":{"$ref":"#/components/schemas/AdditionalItemProperty"},"minItems":0,"title":"Additional Item Properties","type":"array"},"allowPartialDelivery":{"default":false,"description":"Whether or not the line items must be delivered in a single shipment.","title":"Allow Partial Delivery","type":"boolean"},"allowanceCharges":{"description":"An array of allowance charges.","items":{"$ref":"#/components/schemas/LineAllowanceCharge"},"minItems":0,"title":"Allowance Charges","type":"array"},"amountExcludingTax":{"description":"The amount excluding tax. Should equal quantity x itemPrice + allowanceCharge.","title":"amountExcludingTax","type":"number"},"baseQuantity":{"default":1,"description":"The number of items the price is for.","title":"Base Quantity","type":"number"},"delivery":{"$ref":"#/components/schemas/LineDelivery"},"description":{"description":"The description for this line.","maxLength":255,"minLength":1,"title":"Description","type":"string"},"itemPrice":{"default":1,"description":"The price per item (may be fractional)","title":"Item price","type":"number"},"lineId":{"description":"The id for this invoice line.","minLength":1,"title":"Invoice Line ID","type":"string"},"lotNumberIds":{"description":"An identifier for the production lot which the line items come from.","items":{"maxLength":128,"type":"string"},"minItems":0,"title":"Lot Number Ids","type":"array"},"name":{"description":"A short name for this line.","maxLength":255,"minLength":1,"title":"Name","type":"string"},"note":{"description":"A note to add to the line","maxLength":255,"title":"Note","type":"string"},"quantity":{"default":1,"description":"The number of items (may be fractional).","title":"Quantity","type":"number"},"quantityUnitCode":{"default":"C62","description":"The unit of measure that applies to the quantity. Codes for unit of packaging from UNECE Recommendation No. 21 can be used in accordance with the descriptions in the \"Intro\" section of UN/ECE Recommendation 20, Revision 11 (2015): The 2 character alphanumeric code values in UNECE Recommendation 21 shall be used. To avoid duplication with existing code values in UNECE Recommendation No. 20, each code value from UNECE Recommendation 21 shall be prefixed with an “X”, resulting in a 3 alphanumeric code when used as a unit of measure. Note that the following additionally allowed codes are deprecated and will be converted to C62: 04, 05, 08, 16, 17, 18, 19, 26, 29, 30, 31, 32, 36, 43, 44, 45, 46, 47, 48, 53, 54, 62, 63, 64, 66, 69, 71, 72, 73, 76, 78, 84, 90, 92, 93, 94, 95, 96, 97, 98, 1A, 1B, 1C, 1D, 1E, 1F, 1G, 1H, 1J, 1K, 1L, 1M, 1X, 2V, 2W, 3E, 3G, 3H, 3I, 4A, 4B, 4E, 5C, 5F, 5G, 5H, 5I, 5K, 5P, 5Q, A1, A25, A50, A51, A52, A57, A58, A60, A61, A62, A63, A64, A65, A66, A67, A77, A78, A79, A80, A81, A82, A83, AJ, AM, AP, AR, ARE, ATT, AV, AW, B0, B2, B36, B37, B38, B39, B40, B5, B51, B6, B65, B9, BD, BE, BG, BH, BJ, BK, BL, BO, BR, BT, BW, BX, BZ, C1, C2, C4, C5, C6, C77, C98, CA, CH, CJ, CK, CL, CO, CQ, CR, CS, CT, CU, CV, CY, CZ, D14, D28, D35, D37, D38, D39, D40, D64, D66, D67, D7, D70, D71, D72, D75, D76, D79, D8, D9, D90, D92, D96, D97, D98, D99, DC, DE, DI, DQ, DR, DRM, DS, DU, DX, DY, E2, E3, E5, EC, EP, EV, F1, F9, FB, FD, FE, FG, FM, G7, GC, GD, GH, GK, GN, GRT, GT, GW, GY, GZ, H1, H2, HAR, HD, HE, HF, HI, HJ, HK, HL, HN, HO, HP, HS, HT, HY, IC, IF, II, IL, IM, IP, IT, JB, JG, JO, JR, K5, KD, KF, KG, KS, KTM, LC, LE, LI, LJ, LX, M0, MA, MF, MK, MQ, MT, MV, N2, NB, NBB, NC, ND, NE, NG, NH, NI, NJ, NN, NPL, NPR, NQ, NR, NRL, NTT, NV, NY, OP, OZ, P0, P3, P4, P6, P7, P8, P9, PA, PB, PE, PF, PG, PK, PL, PM, PN, PT, PU, PV, PW, PY, PZ, QD, QH, QK, QT, R4, RA, RD, RG, RK, RL, RN, RO, RS, RU, S5, S6, S7, S8, SA, SD, SE, SHT, SK, SL, SN, SO, SP, SS, SST, ST, SV, T1, T4, T5, T6, T7, T8, TA, TC, TD, TE, TF, TJ, TK, TL, TN, TQ, TR, TS, TSD, TSH, TT, TU, TV, TW, TY, UA, UD, UE, UF, UH, UM, VI, VQ, VS, W4, WH, WI, WR, WW, YL, YT, Z1, Z2, Z3, Z4, Z5, Z6, Z8","enum":["10","11","13","14","15","20","21","22","23","24","25","27","28","33","34","35","37","38","40","41","56","57","58","59","60","61","74","77","80","81","85","87","89","91","1I","2A","2B","2C","2G","2H","2I","2J","2K","2L","2M","2N","2P","2Q","2R","2U","2X","2Y","2Z","3B","3C","4C","4G","4H","4K","4L","4M","4N","4O","4P","4Q","4R","4T","4U","4W","4X","5A","5B","5E","5J","A10","A11","A12","A13","A14","A15","A16","A17","A18","A19","A2","A20","A21","A22","A23","A24","A26","A27","A28","A29","A3","A30","A31","A32","A33","A34","A35","A36","A37","A38","A39","A4","A40","A41","A42","A43","A44","A45","A47","A48","A49","A5","A53","A54","A55","A56","A59","A6","A68","A69","A7","A70","A71","A73","A74","A75","A76","A8","A84","A85","A86","A87","A88","A89","A9","A90","A91","A93","A94","A95","A96","A97","A98","A99","AA","AB","ACR","ACT","AD","AE","AH","AI","AK","AL","AMH","AMP","ANN","APZ","AQ","AS","ASM","ASU","ATM","AWG","AY","AZ","B1","B10","B11","B12","B13","B14","B15","B16","B17","B18","B19","B20","B21","B22","B23","B24","B25","B26","B27","B28","B29","B3","B30","B31","B32","B33","B34","B35","B4","B41","B42","B43","B44","B45","B46","B47","B48","B49","B50","B52","B53","B54","B55","B56","B57","B58","B59","B60","B61","B62","B63","B64","B66","B67","B68","B69","B7","B70","B71","B72","B73","B74","B75","B76","B77","B78","B79","B8","B80","B81","B82","B83","B84","B85","B86","B87","B88","B89","B90","B91","B92","B93","B94","B95","B96","B97","B98","B99","BAR","BB","BFT","BHP","BIL","BLD","BLL","BP","BPM","BQL","BTU","BUA","BUI","C0","C10","C11","C12","C13","C14","C15","C16","C17","C18","C19","C20","C21","C22","C23","C24","C25","C26","C27","C28","C29","C3","C30","C31","C32","C33","C34","C35","C36","C37","C38","C39","C40","C41","C42","C43","C44","C45","C46","C47","C48","C49","C50","C51","C52","C53","C54","C55","C56","C57","C58","C59","C60","C61","C62","C63","C64","C65","C66","C67","C68","C69","C7","C70","C71","C72","C73","C74","C75","C76","C78","C79","C8","C80","C81","C82","C83","C84","C85","C86","C87","C88","C89","C9","C90","C91","C92","C93","C94","C95","C96","C97","C99","CCT","CDL","CEL","CEN","CG","CGM","CKG","CLF","CLT","CMK","CMQ","CMT","CNP","CNT","COU","CTG","CTM","CTN","CUR","CWA","CWI","D03","D04","D1","D10","D11","D12","D13","D15","D16","D17","D18","D19","D2","D20","D21","D22","D23","D24","D25","D26","D27","D29","D30","D31","D32","D33","D34","D36","D41","D42","D43","D44","D45","D46","D47","D48","D49","D5","D50","D51","D52","D53","D54","D55","D56","D57","D58","D59","D6","D60","D61","D62","D63","D65","D68","D69","D73","D74","D77","D78","D80","D81","D82","D83","D85","D86","D87","D88","D89","D91","D93","D94","D95","DAA","DAD","DAY","DB","DD","DEC","DG","DJ","DLT","DMA","DMK","DMO","DMQ","DMT","DN","DPC","DPR","DPT","DRA","DRI","DRL","DT","DTN","DWT","DZN","DZP","E01","E07","E08","E09","E10","E12","E14","E15","E16","E17","E18","E19","E20","E21","E22","E23","E25","E27","E28","E30","E31","E32","E33","E34","E35","E36","E37","E38","E39","E4","E40","E41","E42","E43","E44","E45","E46","E47","E48","E49","E50","E51","E52","E53","E54","E55","E56","E57","E58","E59","E60","E61","E62","E63","E64","E65","E66","E67","E68","E69","E70","E71","E72","E73","E74","E75","E76","E77","E78","E79","E80","E81","E82","E83","E84","E85","E86","E87","E88","E89","E90","E91","E92","E93","E94","E95","E96","E97","E98","E99","EA","EB","EQ","F01","F02","F03","F04","F05","F06","F07","F08","F10","F11","F12","F13","F14","F15","F16","F17","F18","F19","F20","F21","F22","F23","F24","F25","F26","F27","F28","F29","F30","F31","F32","F33","F34","F35","F36","F37","F38","F39","F40","F41","F42","F43","F44","F45","F46","F47","F48","F49","F50","F51","F52","F53","F54","F55","F56","F57","F58","F59","F60","F61","F62","F63","F64","F65","F66","F67","F68","F69","F70","F71","F72","F73","F74","F75","F76","F77","F78","F79","F80","F81","F82","F83","F84","F85","F86","F87","F88","F89","F90","F91","F92","F93","F94","F95","F96","F97","F98","F99","FAH","FAR","FBM","FC","FF","FH","FIT","FL","FOT","FP","FR","FS","FTK","FTQ","G01","G04","G05","G06","G08","G09","G10","G11","G12","G13","G14","G15","G16","G17","G18","G19","G2","G20","G21","G23","G24","G25","G26","G27","G28","G29","G3","G30","G31","G32","G33","G34","G35","G36","G37","G38","G39","G40","G41","G42","G43","G44","G45","G46","G47","G48","G49","G50","G51","G52","G53","G54","G55","G56","G57","G58","G59","G60","G61","G62","G63","G64","G65","G66","G67","G68","G69","G70","G71","G72","G73","G74","G75","G76","G77","G78","G79","G80","G81","G82","G83","G84","G85","G86","G87","G88","G89","G90","G91","G92","G93","G94","G95","G96","G97","G98","G99","GB","GBQ","GDW","GE","GF","GFI","GGR","GIA","GIC","GII","GIP","GJ","GL","GLD","GLI","GLL","GM","GO","GP","GQ","GRM","GRN","GRO","GV","GWH","H03","H04","H05","H06","H07","H08","H09","H10","H11","H12","H13","H14","H15","H16","H18","H19","H20","H21","H22","H23","H24","H25","H26","H27","H28","H29","H30","H31","H32","H33","H34","H35","H36","H37","H38","H39","H40","H41","H42","H43","H44","H45","H46","H47","H48","H49","H50","H51","H52","H53","H54","H55","H56","H57","H58","H59","H60","H61","H62","H63","H64","H65","H66","H67","H68","H69","H70","H71","H72","H73","H74","H75","H76","H77","H79","H80","H81","H82","H83","H84","H85","H87","H88","H89","H90","H91","H92","H93","H94","H95","H96","H98","H99","HA","HBA","HBX","HC","HDW","HEA","HGM","HH","HIU","HKM","HLT","HM","HMQ","HMT","HPA","HTZ","HUR","IA","IE","INH","INK","INQ","ISD","IU","IV","J10","J12","J13","J14","J15","J16","J17","J18","J19","J2","J20","J21","J22","J23","J24","J25","J26","J27","J28","J29","J30","J31","J32","J33","J34","J35","J36","J38","J39","J40","J41","J42","J43","J44","J45","J46","J47","J48","J49","J50","J51","J52","J53","J54","J55","J56","J57","J58","J59","J60","J61","J62","J63","J64","J65","J66","J67","J68","J69","J70","J71","J72","J73","J74","J75","J76","J78","J79","J81","J82","J83","J84","J85","J87","J90","J91","J92","J93","J95","J96","J97","J98","J99","JE","JK","JM","JNT","JOU","JPS","JWL","K1","K10","K11","K12","K13","K14","K15","K16","K17","K18","K19","K2","K20","K21","K22","K23","K26","K27","K28","K3","K30","K31","K32","K33","K34","K35","K36","K37","K38","K39","K40","K41","K42","K43","K45","K46","K47","K48","K49","K50","K51","K52","K53","K54","K55","K58","K59","K6","K60","K61","K62","K63","K64","K65","K66","K67","K68","K69","K70","K71","K73","K74","K75","K76","K77","K78","K79","K80","K81","K82","K83","K84","K85","K86","K87","K88","K89","K90","K91","K92","K93","K94","K95","K96","K97","K98","K99","KA","KAT","KB","KBA","KCC","KDW","KEL","KGM","KGS","KHY","KHZ","KI","KIC","KIP","KJ","KJO","KL","KLK","KLX","KMA","KMH","KMK","KMQ","KMT","KNI","KNM","KNS","KNT","KO","KPA","KPH","KPO","KPP","KR","KSD","KSH","KT","KTN","KUR","KVA","KVR","KVT","KW","KWH","KWO","KWT","KX","L10","L11","L12","L13","L14","L15","L16","L17","L18","L19","L2","L20","L21","L23","L24","L25","L26","L27","L28","L29","L30","L31","L32","L33","L34","L35","L36","L37","L38","L39","L40","L41","L42","L43","L44","L45","L46","L47","L48","L49","L50","L51","L52","L53","L54","L55","L56","L57","L58","L59","L60","L63","L64","L65","L66","L67","L68","L69","L70","L71","L72","L73","L74","L75","L76","L77","L78","L79","L80","L81","L82","L83","L84","L85","L86","L87","L88","L89","L90","L91","L92","L93","L94","L95","L96","L98","L99","LA","LAC","LBR","LBT","LD","LEF","LF","LH","LK","LM","LN","LO","LP","LPA","LR","LS","LTN","LTR","LUB","LUM","LUX","LY","M1","M10","M11","M12","M13","M14","M15","M16","M17","M18","M19","M20","M21","M22","M23","M24","M25","M26","M27","M29","M30","M31","M32","M33","M34","M35","M36","M37","M38","M39","M4","M40","M41","M42","M43","M44","M45","M46","M47","M48","M49","M5","M50","M51","M52","M53","M55","M56","M57","M58","M59","M60","M61","M62","M63","M64","M65","M66","M67","M68","M69","M7","M70","M71","M72","M73","M74","M75","M76","M77","M78","M79","M80","M81","M82","M83","M84","M85","M86","M87","M88","M89","M9","M90","M91","M92","M93","M94","M95","M96","M97","M98","M99","MAH","MAL","MAM","MAR","MAW","MBE","MBF","MBR","MC","MCU","MD","MGM","MHZ","MIK","MIL","MIN","MIO","MIU","MLD","MLT","MMK","MMQ","MMT","MND","MON","MPA","MQH","MQS","MSK","MTK","MTQ","MTR","MTS","MVA","MWH","N1","N10","N11","N12","N13","N14","N15","N16","N17","N18","N19","N20","N21","N22","N23","N24","N25","N26","N27","N28","N29","N3","N30","N31","N32","N33","N34","N35","N36","N37","N38","N39","N40","N41","N42","N43","N44","N45","N46","N47","N48","N49","N50","N51","N52","N53","N54","N55","N56","N57","N58","N59","N60","N61","N62","N63","N64","N65","N66","N67","N68","N69","N70","N71","N72","N73","N74","N75","N76","N77","N78","N79","N80","N81","N82","N83","N84","N85","N86","N87","N88","N89","N90","N91","N92","N93","N94","N95","N96","N97","N98","N99","NA","NAR","NCL","NEW","NF","NIL","NIU","NL","NM3","NMI","NMP","NPT","NT","NU","NX","OA","ODE","OHM","ON","ONZ","OPM","OT","OZA","OZI","P1","P10","P11","P12","P13","P14","P15","P16","P17","P18","P19","P2","P20","P21","P22","P23","P24","P25","P26","P27","P28","P29","P30","P31","P32","P33","P34","P35","P36","P37","P38","P39","P40","P41","P42","P43","P44","P45","P46","P47","P48","P49","P5","P50","P51","P52","P53","P54","P55","P56","P57","P58","P59","P60","P61","P62","P63","P64","P65","P66","P67","P68","P69","P70","P71","P72","P73","P74","P75","P76","P77","P78","P79","P80","P81","P82","P83","P84","P85","P86","P87","P88","P89","P90","P91","P92","P93","P94","P95","P96","P97","P98","P99","PAL","PD","PFL","PGL","PI","PLA","PO","PQ","PR","PS","PTD","PTI","PTL","PTN","Q10","Q11","Q12","Q13","Q14","Q15","Q16","Q17","Q18","Q19","Q20","Q21","Q22","Q23","Q24","Q25","Q26","Q27","Q28","Q29","Q30","Q31","Q32","Q33","Q34","Q35","Q36","Q37","Q38","Q39","Q40","Q3","QA","QAN","QB","QR","QTD","QTI","QTL","QTR","R1","R9","RH","RM","ROM","RP","RPM","RPS","RT","S3","S4","SAN","SCO","SCR","SEC","SET","SG","SIE","SM3","SMI","SQ","SQR","SR","STC","STI","STK","STL","STN","STW","SW","SX","SYR","T0","T3","TAH","TAN","TI","TIC","TIP","TKM","TMS","TNE","TP","TPI","TPR","TQD","TRL","TST","TTS","U1","U2","UB","UC","VA","VLT","VP","W2","WA","WB","WCD","WE","WEB","WEE","WG","WHR","WM","WSD","WTT","X1","YDK","YDQ","YRD","Z11","ZP","ZZ","X1A","X1B","X1D","X1F","X1G","X1W","X2C","X3A","X3H","X43","X44","X4A","X4B","X4C","X4D","X4F","X4G","X4H","X5H","X5L","X5M","X6H","X6P","X7A","X7B","X8A","X8B","X8C","XAA","XAB","XAC","XAD","XAE","XAF","XAG","XAH","XAI","XAJ","XAL","XAM","XAP","XAT","XAV","XB4","XBA","XBB","XBC","XBD","XBE","XBF","XBG","XBH","XBI","XBJ","XBK","XBL","XBM","XBN","XBO","XBP","XBQ","XBR","XBS","XBT","XBU","XBV","XBW","XBX","XBY","XBZ","XCA","XCB","XCC","XCD","XCE","XCF","XCG","XCH","XCI","XCJ","XCK","XCL","XCM","XCN","XCO","XCP","XCQ","XCR","XCS","XCT","XCU","XCV","XCW","XCX","XCY","XCZ","XDA","XDB","XDC","XDG","XDH","XDI","XDJ","XDK","XDL","XDM","XDN","XDP","XDR","XDS","XDT","XDU","XDV","XDW","XDX","XDY","XEC","XED","XEE","XEF","XEG","XEH","XEI","XEN","XFB","XFC","XFD","XFE","XFI","XFL","XFO","XFP","XFR","XFT","XFW","XFX","XGB","XGI","XGL","XGR","XGU","XGY","XGZ","XHA","XHB","XHC","XHG","XHN","XHR","XIA","XIB","XIC","XID","XIE","XIF","XIG","XIH","XIK","XIL","XIN","XIZ","XJB","XJC","XJG","XJR","XJT","XJY","XKG","XKI","XLE","XLG","XLT","XLU","XLV","XLZ","XMA","XMB","XMC","XME","XMR","XMS","XMT","XMW","XMX","XNA","XNE","XNF","XNG","XNS","XNT","XNU","XNV","XOA","XOB","XOC","XOD","XOE","XOF","XOK","XOT","XOU","XP2","XPA","XPB","XPC","XPD","XPE","XPF","XPG","XPH","XPI","XPJ","XPK","XPL","XPN","XPO","XPP","XPR","XPT","XPU","XPV","XPX","XPY","XPZ","XQA","XQB","XQC","XQD","XQF","XQG","XQH","XQJ","XQK","XQL","XQM","XQN","XQP","XQQ","XQR","XQS","XRD","XRG","XRJ","XRK","XRL","XRO","XRT","XRZ","XSA","XSB","XSC","XSD","XSE","XSH","XSI","XSK","XSL","XSM","XSO","XSP","XSS","XST","XSU","XSV","XSW","XSY","XSZ","XT1","XTB","XTC","XTD","XTE","XTG","XTI","XTK","XTL","XTN","XTO","XTR","XTS","XTT","XTU","XTV","XTW","XTY","XTZ","XUC","XUN","XVA","XVG","XVI","XVK","XVL","XVO","XVP","XVQ","XVN","XVR","XVS","XVY","XWA","XWB","XWC","XWD","XWF","XWG","XWH","XWJ","XWK","XWL","XWM","XWN","XWP","XWQ","XWR","XWS","XWT","XWU","XWV","XWW","XWX","XWY","XWZ","XXA","XXB","XXC","XXD","XXF","XXG","XXH","XXJ","XXK","XYA","XYB","XYC","XYD","XYF","XYG","XYH","XYJ","XYK","XYL","XYM","XYN","XYP","XYQ","XYR","XYS","XYT","XYV","XYW","XYX","XYY","XYZ","XZA","XZB","XZC","XZD","XZF","XZG","XZH","XZJ","XZK","XZL","XZM","XZN","XZP","XZQ","XZR","XZS","XZT","XZU","XZV","XZW","XZX","XZY","XZZ","04","05","08","16","17","18","19","26","29","30","31","32","36","43","44","45","46","47","48","53","54","62","63","64","66","69","71","72","73","76","78","84","90","92","93","94","95","96","97","98","1A","1B","1C","1D","1E","1F","1G","1H","1J","1K","1L","1M","1X","2V","2W","3E","3G","3H","3I","4A","4B","4E","5C","5F","5G","5H","5I","5K","5P","5Q","A1","A25","A50","A51","A52","A57","A58","A60","A61","A62","A63","A64","A65","A66","A67","A77","A78","A79","A80","A81","A82","A83","AJ","AM","AP","AR","ARE","ATT","AV","AW","B0","B2","B36","B37","B38","B39","B40","B5","B51","B6","B65","B9","BD","BE","BG","BH","BJ","BK","BL","BO","BR","BT","BW","BX","BZ","C1","C2","C4","C5","C6","C77","C98","CA","CH","CJ","CK","CL","CO","CQ","CR","CS","CT","CU","CV","CY","CZ","D14","D28","D35","D37","D38","D39","D40","D64","D66","D67","D7","D70","D71","D72","D75","D76","D79","D8","D9","D90","D92","D96","D97","D98","D99","DC","DE","DI","DQ","DR","DRM","DS","DU","DX","DY","E2","E3","E5","EC","EP","EV","F1","F9","FB","FD","FE","FG","FM","G7","GC","GD","GH","GK","GN","GRT","GT","GW","GY","GZ","H1","H2","HAR","HD","HE","HF","HI","HJ","HK","HL","HN","HO","HP","HS","HT","HY","IC","IF","II","IL","IM","IP","IT","JB","JG","JO","JR","K5","KD","KF","KG","KS","KTM","LC","LE","LI","LJ","LX","M0","MA","MF","MK","MQ","MT","MV","N2","NB","NBB","NC","ND","NE","NG","NH","NI","NJ","NN","NPL","NPR","NQ","NR","NRL","NTT","NV","NY","OP","OZ","P0","P3","P4","P6","P7","P8","P9","PA","PB","PE","PF","PG","PK","PL","PM","PN","PT","PU","PV","PW","PY","PZ","QD","QH","QK","QT","R4","RA","RD","RG","RK","RL","RN","RO","RS","RU","S5","S6","S7","S8","SA","SD","SE","SHT","SK","SL","SN","SO","SP","SS","SST","ST","SV","T1","T4","T5","T6","T7","T8","TA","TC","TD","TE","TF","TJ","TK","TL","TN","TQ","TR","TS","TSD","TSH","TT","TU","TV","TW","TY","UA","UD","UE","UF","UH","UM","VI","VQ","VS","W4","WH","WI","WR","WW","YL","YT","Z1","Z2","Z3","Z4","Z5","Z6","Z8"],"title":"Quantity Unit Code","type":"string"},"references":{"description":"An array of references to other documents or codes. Note that many syntaxes do not support multiple references of the same type in which case they will be concatenated with ','. Also, not all syntaxes support all documentTypes.","items":{"$ref":"#/components/schemas/Reference"},"minItems":0,"title":"References","type":"array"},"taxesDutiesFees":{"description":"An array of taxes, duties and fees for this invoice line. Multiple taxesDutiesFees items is allowed only for IN (India) and US (USA) taxes. All other countries can only have a single Tax item in this array.","items":{"$ref":"#/components/schemas/Tax"},"minItems":0,"title":"Taxes, Duties and Fees","type":"array"}},"required":["lineId","quantity","quantityUnitCode","amountExcludingTax"],"title":"Order line","type":"object"},"OriginatorCustomerParty":{"description":"The originator of the document.","properties":{"party":{"$ref":"#/components/schemas/Party"}},"required":["party"],"title":"Buyer","type":"object"},"OriginatorParty":{"description":"The originator of the line.","properties":{"party":{"description":"","title":"Party","type":"object","x-companyName":{"description":"The name of the company receiving the invoice","minLength":2,"title":"Company name","type":"string"}}},"required":["party"],"title":"Originator","type":"object"},"Party":{"description":"A party that can receive or send invoices","properties":{"address":{"$ref":"#/components/schemas/Address"},"companyName":{"description":"The name of the company receiving the invoice","minLength":2,"title":"Company name","type":"string"},"contact":{"$ref":"#/components/schemas/Contact"}},"required":["companyName","address"],"title":"Party","type":"object"},"PaymentMeans":{"description":"A PaymentMeans is a way to pay the invoice.","properties":{"account":{"description":"The account number.","title":"Account number","type":"string"},"amount":{"description":"The amount to be paid for this category. Only used for Dutch G-Account invoices. The amount nl_ga_beneficiary + amount nl_ga_gaccount must add up to the amountExcludingVat","title":"Amount","type":"number"},"branche_code":{"description":"The bank branch code. Not required for IBAN numbers. Often referred to as Swift or Bic code.","title":"Branch code","type":"string"},"code":{"description":"How the invoice has been / will be paid. The code determines which type of PaymentMeans is used and which fields are mandatory.\n++++\n<ul>    <li>        <strong>cash</strong><br/>        The invoice was/is paid in cash.<br/>    </li>    <li>        <strong>bank_cheque</strong><br/>        The invoice was/is paid via a bank cheque.<br/>    </li>    <li>        <strong>cashiers_cheque</strong><br/>        The invoice was/is paid via a cashiers cheque.<br/>    </li>    <li>        <strong>credit_transfer</strong><br/>        The amount is to be transfered into a bank account. Relevant additional fields:<br/>        <ul>            <li>                <strong>account</strong><br/>                The account number. For New Zealand, this should hold the full 16 digit bank account number. <strong>Mandatory</strong>.            </li>            <li>                <strong>branche_code</strong><br/>                In case of an IBAN, the account alone number is sufficient. In other cases, like a BBAN, a BIC code or other additional identifier is required. For Australia, the BSB goes here. Optional.            </li>            <li>                <strong>holder</strong><br/>                The account holder name. Optional.            </li>        </ul>    </li>    <li>        <strong>debit_transfer</strong><br/>        Used for CreditNotes. The amount is to be transfered by the sender of the document into the bank account of the receiver of the document. Relevant additional fields:<br/>        <ul>            <li>                <strong>account</strong><br/>                The account number. For New Zealand, this should hold the full 16 digit bank account number. <strong>Mandatory</strong>.            </li>            <li>                <strong>branche_code</strong><br/>                In case of an IBAN, the account alone number is sufficient. In other cases, like a BBAN, a BIC code or other additional identifier is required. For Australia, the BSB goes here. Optional.            </li>        </ul>    </li>    <li>        <strong>direct_debit</strong><br/>        Direct debit. Relevant additional fields:<br/>        <ul>            <li>                <strong>account</strong><br/>                The account number from which the funds will be debited. <strong>Mandatory</strong>.            </li>            <li>                <strong>mandate</strong><br/>                The direct debit mandate id. Mandatory.            </li>            <li>                <strong>holder</strong><br/>                The account holder name. Optional.            </li>        </ul>    </li>    <li>        <strong>card, credit_card, bank_card (credit_card, bank_card are deprecated)</strong><br/>        E.g. credit or debit card. Relevant additional fields:<br/>        <ul>            <li>                <strong>account</strong><br/>                The card number, but never more than the last four digits. <strong>Mandatory</strong>.            </li>            <li>                <strong>holder</strong><br/>                The account holder name. Optional.            </li>            <li>                <strong>network</strong><br/>                The payment network, e.g. VISA, SEPA. Optional, but recommended since a default of \"N/A\" may be used if not provided.            </li>        </ul>    </li>    <li>        <strong>online_payment_service</strong><br/>        An online payment service has been or will be used. Relevant additional fields:<br/>        <ul>            <li>                <strong>network</strong><br/>                The payment network, e.g. PayPal. <strong>Mandatory unless url is provided</strong>.            </li>            <li>                <strong>url</strong><br/>                The URL to execute the payment. <strong>Mandatory unless network is provided</strong>.            </li>        </ul>        It is possible to provide both url and network. Note that for UBL, in countries where this payment means is not allowed, this will translate into an AdditionalDocumentReference.Attachment.ExternalReference element.    </li>    <li>        <strong>standing_agreement</strong><br/>        The payment means has been agreed out of band. Relevant additional fields: none.    </li>    <li>        <strong>aunz_npp_payid, aunz_npp (aunz_npp is deprecated)</strong><br/>        Australia/New Zealand New Payments Platform. Relevant additional fields:<br/>        <ul>            <li>                <strong>account</strong><br/>                PayID. May be an email address, ABN, mobile phone number etc. <strong>Mandatory</strong>.            </li>        </ul>    </li>    <li>        <strong>aunz_npp_payto</strong><br/>        Australia/New Zealand New Payments Platform. Relevant additional fields:<br/>        <ul>            <li>                <strong>account</strong><br/>                Account number. <strong>Mandatory</strong>.            </li>            <li>                <strong>mandate</strong><br/>                Mandate/direct debit authority reference/PayTo Agreement. <strong>Mandatory</strong>.            </li>        </ul>    </li>    <li>        <strong>aunz_bpay</strong><br/>        Australia/New Zealand New Payments Platform. Relevant additional fields:<br/>        <ul>            <li>                <strong>account</strong><br/>                Biller code. <strong>Mandatory</strong>.            </li>            <li>                <strong>holder</strong><br/>                The account holder name. Optional.            </li>        </ul>    </li>    <li>        <strong>aunz_postbillpay</strong><br/>        Australia/New Zealand New Payments Platform. Relevant additional fields:<br/>        <ul>            <li>                <strong>account</strong><br/>                Biller code. <strong>Mandatory.</strong>.            </li>            <li>                <strong>holder</strong><br/>                The account holder name. Optional.            </li>        </ul>    </li>    <li>        <strong>aunz_uri</strong><br/>        Australia/New Zealand URI. Relevant additional fields:<br/>        <ul>            <li>                <strong>account</strong><br/>                Payment URI. <strong>Mandatory.</strong>.            </li>            <li>                <strong>holder</strong><br/>                The account holder name. Optional.            </li>        </ul>    </li>    <li>        <strong>se_bankgiro</strong><br/>        Swedish Bankgiro. Relevant additional fields:<br/>        <ul>            <li>                <strong>account</strong><br/>                The account number from which the funds will be debited, 7 or 8 digits. <strong>Mandatory</strong>.            </li>            <li>                <strong>holder</strong><br/>                The account holder name. Optional.            </li>        </ul>        <br/>    </li>    <li>        <strong>se_plusgiro</strong><br/>        Swedish Plusgiro. Relevant additional fields:<br/>        <ul>            <li>                <strong>account</strong><br/>                The account number from which the funds will be debited, 2 - 8 digits. <strong>Mandatory</strong>.            </li>            <li>                <strong>holder</strong><br/>                The account holder name. Optional.            </li>        </ul>        <br/>    </li>    <li>        <strong>sg_giro</strong><br/>        Singapore GIRO-system (direct debit). Relevant additional fields: none.    </li>    <li>        <strong>sg_card</strong><br/>        Singapore CreditCard payment. Relevant additional fields: none.    </li>    <li>        <strong>sg_paynow</strong><br/>        Singapore PayNow Corporate.  Relevant additional fields:<br/>        <ul>            <li>                <strong>account</strong><br/>                The UEN, format: UENxxxxxxxxxx. <strong>Mandatory</strong>.            </li>        </ul>    </li>    <li>        <strong>it_mav</strong><br/>        Italy MAV payment.    </li>    <li>        <strong>it_pagopa</strong><br/>        Italy PagoPA payment.    </li></ul>\n++++\n","enum":["credit_transfer","debit_transfer","direct_debit","card","bank_card","credit_card","online_payment_service","cash","bank_cheque","cashiers_cheque","standing_agreement","aunz_npp","aunz_npp_payid","aunz_npp_payto","aunz_bpay","aunz_postbillpay","aunz_uri","se_bankgiro","se_plusgiro","sg_giro","sg_card","sg_paynow","it_mav","it_pagopa","nl_ga_beneficiary","nl_ga_gaccount","undefined"],"title":"Code","type":"string"},"holder":{"description":"The name of the account holder.","title":"Account holder","type":"string"},"mandate":{"description":"The direct debit mandate code.","title":"Mandate","type":"string"},"network":{"description":"The name of the card network, e.g. VISA.","title":"Network","type":"string"},"paymentId":{"description":"The payment id that you will use to match the payment against the invoice.","title":"Payment Id","type":"string"}},"required":["code"],"title":"PaymentMeans","type":"object"},"PaymentTerms":{"description":"The payment terms of the document.","properties":{"note":{"description":"The note for the payment terms.","title":"Payment Terms Note","type":"string"}},"title":"Payment Terms","type":"object"},"PeppolIdentifier":{"properties":{"corppass":{"$ref":"#/components/schemas/CorpPass"},"identifier":{"description":"The identifier.","maxLength":64,"minLength":2,"title":"Identifier","type":"string"},"scheme":{"description":"The scheme of the identifier. See <<_receiver_identifiers_list>> for a list.","maxLength":64,"minLength":2,"title":"Type","type":"string"},"superscheme":{"description":"The superscheme of the identifier. Should always be \"iso6523-actorid-upis\".","maxLength":64,"minLength":2,"title":"Type","type":"string"}}},"PeppolIdentifierCreate":{"properties":{"corppass":{"$ref":"#/components/schemas/CorpPassCreate"},"identifier":{"description":"The identifier.","maxLength":64,"minLength":2,"title":"Identifier","type":"string"},"scheme":{"description":"The scheme of the identifier. See <<_receiver_identifiers_list>> for a list.","maxLength":64,"minLength":2,"title":"Type","type":"string"},"superscheme":{"description":"The superscheme of the identifier. Should always be \"iso6523-actorid-upis\".","maxLength":64,"minLength":2,"title":"Type","type":"string"}},"required":["identifier","scheme","superscheme"]},"PreflightInvoiceRecipientResult":{"description":"The result of preflighting an invoice recipient","properties":{"code":{"description":"The result code of the preflight request","enum":["ok","nok"],"title":"Result code","type":"string"}},"title":"Preflight invoice recipient result","type":"object"},"PublicIdentifier":{"description":"A public identifier for this customer.","properties":{"id":{"description":"The actual identifier.","minLength":1,"title":"Identifier","type":"string"},"scheme":{"description":"The scheme of the identifier. See <<_receiver_identifiers_list>> for a list.","minLength":3,"title":"Scheme","type":"string"}},"required":["scheme","id"],"title":"Public identifier","type":"object"},"PublicIdentifiers":{"description":"A list of public identifiers that uniquely identify this customer.","items":{"$ref":"#/components/schemas/PublicIdentifier"},"title":"Public identifiers","type":"array"},"PurchaseInvoice":{"properties":{"accounting":{"$ref":"#/components/schemas/PurchaseInvoiceAccountingDetails"},"accounting_cost":{"description":"The accounting cost code.","title":"Accounting Cost","type":"string"},"allowance_charge":{"description":"DEPRECATED - Use the allowance_charges array.","title":"Allowance Charge - DEPRECATED","type":"number"},"allowance_charges":{"items":{"$ref":"#/components/schemas/PurchaseInvoiceAllowanceCharge"},"type":"array"},"amount_including_vat":{"description":"DEPRECATED - Use amount_including_tax.","title":"Amount Including VAT - DEPRECATED","type":"number"},"attachments":{"items":{"$ref":"#/components/schemas/PurchaseInvoiceAttachment"},"type":"array"},"billing_reference":{"description":"Reference to the previous invoice this invoice relates to.","title":"Billing Reference","type":"string"},"buyer_reference":{"description":"Reference provided by the buyer. Used for routing.","title":"Buyer Reference","type":"string"},"contract_document_reference":{"description":"Reference to the contract.","title":"Contract Document Reference","type":"string"},"delivery":{"description":"The details of the delivery associated with this invoice.","properties":{"actual_date":{"description":"The actual delivery date.","title":"Actual Date","type":"string"},"location":{"description":"The location the goods/services were delivered to.","properties":{"building_number":{"description":"The building number. Used in SA.","title":"Building Number","type":"string"},"city":{"description":"Address city.","title":"City","type":"string"},"country":{"description":"Address country.","title":"Country","type":"string"},"county":{"description":"Address county.","title":"County","type":"string"},"department":{"description":"Department name.","title":"Department","type":"string"},"id":{"description":"The id of the location.","title":"Id","type":"string"},"line1":{"description":"Address line 1.","title":"Line 1","type":"string"},"line2":{"description":"Address line 2.","title":"Line 2","type":"string"},"neighborhood":{"description":"The neighborhood. Used in SA.","title":"Neighborhood","type":"string"},"scheme_id":{"description":"The scheme id for the id of the location.","title":"Scheme Id","type":"string"},"secondary_number":{"description":"The secondary number. Used in SA.","title":"Secondary Number","type":"string"},"zip":{"description":"Address zip code","title":"Zip","type":"string"}},"title":"Location","type":"object"},"party":{"description":"The party the goods/services were delivered to.","properties":{"name":{"description":"The name of the deliveyr party.","title":"Name","type":"string"}},"title":"PurchaseInvoice Party","type":"object"}},"title":"PurchaseInvoice Delivery","type":"object"},"document":{"description":"DEPRECATED. Use the new atatchments array.","title":"Document","type":"string"},"document_currency_code":{"description":"The ISO 4217 currency for the invoice.","title":"Currency","type":"string"},"document_totals":{"$ref":"#/components/schemas/PurchaseInvoiceDocumentTotals"},"document_type":{"description":"The type of document. Only \"invoice\" for now.","enum":["invoice"],"title":"Document Type","type":"string"},"due_date":{"description":"The date the invoice must be payed by. Format \"YYYY-MM-DD\".","title":"Due Date","type":"string"},"external_key":{"description":"Deprecated. Used for accountants. The id you specified for the organization.","title":"External key","type":"string"},"external_user_id":{"description":"Deprecated. Used for the embedded portal retrieval service. The external_user_id you provided when the ShopAccount was created.","title":"External user id","type":"string"},"guid":{"description":"The GUID of the invoice","format":"uuid","title":"GUID","type":"string"},"invoice_lines":{"items":{"$ref":"#/components/schemas/PurchaseInvoiceInvoiceLine"},"type":"array"},"invoice_number":{"description":"The invoicenumber.","title":"Invoicenumber","type":"string"},"invoice_type":{"description":"The type of invoice.","enum":["invoice","creditnote","correctioninvoice"],"title":"Invoice Type","type":"string"},"issue_date":{"description":"The date the invoice was issued. Format \"YYYY-MM-DD\".","title":"Issue Date","type":"string"},"legal_entity_id":{"description":"The id of the LegalEntity the invoice was received for.","format":"int64","title":"LegalEntity id","type":"integer"},"note":{"description":"The invoice level note.","title":"Note","type":"string"},"order_reference":{"description":"Reference to the order. Used for matching the invoice to an order.","title":"Order Reference","type":"string"},"payment_means":{"description":"DEPRECATED - Use the new payment_means_array array.","properties":{"iban":{"description":"The IBAN to which to transfer.","title":"IBAN","type":"string"},"id":{"description":"An id to mention in the transfer.","title":"Id","type":"string"}},"title":"Payment Means - DEPRECATED","type":"object"},"payment_means_array":{"description":"The different payment means that can be used to pay the invoice.","items":{"$ref":"#/components/schemas/PurchaseInvoicePaymentMeans"},"title":"Payment Means","type":"array"},"payment_means_payment_id":{"description":"DEPRECATED - use the payment_id property in the payment_means_array","title":"Payment Means Payment Id - DEPRECATED","type":"string"},"payment_terms_note":{"description":"A textual description of the payment terms.","title":"Payment Terms Note","type":"string"},"period_end":{"description":"The end date of the period this invoice relates to. Format \"YYYY-MM-DD\".","title":"End of Period","type":"string"},"period_start":{"description":"The start date of the period this invoice relates to. Format \"YYYY-MM-DD\".","title":"Start of Period","type":"string"},"project_reference":{"description":"Reference to the project.","title":"Project Reference","type":"string"},"sender":{"$ref":"#/components/schemas/PurchaseInvoiceSender"},"source":{"description":"The source the invoice was received from.","enum":["peppol","script","supplier","email"],"title":"Invoice Source","type":"string"},"sub_type":{"description":"The subtype of document.","enum":["invoice","creditnote","correctioninvoice"],"title":"Document Subtype","type":"string"},"system_generated_primary_image":{"description":"Whether or not the document image (PDF) was generated by Storecove. If true, it means the invoice was received without any attachments and Storecove generated one for you. If false, the invoice will contain at least one attachment, which was received from the invoice sender.","title":"System Generated Primary Image","type":"boolean"},"tax_point_date":{"description":"The date the invoice was issued for tax purposes. In most countries MUST match the issue_date. Format \"YYYY-MM-DD\".","title":"Tax Point Date","type":"string"},"tax_subtotals":{"items":{"$ref":"#/components/schemas/PurchaseInvoiceTaxSubtotal"},"type":"array"},"tax_system":{"description":"The tax system of the invoice. Either tax_line_percentages or tax_line_amounts. The first tax system means the invoice lines contain only the tax percentages and the tax amounts are included only in the tax subtotals at the invoice level and so are only calculated at the invoice level. The tax system tax_line_amounts means that in addition to the percentage, each invoice line also contains the tax amount. The tax subtotals at the invoice level are calculated as the sum of the tax of the invoice lines. The distinction between the two tax systems has has implications for rounding.","title":"Tax System","type":"string"},"vat_reverse_charge":{"description":"DEPRECATED - This is now part of each invoice line.","title":"VAT Reverse Charge - DEPRECATED","type":"boolean"}}},"PurchaseInvoiceAccountingDetails":{"properties":{"code":{"description":"The the code of the general ledger account.","title":"Code","type":"string"},"list":{"description":"The name of the list for the code, e.g. \"RGS\".","title":"List","type":"string"},"list_version":{"description":"The version of the list for the code, e.g. \"1.1\".","title":"List Version","type":"string"},"name":{"description":"A textual description of the code.","title":"Name","type":"string"}}},"PurchaseInvoiceAllowanceCharge":{"properties":{"amount_excluding_tax":{"description":"The amount excluding tax.","title":"Amount Excluding Tax","type":"number"},"amount_excluding_vat":{"description":"DEPRECATED - use amount_excluding_tax.","title":"Amount Excluding VAT - DEPRECATED","type":"string"},"reason":{"description":"The reason for the allowance or charge.","title":"AllowanceCharge reason","type":"string"},"tax":{"$ref":"#/components/schemas/PurchaseInvoiceTax"},"vat":{"$ref":"#/components/schemas/PurchaseInvoiceVat"}}},"PurchaseInvoiceAttachment":{"properties":{"content_type":{"description":"The attachment content type (mime type).","title":"Content Type","type":"string"},"document":{"description":"The Base64 encoded document attachment.","title":"Document","type":"string"}}},"PurchaseInvoiceDocumentTotals":{"properties":{"payable":{"description":"The total invoice amount payable including tax.","title":"Payable","type":"number"},"prepaid":{"description":"The amount already paid.","title":"Prepaid","type":"number"},"rounding":{"description":"The difference between the payable amount and the total invoice amount including tax.","title":"Rounding","type":"number"},"total":{"description":"The total invoice amount, including tax. This is equal to the sum of the invoice_lines (amount_excluding_tax + tax.amount) and the allowances and charges.","title":"Total","type":"number"}}},"PurchaseInvoiceInvoiceLine":{"properties":{"accounting":{"$ref":"#/components/schemas/PurchaseInvoiceAccountingDetails"},"allowance_charge":{"description":"DEPRECATED - use allowance_charges.","title":"Allowance Charge - DEPRECATED","type":"number"},"allowance_charge_array":{"items":{"$ref":"#/components/schemas/PurchaseInvoiceInvoiceLineAllowanceCharge"},"type":"array"},"allowance_charges":{"description":"Deprecated.","items":{"type":"number"},"type":"array"},"amount_excluding_tax":{"description":"The amount excluding Tax. This is equal to quantity x price_amount + ∑ allowance_charges.","title":"Amount Excluding Tax","type":"number"},"amount_excluding_vat":{"description":"DEPRECATED - use amount_excluding_tax. The amount excluding VAT.","title":"DEPRECATED - use amount_excluding_tax Amount Excluding VAT","type":"number"},"description":{"description":"The description for the invoice line.","title":"Description","type":"string"},"name":{"description":"A short name for the invoice line.","title":"Name","type":"string"},"period_end":{"description":"The end date of the period this invoice line relates to. Format \"YYYY-MM-DD\".","title":"End of Period","type":"string"},"period_start":{"description":"The start date of the period this invoice line relates to. Format \"YYYY-MM-DD\".","title":"Start of Period","type":"string"},"price":{"$ref":"#/components/schemas/PurchaseInvoiceInvoiceLinePrice"},"tax":{"$ref":"#/components/schemas/PurchaseInvoiceTax"},"units":{"$ref":"#/components/schemas/PurchaseInvoiceInvoiceLineItem"},"vat":{"description":"DEPRECATED - use tax. The VAT details for the invoice line.","properties":{"amount":{"description":"The amount of VAT for the invoice line.","title":"Amount","type":"number"},"country":{"description":"The ISO 3166 country of the VAT for the invoice line.","title":"Country","type":"string"},"percentage":{"description":"The percentage of VAT for the invoice line.","title":"Percentage","type":"number"}},"title":"VAT Details","type":"object"}}},"PurchaseInvoiceInvoiceLineAllowanceCharge":{"properties":{"amount":{"description":"The amount of the allowance or charge.","title":"Allowance or Charge","type":"number"},"reason":{"description":"The reason for the allowance or charge.","title":"Allowance or Charge Reason","type":"string"}}},"PurchaseInvoiceInvoiceLineItem":{"properties":{"quantity":{"description":"The quantity of the item. Can have up to digits.","title":"Quantity","type":"number"},"unit_code":{"description":"The unit code of the quantity.","title":"Unit Code","type":"string"}}},"PurchaseInvoiceInvoiceLinePrice":{"properties":{"base_quantity":{"description":"The number of items the price is for. Can have up to digits.","title":"Base Quantity","type":"number"},"price_amount":{"description":"The price for one item, excluding VAT. Can have up to digits.","title":"Price Amount","type":"number"}}},"PurchaseInvoicePaymentMeans":{"properties":{"account":{"description":"The account number to which to transfer.","title":"Account Number","type":"string"},"branch_code":{"description":"The code identifying the bank branch. May contain a BIC/SWIFT or something appropriate for the payment method, such as \"NPP\" for type NppPaymentMean.","title":"Branch code","type":"string"},"holder":{"description":"The account holder name to which to transfer.","title":"Account Holder","type":"string"},"mandate":{"description":"The mandate, used only for type DirectDebitPaymentMean.","title":"Mandate","type":"string"},"network":{"description":"The payment network. Used only for type CardPaymentType.","title":"Network","type":"string"},"payment_id":{"description":"The payment id to use when making the payment. The invoice sender will use this to match the received funds to the invoice.","title":"Id","type":"string"},"type":{"description":"The type of payment means. Which type are returned is determined by the &pmv= query parameter. For details see documentation for that field.","enum":["BankPaymentMean","DirectDebitPaymentMean","CardPaymentMean","NppPaymentMean","SeBankGiroPaymentMean","SePlusgiroPaymentMean","SgCardPaymentMean","SgGiroPaymentMean","SgPaynowPaymentMean","CreditTransferPaymentMean","CreditCardPaymentMean","SeBankgiroPaymentMean","AunzNppPayidPaymentMean","OnlinePaymentServicePaymentMean","StandingAgreementPaymentMean","AunzNppPaytoPaymentMean","AunzBpayPaymentMean","AunzPostbillpayPaymentMean","AunzUriPaymentMean"],"title":"Type"}}},"PurchaseInvoiceSender":{"properties":{"billing_contact":{"$ref":"#/components/schemas/PurchaseInvoiceSenderBillingContact"},"building_number":{"description":"The building number. Used in SA.","title":"Building Number","type":"string"},"city":{"description":"The city.","title":"City","type":"string"},"country":{"description":"The country.","title":"Country","type":"string"},"county":{"description":"The county.","title":"County","type":"string"},"department":{"description":"The department who sent the invoice.","title":"Department","type":"string"},"identifiers":{"description":"The array of identifiers for this sender.","items":{"$ref":"#/components/schemas/PeppolIdentifier"},"title":"Identifiers","type":"array"},"legal_name":{"description":"The legal name of the party who sent the invoice.","title":"Legal Name","type":"string"},"line1":{"description":"The address","title":"Address Line 1","type":"string"},"line2":{"description":"The address, line 2","title":"Address Line 2","type":"string"},"neighborhood":{"description":"The neighborhood. Used in SA.","title":"Neighborhood","type":"string"},"party_name":{"description":"The party who sent the invoice.","title":"Party Name","type":"string"},"peppol_identifiers":{"$ref":"#/components/schemas/PeppolIdentifier"},"secondary_number":{"description":"The secondary number. Used in SA.","title":"Secondary Number","type":"string"},"zip":{"description":"The zip code.","title":"Zip","type":"string"}}},"PurchaseInvoiceSenderBillingContact":{"properties":{"email":{"description":"The email of the billing contact.","title":"Email","type":"string"},"first_name":{"description":"The first name of the billing contact.","title":"First Name","type":"string"},"last_name":{"description":"The last name of the billing contact.","title":"Last Name","type":"string"}}},"PurchaseInvoiceTax":{"properties":{"tax":{"description":"The tax element.","properties":{"amount":{"description":"The tax amount.","title":"Amount","type":"number"},"category":{"description":"The tax category.","enum":["standard","zero_rated","reverse_charge","intra_community","exempt","export","outside_scope","regulation33_exempt","nonregulation33_exempt","deemed_supply","srca_s","srca_c","not_registered","igst","cgst","sgst","cess","state_cess","srovr","srovr_rs","srovr_lvg","srlvg"],"title":"Category","type":"string"},"category_code":{"description":"Deprecated. The tax category code.","title":"Category Code","type":"string"},"country":{"description":"The tax country.","title":"Country","type":"string"},"percentage":{"description":"The tax percentage.","title":"Percentage","type":"number"},"type":{"description":"The tax type.","enum":["VAT","GST"],"title":"Type","type":"string"}},"title":"PurchaseInvoiceTaxElement","type":"object"}}},"PurchaseInvoiceTaxSubtotal":{"properties":{"amount_excluding_tax":{"description":"The amount excluding tax.","title":"Amount Excluding Tax","type":"number"},"amount_excluding_vat":{"description":"DEPRECATED - use amount_excluding_tax.","title":"Amount Excluding VAT - DEPRECATED","type":"string"},"tax":{"$ref":"#/components/schemas/PurchaseInvoiceTax"},"vat":{"$ref":"#/components/schemas/PurchaseInvoiceVat"}}},"PurchaseInvoiceUbl":{"properties":{"external_key":{"description":"Used for accountants. The id you specified for the organization.","title":"External key","type":"string"},"external_user_id":{"description":"Used for the embedded portal retrieval service. The external_user_id you provided when the ShopAccount was created.","title":"External user id","type":"string"},"guid":{"description":"The GUID of the invoice","format":"uuid","title":"GUID","type":"string"},"legal_entity_id":{"description":"The id of the LegalEntity the invoice was received for.","format":"int64","title":"LegalEntity id","type":"integer"},"system_generated_primary_image":{"description":"Whether or not the document image (PDF) was generated by Storecove. If true, it means the invoice was received without any attachments and Storecove generated one for you. If false, the invoice will contain at least one attachment, which was received from the invoice sender.","title":"System Generated Primary Image","type":"boolean"},"tax_system":{"description":"The tax system of the invoice. Either tax_line_percentages or tax_line_amounts. The first tax system means the invoice lines contain only the tax percentages and the tax amounts are included only in the tax subtotals at the invoice level and so are only calculated at the invoice level. The tax system tax_line_amounts means that in addition to the percentage, each invoice line also contains the tax amount. The tax subtotals at the invoice level are calculated as the sum of the tax of the invoice lines. The distinction between the two tax systems has has implications for rounding.","title":"Tax System","type":"string"},"ubl":{"description":"The Base64 encoded UBL invoice.","title":"UBL invoice","type":"string"}}},"PurchaseInvoiceVat":{"description":"DEPRECATED - Use tax.","properties":{"amount":{"description":"The VAT country.","title":"Country","type":"string"},"percentage":{"description":"The VAT percentage.","title":"Percentage","type":"string"}},"title":"VAT - DEPRECATED","type":"object"},"RawDocumentData":{"description":"A document to send, in base64 encoded format.","properties":{"document":{"description":"The base64 encoded version of the document.","minLength":5,"title":"Document","type":"string"},"documentTypeId":{"description":"The document type id of the document. Required when parse == false.","title":"Document Type Id","type":"string"},"parse":{"default":true,"description":"*** NOTE: only parse == true is currently supported *** *** NOTE: parsing is only supported for documentType == 'invoice' *** Whether or not to parse the document. If true, the data will be extracted from the document and used to construct a new document. If false, the document will be sent as is. In this case, you must ensure the document validates without any errors against the relevant validation artifacts for that processId/documentTypeId. We automatically apply updates of the validation artificats, respecting the grace period provided by the issuer. During that period, documents that validate against either the old as well as against the new artifacts are accepted. After the grace period, your document must validate against the new artifacts. You are also responsible for making sure your receiver is able to receive the updated document.","title":"Parse","type":"boolean"},"parseStrategy":{"description":"How to parse the document. Only needed when parse == true.","enum":["ubl","cii","idoc"],"title":"Parse Strategy","type":"string"},"processId":{"description":"The process id of the document. Required when parse == false.","title":"Process Id","type":"string"}},"required":["document"],"title":"Raw Document Data","type":"object"},"Rea":{"properties":{"capital":{"description":"The captial for the company.","title":"Capital","type":"number","x-max":999999999999.99,"x-min":1},"identifier":{"description":"The identifier.","maxLength":20,"minLength":2,"title":"Identifier","type":"string"},"liquidation_status":{"description":"The liquidation status of the company.","enum":["LN","LS"],"title":"Liquidation Status","type":"string"},"partners":{"description":"The number of partners.","enum":["SU","SM"],"title":"Partners","type":"string"},"province":{"description":"The provincia of the ufficio that issued the identifier.","enum":["AG","AL","AN","AO","AQ","AR","AP","AT","AV","BA","BT","BL","BN","BG","BI","BO","BZ","BS","BR","CA","CL","CB","CI","CE","CT","CZ","CH","CO","CS","CR","KR","CN","EN","FM","FE","FI","FG","FC","FR","GE","GO","GR","IM","IS","SP","LT","LE","LC","LI","LO","LU","MC","MN","MS","MT","VS","ME","MI","MO","MB","NA","NO","NU","OG","OT","OR","PD","PA","PR","PV","PG","PU","PE","PC","PI","PT","PN","PZ","PO","RG","RA","RC","RE","RI","RN","RO","SA","SS","SV","SI","SR","SO","TA","TE","TR","TO","TP","TN","TV","TS","UD","VA","VE","VB","VC","VR","VV","VI","VT"],"title":"Province","type":"string"}}},"ReceivedDocument":{"properties":{"guid":{"description":"The GUID of the received document","format":"uuid","title":"GUID","type":"string"}}},"ReceivedDocumentCreate":{"properties":{"document":{"description":"The Base64 encoded document.","title":"Document","type":"string"},"parseStrategy":{"description":"The attachment content type (mime type).","enum":["rfc822"],"title":"Parse Stragegy","type":"string"}},"required":["document","parseStrategy"]},"ReceiverParty":{"$ref":"#/components/schemas/Party"},"Reference":{"description":"A reference to a document.","properties":{"documentId":{"description":"The id of the referenced document.","title":"Document Id","type":"string"},"documentType":{"description":"The type of the referenced document. The following types are supported:\n++++\n<ul>    <li>        <b>purchase_order</b> (document level, Invoice + Order)        <p>A reference to an order for this document, assigned by the buyer. Note that this often is a key field, since many receivers of invoices will use this field to automatically match the invoice to an order they placed. Many receivers refuse invoices that cannot be automatically matched, in particular government agencies. So it is highly recommended to fill this field whenever possible.</p>    </li>    <li>        <b>billing</b> (document level, Invoice)        <p>A reference to a billing document. For instance, credit notes may refer to an invoice they are a credit note for.</p>    </li>    <li>        <b>sales_order</b> (document level, Invoice + Order)        <p>A reference to an order for this document, assigned by the seller.</p>    </li>    <li>        <b>buyer_reference</b> (document level, Invoice, Order)        <p>The buyer's reference. Used for internal routing by the receiver. For orders, this becomes the customer reference which the receiver of the order should put back in the buyer reference field in the invoice.</p>    </li>    <li>        <b>contract</b> (document level, Invoice + Order)        <p>A reference to a contract or framework agreement that this document relates to.</p>    </li>    <li>        <b>despatch_advice</b> (document level, Invoice)        <p>A reference to a despatch advice for this document. In the FatturaPA, this is what will become the DDT.</p>    </li>    <li>        <b>originator</b> (document level, Invoice + Order)        <p>A reference to an originator document for this invoice.</p>    </li>    <li>        <b>receipt</b> (document level, Invoice)        <p>A reference to a receipt document for this document.</p>    </li>    <li>        <b>project</b> (document level, Invoice)        <p>A reference to a project document for this document.</p>    </li>    <li>        <b>quotation</b> (document level, Order)        <p>A reference to a quotation document for this document.</p>    </li>    <li>        <b>payment_url</b> (document level, Invoice)        <p>A to a payment URL for the invoice.</p>    </li>    <li>        <b>item_classification_code</b> (line level)        <p>A reference to a commodity classification / item classification code for this line.</p>    </li>    <li>        <b>item_commodity_code</b> (line level)        <p>A reference to a commodity classification / commodity code for this line.</p>    </li>    <li>        <b>line_document_reference</b> (line level)        <p>A reference to another document for this line.</p>    </li>    <li>        <b>line_standard_item_identification</b> (line level)        <p>A standard item identification.</p>    </li>    <li>        <b>line_sellers_item_identification</b> (line level)        <p>The seller's item identification.</p>    </li>    <li>        <b>line_buyers_item_identification</b> (line level)        <p>The buyer's item identification.</p>    </li>    <li>        <b>item_specification</b> (line level)        <p>Referece to an item specification document</p>    </li></ul>\n++++\n","enum":["purchase_order","buyer_reference","billing","sales_order","contract","despatch_advice","originator","receipt","project","quotation","payment_url","item_classification_code","item_commodity_code","line_document_reference","line_standard_item_identification","line_sellers_item_identification","line_buyers_item_identification","item_specification"],"title":"Document Type","type":"string"},"issueDate":{"description":"The issue date of the referenced document.","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","title":"Issue Date","type":"string"},"lineId":{"description":"The line in the referenced document.","title":"LineId","type":"string"}},"required":["documentType"],"title":"Reference","type":"object"},"Routing":{"description":"The different ways to send the invoice to the recipient. The publicIdentifiers are used to send via the Peppol network, if the recipient is not registered on the Peppol network, the invoice will be sent to the email addresses in the emails property. This property is only mandatory when sending the invoice data using the <<_openapi_invoice>> property, not when sending using the <<_openapi_invoicedata>> property, in which case this information will be extracted from the <<_openapi_invoicedata>> object. If you do specify an <<_openapi_invoicerecipient>> object and an <<_openapi_invoicedata>> object, the data from the two will be merged.","properties":{"clearWithoutSending":{"default":false,"description":"If you wish to send the document yourself in a Y-flow, use this flag. Wait for the 'cleared' webhook and use the <<_openapi_show_document_submission_evidence>> endpoint to retrieve the clearing evidence. This will include a sendable document.","title":"Clear Without Sending","type":"boolean"},"eIdentifiers":{"$ref":"#/components/schemas/EIdentifiers"},"emails":{"description":"The email addresses the invoice should be sent to if none of the other identifiers can be used","items":{"description":"The email address the invoice should be sent to","format":"email","title":"Email","type":"string"},"title":"Fallback email","type":"array"}},"title":"Recipient ids","type":"object"},"RoutingIdentifier":{"description":"An electronic routing identifier.","properties":{"id":{"description":"The actual identifier.","minLength":1,"title":"Identifier","type":"string"},"scheme":{"description":"The scheme of the identifier. See <<_receiver_identifiers_list>> for a list.","minLength":3,"title":"Scheme","type":"string"}},"title":"Routing Identifier","type":"object"},"SellerSupplierParty":{"description":"The party sending the order.","properties":{"party":{"$ref":"#/components/schemas/SenderParty"},"publicIdentifiers":{"description":"A list of legal and tax identifiers for this customer.","items":{"$ref":"#/components/schemas/PublicIdentifier"},"title":"Public identifiers","type":"array"}},"required":["party","identifiers"],"title":"Supplier","type":"object"},"SendableDocument":{"description":"The document to send.","properties":{"documentType":{"description":"The type of document to be sent.","enum":["invoice","invoice_response","order"],"title":"Document Type","type":"string"},"invoice":{"$ref":"#/components/schemas/Invoice"},"invoiceResponse":{"$ref":"#/components/schemas/DocumentInvoiceResponse"},"order":{"$ref":"#/components/schemas/DocumentOrder"},"rawDocumentData":{"$ref":"#/components/schemas/RawDocumentData"}},"required":["documentType"],"title":"Sendable Document","type":"object"},"SenderParty":{"description":"A party that can send documents","properties":{"contact":{"$ref":"#/components/schemas/Contact"}},"title":"Sender Party","type":"object"},"Tax":{"properties":{"amount":{"description":"The amount of tax. Mandatory if taxSystem == 'tax_line_amounts'. However, it is best to use taxSystem tax_line_percentages and provide only the percentage, not the actual amount. The amount is then provided at the invoice level, in the taxSubtotals element.","title":"Amount of Tax","type":"number"},"category":{"description":"The allowed values depend on the country of the tax:\n++++\n<ul>    <li>        AU:        <ul>            <li>standard (10%, 5.5%)</li>            <li>zero_rated (0%)</li>            <li>export (0%)</li>            <li>exempt (0%)</li>            <li>outside_scope (0%)</li>        </ul>    </li>    <li>        EU:        <ul>            <li>standard (percentages country dependent)</li>            <li>zero_rated (0%)</li>            <li>reverse_charge (0%)</li>            <li>intra_community (0%)</li>            <li>export (0%)</li>            <li>exempt (0%)</li>            <li>outside_scope (0%)</li>        </ul>    </li>    <li>        IN:        <ul>            <li>igst (28%, 18%, 12%, 5%, 3%, 0.25%)</li>            <li>sgst (14%, 9%, 6%, 2.5%, 1.5%</li>            <li>cgst (14%, 9%, 6%, 2.5%, 1.5%</li>            <li>cess (any percentage)</li>            <li>state_cess (any percentage)</li>            <li>reverse_charge (0%)</li>            <li>export (0%)</li>            <li>exempt (0%)</li>            <li>outside_scope (0%)</li>            <li>zero_rated (0%)</li>        </ul>    </li>    <li>        JP:        <ul>            <li>standard (10%, 8%)</li>            <li>export (0%)</li>            <li>exempt (0%)</li>            <li>outside_scope (0%)</li>        </ul>    </li>    <li>        MY:        <ul>            <li>standard (10%, 6%, 5%)</li>            <li>zero_rated (0%)</li>        </ul>    </li>    <li>        NZ:        <ul>            <li>standard (15%)</li>            <li>zero_rated (0%)</li>            <li>export (0%)</li>            <li>exempt (0%)</li>            <li>outside_scope (0%)</li>        </ul>    </li>    <li>        SG:        <ul>            <li>standard (7%; 8% from 2023-01-01; 9% from 2024-01-01)</li>            <li>deemed_supply (7%; 8% from 2023-01-01; 9% from 2024-01-01)</li>            <li>srca_c (7%; 8% from 2023-01-01; 9% from 2024-01-01)</li>            <li>srovr (7%; NOT to be used from 2023-01-01)</li>            <li>srovr_rs (8% from 2023-01-01; 9% from 2024-01-01)</li>            <li>srovr_lvg (8% from 2023-01-01; 9% from 2024-01-01)</li>            <li>srlvg (8% from 2023-01-01; 9% from 2024-01-01)</li>            <li>srca_s (0%)</li>            <li>outside_scope (0%)</li>            <li>not_registered (0%)</li>            <li>zero_rated (0%)</li>            <li>regulation33_exempt (0%)</li>            <li>nonregulation33_exempt (0%)</li>            <li>export (0%)</li>        </ul>    </li>    <li>        US:        <ul>            <li>standard (any percentage)</li>            <li>export (0%)</li>            <li>exempt (0%)</li>            <li>outside_scope (0%)</li>        </ul>    </li></ul>\n++++","enum":["standard","zero_rated","reverse_charge","intra_community","exempt","export","outside_scope","regulation33_exempt","nonregulation33_exempt","deemed_supply","srca_s","srca_c","not_registered","igst","cgst","sgst","cess","state_cess","srovr","srovr_rs","srovr_lvg","srlvg"],"title":"Tax category","type":"string"},"country":{"$ref":"#/components/schemas/Country"},"percentage":{"description":"The percentage Tax. This should be a valid Tax percentage in the country at the time of the issueDate of this invoice. Mandatory if taxSystem == 'tax_line_percentages'","title":"Percentage Tax","type":"number"}},"required":["country"],"type":"object"},"TaxSubtotal":{"description":"The total amount of tax of this type in the invoice.","properties":{"category":{"description":"The tax category. For a description see <<_openapi_tax>>","enum":["standard","zero_rated","reverse_charge","intra_community","exempt","export","outside_scope","regulation33_exempt","nonregulation33_exempt","deemed_supply","srca_s","srca_c","not_registered","igst","cgst","sgst","cess","state_cess","srovr","srovr_rs","srovr_lvg","srlvg"],"title":"Tax category","type":"string"},"country":{"$ref":"#/components/schemas/Country"},"percentage":{"description":"The tax percentage. This should be a valid tax percentage in the country at the time of the taxpointDate of this invoice.","title":"Percentage Tax","type":"number"},"taxAmount":{"description":"The amount of tax.","title":"The amount of tax levied","type":"number"},"taxableAmount":{"description":"The amount on which the tax is levied.","title":"Taxable Amount","type":"number"}},"required":["taxableAmount","taxAmount","percentage","country"],"title":"Tax Subtotal","type":"object"},"WebhookInstance":{"properties":{"body":{"description":"The webhook body that would have been pushed if this were a push-mode webhook.","title":"Body","type":"string"},"guid":{"description":"The GUID of the WebhookInstance. Use this to delete it.","format":"uuid","title":"GUID","type":"string"}}}},"securitySchemes":{"Bearer":{"in":"header","name":"Authorization","type":"apiKey"}}}}