{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/finance:storecove/discovery-exists":{"post":{"operationId":"finance_storecove_discovery_exists","summary":"Discover Network Participant Existence","description":"POST /discovery/exists","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/discovery-identifiers":{"get":{"operationId":"finance_storecove_discovery_identifiers","summary":"Discover Country Identifiers ** EXPERIMENTAL","description":"GET /discovery/identifiers","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:storecove/discovery-receives":{"post":{"operationId":"finance_storecove_discovery_receives","summary":"Disover Network Participant","description":"POST /discovery/receives","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/create-document-submission":{"post":{"operationId":"finance_storecove_create_document_submission","summary":"Submit a new document.","description":"POST /document_submissions","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/show-document-submission-evidence":{"get":{"operationId":"finance_storecove_show_document_submission_evidence","summary":"Get DocumentSubmission Evidence","description":"GET /document_submissions/{guid}/evidence/{evidence_type}","tags":["finance"],"parameters":[{"name":"guid","in":"query","required":true,"description":"DocumentSubmission GUID","schema":{"type":"string","description":"DocumentSubmission GUID"}},{"name":"evidence_type","in":"query","required":true,"description":"Type of evidence requested","schema":{"type":"string","enum":["sending","clearing"],"default":"sending","description":"Type of evidence requested"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:storecove/create-invoice-submission":{"post":{"operationId":"finance_storecove_create_invoice_submission","summary":"Submit a new invoice","description":"POST /invoice_submissions","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/preflight-invoice-recipient":{"post":{"operationId":"finance_storecove_preflight_invoice_recipient","summary":"DEPRECATED. Preflight an invoice recipient","description":"POST /invoice_submissions/preflight","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/show-invoice-submission-evidence":{"get":{"operationId":"finance_storecove_show_invoice_submission_evidence","summary":"DEPRECATED. Get InvoiceSubmission Evidence","description":"GET /invoice_submissions/{guid}/evidence","tags":["finance"],"parameters":[{"name":"guid","in":"query","required":true,"description":"InvoiceSubmission GUID","schema":{"type":"string","description":"InvoiceSubmission GUID"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:storecove/create-legal-entity":{"post":{"operationId":"finance_storecove_create_legal_entity","summary":"Create a new LegalEntity","description":"POST /legal_entities","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/get-legal-entity":{"get":{"operationId":"finance_storecove_get_legal_entity","summary":"Get LegalEntity","description":"GET /legal_entities/{id}","tags":["finance"],"parameters":[{"name":"id","in":"query","required":true,"description":"legal_entity id","schema":{"type":"integer","description":"legal_entity id"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:storecove/update-legal-entity":{"post":{"operationId":"finance_storecove_update_legal_entity","summary":"Update LegalEntity","description":"PATCH /legal_entities/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","body"],"properties":{"id":{"type":"integer","description":"legal_entity id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/delete-legal-entity":{"post":{"operationId":"finance_storecove_delete_legal_entity","summary":"Delete LegalEntity","description":"DELETE /legal_entities/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer","description":"legal_entity id"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/create-additional-tax-identifier":{"post":{"operationId":"finance_storecove_create_additional_tax_identifier","summary":"Create a new AdditionalTaxIdentifier","description":"POST /legal_entities/{legal_entity_id}/additional_tax_identifiers","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["legal_entity_id","body"],"properties":{"legal_entity_id":{"type":"integer","description":"The id of the LegalEntity for which to create the AdditionalTaxIdentifier"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/get-additional-tax-identifier":{"get":{"operationId":"finance_storecove_get_additional_tax_identifier","summary":"Get AdditionalTaxIdentifier","description":"GET /legal_entities/{legal_entity_id}/additional_tax_identifiers/{id}","tags":["finance"],"parameters":[{"name":"legal_entity_id","in":"query","required":true,"description":"The id of the LegalEntity the AdditionalTaxIdentifier belongs to","schema":{"type":"integer","description":"The id of the LegalEntity the AdditionalTaxIdentifier belongs to"}},{"name":"id","in":"query","required":true,"description":"The id of the AdditionalTaxIdentifier","schema":{"type":"integer","description":"The id of the AdditionalTaxIdentifier"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:storecove/update-additional-tax-identifier":{"post":{"operationId":"finance_storecove_update_additional_tax_identifier","summary":"Update AdditionalTaxIdentifier","description":"PATCH /legal_entities/{legal_entity_id}/additional_tax_identifiers/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["legal_entity_id","id","body"],"properties":{"legal_entity_id":{"type":"integer","description":"The id of the LegalEntity the AdditionalTaxIdentifier belongs to"},"id":{"type":"integer","description":"The id of the AdditionalTaxIdentifier to be updated"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/delete-additional-tax-identifier":{"post":{"operationId":"finance_storecove_delete_additional_tax_identifier","summary":"Delete AdditionalTaxIdentifier","description":"DELETE /legal_entities/{legal_entity_id}/additional_tax_identifiers/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["legal_entity_id","id"],"properties":{"legal_entity_id":{"type":"integer","description":"The id of the LegalEntity the AdditionalTaxIdentifier belongs to"},"id":{"type":"integer","description":"The id of the AdditionalTaxIdentifier"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/create-administration":{"post":{"operationId":"finance_storecove_create_administration","summary":"Create a new Administration","description":"POST /legal_entities/{legal_entity_id}/administrations","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["legal_entity_id","body"],"properties":{"legal_entity_id":{"type":"integer","description":"The id of the LegalEntity for which to create the Administration"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/get-administration":{"get":{"operationId":"finance_storecove_get_administration","summary":"Get Administration","description":"GET /legal_entities/{legal_entity_id}/administrations/{id}","tags":["finance"],"parameters":[{"name":"legal_entity_id","in":"query","required":true,"description":"The id of the LegalEntity the Administration belongs to","schema":{"type":"integer","description":"The id of the LegalEntity the Administration belongs to"}},{"name":"id","in":"query","required":true,"description":"The id of the Administration","schema":{"type":"integer","description":"The id of the Administration"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:storecove/update-administration":{"post":{"operationId":"finance_storecove_update_administration","summary":"Update Administration","description":"PATCH /legal_entities/{legal_entity_id}/administrations/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["legal_entity_id","id","body"],"properties":{"legal_entity_id":{"type":"integer","description":"The id of the LegalEntity the Administration belongs to"},"id":{"type":"integer","description":"The id of the Administration to be updated"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/delete-administration":{"post":{"operationId":"finance_storecove_delete_administration","summary":"Delete Administration","description":"DELETE /legal_entities/{legal_entity_id}/administrations/{id}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["legal_entity_id","id"],"properties":{"legal_entity_id":{"type":"integer","description":"The id of the LegalEntity the Administration belongs to"},"id":{"type":"integer","description":"The id of the Administration"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/create-peppol-identifier":{"post":{"operationId":"finance_storecove_create_peppol_identifier","summary":"Create a new PeppolIdentifier","description":"POST /legal_entities/{legal_entity_id}/peppol_identifiers","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["legal_entity_id","body"],"properties":{"legal_entity_id":{"type":"integer","description":"The id of the LegalEntity for which to create the PeppolIdentifier"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/delete-peppol-identifier":{"post":{"operationId":"finance_storecove_delete_peppol_identifier","summary":"Delete PeppolIdentifier","description":"DELETE /legal_entities/{legal_entity_id}/peppol_identifiers/{superscheme}/{scheme}/{identifier}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["legal_entity_id","superscheme","scheme","identifier"],"properties":{"legal_entity_id":{"type":"integer","description":"The id of the LegalEntity this PeppolIdentifier belongs to"},"superscheme":{"type":"string","description":"The superscheme of the identifier. Should always be \"iso6523-actorid-upis\"."},"scheme":{"type":"string","description":"PEPPOL identifier scheme id, e.g. \"DE:VAT\". For a full list see >."},"identifier":{"type":"string","description":"PEPPOL identifier"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/receive-document":{"post":{"operationId":"finance_storecove_receive_document","summary":"Receive a new Document","description":"POST /legal_entities/{legal_entity_id}/received_documents","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["legal_entity_id","body"],"properties":{"legal_entity_id":{"type":"integer","description":"The id of the LegalEntity for which the document was received."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/finance:storecove/get-invoice-json":{"get":{"operationId":"finance_storecove_get_invoice_json","summary":"Get Purchase invoice data as JSON","description":"GET /purchase_invoices/{guid}","tags":["finance"],"parameters":[{"name":"guid","in":"query","required":true,"description":"The guid of the purchase invoice, from the webhook.","schema":{"type":"string","description":"The guid of the purchase invoice, from the webhook."}},{"name":"pmv","in":"query","required":false,"description":"The PaymentMeans version. The default (and deprecated) version 1.0 will give BankPaymentMean, DirectDebitPaymentMean, CardPaymentMean,…","schema":{"type":"string","default":"1.0","description":"The PaymentMeans version. The default (and deprecated) version 1.0 will give BankPaymentMean, DirectDebitPaymentMean, CardPaymentMean,…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:storecove/get-invoice-ubl":{"get":{"operationId":"finance_storecove_get_invoice_ubl","summary":"Get Purchase invoice data in a selectable format","description":"GET /purchase_invoices/{guid}/{packaging}","tags":["finance"],"parameters":[{"name":"guid","in":"query","required":true,"description":"purchase invoice guid","schema":{"type":"string","description":"purchase invoice guid"}},{"name":"packaging","in":"query","required":true,"description":"How to package the purchase invoice.","schema":{"type":"string","enum":["json","ubl","original"],"default":"json","description":"How to package the purchase invoice."}},{"name":"pmv","in":"query","required":false,"description":"The PaymentMeans version. The default (and deprecated) version 1.0 will give BankPaymentMean, DirectDebitPaymentMean, CardPaymentMean,…","schema":{"type":"string","default":"1.0","description":"The PaymentMeans version. The default (and deprecated) version 1.0 will give BankPaymentMean, DirectDebitPaymentMean, CardPaymentMean,…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:storecove/get-invoice-ubl-versioned":{"get":{"operationId":"finance_storecove_get_invoice_ubl_versioned","summary":"Get Purchase invoice data as JSON with a Base64-encoded UBL string in the specified version","description":"GET /purchase_invoices/{guid}/{packaging}/{package_version}","tags":["finance"],"parameters":[{"name":"guid","in":"query","required":true,"description":"purchase invoice guid","schema":{"type":"string","description":"purchase invoice guid"}},{"name":"packaging","in":"query","required":true,"description":"How to package the purchase invoice.","schema":{"type":"string","enum":["ubl"],"default":"ubl","description":"How to package the purchase invoice."}},{"name":"package_version","in":"query","required":true,"description":"The version of the package.","schema":{"type":"string","enum":["si11","si12","si20","aunz","sg","jp","en16931","original"],"default":"si11","description":"The version of the package."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:storecove/get-received-document":{"get":{"operationId":"finance_storecove_get_received_document","summary":"Get a new ReceivedDocument","description":"GET /received_documents/{guid}/{format}","tags":["finance"],"parameters":[{"name":"guid","in":"query","required":true,"description":"The guid of the document that was received. This is the \"document_guid\" property of the \"received_document\" webhook.","schema":{"type":"string","description":"The guid of the document that was received. This is the \"document_guid\" property of the \"received_document\" webhook."}},{"name":"syntax","in":"query","required":true,"description":"The syntax in which to receive the received document.","schema":{"type":"string","enum":["json","original"],"default":"json","description":"The syntax in which to receive the received document."}},{"name":"format","in":"query","required":true,"description":"Automatically added","schema":{"type":"string","description":"Automatically added"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:storecove/get-webhook-instances":{"get":{"operationId":"finance_storecove_get_webhook_instances","summary":"GET a WebhookInstance","description":"GET /webhook_instances/","tags":["finance"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/finance:storecove/delete-webhook-instance":{"post":{"operationId":"finance_storecove_delete_webhook_instance","summary":"DELETE a WebhookInstance","description":"DELETE /webhook_instances/{guid}","tags":["finance"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["guid"],"properties":{"guid":{"type":"string","description":"WebhookInstance guid"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}